From feec1221dfc1afec3616e8777db4b1c79e982b7c Mon Sep 17 00:00:00 2001 From: CI Builder Date: Wed, 16 Aug 2023 21:23:15 +0000 Subject: [PATCH] Auto deploy --- BUILT.txt | 2 +- sparklemotion.js | 12 ++++++------ sparklemotion.js.map | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/BUILT.txt b/BUILT.txt index 97dfa4556..1f01dd1c7 100644 --- a/BUILT.txt +++ b/BUILT.txt @@ -1 +1 @@ -Build 2490 at Wed 16 Aug 2023 06:06:58 PM UTC. +Build 2492 at Wed 16 Aug 2023 09:23:10 PM UTC. diff --git a/sparklemotion.js b/sparklemotion.js index be3f8158d..c280024ba 100644 --- a/sparklemotion.js +++ b/sparklemotion.js @@ -1,5 +1,5 @@ /*! For license information please see sparklemotion.js.LICENSE.txt */ -!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.sparklemotion=n():t.sparklemotion=n()}(this,(()=>(()=>{var t,n,e={69398:(t,n,e)=>{"use strict";e.d(n,{Z:()=>rt});var r=function(){function t(t){var n=this;this._insertTag=function(t){var e;e=0===n.tags.length?n.insertionPoint?n.insertionPoint.nextSibling:n.prepend?n.container.firstChild:n.before:n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(t,e),n.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var n=t.prototype;return n.hydrate=function(t){t.forEach(this._insertTag)},n.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(t){var n=document.createElement("style");return n.setAttribute("data-emotion",t.key),void 0!==t.nonce&&n.setAttribute("nonce",t.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n}(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var e=function(t){if(t.sheet)return t.sheet;for(var n=0;n0?l(w,--m):0,v--,10===y&&(v=1,p--),y}function S(){return y=m2||M(y)>3?"":" "}function q(t,n){for(;--n&&S()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return E(t,$()+(n<6&&32==C()&&32==S()))}function P(t){for(;S();)switch(y){case t:return m;case 34:case 39:34!==t&&39!==t&&P(y);break;case 40:41===t&&P(t);break;case 92:S()}return m}function R(t,n){for(;S()&&t+y!==57&&(t+y!==84||47!==C()););return"/*"+E(n,m-1)+"*"+o(47===t?t:S())}function L(t){for(;!M(C());)S();return E(t,m)}var O="-ms-",I="-moz-",D="-webkit-",N="comm",B="rule",F="decl",U="@keyframes";function H(t,n){for(var e="",r=d(t),i=0;i0&&f(I)-g&&_(y>32?Y(I+";",r,e,g-1):Y(u(I," ","")+";",r,e,g-2),d);break;case 59:I+=";";default:if(_(O=Z(I,n,e,p,v,i,h,z,T=[],P=[],g),s),123===M)if(0===v)V(I,n,O,O,T,s,g,h,P);else switch(99===m&&110===l(I,3)?100:m){case 100:case 108:case 109:case 115:V(t,O,O,r&&_(Z(t,O,O,0,0,i,h,z,i,T=[],g),P),i,P,g,h,r?T:P);break;default:V(I,O,O,O,[""],P,0,h,P)}}p=v=y=0,b=E=1,z=I="",g=a;break;case 58:g=1+f(I),y=w;default:if(b<1)if(123==M)--b;else if(125==M&&0==b++&&125==k())continue;switch(I+=o(M),M*b){case 38:E=v>0?1:(I+="\f",-1);break;case 44:h[p++]=(f(I)-1)*E,E=1;break;case 64:45===C()&&(I+=j(S())),m=C(),v=g=f(z=I+=L($())),M++;break;case 45:45===w&&2==f(I)&&(b=0)}}return s}function Z(t,n,e,r,o,s,c,l,f,_,p){for(var v=o-1,g=0===o?s:[""],m=d(g),y=0,w=0,x=0;y0?g[k]+" "+S:u(S,/&\f/g,g[k])))&&(f[x++]=C);return b(t,n,e,0===o?B:l,f,_,p)}function X(t,n,e){return b(t,n,e,N,o(y),h(t,2,-2),0)}function Y(t,n,e,r){return b(t,n,e,F,h(t,0,r),h(t,r+1,-1),r)}var K=function(t,n,e){for(var r=0,i=0;r=i,i=C(),38===r&&12===i&&(n[e]=1),!M(i);)S();return E(t,m)},J=new WeakMap,Q=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var n=t.value,e=t.parent,r=t.column===e.column&&t.line===e.line;"rule"!==e.type;)if(!(e=e.parent))return;if((1!==t.props.length||58===n.charCodeAt(0)||J.get(e))&&!r){J.set(t,!0);for(var i=[],s=function(t,n){return T(function(t,n){var e=-1,r=44;do{switch(M(r)){case 0:38===r&&12===C()&&(n[e]=1),t[e]+=K(m-1,n,e);break;case 2:t[e]+=j(r);break;case 4:if(44===r){t[++e]=58===C()?"&\f":"",n[e]=t[e].length;break}default:t[e]+=o(r)}}while(r=S());return t}(z(t),n))}(n,i),a=e.props,u=0,c=0;u6)switch(l(t,n+1)){case 109:if(45!==l(t,n+4))break;case 102:return u(t,/(.+:)(.+)-([^]+)/,"$1"+D+"$2-$3$1"+I+(108==l(t,n+3)?"$3":"$2-$3"))+t;case 115:return~c(t,"stretch")?nt(u(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==l(t,n+1))break;case 6444:switch(l(t,f(t)-3-(~c(t,"!important")&&10))){case 107:return u(t,":",":"+D)+t;case 101:return u(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+D+(45===l(t,14)?"inline-":"")+"box$3$1"+D+"$2$3$1"+O+"$2box$3")+t}break;case 5936:switch(l(t,n+11)){case 114:return D+t+O+u(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return D+t+O+u(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return D+t+O+u(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return D+t+O+t+t}return t}var et=[function(t,n,e,r){if(t.length>-1&&!t.return)switch(t.type){case F:t.return=nt(t.value,t.length);break;case U:return H([x(t,{value:u(t.value,"@","@"+D)})],r);case B:if(t.length)return function(t,n){return t.map(n).join("")}(t.props,(function(n){switch(function(t,n){return(t=/(::plac\w+|:read-\w+)/.exec(t))?t[0]:t}(n)){case":read-only":case":read-write":return H([x(t,{props:[u(n,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return H([x(t,{props:[u(n,/:(plac\w+)/,":"+D+"input-$1")]}),x(t,{props:[u(n,/:(plac\w+)/,":-moz-$1")]}),x(t,{props:[u(n,/:(plac\w+)/,O+"input-$1")]})],r)}return""}))}}],rt=function(t){var n=t.key;if("css"===n){var e=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(e,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var i,o,s=t.stylisPlugins||et,a={},u=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),(function(t){for(var n=t.getAttribute("data-emotion").split(" "),e=1;e{"use strict";function r(t){var n=Object.create(null);return function(e){return void 0===n[e]&&(n[e]=t(e)),n[e]}}e.d(n,{Z:()=>r})},49558:(t,n,e)=>{"use strict";e.d(n,{T:()=>u,i:()=>o,w:()=>a});var r=e(66204),i=e(69398),o=(e(7124),e(98013),!0),s=r.createContext("undefined"!=typeof HTMLElement?(0,i.Z)({key:"css"}):null);s.Provider;var a=function(t){return(0,r.forwardRef)((function(n,e){var i=(0,r.useContext)(s);return t(n,i,e)}))};o||(a=function(t){return function(n){var e=(0,r.useContext)(s);return null===e?(e=(0,i.Z)({key:"css"}),r.createElement(s.Provider,{value:e},t(n,e))):t(n,e)}});var u=r.createContext({})},71580:(t,n,e)=>{"use strict";e.d(n,{F4:()=>l,iv:()=>c,xB:()=>u});var r=e(49558),i=e(66204),o=e(99463),s=e(98013),a=e(7124),u=(e(69398),e(69060),(0,r.w)((function(t,n){var e=t.styles,u=(0,a.O)([e],void 0,i.useContext(r.T));if(!r.i){for(var c,l=u.name,h=u.styles,f=u.next;void 0!==f;)l+=" "+f.name,h+=f.styles,f=f.next;var d=!0===n.compat,_=n.insert("",{name:l,styles:h},n.sheet,d);return d?null:i.createElement("style",((c={})["data-emotion"]=n.key+"-global "+l,c.dangerouslySetInnerHTML={__html:_},c.nonce=n.sheet.nonce,c))}var p=i.useRef();return(0,s.j)((function(){var t=n.key+"-global",e=new n.sheet.constructor({key:t,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+t+" "+u.name+'"]');return n.sheet.tags.length&&(e.before=n.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",t),e.hydrate([i])),p.current=[e,r],function(){e.flush()}}),[n]),(0,s.j)((function(){var t=p.current,e=t[0];if(t[1])t[1]=!1;else{if(void 0!==u.next&&(0,o.My)(n,u.next,!0),e.tags.length){var r=e.tags[e.tags.length-1].nextElementSibling;e.before=r,e.flush()}n.insert("",u,e,!1)}}),[n,u.name]),null})));function c(){for(var t=arguments.length,n=new Array(t),e=0;e{"use strict";e.d(n,{O:()=>_});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},i=e(36902),o=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,a=function(t){return 45===t.charCodeAt(1)},u=function(t){return null!=t&&"boolean"!=typeof t},c=(0,i.Z)((function(t){return a(t)?t:t.replace(o,"-$&").toLowerCase()})),l=function(t,n){switch(t){case"animation":case"animationName":if("string"==typeof n)return n.replace(s,(function(t,n,e){return f={name:n,styles:e,next:f},n}))}return 1===r[t]||a(t)||"number"!=typeof n||0===n?n:n+"px"};function h(t,n,e){if(null==e)return"";if(void 0!==e.__emotion_styles)return e;switch(typeof e){case"boolean":return"";case"object":if(1===e.anim)return f={name:e.name,styles:e.styles,next:f},e.name;if(void 0!==e.styles){var r=e.next;if(void 0!==r)for(;void 0!==r;)f={name:r.name,styles:r.styles,next:f},r=r.next;return e.styles+";"}return function(t,n,e){var r="";if(Array.isArray(e))for(var i=0;i=4;++r,i-=4)n=1540483477*(65535&(n=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))+(59797*(n>>>16)<<16),e=1540483477*(65535&(n^=n>>>24))+(59797*(n>>>16)<<16)^1540483477*(65535&e)+(59797*(e>>>16)<<16);switch(i){case 3:e^=(255&t.charCodeAt(r+2))<<16;case 2:e^=(255&t.charCodeAt(r+1))<<8;case 1:e=1540483477*(65535&(e^=255&t.charCodeAt(r)))+(59797*(e>>>16)<<16)}return(((e=1540483477*(65535&(e^=e>>>13))+(59797*(e>>>16)<<16))^e>>>15)>>>0).toString(36)}(i)+u;return{name:c,styles:i,next:f}}},98013:(t,n,e)=>{"use strict";var r;e.d(n,{L:()=>s,j:()=>a});var i=e(66204),o=!!(r||(r=e.t(i,2))).useInsertionEffect&&(r||(r=e.t(i,2))).useInsertionEffect,s=o||function(t){return t()},a=o||i.useLayoutEffect},99463:(t,n,e)=>{"use strict";function r(t,n,e){var r="";return e.split(" ").forEach((function(e){void 0!==t[e]?n.push(t[e]+";"):r+=e+" "})),r}e.d(n,{My:()=>o,fp:()=>r,hC:()=>i});var i=function(t,n,e){var r=t.key+"-"+n.name;!1===e&&void 0===t.registered[r]&&(t.registered[r]=n.styles)},o=function(t,n,e){i(t,n,e);var r=t.key+"-"+n.name;if(void 0===t.inserted[n.name]){var o=n;do{t.insert(n===o?"."+r:"",o,t.sheet,!0),o=o.next}while(void 0!==o)}}},7714:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>c});var r=e(66204),i=e(42457),o=e(52682),s=e(40401),a=e(513),u=e(43188);const c=r.forwardRef((function(t,n){const{children:e,container:c,disablePortal:l=!1}=t,[h,f]=r.useState(null),d=(0,o.Z)(r.isValidElement(e)?e.ref:null,n);if((0,s.Z)((()=>{l||f(function(t){return"function"==typeof t?t():t}(c)||document.body)}),[c,l]),(0,s.Z)((()=>{if(h&&!l)return(0,a.Z)(n,h),()=>{(0,a.Z)(n,null)}}),[n,h,l]),l){if(r.isValidElement(e)){const t={ref:d};return r.cloneElement(e,t)}return(0,u.jsx)(r.Fragment,{children:e})}return(0,u.jsx)(r.Fragment,{children:h?i.createPortal(e,h):h})}))},97916:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");n.default=s},23539:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"AddCircleOutline");n.default=s},61961:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");n.default=s},85722:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"}),"Article");n.default=s},99413:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M19 12h-2v3h-3v2h5v-5zM7 9h3V7H5v5h2V9zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z"}),"AspectRatio");n.default=s},59804:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M11 17c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1zm0-14v4h2V5.08c3.39.49 6 3.39 6 6.92 0 3.87-3.13 7-7 7s-7-3.13-7-7c0-1.68.59-3.22 1.58-4.42L12 13l1.41-1.41-6.8-6.8v.02C4.42 6.45 3 9.05 3 12c0 4.97 4.02 9 9 9 4.97 0 9-4.03 9-9s-4.03-9-9-9h-1zm7 9c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zM6 12c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z"}),"AvTimer");n.default=s},73945:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"m19 8-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"}),"Cached");n.default=s},53503:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm18-7H5v1.63c3.96 1.28 7.09 4.41 8.37 8.37H19V7zM1 10v2c4.97 0 9 4.03 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CastConnected");n.default=s},51161:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");n.default=s},78286:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");n.default=s},3206:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");n.default=s},12699:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM17 13l-5 5-5-5h3V9h4v4h3z"}),"CloudDownload");n.default=s},89710:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"}),"Code");n.default=s},74407:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M19 5H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 12H5V7h14v10z"}),"CropLandscape");n.default=s},61613:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"}),"Dashboard");n.default=s},15971:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");n.default=s},30330:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z"}),"Download");n.default=s},4953:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"DragIndicator");n.default=s},46701:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");n.default=s},60230:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z"}),"Equalizer");n.default=s},49824:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"}),"Error");n.default=s},2266:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");n.default=s},66740:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4 6 6v10c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2h7zm-1 7h5.5L14 6.5V12z"}),"FileCopy");n.default=s},68568:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16-7-8v8H5l7-8V5h7v14z"}),"FilterBAndW");n.default=s},3581:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"}),"Folder");n.default=s},54899:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"}),"HelpOutline");n.default=s},10659:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"}),"Image");n.default=s},66490:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}),"Info");n.default=s},79436:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2zM11 16l4-4-4-4v3H1v2h10v3z"}),"Input");n.default=s},49957:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"}),"InsertDriveFile");n.default=s},3418:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"}),"Lock");n.default=s},5359:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm0 12H6V10h12v10z"}),"LockOpen");n.default=s},87187:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"m20.5 3-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM15 19l-6-2.11V5l6 2.11V19z"}),"Map");n.default=s},9051:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu");n.default=s},30091:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z"}),"Mic");n.default=s},78890:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");n.default=s},28189:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z"}),"MusicNote");n.default=s},93604:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z"}),"NotInterested");n.default=s},35588:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M18 16v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-5 0h-2v-2h2v2zm0-4h-2V8h2v4zm-1 10c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2z"}),"NotificationImportant");n.default=s},2663:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h4v-2H5V8h14v10h-4v2h4c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2zm-7 6-4 4h3v6h2v-6h3l-4-4z"}),"OpenInBrowser");n.default=s},32462:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10c1.38 0 2.5-1.12 2.5-2.5 0-.61-.23-1.2-.64-1.67-.08-.1-.13-.21-.13-.33 0-.28.22-.5.5-.5H16c3.31 0 6-2.69 6-6 0-4.96-4.49-9-10-9zm5.5 11c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm-3-4c-.83 0-1.5-.67-1.5-1.5S13.67 6 14.5 6s1.5.67 1.5 1.5S15.33 9 14.5 9zM5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S7.33 13 6.5 13 5 12.33 5 11.5zm6-4c0 .83-.67 1.5-1.5 1.5S8 8.33 8 7.5 8.67 6 9.5 6s1.5.67 1.5 1.5z"}),"Palette");n.default=s},45053:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5z"}),"PanTool");n.default=s},41366:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4 2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}),"PhotoLibrary");n.default=s},74953:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z"}),"PowerInput");n.default=s},65018:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"}),"Redo");n.default=s},52965:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z"}),"Save");n.default=s},62655:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");n.default=s},1700:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}),"Settings");n.default=s},10652:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9v2zm-8 0c0 1.3.84 2.4 2 2.82V23h2v-4.18C6.16 18.4 7 17.3 7 16v-2H1v2zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6h-2zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6V6h-2V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2h-6v2z"}),"SettingsInputComponent");n.default=s},90346:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"m3.5 18.49 6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z"}),"ShowChart");n.default=s},4e3:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z"}),"Sync");n.default=s},73994:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M7.52 21.48C4.25 19.94 1.91 16.76 1.55 13H.05C.56 19.16 5.71 24 12 24l.66-.03-3.81-3.81-1.33 1.32zm.89-6.52c-.19 0-.37-.03-.52-.08-.16-.06-.29-.13-.4-.24-.11-.1-.2-.22-.26-.37-.06-.14-.09-.3-.09-.47h-1.3c0 .36.07.68.21.95.14.27.33.5.56.69.24.18.51.32.82.41.3.1.62.15.96.15.37 0 .72-.05 1.03-.15.32-.1.6-.25.83-.44s.42-.43.55-.72c.13-.29.2-.61.2-.97 0-.19-.02-.38-.07-.56-.05-.18-.12-.35-.23-.51-.1-.16-.24-.3-.4-.43-.17-.13-.37-.23-.61-.31.2-.09.37-.2.52-.33.15-.13.27-.27.37-.42.1-.15.17-.3.22-.46.05-.16.07-.32.07-.48 0-.36-.06-.68-.18-.96-.12-.28-.29-.51-.51-.69-.2-.19-.47-.33-.77-.43C9.1 8.05 8.76 8 8.39 8c-.36 0-.69.05-1 .16-.3.11-.57.26-.79.45-.21.19-.38.41-.51.67-.12.26-.18.54-.18.85h1.3c0-.17.03-.32.09-.45s.14-.25.25-.34c.11-.09.23-.17.38-.22.15-.05.3-.08.48-.08.4 0 .7.1.89.31.19.2.29.49.29.86 0 .18-.03.34-.08.49-.05.15-.14.27-.25.37-.11.1-.25.18-.41.24-.16.06-.36.09-.58.09H7.5v1.03h.77c.22 0 .42.02.6.07s.33.13.45.23c.12.11.22.24.29.4.07.16.1.35.1.57 0 .41-.12.72-.35.93-.23.23-.55.33-.95.33zm8.55-5.92c-.32-.33-.7-.59-1.14-.77-.43-.18-.92-.27-1.46-.27H12v8h2.3c.55 0 1.06-.09 1.51-.27.45-.18.84-.43 1.16-.76.32-.33.57-.73.74-1.19.17-.47.26-.99.26-1.57v-.4c0-.58-.09-1.1-.26-1.57-.18-.47-.43-.87-.75-1.2zm-.39 3.16c0 .42-.05.79-.14 1.13-.1.33-.24.62-.43.85-.19.23-.43.41-.71.53-.29.12-.62.18-.99.18h-.91V9.12h.97c.72 0 1.27.23 1.64.69.38.46.57 1.12.57 1.99v.4zM12 0l-.66.03 3.81 3.81 1.33-1.33c3.27 1.55 5.61 4.72 5.96 8.48h1.5C23.44 4.84 18.29 0 12 0z"}),"ThreeDRotation");n.default=s},81885:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"}),"Undo");n.default=s},69753:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M5 20h14v-2H5v2zm0-10h4v6h6v-6h4l-7-7-7 7z"}),"Upload");n.default=s},66375:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M14.67 5v6.5H9.33V5h5.34zm1 6.5H21V5h-5.33v6.5zm-1 7.5v-6.5H9.33V19h5.34zm1-6.5V19H21v-6.5h-5.33zm-7.34 0H3V19h5.33v-6.5zm0-1V5H3v6.5h5.33z"}),"ViewModule");n.default=s},72241:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");n.default=s},36539:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");n.default=s},54378:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)([(0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"},"0"),(0,o.jsx)("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"},"1")],"ZoomIn");n.default=s},41247:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z"}),"ZoomOut");n.default=s},53948:(t,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=e(90407)},86032:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=e(66204).createContext({})},2675:(t,n,e)=>{"use strict";e.r(n),e.d(n,{accordionClasses:()=>z,default:()=>A,getAccordionUtilityClass:()=>M});var r=e(55559),i=e(30984),o=e(66204),s=(e(5356),e(53583)),a=e(58029),u=e(61125),c=e(57369),l=e(44628),h=e(14262),f=e(41372),d=e(92368),_=e(81597),p=e(58109),v=e(95201);function g(t){return(0,v.Z)("MuiCollapse",t)}(0,p.Z)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var m=e(43188);const y=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],w=(0,u.ZP)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.orientation],"entered"===e.state&&n.entered,"exited"===e.state&&!e.in&&"0px"===e.collapsedSize&&n.hidden]}})((({theme:t,ownerState:n})=>(0,i.Z)({height:0,overflow:"hidden",transition:t.transitions.create("height")},"horizontal"===n.orientation&&{height:"auto",width:0,transition:t.transitions.create("width")},"entered"===n.state&&(0,i.Z)({height:"auto",overflow:"visible"},"horizontal"===n.orientation&&{width:"auto"}),"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&{visibility:"hidden"}))),b=(0,u.ZP)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(t,n)=>n.wrapper})((({ownerState:t})=>(0,i.Z)({display:"flex",width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"}))),x=(0,u.ZP)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(t,n)=>n.wrapperInner})((({ownerState:t})=>(0,i.Z)({width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"}))),k=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiCollapse"}),{addEndListener:u,children:p,className:v,collapsedSize:k="0px",component:S,easing:C,in:$,onEnter:E,onEntered:M,onEntering:z,onExit:T,onExited:j,onExiting:A,orientation:q="vertical",style:P,timeout:R=h.x9.standard,TransitionComponent:L=l.ZP}=e,O=(0,r.Z)(e,y),I=(0,i.Z)({},e,{orientation:q,collapsedSize:k}),D=(t=>{const{orientation:n,classes:e}=t,r={root:["root",`${n}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${n}`],wrapperInner:["wrapperInner",`${n}`]};return(0,a.Z)(r,g,e)})(I),N=(0,d.default)(),B=o.useRef(),F=o.useRef(null),U=o.useRef(),H="number"==typeof k?`${k}px`:k,G="horizontal"===q,W=G?"width":"height";o.useEffect((()=>()=>{clearTimeout(B.current)}),[]);const V=o.useRef(null),Z=(0,_.Z)(n,V),X=t=>n=>{if(t){const e=V.current;void 0===n?t(e):t(e,n)}},Y=()=>F.current?F.current[G?"clientWidth":"clientHeight"]:0,K=X(((t,n)=>{F.current&&G&&(F.current.style.position="absolute"),t.style[W]=H,E&&E(t,n)})),J=X(((t,n)=>{const e=Y();F.current&&G&&(F.current.style.position="");const{duration:r,easing:i}=(0,f.C)({style:P,timeout:R,easing:C},{mode:"enter"});if("auto"===R){const n=N.transitions.getAutoHeightDuration(e);t.style.transitionDuration=`${n}ms`,U.current=n}else t.style.transitionDuration="string"==typeof r?r:`${r}ms`;t.style[W]=`${e}px`,t.style.transitionTimingFunction=i,z&&z(t,n)})),Q=X(((t,n)=>{t.style[W]="auto",M&&M(t,n)})),tt=X((t=>{t.style[W]=`${Y()}px`,T&&T(t)})),nt=X(j),et=X((t=>{const n=Y(),{duration:e,easing:r}=(0,f.C)({style:P,timeout:R,easing:C},{mode:"exit"});if("auto"===R){const e=N.transitions.getAutoHeightDuration(n);t.style.transitionDuration=`${e}ms`,U.current=e}else t.style.transitionDuration="string"==typeof e?e:`${e}ms`;t.style[W]=H,t.style.transitionTimingFunction=r,A&&A(t)}));return(0,m.jsx)(L,(0,i.Z)({in:$,onEnter:K,onEntered:Q,onEntering:J,onExit:tt,onExited:nt,onExiting:et,addEndListener:t=>{"auto"===R&&(B.current=setTimeout(t,U.current||0)),u&&u(V.current,t)},nodeRef:V,timeout:"auto"===R?null:R},O,{children:(t,n)=>(0,m.jsx)(w,(0,i.Z)({as:S,className:(0,s.default)(D.root,v,{entered:D.entered,exited:!$&&"0px"===H&&D.hidden}[t]),style:(0,i.Z)({[G?"minWidth":"minHeight"]:H},P),ownerState:(0,i.Z)({},I,{state:t}),ref:Z},n,{children:(0,m.jsx)(b,{ownerState:(0,i.Z)({},I,{state:t}),className:D.wrapper,ref:F,children:(0,m.jsx)(x,{ownerState:(0,i.Z)({},I,{state:t}),className:D.wrapperInner,children:p})})}))}))}));k.muiSupportAuto=!0;const S=k;var C=e(53601),$=e(86032),E=e(66262);function M(t){return(0,v.Z)("MuiAccordion",t)}const z=(0,p.Z)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),T=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],j=(0,u.ZP)(C.Z,{name:"MuiAccordion",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`& .${z.region}`]:n.region},n.root,!e.square&&n.rounded,!e.disableGutters&&n.gutters]}})((({theme:t})=>{const n={duration:t.transitions.duration.shortest};return{position:"relative",transition:t.transitions.create(["margin"],n),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(t.vars||t).palette.divider,transition:t.transitions.create(["opacity","background-color"],n)},"&:first-of-type":{"&:before":{display:"none"}},[`&.${z.expanded}`]:{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}},[`&.${z.disabled}`]:{backgroundColor:(t.vars||t).palette.action.disabledBackground}}}),(({theme:t,ownerState:n})=>(0,i.Z)({},!n.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(t.vars||t).shape.borderRadius,borderBottomRightRadius:(t.vars||t).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!n.disableGutters&&{[`&.${z.expanded}`]:{margin:"16px 0"}}))),A=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiAccordion"}),{children:u,className:l,defaultExpanded:h=!1,disabled:f=!1,disableGutters:d=!1,expanded:_,onChange:p,square:v=!1,TransitionComponent:g=S,TransitionProps:y}=e,w=(0,r.Z)(e,T),[b,x]=(0,E.Z)({controlled:_,default:h,name:"Accordion",state:"expanded"}),k=o.useCallback((t=>{x(!b),p&&p(t,!b)}),[b,p,x]),[C,...z]=o.Children.toArray(u),A=o.useMemo((()=>({expanded:b,disabled:f,disableGutters:d,toggle:k})),[b,f,d,k]),q=(0,i.Z)({},e,{square:v,disabled:f,disableGutters:d,expanded:b}),P=(t=>{const{classes:n,square:e,expanded:r,disabled:i,disableGutters:o}=t,s={root:["root",!e&&"rounded",r&&"expanded",i&&"disabled",!o&&"gutters"],region:["region"]};return(0,a.Z)(s,M,n)})(q);return(0,m.jsxs)(j,(0,i.Z)({className:(0,s.default)(P.root,l),ref:n,ownerState:q,square:v},w,{children:[(0,m.jsx)($.Z.Provider,{value:A,children:C}),(0,m.jsx)(g,(0,i.Z)({in:b,timeout:"auto"},y,{children:(0,m.jsx)("div",{"aria-labelledby":C.props.id,id:C.props["aria-controls"],role:"region",className:P.region,children:z})}))]}))}))},87546:(t,n,e)=>{"use strict";e.r(n),e.d(n,{accordionDetailsClasses:()=>d,default:()=>g,getAccordionDetailsUtilityClass:()=>f});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(58029),u=e(61125),c=e(57369),l=e(58109),h=e(95201);function f(t){return(0,h.Z)("MuiAccordionDetails",t)}const d=(0,l.Z)("MuiAccordionDetails",["root"]);var _=e(43188);const p=["className"],v=(0,u.ZP)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(t,n)=>n.root})((({theme:t})=>({padding:t.spacing(1,2,2)}))),g=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiAccordionDetails"}),{className:o}=e,u=(0,i.Z)(e,p),l=e,h=(t=>{const{classes:n}=t;return(0,a.Z)({root:["root"]},f,n)})(l);return(0,_.jsx)(v,(0,r.Z)({className:(0,s.default)(h.root,o),ref:n,ownerState:l},u))}))},6190:(t,n,e)=>{"use strict";e.r(n),e.d(n,{accordionSummaryClasses:()=>p,default:()=>b,getAccordionSummaryUtilityClass:()=>_});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(61125),c=e(57369),l=e(52983),h=e(86032),f=e(58109),d=e(95201);function _(t){return(0,d.Z)("MuiAccordionSummary",t)}const p=(0,f.Z)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]);var v=e(43188);const g=["children","className","expandIcon","focusVisibleClassName","onClick"],m=(0,u.ZP)(l.Z,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(t,n)=>n.root})((({theme:t,ownerState:n})=>{const e={duration:t.transitions.duration.shortest};return(0,i.Z)({display:"flex",minHeight:48,padding:t.spacing(0,2),transition:t.transitions.create(["min-height","background-color"],e),[`&.${p.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${p.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`&:hover:not(.${p.disabled})`]:{cursor:"pointer"}},!n.disableGutters&&{[`&.${p.expanded}`]:{minHeight:64}})})),y=(0,u.ZP)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(t,n)=>n.content})((({theme:t,ownerState:n})=>(0,i.Z)({display:"flex",flexGrow:1,margin:"12px 0"},!n.disableGutters&&{transition:t.transitions.create(["margin"],{duration:t.transitions.duration.shortest}),[`&.${p.expanded}`]:{margin:"20px 0"}}))),w=(0,u.ZP)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(t,n)=>n.expandIconWrapper})((({theme:t})=>({display:"flex",color:(t.vars||t).palette.action.active,transform:"rotate(0deg)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest}),[`&.${p.expanded}`]:{transform:"rotate(180deg)"}}))),b=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiAccordionSummary"}),{children:u,className:l,expandIcon:f,focusVisibleClassName:d,onClick:p}=e,b=(0,r.Z)(e,g),{disabled:x=!1,disableGutters:k,expanded:S,toggle:C}=o.useContext(h.Z),$=(0,i.Z)({},e,{expanded:S,disabled:x,disableGutters:k}),E=(t=>{const{classes:n,expanded:e,disabled:r,disableGutters:i}=t,o={root:["root",e&&"expanded",r&&"disabled",!i&&"gutters"],focusVisible:["focusVisible"],content:["content",e&&"expanded",!i&&"contentGutters"],expandIconWrapper:["expandIconWrapper",e&&"expanded"]};return(0,a.Z)(o,_,n)})($);return(0,v.jsxs)(m,(0,i.Z)({focusRipple:!1,disableRipple:!0,disabled:x,component:"div","aria-expanded":S,className:(0,s.default)(E.root,l),focusVisibleClassName:(0,s.default)(E.focusVisible,d),onClick:t=>{C&&C(t),p&&p(t)},ref:n,ownerState:$},b,{children:[(0,v.jsx)(y,{className:E.content,ownerState:$,children:u}),f&&(0,v.jsx)(w,{className:E.expandIconWrapper,ownerState:$,children:f})]}))}))},74705:(t,n,e)=>{"use strict";e.r(n),e.d(n,{alertClasses:()=>v,default:()=>j,getAlertUtilityClass:()=>p});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(73330),c=e(61125),l=e(57369),h=e(40118),f=e(53601),d=e(58109),_=e(95201);function p(t){return(0,_.Z)("MuiAlert",t)}const v=(0,d.Z)("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);var g=e(49140),m=e(50968),y=e(43188);const w=(0,m.Z)((0,y.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),b=(0,m.Z)((0,y.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),x=(0,m.Z)((0,y.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),k=(0,m.Z)((0,y.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),S=(0,m.Z)((0,y.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),C=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],$=(0,c.ZP)(f.Z,{name:"MuiAlert",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.variant],n[`${e.variant}${(0,h.Z)(e.color||e.severity)}`]]}})((({theme:t,ownerState:n})=>{const e="light"===t.palette.mode?u._j:u.$n,r="light"===t.palette.mode?u.$n:u._j,o=n.color||n.severity;return(0,i.Z)({},t.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},o&&"standard"===n.variant&&{color:t.vars?t.vars.palette.Alert[`${o}Color`]:e(t.palette[o].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${o}StandardBg`]:r(t.palette[o].light,.9),[`& .${v.icon}`]:t.vars?{color:t.vars.palette.Alert[`${o}IconColor`]}:{color:t.palette[o].main}},o&&"outlined"===n.variant&&{color:t.vars?t.vars.palette.Alert[`${o}Color`]:e(t.palette[o].light,.6),border:`1px solid ${(t.vars||t).palette[o].light}`,[`& .${v.icon}`]:t.vars?{color:t.vars.palette.Alert[`${o}IconColor`]}:{color:t.palette[o].main}},o&&"filled"===n.variant&&(0,i.Z)({fontWeight:t.typography.fontWeightMedium},t.vars?{color:t.vars.palette.Alert[`${o}FilledColor`],backgroundColor:t.vars.palette.Alert[`${o}FilledBg`]}:{backgroundColor:"dark"===t.palette.mode?t.palette[o].dark:t.palette[o].main,color:t.palette.getContrastText(t.palette[o].main)}))})),E=(0,c.ZP)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(t,n)=>n.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),M=(0,c.ZP)("div",{name:"MuiAlert",slot:"Message",overridesResolver:(t,n)=>n.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),z=(0,c.ZP)("div",{name:"MuiAlert",slot:"Action",overridesResolver:(t,n)=>n.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),T={success:(0,y.jsx)(w,{fontSize:"inherit"}),warning:(0,y.jsx)(b,{fontSize:"inherit"}),error:(0,y.jsx)(x,{fontSize:"inherit"}),info:(0,y.jsx)(k,{fontSize:"inherit"})},j=o.forwardRef((function(t,n){var e,o,u,c,f,d;const _=(0,l.Z)({props:t,name:"MuiAlert"}),{action:v,children:m,className:w,closeText:b="Close",color:x,components:k={},componentsProps:j={},icon:A,iconMapping:q=T,onClose:P,role:R="alert",severity:L="success",slotProps:O={},slots:I={},variant:D="standard"}=_,N=(0,r.Z)(_,C),B=(0,i.Z)({},_,{color:x,severity:L,variant:D}),F=(t=>{const{variant:n,color:e,severity:r,classes:i}=t,o={root:["root",`${n}${(0,h.Z)(e||r)}`,`${n}`],icon:["icon"],message:["message"],action:["action"]};return(0,a.Z)(o,p,i)})(B),U=null!=(e=null!=(o=I.closeButton)?o:k.CloseButton)?e:g.Z,H=null!=(u=null!=(c=I.closeIcon)?c:k.CloseIcon)?u:S,G=null!=(f=O.closeButton)?f:j.closeButton,W=null!=(d=O.closeIcon)?d:j.closeIcon;return(0,y.jsxs)($,(0,i.Z)({role:R,elevation:0,ownerState:B,className:(0,s.default)(F.root,w),ref:n},N,{children:[!1!==A?(0,y.jsx)(E,{ownerState:B,className:F.icon,children:A||q[L]||T[L]}):null,(0,y.jsx)(M,{ownerState:B,className:F.message,children:m}),null!=v?(0,y.jsx)(z,{ownerState:B,className:F.action,children:v}):null,null==v&&P?(0,y.jsx)(z,{ownerState:B,className:F.action,children:(0,y.jsx)(U,(0,i.Z)({size:"small","aria-label":b,title:b,color:"inherit",onClick:P},G,{children:(0,y.jsx)(H,(0,i.Z)({fontSize:"small"},W))}))}):null]}))}))},48585:(t,n,e)=>{"use strict";e.r(n),e.d(n,{alertTitleClasses:()=>_,default:()=>m,getAlertTitleUtilityClass:()=>d});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(58029),u=e(61125),c=e(57369),l=e(80013),h=e(58109),f=e(95201);function d(t){return(0,f.Z)("MuiAlertTitle",t)}const _=(0,h.Z)("MuiAlertTitle",["root"]);var p=e(43188);const v=["className"],g=(0,u.ZP)(l.Z,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(t,n)=>n.root})((({theme:t})=>({fontWeight:t.typography.fontWeightMedium,marginTop:-2}))),m=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiAlertTitle"}),{className:o}=e,u=(0,i.Z)(e,v),l=e,h=(t=>{const{classes:n}=t;return(0,a.Z)({root:["root"]},d,n)})(l);return(0,p.jsx)(g,(0,r.Z)({gutterBottom:!0,component:"div",ownerState:l,ref:n,className:(0,s.default)(h.root,o)},u))}))},18482:(t,n,e)=>{"use strict";e.r(n),e.d(n,{appBarClasses:()=>p,default:()=>w,getAppBarUtilityClass:()=>_});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(61125),c=e(57369),l=e(40118),h=e(53601),f=e(58109),d=e(95201);function _(t){return(0,d.Z)("MuiAppBar",t)}const p=(0,f.Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);var v=e(43188);const g=["className","color","enableColorOnDark","position"],m=(t,n)=>t?`${null==t?void 0:t.replace(")","")}, ${n})`:n,y=(0,u.ZP)(h.Z,{name:"MuiAppBar",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[`position${(0,l.Z)(e.position)}`],n[`color${(0,l.Z)(e.color)}`]]}})((({theme:t,ownerState:n})=>{const e="light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[900];return(0,i.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===n.position&&{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===n.position&&{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===n.position&&{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"static"===n.position&&{position:"static"},"relative"===n.position&&{position:"relative"},!t.vars&&(0,i.Z)({},"default"===n.color&&{backgroundColor:e,color:t.palette.getContrastText(e)},n.color&&"default"!==n.color&&"inherit"!==n.color&&"transparent"!==n.color&&{backgroundColor:t.palette[n.color].main,color:t.palette[n.color].contrastText},"inherit"===n.color&&{color:"inherit"},"dark"===t.palette.mode&&!n.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===n.color&&(0,i.Z)({backgroundColor:"transparent",color:"inherit"},"dark"===t.palette.mode&&{backgroundImage:"none"})),t.vars&&(0,i.Z)({},"default"===n.color&&{"--AppBar-background":n.enableColorOnDark?t.vars.palette.AppBar.defaultBg:m(t.vars.palette.AppBar.darkBg,t.vars.palette.AppBar.defaultBg),"--AppBar-color":n.enableColorOnDark?t.vars.palette.text.primary:m(t.vars.palette.AppBar.darkColor,t.vars.palette.text.primary)},n.color&&!n.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":n.enableColorOnDark?t.vars.palette[n.color].main:m(t.vars.palette.AppBar.darkBg,t.vars.palette[n.color].main),"--AppBar-color":n.enableColorOnDark?t.vars.palette[n.color].contrastText:m(t.vars.palette.AppBar.darkColor,t.vars.palette[n.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===n.color?"inherit":"var(--AppBar-color)"},"transparent"===n.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),w=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiAppBar"}),{className:o,color:u="primary",enableColorOnDark:h=!1,position:f="fixed"}=e,d=(0,r.Z)(e,g),p=(0,i.Z)({},e,{color:u,position:f,enableColorOnDark:h}),m=(t=>{const{color:n,position:e,classes:r}=t,i={root:["root",`color${(0,l.Z)(n)}`,`position${(0,l.Z)(e)}`]};return(0,a.Z)(i,_,r)})(p);return(0,v.jsx)(y,(0,i.Z)({square:!0,component:"header",ownerState:p,elevation:4,className:(0,s.default)(m.root,o,"fixed"===f&&"mui-fixed"),ref:n},d))}))},60773:(t,n,e)=>{"use strict";e.r(n),e.d(n,{avatarClasses:()=>v,default:()=>b,getAvatarUtilityClass:()=>p});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(61125),c=e(57369),l=e(50968),h=e(43188);const f=(0,l.Z)((0,h.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var d=e(58109),_=e(95201);function p(t){return(0,_.Z)("MuiAvatar",t)}const v=(0,d.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),g=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],m=(0,u.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.variant],e.colorDefault&&n.colorDefault]}})((({theme:t,ownerState:n})=>(0,i.Z)({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===n.variant&&{borderRadius:(t.vars||t).shape.borderRadius},"square"===n.variant&&{borderRadius:0},n.colorDefault&&(0,i.Z)({color:(t.vars||t).palette.background.default},t.vars?{backgroundColor:t.vars.palette.Avatar.defaultBg}:{backgroundColor:"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600]})))),y=(0,u.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(t,n)=>n.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),w=(0,u.ZP)(f,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(t,n)=>n.fallback})({width:"75%",height:"75%"}),b=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiAvatar"}),{alt:u,children:l,className:f,component:d="div",imgProps:_,sizes:v,src:b,srcSet:x,variant:k="circular"}=e,S=(0,r.Z)(e,g);let C=null;const $=function({crossOrigin:t,referrerPolicy:n,src:e,srcSet:r}){const[i,s]=o.useState(!1);return o.useEffect((()=>{if(!e&&!r)return;s(!1);let i=!0;const o=new Image;return o.onload=()=>{i&&s("loaded")},o.onerror=()=>{i&&s("error")},o.crossOrigin=t,o.referrerPolicy=n,o.src=e,r&&(o.srcset=r),()=>{i=!1}}),[t,n,e,r]),i}((0,i.Z)({},_,{src:b,srcSet:x})),E=b||x,M=E&&"error"!==$,z=(0,i.Z)({},e,{colorDefault:!M,component:d,variant:k}),T=(t=>{const{classes:n,variant:e,colorDefault:r}=t,i={root:["root",e,r&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,a.Z)(i,p,n)})(z);return C=M?(0,h.jsx)(y,(0,i.Z)({alt:u,src:b,srcSet:x,sizes:v,ownerState:z,className:T.img},_)):null!=l?l:E&&u?u[0]:(0,h.jsx)(w,{ownerState:z,className:T.fallback}),(0,h.jsx)(m,(0,i.Z)({as:d,ownerState:z,className:(0,s.default)(T.root,f),ref:n},S,{children:C}))}))},8570:(t,n,e)=>{"use strict";e.d(n,{Z:()=>p});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(61125),c=e(57369),l=e(63270),h=e(95329),f=e(43188);const d=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],_=(0,u.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.invisible&&n.invisible]}})((({ownerState:t})=>(0,i.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"}))),p=o.forwardRef((function(t,n){var e,o,u;const p=(0,c.Z)({props:t,name:"MuiBackdrop"}),{children:v,className:g,component:m="div",components:y={},componentsProps:w={},invisible:b=!1,open:x,slotProps:k={},slots:S={},TransitionComponent:C=l.Z,transitionDuration:$}=p,E=(0,r.Z)(p,d),M=(0,i.Z)({},p,{component:m,invisible:b}),z=(t=>{const{classes:n,invisible:e}=t,r={root:["root",e&&"invisible"]};return(0,a.Z)(r,h.s,n)})(M),T=null!=(e=k.root)?e:w.root;return(0,f.jsx)(C,(0,i.Z)({in:x,timeout:$},E,{children:(0,f.jsx)(_,(0,i.Z)({"aria-hidden":!0},T,{as:null!=(o=null!=(u=S.root)?u:y.Root)?o:m,className:(0,s.default)(z.root,g,null==T?void 0:T.className),ownerState:(0,i.Z)({},M,null==T?void 0:T.ownerState),classes:z,ref:n,children:v}))}))}))},95329:(t,n,e)=>{"use strict";e.d(n,{Z:()=>s,s:()=>o});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiBackdrop",t)}const s=(0,r.Z)("MuiBackdrop",["root","invisible"])},25875:(t,n,e)=>{"use strict";e.r(n),e.d(n,{backdropClasses:()=>i.Z,default:()=>r.Z,getBackdropUtilityClass:()=>i.s});var r=e(8570),i=e(95329)},73926:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>m});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(60540),u=e(95882),c=e(8449),l=e(85293),h=e(43188);const f=["className","component"];var d=e(51388),_=e(32162),p=e(80880);const v=(0,_.default)(),g=function(t={}){const{themeId:n,defaultTheme:e,defaultClassName:d="MuiBox-root",generateClassName:_}=t,p=(0,a.ZP)("div",{shouldForwardProp:t=>"theme"!==t&&"sx"!==t&&"as"!==t})(u.Z);return o.forwardRef((function(t,o){const a=(0,l.Z)(e),u=(0,c.Z)(t),{className:v,component:g="div"}=u,m=(0,i.Z)(u,f);return(0,h.jsx)(p,(0,r.Z)({as:g,ref:o,className:(0,s.default)(v,_?_(d):d),theme:n&&a[n]||a},m))}))}({themeId:p.Z,defaultTheme:v,defaultClassName:"MuiBox-root",generateClassName:d.Z.generate}),m=g},55200:(t,n,e)=>{"use strict";e.r(n),e.d(n,{breadcrumbsClasses:()=>S,default:()=>T,getBreadcrumbsUtilityClass:()=>k});var r=e(30984),i=e(55559),o=e(66204),s=(e(5356),e(53583)),a=e(58029),u=e(98858),c=e(61125),l=e(57369),h=e(80013),f=e(73330),d=e(50968),_=e(43188);const p=(0,d.Z)((0,_.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");var v=e(52983);const g=["slots","slotProps"],m=(0,c.ZP)(v.Z)((({theme:t})=>(0,r.Z)({display:"flex",marginLeft:`calc(${t.spacing(1)} * 0.5)`,marginRight:`calc(${t.spacing(1)} * 0.5)`},"light"===t.palette.mode?{backgroundColor:t.palette.grey[100],color:t.palette.grey[700]}:{backgroundColor:t.palette.grey[700],color:t.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":(0,r.Z)({},"light"===t.palette.mode?{backgroundColor:t.palette.grey[200]}:{backgroundColor:t.palette.grey[600]}),"&:active":(0,r.Z)({boxShadow:t.shadows[0]},"light"===t.palette.mode?{backgroundColor:(0,f._4)(t.palette.grey[200],.12)}:{backgroundColor:(0,f._4)(t.palette.grey[600],.12)})}))),y=(0,c.ZP)(p)({width:24,height:16}),w=function(t){const{slots:n={},slotProps:e={}}=t,o=(0,i.Z)(t,g),s=t;return(0,_.jsx)("li",{children:(0,_.jsx)(m,(0,r.Z)({focusRipple:!0},o,{ownerState:s,children:(0,_.jsx)(y,(0,r.Z)({as:n.CollapsedIcon,ownerState:s},e.collapsedIcon))}))})};var b=e(58109),x=e(95201);function k(t){return(0,x.Z)("MuiBreadcrumbs",t)}const S=(0,b.Z)("MuiBreadcrumbs",["root","ol","li","separator"]),C=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],$=(0,c.ZP)(h.Z,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(t,n)=>[{[`& .${S.li}`]:n.li},n.root]})({}),E=(0,c.ZP)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(t,n)=>n.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),M=(0,c.ZP)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(t,n)=>n.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function z(t,n,e,r){return t.reduce(((i,o,s)=>(s{const{classes:n}=t;return(0,a.Z)({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},k,n)})(T),A=(0,u.Z)({elementType:d.CollapsedIcon,externalSlotProps:p.collapsedIcon,ownerState:T}),q=o.useRef(null),P=o.Children.toArray(c).filter((t=>o.isValidElement(t))).map(((t,n)=>(0,_.jsx)("li",{className:j.li,children:t},`child-${n}`)));return(0,_.jsx)($,(0,r.Z)({ref:n,component:f,color:"text.secondary",className:(0,s.default)(j.root,h),ownerState:T},x,{children:(0,_.jsx)(E,{className:j.ol,ref:q,ownerState:T,children:z(S||y&&P.length<=y?P:(t=>m+g>=t.length?t:[...t.slice(0,m),(0,_.jsx)(w,{"aria-label":v,slots:{CollapsedIcon:d.CollapsedIcon},slotProps:{collapsedIcon:A},onClick:()=>{M(!0);const t=q.current.querySelector("a[href],button,[tabindex]");t&&t.focus()}},"ellipsis"),...t.slice(t.length-g,t.length)])(P),j.separator,b,T)})}))}))},62190:(t,n,e)=>{"use strict";e.r(n),e.d(n,{buttonClasses:()=>g,default:()=>C,getButtonUtilityClass:()=>v});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(13467),u=e(58029),c=e(73330),l=e(61125),h=e(57369),f=e(52983),d=e(40118),_=e(58109),p=e(95201);function v(t){return(0,p.Z)("MuiButton",t)}const g=(0,_.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var m=e(30148),y=e(43188);const w=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],b=t=>(0,i.Z)({},"small"===t.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===t.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===t.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),x=(0,l.ZP)(f.Z,{shouldForwardProp:t=>(0,l.FO)(t)||"classes"===t,name:"MuiButton",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.variant],n[`${e.variant}${(0,d.Z)(e.color)}`],n[`size${(0,d.Z)(e.size)}`],n[`${e.variant}Size${(0,d.Z)(e.size)}`],"inherit"===e.color&&n.colorInherit,e.disableElevation&&n.disableElevation,e.fullWidth&&n.fullWidth]}})((({theme:t,ownerState:n})=>{var e,r;const o="light"===t.palette.mode?t.palette.grey[300]:t.palette.grey[800],s="light"===t.palette.mode?t.palette.grey.A100:t.palette.grey[700];return(0,i.Z)({},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,i.Z)({textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,c.Fq)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===n.variant&&"inherit"!==n.color&&{backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,c.Fq)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===n.variant&&"inherit"!==n.color&&{border:`1px solid ${(t.vars||t).palette[n.color].main}`,backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,c.Fq)(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:s,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,i.Z)({},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[8]}),[`&.${g.focusVisible}`]:(0,i.Z)({},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[6]}),[`&.${g.disabled}`]:(0,i.Z)({color:(t.vars||t).palette.action.disabled},"outlined"===n.variant&&{border:`1px solid ${(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(${t.vars.palette[n.color].mainChannel} / 0.5)`:`1px solid ${(0,c.Fq)(t.palette[n.color].main,.5)}`},"contained"===n.variant&&{color:t.vars?t.vars.palette.text.primary:null==(e=(r=t.palette).getContrastText)?void 0:e.call(r,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:o,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%"})}),(({ownerState:t})=>t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${g.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${g.disabled}`]:{boxShadow:"none"}})),k=(0,l.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.startIcon,n[`iconSize${(0,d.Z)(e.size)}`]]}})((({ownerState:t})=>(0,i.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},b(t)))),S=(0,l.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.endIcon,n[`iconSize${(0,d.Z)(e.size)}`]]}})((({ownerState:t})=>(0,i.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},b(t)))),C=o.forwardRef((function(t,n){const e=o.useContext(m.Z),c=(0,a.Z)(e,t),l=(0,h.Z)({props:c,name:"MuiButton"}),{children:f,color:_="primary",component:p="button",className:g,disabled:b=!1,disableElevation:C=!1,disableFocusRipple:$=!1,endIcon:E,focusVisibleClassName:M,fullWidth:z=!1,size:T="medium",startIcon:j,type:A,variant:q="text"}=l,P=(0,r.Z)(l,w),R=(0,i.Z)({},l,{color:_,component:p,disabled:b,disableElevation:C,disableFocusRipple:$,fullWidth:z,size:T,type:A,variant:q}),L=(t=>{const{color:n,disableElevation:e,fullWidth:r,size:o,variant:s,classes:a}=t,c={root:["root",s,`${s}${(0,d.Z)(n)}`,`size${(0,d.Z)(o)}`,`${s}Size${(0,d.Z)(o)}`,"inherit"===n&&"colorInherit",e&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,d.Z)(o)}`],endIcon:["endIcon",`iconSize${(0,d.Z)(o)}`]},l=(0,u.Z)(c,v,a);return(0,i.Z)({},a,l)})(R),O=j&&(0,y.jsx)(k,{className:L.startIcon,ownerState:R,children:j}),I=E&&(0,y.jsx)(S,{className:L.endIcon,ownerState:R,children:E});return(0,y.jsxs)(x,(0,i.Z)({ownerState:R,className:(0,s.default)(e.className,L.root,g),component:p,disabled:b,focusRipple:!$,focusVisibleClassName:(0,s.default)(L.focusVisible,M),ref:n,type:A},P,{classes:L,children:[O,f,I]}))}))},52983:(t,n,e)=>{"use strict";e.d(n,{Z:()=>H});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(58029),u=e(61125),c=e(57369),l=e(81597),h=e(42853),f=e(71323),d=e(40715);function _(){return _=Object.assign||function(t){for(var n=1;nt;const q=(0,k.F4)(M||(M=A` +!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.sparklemotion=n():t.sparklemotion=n()}(this,(()=>(()=>{var t,n,e={69398:(t,n,e)=>{"use strict";e.d(n,{Z:()=>rt});var r=function(){function t(t){var n=this;this._insertTag=function(t){var e;e=0===n.tags.length?n.insertionPoint?n.insertionPoint.nextSibling:n.prepend?n.container.firstChild:n.before:n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(t,e),n.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var n=t.prototype;return n.hydrate=function(t){t.forEach(this._insertTag)},n.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(t){var n=document.createElement("style");return n.setAttribute("data-emotion",t.key),void 0!==t.nonce&&n.setAttribute("nonce",t.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n}(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var e=function(t){if(t.sheet)return t.sheet;for(var n=0;n0?c(w,--g):0,v--,10===y&&(v=1,_--),y}function S(){return y=g2||M(y)>3?"":" "}function q(t,n){for(;--n&&S()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return E(t,$()+(n<6&&32==C()&&32==S()))}function P(t){for(;S();)switch(y){case t:return g;case 34:case 39:34!==t&&39!==t&&P(y);break;case 40:41===t&&P(t);break;case 92:S()}return g}function R(t,n){for(;S()&&t+y!==57&&(t+y!==84||47!==C()););return"/*"+E(n,g-1)+"*"+o(47===t?t:S())}function L(t){for(;!M(C());)S();return E(t,g)}var O="-ms-",I="-moz-",D="-webkit-",N="comm",B="rule",F="decl",U="@keyframes";function H(t,n){for(var e="",r=d(t),i=0;i0&&f(I)-m&&p(y>32?Y(I+";",r,e,m-1):Y(u(I," ","")+";",r,e,m-2),d);break;case 59:I+=";";default:if(p(O=Z(I,n,e,_,v,i,h,z,T=[],P=[],m),s),123===M)if(0===v)V(I,n,O,O,T,s,m,h,P);else switch(99===g&&110===c(I,3)?100:g){case 100:case 108:case 109:case 115:V(t,O,O,r&&p(Z(t,O,O,0,0,i,h,z,i,T=[],m),P),i,P,m,h,r?T:P);break;default:V(I,O,O,O,[""],P,0,h,P)}}_=v=y=0,b=E=1,z=I="",m=a;break;case 58:m=1+f(I),y=w;default:if(b<1)if(123==M)--b;else if(125==M&&0==b++&&125==k())continue;switch(I+=o(M),M*b){case 38:E=v>0?1:(I+="\f",-1);break;case 44:h[_++]=(f(I)-1)*E,E=1;break;case 64:45===C()&&(I+=j(S())),g=C(),v=m=f(z=I+=L($())),M++;break;case 45:45===w&&2==f(I)&&(b=0)}}return s}function Z(t,n,e,r,o,s,l,c,f,p,_){for(var v=o-1,m=0===o?s:[""],g=d(m),y=0,w=0,x=0;y0?m[k]+" "+S:u(S,/&\f/g,m[k])))&&(f[x++]=C);return b(t,n,e,0===o?B:c,f,p,_)}function X(t,n,e){return b(t,n,e,N,o(y),h(t,2,-2),0)}function Y(t,n,e,r){return b(t,n,e,F,h(t,0,r),h(t,r+1,-1),r)}var K=function(t,n,e){for(var r=0,i=0;r=i,i=C(),38===r&&12===i&&(n[e]=1),!M(i);)S();return E(t,g)},J=new WeakMap,Q=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var n=t.value,e=t.parent,r=t.column===e.column&&t.line===e.line;"rule"!==e.type;)if(!(e=e.parent))return;if((1!==t.props.length||58===n.charCodeAt(0)||J.get(e))&&!r){J.set(t,!0);for(var i=[],s=function(t,n){return T(function(t,n){var e=-1,r=44;do{switch(M(r)){case 0:38===r&&12===C()&&(n[e]=1),t[e]+=K(g-1,n,e);break;case 2:t[e]+=j(r);break;case 4:if(44===r){t[++e]=58===C()?"&\f":"",n[e]=t[e].length;break}default:t[e]+=o(r)}}while(r=S());return t}(z(t),n))}(n,i),a=e.props,u=0,l=0;u6)switch(c(t,n+1)){case 109:if(45!==c(t,n+4))break;case 102:return u(t,/(.+:)(.+)-([^]+)/,"$1"+D+"$2-$3$1"+I+(108==c(t,n+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?nt(u(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==c(t,n+1))break;case 6444:switch(c(t,f(t)-3-(~l(t,"!important")&&10))){case 107:return u(t,":",":"+D)+t;case 101:return u(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+D+(45===c(t,14)?"inline-":"")+"box$3$1"+D+"$2$3$1"+O+"$2box$3")+t}break;case 5936:switch(c(t,n+11)){case 114:return D+t+O+u(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return D+t+O+u(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return D+t+O+u(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return D+t+O+t+t}return t}var et=[function(t,n,e,r){if(t.length>-1&&!t.return)switch(t.type){case F:t.return=nt(t.value,t.length);break;case U:return H([x(t,{value:u(t.value,"@","@"+D)})],r);case B:if(t.length)return function(t,n){return t.map(n).join("")}(t.props,(function(n){switch(function(t,n){return(t=/(::plac\w+|:read-\w+)/.exec(t))?t[0]:t}(n)){case":read-only":case":read-write":return H([x(t,{props:[u(n,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return H([x(t,{props:[u(n,/:(plac\w+)/,":"+D+"input-$1")]}),x(t,{props:[u(n,/:(plac\w+)/,":-moz-$1")]}),x(t,{props:[u(n,/:(plac\w+)/,O+"input-$1")]})],r)}return""}))}}],rt=function(t){var n=t.key;if("css"===n){var e=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(e,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var i,o,s=t.stylisPlugins||et,a={},u=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),(function(t){for(var n=t.getAttribute("data-emotion").split(" "),e=1;e{"use strict";function r(t){var n=Object.create(null);return function(e){return void 0===n[e]&&(n[e]=t(e)),n[e]}}e.d(n,{Z:()=>r})},49558:(t,n,e)=>{"use strict";e.d(n,{T:()=>u,i:()=>o,w:()=>a});var r=e(66204),i=e(69398),o=(e(7124),e(98013),!0),s=r.createContext("undefined"!=typeof HTMLElement?(0,i.Z)({key:"css"}):null);s.Provider;var a=function(t){return(0,r.forwardRef)((function(n,e){var i=(0,r.useContext)(s);return t(n,i,e)}))};o||(a=function(t){return function(n){var e=(0,r.useContext)(s);return null===e?(e=(0,i.Z)({key:"css"}),r.createElement(s.Provider,{value:e},t(n,e))):t(n,e)}});var u=r.createContext({})},71580:(t,n,e)=>{"use strict";e.d(n,{F4:()=>c,iv:()=>l,xB:()=>u});var r=e(49558),i=e(66204),o=e(99463),s=e(98013),a=e(7124),u=(e(69398),e(69060),(0,r.w)((function(t,n){var e=t.styles,u=(0,a.O)([e],void 0,i.useContext(r.T));if(!r.i){for(var l,c=u.name,h=u.styles,f=u.next;void 0!==f;)c+=" "+f.name,h+=f.styles,f=f.next;var d=!0===n.compat,p=n.insert("",{name:c,styles:h},n.sheet,d);return d?null:i.createElement("style",((l={})["data-emotion"]=n.key+"-global "+c,l.dangerouslySetInnerHTML={__html:p},l.nonce=n.sheet.nonce,l))}var _=i.useRef();return(0,s.j)((function(){var t=n.key+"-global",e=new n.sheet.constructor({key:t,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+t+" "+u.name+'"]');return n.sheet.tags.length&&(e.before=n.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",t),e.hydrate([i])),_.current=[e,r],function(){e.flush()}}),[n]),(0,s.j)((function(){var t=_.current,e=t[0];if(t[1])t[1]=!1;else{if(void 0!==u.next&&(0,o.My)(n,u.next,!0),e.tags.length){var r=e.tags[e.tags.length-1].nextElementSibling;e.before=r,e.flush()}n.insert("",u,e,!1)}}),[n,u.name]),null})));function l(){for(var t=arguments.length,n=new Array(t),e=0;e{"use strict";e.d(n,{O:()=>p});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},i=e(36902),o=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,a=function(t){return 45===t.charCodeAt(1)},u=function(t){return null!=t&&"boolean"!=typeof t},l=(0,i.Z)((function(t){return a(t)?t:t.replace(o,"-$&").toLowerCase()})),c=function(t,n){switch(t){case"animation":case"animationName":if("string"==typeof n)return n.replace(s,(function(t,n,e){return f={name:n,styles:e,next:f},n}))}return 1===r[t]||a(t)||"number"!=typeof n||0===n?n:n+"px"};function h(t,n,e){if(null==e)return"";if(void 0!==e.__emotion_styles)return e;switch(typeof e){case"boolean":return"";case"object":if(1===e.anim)return f={name:e.name,styles:e.styles,next:f},e.name;if(void 0!==e.styles){var r=e.next;if(void 0!==r)for(;void 0!==r;)f={name:r.name,styles:r.styles,next:f},r=r.next;return e.styles+";"}return function(t,n,e){var r="";if(Array.isArray(e))for(var i=0;i=4;++r,i-=4)n=1540483477*(65535&(n=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))+(59797*(n>>>16)<<16),e=1540483477*(65535&(n^=n>>>24))+(59797*(n>>>16)<<16)^1540483477*(65535&e)+(59797*(e>>>16)<<16);switch(i){case 3:e^=(255&t.charCodeAt(r+2))<<16;case 2:e^=(255&t.charCodeAt(r+1))<<8;case 1:e=1540483477*(65535&(e^=255&t.charCodeAt(r)))+(59797*(e>>>16)<<16)}return(((e=1540483477*(65535&(e^=e>>>13))+(59797*(e>>>16)<<16))^e>>>15)>>>0).toString(36)}(i)+u;return{name:l,styles:i,next:f}}},98013:(t,n,e)=>{"use strict";var r;e.d(n,{L:()=>s,j:()=>a});var i=e(66204),o=!!(r||(r=e.t(i,2))).useInsertionEffect&&(r||(r=e.t(i,2))).useInsertionEffect,s=o||function(t){return t()},a=o||i.useLayoutEffect},99463:(t,n,e)=>{"use strict";function r(t,n,e){var r="";return e.split(" ").forEach((function(e){void 0!==t[e]?n.push(t[e]+";"):r+=e+" "})),r}e.d(n,{My:()=>o,fp:()=>r,hC:()=>i});var i=function(t,n,e){var r=t.key+"-"+n.name;!1===e&&void 0===t.registered[r]&&(t.registered[r]=n.styles)},o=function(t,n,e){i(t,n,e);var r=t.key+"-"+n.name;if(void 0===t.inserted[n.name]){var o=n;do{t.insert(n===o?"."+r:"",o,t.sheet,!0),o=o.next}while(void 0!==o)}}},7714:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>l});var r=e(66204),i=e(42457),o=e(52682),s=e(40401),a=e(513),u=e(43188);const l=r.forwardRef((function(t,n){const{children:e,container:l,disablePortal:c=!1}=t,[h,f]=r.useState(null),d=(0,o.Z)(r.isValidElement(e)?e.ref:null,n);if((0,s.Z)((()=>{c||f(function(t){return"function"==typeof t?t():t}(l)||document.body)}),[l,c]),(0,s.Z)((()=>{if(h&&!c)return(0,a.Z)(n,h),()=>{(0,a.Z)(n,null)}}),[n,h,c]),c){if(r.isValidElement(e)){const t={ref:d};return r.cloneElement(e,t)}return(0,u.jsx)(r.Fragment,{children:e})}return(0,u.jsx)(r.Fragment,{children:h?i.createPortal(e,h):h})}))},97916:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");n.default=s},23539:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"AddCircleOutline");n.default=s},61961:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");n.default=s},85722:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"}),"Article");n.default=s},99413:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M19 12h-2v3h-3v2h5v-5zM7 9h3V7H5v5h2V9zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z"}),"AspectRatio");n.default=s},59804:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M11 17c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1zm0-14v4h2V5.08c3.39.49 6 3.39 6 6.92 0 3.87-3.13 7-7 7s-7-3.13-7-7c0-1.68.59-3.22 1.58-4.42L12 13l1.41-1.41-6.8-6.8v.02C4.42 6.45 3 9.05 3 12c0 4.97 4.02 9 9 9 4.97 0 9-4.03 9-9s-4.03-9-9-9h-1zm7 9c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zM6 12c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z"}),"AvTimer");n.default=s},73945:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"m19 8-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"}),"Cached");n.default=s},53503:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm18-7H5v1.63c3.96 1.28 7.09 4.41 8.37 8.37H19V7zM1 10v2c4.97 0 9 4.03 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CastConnected");n.default=s},51161:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");n.default=s},78286:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");n.default=s},3206:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");n.default=s},12699:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM17 13l-5 5-5-5h3V9h4v4h3z"}),"CloudDownload");n.default=s},89710:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"}),"Code");n.default=s},74407:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M19 5H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 12H5V7h14v10z"}),"CropLandscape");n.default=s},61613:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"}),"Dashboard");n.default=s},15971:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");n.default=s},30330:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z"}),"Download");n.default=s},4953:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"DragIndicator");n.default=s},46701:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");n.default=s},60230:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z"}),"Equalizer");n.default=s},49824:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"}),"Error");n.default=s},2266:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");n.default=s},66740:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4 6 6v10c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2h7zm-1 7h5.5L14 6.5V12z"}),"FileCopy");n.default=s},19546:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"}),"FileUpload");n.default=s},68568:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16-7-8v8H5l7-8V5h7v14z"}),"FilterBAndW");n.default=s},3581:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"}),"Folder");n.default=s},54899:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"}),"HelpOutline");n.default=s},10659:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"}),"Image");n.default=s},66490:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}),"Info");n.default=s},79436:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2zM11 16l4-4-4-4v3H1v2h10v3z"}),"Input");n.default=s},49957:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"}),"InsertDriveFile");n.default=s},3418:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"}),"Lock");n.default=s},5359:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm0 12H6V10h12v10z"}),"LockOpen");n.default=s},87187:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"m20.5 3-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM15 19l-6-2.11V5l6 2.11V19z"}),"Map");n.default=s},9051:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu");n.default=s},30091:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12 14c1.66 0 2.99-1.34 2.99-3L15 5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3zm5.3-3c0 3-2.54 5.1-5.3 5.1S6.7 14 6.7 11H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28c3.28-.48 6-3.3 6-6.72h-1.7z"}),"Mic");n.default=s},78890:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");n.default=s},28189:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z"}),"MusicNote");n.default=s},93604:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z"}),"NotInterested");n.default=s},35588:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M18 16v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-5 0h-2v-2h2v2zm0-4h-2V8h2v4zm-1 10c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2z"}),"NotificationImportant");n.default=s},2663:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h4v-2H5V8h14v10h-4v2h4c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2zm-7 6-4 4h3v6h2v-6h3l-4-4z"}),"OpenInBrowser");n.default=s},32462:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10c1.38 0 2.5-1.12 2.5-2.5 0-.61-.23-1.2-.64-1.67-.08-.1-.13-.21-.13-.33 0-.28.22-.5.5-.5H16c3.31 0 6-2.69 6-6 0-4.96-4.49-9-10-9zm5.5 11c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm-3-4c-.83 0-1.5-.67-1.5-1.5S13.67 6 14.5 6s1.5.67 1.5 1.5S15.33 9 14.5 9zM5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S7.33 13 6.5 13 5 12.33 5 11.5zm6-4c0 .83-.67 1.5-1.5 1.5S8 8.33 8 7.5 8.67 6 9.5 6s1.5.67 1.5 1.5z"}),"Palette");n.default=s},45053:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5z"}),"PanTool");n.default=s},41366:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4 2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}),"PhotoLibrary");n.default=s},74953:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M2 9v2h19V9H2zm0 6h5v-2H2v2zm7 0h5v-2H9v2zm7 0h5v-2h-5v2z"}),"PowerInput");n.default=s},65018:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"}),"Redo");n.default=s},52965:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z"}),"Save");n.default=s},62655:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");n.default=s},1700:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}),"Settings");n.default=s},10652:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9v2zm-8 0c0 1.3.84 2.4 2 2.82V23h2v-4.18C6.16 18.4 7 17.3 7 16v-2H1v2zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6h-2zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6V6h-2V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2h-6v2z"}),"SettingsInputComponent");n.default=s},90346:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"m3.5 18.49 6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z"}),"ShowChart");n.default=s},4e3:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z"}),"Sync");n.default=s},73994:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M7.52 21.48C4.25 19.94 1.91 16.76 1.55 13H.05C.56 19.16 5.71 24 12 24l.66-.03-3.81-3.81-1.33 1.32zm.89-6.52c-.19 0-.37-.03-.52-.08-.16-.06-.29-.13-.4-.24-.11-.1-.2-.22-.26-.37-.06-.14-.09-.3-.09-.47h-1.3c0 .36.07.68.21.95.14.27.33.5.56.69.24.18.51.32.82.41.3.1.62.15.96.15.37 0 .72-.05 1.03-.15.32-.1.6-.25.83-.44s.42-.43.55-.72c.13-.29.2-.61.2-.97 0-.19-.02-.38-.07-.56-.05-.18-.12-.35-.23-.51-.1-.16-.24-.3-.4-.43-.17-.13-.37-.23-.61-.31.2-.09.37-.2.52-.33.15-.13.27-.27.37-.42.1-.15.17-.3.22-.46.05-.16.07-.32.07-.48 0-.36-.06-.68-.18-.96-.12-.28-.29-.51-.51-.69-.2-.19-.47-.33-.77-.43C9.1 8.05 8.76 8 8.39 8c-.36 0-.69.05-1 .16-.3.11-.57.26-.79.45-.21.19-.38.41-.51.67-.12.26-.18.54-.18.85h1.3c0-.17.03-.32.09-.45s.14-.25.25-.34c.11-.09.23-.17.38-.22.15-.05.3-.08.48-.08.4 0 .7.1.89.31.19.2.29.49.29.86 0 .18-.03.34-.08.49-.05.15-.14.27-.25.37-.11.1-.25.18-.41.24-.16.06-.36.09-.58.09H7.5v1.03h.77c.22 0 .42.02.6.07s.33.13.45.23c.12.11.22.24.29.4.07.16.1.35.1.57 0 .41-.12.72-.35.93-.23.23-.55.33-.95.33zm8.55-5.92c-.32-.33-.7-.59-1.14-.77-.43-.18-.92-.27-1.46-.27H12v8h2.3c.55 0 1.06-.09 1.51-.27.45-.18.84-.43 1.16-.76.32-.33.57-.73.74-1.19.17-.47.26-.99.26-1.57v-.4c0-.58-.09-1.1-.26-1.57-.18-.47-.43-.87-.75-1.2zm-.39 3.16c0 .42-.05.79-.14 1.13-.1.33-.24.62-.43.85-.19.23-.43.41-.71.53-.29.12-.62.18-.99.18h-.91V9.12h.97c.72 0 1.27.23 1.64.69.38.46.57 1.12.57 1.99v.4zM12 0l-.66.03 3.81 3.81 1.33-1.33c3.27 1.55 5.61 4.72 5.96 8.48h1.5C23.44 4.84 18.29 0 12 0z"}),"ThreeDRotation");n.default=s},81885:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"}),"Undo");n.default=s},69753:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M5 20h14v-2H5v2zm0-10h4v6h6v-6h4l-7-7-7 7z"}),"Upload");n.default=s},66375:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M14.67 5v6.5H9.33V5h5.34zm1 6.5H21V5h-5.33v6.5zm-1 7.5v-6.5H9.33V19h5.34zm1-6.5V19H21v-6.5h-5.33zm-7.34 0H3V19h5.33v-6.5zm0-1V5H3v6.5h5.33z"}),"ViewModule");n.default=s},72241:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");n.default=s},36539:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");n.default=s},54378:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)([(0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"},"0"),(0,o.jsx)("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"},"1")],"ZoomIn");n.default=s},41247:(t,n,e)=>{"use strict";var r=e(57739);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e(53948)),o=e(43188),s=(0,i.default)((0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z"}),"ZoomOut");n.default=s},53948:(t,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=e(90407)},86032:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=e(66204).createContext({})},2675:(t,n,e)=>{"use strict";e.r(n),e.d(n,{accordionClasses:()=>z,default:()=>A,getAccordionUtilityClass:()=>M});var r=e(55559),i=e(30984),o=e(66204),s=(e(5356),e(53583)),a=e(58029),u=e(61125),l=e(57369),c=e(44628),h=e(14262),f=e(41372),d=e(92368),p=e(81597),_=e(58109),v=e(95201);function m(t){return(0,v.Z)("MuiCollapse",t)}(0,_.Z)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var g=e(43188);const y=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],w=(0,u.ZP)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.orientation],"entered"===e.state&&n.entered,"exited"===e.state&&!e.in&&"0px"===e.collapsedSize&&n.hidden]}})((({theme:t,ownerState:n})=>(0,i.Z)({height:0,overflow:"hidden",transition:t.transitions.create("height")},"horizontal"===n.orientation&&{height:"auto",width:0,transition:t.transitions.create("width")},"entered"===n.state&&(0,i.Z)({height:"auto",overflow:"visible"},"horizontal"===n.orientation&&{width:"auto"}),"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&{visibility:"hidden"}))),b=(0,u.ZP)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(t,n)=>n.wrapper})((({ownerState:t})=>(0,i.Z)({display:"flex",width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"}))),x=(0,u.ZP)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(t,n)=>n.wrapperInner})((({ownerState:t})=>(0,i.Z)({width:"100%"},"horizontal"===t.orientation&&{width:"auto",height:"100%"}))),k=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiCollapse"}),{addEndListener:u,children:_,className:v,collapsedSize:k="0px",component:S,easing:C,in:$,onEnter:E,onEntered:M,onEntering:z,onExit:T,onExited:j,onExiting:A,orientation:q="vertical",style:P,timeout:R=h.x9.standard,TransitionComponent:L=c.ZP}=e,O=(0,r.Z)(e,y),I=(0,i.Z)({},e,{orientation:q,collapsedSize:k}),D=(t=>{const{orientation:n,classes:e}=t,r={root:["root",`${n}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${n}`],wrapperInner:["wrapperInner",`${n}`]};return(0,a.Z)(r,m,e)})(I),N=(0,d.default)(),B=o.useRef(),F=o.useRef(null),U=o.useRef(),H="number"==typeof k?`${k}px`:k,G="horizontal"===q,W=G?"width":"height";o.useEffect((()=>()=>{clearTimeout(B.current)}),[]);const V=o.useRef(null),Z=(0,p.Z)(n,V),X=t=>n=>{if(t){const e=V.current;void 0===n?t(e):t(e,n)}},Y=()=>F.current?F.current[G?"clientWidth":"clientHeight"]:0,K=X(((t,n)=>{F.current&&G&&(F.current.style.position="absolute"),t.style[W]=H,E&&E(t,n)})),J=X(((t,n)=>{const e=Y();F.current&&G&&(F.current.style.position="");const{duration:r,easing:i}=(0,f.C)({style:P,timeout:R,easing:C},{mode:"enter"});if("auto"===R){const n=N.transitions.getAutoHeightDuration(e);t.style.transitionDuration=`${n}ms`,U.current=n}else t.style.transitionDuration="string"==typeof r?r:`${r}ms`;t.style[W]=`${e}px`,t.style.transitionTimingFunction=i,z&&z(t,n)})),Q=X(((t,n)=>{t.style[W]="auto",M&&M(t,n)})),tt=X((t=>{t.style[W]=`${Y()}px`,T&&T(t)})),nt=X(j),et=X((t=>{const n=Y(),{duration:e,easing:r}=(0,f.C)({style:P,timeout:R,easing:C},{mode:"exit"});if("auto"===R){const e=N.transitions.getAutoHeightDuration(n);t.style.transitionDuration=`${e}ms`,U.current=e}else t.style.transitionDuration="string"==typeof e?e:`${e}ms`;t.style[W]=H,t.style.transitionTimingFunction=r,A&&A(t)}));return(0,g.jsx)(L,(0,i.Z)({in:$,onEnter:K,onEntered:Q,onEntering:J,onExit:tt,onExited:nt,onExiting:et,addEndListener:t=>{"auto"===R&&(B.current=setTimeout(t,U.current||0)),u&&u(V.current,t)},nodeRef:V,timeout:"auto"===R?null:R},O,{children:(t,n)=>(0,g.jsx)(w,(0,i.Z)({as:S,className:(0,s.default)(D.root,v,{entered:D.entered,exited:!$&&"0px"===H&&D.hidden}[t]),style:(0,i.Z)({[G?"minWidth":"minHeight"]:H},P),ownerState:(0,i.Z)({},I,{state:t}),ref:Z},n,{children:(0,g.jsx)(b,{ownerState:(0,i.Z)({},I,{state:t}),className:D.wrapper,ref:F,children:(0,g.jsx)(x,{ownerState:(0,i.Z)({},I,{state:t}),className:D.wrapperInner,children:_})})}))}))}));k.muiSupportAuto=!0;const S=k;var C=e(53601),$=e(86032),E=e(66262);function M(t){return(0,v.Z)("MuiAccordion",t)}const z=(0,_.Z)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),T=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],j=(0,u.ZP)(C.Z,{name:"MuiAccordion",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`& .${z.region}`]:n.region},n.root,!e.square&&n.rounded,!e.disableGutters&&n.gutters]}})((({theme:t})=>{const n={duration:t.transitions.duration.shortest};return{position:"relative",transition:t.transitions.create(["margin"],n),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(t.vars||t).palette.divider,transition:t.transitions.create(["opacity","background-color"],n)},"&:first-of-type":{"&:before":{display:"none"}},[`&.${z.expanded}`]:{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}},[`&.${z.disabled}`]:{backgroundColor:(t.vars||t).palette.action.disabledBackground}}}),(({theme:t,ownerState:n})=>(0,i.Z)({},!n.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(t.vars||t).shape.borderRadius,borderBottomRightRadius:(t.vars||t).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!n.disableGutters&&{[`&.${z.expanded}`]:{margin:"16px 0"}}))),A=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiAccordion"}),{children:u,className:c,defaultExpanded:h=!1,disabled:f=!1,disableGutters:d=!1,expanded:p,onChange:_,square:v=!1,TransitionComponent:m=S,TransitionProps:y}=e,w=(0,r.Z)(e,T),[b,x]=(0,E.Z)({controlled:p,default:h,name:"Accordion",state:"expanded"}),k=o.useCallback((t=>{x(!b),_&&_(t,!b)}),[b,_,x]),[C,...z]=o.Children.toArray(u),A=o.useMemo((()=>({expanded:b,disabled:f,disableGutters:d,toggle:k})),[b,f,d,k]),q=(0,i.Z)({},e,{square:v,disabled:f,disableGutters:d,expanded:b}),P=(t=>{const{classes:n,square:e,expanded:r,disabled:i,disableGutters:o}=t,s={root:["root",!e&&"rounded",r&&"expanded",i&&"disabled",!o&&"gutters"],region:["region"]};return(0,a.Z)(s,M,n)})(q);return(0,g.jsxs)(j,(0,i.Z)({className:(0,s.default)(P.root,c),ref:n,ownerState:q,square:v},w,{children:[(0,g.jsx)($.Z.Provider,{value:A,children:C}),(0,g.jsx)(m,(0,i.Z)({in:b,timeout:"auto"},y,{children:(0,g.jsx)("div",{"aria-labelledby":C.props.id,id:C.props["aria-controls"],role:"region",className:P.region,children:z})}))]}))}))},87546:(t,n,e)=>{"use strict";e.r(n),e.d(n,{accordionDetailsClasses:()=>d,default:()=>m,getAccordionDetailsUtilityClass:()=>f});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(58029),u=e(61125),l=e(57369),c=e(58109),h=e(95201);function f(t){return(0,h.Z)("MuiAccordionDetails",t)}const d=(0,c.Z)("MuiAccordionDetails",["root"]);var p=e(43188);const _=["className"],v=(0,u.ZP)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(t,n)=>n.root})((({theme:t})=>({padding:t.spacing(1,2,2)}))),m=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiAccordionDetails"}),{className:o}=e,u=(0,i.Z)(e,_),c=e,h=(t=>{const{classes:n}=t;return(0,a.Z)({root:["root"]},f,n)})(c);return(0,p.jsx)(v,(0,r.Z)({className:(0,s.default)(h.root,o),ref:n,ownerState:c},u))}))},6190:(t,n,e)=>{"use strict";e.r(n),e.d(n,{accordionSummaryClasses:()=>_,default:()=>b,getAccordionSummaryUtilityClass:()=>p});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(61125),l=e(57369),c=e(52983),h=e(86032),f=e(58109),d=e(95201);function p(t){return(0,d.Z)("MuiAccordionSummary",t)}const _=(0,f.Z)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]);var v=e(43188);const m=["children","className","expandIcon","focusVisibleClassName","onClick"],g=(0,u.ZP)(c.Z,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(t,n)=>n.root})((({theme:t,ownerState:n})=>{const e={duration:t.transitions.duration.shortest};return(0,i.Z)({display:"flex",minHeight:48,padding:t.spacing(0,2),transition:t.transitions.create(["min-height","background-color"],e),[`&.${_.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${_.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`&:hover:not(.${_.disabled})`]:{cursor:"pointer"}},!n.disableGutters&&{[`&.${_.expanded}`]:{minHeight:64}})})),y=(0,u.ZP)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(t,n)=>n.content})((({theme:t,ownerState:n})=>(0,i.Z)({display:"flex",flexGrow:1,margin:"12px 0"},!n.disableGutters&&{transition:t.transitions.create(["margin"],{duration:t.transitions.duration.shortest}),[`&.${_.expanded}`]:{margin:"20px 0"}}))),w=(0,u.ZP)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(t,n)=>n.expandIconWrapper})((({theme:t})=>({display:"flex",color:(t.vars||t).palette.action.active,transform:"rotate(0deg)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest}),[`&.${_.expanded}`]:{transform:"rotate(180deg)"}}))),b=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiAccordionSummary"}),{children:u,className:c,expandIcon:f,focusVisibleClassName:d,onClick:_}=e,b=(0,r.Z)(e,m),{disabled:x=!1,disableGutters:k,expanded:S,toggle:C}=o.useContext(h.Z),$=(0,i.Z)({},e,{expanded:S,disabled:x,disableGutters:k}),E=(t=>{const{classes:n,expanded:e,disabled:r,disableGutters:i}=t,o={root:["root",e&&"expanded",r&&"disabled",!i&&"gutters"],focusVisible:["focusVisible"],content:["content",e&&"expanded",!i&&"contentGutters"],expandIconWrapper:["expandIconWrapper",e&&"expanded"]};return(0,a.Z)(o,p,n)})($);return(0,v.jsxs)(g,(0,i.Z)({focusRipple:!1,disableRipple:!0,disabled:x,component:"div","aria-expanded":S,className:(0,s.default)(E.root,c),focusVisibleClassName:(0,s.default)(E.focusVisible,d),onClick:t=>{C&&C(t),_&&_(t)},ref:n,ownerState:$},b,{children:[(0,v.jsx)(y,{className:E.content,ownerState:$,children:u}),f&&(0,v.jsx)(w,{className:E.expandIconWrapper,ownerState:$,children:f})]}))}))},74705:(t,n,e)=>{"use strict";e.r(n),e.d(n,{alertClasses:()=>v,default:()=>j,getAlertUtilityClass:()=>_});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(73330),l=e(61125),c=e(57369),h=e(40118),f=e(53601),d=e(58109),p=e(95201);function _(t){return(0,p.Z)("MuiAlert",t)}const v=(0,d.Z)("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);var m=e(49140),g=e(50968),y=e(43188);const w=(0,g.Z)((0,y.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),b=(0,g.Z)((0,y.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),x=(0,g.Z)((0,y.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),k=(0,g.Z)((0,y.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),S=(0,g.Z)((0,y.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),C=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],$=(0,l.ZP)(f.Z,{name:"MuiAlert",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.variant],n[`${e.variant}${(0,h.Z)(e.color||e.severity)}`]]}})((({theme:t,ownerState:n})=>{const e="light"===t.palette.mode?u._j:u.$n,r="light"===t.palette.mode?u.$n:u._j,o=n.color||n.severity;return(0,i.Z)({},t.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},o&&"standard"===n.variant&&{color:t.vars?t.vars.palette.Alert[`${o}Color`]:e(t.palette[o].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${o}StandardBg`]:r(t.palette[o].light,.9),[`& .${v.icon}`]:t.vars?{color:t.vars.palette.Alert[`${o}IconColor`]}:{color:t.palette[o].main}},o&&"outlined"===n.variant&&{color:t.vars?t.vars.palette.Alert[`${o}Color`]:e(t.palette[o].light,.6),border:`1px solid ${(t.vars||t).palette[o].light}`,[`& .${v.icon}`]:t.vars?{color:t.vars.palette.Alert[`${o}IconColor`]}:{color:t.palette[o].main}},o&&"filled"===n.variant&&(0,i.Z)({fontWeight:t.typography.fontWeightMedium},t.vars?{color:t.vars.palette.Alert[`${o}FilledColor`],backgroundColor:t.vars.palette.Alert[`${o}FilledBg`]}:{backgroundColor:"dark"===t.palette.mode?t.palette[o].dark:t.palette[o].main,color:t.palette.getContrastText(t.palette[o].main)}))})),E=(0,l.ZP)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(t,n)=>n.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),M=(0,l.ZP)("div",{name:"MuiAlert",slot:"Message",overridesResolver:(t,n)=>n.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),z=(0,l.ZP)("div",{name:"MuiAlert",slot:"Action",overridesResolver:(t,n)=>n.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),T={success:(0,y.jsx)(w,{fontSize:"inherit"}),warning:(0,y.jsx)(b,{fontSize:"inherit"}),error:(0,y.jsx)(x,{fontSize:"inherit"}),info:(0,y.jsx)(k,{fontSize:"inherit"})},j=o.forwardRef((function(t,n){var e,o,u,l,f,d;const p=(0,c.Z)({props:t,name:"MuiAlert"}),{action:v,children:g,className:w,closeText:b="Close",color:x,components:k={},componentsProps:j={},icon:A,iconMapping:q=T,onClose:P,role:R="alert",severity:L="success",slotProps:O={},slots:I={},variant:D="standard"}=p,N=(0,r.Z)(p,C),B=(0,i.Z)({},p,{color:x,severity:L,variant:D}),F=(t=>{const{variant:n,color:e,severity:r,classes:i}=t,o={root:["root",`${n}${(0,h.Z)(e||r)}`,`${n}`],icon:["icon"],message:["message"],action:["action"]};return(0,a.Z)(o,_,i)})(B),U=null!=(e=null!=(o=I.closeButton)?o:k.CloseButton)?e:m.Z,H=null!=(u=null!=(l=I.closeIcon)?l:k.CloseIcon)?u:S,G=null!=(f=O.closeButton)?f:j.closeButton,W=null!=(d=O.closeIcon)?d:j.closeIcon;return(0,y.jsxs)($,(0,i.Z)({role:R,elevation:0,ownerState:B,className:(0,s.default)(F.root,w),ref:n},N,{children:[!1!==A?(0,y.jsx)(E,{ownerState:B,className:F.icon,children:A||q[L]||T[L]}):null,(0,y.jsx)(M,{ownerState:B,className:F.message,children:g}),null!=v?(0,y.jsx)(z,{ownerState:B,className:F.action,children:v}):null,null==v&&P?(0,y.jsx)(z,{ownerState:B,className:F.action,children:(0,y.jsx)(U,(0,i.Z)({size:"small","aria-label":b,title:b,color:"inherit",onClick:P},G,{children:(0,y.jsx)(H,(0,i.Z)({fontSize:"small"},W))}))}):null]}))}))},48585:(t,n,e)=>{"use strict";e.r(n),e.d(n,{alertTitleClasses:()=>p,default:()=>g,getAlertTitleUtilityClass:()=>d});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(58029),u=e(61125),l=e(57369),c=e(80013),h=e(58109),f=e(95201);function d(t){return(0,f.Z)("MuiAlertTitle",t)}const p=(0,h.Z)("MuiAlertTitle",["root"]);var _=e(43188);const v=["className"],m=(0,u.ZP)(c.Z,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(t,n)=>n.root})((({theme:t})=>({fontWeight:t.typography.fontWeightMedium,marginTop:-2}))),g=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiAlertTitle"}),{className:o}=e,u=(0,i.Z)(e,v),c=e,h=(t=>{const{classes:n}=t;return(0,a.Z)({root:["root"]},d,n)})(c);return(0,_.jsx)(m,(0,r.Z)({gutterBottom:!0,component:"div",ownerState:c,ref:n,className:(0,s.default)(h.root,o)},u))}))},18482:(t,n,e)=>{"use strict";e.r(n),e.d(n,{appBarClasses:()=>_,default:()=>w,getAppBarUtilityClass:()=>p});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(61125),l=e(57369),c=e(40118),h=e(53601),f=e(58109),d=e(95201);function p(t){return(0,d.Z)("MuiAppBar",t)}const _=(0,f.Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);var v=e(43188);const m=["className","color","enableColorOnDark","position"],g=(t,n)=>t?`${null==t?void 0:t.replace(")","")}, ${n})`:n,y=(0,u.ZP)(h.Z,{name:"MuiAppBar",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[`position${(0,c.Z)(e.position)}`],n[`color${(0,c.Z)(e.color)}`]]}})((({theme:t,ownerState:n})=>{const e="light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[900];return(0,i.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===n.position&&{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===n.position&&{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===n.position&&{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},"static"===n.position&&{position:"static"},"relative"===n.position&&{position:"relative"},!t.vars&&(0,i.Z)({},"default"===n.color&&{backgroundColor:e,color:t.palette.getContrastText(e)},n.color&&"default"!==n.color&&"inherit"!==n.color&&"transparent"!==n.color&&{backgroundColor:t.palette[n.color].main,color:t.palette[n.color].contrastText},"inherit"===n.color&&{color:"inherit"},"dark"===t.palette.mode&&!n.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===n.color&&(0,i.Z)({backgroundColor:"transparent",color:"inherit"},"dark"===t.palette.mode&&{backgroundImage:"none"})),t.vars&&(0,i.Z)({},"default"===n.color&&{"--AppBar-background":n.enableColorOnDark?t.vars.palette.AppBar.defaultBg:g(t.vars.palette.AppBar.darkBg,t.vars.palette.AppBar.defaultBg),"--AppBar-color":n.enableColorOnDark?t.vars.palette.text.primary:g(t.vars.palette.AppBar.darkColor,t.vars.palette.text.primary)},n.color&&!n.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":n.enableColorOnDark?t.vars.palette[n.color].main:g(t.vars.palette.AppBar.darkBg,t.vars.palette[n.color].main),"--AppBar-color":n.enableColorOnDark?t.vars.palette[n.color].contrastText:g(t.vars.palette.AppBar.darkColor,t.vars.palette[n.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===n.color?"inherit":"var(--AppBar-color)"},"transparent"===n.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),w=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiAppBar"}),{className:o,color:u="primary",enableColorOnDark:h=!1,position:f="fixed"}=e,d=(0,r.Z)(e,m),_=(0,i.Z)({},e,{color:u,position:f,enableColorOnDark:h}),g=(t=>{const{color:n,position:e,classes:r}=t,i={root:["root",`color${(0,c.Z)(n)}`,`position${(0,c.Z)(e)}`]};return(0,a.Z)(i,p,r)})(_);return(0,v.jsx)(y,(0,i.Z)({square:!0,component:"header",ownerState:_,elevation:4,className:(0,s.default)(g.root,o,"fixed"===f&&"mui-fixed"),ref:n},d))}))},60773:(t,n,e)=>{"use strict";e.r(n),e.d(n,{avatarClasses:()=>v,default:()=>b,getAvatarUtilityClass:()=>_});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(61125),l=e(57369),c=e(50968),h=e(43188);const f=(0,c.Z)((0,h.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var d=e(58109),p=e(95201);function _(t){return(0,p.Z)("MuiAvatar",t)}const v=(0,d.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),m=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],g=(0,u.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.variant],e.colorDefault&&n.colorDefault]}})((({theme:t,ownerState:n})=>(0,i.Z)({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===n.variant&&{borderRadius:(t.vars||t).shape.borderRadius},"square"===n.variant&&{borderRadius:0},n.colorDefault&&(0,i.Z)({color:(t.vars||t).palette.background.default},t.vars?{backgroundColor:t.vars.palette.Avatar.defaultBg}:{backgroundColor:"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600]})))),y=(0,u.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(t,n)=>n.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),w=(0,u.ZP)(f,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(t,n)=>n.fallback})({width:"75%",height:"75%"}),b=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiAvatar"}),{alt:u,children:c,className:f,component:d="div",imgProps:p,sizes:v,src:b,srcSet:x,variant:k="circular"}=e,S=(0,r.Z)(e,m);let C=null;const $=function({crossOrigin:t,referrerPolicy:n,src:e,srcSet:r}){const[i,s]=o.useState(!1);return o.useEffect((()=>{if(!e&&!r)return;s(!1);let i=!0;const o=new Image;return o.onload=()=>{i&&s("loaded")},o.onerror=()=>{i&&s("error")},o.crossOrigin=t,o.referrerPolicy=n,o.src=e,r&&(o.srcset=r),()=>{i=!1}}),[t,n,e,r]),i}((0,i.Z)({},p,{src:b,srcSet:x})),E=b||x,M=E&&"error"!==$,z=(0,i.Z)({},e,{colorDefault:!M,component:d,variant:k}),T=(t=>{const{classes:n,variant:e,colorDefault:r}=t,i={root:["root",e,r&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,a.Z)(i,_,n)})(z);return C=M?(0,h.jsx)(y,(0,i.Z)({alt:u,src:b,srcSet:x,sizes:v,ownerState:z,className:T.img},p)):null!=c?c:E&&u?u[0]:(0,h.jsx)(w,{ownerState:z,className:T.fallback}),(0,h.jsx)(g,(0,i.Z)({as:d,ownerState:z,className:(0,s.default)(T.root,f),ref:n},S,{children:C}))}))},8570:(t,n,e)=>{"use strict";e.d(n,{Z:()=>_});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(61125),l=e(57369),c=e(63270),h=e(95329),f=e(43188);const d=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],p=(0,u.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.invisible&&n.invisible]}})((({ownerState:t})=>(0,i.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"}))),_=o.forwardRef((function(t,n){var e,o,u;const _=(0,l.Z)({props:t,name:"MuiBackdrop"}),{children:v,className:m,component:g="div",components:y={},componentsProps:w={},invisible:b=!1,open:x,slotProps:k={},slots:S={},TransitionComponent:C=c.Z,transitionDuration:$}=_,E=(0,r.Z)(_,d),M=(0,i.Z)({},_,{component:g,invisible:b}),z=(t=>{const{classes:n,invisible:e}=t,r={root:["root",e&&"invisible"]};return(0,a.Z)(r,h.s,n)})(M),T=null!=(e=k.root)?e:w.root;return(0,f.jsx)(C,(0,i.Z)({in:x,timeout:$},E,{children:(0,f.jsx)(p,(0,i.Z)({"aria-hidden":!0},T,{as:null!=(o=null!=(u=S.root)?u:y.Root)?o:g,className:(0,s.default)(z.root,m,null==T?void 0:T.className),ownerState:(0,i.Z)({},M,null==T?void 0:T.ownerState),classes:z,ref:n,children:v}))}))}))},95329:(t,n,e)=>{"use strict";e.d(n,{Z:()=>s,s:()=>o});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiBackdrop",t)}const s=(0,r.Z)("MuiBackdrop",["root","invisible"])},25875:(t,n,e)=>{"use strict";e.r(n),e.d(n,{backdropClasses:()=>i.Z,default:()=>r.Z,getBackdropUtilityClass:()=>i.s});var r=e(8570),i=e(95329)},73926:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>g});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(60540),u=e(95882),l=e(8449),c=e(85293),h=e(43188);const f=["className","component"];var d=e(51388),p=e(32162),_=e(80880);const v=(0,p.default)(),m=function(t={}){const{themeId:n,defaultTheme:e,defaultClassName:d="MuiBox-root",generateClassName:p}=t,_=(0,a.ZP)("div",{shouldForwardProp:t=>"theme"!==t&&"sx"!==t&&"as"!==t})(u.Z);return o.forwardRef((function(t,o){const a=(0,c.Z)(e),u=(0,l.Z)(t),{className:v,component:m="div"}=u,g=(0,i.Z)(u,f);return(0,h.jsx)(_,(0,r.Z)({as:m,ref:o,className:(0,s.default)(v,p?p(d):d),theme:n&&a[n]||a},g))}))}({themeId:_.Z,defaultTheme:v,defaultClassName:"MuiBox-root",generateClassName:d.Z.generate}),g=m},55200:(t,n,e)=>{"use strict";e.r(n),e.d(n,{breadcrumbsClasses:()=>S,default:()=>T,getBreadcrumbsUtilityClass:()=>k});var r=e(30984),i=e(55559),o=e(66204),s=(e(5356),e(53583)),a=e(58029),u=e(98858),l=e(61125),c=e(57369),h=e(80013),f=e(73330),d=e(50968),p=e(43188);const _=(0,d.Z)((0,p.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");var v=e(52983);const m=["slots","slotProps"],g=(0,l.ZP)(v.Z)((({theme:t})=>(0,r.Z)({display:"flex",marginLeft:`calc(${t.spacing(1)} * 0.5)`,marginRight:`calc(${t.spacing(1)} * 0.5)`},"light"===t.palette.mode?{backgroundColor:t.palette.grey[100],color:t.palette.grey[700]}:{backgroundColor:t.palette.grey[700],color:t.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":(0,r.Z)({},"light"===t.palette.mode?{backgroundColor:t.palette.grey[200]}:{backgroundColor:t.palette.grey[600]}),"&:active":(0,r.Z)({boxShadow:t.shadows[0]},"light"===t.palette.mode?{backgroundColor:(0,f._4)(t.palette.grey[200],.12)}:{backgroundColor:(0,f._4)(t.palette.grey[600],.12)})}))),y=(0,l.ZP)(_)({width:24,height:16}),w=function(t){const{slots:n={},slotProps:e={}}=t,o=(0,i.Z)(t,m),s=t;return(0,p.jsx)("li",{children:(0,p.jsx)(g,(0,r.Z)({focusRipple:!0},o,{ownerState:s,children:(0,p.jsx)(y,(0,r.Z)({as:n.CollapsedIcon,ownerState:s},e.collapsedIcon))}))})};var b=e(58109),x=e(95201);function k(t){return(0,x.Z)("MuiBreadcrumbs",t)}const S=(0,b.Z)("MuiBreadcrumbs",["root","ol","li","separator"]),C=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],$=(0,l.ZP)(h.Z,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(t,n)=>[{[`& .${S.li}`]:n.li},n.root]})({}),E=(0,l.ZP)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(t,n)=>n.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),M=(0,l.ZP)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(t,n)=>n.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function z(t,n,e,r){return t.reduce(((i,o,s)=>(s{const{classes:n}=t;return(0,a.Z)({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},k,n)})(T),A=(0,u.Z)({elementType:d.CollapsedIcon,externalSlotProps:_.collapsedIcon,ownerState:T}),q=o.useRef(null),P=o.Children.toArray(l).filter((t=>o.isValidElement(t))).map(((t,n)=>(0,p.jsx)("li",{className:j.li,children:t},`child-${n}`)));return(0,p.jsx)($,(0,r.Z)({ref:n,component:f,color:"text.secondary",className:(0,s.default)(j.root,h),ownerState:T},x,{children:(0,p.jsx)(E,{className:j.ol,ref:q,ownerState:T,children:z(S||y&&P.length<=y?P:(t=>g+m>=t.length?t:[...t.slice(0,g),(0,p.jsx)(w,{"aria-label":v,slots:{CollapsedIcon:d.CollapsedIcon},slotProps:{collapsedIcon:A},onClick:()=>{M(!0);const t=q.current.querySelector("a[href],button,[tabindex]");t&&t.focus()}},"ellipsis"),...t.slice(t.length-m,t.length)])(P),j.separator,b,T)})}))}))},62190:(t,n,e)=>{"use strict";e.r(n),e.d(n,{buttonClasses:()=>m,default:()=>C,getButtonUtilityClass:()=>v});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(13467),u=e(58029),l=e(73330),c=e(61125),h=e(57369),f=e(52983),d=e(40118),p=e(58109),_=e(95201);function v(t){return(0,_.Z)("MuiButton",t)}const m=(0,p.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var g=e(30148),y=e(43188);const w=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],b=t=>(0,i.Z)({},"small"===t.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===t.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===t.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),x=(0,c.ZP)(f.Z,{shouldForwardProp:t=>(0,c.FO)(t)||"classes"===t,name:"MuiButton",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.variant],n[`${e.variant}${(0,d.Z)(e.color)}`],n[`size${(0,d.Z)(e.size)}`],n[`${e.variant}Size${(0,d.Z)(e.size)}`],"inherit"===e.color&&n.colorInherit,e.disableElevation&&n.disableElevation,e.fullWidth&&n.fullWidth]}})((({theme:t,ownerState:n})=>{var e,r;const o="light"===t.palette.mode?t.palette.grey[300]:t.palette.grey[800],s="light"===t.palette.mode?t.palette.grey.A100:t.palette.grey[700];return(0,i.Z)({},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,i.Z)({textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,l.Fq)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===n.variant&&"inherit"!==n.color&&{backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,l.Fq)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===n.variant&&"inherit"!==n.color&&{border:`1px solid ${(t.vars||t).palette[n.color].main}`,backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,l.Fq)(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:s,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,i.Z)({},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[8]}),[`&.${m.focusVisible}`]:(0,i.Z)({},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[6]}),[`&.${m.disabled}`]:(0,i.Z)({color:(t.vars||t).palette.action.disabled},"outlined"===n.variant&&{border:`1px solid ${(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(${t.vars.palette[n.color].mainChannel} / 0.5)`:`1px solid ${(0,l.Fq)(t.palette[n.color].main,.5)}`},"contained"===n.variant&&{color:t.vars?t.vars.palette.text.primary:null==(e=(r=t.palette).getContrastText)?void 0:e.call(r,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:o,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%"})}),(({ownerState:t})=>t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${m.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${m.disabled}`]:{boxShadow:"none"}})),k=(0,c.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.startIcon,n[`iconSize${(0,d.Z)(e.size)}`]]}})((({ownerState:t})=>(0,i.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},b(t)))),S=(0,c.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.endIcon,n[`iconSize${(0,d.Z)(e.size)}`]]}})((({ownerState:t})=>(0,i.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},b(t)))),C=o.forwardRef((function(t,n){const e=o.useContext(g.Z),l=(0,a.Z)(e,t),c=(0,h.Z)({props:l,name:"MuiButton"}),{children:f,color:p="primary",component:_="button",className:m,disabled:b=!1,disableElevation:C=!1,disableFocusRipple:$=!1,endIcon:E,focusVisibleClassName:M,fullWidth:z=!1,size:T="medium",startIcon:j,type:A,variant:q="text"}=c,P=(0,r.Z)(c,w),R=(0,i.Z)({},c,{color:p,component:_,disabled:b,disableElevation:C,disableFocusRipple:$,fullWidth:z,size:T,type:A,variant:q}),L=(t=>{const{color:n,disableElevation:e,fullWidth:r,size:o,variant:s,classes:a}=t,l={root:["root",s,`${s}${(0,d.Z)(n)}`,`size${(0,d.Z)(o)}`,`${s}Size${(0,d.Z)(o)}`,"inherit"===n&&"colorInherit",e&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,d.Z)(o)}`],endIcon:["endIcon",`iconSize${(0,d.Z)(o)}`]},c=(0,u.Z)(l,v,a);return(0,i.Z)({},a,c)})(R),O=j&&(0,y.jsx)(k,{className:L.startIcon,ownerState:R,children:j}),I=E&&(0,y.jsx)(S,{className:L.endIcon,ownerState:R,children:E});return(0,y.jsxs)(x,(0,i.Z)({ownerState:R,className:(0,s.default)(e.className,L.root,m),component:_,disabled:b,focusRipple:!$,focusVisibleClassName:(0,s.default)(L.focusVisible,M),ref:n,type:A},P,{classes:L,children:[O,f,I]}))}))},52983:(t,n,e)=>{"use strict";e.d(n,{Z:()=>H});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(58029),u=e(61125),l=e(57369),c=e(81597),h=e(42853),f=e(71323),d=e(40715);function p(){return p=Object.assign||function(t){for(var n=1;nt;const q=(0,k.F4)(M||(M=A` 0% { transform: scale(0); opacity: 0.1; @@ -29,7 +29,7 @@ 100% { transform: scale(1); } -`)),L=(0,u.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),O=(0,u.ZP)((function(t){const{className:n,classes:e,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:u,in:c,onExited:l,timeout:h}=t,[f,d]=o.useState(!1),_=(0,s.default)(n,e.ripple,e.rippleVisible,r&&e.ripplePulsate),p={width:u,height:u,top:-u/2+a,left:-u/2+i},v=(0,s.default)(e.child,f&&e.childLeaving,r&&e.childPulsate);return c||f||d(!0),o.useEffect((()=>{if(!c&&null!=l){const t=setTimeout(l,h);return()=>{clearTimeout(t)}}}),[l,c,h]),(0,S.jsx)("span",{className:_,style:p,children:(0,S.jsx)("span",{className:v})})}),{name:"MuiTouchRipple",slot:"Ripple"})(j||(j=A` +`)),L=(0,u.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),O=(0,u.ZP)((function(t){const{className:n,classes:e,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:u,in:l,onExited:c,timeout:h}=t,[f,d]=o.useState(!1),p=(0,s.default)(n,e.ripple,e.rippleVisible,r&&e.ripplePulsate),_={width:u,height:u,top:-u/2+a,left:-u/2+i},v=(0,s.default)(e.child,f&&e.childLeaving,r&&e.childPulsate);return l||f||d(!0),o.useEffect((()=>{if(!l&&null!=c){const t=setTimeout(c,h);return()=>{clearTimeout(t)}}}),[c,l,h]),(0,S.jsx)("span",{className:p,style:_,children:(0,S.jsx)("span",{className:v})})}),{name:"MuiTouchRipple",slot:"Ripple"})(j||(j=A` opacity: 0; position: absolute; @@ -72,7 +72,7 @@ animation-iteration-count: infinite; animation-delay: 200ms; } -`),$.rippleVisible,q,550,(({theme:t})=>t.transitions.easing.easeInOut),$.ripplePulsate,(({theme:t})=>t.transitions.duration.shorter),$.child,$.childLeaving,P,550,(({theme:t})=>t.transitions.easing.easeInOut),$.childPulsate,R,(({theme:t})=>t.transitions.easing.easeInOut)),I=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiTouchRipple"}),{center:a=!1,classes:u={},className:l}=e,h=(0,i.Z)(e,E),[f,d]=o.useState([]),_=o.useRef(0),p=o.useRef(null);o.useEffect((()=>{p.current&&(p.current(),p.current=null)}),[f]);const v=o.useRef(!1),g=o.useRef(0),m=o.useRef(null),y=o.useRef(null);o.useEffect((()=>()=>{g.current&&clearTimeout(g.current)}),[]);const w=o.useCallback((t=>{const{pulsate:n,rippleX:e,rippleY:r,rippleSize:i,cb:o}=t;d((t=>[...t,(0,S.jsx)(O,{classes:{ripple:(0,s.default)(u.ripple,$.ripple),rippleVisible:(0,s.default)(u.rippleVisible,$.rippleVisible),ripplePulsate:(0,s.default)(u.ripplePulsate,$.ripplePulsate),child:(0,s.default)(u.child,$.child),childLeaving:(0,s.default)(u.childLeaving,$.childLeaving),childPulsate:(0,s.default)(u.childPulsate,$.childPulsate)},timeout:550,pulsate:n,rippleX:e,rippleY:r,rippleSize:i},_.current)])),_.current+=1,p.current=o}),[u]),b=o.useCallback(((t={},n={},e=(()=>{}))=>{const{pulsate:r=!1,center:i=a||n.pulsate,fakeElement:o=!1}=n;if("mousedown"===(null==t?void 0:t.type)&&v.current)return void(v.current=!1);"touchstart"===(null==t?void 0:t.type)&&(v.current=!0);const s=o?null:y.current,u=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,l,h;if(i||void 0===t||0===t.clientX&&0===t.clientY||!t.clientX&&!t.touches)c=Math.round(u.width/2),l=Math.round(u.height/2);else{const{clientX:n,clientY:e}=t.touches&&t.touches.length>0?t.touches[0]:t;c=Math.round(n-u.left),l=Math.round(e-u.top)}if(i)h=Math.sqrt((2*u.width**2+u.height**2)/3),h%2==0&&(h+=1);else{const t=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,n=2*Math.max(Math.abs((s?s.clientHeight:0)-l),l)+2;h=Math.sqrt(t**2+n**2)}null!=t&&t.touches?null===m.current&&(m.current=()=>{w({pulsate:r,rippleX:c,rippleY:l,rippleSize:h,cb:e})},g.current=setTimeout((()=>{m.current&&(m.current(),m.current=null)}),80)):w({pulsate:r,rippleX:c,rippleY:l,rippleSize:h,cb:e})}),[a,w]),k=o.useCallback((()=>{b({},{pulsate:!0})}),[b]),C=o.useCallback(((t,n)=>{if(clearTimeout(g.current),"touchend"===(null==t?void 0:t.type)&&m.current)return m.current(),m.current=null,void(g.current=setTimeout((()=>{C(t,n)})));m.current=null,d((t=>t.length>0?t.slice(1):t)),p.current=n}),[]);return o.useImperativeHandle(n,(()=>({pulsate:k,start:b,stop:C})),[k,b,C]),(0,S.jsx)(L,(0,r.Z)({className:(0,s.default)($.root,u.root,l),ref:y},h,{children:(0,S.jsx)(x,{component:null,exit:!0,children:f})}))}));var D=e(95201);function N(t){return(0,D.Z)("MuiButtonBase",t)}const B=(0,C.Z)("MuiButtonBase",["root","disabled","focusVisible"]),F=["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"],U=(0,u.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,n)=>n.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"},[`&.${B.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),H=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiButtonBase"}),{action:u,centerRipple:d=!1,children:_,className:p,component:v="button",disabled:g=!1,disableRipple:m=!1,disableTouchRipple:y=!1,focusRipple:w=!1,LinkComponent:b="a",onBlur:x,onClick:k,onContextMenu:C,onDragLeave:$,onFocus:E,onFocusVisible:M,onKeyDown:z,onKeyUp:T,onMouseDown:j,onMouseLeave:A,onMouseUp:q,onTouchEnd:P,onTouchMove:R,onTouchStart:L,tabIndex:O=0,TouchRippleProps:D,touchRippleRef:B,type:H}=e,G=(0,i.Z)(e,F),W=o.useRef(null),V=o.useRef(null),Z=(0,l.Z)(V,B),{isFocusVisibleRef:X,onFocus:Y,onBlur:K,ref:J}=(0,f.Z)(),[Q,tt]=o.useState(!1);g&&Q&&tt(!1),o.useImperativeHandle(u,(()=>({focusVisible:()=>{tt(!0),W.current.focus()}})),[]);const[nt,et]=o.useState(!1);o.useEffect((()=>{et(!0)}),[]);const rt=nt&&!m&&!g;function it(t,n,e=y){return(0,h.Z)((r=>(n&&n(r),!e&&V.current&&V.current[t](r),!0)))}o.useEffect((()=>{Q&&w&&!m&&nt&&V.current.pulsate()}),[m,w,Q,nt]);const ot=it("start",j),st=it("stop",C),at=it("stop",$),ut=it("stop",q),ct=it("stop",(t=>{Q&&t.preventDefault(),A&&A(t)})),lt=it("start",L),ht=it("stop",P),ft=it("stop",R),dt=it("stop",(t=>{K(t),!1===X.current&&tt(!1),x&&x(t)}),!1),_t=(0,h.Z)((t=>{W.current||(W.current=t.currentTarget),Y(t),!0===X.current&&(tt(!0),M&&M(t)),E&&E(t)})),pt=()=>{const t=W.current;return v&&"button"!==v&&!("A"===t.tagName&&t.href)},vt=o.useRef(!1),gt=(0,h.Z)((t=>{w&&!vt.current&&Q&&V.current&&" "===t.key&&(vt.current=!0,V.current.stop(t,(()=>{V.current.start(t)}))),t.target===t.currentTarget&&pt()&&" "===t.key&&t.preventDefault(),z&&z(t),t.target===t.currentTarget&&pt()&&"Enter"===t.key&&!g&&(t.preventDefault(),k&&k(t))})),mt=(0,h.Z)((t=>{w&&" "===t.key&&V.current&&Q&&!t.defaultPrevented&&(vt.current=!1,V.current.stop(t,(()=>{V.current.pulsate(t)}))),T&&T(t),k&&t.target===t.currentTarget&&pt()&&" "===t.key&&!t.defaultPrevented&&k(t)}));let yt=v;"button"===yt&&(G.href||G.to)&&(yt=b);const wt={};"button"===yt?(wt.type=void 0===H?"button":H,wt.disabled=g):(G.href||G.to||(wt.role="button"),g&&(wt["aria-disabled"]=g));const bt=(0,l.Z)(n,J,W),xt=(0,r.Z)({},e,{centerRipple:d,component:v,disabled:g,disableRipple:m,disableTouchRipple:y,focusRipple:w,tabIndex:O,focusVisible:Q}),kt=(t=>{const{disabled:n,focusVisible:e,focusVisibleClassName:r,classes:i}=t,o={root:["root",n&&"disabled",e&&"focusVisible"]},s=(0,a.Z)(o,N,i);return e&&r&&(s.root+=` ${r}`),s})(xt);return(0,S.jsxs)(U,(0,r.Z)({as:yt,className:(0,s.default)(kt.root,p),ownerState:xt,onBlur:dt,onClick:k,onContextMenu:st,onFocus:_t,onKeyDown:gt,onKeyUp:mt,onMouseDown:ot,onMouseLeave:ct,onMouseUp:ut,onDragLeave:at,onTouchEnd:ht,onTouchMove:ft,onTouchStart:lt,ref:bt,tabIndex:g?-1:O,type:H},wt,G,{children:[_,rt?(0,S.jsx)(I,(0,r.Z)({ref:Z,center:d},D)):null]}))}))},30148:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=e(66204).createContext({})},72593:(t,n,e)=>{"use strict";e.r(n),e.d(n,{buttonGroupClasses:()=>p,default:()=>w,getButtonGroupUtilityClass:()=>_});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(73330),c=e(40118),l=e(61125),h=e(57369),f=e(58109),d=e(95201);function _(t){return(0,d.Z)("MuiButtonGroup",t)}const p=(0,f.Z)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary"]);var v=e(30148),g=e(43188);const m=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],y=(0,l.ZP)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`& .${p.grouped}`]:n.grouped},{[`& .${p.grouped}`]:n[`grouped${(0,c.Z)(e.orientation)}`]},{[`& .${p.grouped}`]:n[`grouped${(0,c.Z)(e.variant)}`]},{[`& .${p.grouped}`]:n[`grouped${(0,c.Z)(e.variant)}${(0,c.Z)(e.orientation)}`]},{[`& .${p.grouped}`]:n[`grouped${(0,c.Z)(e.variant)}${(0,c.Z)(e.color)}`]},n.root,n[e.variant],!0===e.disableElevation&&n.disableElevation,e.fullWidth&&n.fullWidth,"vertical"===e.orientation&&n.vertical]}})((({theme:t,ownerState:n})=>(0,i.Z)({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[2]},n.disableElevation&&{boxShadow:"none"},n.fullWidth&&{width:"100%"},"vertical"===n.orientation&&{flexDirection:"column"},{[`& .${p.grouped}`]:(0,i.Z)({minWidth:40,"&:not(:first-of-type)":(0,i.Z)({},"horizontal"===n.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===n.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===n.variant&&"horizontal"===n.orientation&&{marginLeft:-1},"outlined"===n.variant&&"vertical"===n.orientation&&{marginTop:-1}),"&:not(:last-of-type)":(0,i.Z)({},"horizontal"===n.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===n.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===n.variant&&"horizontal"===n.orientation&&{borderRight:t.vars?`1px solid rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${p.disabled}`]:{borderRight:`1px solid ${(t.vars||t).palette.action.disabled}`}},"text"===n.variant&&"vertical"===n.orientation&&{borderBottom:t.vars?`1px solid rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${p.disabled}`]:{borderBottom:`1px solid ${(t.vars||t).palette.action.disabled}`}},"text"===n.variant&&"inherit"!==n.color&&{borderColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / 0.5)`:(0,u.Fq)(t.palette[n.color].main,.5)},"outlined"===n.variant&&"horizontal"===n.orientation&&{borderRightColor:"transparent"},"outlined"===n.variant&&"vertical"===n.orientation&&{borderBottomColor:"transparent"},"contained"===n.variant&&"horizontal"===n.orientation&&{borderRight:`1px solid ${(t.vars||t).palette.grey[400]}`,[`&.${p.disabled}`]:{borderRight:`1px solid ${(t.vars||t).palette.action.disabled}`}},"contained"===n.variant&&"vertical"===n.orientation&&{borderBottom:`1px solid ${(t.vars||t).palette.grey[400]}`,[`&.${p.disabled}`]:{borderBottom:`1px solid ${(t.vars||t).palette.action.disabled}`}},"contained"===n.variant&&"inherit"!==n.color&&{borderColor:(t.vars||t).palette[n.color].dark},{"&:hover":(0,i.Z)({},"outlined"===n.variant&&"horizontal"===n.orientation&&{borderRightColor:"currentColor"},"outlined"===n.variant&&"vertical"===n.orientation&&{borderBottomColor:"currentColor"})}),"&:hover":(0,i.Z)({},"contained"===n.variant&&{boxShadow:"none"})},"contained"===n.variant&&{boxShadow:"none"})}))),w=o.forwardRef((function(t,n){const e=(0,h.Z)({props:t,name:"MuiButtonGroup"}),{children:u,className:l,color:f="primary",component:d="div",disabled:p=!1,disableElevation:w=!1,disableFocusRipple:b=!1,disableRipple:x=!1,fullWidth:k=!1,orientation:S="horizontal",size:C="medium",variant:$="outlined"}=e,E=(0,r.Z)(e,m),M=(0,i.Z)({},e,{color:f,component:d,disabled:p,disableElevation:w,disableFocusRipple:b,disableRipple:x,fullWidth:k,orientation:S,size:C,variant:$}),z=(t=>{const{classes:n,color:e,disabled:r,disableElevation:i,fullWidth:o,orientation:s,variant:u}=t,l={root:["root",u,"vertical"===s&&"vertical",o&&"fullWidth",i&&"disableElevation"],grouped:["grouped",`grouped${(0,c.Z)(s)}`,`grouped${(0,c.Z)(u)}`,`grouped${(0,c.Z)(u)}${(0,c.Z)(s)}`,`grouped${(0,c.Z)(u)}${(0,c.Z)(e)}`,r&&"disabled"]};return(0,a.Z)(l,_,n)})(M),T=o.useMemo((()=>({className:z.grouped,color:f,disabled:p,disableElevation:w,disableFocusRipple:b,disableRipple:x,fullWidth:k,size:C,variant:$})),[f,p,w,b,x,k,C,$,z.grouped]);return(0,g.jsx)(y,(0,i.Z)({as:d,role:"group",className:(0,s.default)(z.root,l),ref:n,ownerState:M},E,{children:(0,g.jsx)(v.Z.Provider,{value:T,children:u})}))}))},34181:(t,n,e)=>{"use strict";e.r(n),e.d(n,{cardClasses:()=>_,default:()=>m,getCardUtilityClass:()=>d});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(58029),u=e(61125),c=e(57369),l=e(53601),h=e(58109),f=e(95201);function d(t){return(0,f.Z)("MuiCard",t)}const _=(0,h.Z)("MuiCard",["root"]);var p=e(43188);const v=["className","raised"],g=(0,u.ZP)(l.Z,{name:"MuiCard",slot:"Root",overridesResolver:(t,n)=>n.root})((()=>({overflow:"hidden"}))),m=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiCard"}),{className:o,raised:u=!1}=e,l=(0,i.Z)(e,v),h=(0,r.Z)({},e,{raised:u}),f=(t=>{const{classes:n}=t;return(0,a.Z)({root:["root"]},d,n)})(h);return(0,p.jsx)(g,(0,r.Z)({className:(0,s.default)(f.root,o),elevation:u?8:void 0,ref:n,ownerState:h},l))}))},28689:(t,n,e)=>{"use strict";e.r(n),e.d(n,{cardActionsClasses:()=>d,default:()=>g,getCardActionsUtilityClass:()=>f});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(61125),c=e(57369),l=e(58109),h=e(95201);function f(t){return(0,h.Z)("MuiCardActions",t)}const d=(0,l.Z)("MuiCardActions",["root","spacing"]);var _=e(43188);const p=["disableSpacing","className"],v=(0,u.ZP)("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,!e.disableSpacing&&n.spacing]}})((({ownerState:t})=>(0,i.Z)({display:"flex",alignItems:"center",padding:8},!t.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}}))),g=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiCardActions"}),{disableSpacing:o=!1,className:u}=e,l=(0,r.Z)(e,p),h=(0,i.Z)({},e,{disableSpacing:o}),d=(t=>{const{classes:n,disableSpacing:e}=t,r={root:["root",!e&&"spacing"]};return(0,a.Z)(r,f,n)})(h);return(0,_.jsx)(v,(0,i.Z)({className:(0,s.default)(d.root,u),ownerState:h,ref:n},l))}))},86982:(t,n,e)=>{"use strict";e.r(n),e.d(n,{cardContentClasses:()=>d,default:()=>g,getCardContentUtilityClass:()=>f});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(58029),u=e(61125),c=e(57369),l=e(58109),h=e(95201);function f(t){return(0,h.Z)("MuiCardContent",t)}const d=(0,l.Z)("MuiCardContent",["root"]);var _=e(43188);const p=["className","component"],v=(0,u.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(t,n)=>n.root})((()=>({padding:16,"&:last-child":{paddingBottom:24}}))),g=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiCardContent"}),{className:o,component:u="div"}=e,l=(0,i.Z)(e,p),h=(0,r.Z)({},e,{component:u}),d=(t=>{const{classes:n}=t;return(0,a.Z)({root:["root"]},f,n)})(h);return(0,_.jsx)(v,(0,r.Z)({as:u,className:(0,s.default)(d.root,o),ownerState:h,ref:n},l))}))},34430:(t,n,e)=>{"use strict";e.r(n),e.d(n,{cardHeaderClasses:()=>_,default:()=>b,getCardHeaderUtilityClass:()=>d});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(80013),c=e(57369),l=e(61125),h=e(58109),f=e(95201);function d(t){return(0,f.Z)("MuiCardHeader",t)}const _=(0,h.Z)("MuiCardHeader",["root","avatar","action","content","title","subheader"]);var p=e(43188);const v=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],g=(0,l.ZP)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(t,n)=>(0,i.Z)({[`& .${_.title}`]:n.title,[`& .${_.subheader}`]:n.subheader},n.root)})({display:"flex",alignItems:"center",padding:16}),m=(0,l.ZP)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(t,n)=>n.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),y=(0,l.ZP)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(t,n)=>n.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),w=(0,l.ZP)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(t,n)=>n.content})({flex:"1 1 auto"}),b=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiCardHeader"}),{action:o,avatar:l,className:h,component:f="div",disableTypography:_=!1,subheader:b,subheaderTypographyProps:x,title:k,titleTypographyProps:S}=e,C=(0,r.Z)(e,v),$=(0,i.Z)({},e,{component:f,disableTypography:_}),E=(t=>{const{classes:n}=t;return(0,a.Z)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},d,n)})($);let M=k;null==M||M.type===u.Z||_||(M=(0,p.jsx)(u.Z,(0,i.Z)({variant:l?"body2":"h5",className:E.title,component:"span",display:"block"},S,{children:M})));let z=b;return null==z||z.type===u.Z||_||(z=(0,p.jsx)(u.Z,(0,i.Z)({variant:l?"body2":"body1",className:E.subheader,color:"text.secondary",component:"span",display:"block"},x,{children:z}))),(0,p.jsxs)(g,(0,i.Z)({className:(0,s.default)(E.root,h),as:f,ref:n,ownerState:$},C,{children:[l&&(0,p.jsx)(m,{className:E.avatar,ownerState:$,children:l}),(0,p.jsxs)(w,{className:E.content,ownerState:$,children:[M,z]}),o&&(0,p.jsx)(y,{className:E.action,ownerState:$,children:o})]}))}))},28125:(t,n,e)=>{"use strict";e.r(n),e.d(n,{checkboxClasses:()=>b,default:()=>E,getCheckboxUtilityClass:()=>w});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(73330),c=e(68892),l=e(50968),h=e(43188);const f=(0,l.Z)((0,h.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),d=(0,l.Z)((0,h.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),_=(0,l.Z)((0,h.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");var p=e(40118),v=e(57369),g=e(61125),m=e(58109),y=e(95201);function w(t){return(0,y.Z)("MuiCheckbox",t)}const b=(0,m.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),x=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],k=(0,g.ZP)(c.Z,{shouldForwardProp:t=>(0,g.FO)(t)||"classes"===t,name:"MuiCheckbox",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.indeterminate&&n.indeterminate,"default"!==e.color&&n[`color${(0,p.Z)(e.color)}`]]}})((({theme:t,ownerState:n})=>(0,i.Z)({color:(t.vars||t).palette.text.secondary},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${"default"===n.color?t.vars.palette.action.activeChannel:t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.Fq)("default"===n.color?t.palette.action.active:t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==n.color&&{[`&.${b.checked}, &.${b.indeterminate}`]:{color:(t.vars||t).palette[n.color].main},[`&.${b.disabled}`]:{color:(t.vars||t).palette.action.disabled}}))),S=(0,h.jsx)(d,{}),C=(0,h.jsx)(f,{}),$=(0,h.jsx)(_,{}),E=o.forwardRef((function(t,n){var e,u;const c=(0,v.Z)({props:t,name:"MuiCheckbox"}),{checkedIcon:l=S,color:f="primary",icon:d=C,indeterminate:_=!1,indeterminateIcon:g=$,inputProps:m,size:y="medium",className:b}=c,E=(0,r.Z)(c,x),M=_?g:d,z=_?g:l,T=(0,i.Z)({},c,{color:f,indeterminate:_,size:y}),j=(t=>{const{classes:n,indeterminate:e,color:r}=t,o={root:["root",e&&"indeterminate",`color${(0,p.Z)(r)}`]},s=(0,a.Z)(o,w,n);return(0,i.Z)({},n,s)})(T);return(0,h.jsx)(k,(0,i.Z)({type:"checkbox",inputProps:(0,i.Z)({"data-indeterminate":_},m),icon:o.cloneElement(M,{fontSize:null!=(e=M.props.fontSize)?e:y}),checkedIcon:o.cloneElement(z,{fontSize:null!=(u=z.props.fontSize)?u:y}),ownerState:T,ref:n,className:(0,s.default)(j.root,b)},E,{classes:j}))}))},2790:(t,n,e)=>{"use strict";e.r(n),e.d(n,{chipClasses:()=>w,default:()=>C,getChipUtilityClass:()=>y});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(73330),c=e(50968),l=e(43188);const h=(0,c.Z)((0,l.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var f=e(81597),d=e(40118),_=e(52983),p=e(57369),v=e(61125),g=e(58109),m=e(95201);function y(t){return(0,m.Z)("MuiChip",t)}const w=(0,g.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),b=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],x=(0,v.ZP)("div",{name:"MuiChip",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t,{color:r,iconColor:i,clickable:o,onDelete:s,size:a,variant:u}=e;return[{[`& .${w.avatar}`]:n.avatar},{[`& .${w.avatar}`]:n[`avatar${(0,d.Z)(a)}`]},{[`& .${w.avatar}`]:n[`avatarColor${(0,d.Z)(r)}`]},{[`& .${w.icon}`]:n.icon},{[`& .${w.icon}`]:n[`icon${(0,d.Z)(a)}`]},{[`& .${w.icon}`]:n[`iconColor${(0,d.Z)(i)}`]},{[`& .${w.deleteIcon}`]:n.deleteIcon},{[`& .${w.deleteIcon}`]:n[`deleteIcon${(0,d.Z)(a)}`]},{[`& .${w.deleteIcon}`]:n[`deleteIconColor${(0,d.Z)(r)}`]},{[`& .${w.deleteIcon}`]:n[`deleteIcon${(0,d.Z)(u)}Color${(0,d.Z)(r)}`]},n.root,n[`size${(0,d.Z)(a)}`],n[`color${(0,d.Z)(r)}`],o&&n.clickable,o&&"default"!==r&&n[`clickableColor${(0,d.Z)(r)})`],s&&n.deletable,s&&"default"!==r&&n[`deletableColor${(0,d.Z)(r)}`],n[u],n[`${u}${(0,d.Z)(r)}`]]}})((({theme:t,ownerState:n})=>{const e="light"===t.palette.mode?t.palette.grey[700]:t.palette.grey[300];return(0,i.Z)({maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${w.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${w.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:e,fontSize:t.typography.pxToRem(12)},[`& .${w.avatarColorPrimary}`]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark},[`& .${w.avatarColorSecondary}`]:{color:(t.vars||t).palette.secondary.contrastText,backgroundColor:(t.vars||t).palette.secondary.dark},[`& .${w.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)},[`& .${w.icon}`]:(0,i.Z)({marginLeft:5,marginRight:-6},"small"===n.size&&{fontSize:18,marginLeft:4,marginRight:-4},n.iconColor===n.color&&(0,i.Z)({color:t.vars?t.vars.palette.Chip.defaultIconColor:e},"default"!==n.color&&{color:"inherit"})),[`& .${w.deleteIcon}`]:(0,i.Z)({WebkitTapHighlightColor:"transparent",color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.26)`:(0,u.Fq)(t.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.4)`:(0,u.Fq)(t.palette.text.primary,.4)}},"small"===n.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==n.color&&{color:t.vars?`rgba(${t.vars.palette[n.color].contrastTextChannel} / 0.7)`:(0,u.Fq)(t.palette[n.color].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[n.color].contrastText}})},"small"===n.size&&{height:24},"default"!==n.color&&{backgroundColor:(t.vars||t).palette[n.color].main,color:(t.vars||t).palette[n.color].contrastText},n.onDelete&&{[`&.${w.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,u.Fq)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},n.onDelete&&"default"!==n.color&&{[`&.${w.focusVisible}`]:{backgroundColor:(t.vars||t).palette[n.color].dark}})}),(({theme:t,ownerState:n})=>(0,i.Z)({},n.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,u.Fq)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)},[`&.${w.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,u.Fq)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)},"&:active":{boxShadow:(t.vars||t).shadows[1]}},n.clickable&&"default"!==n.color&&{[`&:hover, &.${w.focusVisible}`]:{backgroundColor:(t.vars||t).palette[n.color].dark}})),(({theme:t,ownerState:n})=>(0,i.Z)({},"outlined"===n.variant&&{backgroundColor:"transparent",border:t.vars?`1px solid ${t.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[700]}`,[`&.${w.clickable}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${w.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`& .${w.avatar}`]:{marginLeft:4},[`& .${w.avatarSmall}`]:{marginLeft:2},[`& .${w.icon}`]:{marginLeft:4},[`& .${w.iconSmall}`]:{marginLeft:2},[`& .${w.deleteIcon}`]:{marginRight:5},[`& .${w.deleteIconSmall}`]:{marginRight:3}},"outlined"===n.variant&&"default"!==n.color&&{color:(t.vars||t).palette[n.color].main,border:`1px solid ${t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / 0.7)`:(0,u.Fq)(t.palette[n.color].main,.7)}`,[`&.${w.clickable}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.Fq)(t.palette[n.color].main,t.palette.action.hoverOpacity)},[`&.${w.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.focusOpacity})`:(0,u.Fq)(t.palette[n.color].main,t.palette.action.focusOpacity)},[`& .${w.deleteIcon}`]:{color:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / 0.7)`:(0,u.Fq)(t.palette[n.color].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[n.color].main}}}))),k=(0,v.ZP)("span",{name:"MuiChip",slot:"Label",overridesResolver:(t,n)=>{const{ownerState:e}=t,{size:r}=e;return[n.label,n[`label${(0,d.Z)(r)}`]]}})((({ownerState:t})=>(0,i.Z)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"small"===t.size&&{paddingLeft:8,paddingRight:8})));function S(t){return"Backspace"===t.key||"Delete"===t.key}const C=o.forwardRef((function(t,n){const e=(0,p.Z)({props:t,name:"MuiChip"}),{avatar:u,className:c,clickable:v,color:g="default",component:m,deleteIcon:w,disabled:C=!1,icon:$,label:E,onClick:M,onDelete:z,onKeyDown:T,onKeyUp:j,size:A="medium",variant:q="filled",tabIndex:P,skipFocusWhenDisabled:R=!1}=e,L=(0,r.Z)(e,b),O=o.useRef(null),I=(0,f.Z)(O,n),D=t=>{t.stopPropagation(),z&&z(t)},N=!(!1===v||!M)||v,B=N||z?_.Z:m||"div",F=(0,i.Z)({},e,{component:B,disabled:C,size:A,color:g,iconColor:o.isValidElement($)&&$.props.color||g,onDelete:!!z,clickable:N,variant:q}),U=(t=>{const{classes:n,disabled:e,size:r,color:i,iconColor:o,onDelete:s,clickable:u,variant:c}=t,l={root:["root",c,e&&"disabled",`size${(0,d.Z)(r)}`,`color${(0,d.Z)(i)}`,u&&"clickable",u&&`clickableColor${(0,d.Z)(i)}`,s&&"deletable",s&&`deletableColor${(0,d.Z)(i)}`,`${c}${(0,d.Z)(i)}`],label:["label",`label${(0,d.Z)(r)}`],avatar:["avatar",`avatar${(0,d.Z)(r)}`,`avatarColor${(0,d.Z)(i)}`],icon:["icon",`icon${(0,d.Z)(r)}`,`iconColor${(0,d.Z)(o)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,d.Z)(r)}`,`deleteIconColor${(0,d.Z)(i)}`,`deleteIcon${(0,d.Z)(c)}Color${(0,d.Z)(i)}`]};return(0,a.Z)(l,y,n)})(F),H=B===_.Z?(0,i.Z)({component:m||"div",focusVisibleClassName:U.focusVisible},z&&{disableRipple:!0}):{};let G=null;z&&(G=w&&o.isValidElement(w)?o.cloneElement(w,{className:(0,s.default)(w.props.className,U.deleteIcon),onClick:D}):(0,l.jsx)(h,{className:(0,s.default)(U.deleteIcon),onClick:D}));let W=null;u&&o.isValidElement(u)&&(W=o.cloneElement(u,{className:(0,s.default)(U.avatar,u.props.className)}));let V=null;return $&&o.isValidElement($)&&(V=o.cloneElement($,{className:(0,s.default)(U.icon,$.props.className)})),(0,l.jsxs)(x,(0,i.Z)({as:B,className:(0,s.default)(U.root,c),disabled:!(!N||!C)||void 0,onClick:M,onKeyDown:t=>{t.currentTarget===t.target&&S(t)&&t.preventDefault(),T&&T(t)},onKeyUp:t=>{t.currentTarget===t.target&&(z&&S(t)?z(t):"Escape"===t.key&&O.current&&O.current.blur()),j&&j(t)},ref:I,tabIndex:R&&C?-1:P,ownerState:F},H,L,{children:[W||V,(0,l.jsx)(k,{className:(0,s.default)(U.label),ownerState:F,children:E}),G]}))}))},21282:(t,n,e)=>{"use strict";e.r(n),e.d(n,{circularProgressClasses:()=>p,default:()=>M,getCircularProgressUtilityClass:()=>_});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(71580),c=e(40118),l=e(57369),h=e(61125),f=e(58109),d=e(95201);function _(t){return(0,d.Z)("MuiCircularProgress",t)}const p=(0,f.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var v=e(43188);const g=["className","color","disableShrink","size","style","thickness","value","variant"];let m,y,w,b,x=t=>t;const k=(0,u.F4)(m||(m=x` +`),$.rippleVisible,q,550,(({theme:t})=>t.transitions.easing.easeInOut),$.ripplePulsate,(({theme:t})=>t.transitions.duration.shorter),$.child,$.childLeaving,P,550,(({theme:t})=>t.transitions.easing.easeInOut),$.childPulsate,R,(({theme:t})=>t.transitions.easing.easeInOut)),I=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiTouchRipple"}),{center:a=!1,classes:u={},className:c}=e,h=(0,i.Z)(e,E),[f,d]=o.useState([]),p=o.useRef(0),_=o.useRef(null);o.useEffect((()=>{_.current&&(_.current(),_.current=null)}),[f]);const v=o.useRef(!1),m=o.useRef(0),g=o.useRef(null),y=o.useRef(null);o.useEffect((()=>()=>{m.current&&clearTimeout(m.current)}),[]);const w=o.useCallback((t=>{const{pulsate:n,rippleX:e,rippleY:r,rippleSize:i,cb:o}=t;d((t=>[...t,(0,S.jsx)(O,{classes:{ripple:(0,s.default)(u.ripple,$.ripple),rippleVisible:(0,s.default)(u.rippleVisible,$.rippleVisible),ripplePulsate:(0,s.default)(u.ripplePulsate,$.ripplePulsate),child:(0,s.default)(u.child,$.child),childLeaving:(0,s.default)(u.childLeaving,$.childLeaving),childPulsate:(0,s.default)(u.childPulsate,$.childPulsate)},timeout:550,pulsate:n,rippleX:e,rippleY:r,rippleSize:i},p.current)])),p.current+=1,_.current=o}),[u]),b=o.useCallback(((t={},n={},e=(()=>{}))=>{const{pulsate:r=!1,center:i=a||n.pulsate,fakeElement:o=!1}=n;if("mousedown"===(null==t?void 0:t.type)&&v.current)return void(v.current=!1);"touchstart"===(null==t?void 0:t.type)&&(v.current=!0);const s=o?null:y.current,u=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let l,c,h;if(i||void 0===t||0===t.clientX&&0===t.clientY||!t.clientX&&!t.touches)l=Math.round(u.width/2),c=Math.round(u.height/2);else{const{clientX:n,clientY:e}=t.touches&&t.touches.length>0?t.touches[0]:t;l=Math.round(n-u.left),c=Math.round(e-u.top)}if(i)h=Math.sqrt((2*u.width**2+u.height**2)/3),h%2==0&&(h+=1);else{const t=2*Math.max(Math.abs((s?s.clientWidth:0)-l),l)+2,n=2*Math.max(Math.abs((s?s.clientHeight:0)-c),c)+2;h=Math.sqrt(t**2+n**2)}null!=t&&t.touches?null===g.current&&(g.current=()=>{w({pulsate:r,rippleX:l,rippleY:c,rippleSize:h,cb:e})},m.current=setTimeout((()=>{g.current&&(g.current(),g.current=null)}),80)):w({pulsate:r,rippleX:l,rippleY:c,rippleSize:h,cb:e})}),[a,w]),k=o.useCallback((()=>{b({},{pulsate:!0})}),[b]),C=o.useCallback(((t,n)=>{if(clearTimeout(m.current),"touchend"===(null==t?void 0:t.type)&&g.current)return g.current(),g.current=null,void(m.current=setTimeout((()=>{C(t,n)})));g.current=null,d((t=>t.length>0?t.slice(1):t)),_.current=n}),[]);return o.useImperativeHandle(n,(()=>({pulsate:k,start:b,stop:C})),[k,b,C]),(0,S.jsx)(L,(0,r.Z)({className:(0,s.default)($.root,u.root,c),ref:y},h,{children:(0,S.jsx)(x,{component:null,exit:!0,children:f})}))}));var D=e(95201);function N(t){return(0,D.Z)("MuiButtonBase",t)}const B=(0,C.Z)("MuiButtonBase",["root","disabled","focusVisible"]),F=["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"],U=(0,u.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,n)=>n.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"},[`&.${B.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),H=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiButtonBase"}),{action:u,centerRipple:d=!1,children:p,className:_,component:v="button",disabled:m=!1,disableRipple:g=!1,disableTouchRipple:y=!1,focusRipple:w=!1,LinkComponent:b="a",onBlur:x,onClick:k,onContextMenu:C,onDragLeave:$,onFocus:E,onFocusVisible:M,onKeyDown:z,onKeyUp:T,onMouseDown:j,onMouseLeave:A,onMouseUp:q,onTouchEnd:P,onTouchMove:R,onTouchStart:L,tabIndex:O=0,TouchRippleProps:D,touchRippleRef:B,type:H}=e,G=(0,i.Z)(e,F),W=o.useRef(null),V=o.useRef(null),Z=(0,c.Z)(V,B),{isFocusVisibleRef:X,onFocus:Y,onBlur:K,ref:J}=(0,f.Z)(),[Q,tt]=o.useState(!1);m&&Q&&tt(!1),o.useImperativeHandle(u,(()=>({focusVisible:()=>{tt(!0),W.current.focus()}})),[]);const[nt,et]=o.useState(!1);o.useEffect((()=>{et(!0)}),[]);const rt=nt&&!g&&!m;function it(t,n,e=y){return(0,h.Z)((r=>(n&&n(r),!e&&V.current&&V.current[t](r),!0)))}o.useEffect((()=>{Q&&w&&!g&&nt&&V.current.pulsate()}),[g,w,Q,nt]);const ot=it("start",j),st=it("stop",C),at=it("stop",$),ut=it("stop",q),lt=it("stop",(t=>{Q&&t.preventDefault(),A&&A(t)})),ct=it("start",L),ht=it("stop",P),ft=it("stop",R),dt=it("stop",(t=>{K(t),!1===X.current&&tt(!1),x&&x(t)}),!1),pt=(0,h.Z)((t=>{W.current||(W.current=t.currentTarget),Y(t),!0===X.current&&(tt(!0),M&&M(t)),E&&E(t)})),_t=()=>{const t=W.current;return v&&"button"!==v&&!("A"===t.tagName&&t.href)},vt=o.useRef(!1),mt=(0,h.Z)((t=>{w&&!vt.current&&Q&&V.current&&" "===t.key&&(vt.current=!0,V.current.stop(t,(()=>{V.current.start(t)}))),t.target===t.currentTarget&&_t()&&" "===t.key&&t.preventDefault(),z&&z(t),t.target===t.currentTarget&&_t()&&"Enter"===t.key&&!m&&(t.preventDefault(),k&&k(t))})),gt=(0,h.Z)((t=>{w&&" "===t.key&&V.current&&Q&&!t.defaultPrevented&&(vt.current=!1,V.current.stop(t,(()=>{V.current.pulsate(t)}))),T&&T(t),k&&t.target===t.currentTarget&&_t()&&" "===t.key&&!t.defaultPrevented&&k(t)}));let yt=v;"button"===yt&&(G.href||G.to)&&(yt=b);const wt={};"button"===yt?(wt.type=void 0===H?"button":H,wt.disabled=m):(G.href||G.to||(wt.role="button"),m&&(wt["aria-disabled"]=m));const bt=(0,c.Z)(n,J,W),xt=(0,r.Z)({},e,{centerRipple:d,component:v,disabled:m,disableRipple:g,disableTouchRipple:y,focusRipple:w,tabIndex:O,focusVisible:Q}),kt=(t=>{const{disabled:n,focusVisible:e,focusVisibleClassName:r,classes:i}=t,o={root:["root",n&&"disabled",e&&"focusVisible"]},s=(0,a.Z)(o,N,i);return e&&r&&(s.root+=` ${r}`),s})(xt);return(0,S.jsxs)(U,(0,r.Z)({as:yt,className:(0,s.default)(kt.root,_),ownerState:xt,onBlur:dt,onClick:k,onContextMenu:st,onFocus:pt,onKeyDown:mt,onKeyUp:gt,onMouseDown:ot,onMouseLeave:lt,onMouseUp:ut,onDragLeave:at,onTouchEnd:ht,onTouchMove:ft,onTouchStart:ct,ref:bt,tabIndex:m?-1:O,type:H},wt,G,{children:[p,rt?(0,S.jsx)(I,(0,r.Z)({ref:Z,center:d},D)):null]}))}))},30148:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=e(66204).createContext({})},72593:(t,n,e)=>{"use strict";e.r(n),e.d(n,{buttonGroupClasses:()=>_,default:()=>w,getButtonGroupUtilityClass:()=>p});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(73330),l=e(40118),c=e(61125),h=e(57369),f=e(58109),d=e(95201);function p(t){return(0,d.Z)("MuiButtonGroup",t)}const _=(0,f.Z)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary"]);var v=e(30148),m=e(43188);const g=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],y=(0,c.ZP)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`& .${_.grouped}`]:n.grouped},{[`& .${_.grouped}`]:n[`grouped${(0,l.Z)(e.orientation)}`]},{[`& .${_.grouped}`]:n[`grouped${(0,l.Z)(e.variant)}`]},{[`& .${_.grouped}`]:n[`grouped${(0,l.Z)(e.variant)}${(0,l.Z)(e.orientation)}`]},{[`& .${_.grouped}`]:n[`grouped${(0,l.Z)(e.variant)}${(0,l.Z)(e.color)}`]},n.root,n[e.variant],!0===e.disableElevation&&n.disableElevation,e.fullWidth&&n.fullWidth,"vertical"===e.orientation&&n.vertical]}})((({theme:t,ownerState:n})=>(0,i.Z)({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius},"contained"===n.variant&&{boxShadow:(t.vars||t).shadows[2]},n.disableElevation&&{boxShadow:"none"},n.fullWidth&&{width:"100%"},"vertical"===n.orientation&&{flexDirection:"column"},{[`& .${_.grouped}`]:(0,i.Z)({minWidth:40,"&:not(:first-of-type)":(0,i.Z)({},"horizontal"===n.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===n.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===n.variant&&"horizontal"===n.orientation&&{marginLeft:-1},"outlined"===n.variant&&"vertical"===n.orientation&&{marginTop:-1}),"&:not(:last-of-type)":(0,i.Z)({},"horizontal"===n.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===n.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===n.variant&&"horizontal"===n.orientation&&{borderRight:t.vars?`1px solid rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${_.disabled}`]:{borderRight:`1px solid ${(t.vars||t).palette.action.disabled}`}},"text"===n.variant&&"vertical"===n.orientation&&{borderBottom:t.vars?`1px solid rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${_.disabled}`]:{borderBottom:`1px solid ${(t.vars||t).palette.action.disabled}`}},"text"===n.variant&&"inherit"!==n.color&&{borderColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / 0.5)`:(0,u.Fq)(t.palette[n.color].main,.5)},"outlined"===n.variant&&"horizontal"===n.orientation&&{borderRightColor:"transparent"},"outlined"===n.variant&&"vertical"===n.orientation&&{borderBottomColor:"transparent"},"contained"===n.variant&&"horizontal"===n.orientation&&{borderRight:`1px solid ${(t.vars||t).palette.grey[400]}`,[`&.${_.disabled}`]:{borderRight:`1px solid ${(t.vars||t).palette.action.disabled}`}},"contained"===n.variant&&"vertical"===n.orientation&&{borderBottom:`1px solid ${(t.vars||t).palette.grey[400]}`,[`&.${_.disabled}`]:{borderBottom:`1px solid ${(t.vars||t).palette.action.disabled}`}},"contained"===n.variant&&"inherit"!==n.color&&{borderColor:(t.vars||t).palette[n.color].dark},{"&:hover":(0,i.Z)({},"outlined"===n.variant&&"horizontal"===n.orientation&&{borderRightColor:"currentColor"},"outlined"===n.variant&&"vertical"===n.orientation&&{borderBottomColor:"currentColor"})}),"&:hover":(0,i.Z)({},"contained"===n.variant&&{boxShadow:"none"})},"contained"===n.variant&&{boxShadow:"none"})}))),w=o.forwardRef((function(t,n){const e=(0,h.Z)({props:t,name:"MuiButtonGroup"}),{children:u,className:c,color:f="primary",component:d="div",disabled:_=!1,disableElevation:w=!1,disableFocusRipple:b=!1,disableRipple:x=!1,fullWidth:k=!1,orientation:S="horizontal",size:C="medium",variant:$="outlined"}=e,E=(0,r.Z)(e,g),M=(0,i.Z)({},e,{color:f,component:d,disabled:_,disableElevation:w,disableFocusRipple:b,disableRipple:x,fullWidth:k,orientation:S,size:C,variant:$}),z=(t=>{const{classes:n,color:e,disabled:r,disableElevation:i,fullWidth:o,orientation:s,variant:u}=t,c={root:["root",u,"vertical"===s&&"vertical",o&&"fullWidth",i&&"disableElevation"],grouped:["grouped",`grouped${(0,l.Z)(s)}`,`grouped${(0,l.Z)(u)}`,`grouped${(0,l.Z)(u)}${(0,l.Z)(s)}`,`grouped${(0,l.Z)(u)}${(0,l.Z)(e)}`,r&&"disabled"]};return(0,a.Z)(c,p,n)})(M),T=o.useMemo((()=>({className:z.grouped,color:f,disabled:_,disableElevation:w,disableFocusRipple:b,disableRipple:x,fullWidth:k,size:C,variant:$})),[f,_,w,b,x,k,C,$,z.grouped]);return(0,m.jsx)(y,(0,i.Z)({as:d,role:"group",className:(0,s.default)(z.root,c),ref:n,ownerState:M},E,{children:(0,m.jsx)(v.Z.Provider,{value:T,children:u})}))}))},34181:(t,n,e)=>{"use strict";e.r(n),e.d(n,{cardClasses:()=>p,default:()=>g,getCardUtilityClass:()=>d});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(58029),u=e(61125),l=e(57369),c=e(53601),h=e(58109),f=e(95201);function d(t){return(0,f.Z)("MuiCard",t)}const p=(0,h.Z)("MuiCard",["root"]);var _=e(43188);const v=["className","raised"],m=(0,u.ZP)(c.Z,{name:"MuiCard",slot:"Root",overridesResolver:(t,n)=>n.root})((()=>({overflow:"hidden"}))),g=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiCard"}),{className:o,raised:u=!1}=e,c=(0,i.Z)(e,v),h=(0,r.Z)({},e,{raised:u}),f=(t=>{const{classes:n}=t;return(0,a.Z)({root:["root"]},d,n)})(h);return(0,_.jsx)(m,(0,r.Z)({className:(0,s.default)(f.root,o),elevation:u?8:void 0,ref:n,ownerState:h},c))}))},28689:(t,n,e)=>{"use strict";e.r(n),e.d(n,{cardActionsClasses:()=>d,default:()=>m,getCardActionsUtilityClass:()=>f});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(61125),l=e(57369),c=e(58109),h=e(95201);function f(t){return(0,h.Z)("MuiCardActions",t)}const d=(0,c.Z)("MuiCardActions",["root","spacing"]);var p=e(43188);const _=["disableSpacing","className"],v=(0,u.ZP)("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,!e.disableSpacing&&n.spacing]}})((({ownerState:t})=>(0,i.Z)({display:"flex",alignItems:"center",padding:8},!t.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}}))),m=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiCardActions"}),{disableSpacing:o=!1,className:u}=e,c=(0,r.Z)(e,_),h=(0,i.Z)({},e,{disableSpacing:o}),d=(t=>{const{classes:n,disableSpacing:e}=t,r={root:["root",!e&&"spacing"]};return(0,a.Z)(r,f,n)})(h);return(0,p.jsx)(v,(0,i.Z)({className:(0,s.default)(d.root,u),ownerState:h,ref:n},c))}))},86982:(t,n,e)=>{"use strict";e.r(n),e.d(n,{cardContentClasses:()=>d,default:()=>m,getCardContentUtilityClass:()=>f});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(58029),u=e(61125),l=e(57369),c=e(58109),h=e(95201);function f(t){return(0,h.Z)("MuiCardContent",t)}const d=(0,c.Z)("MuiCardContent",["root"]);var p=e(43188);const _=["className","component"],v=(0,u.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(t,n)=>n.root})((()=>({padding:16,"&:last-child":{paddingBottom:24}}))),m=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiCardContent"}),{className:o,component:u="div"}=e,c=(0,i.Z)(e,_),h=(0,r.Z)({},e,{component:u}),d=(t=>{const{classes:n}=t;return(0,a.Z)({root:["root"]},f,n)})(h);return(0,p.jsx)(v,(0,r.Z)({as:u,className:(0,s.default)(d.root,o),ownerState:h,ref:n},c))}))},34430:(t,n,e)=>{"use strict";e.r(n),e.d(n,{cardHeaderClasses:()=>p,default:()=>b,getCardHeaderUtilityClass:()=>d});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(80013),l=e(57369),c=e(61125),h=e(58109),f=e(95201);function d(t){return(0,f.Z)("MuiCardHeader",t)}const p=(0,h.Z)("MuiCardHeader",["root","avatar","action","content","title","subheader"]);var _=e(43188);const v=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],m=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(t,n)=>(0,i.Z)({[`& .${p.title}`]:n.title,[`& .${p.subheader}`]:n.subheader},n.root)})({display:"flex",alignItems:"center",padding:16}),g=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(t,n)=>n.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),y=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(t,n)=>n.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),w=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(t,n)=>n.content})({flex:"1 1 auto"}),b=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiCardHeader"}),{action:o,avatar:c,className:h,component:f="div",disableTypography:p=!1,subheader:b,subheaderTypographyProps:x,title:k,titleTypographyProps:S}=e,C=(0,r.Z)(e,v),$=(0,i.Z)({},e,{component:f,disableTypography:p}),E=(t=>{const{classes:n}=t;return(0,a.Z)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},d,n)})($);let M=k;null==M||M.type===u.Z||p||(M=(0,_.jsx)(u.Z,(0,i.Z)({variant:c?"body2":"h5",className:E.title,component:"span",display:"block"},S,{children:M})));let z=b;return null==z||z.type===u.Z||p||(z=(0,_.jsx)(u.Z,(0,i.Z)({variant:c?"body2":"body1",className:E.subheader,color:"text.secondary",component:"span",display:"block"},x,{children:z}))),(0,_.jsxs)(m,(0,i.Z)({className:(0,s.default)(E.root,h),as:f,ref:n,ownerState:$},C,{children:[c&&(0,_.jsx)(g,{className:E.avatar,ownerState:$,children:c}),(0,_.jsxs)(w,{className:E.content,ownerState:$,children:[M,z]}),o&&(0,_.jsx)(y,{className:E.action,ownerState:$,children:o})]}))}))},28125:(t,n,e)=>{"use strict";e.r(n),e.d(n,{checkboxClasses:()=>b,default:()=>E,getCheckboxUtilityClass:()=>w});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(73330),l=e(68892),c=e(50968),h=e(43188);const f=(0,c.Z)((0,h.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),d=(0,c.Z)((0,h.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),p=(0,c.Z)((0,h.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");var _=e(40118),v=e(57369),m=e(61125),g=e(58109),y=e(95201);function w(t){return(0,y.Z)("MuiCheckbox",t)}const b=(0,g.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),x=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],k=(0,m.ZP)(l.Z,{shouldForwardProp:t=>(0,m.FO)(t)||"classes"===t,name:"MuiCheckbox",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.indeterminate&&n.indeterminate,"default"!==e.color&&n[`color${(0,_.Z)(e.color)}`]]}})((({theme:t,ownerState:n})=>(0,i.Z)({color:(t.vars||t).palette.text.secondary},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${"default"===n.color?t.vars.palette.action.activeChannel:t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.Fq)("default"===n.color?t.palette.action.active:t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==n.color&&{[`&.${b.checked}, &.${b.indeterminate}`]:{color:(t.vars||t).palette[n.color].main},[`&.${b.disabled}`]:{color:(t.vars||t).palette.action.disabled}}))),S=(0,h.jsx)(d,{}),C=(0,h.jsx)(f,{}),$=(0,h.jsx)(p,{}),E=o.forwardRef((function(t,n){var e,u;const l=(0,v.Z)({props:t,name:"MuiCheckbox"}),{checkedIcon:c=S,color:f="primary",icon:d=C,indeterminate:p=!1,indeterminateIcon:m=$,inputProps:g,size:y="medium",className:b}=l,E=(0,r.Z)(l,x),M=p?m:d,z=p?m:c,T=(0,i.Z)({},l,{color:f,indeterminate:p,size:y}),j=(t=>{const{classes:n,indeterminate:e,color:r}=t,o={root:["root",e&&"indeterminate",`color${(0,_.Z)(r)}`]},s=(0,a.Z)(o,w,n);return(0,i.Z)({},n,s)})(T);return(0,h.jsx)(k,(0,i.Z)({type:"checkbox",inputProps:(0,i.Z)({"data-indeterminate":p},g),icon:o.cloneElement(M,{fontSize:null!=(e=M.props.fontSize)?e:y}),checkedIcon:o.cloneElement(z,{fontSize:null!=(u=z.props.fontSize)?u:y}),ownerState:T,ref:n,className:(0,s.default)(j.root,b)},E,{classes:j}))}))},2790:(t,n,e)=>{"use strict";e.r(n),e.d(n,{chipClasses:()=>w,default:()=>C,getChipUtilityClass:()=>y});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(73330),l=e(50968),c=e(43188);const h=(0,l.Z)((0,c.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var f=e(81597),d=e(40118),p=e(52983),_=e(57369),v=e(61125),m=e(58109),g=e(95201);function y(t){return(0,g.Z)("MuiChip",t)}const w=(0,m.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),b=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],x=(0,v.ZP)("div",{name:"MuiChip",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t,{color:r,iconColor:i,clickable:o,onDelete:s,size:a,variant:u}=e;return[{[`& .${w.avatar}`]:n.avatar},{[`& .${w.avatar}`]:n[`avatar${(0,d.Z)(a)}`]},{[`& .${w.avatar}`]:n[`avatarColor${(0,d.Z)(r)}`]},{[`& .${w.icon}`]:n.icon},{[`& .${w.icon}`]:n[`icon${(0,d.Z)(a)}`]},{[`& .${w.icon}`]:n[`iconColor${(0,d.Z)(i)}`]},{[`& .${w.deleteIcon}`]:n.deleteIcon},{[`& .${w.deleteIcon}`]:n[`deleteIcon${(0,d.Z)(a)}`]},{[`& .${w.deleteIcon}`]:n[`deleteIconColor${(0,d.Z)(r)}`]},{[`& .${w.deleteIcon}`]:n[`deleteIcon${(0,d.Z)(u)}Color${(0,d.Z)(r)}`]},n.root,n[`size${(0,d.Z)(a)}`],n[`color${(0,d.Z)(r)}`],o&&n.clickable,o&&"default"!==r&&n[`clickableColor${(0,d.Z)(r)})`],s&&n.deletable,s&&"default"!==r&&n[`deletableColor${(0,d.Z)(r)}`],n[u],n[`${u}${(0,d.Z)(r)}`]]}})((({theme:t,ownerState:n})=>{const e="light"===t.palette.mode?t.palette.grey[700]:t.palette.grey[300];return(0,i.Z)({maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${w.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${w.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:e,fontSize:t.typography.pxToRem(12)},[`& .${w.avatarColorPrimary}`]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark},[`& .${w.avatarColorSecondary}`]:{color:(t.vars||t).palette.secondary.contrastText,backgroundColor:(t.vars||t).palette.secondary.dark},[`& .${w.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)},[`& .${w.icon}`]:(0,i.Z)({marginLeft:5,marginRight:-6},"small"===n.size&&{fontSize:18,marginLeft:4,marginRight:-4},n.iconColor===n.color&&(0,i.Z)({color:t.vars?t.vars.palette.Chip.defaultIconColor:e},"default"!==n.color&&{color:"inherit"})),[`& .${w.deleteIcon}`]:(0,i.Z)({WebkitTapHighlightColor:"transparent",color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.26)`:(0,u.Fq)(t.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.4)`:(0,u.Fq)(t.palette.text.primary,.4)}},"small"===n.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==n.color&&{color:t.vars?`rgba(${t.vars.palette[n.color].contrastTextChannel} / 0.7)`:(0,u.Fq)(t.palette[n.color].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[n.color].contrastText}})},"small"===n.size&&{height:24},"default"!==n.color&&{backgroundColor:(t.vars||t).palette[n.color].main,color:(t.vars||t).palette[n.color].contrastText},n.onDelete&&{[`&.${w.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,u.Fq)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},n.onDelete&&"default"!==n.color&&{[`&.${w.focusVisible}`]:{backgroundColor:(t.vars||t).palette[n.color].dark}})}),(({theme:t,ownerState:n})=>(0,i.Z)({},n.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,u.Fq)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)},[`&.${w.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,u.Fq)(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)},"&:active":{boxShadow:(t.vars||t).shadows[1]}},n.clickable&&"default"!==n.color&&{[`&:hover, &.${w.focusVisible}`]:{backgroundColor:(t.vars||t).palette[n.color].dark}})),(({theme:t,ownerState:n})=>(0,i.Z)({},"outlined"===n.variant&&{backgroundColor:"transparent",border:t.vars?`1px solid ${t.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[700]}`,[`&.${w.clickable}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${w.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`& .${w.avatar}`]:{marginLeft:4},[`& .${w.avatarSmall}`]:{marginLeft:2},[`& .${w.icon}`]:{marginLeft:4},[`& .${w.iconSmall}`]:{marginLeft:2},[`& .${w.deleteIcon}`]:{marginRight:5},[`& .${w.deleteIconSmall}`]:{marginRight:3}},"outlined"===n.variant&&"default"!==n.color&&{color:(t.vars||t).palette[n.color].main,border:`1px solid ${t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / 0.7)`:(0,u.Fq)(t.palette[n.color].main,.7)}`,[`&.${w.clickable}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.Fq)(t.palette[n.color].main,t.palette.action.hoverOpacity)},[`&.${w.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.focusOpacity})`:(0,u.Fq)(t.palette[n.color].main,t.palette.action.focusOpacity)},[`& .${w.deleteIcon}`]:{color:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / 0.7)`:(0,u.Fq)(t.palette[n.color].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[n.color].main}}}))),k=(0,v.ZP)("span",{name:"MuiChip",slot:"Label",overridesResolver:(t,n)=>{const{ownerState:e}=t,{size:r}=e;return[n.label,n[`label${(0,d.Z)(r)}`]]}})((({ownerState:t})=>(0,i.Z)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"small"===t.size&&{paddingLeft:8,paddingRight:8})));function S(t){return"Backspace"===t.key||"Delete"===t.key}const C=o.forwardRef((function(t,n){const e=(0,_.Z)({props:t,name:"MuiChip"}),{avatar:u,className:l,clickable:v,color:m="default",component:g,deleteIcon:w,disabled:C=!1,icon:$,label:E,onClick:M,onDelete:z,onKeyDown:T,onKeyUp:j,size:A="medium",variant:q="filled",tabIndex:P,skipFocusWhenDisabled:R=!1}=e,L=(0,r.Z)(e,b),O=o.useRef(null),I=(0,f.Z)(O,n),D=t=>{t.stopPropagation(),z&&z(t)},N=!(!1===v||!M)||v,B=N||z?p.Z:g||"div",F=(0,i.Z)({},e,{component:B,disabled:C,size:A,color:m,iconColor:o.isValidElement($)&&$.props.color||m,onDelete:!!z,clickable:N,variant:q}),U=(t=>{const{classes:n,disabled:e,size:r,color:i,iconColor:o,onDelete:s,clickable:u,variant:l}=t,c={root:["root",l,e&&"disabled",`size${(0,d.Z)(r)}`,`color${(0,d.Z)(i)}`,u&&"clickable",u&&`clickableColor${(0,d.Z)(i)}`,s&&"deletable",s&&`deletableColor${(0,d.Z)(i)}`,`${l}${(0,d.Z)(i)}`],label:["label",`label${(0,d.Z)(r)}`],avatar:["avatar",`avatar${(0,d.Z)(r)}`,`avatarColor${(0,d.Z)(i)}`],icon:["icon",`icon${(0,d.Z)(r)}`,`iconColor${(0,d.Z)(o)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,d.Z)(r)}`,`deleteIconColor${(0,d.Z)(i)}`,`deleteIcon${(0,d.Z)(l)}Color${(0,d.Z)(i)}`]};return(0,a.Z)(c,y,n)})(F),H=B===p.Z?(0,i.Z)({component:g||"div",focusVisibleClassName:U.focusVisible},z&&{disableRipple:!0}):{};let G=null;z&&(G=w&&o.isValidElement(w)?o.cloneElement(w,{className:(0,s.default)(w.props.className,U.deleteIcon),onClick:D}):(0,c.jsx)(h,{className:(0,s.default)(U.deleteIcon),onClick:D}));let W=null;u&&o.isValidElement(u)&&(W=o.cloneElement(u,{className:(0,s.default)(U.avatar,u.props.className)}));let V=null;return $&&o.isValidElement($)&&(V=o.cloneElement($,{className:(0,s.default)(U.icon,$.props.className)})),(0,c.jsxs)(x,(0,i.Z)({as:B,className:(0,s.default)(U.root,l),disabled:!(!N||!C)||void 0,onClick:M,onKeyDown:t=>{t.currentTarget===t.target&&S(t)&&t.preventDefault(),T&&T(t)},onKeyUp:t=>{t.currentTarget===t.target&&(z&&S(t)?z(t):"Escape"===t.key&&O.current&&O.current.blur()),j&&j(t)},ref:I,tabIndex:R&&C?-1:P,ownerState:F},H,L,{children:[W||V,(0,c.jsx)(k,{className:(0,s.default)(U.label),ownerState:F,children:E}),G]}))}))},21282:(t,n,e)=>{"use strict";e.r(n),e.d(n,{circularProgressClasses:()=>_,default:()=>M,getCircularProgressUtilityClass:()=>p});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(71580),l=e(40118),c=e(57369),h=e(61125),f=e(58109),d=e(95201);function p(t){return(0,d.Z)("MuiCircularProgress",t)}const _=(0,f.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var v=e(43188);const m=["className","color","disableShrink","size","style","thickness","value","variant"];let g,y,w,b,x=t=>t;const k=(0,u.F4)(g||(g=x` 0% { transform: rotate(0deg); } @@ -95,9 +95,9 @@ stroke-dasharray: 100px, 200px; stroke-dashoffset: -125px; } -`)),C=(0,h.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.variant],n[`color${(0,c.Z)(e.color)}`]]}})((({ownerState:t,theme:n})=>(0,i.Z)({display:"inline-block"},"determinate"===t.variant&&{transition:n.transitions.create("transform")},"inherit"!==t.color&&{color:(n.vars||n).palette[t.color].main})),(({ownerState:t})=>"indeterminate"===t.variant&&(0,u.iv)(w||(w=x` +`)),C=(0,h.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.variant],n[`color${(0,l.Z)(e.color)}`]]}})((({ownerState:t,theme:n})=>(0,i.Z)({display:"inline-block"},"determinate"===t.variant&&{transition:n.transitions.create("transform")},"inherit"!==t.color&&{color:(n.vars||n).palette[t.color].main})),(({ownerState:t})=>"indeterminate"===t.variant&&(0,u.iv)(w||(w=x` animation: ${0} 1.4s linear infinite; - `),k))),$=(0,h.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(t,n)=>n.svg})({display:"block"}),E=(0,h.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.circle,n[`circle${(0,c.Z)(e.variant)}`],e.disableShrink&&n.circleDisableShrink]}})((({ownerState:t,theme:n})=>(0,i.Z)({stroke:"currentColor"},"determinate"===t.variant&&{transition:n.transitions.create("stroke-dashoffset")},"indeterminate"===t.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:t})=>"indeterminate"===t.variant&&!t.disableShrink&&(0,u.iv)(b||(b=x` + `),k))),$=(0,h.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(t,n)=>n.svg})({display:"block"}),E=(0,h.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.circle,n[`circle${(0,l.Z)(e.variant)}`],e.disableShrink&&n.circleDisableShrink]}})((({ownerState:t,theme:n})=>(0,i.Z)({stroke:"currentColor"},"determinate"===t.variant&&{transition:n.transitions.create("stroke-dashoffset")},"indeterminate"===t.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:t})=>"indeterminate"===t.variant&&!t.disableShrink&&(0,u.iv)(b||(b=x` animation: ${0} 1.4s ease-in-out infinite; - `),S))),M=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiCircularProgress"}),{className:o,color:u="primary",disableShrink:h=!1,size:f=40,style:d,thickness:p=3.6,value:m=0,variant:y="indeterminate"}=e,w=(0,r.Z)(e,g),b=(0,i.Z)({},e,{color:u,disableShrink:h,size:f,thickness:p,value:m,variant:y}),x=(t=>{const{classes:n,variant:e,color:r,disableShrink:i}=t,o={root:["root",e,`color${(0,c.Z)(r)}`],svg:["svg"],circle:["circle",`circle${(0,c.Z)(e)}`,i&&"circleDisableShrink"]};return(0,a.Z)(o,_,n)})(b),k={},S={},M={};if("determinate"===y){const t=2*Math.PI*((44-p)/2);k.strokeDasharray=t.toFixed(3),M["aria-valuenow"]=Math.round(m),k.strokeDashoffset=`${((100-m)/100*t).toFixed(3)}px`,S.transform="rotate(-90deg)"}return(0,v.jsx)(C,(0,i.Z)({className:(0,s.default)(x.root,o),style:(0,i.Z)({width:f,height:f},S,d),ownerState:b,ref:n,role:"progressbar"},M,w,{children:(0,v.jsx)($,{className:x.svg,ownerState:b,viewBox:"22 22 44 44",children:(0,v.jsx)(E,{className:x.circle,style:k,ownerState:b,cx:44,cy:44,r:(44-p)/2,fill:"none",strokeWidth:p})})}))}))},46635:(t,n,e)=>{"use strict";e.r(n),e.d(n,{containerClasses:()=>S,default:()=>x,getContainerUtilityClass:()=>k});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(46730),u=e(95201),c=e(58029),l=e(77877);const h=(0,e(37422).ZP)();var f=e(716),d=e(43188);const _=["className","component","disableGutters","fixed","maxWidth","classes"],p=(0,f.Z)(),v=h("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[`maxWidth${(0,a.Z)(String(e.maxWidth))}`],e.fixed&&n.fixed,e.disableGutters&&n.disableGutters]}}),g=t=>(0,l.Z)({props:t,name:"MuiContainer",defaultTheme:p});var m=e(40118),y=e(61125),w=e(57369);const b=function(t={}){const{createStyledComponent:n=v,useThemeProps:e=g,componentName:l="MuiContainer"}=t,h=n((({theme:t,ownerState:n})=>(0,i.Z)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!n.disableGutters&&{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}})),(({theme:t,ownerState:n})=>n.fixed&&Object.keys(t.breakpoints.values).reduce(((n,e)=>{const r=e,i=t.breakpoints.values[r];return 0!==i&&(n[t.breakpoints.up(r)]={maxWidth:`${i}${t.breakpoints.unit}`}),n}),{})),(({theme:t,ownerState:n})=>(0,i.Z)({},"xs"===n.maxWidth&&{[t.breakpoints.up("xs")]:{maxWidth:Math.max(t.breakpoints.values.xs,444)}},n.maxWidth&&"xs"!==n.maxWidth&&{[t.breakpoints.up(n.maxWidth)]:{maxWidth:`${t.breakpoints.values[n.maxWidth]}${t.breakpoints.unit}`}}))),f=o.forwardRef((function(t,n){const o=e(t),{className:f,component:p="div",disableGutters:v=!1,fixed:g=!1,maxWidth:m="lg"}=o,y=(0,r.Z)(o,_),w=(0,i.Z)({},o,{component:p,disableGutters:v,fixed:g,maxWidth:m}),b=((t,n)=>{const{classes:e,fixed:r,disableGutters:i,maxWidth:o}=t,s={root:["root",o&&`maxWidth${(0,a.Z)(String(o))}`,r&&"fixed",i&&"disableGutters"]};return(0,c.Z)(s,(t=>(0,u.Z)(n,t)),e)})(w,l);return(0,d.jsx)(h,(0,i.Z)({as:p,ownerState:w,className:(0,s.default)(b.root,f),ref:n},y))}));return f}({createStyledComponent:(0,y.ZP)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[`maxWidth${(0,m.Z)(String(e.maxWidth))}`],e.fixed&&n.fixed,e.disableGutters&&n.disableGutters]}}),useThemeProps:t=>(0,w.Z)({props:t,name:"MuiContainer"})}),x=b;function k(t){return(0,u.Z)("MuiContainer",t)}const S=(0,e(58109).Z)("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"])},11662:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>l});var r=e(30984),i=e(66204),o=e(57369),s=e(44260),a=e(43188);const u=(t,n)=>(0,r.Z)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},n&&!t.vars&&{colorScheme:t.palette.mode}),c=t=>(0,r.Z)({color:(t.vars||t).palette.text.primary},t.typography.body1,{backgroundColor:(t.vars||t).palette.background.default,"@media print":{backgroundColor:(t.vars||t).palette.common.white}}),l=function(t){const n=(0,o.Z)({props:t,name:"MuiCssBaseline"}),{children:e,enableColorScheme:l=!1}=n;return(0,a.jsxs)(i.Fragment,{children:[(0,a.jsx)(s.Z,{styles:t=>((t,n=!1)=>{var e,i;const o={};n&&t.colorSchemes&&Object.entries(t.colorSchemes).forEach((([n,e])=>{var r;o[t.getColorSchemeSelector(n).replace(/\s*&/,"")]={colorScheme:null==(r=e.palette)?void 0:r.mode}}));let s=(0,r.Z)({html:u(t,n),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:(0,r.Z)({margin:0},c(t),{"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}})},o);const a=null==(e=t.components)||null==(i=e.MuiCssBaseline)?void 0:i.styleOverrides;return a&&(s=[s,a]),s})(t,l)}),e]})}},57604:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=e(66204).createContext({})},10028:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>M,dialogClasses:()=>m,getDialogUtilityClass:()=>g});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(96744),c=e(40118),l=e(42727),h=e(63270),f=e(53601),d=e(57369),_=e(61125),p=e(58109),v=e(95201);function g(t){return(0,v.Z)("MuiDialog",t)}const m=(0,p.Z)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);var y=e(57604),w=e(8570),b=e(92368),x=e(43188);const k=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],S=(0,_.ZP)(w.Z,{name:"MuiDialog",slot:"Backdrop",overrides:(t,n)=>n.backdrop})({zIndex:-1}),C=(0,_.ZP)(l.Z,{name:"MuiDialog",slot:"Root",overridesResolver:(t,n)=>n.root})({"@media print":{position:"absolute !important"}}),$=(0,_.ZP)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.container,n[`scroll${(0,c.Z)(e.scroll)}`]]}})((({ownerState:t})=>(0,i.Z)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===t.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===t.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}))),E=(0,_.ZP)(f.Z,{name:"MuiDialog",slot:"Paper",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.paper,n[`scrollPaper${(0,c.Z)(e.scroll)}`],n[`paperWidth${(0,c.Z)(String(e.maxWidth))}`],e.fullWidth&&n.paperFullWidth,e.fullScreen&&n.paperFullScreen]}})((({theme:t,ownerState:n})=>(0,i.Z)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===n.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===n.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!n.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===n.maxWidth&&{maxWidth:"px"===t.breakpoints.unit?Math.max(t.breakpoints.values.xs,444):`max(${t.breakpoints.values.xs}${t.breakpoints.unit}, 444px)`,[`&.${m.paperScrollBody}`]:{[t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},n.maxWidth&&"xs"!==n.maxWidth&&{maxWidth:`${t.breakpoints.values[n.maxWidth]}${t.breakpoints.unit}`,[`&.${m.paperScrollBody}`]:{[t.breakpoints.down(t.breakpoints.values[n.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},n.fullWidth&&{width:"calc(100% - 64px)"},n.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${m.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}))),M=o.forwardRef((function(t,n){const e=(0,d.Z)({props:t,name:"MuiDialog"}),l=(0,b.default)(),_={enter:l.transitions.duration.enteringScreen,exit:l.transitions.duration.leavingScreen},{"aria-describedby":p,"aria-labelledby":v,BackdropComponent:m,BackdropProps:w,children:M,className:z,disableEscapeKeyDown:T=!1,fullScreen:j=!1,fullWidth:A=!1,maxWidth:q="sm",onBackdropClick:P,onClose:R,open:L,PaperComponent:O=f.Z,PaperProps:I={},scroll:D="paper",TransitionComponent:N=h.Z,transitionDuration:B=_,TransitionProps:F}=e,U=(0,r.Z)(e,k),H=(0,i.Z)({},e,{disableEscapeKeyDown:T,fullScreen:j,fullWidth:A,maxWidth:q,scroll:D}),G=(t=>{const{classes:n,scroll:e,maxWidth:r,fullWidth:i,fullScreen:o}=t,s={root:["root"],container:["container",`scroll${(0,c.Z)(e)}`],paper:["paper",`paperScroll${(0,c.Z)(e)}`,`paperWidth${(0,c.Z)(String(r))}`,i&&"paperFullWidth",o&&"paperFullScreen"]};return(0,a.Z)(s,g,n)})(H),W=o.useRef(),V=(0,u.Z)(v),Z=o.useMemo((()=>({titleId:V})),[V]);return(0,x.jsx)(C,(0,i.Z)({className:(0,s.default)(G.root,z),closeAfterTransition:!0,components:{Backdrop:S},componentsProps:{backdrop:(0,i.Z)({transitionDuration:B,as:m},w)},disableEscapeKeyDown:T,onClose:R,open:L,ref:n,onClick:t=>{W.current&&(W.current=null,P&&P(t),R&&R(t,"backdropClick"))},ownerState:H},U,{children:(0,x.jsx)(N,(0,i.Z)({appear:!0,in:L,timeout:B,role:"presentation"},F,{children:(0,x.jsx)($,{className:(0,s.default)(G.container),onMouseDown:t=>{W.current=t.target===t.currentTarget},ownerState:H,children:(0,x.jsx)(E,(0,i.Z)({as:O,elevation:24,role:"dialog","aria-describedby":p,"aria-labelledby":V},I,{className:(0,s.default)(G.paper,I.className),ownerState:H,children:(0,x.jsx)(y.Z.Provider,{value:Z,children:M})}))})}))}))}))},3702:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>g,dialogActionsClasses:()=>d,getDialogActionsUtilityClass:()=>f});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(61125),c=e(57369),l=e(58109),h=e(95201);function f(t){return(0,h.Z)("MuiDialogActions",t)}const d=(0,l.Z)("MuiDialogActions",["root","spacing"]);var _=e(43188);const p=["className","disableSpacing"],v=(0,u.ZP)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,!e.disableSpacing&&n.spacing]}})((({ownerState:t})=>(0,i.Z)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!t.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}}))),g=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiDialogActions"}),{className:o,disableSpacing:u=!1}=e,l=(0,r.Z)(e,p),h=(0,i.Z)({},e,{disableSpacing:u}),d=(t=>{const{classes:n,disableSpacing:e}=t,r={root:["root",!e&&"spacing"]};return(0,a.Z)(r,f,n)})(h);return(0,_.jsx)(v,(0,i.Z)({className:(0,s.default)(d.root,o),ownerState:h,ref:n},l))}))},68024:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>m,dialogContentClasses:()=>d,getDialogContentUtilityClass:()=>f});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(61125),c=e(57369),l=e(58109),h=e(95201);function f(t){return(0,h.Z)("MuiDialogContent",t)}const d=(0,l.Z)("MuiDialogContent",["root","dividers"]);var _=e(73521),p=e(43188);const v=["className","dividers"],g=(0,u.ZP)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.dividers&&n.dividers]}})((({theme:t,ownerState:n})=>(0,i.Z)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},n.dividers?{padding:"16px 24px",borderTop:`1px solid ${(t.vars||t).palette.divider}`,borderBottom:`1px solid ${(t.vars||t).palette.divider}`}:{[`.${_.Z.root} + &`]:{paddingTop:0}}))),m=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiDialogContent"}),{className:o,dividers:u=!1}=e,l=(0,r.Z)(e,v),h=(0,i.Z)({},e,{dividers:u}),d=(t=>{const{classes:n,dividers:e}=t,r={root:["root",e&&"dividers"]};return(0,a.Z)(r,f,n)})(h);return(0,p.jsx)(g,(0,i.Z)({className:(0,s.default)(d.root,o),ownerState:h,ref:n},l))}))},83391:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>m,dialogContentTextClasses:()=>_,getDialogContentTextUtilityClass:()=>d});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(61125),c=e(57369),l=e(80013),h=e(58109),f=e(95201);function d(t){return(0,f.Z)("MuiDialogContentText",t)}const _=(0,h.Z)("MuiDialogContentText",["root"]);var p=e(43188);const v=["children","className"],g=(0,u.ZP)(l.Z,{shouldForwardProp:t=>(0,u.FO)(t)||"classes"===t,name:"MuiDialogContentText",slot:"Root",overridesResolver:(t,n)=>n.root})({}),m=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiDialogContentText"}),{className:o}=e,u=(0,r.Z)(e,v),l=(t=>{const{classes:n}=t,e=(0,a.Z)({root:["root"]},d,n);return(0,i.Z)({},n,e)})(u);return(0,p.jsx)(g,(0,i.Z)({component:"p",variant:"body1",color:"text.secondary",ref:n,ownerState:u,className:(0,s.default)(l.root,o)},e,{classes:l}))}))},73521:(t,n,e)=>{"use strict";e.d(n,{Z:()=>s,a:()=>o});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiDialogTitle",t)}const s=(0,r.Z)("MuiDialogTitle",["root"])},45072:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>v,dialogTitleClasses:()=>h.Z,getDialogTitleUtilityClass:()=>h.a});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(58029),u=e(80013),c=e(61125),l=e(57369),h=e(73521),f=e(57604),d=e(43188);const _=["className","id"],p=(0,c.ZP)(u.Z,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(t,n)=>n.root})({padding:"16px 24px",flex:"0 0 auto"}),v=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiDialogTitle"}),{className:u,id:c}=e,v=(0,i.Z)(e,_),g=e,m=(t=>{const{classes:n}=t;return(0,a.Z)({root:["root"]},h.a,n)})(g),{titleId:y=c}=o.useContext(f.Z);return(0,d.jsx)(p,(0,r.Z)({component:"h2",className:(0,s.default)(m.root,u),ownerState:g,ref:n,variant:"h6",id:null!=c?c:y},v))}))},92165:(t,n,e)=>{"use strict";e.d(n,{V:()=>o,Z:()=>s});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiDivider",t)}const s=(0,r.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"])},36517:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>v,dividerClasses:()=>h.Z,getDividerUtilityClass:()=>h.V});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(73330),c=e(61125),l=e(57369),h=e(92165),f=e(43188);const d=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],_=(0,c.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.absolute&&n.absolute,n[e.variant],e.light&&n.light,"vertical"===e.orientation&&n.vertical,e.flexItem&&n.flexItem,e.children&&n.withChildren,e.children&&"vertical"===e.orientation&&n.withChildrenVertical,"right"===e.textAlign&&"vertical"!==e.orientation&&n.textAlignRight,"left"===e.textAlign&&"vertical"!==e.orientation&&n.textAlignLeft]}})((({theme:t,ownerState:n})=>(0,i.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},n.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},n.light&&{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:(0,u.Fq)(t.palette.divider,.08)},"inset"===n.variant&&{marginLeft:72},"middle"===n.variant&&"horizontal"===n.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===n.variant&&"vertical"===n.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===n.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},n.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:t})=>(0,i.Z)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:t,ownerState:n})=>(0,i.Z)({},n.children&&"vertical"!==n.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`}})),(({theme:t,ownerState:n})=>(0,i.Z)({},n.children&&"vertical"===n.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`}})),(({ownerState:t})=>(0,i.Z)({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),p=(0,c.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.wrapper,"vertical"===e.orientation&&n.wrapperVertical]}})((({theme:t,ownerState:n})=>(0,i.Z)({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`},"vertical"===n.orientation&&{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`}))),v=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiDivider"}),{absolute:o=!1,children:u,className:c,component:v=(u?"div":"hr"),flexItem:g=!1,light:m=!1,orientation:y="horizontal",role:w=("hr"!==v?"separator":void 0),textAlign:b="center",variant:x="fullWidth"}=e,k=(0,r.Z)(e,d),S=(0,i.Z)({},e,{absolute:o,component:v,flexItem:g,light:m,orientation:y,role:w,textAlign:b,variant:x}),C=(t=>{const{absolute:n,children:e,classes:r,flexItem:i,light:o,orientation:s,textAlign:u,variant:c}=t,l={root:["root",n&&"absolute",c,o&&"light","vertical"===s&&"vertical",i&&"flexItem",e&&"withChildren",e&&"vertical"===s&&"withChildrenVertical","right"===u&&"vertical"!==s&&"textAlignRight","left"===u&&"vertical"!==s&&"textAlignLeft"],wrapper:["wrapper","vertical"===s&&"wrapperVertical"]};return(0,a.Z)(l,h.V,r)})(S);return(0,f.jsx)(_,(0,i.Z)({as:v,className:(0,s.default)(C.root,c),role:w,ref:n,ownerState:S},k,{children:u?(0,f.jsx)(p,{className:C.wrapper,ownerState:S,children:u}):null}))}))},77657:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>P,drawerClasses:()=>$,getDrawerUtilityClass:()=>C});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(42727),c=e(44628),l=e(78101),h=e(81597),f=e(92368),d=e(41372),_=e(19514),p=e(43188);const v=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function g(t,n,e){var r;const i=function(t,n,e){const r=n.getBoundingClientRect(),i=e&&e.getBoundingClientRect(),o=(0,_.Z)(n);let s;if(n.fakeTransform)s=n.fakeTransform;else{const t=o.getComputedStyle(n);s=t.getPropertyValue("-webkit-transform")||t.getPropertyValue("transform")}let a=0,u=0;if(s&&"none"!==s&&"string"==typeof s){const t=s.split("(")[1].split(")")[0].split(",");a=parseInt(t[4],10),u=parseInt(t[5],10)}return"left"===t?i?`translateX(${i.right+a-r.left}px)`:`translateX(${o.innerWidth+a-r.left}px)`:"right"===t?i?`translateX(-${r.right-i.left-a}px)`:`translateX(-${r.left+r.width-a}px)`:"up"===t?i?`translateY(${i.bottom+u-r.top}px)`:`translateY(${o.innerHeight+u-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-u}px)`:`translateY(-${r.top+r.height-u}px)`}(t,n,"function"==typeof(r=e)?r():r);i&&(n.style.webkitTransform=i,n.style.transform=i)}const m=o.forwardRef((function(t,n){const e=(0,f.default)(),s={enter:e.transitions.easing.easeOut,exit:e.transitions.easing.sharp},a={enter:e.transitions.duration.enteringScreen,exit:e.transitions.duration.leavingScreen},{addEndListener:u,appear:m=!0,children:y,container:w,direction:b="down",easing:x=s,in:k,onEnter:S,onEntered:C,onEntering:$,onExit:E,onExited:M,onExiting:z,style:T,timeout:j=a,TransitionComponent:A=c.ZP}=t,q=(0,r.Z)(t,v),P=o.useRef(null),R=(0,h.Z)(y.ref,P,n),L=t=>n=>{t&&(void 0===n?t(P.current):t(P.current,n))},O=L(((t,n)=>{g(b,t,w),(0,d.n)(t),S&&S(t,n)})),I=L(((t,n)=>{const r=(0,d.C)({timeout:j,style:T,easing:x},{mode:"enter"});t.style.webkitTransition=e.transitions.create("-webkit-transform",(0,i.Z)({},r)),t.style.transition=e.transitions.create("transform",(0,i.Z)({},r)),t.style.webkitTransform="none",t.style.transform="none",$&&$(t,n)})),D=L(C),N=L(z),B=L((t=>{const n=(0,d.C)({timeout:j,style:T,easing:x},{mode:"exit"});t.style.webkitTransition=e.transitions.create("-webkit-transform",n),t.style.transition=e.transitions.create("transform",n),g(b,t,w),E&&E(t)})),F=L((t=>{t.style.webkitTransition="",t.style.transition="",M&&M(t)})),U=o.useCallback((()=>{P.current&&g(b,P.current,w)}),[b,w]);return o.useEffect((()=>{if(k||"down"===b||"right"===b)return;const t=(0,l.Z)((()=>{P.current&&g(b,P.current,w)})),n=(0,_.Z)(P.current);return n.addEventListener("resize",t),()=>{t.clear(),n.removeEventListener("resize",t)}}),[b,k,w]),o.useEffect((()=>{k||U()}),[k,U]),(0,p.jsx)(A,(0,i.Z)({nodeRef:P,onEnter:O,onEntered:D,onEntering:I,onExit:B,onExited:F,onExiting:N,addEndListener:t=>{u&&u(P.current,t)},appear:m,in:k,timeout:j},q,{children:(t,n)=>o.cloneElement(y,(0,i.Z)({ref:R,style:(0,i.Z)({visibility:"exited"!==t||k?void 0:"hidden"},T,y.props.style)},n))}))}));var y=e(53601),w=e(40118),b=e(57369),x=e(61125),k=e(58109),S=e(95201);function C(t){return(0,S.Z)("MuiDrawer",t)}const $=(0,k.Z)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]),E=["BackdropProps"],M=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],z=(t,n)=>{const{ownerState:e}=t;return[n.root,("permanent"===e.variant||"persistent"===e.variant)&&n.docked,n.modal]},T=(0,x.ZP)(u.Z,{name:"MuiDrawer",slot:"Root",overridesResolver:z})((({theme:t})=>({zIndex:(t.vars||t).zIndex.drawer}))),j=(0,x.ZP)("div",{shouldForwardProp:x.FO,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:z})({flex:"0 0 auto"}),A=(0,x.ZP)(y.Z,{name:"MuiDrawer",slot:"Paper",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.paper,n[`paperAnchor${(0,w.Z)(e.anchor)}`],"temporary"!==e.variant&&n[`paperAnchorDocked${(0,w.Z)(e.anchor)}`]]}})((({theme:t,ownerState:n})=>(0,i.Z)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(t.vars||t).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===n.anchor&&{left:0},"top"===n.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===n.anchor&&{right:0},"bottom"===n.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===n.anchor&&"temporary"!==n.variant&&{borderRight:`1px solid ${(t.vars||t).palette.divider}`},"top"===n.anchor&&"temporary"!==n.variant&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`},"right"===n.anchor&&"temporary"!==n.variant&&{borderLeft:`1px solid ${(t.vars||t).palette.divider}`},"bottom"===n.anchor&&"temporary"!==n.variant&&{borderTop:`1px solid ${(t.vars||t).palette.divider}`}))),q={left:"right",right:"left",top:"down",bottom:"up"},P=o.forwardRef((function(t,n){const e=(0,b.Z)({props:t,name:"MuiDrawer"}),u=(0,f.default)(),c={enter:u.transitions.duration.enteringScreen,exit:u.transitions.duration.leavingScreen},{anchor:l="left",BackdropProps:h,children:d,className:_,elevation:v=16,hideBackdrop:g=!1,ModalProps:{BackdropProps:y}={},onClose:x,open:k=!1,PaperProps:S={},SlideProps:$,TransitionComponent:z=m,transitionDuration:P=c,variant:R="temporary"}=e,L=(0,r.Z)(e.ModalProps,E),O=(0,r.Z)(e,M),I=o.useRef(!1);o.useEffect((()=>{I.current=!0}),[]);const D=function(t,n){return"rtl"===t.direction&&function(t){return-1!==["left","right"].indexOf(t)}(n)?q[n]:n}(u,l),N=l,B=(0,i.Z)({},e,{anchor:N,elevation:v,open:k,variant:R},O),F=(t=>{const{classes:n,anchor:e,variant:r}=t,i={root:["root"],docked:[("permanent"===r||"persistent"===r)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,w.Z)(e)}`,"temporary"!==r&&`paperAnchorDocked${(0,w.Z)(e)}`]};return(0,a.Z)(i,C,n)})(B),U=(0,p.jsx)(A,(0,i.Z)({elevation:"temporary"===R?v:0,square:!0},S,{className:(0,s.default)(F.paper,S.className),ownerState:B,children:d}));if("permanent"===R)return(0,p.jsx)(j,(0,i.Z)({className:(0,s.default)(F.root,F.docked,_),ownerState:B,ref:n},O,{children:U}));const H=(0,p.jsx)(z,(0,i.Z)({in:k,direction:q[D],timeout:P,appear:I.current},$,{children:U}));return"persistent"===R?(0,p.jsx)(j,(0,i.Z)({className:(0,s.default)(F.root,F.docked,_),ownerState:B,ref:n},O,{children:H})):(0,p.jsx)(T,(0,i.Z)({BackdropProps:(0,i.Z)({},h,y,{transitionDuration:P}),className:(0,s.default)(F.root,F.modal,_),open:k,ownerState:B,onClose:x,hideBackdrop:g,ref:n},O,L,{children:H}))}))},63270:(t,n,e)=>{"use strict";e.d(n,{Z:()=>d});var r=e(30984),i=e(55559),o=e(66204),s=e(44628),a=e(92368),u=e(41372),c=e(81597),l=e(43188);const h=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],f={entering:{opacity:1},entered:{opacity:1}},d=o.forwardRef((function(t,n){const e=(0,a.default)(),d={enter:e.transitions.duration.enteringScreen,exit:e.transitions.duration.leavingScreen},{addEndListener:_,appear:p=!0,children:v,easing:g,in:m,onEnter:y,onEntered:w,onEntering:b,onExit:x,onExited:k,onExiting:S,style:C,timeout:$=d,TransitionComponent:E=s.ZP}=t,M=(0,i.Z)(t,h),z=o.useRef(null),T=(0,c.Z)(z,v.ref,n),j=t=>n=>{if(t){const e=z.current;void 0===n?t(e):t(e,n)}},A=j(b),q=j(((t,n)=>{(0,u.n)(t);const r=(0,u.C)({style:C,timeout:$,easing:g},{mode:"enter"});t.style.webkitTransition=e.transitions.create("opacity",r),t.style.transition=e.transitions.create("opacity",r),y&&y(t,n)})),P=j(w),R=j(S),L=j((t=>{const n=(0,u.C)({style:C,timeout:$,easing:g},{mode:"exit"});t.style.webkitTransition=e.transitions.create("opacity",n),t.style.transition=e.transitions.create("opacity",n),x&&x(t)})),O=j(k);return(0,l.jsx)(E,(0,r.Z)({appear:p,in:m,nodeRef:z,onEnter:q,onEntered:P,onEntering:A,onExit:L,onExited:O,onExiting:R,addEndListener:t=>{_&&_(z.current,t)},timeout:$},M,{children:(t,n)=>o.cloneElement(v,(0,r.Z)({style:(0,r.Z)({opacity:0,visibility:"exited"!==t||m?void 0:"hidden"},f[t],C,v.props.style),ref:T},n))}))}))},60381:(t,n,e)=>{"use strict";e.d(n,{Z:()=>b});var r=e(55559),i=e(30984),o=e(66204),s=e(53709),a=e(58029),u=e(12303),c=e(61125),l=e(57369),h=e(58109),f=e(95201),d=e(33872);function _(t){return(0,f.Z)("MuiFilledInput",t)}const p=(0,i.Z)({},d.Z,(0,h.Z)("MuiFilledInput",["root","underline","input"]));var v=e(43188);const g=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],m=(0,c.ZP)(u.Ej,{shouldForwardProp:t=>(0,c.FO)(t)||"classes"===t,name:"MuiFilledInput",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[...(0,u.Gx)(t,n),!e.disableUnderline&&n.underline]}})((({theme:t,ownerState:n})=>{var e;const r="light"===t.palette.mode,o=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",s=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",u=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,i.Z)({position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:s,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:s}},[`&.${p.focused}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:s},[`&.${p.disabled}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:u}},!n.disableUnderline&&{"&:after":{borderBottom:`2px solid ${null==(e=(t.vars||t).palette[n.color||"primary"])?void 0:e.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${p.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${p.error}`]:{"&:before, &:after":{borderBottomColor:(t.vars||t).palette.error.main}},"&:before":{borderBottom:`1px solid ${t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${p.disabled}, .${p.error}):before`]:{borderBottom:`1px solid ${(t.vars||t).palette.text.primary}`},[`&.${p.disabled}:before`]:{borderBottomStyle:"dotted"}},n.startAdornment&&{paddingLeft:12},n.endAdornment&&{paddingRight:12},n.multiline&&(0,i.Z)({padding:"25px 12px 8px"},"small"===n.size&&{paddingTop:21,paddingBottom:4},n.hiddenLabel&&{paddingTop:16,paddingBottom:17}))})),y=(0,c.ZP)(u.rA,{name:"MuiFilledInput",slot:"Input",overridesResolver:u._o})((({theme:t,ownerState:n})=>(0,i.Z)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===n.size&&{paddingTop:21,paddingBottom:4},n.hiddenLabel&&{paddingTop:16,paddingBottom:17},n.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0},n.hiddenLabel&&"small"===n.size&&{paddingTop:8,paddingBottom:9}))),w=o.forwardRef((function(t,n){var e,o,c,h;const f=(0,l.Z)({props:t,name:"MuiFilledInput"}),{components:d={},componentsProps:p,fullWidth:w=!1,inputComponent:b="input",multiline:x=!1,slotProps:k,slots:S={},type:C="text"}=f,$=(0,r.Z)(f,g),E=(0,i.Z)({},f,{fullWidth:w,inputComponent:b,multiline:x,type:C}),M=(t=>{const{classes:n,disableUnderline:e}=t,r={root:["root",!e&&"underline"],input:["input"]},o=(0,a.Z)(r,_,n);return(0,i.Z)({},n,o)})(f),z={root:{ownerState:E},input:{ownerState:E}},T=(null!=k?k:p)?(0,s.Z)(null!=k?k:p,z):z,j=null!=(e=null!=(o=S.root)?o:d.Root)?e:m,A=null!=(c=null!=(h=S.input)?h:d.Input)?c:y;return(0,v.jsx)(u.ZP,(0,i.Z)({slots:{root:j,input:A},componentsProps:T,fullWidth:w,inputComponent:b,multiline:x,ref:n,type:C},$,{classes:M}))}));w.muiName="Input";const b=w},94926:(t,n,e)=>{"use strict";e.d(n,{Z:()=>m});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(57369),c=e(61125),l=e(43716),h=e(40118),f=e(6842),d=e(30954),_=e(4870),p=e(43188);const v=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],g=(0,c.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:t},n)=>(0,i.Z)({},n.root,n[`margin${(0,h.Z)(t.margin)}`],t.fullWidth&&n.fullWidth)})((({ownerState:t})=>(0,i.Z)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===t.margin&&{marginTop:16,marginBottom:8},"dense"===t.margin&&{marginTop:8,marginBottom:4},t.fullWidth&&{width:"100%"}))),m=o.forwardRef((function(t,n){const e=(0,u.Z)({props:t,name:"MuiFormControl"}),{children:c,className:m,color:y="primary",component:w="div",disabled:b=!1,error:x=!1,focused:k,fullWidth:S=!1,hiddenLabel:C=!1,margin:$="none",required:E=!1,size:M="medium",variant:z="outlined"}=e,T=(0,r.Z)(e,v),j=(0,i.Z)({},e,{color:y,component:w,disabled:b,error:x,fullWidth:S,hiddenLabel:C,margin:$,required:E,size:M,variant:z}),A=(t=>{const{classes:n,margin:e,fullWidth:r}=t,i={root:["root","none"!==e&&`margin${(0,h.Z)(e)}`,r&&"fullWidth"]};return(0,a.Z)(i,_.e,n)})(j),[q,P]=o.useState((()=>{let t=!1;return c&&o.Children.forEach(c,(n=>{if(!(0,f.Z)(n,["Input","Select"]))return;const e=(0,f.Z)(n,["Select"])?n.props.input:n;e&&(0,l.B7)(e.props)&&(t=!0)})),t})),[R,L]=o.useState((()=>{let t=!1;return c&&o.Children.forEach(c,(n=>{(0,f.Z)(n,["Input","Select"])&&((0,l.vd)(n.props,!0)||(0,l.vd)(n.props.inputProps,!0))&&(t=!0)})),t})),[O,I]=o.useState(!1);b&&O&&I(!1);const D=void 0===k||b?O:k;let N;const B=o.useMemo((()=>({adornedStart:q,setAdornedStart:P,color:y,disabled:b,error:x,filled:R,focused:D,fullWidth:S,hiddenLabel:C,size:M,onBlur:()=>{I(!1)},onEmpty:()=>{L(!1)},onFilled:()=>{L(!0)},onFocus:()=>{I(!0)},registerEffect:N,required:E,variant:z})),[q,y,b,x,R,D,S,C,N,E,M,z]);return(0,p.jsx)(d.Z.Provider,{value:B,children:(0,p.jsx)(g,(0,i.Z)({as:w,ownerState:j,className:(0,s.default)(A.root,m),ref:n},T,{children:c}))})}))},30954:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=e(66204).createContext(void 0)},4870:(t,n,e)=>{"use strict";e.d(n,{Z:()=>s,e:()=>o});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiFormControl",t)}const s=(0,r.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"])},92407:(t,n,e)=>{"use strict";function r({props:t,states:n,muiFormControl:e}){return n.reduce(((n,r)=>(n[r]=t[r],e&&void 0===t[r]&&(n[r]=e[r]),n)),{})}e.d(n,{Z:()=>r})},63085:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.Z,formControlClasses:()=>o.Z,getFormControlUtilityClasses:()=>o.e,useFormControl:()=>i.Z});var r=e(94926),i=e(55834),o=e(4870)},55834:(t,n,e)=>{"use strict";e.d(n,{Z:()=>o});var r=e(66204),i=e(30954);function o(){return r.useContext(i.Z)}},86765:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>x,formControlLabelClasses:()=>v,getFormControlLabelUtilityClasses:()=>p});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(55834),c=e(80013),l=e(40118),h=e(61125),f=e(57369),d=e(58109),_=e(95201);function p(t){return(0,_.Z)("MuiFormControlLabel",t)}const v=(0,d.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);var g=e(92407),m=e(43188);const y=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],w=(0,h.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`& .${v.label}`]:n.label},n.root,n[`labelPlacement${(0,l.Z)(e.labelPlacement)}`]]}})((({theme:t,ownerState:n})=>(0,i.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${v.disabled}`]:{cursor:"default"}},"start"===n.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===n.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===n.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${v.label}`]:{[`&.${v.disabled}`]:{color:(t.vars||t).palette.text.disabled}}}))),b=(0,h.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(t,n)=>n.asterisk})((({theme:t})=>({[`&.${v.error}`]:{color:(t.vars||t).palette.error.main}}))),x=o.forwardRef((function(t,n){var e,h;const d=(0,f.Z)({props:t,name:"MuiFormControlLabel"}),{className:_,componentsProps:v={},control:x,disabled:k,disableTypography:S,label:C,labelPlacement:$="end",required:E,slotProps:M={}}=d,z=(0,r.Z)(d,y),T=(0,u.Z)(),j=null!=(e=null!=k?k:x.props.disabled)?e:null==T?void 0:T.disabled,A=null!=E?E:x.props.required,q={disabled:j,required:A};["checked","name","onChange","value","inputRef"].forEach((t=>{void 0===x.props[t]&&void 0!==d[t]&&(q[t]=d[t])}));const P=(0,g.Z)({props:d,muiFormControl:T,states:["error"]}),R=(0,i.Z)({},d,{disabled:j,labelPlacement:$,required:A,error:P.error}),L=(t=>{const{classes:n,disabled:e,labelPlacement:r,error:i,required:o}=t,s={root:["root",e&&"disabled",`labelPlacement${(0,l.Z)(r)}`,i&&"error",o&&"required"],label:["label",e&&"disabled"],asterisk:["asterisk",i&&"error"]};return(0,a.Z)(s,p,n)})(R),O=null!=(h=M.typography)?h:v.typography;let I=C;return null==I||I.type===c.Z||S||(I=(0,m.jsx)(c.Z,(0,i.Z)({component:"span"},O,{className:(0,s.default)(L.label,null==O?void 0:O.className),children:I}))),(0,m.jsxs)(w,(0,i.Z)({className:(0,s.default)(L.root,_),ownerState:R,ref:n},z,{children:[o.cloneElement(x,q),I,A&&(0,m.jsxs)(b,{ownerState:R,"aria-hidden":!0,className:L.asterisk,children:[" ","*"]})]}))}))},35861:(t,n,e)=>{"use strict";e.d(n,{Z:()=>m});var r,i=e(55559),o=e(30984),s=e(66204),a=e(53583),u=e(58029),c=e(92407),l=e(55834),h=e(61125),f=e(40118),d=e(54475),_=e(57369),p=e(43188);const v=["children","className","component","disabled","error","filled","focused","margin","required","variant"],g=(0,h.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.size&&n[`size${(0,f.Z)(e.size)}`],e.contained&&n.contained,e.filled&&n.filled]}})((({theme:t,ownerState:n})=>(0,o.Z)({color:(t.vars||t).palette.text.secondary},t.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${d.Z.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${d.Z.error}`]:{color:(t.vars||t).palette.error.main}},"small"===n.size&&{marginTop:4},n.contained&&{marginLeft:14,marginRight:14}))),m=s.forwardRef((function(t,n){const e=(0,_.Z)({props:t,name:"MuiFormHelperText"}),{children:s,className:h,component:m="p"}=e,y=(0,i.Z)(e,v),w=(0,l.Z)(),b=(0,c.Z)({props:e,muiFormControl:w,states:["variant","size","disabled","error","filled","focused","required"]}),x=(0,o.Z)({},e,{component:m,contained:"filled"===b.variant||"outlined"===b.variant,variant:b.variant,size:b.size,disabled:b.disabled,error:b.error,filled:b.filled,focused:b.focused,required:b.required}),k=(t=>{const{classes:n,contained:e,size:r,disabled:i,error:o,filled:s,focused:a,required:c}=t,l={root:["root",i&&"disabled",o&&"error",r&&`size${(0,f.Z)(r)}`,e&&"contained",a&&"focused",s&&"filled",c&&"required"]};return(0,u.Z)(l,d.E,n)})(x);return(0,p.jsx)(g,(0,o.Z)({as:m,ownerState:x,className:(0,a.default)(k.root,h),ref:n},y,{children:" "===s?r||(r=(0,p.jsx)("span",{className:"notranslate",children:"​"})):s}))}))},54475:(t,n,e)=>{"use strict";e.d(n,{E:()=>o,Z:()=>s});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiFormHelperText",t)}const s=(0,r.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"])},50441:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.Z,formHelperTextClasses:()=>i.Z,getFormHelperTextUtilityClasses:()=>i.E});var r=e(35861),i=e(54475)},5723:(t,n,e)=>{"use strict";e.d(n,{D:()=>v,Z:()=>m});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(92407),c=e(55834),l=e(40118),h=e(57369),f=e(61125),d=e(25454),_=e(43188);const p=["children","className","color","component","disabled","error","filled","focused","required"],v=(0,f.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:t},n)=>(0,i.Z)({},n.root,"secondary"===t.color&&n.colorSecondary,t.filled&&n.filled)})((({theme:t,ownerState:n})=>(0,i.Z)({color:(t.vars||t).palette.text.secondary},t.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${d.Z.focused}`]:{color:(t.vars||t).palette[n.color].main},[`&.${d.Z.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${d.Z.error}`]:{color:(t.vars||t).palette.error.main}}))),g=(0,f.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(t,n)=>n.asterisk})((({theme:t})=>({[`&.${d.Z.error}`]:{color:(t.vars||t).palette.error.main}}))),m=o.forwardRef((function(t,n){const e=(0,h.Z)({props:t,name:"MuiFormLabel"}),{children:o,className:f,component:m="label"}=e,y=(0,r.Z)(e,p),w=(0,c.Z)(),b=(0,u.Z)({props:e,muiFormControl:w,states:["color","required","focused","disabled","error","filled"]}),x=(0,i.Z)({},e,{color:b.color||"primary",component:m,disabled:b.disabled,error:b.error,filled:b.filled,focused:b.focused,required:b.required}),k=(t=>{const{classes:n,color:e,focused:r,disabled:i,error:o,filled:s,required:u}=t,c={root:["root",`color${(0,l.Z)(e)}`,i&&"disabled",o&&"error",s&&"filled",r&&"focused",u&&"required"],asterisk:["asterisk",o&&"error"]};return(0,a.Z)(c,d.M,n)})(x);return(0,_.jsxs)(v,(0,i.Z)({as:m,ownerState:x,className:(0,s.default)(k.root,f),ref:n},y,{children:[o,b.required&&(0,_.jsxs)(g,{ownerState:x,"aria-hidden":!0,className:k.asterisk,children:[" ","*"]})]}))}))},25454:(t,n,e)=>{"use strict";e.d(n,{M:()=>o,Z:()=>s});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiFormLabel",t)}const s=(0,r.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"])},98517:(t,n,e)=>{"use strict";e.r(n),e.d(n,{FormLabelRoot:()=>r.D,default:()=>r.Z,formLabelClasses:()=>i.Z,getFormLabelUtilityClasses:()=>i.M});var r=e(5723),i=e(25454)},44260:(t,n,e)=>{"use strict";e.d(n,{Z:()=>h});var r=e(30984),i=(e(66204),e(71580)),o=e(43188);function s(t){const{styles:n,defaultTheme:e={}}=t,r="function"==typeof n?t=>{return n(null==(r=t)||0===Object.keys(r).length?e:t);var r}:n;return(0,o.jsx)(i.xB,{styles:r})}var a=e(85293);const u=function({styles:t,themeId:n,defaultTheme:e={}}){const r=(0,a.Z)(e),i="function"==typeof t?t(n&&r[n]||r):t;return(0,o.jsx)(s,{styles:i})};var c=e(86995),l=e(80880);const h=function(t){return(0,o.jsx)(u,(0,r.Z)({},t,{defaultTheme:c.Z,themeId:l.Z}))}},23160:(t,n,e)=>{"use strict";e.d(n,{Z:()=>v});var r=e(30984),i=e(55559),o=e(66204),s=e(44628),a=e(92368),u=e(41372),c=e(81597),l=e(43188);const h=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function f(t){return`scale(${t}, ${t**2})`}const d={entering:{opacity:1,transform:f(1)},entered:{opacity:1,transform:"none"}},_="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),p=o.forwardRef((function(t,n){const{addEndListener:e,appear:p=!0,children:v,easing:g,in:m,onEnter:y,onEntered:w,onEntering:b,onExit:x,onExited:k,onExiting:S,style:C,timeout:$="auto",TransitionComponent:E=s.ZP}=t,M=(0,i.Z)(t,h),z=o.useRef(),T=o.useRef(),j=(0,a.default)(),A=o.useRef(null),q=(0,c.Z)(A,v.ref,n),P=t=>n=>{if(t){const e=A.current;void 0===n?t(e):t(e,n)}},R=P(b),L=P(((t,n)=>{(0,u.n)(t);const{duration:e,delay:r,easing:i}=(0,u.C)({style:C,timeout:$,easing:g},{mode:"enter"});let o;"auto"===$?(o=j.transitions.getAutoHeightDuration(t.clientHeight),T.current=o):o=e,t.style.transition=[j.transitions.create("opacity",{duration:o,delay:r}),j.transitions.create("transform",{duration:_?o:.666*o,delay:r,easing:i})].join(","),y&&y(t,n)})),O=P(w),I=P(S),D=P((t=>{const{duration:n,delay:e,easing:r}=(0,u.C)({style:C,timeout:$,easing:g},{mode:"exit"});let i;"auto"===$?(i=j.transitions.getAutoHeightDuration(t.clientHeight),T.current=i):i=n,t.style.transition=[j.transitions.create("opacity",{duration:i,delay:e}),j.transitions.create("transform",{duration:_?i:.666*i,delay:_?e:e||.333*i,easing:r})].join(","),t.style.opacity=0,t.style.transform=f(.75),x&&x(t)})),N=P(k);return o.useEffect((()=>()=>{clearTimeout(z.current)}),[]),(0,l.jsx)(E,(0,r.Z)({appear:p,in:m,nodeRef:A,onEnter:L,onEntered:O,onEntering:R,onExit:D,onExited:N,onExiting:I,addEndListener:t=>{"auto"===$&&(z.current=setTimeout(t,T.current||0)),e&&e(A.current,t)},timeout:"auto"===$?null:$},M,{children:(t,n)=>o.cloneElement(v,(0,r.Z)({style:(0,r.Z)({opacity:0,transform:f(.75),visibility:"exited"!==t||m?void 0:"hidden"},d[t],C,v.props.style),ref:q},n))}))}));p.muiSupportAuto=!0;const v=p},49140:(t,n,e)=>{"use strict";e.d(n,{Z:()=>g});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(73330),c=e(61125),l=e(57369),h=e(52983),f=e(40118),d=e(28141),_=e(43188);const p=["edge","children","className","color","disabled","disableFocusRipple","size"],v=(0,c.ZP)(h.Z,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,"default"!==e.color&&n[`color${(0,f.Z)(e.color)}`],e.edge&&n[`edge${(0,f.Z)(e.edge)}`],n[`size${(0,f.Z)(e.size)}`]]}})((({theme:t,ownerState:n})=>(0,i.Z)({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(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.Fq)(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})),(({theme:t,ownerState:n})=>{var e;const r=null==(e=(t.vars||t).palette)?void 0:e[n.color];return(0,i.Z)({},"inherit"===n.color&&{color:"inherit"},"inherit"!==n.color&&"default"!==n.color&&(0,i.Z)({color:null==r?void 0:r.main},!n.disableRipple&&{"&:hover":(0,i.Z)({},r&&{backgroundColor:t.vars?`rgba(${r.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.Fq)(r.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)},{[`&.${d.Z.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}})})),g=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiIconButton"}),{edge:o=!1,children:u,className:c,color:h="default",disabled:g=!1,disableFocusRipple:m=!1,size:y="medium"}=e,w=(0,r.Z)(e,p),b=(0,i.Z)({},e,{edge:o,color:h,disabled:g,disableFocusRipple:m,size:y}),x=(t=>{const{classes:n,disabled:e,color:r,edge:i,size:o}=t,s={root:["root",e&&"disabled","default"!==r&&`color${(0,f.Z)(r)}`,i&&`edge${(0,f.Z)(i)}`,`size${(0,f.Z)(o)}`]};return(0,a.Z)(s,d.r,n)})(b);return(0,_.jsx)(v,(0,i.Z)({className:(0,s.default)(x.root,c),centerRipple:!0,focusRipple:!m,disabled:g,ref:n,ownerState:b},w,{children:u}))}))},28141:(t,n,e)=>{"use strict";e.d(n,{Z:()=>s,r:()=>o});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiIconButton",t)}const s=(0,r.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"])},52545:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.Z,getIconButtonUtilityClass:()=>i.r,iconButtonClasses:()=>i.Z});var r=e(49140),i=e(28141)},61054:(t,n,e)=>{"use strict";e.d(n,{Z:()=>g});var r=e(55559),i=e(30984),o=e(66204),s=e(58029),a=e(53709),u=e(12303),c=e(61125),l=e(57369),h=e(2994),f=e(43188);const d=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],_=(0,c.ZP)(u.Ej,{shouldForwardProp:t=>(0,c.FO)(t)||"classes"===t,name:"MuiInput",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[...(0,u.Gx)(t,n),!e.disableUnderline&&n.underline]}})((({theme:t,ownerState:n})=>{let e="light"===t.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(e=`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`),(0,i.Z)({position:"relative"},n.formControl&&{"label + &":{marginTop:16}},!n.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(t.vars||t).palette[n.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${h.Z.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${h.Z.error}`]:{"&:before, &:after":{borderBottomColor:(t.vars||t).palette.error.main}},"&:before":{borderBottom:`1px solid ${e}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${h.Z.disabled}, .${h.Z.error}):before`]:{borderBottom:`2px solid ${(t.vars||t).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${e}`}},[`&.${h.Z.disabled}:before`]:{borderBottomStyle:"dotted"}})})),p=(0,c.ZP)(u.rA,{name:"MuiInput",slot:"Input",overridesResolver:u._o})({}),v=o.forwardRef((function(t,n){var e,o,c,v;const g=(0,l.Z)({props:t,name:"MuiInput"}),{disableUnderline:m,components:y={},componentsProps:w,fullWidth:b=!1,inputComponent:x="input",multiline:k=!1,slotProps:S,slots:C={},type:$="text"}=g,E=(0,r.Z)(g,d),M=(t=>{const{classes:n,disableUnderline:e}=t,r={root:["root",!e&&"underline"],input:["input"]},o=(0,s.Z)(r,h.l,n);return(0,i.Z)({},n,o)})(g),z={root:{ownerState:{disableUnderline:m}}},T=(null!=S?S:w)?(0,a.Z)(null!=S?S:w,z):z,j=null!=(e=null!=(o=C.root)?o:y.Root)?e:_,A=null!=(c=null!=(v=C.input)?v:y.Input)?c:p;return(0,f.jsx)(u.ZP,(0,i.Z)({slots:{root:j,input:A},slotProps:T,fullWidth:b,inputComponent:x,multiline:k,ref:n,type:$},E,{classes:M}))}));v.muiName="Input";const g=v},26629:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.Z,getInputUtilityClass:()=>i.l,inputClasses:()=>i.Z});var r=e(61054),i=e(2994)},2994:(t,n,e)=>{"use strict";e.d(n,{Z:()=>u,l:()=>a});var r=e(30984),i=e(58109),o=e(95201),s=e(33872);function a(t){return(0,o.Z)("MuiInput",t)}const u=(0,r.Z)({},s.Z,(0,i.Z)("MuiInput",["root","underline","input"]))},59172:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>x,getInputAdornmentUtilityClass:()=>p,inputAdornmentClasses:()=>v});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(40118),c=e(80013),l=e(30954),h=e(55834),f=e(61125),d=e(58109),_=e(95201);function p(t){return(0,_.Z)("MuiInputAdornment",t)}const v=(0,d.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var g,m=e(57369),y=e(43188);const w=["children","className","component","disablePointerEvents","disableTypography","position","variant"],b=(0,f.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[`position${(0,u.Z)(e.position)}`],!0===e.disablePointerEvents&&n.disablePointerEvents,n[e.variant]]}})((({theme:t,ownerState:n})=>(0,i.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},"filled"===n.variant&&{[`&.${v.positionStart}&:not(.${v.hiddenLabel})`]:{marginTop:16}},"start"===n.position&&{marginRight:8},"end"===n.position&&{marginLeft:8},!0===n.disablePointerEvents&&{pointerEvents:"none"}))),x=o.forwardRef((function(t,n){const e=(0,m.Z)({props:t,name:"MuiInputAdornment"}),{children:f,className:d,component:_="div",disablePointerEvents:v=!1,disableTypography:x=!1,position:k,variant:S}=e,C=(0,r.Z)(e,w),$=(0,h.Z)()||{};let E=S;S&&$.variant,$&&!E&&(E=$.variant);const M=(0,i.Z)({},e,{hiddenLabel:$.hiddenLabel,size:$.size,disablePointerEvents:v,position:k,variant:E}),z=(t=>{const{classes:n,disablePointerEvents:e,hiddenLabel:r,position:i,size:o,variant:s}=t,c={root:["root",e&&"disablePointerEvents",i&&`position${(0,u.Z)(i)}`,s,r&&"hiddenLabel",o&&`size${(0,u.Z)(o)}`]};return(0,a.Z)(c,p,n)})(M);return(0,y.jsx)(l.Z.Provider,{value:null,children:(0,y.jsx)(b,(0,i.Z)({as:_,ownerState:M,className:(0,s.default)(z.root,d),ref:n},C,{children:"string"!=typeof f||x?(0,y.jsxs)(o.Fragment,{children:["start"===k?g||(g=(0,y.jsx)("span",{className:"notranslate",children:"​"})):null,f]}):(0,y.jsx)(c.Z,{color:"text.secondary",children:f})}))})}))},12303:(t,n,e)=>{"use strict";e.d(n,{rA:()=>L,Ej:()=>R,ZP:()=>I,_o:()=>P,Gx:()=>q});var r=e(55559),i=e(30984),o=e(89274),s=e(66204),a=e(53583),u=e(58029),c=e(42457),l=e(52682),h=e(45796),f=e(72650),d=e(40401),_=e(43188);const p=["onChange","maxRows","minRows","style","value"];function v(t){return parseInt(t,10)||0}const g={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function m(t){return null==t||0===Object.keys(t).length||0===t.outerHeightStyle&&!t.overflow}const y=s.forwardRef((function(t,n){const{onChange:e,maxRows:o,minRows:a=1,style:u,value:y}=t,w=(0,r.Z)(t,p),{current:b}=s.useRef(null!=y),x=s.useRef(null),k=(0,l.Z)(n,x),S=s.useRef(null),C=s.useRef(0),[$,E]=s.useState({outerHeightStyle:0}),M=s.useCallback((()=>{const n=x.current,e=(0,h.Z)(n).getComputedStyle(n);if("0px"===e.width)return{outerHeightStyle:0};const r=S.current;r.style.width=e.width,r.value=n.value||t.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const i=e.boxSizing,s=v(e.paddingBottom)+v(e.paddingTop),u=v(e.borderBottomWidth)+v(e.borderTopWidth),c=r.scrollHeight;r.value="x";const l=r.scrollHeight;let f=c;return a&&(f=Math.max(Number(a)*l,f)),o&&(f=Math.min(Number(o)*l,f)),f=Math.max(f,l),{outerHeightStyle:f+("border-box"===i?s+u:0),overflow:Math.abs(f-c)<=1}}),[o,a,t.placeholder]),z=(t,n)=>{const{outerHeightStyle:e,overflow:r}=n;return C.current<20&&(e>0&&Math.abs((t.outerHeightStyle||0)-e)>1||t.overflow!==r)?(C.current+=1,{overflow:r,outerHeightStyle:e}):t},T=s.useCallback((()=>{const t=M();m(t)||E((n=>z(n,t)))}),[M]);return s.useEffect((()=>{const t=(0,f.Z)((()=>{C.current=0,x.current&&(()=>{const t=M();m(t)||c.flushSync((()=>{E((n=>z(n,t)))}))})()}));let n;const e=x.current,r=(0,h.Z)(e);return r.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(t),n.observe(e)),()=>{t.clear(),r.removeEventListener("resize",t),n&&n.disconnect()}})),(0,d.Z)((()=>{T()})),s.useEffect((()=>{C.current=0}),[y]),(0,_.jsxs)(s.Fragment,{children:[(0,_.jsx)("textarea",(0,i.Z)({value:y,onChange:t=>{C.current=0,b||T(),e&&e(t)},ref:k,rows:a,style:(0,i.Z)({height:$.outerHeightStyle,overflow:$.overflow?"hidden":void 0},u)},w)),(0,_.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:S,tabIndex:-1,style:(0,i.Z)({},g,u,{padding:0})})]})}));var w=e(38094),b=e(92407),x=e(30954),k=e(55834),S=e(61125),C=e(57369),$=e(40118),E=e(81597),M=e(5429),z=e(44260),T=e(43716),j=e(33872);const A=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],q=(t,n)=>{const{ownerState:e}=t;return[n.root,e.formControl&&n.formControl,e.startAdornment&&n.adornedStart,e.endAdornment&&n.adornedEnd,e.error&&n.error,"small"===e.size&&n.sizeSmall,e.multiline&&n.multiline,e.color&&n[`color${(0,$.Z)(e.color)}`],e.fullWidth&&n.fullWidth,e.hiddenLabel&&n.hiddenLabel]},P=(t,n)=>{const{ownerState:e}=t;return[n.input,"small"===e.size&&n.inputSizeSmall,e.multiline&&n.inputMultiline,"search"===e.type&&n.inputTypeSearch,e.startAdornment&&n.inputAdornedStart,e.endAdornment&&n.inputAdornedEnd,e.hiddenLabel&&n.inputHiddenLabel]},R=(0,S.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:q})((({theme:t,ownerState:n})=>(0,i.Z)({},t.typography.body1,{color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${j.Z.disabled}`]:{color:(t.vars||t).palette.text.disabled,cursor:"default"}},n.multiline&&(0,i.Z)({padding:"4px 0 5px"},"small"===n.size&&{paddingTop:1}),n.fullWidth&&{width:"100%"}))),L=(0,S.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:P})((({theme:t,ownerState:n})=>{const e="light"===t.palette.mode,r=(0,i.Z)({color:"currentColor"},t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:e?.42:.5},{transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})}),o={opacity:"0 !important"},s=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:e?.42:.5};return(0,i.Z)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${j.Z.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":s,"&:focus::-moz-placeholder":s,"&:focus:-ms-input-placeholder":s,"&:focus::-ms-input-placeholder":s},[`&.${j.Z.disabled}`]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===n.size&&{paddingTop:1},n.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===n.type&&{MozAppearance:"textfield"})})),O=(0,_.jsx)(z.Z,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),I=s.forwardRef((function(t,n){var e;const c=(0,C.Z)({props:t,name:"MuiInputBase"}),{"aria-describedby":l,autoComplete:h,autoFocus:f,className:d,components:p={},componentsProps:v={},defaultValue:g,disabled:m,disableInjectingGlobalStyles:S,endAdornment:z,fullWidth:q=!1,id:P,inputComponent:I="input",inputProps:D={},inputRef:N,maxRows:B,minRows:F,multiline:U=!1,name:H,onBlur:G,onChange:W,onClick:V,onFocus:Z,onKeyDown:X,onKeyUp:Y,placeholder:K,readOnly:J,renderSuffix:Q,rows:tt,slotProps:nt={},slots:et={},startAdornment:rt,type:it="text",value:ot}=c,st=(0,r.Z)(c,A),at=null!=D.value?D.value:ot,{current:ut}=s.useRef(null!=at),ct=s.useRef(),lt=s.useCallback((t=>{}),[]),ht=(0,E.Z)(ct,N,D.ref,lt),[ft,dt]=s.useState(!1),_t=(0,k.Z)(),pt=(0,b.Z)({props:c,muiFormControl:_t,states:["color","disabled","error","hiddenLabel","size","required","filled"]});pt.focused=_t?_t.focused:ft,s.useEffect((()=>{!_t&&m&&ft&&(dt(!1),G&&G())}),[_t,m,ft,G]);const vt=_t&&_t.onFilled,gt=_t&&_t.onEmpty,mt=s.useCallback((t=>{(0,T.vd)(t)?vt&&vt():gt&>()}),[vt,gt]);(0,M.Z)((()=>{ut&&mt({value:at})}),[at,mt,ut]),s.useEffect((()=>{mt(ct.current)}),[]);let yt=I,wt=D;U&&"input"===yt&&(wt=tt?(0,i.Z)({type:void 0,minRows:tt,maxRows:tt},wt):(0,i.Z)({type:void 0,maxRows:B,minRows:F},wt),yt=y),s.useEffect((()=>{_t&&_t.setAdornedStart(Boolean(rt))}),[_t,rt]);const bt=(0,i.Z)({},c,{color:pt.color||"primary",disabled:pt.disabled,endAdornment:z,error:pt.error,focused:pt.focused,formControl:_t,fullWidth:q,hiddenLabel:pt.hiddenLabel,multiline:U,size:pt.size,startAdornment:rt,type:it}),xt=(t=>{const{classes:n,color:e,disabled:r,error:i,endAdornment:o,focused:s,formControl:a,fullWidth:c,hiddenLabel:l,multiline:h,readOnly:f,size:d,startAdornment:_,type:p}=t,v={root:["root",`color${(0,$.Z)(e)}`,r&&"disabled",i&&"error",c&&"fullWidth",s&&"focused",a&&"formControl","small"===d&&"sizeSmall",h&&"multiline",_&&"adornedStart",o&&"adornedEnd",l&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled","search"===p&&"inputTypeSearch",h&&"inputMultiline","small"===d&&"inputSizeSmall",l&&"inputHiddenLabel",_&&"inputAdornedStart",o&&"inputAdornedEnd",f&&"readOnly"]};return(0,u.Z)(v,j.u,n)})(bt),kt=et.root||p.Root||R,St=nt.root||v.root||{},Ct=et.input||p.Input||L;return wt=(0,i.Z)({},wt,null!=(e=nt.input)?e:v.input),(0,_.jsxs)(s.Fragment,{children:[!S&&O,(0,_.jsxs)(kt,(0,i.Z)({},St,!(0,w.Z)(kt)&&{ownerState:(0,i.Z)({},bt,St.ownerState)},{ref:n,onClick:t=>{ct.current&&t.currentTarget===t.target&&ct.current.focus(),V&&!pt.disabled&&V(t)}},st,{className:(0,a.default)(xt.root,St.className,d,J&&"MuiInputBase-readOnly"),children:[rt,(0,_.jsx)(x.Z.Provider,{value:null,children:(0,_.jsx)(Ct,(0,i.Z)({ownerState:bt,"aria-invalid":pt.error,"aria-describedby":l,autoComplete:h,autoFocus:f,defaultValue:g,disabled:pt.disabled,id:P,onAnimationStart:t=>{mt("mui-auto-fill-cancel"===t.animationName?ct.current:{value:"x"})},name:H,placeholder:K,readOnly:J,required:pt.required,rows:tt,value:at,onKeyDown:X,onKeyUp:Y,type:it},wt,!(0,w.Z)(Ct)&&{as:yt,ownerState:(0,i.Z)({},bt,wt.ownerState)},{ref:ht,className:(0,a.default)(xt.input,wt.className,J&&"MuiInputBase-readOnly"),onBlur:t=>{G&&G(t),D.onBlur&&D.onBlur(t),_t&&_t.onBlur?_t.onBlur(t):dt(!1)},onChange:(t,...n)=>{if(!ut){const n=t.target||ct.current;if(null==n)throw new Error((0,o.Z)(1));mt({value:n.value})}D.onChange&&D.onChange(t,...n),W&&W(t,...n)},onFocus:t=>{pt.disabled?t.stopPropagation():(Z&&Z(t),D.onFocus&&D.onFocus(t),_t&&_t.onFocus?_t.onFocus(t):dt(!0))}}))}),z,Q?Q((0,i.Z)({},pt,{startAdornment:rt})):null]}))]})}))},33872:(t,n,e)=>{"use strict";e.d(n,{Z:()=>s,u:()=>o});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiInputBase",t)}const s=(0,r.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"])},43716:(t,n,e)=>{"use strict";function r(t){return null!=t&&!(Array.isArray(t)&&0===t.length)}function i(t,n=!1){return t&&(r(t.value)&&""!==t.value||n&&r(t.defaultValue)&&""!==t.defaultValue)}function o(t){return t.startAdornment}e.d(n,{B7:()=>o,vd:()=>i})},60962:(t,n,e)=>{"use strict";e.d(n,{Z:()=>m});var r=e(55559),i=e(30984),o=e(66204),s=e(58029),a=e(53583),u=e(92407),c=e(55834),l=e(5723),h=e(25454),f=e(57369),d=e(61125),_=e(90301),p=e(43188);const v=["disableAnimation","margin","shrink","variant","className"],g=(0,d.ZP)(l.Z,{shouldForwardProp:t=>(0,d.FO)(t)||"classes"===t,name:"MuiInputLabel",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`& .${h.Z.asterisk}`]:n.asterisk},n.root,e.formControl&&n.formControl,"small"===e.size&&n.sizeSmall,e.shrink&&n.shrink,!e.disableAnimation&&n.animated,n[e.variant]]}})((({theme:t,ownerState:n})=>(0,i.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},n.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===n.size&&{transform:"translate(0, 17px) scale(1)"},n.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!n.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},"filled"===n.variant&&(0,i.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(12px, 13px) scale(1)"},n.shrink&&(0,i.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===n.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===n.variant&&(0,i.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(14px, 9px) scale(1)"},n.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"})))),m=o.forwardRef((function(t,n){const e=(0,f.Z)({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,shrink:l,className:h}=e,d=(0,r.Z)(e,v),m=(0,c.Z)();let y=l;void 0===y&&m&&(y=m.filled||m.focused||m.adornedStart);const w=(0,u.Z)({props:e,muiFormControl:m,states:["size","variant","required"]}),b=(0,i.Z)({},e,{disableAnimation:o,formControl:m,shrink:y,size:w.size,variant:w.variant,required:w.required}),x=(t=>{const{classes:n,formControl:e,size:r,shrink:o,disableAnimation:a,variant:u,required:c}=t,l={root:["root",e&&"formControl",!a&&"animated",o&&"shrink","small"===r&&"sizeSmall",u],asterisk:[c&&"asterisk"]},h=(0,s.Z)(l,_.Y,n);return(0,i.Z)({},n,h)})(b);return(0,p.jsx)(g,(0,i.Z)({"data-shrink":y,ownerState:b,ref:n,className:(0,a.default)(x.root,h)},d,{classes:x}))}))},97097:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.Z,getInputLabelUtilityClasses:()=>i.Y,inputLabelClasses:()=>i.Z});var r=e(60962),i=e(90301)},90301:(t,n,e)=>{"use strict";e.d(n,{Y:()=>o,Z:()=>s});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiInputLabel",t)}const s=(0,r.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"])},19079:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>C,getLinkUtilityClass:()=>v,linkClasses:()=>g});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(40118),c=e(61125),l=e(57369),h=e(71323),f=e(81597),d=e(80013),_=e(58109),p=e(95201);function v(t){return(0,p.Z)("MuiLink",t)}const g=(0,_.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var m=e(4860),y=e(73330);const w={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},b=({theme:t,ownerState:n})=>{const e=(t=>w[t]||t)(n.color),r=(0,m.DW)(t,`palette.${e}`,!1)||n.color,i=(0,m.DW)(t,`palette.${e}Channel`);return"vars"in t&&i?`rgba(${i} / 0.4)`:(0,y.Fq)(r,.4)};var x=e(43188);const k=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],S=(0,c.ZP)(d.Z,{name:"MuiLink",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[`underline${(0,u.Z)(e.underline)}`],"button"===e.component&&n.button]}})((({theme:t,ownerState:n})=>(0,i.Z)({},"none"===n.underline&&{textDecoration:"none"},"hover"===n.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===n.underline&&(0,i.Z)({textDecoration:"underline"},"inherit"!==n.color&&{textDecorationColor:b({theme:t,ownerState:n})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===n.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${g.focusVisible}`]:{outline:"auto"}}))),C=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiLink"}),{className:c,color:d="primary",component:_="a",onBlur:p,onFocus:g,TypographyClasses:m,underline:y="always",variant:b="inherit",sx:C}=e,$=(0,r.Z)(e,k),{isFocusVisibleRef:E,onBlur:M,onFocus:z,ref:T}=(0,h.Z)(),[j,A]=o.useState(!1),q=(0,f.Z)(n,T),P=(0,i.Z)({},e,{color:d,component:_,focusVisible:j,underline:y,variant:b}),R=(t=>{const{classes:n,component:e,focusVisible:r,underline:i}=t,o={root:["root",`underline${(0,u.Z)(i)}`,"button"===e&&"button",r&&"focusVisible"]};return(0,a.Z)(o,v,n)})(P);return(0,x.jsx)(S,(0,i.Z)({color:d,className:(0,s.default)(R.root,c),classes:m,component:_,onBlur:t=>{M(t),!1===E.current&&A(!1),p&&p(t)},onFocus:t=>{z(t),!0===E.current&&A(!0),g&&g(t)},ref:q,ownerState:P,variant:b,sx:[...Object.keys(w).includes(d)?[]:[{color:d}],...Array.isArray(C)?C:[C]]},$))}))},86600:(t,n,e)=>{"use strict";e.d(n,{Z:()=>p});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(61125),c=e(57369),l=e(5524),h=e(37711),f=e(43188);const d=["children","className","component","dense","disablePadding","subheader"],_=(0,u.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,!e.disablePadding&&n.padding,e.dense&&n.dense,e.subheader&&n.subheader]}})((({ownerState:t})=>(0,i.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0}))),p=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiList"}),{children:u,className:p,component:v="ul",dense:g=!1,disablePadding:m=!1,subheader:y}=e,w=(0,r.Z)(e,d),b=o.useMemo((()=>({dense:g})),[g]),x=(0,i.Z)({},e,{component:v,dense:g,disablePadding:m}),k=(t=>{const{classes:n,disablePadding:e,dense:r,subheader:i}=t,o={root:["root",!e&&"padding",r&&"dense",i&&"subheader"]};return(0,a.Z)(o,h.z,n)})(x);return(0,f.jsx)(l.Z.Provider,{value:b,children:(0,f.jsxs)(_,(0,i.Z)({as:v,className:(0,s.default)(k.root,p),ref:n,ownerState:x},w,{children:[y,u]}))})}))},5524:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=e(66204).createContext({})},15795:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.Z,getListUtilityClass:()=>i.z,listClasses:()=>i.Z});var r=e(86600),i=e(37711)},37711:(t,n,e)=>{"use strict";e.d(n,{Z:()=>s,z:()=>o});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiList",t)}const s=(0,r.Z)("MuiList",["root","padding","dense","subheader"])},1662:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>A,getListItemUtilityClass:()=>y,listItemClasses:()=>w});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(38094),c=e(73330),l=e(61125),h=e(57369),f=e(52983),d=e(6842),_=e(5429),p=e(81597),v=e(5524),g=e(58109),m=e(95201);function y(t){return(0,m.Z)("MuiListItem",t)}const w=(0,g.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);var b=e(481);function x(t){return(0,m.Z)("MuiListItemSecondaryAction",t)}(0,g.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);var k=e(43188);const S=["className"],C=(0,l.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.disableGutters&&n.disableGutters]}})((({ownerState:t})=>(0,i.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},t.disableGutters&&{right:0}))),$=o.forwardRef((function(t,n){const e=(0,h.Z)({props:t,name:"MuiListItemSecondaryAction"}),{className:u}=e,c=(0,r.Z)(e,S),l=o.useContext(v.Z),f=(0,i.Z)({},e,{disableGutters:l.disableGutters}),d=(t=>{const{disableGutters:n,classes:e}=t,r={root:["root",n&&"disableGutters"]};return(0,a.Z)(r,x,e)})(f);return(0,k.jsx)(C,(0,i.Z)({className:(0,s.default)(d.root,u),ownerState:f,ref:n},c))}));$.muiName="ListItemSecondaryAction";const E=$,M=["className"],z=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],T=(0,l.ZP)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.dense&&n.dense,"flex-start"===e.alignItems&&n.alignItemsFlexStart,e.divider&&n.divider,!e.disableGutters&&n.gutters,!e.disablePadding&&n.padding,e.button&&n.button,e.hasSecondaryAction&&n.secondaryAction]}})((({theme:t,ownerState:n})=>(0,i.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!n.disablePadding&&(0,i.Z)({paddingTop:8,paddingBottom:8},n.dense&&{paddingTop:4,paddingBottom:4},!n.disableGutters&&{paddingLeft:16,paddingRight:16},!!n.secondaryAction&&{paddingRight:48}),!!n.secondaryAction&&{[`& > .${b.Z.root}`]:{paddingRight:48}},{[`&.${w.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${w.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,c.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${w.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,c.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${w.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},"flex-start"===n.alignItems&&{alignItems:"flex-start"},n.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},n.button&&{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${w.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,c.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,c.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity)}}},n.hasSecondaryAction&&{paddingRight:48}))),j=(0,l.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(t,n)=>n.container})({position:"relative"}),A=o.forwardRef((function(t,n){const e=(0,h.Z)({props:t,name:"MuiListItem"}),{alignItems:c="center",autoFocus:l=!1,button:g=!1,children:m,className:b,component:x,components:S={},componentsProps:C={},ContainerComponent:$="li",ContainerProps:{className:A}={},dense:q=!1,disabled:P=!1,disableGutters:R=!1,disablePadding:L=!1,divider:O=!1,focusVisibleClassName:I,secondaryAction:D,selected:N=!1,slotProps:B={},slots:F={}}=e,U=(0,r.Z)(e.ContainerProps,M),H=(0,r.Z)(e,z),G=o.useContext(v.Z),W=o.useMemo((()=>({dense:q||G.dense||!1,alignItems:c,disableGutters:R})),[c,G.dense,q,R]),V=o.useRef(null);(0,_.Z)((()=>{l&&V.current&&V.current.focus()}),[l]);const Z=o.Children.toArray(m),X=Z.length&&(0,d.Z)(Z[Z.length-1],["ListItemSecondaryAction"]),Y=(0,i.Z)({},e,{alignItems:c,autoFocus:l,button:g,dense:W.dense,disabled:P,disableGutters:R,disablePadding:L,divider:O,hasSecondaryAction:X,selected:N}),K=(t=>{const{alignItems:n,button:e,classes:r,dense:i,disabled:o,disableGutters:s,disablePadding:u,divider:c,hasSecondaryAction:l,selected:h}=t,f={root:["root",i&&"dense",!s&&"gutters",!u&&"padding",c&&"divider",o&&"disabled",e&&"button","flex-start"===n&&"alignItemsFlexStart",l&&"secondaryAction",h&&"selected"],container:["container"]};return(0,a.Z)(f,y,r)})(Y),J=(0,p.Z)(V,n),Q=F.root||S.Root||T,tt=B.root||C.root||{},nt=(0,i.Z)({className:(0,s.default)(K.root,tt.className,b),disabled:P},H);let et=x||"li";return g&&(nt.component=x||"div",nt.focusVisibleClassName=(0,s.default)(w.focusVisible,I),et=f.Z),X?(et=nt.component||x?et:"div","li"===$&&("li"===et?et="div":"li"===nt.component&&(nt.component="div")),(0,k.jsx)(v.Z.Provider,{value:W,children:(0,k.jsxs)(j,(0,i.Z)({as:$,className:(0,s.default)(K.container,A),ref:J,ownerState:Y},U,{children:[(0,k.jsx)(Q,(0,i.Z)({},tt,!(0,u.Z)(Q)&&{as:et,ownerState:(0,i.Z)({},Y,tt.ownerState)},nt,{children:Z})),Z.pop()]}))})):(0,k.jsx)(v.Z.Provider,{value:W,children:(0,k.jsxs)(Q,(0,i.Z)({},tt,{as:et,ref:J},!(0,u.Z)(Q)&&{ownerState:(0,i.Z)({},Y,tt.ownerState)},nt,{children:[Z,D&&(0,k.jsx)(E,{children:D})]}))})}))},40837:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>y,getListItemButtonUtilityClass:()=>p.t,listItemButtonClasses:()=>p.Z});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(73330),c=e(61125),l=e(57369),h=e(52983),f=e(5429),d=e(81597),_=e(5524),p=e(481),v=e(43188);const g=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],m=(0,c.ZP)(h.Z,{shouldForwardProp:t=>(0,c.FO)(t)||"classes"===t,name:"MuiListItemButton",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.dense&&n.dense,"flex-start"===e.alignItems&&n.alignItemsFlexStart,e.divider&&n.divider,!e.disableGutters&&n.gutters]}})((({theme:t,ownerState:n})=>(0,i.Z)({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${p.Z.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,u.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${p.Z.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,u.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${p.Z.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,u.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,u.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${p.Z.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${p.Z.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},n.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},"flex-start"===n.alignItems&&{alignItems:"flex-start"},!n.disableGutters&&{paddingLeft:16,paddingRight:16},n.dense&&{paddingTop:4,paddingBottom:4}))),y=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiListItemButton"}),{alignItems:u="center",autoFocus:c=!1,component:h="div",children:y,dense:w=!1,disableGutters:b=!1,divider:x=!1,focusVisibleClassName:k,selected:S=!1,className:C}=e,$=(0,r.Z)(e,g),E=o.useContext(_.Z),M=o.useMemo((()=>({dense:w||E.dense||!1,alignItems:u,disableGutters:b})),[u,E.dense,w,b]),z=o.useRef(null);(0,f.Z)((()=>{c&&z.current&&z.current.focus()}),[c]);const T=(0,i.Z)({},e,{alignItems:u,dense:M.dense,disableGutters:b,divider:x,selected:S}),j=(t=>{const{alignItems:n,classes:e,dense:r,disabled:o,disableGutters:s,divider:u,selected:c}=t,l={root:["root",r&&"dense",!s&&"gutters",u&&"divider",o&&"disabled","flex-start"===n&&"alignItemsFlexStart",c&&"selected"]},h=(0,a.Z)(l,p.t,e);return(0,i.Z)({},e,h)})(T),A=(0,d.Z)(z,n);return(0,v.jsx)(_.Z.Provider,{value:M,children:(0,v.jsx)(m,(0,i.Z)({ref:A,href:$.href||$.to,component:($.href||$.to)&&"div"===h?"button":h,focusVisibleClassName:(0,s.default)(j.focusVisible,k),ownerState:T,className:(0,s.default)(j.root,C)},$,{classes:j,children:y}))})}))},481:(t,n,e)=>{"use strict";e.d(n,{Z:()=>s,t:()=>o});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiListItemButton",t)}const s=(0,r.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"])},31913:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>p,getListItemIconUtilityClass:()=>l.f,listItemIconClasses:()=>l.Z});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(61125),c=e(57369),l=e(87017),h=e(5524),f=e(43188);const d=["className"],_=(0,u.ZP)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,"flex-start"===e.alignItems&&n.alignItemsFlexStart]}})((({theme:t,ownerState:n})=>(0,i.Z)({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===n.alignItems&&{marginTop:8}))),p=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiListItemIcon"}),{className:u}=e,p=(0,r.Z)(e,d),v=o.useContext(h.Z),g=(0,i.Z)({},e,{alignItems:v.alignItems}),m=(t=>{const{alignItems:n,classes:e}=t,r={root:["root","flex-start"===n&&"alignItemsFlexStart"]};return(0,a.Z)(r,l.f,e)})(g);return(0,f.jsx)(_,(0,i.Z)({className:(0,s.default)(m.root,u),ownerState:g,ref:n},p))}))},87017:(t,n,e)=>{"use strict";e.d(n,{Z:()=>s,f:()=>o});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiListItemIcon",t)}const s=(0,r.Z)("MuiListItemIcon",["root","alignItemsFlexStart"])},3306:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>v,getListItemTextUtilityClass:()=>f.L,listItemTextClasses:()=>f.Z});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(80013),c=e(5524),l=e(57369),h=e(61125),f=e(99700),d=e(43188);const _=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],p=(0,h.ZP)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`& .${f.Z.primary}`]:n.primary},{[`& .${f.Z.secondary}`]:n.secondary},n.root,e.inset&&n.inset,e.primary&&e.secondary&&n.multiline,e.dense&&n.dense]}})((({ownerState:t})=>(0,i.Z)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56}))),v=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiListItemText"}),{children:h,className:v,disableTypography:g=!1,inset:m=!1,primary:y,primaryTypographyProps:w,secondary:b,secondaryTypographyProps:x}=e,k=(0,r.Z)(e,_),{dense:S}=o.useContext(c.Z);let C=null!=y?y:h,$=b;const E=(0,i.Z)({},e,{disableTypography:g,inset:m,primary:!!C,secondary:!!$,dense:S}),M=(t=>{const{classes:n,inset:e,primary:r,secondary:i,dense:o}=t,s={root:["root",e&&"inset",o&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,a.Z)(s,f.L,n)})(E);return null==C||C.type===u.Z||g||(C=(0,d.jsx)(u.Z,(0,i.Z)({variant:S?"body2":"body1",className:M.primary,component:null!=w&&w.variant?void 0:"span",display:"block"},w,{children:C}))),null==$||$.type===u.Z||g||($=(0,d.jsx)(u.Z,(0,i.Z)({variant:"body2",className:M.secondary,color:"text.secondary",display:"block"},x,{children:$}))),(0,d.jsxs)(p,(0,i.Z)({className:(0,s.default)(M.root,v),ownerState:E,ref:n},k,{children:[C,$]}))}))},99700:(t,n,e)=>{"use strict";e.d(n,{L:()=>o,Z:()=>s});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiListItemText",t)}const s=(0,r.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"])},35943:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>y,getListSubheaderUtilityClass:()=>d,listSubheaderClasses:()=>_});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(61125),c=e(57369),l=e(40118),h=e(58109),f=e(95201);function d(t){return(0,f.Z)("MuiListSubheader",t)}const _=(0,h.Z)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var p=e(43188);const v=["className","color","component","disableGutters","disableSticky","inset"],g=(0,u.ZP)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,"default"!==e.color&&n[`color${(0,l.Z)(e.color)}`],!e.disableGutters&&n.gutters,e.inset&&n.inset,!e.disableSticky&&n.sticky]}})((({theme:t,ownerState:n})=>(0,i.Z)({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(t.vars||t).palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14)},"primary"===n.color&&{color:(t.vars||t).palette.primary.main},"inherit"===n.color&&{color:"inherit"},!n.disableGutters&&{paddingLeft:16,paddingRight:16},n.inset&&{paddingLeft:72},!n.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(t.vars||t).palette.background.paper}))),m=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiListSubheader"}),{className:o,color:u="default",component:h="li",disableGutters:f=!1,disableSticky:_=!1,inset:m=!1}=e,y=(0,r.Z)(e,v),w=(0,i.Z)({},e,{color:u,component:h,disableGutters:f,disableSticky:_,inset:m}),b=(t=>{const{classes:n,color:e,disableGutters:r,inset:i,disableSticky:o}=t,s={root:["root","default"!==e&&`color${(0,l.Z)(e)}`,!r&&"gutters",i&&"inset",!o&&"sticky"]};return(0,a.Z)(s,d,n)})(w);return(0,p.jsx)(g,(0,i.Z)({as:h,className:(0,s.default)(b.root,o),ref:n,ownerState:w},y))}));m.muiSkipListHighlight=!0;const y=m},54617:(t,n,e)=>{"use strict";e.d(n,{Z:()=>x});var r=e(30984),i=e(55559),o=e(66204),s=(e(5356),e(53583)),a=e(58029),u=e(21174),c=e(64883),l=e(61125),h=e(92368),f=e(57369),d=e(55373),_=e(43188);const p=["onEntering"],v=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],g={vertical:"top",horizontal:"right"},m={vertical:"top",horizontal:"left"},y=(0,l.ZP)(c.ZP,{shouldForwardProp:t=>(0,l.FO)(t)||"classes"===t,name:"MuiMenu",slot:"Root",overridesResolver:(t,n)=>n.root})({}),w=(0,l.ZP)(c.XS,{name:"MuiMenu",slot:"Paper",overridesResolver:(t,n)=>n.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),b=(0,l.ZP)(u.Z,{name:"MuiMenu",slot:"List",overridesResolver:(t,n)=>n.list})({outline:0}),x=o.forwardRef((function(t,n){const e=(0,f.Z)({props:t,name:"MuiMenu"}),{autoFocus:u=!0,children:c,disableAutoFocusItem:l=!1,MenuListProps:x={},onClose:k,open:S,PaperProps:C={},PopoverClasses:$,transitionDuration:E="auto",TransitionProps:{onEntering:M}={},variant:z="selectedMenu"}=e,T=(0,i.Z)(e.TransitionProps,p),j=(0,i.Z)(e,v),A=(0,h.default)(),q="rtl"===A.direction,P=(0,r.Z)({},e,{autoFocus:u,disableAutoFocusItem:l,MenuListProps:x,onEntering:M,PaperProps:C,transitionDuration:E,TransitionProps:T,variant:z}),R=(t=>{const{classes:n}=t;return(0,a.Z)({root:["root"],paper:["paper"],list:["list"]},d.Q,n)})(P),L=u&&!l&&S,O=o.useRef(null);let I=-1;return o.Children.map(c,((t,n)=>{o.isValidElement(t)&&(t.props.disabled||("selectedMenu"===z&&t.props.selected||-1===I)&&(I=n))})),(0,_.jsx)(y,(0,r.Z)({onClose:k,anchorOrigin:{vertical:"bottom",horizontal:q?"right":"left"},transformOrigin:q?g:m,slots:{paper:w},slotProps:{paper:(0,r.Z)({},C,{classes:(0,r.Z)({},C.classes,{root:R.paper})})},className:R.root,open:S,ref:n,transitionDuration:E,TransitionProps:(0,r.Z)({onEntering:(t,n)=>{O.current&&O.current.adjustStyleForScrollbar(t,A),M&&M(t,n)}},T),ownerState:P},j,{classes:$,children:(0,_.jsx)(b,(0,r.Z)({onKeyDown:t=>{"Tab"===t.key&&(t.preventDefault(),k&&k(t,"tabKeyDown"))},actions:O,autoFocus:u&&(-1===I||l),autoFocusItem:L,variant:z},x,{className:(0,s.default)(R.list,x.className),children:c}))}))}))},85212:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.Z,getMenuUtilityClass:()=>i.Q,menuClasses:()=>i.Z});var r=e(54617),i=e(55373)},55373:(t,n,e)=>{"use strict";e.d(n,{Q:()=>o,Z:()=>s});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiMenu",t)}const s=(0,r.Z)("MuiMenu",["root","paper","list"])},19453:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>C,getMenuItemUtilityClass:()=>w,menuItemClasses:()=>b});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(73330),c=e(61125),l=e(57369),h=e(5524),f=e(52983),d=e(5429),_=e(81597),p=e(92165),v=e(87017),g=e(99700),m=e(58109),y=e(95201);function w(t){return(0,y.Z)("MuiMenuItem",t)}const b=(0,m.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var x=e(43188);const k=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],S=(0,c.ZP)(f.Z,{shouldForwardProp:t=>(0,c.FO)(t)||"classes"===t,name:"MuiMenuItem",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.dense&&n.dense,e.divider&&n.divider,!e.disableGutters&&n.gutters]}})((({theme:t,ownerState:n})=>(0,i.Z)({},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 ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${b.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,u.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${b.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:(0,u.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${b.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,u.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,u.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${b.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${b.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`& + .${p.Z.root}`]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},[`& + .${p.Z.inset}`]:{marginLeft:52},[`& .${g.Z.root}`]:{marginTop:0,marginBottom:0},[`& .${g.Z.inset}`]:{paddingLeft:36},[`& .${v.Z.root}`]:{minWidth:36}},!n.dense&&{[t.breakpoints.up("sm")]:{minHeight:"auto"}},n.dense&&(0,i.Z)({minHeight:32,paddingTop:4,paddingBottom:4},t.typography.body2,{[`& .${v.Z.root} svg`]:{fontSize:"1.25rem"}})))),C=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiMenuItem"}),{autoFocus:u=!1,component:c="li",dense:f=!1,divider:p=!1,disableGutters:v=!1,focusVisibleClassName:g,role:m="menuitem",tabIndex:y,className:b}=e,C=(0,r.Z)(e,k),$=o.useContext(h.Z),E=o.useMemo((()=>({dense:f||$.dense||!1,disableGutters:v})),[$.dense,f,v]),M=o.useRef(null);(0,d.Z)((()=>{u&&M.current&&M.current.focus()}),[u]);const z=(0,i.Z)({},e,{dense:E.dense,divider:p,disableGutters:v}),T=(t=>{const{disabled:n,dense:e,divider:r,disableGutters:o,selected:s,classes:u}=t,c={root:["root",e&&"dense",n&&"disabled",!o&&"gutters",r&&"divider",s&&"selected"]},l=(0,a.Z)(c,w,u);return(0,i.Z)({},u,l)})(e),j=(0,_.Z)(M,n);let A;return e.disabled||(A=void 0!==y?y:-1),(0,x.jsx)(h.Z.Provider,{value:E,children:(0,x.jsx)(S,(0,i.Z)({ref:j,role:m,tabIndex:A,component:c,focusVisibleClassName:(0,s.default)(T.focusVisible,g),className:(0,s.default)(T.root,b)},C,{ownerState:z,classes:T}))})}))},21174:(t,n,e)=>{"use strict";e.d(n,{Z:()=>g});var r=e(30984),i=e(55559),o=e(66204),s=(e(5356),e(60617)),a=e(86600);const u=e(35802).Z;var c=e(81597),l=e(5429),h=e(43188);const f=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function d(t,n,e){return t===n?t.firstChild:n&&n.nextElementSibling?n.nextElementSibling:e?null:t.firstChild}function _(t,n,e){return t===n?e?t.firstChild:t.lastChild:n&&n.previousElementSibling?n.previousElementSibling:e?null:t.lastChild}function p(t,n){if(void 0===n)return!0;let e=t.innerText;return void 0===e&&(e=t.textContent),e=e.trim().toLowerCase(),0!==e.length&&(n.repeating?e[0]===n.keys[0]:0===e.indexOf(n.keys.join("")))}function v(t,n,e,r,i,o){let s=!1,a=i(t,n,!!n&&e);for(;a;){if(a===t.firstChild){if(s)return!1;s=!0}const n=!r&&(a.disabled||"true"===a.getAttribute("aria-disabled"));if(a.hasAttribute("tabindex")&&p(a,o)&&!n)return a.focus(),!0;a=i(t,a,e)}return!1}const g=o.forwardRef((function(t,n){const{actions:e,autoFocus:g=!1,autoFocusItem:m=!1,children:y,className:w,disabledItemsFocusable:b=!1,disableListWrap:x=!1,onKeyDown:k,variant:S="selectedMenu"}=t,C=(0,i.Z)(t,f),$=o.useRef(null),E=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,l.Z)((()=>{g&&$.current.focus()}),[g]),o.useImperativeHandle(e,(()=>({adjustStyleForScrollbar:(t,n)=>{const e=!$.current.style.width;if(t.clientHeight<$.current.clientHeight&&e){const e=`${u((0,s.Z)(t))}px`;$.current.style["rtl"===n.direction?"paddingLeft":"paddingRight"]=e,$.current.style.width=`calc(100% + ${e})`}return $.current}})),[]);const M=(0,c.Z)($,n);let z=-1;o.Children.forEach(y,((t,n)=>{o.isValidElement(t)?(t.props.disabled||("selectedMenu"===S&&t.props.selected||-1===z)&&(z=n),z===n&&(t.props.disabled||t.props.muiSkipListHighlight||t.type.muiSkipListHighlight)&&(z+=1,z>=y.length&&(z=-1))):z===n&&(z+=1,z>=y.length&&(z=-1))}));const T=o.Children.map(y,((t,n)=>{if(n===z){const n={};return m&&(n.autoFocus=!0),void 0===t.props.tabIndex&&"selectedMenu"===S&&(n.tabIndex=0),o.cloneElement(t,n)}return t}));return(0,h.jsx)(a.Z,(0,r.Z)({role:"menu",ref:M,className:w,onKeyDown:t=>{const n=$.current,e=t.key,r=(0,s.Z)(n).activeElement;if("ArrowDown"===e)t.preventDefault(),v(n,r,x,b,d);else if("ArrowUp"===e)t.preventDefault(),v(n,r,x,b,_);else if("Home"===e)t.preventDefault(),v(n,null,x,b,d);else if("End"===e)t.preventDefault(),v(n,null,x,b,_);else if(1===e.length){const i=E.current,o=e.toLowerCase(),s=performance.now();i.keys.length>0&&(s-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=s,i.keys.push(o);const a=r&&!i.repeating&&p(r,i);i.previousKeyMatched&&(a||v(n,r,!1,b,d,i))?t.preventDefault():i.previousKeyMatched=!1}k&&k(t)},tabIndex:g?0:-1},C,{children:T}))}))},24511:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.Z});var r=e(21174)},42727:(t,n,e)=>{"use strict";e.d(n,{Z:()=>B,W:()=>I});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58109),u=e(95201);function c(t){return(0,u.Z)("MuiModal",t)}const l=(0,a.Z)("MuiModal",["root","hidden","backdrop"]);var h=e(52682),f=e(26074),d=e(76734),_=e(74603),p=e(58029),v=e(42457),g=e(40401),m=e(513),y=e(43188);const w=o.forwardRef((function(t,n){const{children:e,container:r,disablePortal:i=!1}=t,[s,a]=o.useState(null),u=(0,h.Z)(o.isValidElement(e)?e.ref:null,n);if((0,g.Z)((()=>{i||a(function(t){return"function"==typeof t?t():t}(r)||document.body)}),[r,i]),(0,g.Z)((()=>{if(s&&!i)return(0,m.Z)(n,s),()=>{(0,m.Z)(n,null)}}),[n,s,i]),i){if(o.isValidElement(e)){const t={ref:u};return o.cloneElement(e,t)}return(0,y.jsx)(o.Fragment,{children:e})}return(0,y.jsx)(o.Fragment,{children:s?v.createPortal(e,s):s})}));var b=e(29332);const x=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function k(t){const n=[],e=[];return Array.from(t.querySelectorAll(x)).forEach(((t,r)=>{const i=function(t){const n=parseInt(t.getAttribute("tabindex")||"",10);return Number.isNaN(n)?"true"===t.contentEditable||("AUDIO"===t.nodeName||"VIDEO"===t.nodeName||"DETAILS"===t.nodeName)&&null===t.getAttribute("tabindex")?0:t.tabIndex:n}(t);-1!==i&&function(t){return!(t.disabled||"INPUT"===t.tagName&&"hidden"===t.type||function(t){if("INPUT"!==t.tagName||"radio"!==t.type)return!1;if(!t.name)return!1;const n=n=>t.ownerDocument.querySelector(`input[type="radio"]${n}`);let e=n(`[name="${t.name}"]:checked`);return e||(e=n(`[name="${t.name}"]`)),e!==t}(t))}(t)&&(0===i?n.push(t):e.push({documentOrder:r,tabIndex:i,node:t}))})),e.sort(((t,n)=>t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex)).map((t=>t.node)).concat(n)}function S(){return!0}const C=function(t){const{children:n,disableAutoFocus:e=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:s=k,isEnabled:a=S,open:u}=t,c=o.useRef(!1),l=o.useRef(null),d=o.useRef(null),_=o.useRef(null),p=o.useRef(null),v=o.useRef(!1),g=o.useRef(null),m=(0,h.Z)(n.ref,g),w=o.useRef(null);o.useEffect((()=>{u&&g.current&&(v.current=!e)}),[e,u]),o.useEffect((()=>{if(!u||!g.current)return;const t=(0,f.Z)(g.current);return g.current.contains(t.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex","-1"),v.current&&g.current.focus()),()=>{i||(_.current&&_.current.focus&&(c.current=!0,_.current.focus()),_.current=null)}}),[u]),o.useEffect((()=>{if(!u||!g.current)return;const t=(0,f.Z)(g.current),n=n=>{const{current:e}=g;if(null!==e)if(t.hasFocus()&&!r&&a()&&!c.current){if(!e.contains(t.activeElement)){if(n&&p.current!==n.target||t.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!v.current)return;let r=[];if(t.activeElement!==l.current&&t.activeElement!==d.current||(r=s(g.current)),r.length>0){var i,o;const t=Boolean((null==(i=w.current)?void 0:i.shiftKey)&&"Tab"===(null==(o=w.current)?void 0:o.key)),n=r[0],e=r[r.length-1];"string"!=typeof n&&"string"!=typeof e&&(t?e.focus():n.focus())}else e.focus()}}else c.current=!1},e=n=>{w.current=n,!r&&a()&&"Tab"===n.key&&t.activeElement===g.current&&n.shiftKey&&(c.current=!0,d.current&&d.current.focus())};t.addEventListener("focusin",n),t.addEventListener("keydown",e,!0);const i=setInterval((()=>{t.activeElement&&"BODY"===t.activeElement.tagName&&n(null)}),50);return()=>{clearInterval(i),t.removeEventListener("focusin",n),t.removeEventListener("keydown",e,!0)}}),[e,r,i,a,u,s]);const b=t=>{null===_.current&&(_.current=t.relatedTarget),v.current=!0};return(0,y.jsxs)(o.Fragment,{children:[(0,y.jsx)("div",{tabIndex:u?0:-1,onFocus:b,ref:l,"data-testid":"sentinelStart"}),o.cloneElement(n,{ref:m,onFocus:t=>{null===_.current&&(_.current=t.relatedTarget),v.current=!0,p.current=t.target;const e=n.props.onFocus;e&&e(t)}}),(0,y.jsx)("div",{tabIndex:u?0:-1,onFocus:b,ref:d,"data-testid":"sentinelEnd"})]})};var $=e(98858);const E={disableDefaultClasses:!1},M=o.createContext(E),z=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],T=new b.Z,j=o.forwardRef((function(t,n){var e,s;const{children:a,closeAfterTransition:u=!1,container:l,disableAutoFocus:v=!1,disableEnforceFocus:g=!1,disableEscapeKeyDown:m=!1,disablePortal:x=!1,disableRestoreFocus:k=!1,disableScrollLock:S=!1,hideBackdrop:E=!1,keepMounted:j=!1,manager:A=T,onBackdropClick:q,onClose:P,onKeyDown:R,open:L,onTransitionEnter:O,onTransitionExited:I,slotProps:D={},slots:N={}}=t,B=(0,r.Z)(t,z),F=A,[U,H]=o.useState(!L),G=o.useRef({}),W=o.useRef(null),V=o.useRef(null),Z=(0,h.Z)(V,n),X=function(t){return!!t&&t.props.hasOwnProperty("in")}(a),Y=null==(e=t["aria-hidden"])||e,K=()=>(G.current.modalRef=V.current,G.current.mountNode=W.current,G.current),J=()=>{F.mount(K(),{disableScrollLock:S}),V.current&&(V.current.scrollTop=0)},Q=(0,d.Z)((()=>{const t=function(t){return"function"==typeof t?t():t}(l)||(0,f.Z)(W.current).body;F.add(K(),t),V.current&&J()})),tt=o.useCallback((()=>F.isTopModal(K())),[F]),nt=(0,d.Z)((t=>{W.current=t,t&&V.current&&(L&&tt()?J():(0,b.G)(V.current,Y))})),et=o.useCallback((()=>{F.remove(K(),Y)}),[F,Y]);o.useEffect((()=>()=>{et()}),[et]),o.useEffect((()=>{L?Q():X&&u||et()}),[L,et,X,u,Q]);const rt=(0,i.Z)({},t,{closeAfterTransition:u,disableAutoFocus:v,disableEnforceFocus:g,disableEscapeKeyDown:m,disablePortal:x,disableRestoreFocus:k,disableScrollLock:S,exited:U,hideBackdrop:E,keepMounted:j}),it=(t=>{const{open:n,exited:e}=t,r={root:["root",!n&&e&&"hidden"],backdrop:["backdrop"]};return(0,p.Z)(r,function(t){const{disableDefaultClasses:n}=o.useContext(M);return e=>n?"":t(e)}(c))})(rt),ot={};void 0===a.props.tabIndex&&(ot.tabIndex="-1"),X&&(ot.onEnter=(0,_.Z)((()=>{H(!1),O&&O()}),a.props.onEnter),ot.onExited=(0,_.Z)((()=>{H(!0),I&&I(),u&&et()}),a.props.onExited));const st=null!=(s=N.root)?s:"div",at=(0,$.Z)({elementType:st,externalSlotProps:D.root,externalForwardedProps:B,additionalProps:{ref:Z,role:"presentation",onKeyDown:t=>{R&&R(t),"Escape"===t.key&&tt()&&(m||(t.stopPropagation(),P&&P(t,"escapeKeyDown")))}},className:it.root,ownerState:rt}),ut=N.backdrop,ct=(0,$.Z)({elementType:ut,externalSlotProps:D.backdrop,additionalProps:{"aria-hidden":!0,onClick:t=>{t.target===t.currentTarget&&(q&&q(t),P&&P(t,"backdropClick"))},open:L},className:it.backdrop,ownerState:rt});return j||L||X&&!U?(0,y.jsx)(w,{ref:nt,container:l,disablePortal:x,children:(0,y.jsxs)(st,(0,i.Z)({},at,{children:[!E&&ut?(0,y.jsx)(ut,(0,i.Z)({},ct)):null,(0,y.jsx)(C,{disableEnforceFocus:g,disableAutoFocus:v,disableRestoreFocus:k,isEnabled:tt,open:L,children:o.cloneElement(a,ot)})]}))}):null}));var A=e(34582),q=e(38094),P=e(61125),R=e(57369),L=e(8570);const O=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],I=l,D=(0,P.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,!e.open&&e.exited&&n.hidden]}})((({theme:t,ownerState:n})=>(0,i.Z)({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"}))),N=(0,P.ZP)(L.Z,{name:"MuiModal",slot:"Backdrop",overridesResolver:(t,n)=>n.backdrop})({zIndex:-1}),B=o.forwardRef((function(t,n){var e,a,u,c,l,h;const f=(0,R.Z)({name:"MuiModal",props:t}),{BackdropComponent:d=N,BackdropProps:_,classes:p,className:v,closeAfterTransition:g=!1,children:m,container:w,component:b,components:x={},componentsProps:k={},disableAutoFocus:S=!1,disableEnforceFocus:C=!1,disableEscapeKeyDown:$=!1,disablePortal:E=!1,disableRestoreFocus:M=!1,disableScrollLock:z=!1,hideBackdrop:T=!1,keepMounted:P=!1,onBackdropClick:L,onClose:I,open:B,slotProps:F,slots:U,theme:H}=f,G=(0,r.Z)(f,O),[W,V]=o.useState(!0),Z={container:w,closeAfterTransition:g,disableAutoFocus:S,disableEnforceFocus:C,disableEscapeKeyDown:$,disablePortal:E,disableRestoreFocus:M,disableScrollLock:z,hideBackdrop:T,keepMounted:P,onBackdropClick:L,onClose:I,open:B},X=(0,i.Z)({},f,Z,{exited:W}),Y=null!=(e=null!=(a=null==U?void 0:U.root)?a:x.Root)?e:D,K=null!=(u=null!=(c=null==U?void 0:U.backdrop)?c:x.Backdrop)?u:d,J=null!=(l=null==F?void 0:F.root)?l:k.root,Q=null!=(h=null==F?void 0:F.backdrop)?h:k.backdrop;return(0,y.jsx)(j,(0,i.Z)({slots:{root:Y,backdrop:K},slotProps:{root:()=>(0,i.Z)({},(0,A.Z)(J,X),!(0,q.Z)(Y)&&{as:b,theme:H},{className:(0,s.default)(v,null==J?void 0:J.className,null==p?void 0:p.root,!X.open&&X.exited&&(null==p?void 0:p.hidden))}),backdrop:()=>(0,i.Z)({},_,(0,A.Z)(Q,X),{className:(0,s.default)(null==Q?void 0:Q.className,null==_?void 0:_.className,null==p?void 0:p.backdrop)})},onTransitionEnter:()=>V(!1),onTransitionExited:()=>V(!0),ref:n},G,Z,{children:m}))}))},88976:(t,n,e)=>{"use strict";e.r(n),e.d(n,{ModalManager:()=>r.Z,default:()=>i.Z,modalClasses:()=>i.W});var r=e(29332),i=e(42727)},20713:(t,n,e)=>{"use strict";e.d(n,{Z:()=>E});var r,i=e(55559),o=e(30984),s=e(66204),a=e(58029),u=e(61125),c=e(43188);const l=["children","classes","className","label","notched"],h=(0,u.ZP)("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),f=(0,u.ZP)("legend")((({ownerState:t,theme:n})=>(0,o.Z)({float:"unset",width:"auto",overflow:"hidden"},!t.withLabel&&{padding:0,lineHeight:"11px",transition:n.transitions.create("width",{duration:150,easing:n.transitions.easing.easeOut})},t.withLabel&&(0,o.Z)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:n.transitions.create("max-width",{duration:50,easing:n.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:n.transitions.create("max-width",{duration:100,easing:n.transitions.easing.easeOut,delay:50})}))));var d=e(55834),_=e(92407),p=e(58109),v=e(95201),g=e(33872);function m(t){return(0,v.Z)("MuiOutlinedInput",t)}const y=(0,o.Z)({},g.Z,(0,p.Z)("MuiOutlinedInput",["root","notchedOutline","input"]));var w=e(12303),b=e(57369);const x=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],k=(0,u.ZP)(w.Ej,{shouldForwardProp:t=>(0,u.FO)(t)||"classes"===t,name:"MuiOutlinedInput",slot:"Root",overridesResolver:w.Gx})((({theme:t,ownerState:n})=>{const e="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,o.Z)({position:"relative",borderRadius:(t.vars||t).shape.borderRadius,[`&:hover .${y.notchedOutline}`]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{[`&:hover .${y.notchedOutline}`]:{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:e}},[`&.${y.focused} .${y.notchedOutline}`]:{borderColor:(t.vars||t).palette[n.color].main,borderWidth:2},[`&.${y.error} .${y.notchedOutline}`]:{borderColor:(t.vars||t).palette.error.main},[`&.${y.disabled} .${y.notchedOutline}`]:{borderColor:(t.vars||t).palette.action.disabled}},n.startAdornment&&{paddingLeft:14},n.endAdornment&&{paddingRight:14},n.multiline&&(0,o.Z)({padding:"16.5px 14px"},"small"===n.size&&{padding:"8.5px 14px"}))})),S=(0,u.ZP)((function(t){const{className:n,label:e,notched:s}=t,a=(0,i.Z)(t,l),u=null!=e&&""!==e,d=(0,o.Z)({},t,{notched:s,withLabel:u});return(0,c.jsx)(h,(0,o.Z)({"aria-hidden":!0,className:n,ownerState:d},a,{children:(0,c.jsx)(f,{ownerState:d,children:u?(0,c.jsx)("span",{children:e}):r||(r=(0,c.jsx)("span",{className:"notranslate",children:"​"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(t,n)=>n.notchedOutline})((({theme:t})=>{const n="light"===t.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:n}})),C=(0,u.ZP)(w.rA,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:w._o})((({theme:t,ownerState:n})=>(0,o.Z)({padding:"16.5px 14px"},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.mode?null:"#fff",caretColor:"light"===t.palette.mode?null:"#fff",borderRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===n.size&&{padding:"8.5px 14px"},n.multiline&&{padding:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0}))),$=s.forwardRef((function(t,n){var e,r,u,l,h;const f=(0,b.Z)({props:t,name:"MuiOutlinedInput"}),{components:p={},fullWidth:v=!1,inputComponent:g="input",label:y,multiline:$=!1,notched:E,slots:M={},type:z="text"}=f,T=(0,i.Z)(f,x),j=(t=>{const{classes:n}=t,e=(0,a.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},m,n);return(0,o.Z)({},n,e)})(f),A=(0,d.Z)(),q=(0,_.Z)({props:f,muiFormControl:A,states:["required"]}),P=(0,o.Z)({},f,{color:q.color||"primary",disabled:q.disabled,error:q.error,focused:q.focused,formControl:A,fullWidth:v,hiddenLabel:q.hiddenLabel,multiline:$,size:q.size,type:z}),R=null!=(e=null!=(r=M.root)?r:p.Root)?e:k,L=null!=(u=null!=(l=M.input)?l:p.Input)?u:C;return(0,c.jsx)(w.ZP,(0,o.Z)({slots:{root:R,input:L},renderSuffix:t=>(0,c.jsx)(S,{ownerState:P,className:j.notchedOutline,label:null!=y&&""!==y&&q.required?h||(h=(0,c.jsxs)(s.Fragment,{children:[y," ","*"]})):y,notched:void 0!==E?E:Boolean(t.startAdornment||t.filled||t.focused)}),fullWidth:v,inputComponent:g,multiline:$,ref:n,type:z},T,{classes:(0,o.Z)({},j,{notchedOutline:null})}))}));$.muiName="Input";const E=$},53601:(t,n,e)=>{"use strict";e.d(n,{Z:()=>v});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(73330),c=e(61125);const l=t=>{let n;return n=t<1?5.11916*t**2:4.5*Math.log(t+1)+2,(n/100).toFixed(2)};var h=e(57369),f=e(90515),d=e(43188);const _=["className","component","elevation","square","variant"],p=(0,c.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.variant],!e.square&&n.rounded,"elevation"===e.variant&&n[`elevation${e.elevation}`]]}})((({theme:t,ownerState:n})=>{var e;return(0,i.Z)({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 ${(t.vars||t).palette.divider}`},"elevation"===n.variant&&(0,i.Z)({boxShadow:(t.vars||t).shadows[n.elevation]},!t.vars&&"dark"===t.palette.mode&&{backgroundImage:`linear-gradient(${(0,u.Fq)("#fff",l(n.elevation))}, ${(0,u.Fq)("#fff",l(n.elevation))})`},t.vars&&{backgroundImage:null==(e=t.vars.overlays)?void 0:e[n.elevation]}))})),v=o.forwardRef((function(t,n){const e=(0,h.Z)({props:t,name:"MuiPaper"}),{className:o,component:u="div",elevation:c=1,square:l=!1,variant:v="elevation"}=e,g=(0,r.Z)(e,_),m=(0,i.Z)({},e,{component:u,elevation:c,square:l,variant:v}),y=(t=>{const{square:n,elevation:e,variant:r,classes:i}=t,o={root:["root",r,!n&&"rounded","elevation"===r&&`elevation${e}`]};return(0,a.Z)(o,f.J,i)})(m);return(0,d.jsx)(p,(0,i.Z)({as:u,ownerState:m,className:(0,s.default)(y.root,o),ref:n},g))}))},63155:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.Z,getPaperUtilityClass:()=>i.J,paperClasses:()=>i.Z});var r=e(53601),i=e(90515)},90515:(t,n,e)=>{"use strict";e.d(n,{J:()=>o,Z:()=>s});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiPaper",t)}const s=(0,r.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"])},64883:(t,n,e)=>{"use strict";e.d(n,{Pg:()=>M,XS:()=>z,ZP:()=>T,oJ:()=>S,pB:()=>C});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(58029),u=e(98858),c=e(38094),l=e(61125),h=e(57369),f=e(78101),d=e(60617),_=e(19514),p=e(81597),v=e(23160),g=e(42727),m=e(53601),y=e(22349),w=e(43188);const b=["onEntering"],x=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"],k=["slotProps"];function S(t,n){let e=0;return"number"==typeof n?e=n:"center"===n?e=t.height/2:"bottom"===n&&(e=t.height),e}function C(t,n){let e=0;return"number"==typeof n?e=n:"center"===n?e=t.width/2:"right"===n&&(e=t.width),e}function $(t){return[t.horizontal,t.vertical].map((t=>"number"==typeof t?`${t}px`:t)).join(" ")}function E(t){return"function"==typeof t?t():t}const M=(0,l.ZP)(g.Z,{name:"MuiPopover",slot:"Root",overridesResolver:(t,n)=>n.root})({}),z=(0,l.ZP)(m.Z,{name:"MuiPopover",slot:"Paper",overridesResolver:(t,n)=>n.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),T=o.forwardRef((function(t,n){var e,l,g;const m=(0,h.Z)({props:t,name:"MuiPopover"}),{action:T,anchorEl:j,anchorOrigin:A={vertical:"top",horizontal:"left"},anchorPosition:q,anchorReference:P="anchorEl",children:R,className:L,container:O,elevation:I=8,marginThreshold:D=16,open:N,PaperProps:B={},slots:F,slotProps:U,transformOrigin:H={vertical:"top",horizontal:"left"},TransitionComponent:G=v.Z,transitionDuration:W="auto",TransitionProps:{onEntering:V}={}}=m,Z=(0,i.Z)(m.TransitionProps,b),X=(0,i.Z)(m,x),Y=null!=(e=null==U?void 0:U.paper)?e:B,K=o.useRef(),J=(0,p.Z)(K,Y.ref),Q=(0,r.Z)({},m,{anchorOrigin:A,anchorReference:P,elevation:I,marginThreshold:D,externalPaperSlotProps:Y,transformOrigin:H,TransitionComponent:G,transitionDuration:W,TransitionProps:Z}),tt=(t=>{const{classes:n}=t;return(0,a.Z)({root:["root"],paper:["paper"]},y.s,n)})(Q),nt=o.useCallback((()=>{if("anchorPosition"===P)return q;const t=E(j),n=(t&&1===t.nodeType?t:(0,d.Z)(K.current).body).getBoundingClientRect();return{top:n.top+S(n,A.vertical),left:n.left+C(n,A.horizontal)}}),[j,A.horizontal,A.vertical,q,P]),et=o.useCallback((t=>({vertical:S(t,H.vertical),horizontal:C(t,H.horizontal)})),[H.horizontal,H.vertical]),rt=o.useCallback((t=>{const n={width:t.offsetWidth,height:t.offsetHeight},e=et(n);if("none"===P)return{top:null,left:null,transformOrigin:$(e)};const r=nt();let i=r.top-e.vertical,o=r.left-e.horizontal;const s=i+n.height,a=o+n.width,u=(0,_.Z)(E(j)),c=u.innerHeight-D,l=u.innerWidth-D;if(ic){const t=s-c;i-=t,e.vertical+=t}if(ol){const t=a-l;o-=t,e.horizontal+=t}return{top:`${Math.round(i)}px`,left:`${Math.round(o)}px`,transformOrigin:$(e)}}),[j,P,nt,et,D]),[it,ot]=o.useState(N),st=o.useCallback((()=>{const t=K.current;if(!t)return;const n=rt(t);null!==n.top&&(t.style.top=n.top),null!==n.left&&(t.style.left=n.left),t.style.transformOrigin=n.transformOrigin,ot(!0)}),[rt]);o.useEffect((()=>{N&&st()})),o.useImperativeHandle(T,(()=>N?{updatePosition:()=>{st()}}:null),[N,st]),o.useEffect((()=>{if(!N)return;const t=(0,f.Z)((()=>{st()})),n=(0,_.Z)(j);return n.addEventListener("resize",t),()=>{t.clear(),n.removeEventListener("resize",t)}}),[j,N,st]);let at=W;"auto"!==W||G.muiSupportAuto||(at=void 0);const ut=O||(j?(0,d.Z)(E(j)).body:void 0),ct=null!=(l=null==F?void 0:F.root)?l:M,lt=null!=(g=null==F?void 0:F.paper)?g:z,ht=(0,u.Z)({elementType:lt,externalSlotProps:(0,r.Z)({},Y,{style:it?Y.style:(0,r.Z)({},Y.style,{opacity:0})}),additionalProps:{elevation:I,ref:J},ownerState:Q,className:(0,s.default)(tt.paper,null==Y?void 0:Y.className)}),ft=(0,u.Z)({elementType:ct,externalSlotProps:(null==U?void 0:U.root)||{},externalForwardedProps:X,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:ut,open:N},ownerState:Q,className:(0,s.default)(tt.root,L)}),{slotProps:dt}=ft,_t=(0,i.Z)(ft,k);return(0,w.jsx)(ct,(0,r.Z)({},_t,!(0,c.Z)(ct)&&{slotProps:dt},{children:(0,w.jsx)(G,(0,r.Z)({appear:!0,in:N,onEntering:(t,n)=>{V&&V(t,n),st()},onExited:()=>{ot(!1)},timeout:at},Z,{children:(0,w.jsx)(lt,(0,r.Z)({},ht,{children:R}))}))}))}))},97827:(t,n,e)=>{"use strict";e.r(n),e.d(n,{PopoverPaper:()=>r.XS,PopoverRoot:()=>r.Pg,default:()=>r.ZP,getOffsetLeft:()=>r.pB,getOffsetTop:()=>r.oJ,getPopoverUtilityClass:()=>i.s,popoverClasses:()=>i.Z});var r=e(64883),i=e(22349)},22349:(t,n,e)=>{"use strict";e.d(n,{Z:()=>s,s:()=>o});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiPopover",t)}const s=(0,r.Z)("MuiPopover",["root","paper"])},625:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>j,getRadioUtilityClass:()=>C,radioClasses:()=>$});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(73330),c=e(68892),l=e(57369),h=e(50968),f=e(43188);const d=(0,h.Z)((0,f.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),_=(0,h.Z)((0,f.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");var p=e(61125);const v=(0,p.ZP)("span")({position:"relative",display:"flex"}),g=(0,p.ZP)(d)({transform:"scale(1)"}),m=(0,p.ZP)(_)((({theme:t,ownerState:n})=>(0,i.Z)({left:0,position:"absolute",transform:"scale(0)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeIn,duration:t.transitions.duration.shortest})},n.checked&&{transform:"scale(1)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeOut,duration:t.transitions.duration.shortest})}))),y=function(t){const{checked:n=!1,classes:e={},fontSize:r}=t,o=(0,i.Z)({},t,{checked:n});return(0,f.jsxs)(v,{className:e.root,ownerState:o,children:[(0,f.jsx)(g,{fontSize:r,className:e.background,ownerState:o}),(0,f.jsx)(m,{fontSize:r,className:e.dot,ownerState:o})]})};var w=e(40118),b=e(91882),x=e(66021),k=e(58109),S=e(95201);function C(t){return(0,S.Z)("MuiRadio",t)}const $=(0,k.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]),E=["checked","checkedIcon","color","icon","name","onChange","size","className"],M=(0,p.ZP)(c.Z,{shouldForwardProp:t=>(0,p.FO)(t)||"classes"===t,name:"MuiRadio",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[`color${(0,w.Z)(e.color)}`]]}})((({theme:t,ownerState:n})=>(0,i.Z)({color:(t.vars||t).palette.text.secondary},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${"default"===n.color?t.vars.palette.action.activeChannel:t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.Fq)("default"===n.color?t.palette.action.active:t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==n.color&&{[`&.${$.checked}`]:{color:(t.vars||t).palette[n.color].main}},{[`&.${$.disabled}`]:{color:(t.vars||t).palette.action.disabled}}))),z=(0,f.jsx)(y,{checked:!0}),T=(0,f.jsx)(y,{}),j=o.forwardRef((function(t,n){var e,u;const c=(0,l.Z)({props:t,name:"MuiRadio"}),{checked:h,checkedIcon:d=z,color:_="primary",icon:p=T,name:v,onChange:g,size:m="medium",className:y}=c,k=(0,r.Z)(c,E),S=(0,i.Z)({},c,{color:_,size:m}),$=(t=>{const{classes:n,color:e}=t,r={root:["root",`color${(0,w.Z)(e)}`]};return(0,i.Z)({},n,(0,a.Z)(r,C,n))})(S),j=(0,x.Z)();let A=h;const q=(0,b.Z)(g,j&&j.onChange);let P=v;var R,L;return j&&(void 0===A&&(R=j.value,A="object"==typeof(L=c.value)&&null!==L?R===L:String(R)===String(L)),void 0===P&&(P=j.name)),(0,f.jsx)(M,(0,i.Z)({type:"radio",icon:o.cloneElement(p,{fontSize:null!=(e=T.props.fontSize)?e:m}),checkedIcon:o.cloneElement(d,{fontSize:null!=(u=z.props.fontSize)?u:m}),ownerState:S,classes:$,name:P,checked:A,onChange:q,ref:n,className:(0,s.default)($.root,y)},k))}))},54855:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=e(66204).createContext(void 0)},88794:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>S,useRadioGroup:()=>C.Z});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(58029),u=e(61125),c=e(57369),l=e(58109),h=e(95201);function f(t){return(0,h.Z)("MuiFormGroup",t)}(0,l.Z)("MuiFormGroup",["root","row","error"]);var d=e(55834),_=e(92407),p=e(43188);const v=["className","row"],g=(0,u.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.row&&n.row]}})((({ownerState:t})=>(0,r.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},t.row&&{flexDirection:"row"}))),m=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiFormGroup"}),{className:o,row:u=!1}=e,l=(0,i.Z)(e,v),h=(0,d.Z)(),m=(0,_.Z)({props:e,muiFormControl:h,states:["error"]}),y=(0,r.Z)({},e,{row:u,error:m.error}),w=(t=>{const{classes:n,row:e,error:r}=t,i={root:["root",e&&"row",r&&"error"]};return(0,a.Z)(i,f,n)})(y);return(0,p.jsx)(g,(0,r.Z)({className:(0,s.default)(w.root,o),ownerState:y,ref:n},l))}));var y=e(81597),w=e(66262),b=e(54855),x=e(79673);const k=["actions","children","defaultValue","name","onChange","value"],S=o.forwardRef((function(t,n){const{actions:e,children:s,defaultValue:a,name:u,onChange:c,value:l}=t,h=(0,i.Z)(t,k),f=o.useRef(null),[d,_]=(0,w.Z)({controlled:l,default:a,name:"RadioGroup"});o.useImperativeHandle(e,(()=>({focus:()=>{let t=f.current.querySelector("input:not(:disabled):checked");t||(t=f.current.querySelector("input:not(:disabled)")),t&&t.focus()}})),[]);const v=(0,y.Z)(n,f),g=(0,x.Z)(u),S=o.useMemo((()=>({name:g,onChange(t){_(t.target.value),c&&c(t,t.target.value)},value:d})),[g,c,_,d]);return(0,p.jsx)(b.Z.Provider,{value:S,children:(0,p.jsx)(m,(0,r.Z)({role:"radiogroup",ref:v},h,{children:s}))})}));var C=e(66021)},66021:(t,n,e)=>{"use strict";e.d(n,{Z:()=>o});var r=e(66204),i=e(54855);function o(){return r.useContext(i.Z)}},31574:(t,n,e)=>{"use strict";e.d(n,{Z:()=>Y});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(53709),u=e(89274),c=(e(5356),e(58029)),l=e(60617),h=e(40118),f=e(54617),d=e(58109),_=e(95201);function p(t){return(0,_.Z)("MuiNativeSelect",t)}const v=(0,d.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var g=e(61125),m=e(43188);const y=["className","disabled","error","IconComponent","inputRef","variant"],w=({ownerState:t,theme:n})=>(0,r.Z)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,r.Z)({},n.vars?{backgroundColor:`rgba(${n.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===n.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${v.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(n.vars||n).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===t.variant&&{"&&&":{paddingRight:32}},"outlined"===t.variant&&{borderRadius:(n.vars||n).shape.borderRadius,"&:focus":{borderRadius:(n.vars||n).shape.borderRadius},"&&&":{paddingRight:32}}),b=(0,g.ZP)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:g.FO,overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.select,n[e.variant],e.error&&n.error,{[`&.${v.multiple}`]:n.multiple}]}})(w),x=({ownerState:t,theme:n})=>(0,r.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(n.vars||n).palette.action.active,[`&.${v.disabled}`]:{color:(n.vars||n).palette.action.disabled}},t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7}),k=(0,g.ZP)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.icon,e.variant&&n[`icon${(0,h.Z)(e.variant)}`],e.open&&n.iconOpen]}})(x),S=o.forwardRef((function(t,n){const{className:e,disabled:a,error:u,IconComponent:l,inputRef:f,variant:d="standard"}=t,_=(0,i.Z)(t,y),v=(0,r.Z)({},t,{disabled:a,variant:d,error:u}),g=(t=>{const{classes:n,variant:e,disabled:r,multiple:i,open:o,error:s}=t,a={select:["select",e,r&&"disabled",i&&"multiple",s&&"error"],icon:["icon",`icon${(0,h.Z)(e)}`,o&&"iconOpen",r&&"disabled"]};return(0,c.Z)(a,p,n)})(v);return(0,m.jsxs)(o.Fragment,{children:[(0,m.jsx)(b,(0,r.Z)({ownerState:v,className:(0,s.default)(g.select,e),disabled:a,ref:f||n},_)),t.multiple?null:(0,m.jsx)(k,{as:l,ownerState:v,className:g.icon})]})}));var C,$=e(43716),E=e(81597),M=e(66262),z=e(37617);const T=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],j=(0,g.ZP)("div",{name:"MuiSelect",slot:"Select",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`&.${z.Z.select}`]:n.select},{[`&.${z.Z.select}`]:n[e.variant]},{[`&.${z.Z.error}`]:n.error},{[`&.${z.Z.multiple}`]:n.multiple}]}})(w,{[`&.${z.Z.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),A=(0,g.ZP)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.icon,e.variant&&n[`icon${(0,h.Z)(e.variant)}`],e.open&&n.iconOpen]}})(x),q=(0,g.ZP)("input",{shouldForwardProp:t=>(0,g.Dz)(t)&&"classes"!==t,name:"MuiSelect",slot:"NativeInput",overridesResolver:(t,n)=>n.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function P(t,n){return"object"==typeof n&&null!==n?t===n:String(t)===String(n)}function R(t){return null==t||"string"==typeof t&&!t.trim()}const L=o.forwardRef((function(t,n){const{"aria-describedby":e,"aria-label":a,autoFocus:d,autoWidth:_,children:p,className:v,defaultOpen:g,defaultValue:y,disabled:w,displayEmpty:b,error:x=!1,IconComponent:k,inputRef:S,labelId:L,MenuProps:O={},multiple:I,name:D,onBlur:N,onChange:B,onClose:F,onFocus:U,onOpen:H,open:G,readOnly:W,renderValue:V,SelectDisplayProps:Z={},tabIndex:X,value:Y,variant:K="standard"}=t,J=(0,i.Z)(t,T),[Q,tt]=(0,M.Z)({controlled:Y,default:y,name:"Select"}),[nt,et]=(0,M.Z)({controlled:G,default:g,name:"Select"}),rt=o.useRef(null),it=o.useRef(null),[ot,st]=o.useState(null),{current:at}=o.useRef(null!=G),[ut,ct]=o.useState(),lt=(0,E.Z)(n,S),ht=o.useCallback((t=>{it.current=t,t&&st(t)}),[]),ft=null==ot?void 0:ot.parentNode;o.useImperativeHandle(lt,(()=>({focus:()=>{it.current.focus()},node:rt.current,value:Q})),[Q]),o.useEffect((()=>{g&&nt&&ot&&!at&&(ct(_?null:ft.clientWidth),it.current.focus())}),[ot,_]),o.useEffect((()=>{d&&it.current.focus()}),[d]),o.useEffect((()=>{if(!L)return;const t=(0,l.Z)(it.current).getElementById(L);if(t){const n=()=>{getSelection().isCollapsed&&it.current.focus()};return t.addEventListener("click",n),()=>{t.removeEventListener("click",n)}}}),[L]);const dt=(t,n)=>{t?H&&H(n):F&&F(n),at||(ct(_?null:ft.clientWidth),et(t))},_t=o.Children.toArray(p),pt=t=>n=>{let e;if(n.currentTarget.hasAttribute("tabindex")){if(I){e=Array.isArray(Q)?Q.slice():[];const n=Q.indexOf(t.props.value);-1===n?e.push(t.props.value):e.splice(n,1)}else e=t.props.value;if(t.props.onClick&&t.props.onClick(n),Q!==e&&(tt(e),B)){const r=n.nativeEvent||n,i=new r.constructor(r.type,r);Object.defineProperty(i,"target",{writable:!0,value:{value:e,name:D}}),B(i,t)}I||dt(!1,n)}},vt=null!==ot&&nt;let gt,mt;delete J["aria-invalid"];const yt=[];let wt=!1,bt=!1;((0,$.vd)({value:Q})||b)&&(V?gt=V(Q):wt=!0);const xt=_t.map((t=>{if(!o.isValidElement(t))return null;let n;if(I){if(!Array.isArray(Q))throw new Error((0,u.Z)(2));n=Q.some((n=>P(n,t.props.value))),n&&wt&&yt.push(t.props.children)}else n=P(Q,t.props.value),n&&wt&&(mt=t.props.children);return n&&(bt=!0),o.cloneElement(t,{"aria-selected":n?"true":"false",onClick:pt(t),onKeyUp:n=>{" "===n.key&&n.preventDefault(),t.props.onKeyUp&&t.props.onKeyUp(n)},role:"option",selected:n,value:void 0,"data-value":t.props.value})}));wt&&(gt=I?0===yt.length?null:yt.reduce(((t,n,e)=>(t.push(n),e{const{classes:n,variant:e,disabled:r,multiple:i,open:o,error:s}=t,a={select:["select",e,r&&"disabled",i&&"multiple",s&&"error"],icon:["icon",`icon${(0,h.Z)(e)}`,o&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return(0,c.Z)(a,z.o,n)})($t);return(0,m.jsxs)(o.Fragment,{children:[(0,m.jsx)(j,(0,r.Z)({ref:ht,tabIndex:kt,role:"button","aria-disabled":w?"true":void 0,"aria-expanded":vt?"true":"false","aria-haspopup":"listbox","aria-label":a,"aria-labelledby":[L,Ct].filter(Boolean).join(" ")||void 0,"aria-describedby":e,onKeyDown:t=>{W||-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(t.key)&&(t.preventDefault(),dt(!0,t))},onMouseDown:w||W?null:t=>{0===t.button&&(t.preventDefault(),it.current.focus(),dt(!0,t))},onBlur:t=>{!vt&&N&&(Object.defineProperty(t,"target",{writable:!0,value:{value:Q,name:D}}),N(t))},onFocus:U},Z,{ownerState:$t,className:(0,s.default)(Z.className,Et.select,v),id:Ct,children:R(gt)?C||(C=(0,m.jsx)("span",{className:"notranslate",children:"​"})):gt})),(0,m.jsx)(q,(0,r.Z)({"aria-invalid":x,value:Array.isArray(Q)?Q.join(","):Q,name:D,ref:rt,"aria-hidden":!0,onChange:t=>{const n=_t.find((n=>n.props.value===t.target.value));void 0!==n&&(tt(n.props.value),B&&B(t,n))},tabIndex:-1,disabled:w,className:Et.nativeInput,autoFocus:d,ownerState:$t},J)),(0,m.jsx)(A,{as:k,className:Et.icon,ownerState:$t}),(0,m.jsx)(f.Z,(0,r.Z)({id:`menu-${D||""}`,anchorEl:ft,open:vt,onClose:t=>{dt(!1,t)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},O,{MenuListProps:(0,r.Z)({"aria-labelledby":L,role:"listbox",disableListWrap:!0},O.MenuListProps),PaperProps:(0,r.Z)({},O.PaperProps,{style:(0,r.Z)({minWidth:St},null!=O.PaperProps?O.PaperProps.style:null)}),children:xt}))]})}));var O=e(92407),I=e(55834);const D=(0,e(50968).Z)((0,m.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");var N=e(61054),B=e(60381),F=e(20713),U=e(57369);const H=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],G={name:"MuiSelect",overridesResolver:(t,n)=>n.root,shouldForwardProp:t=>(0,g.FO)(t)&&"variant"!==t,slot:"Root"},W=(0,g.ZP)(N.Z,G)(""),V=(0,g.ZP)(F.Z,G)(""),Z=(0,g.ZP)(B.Z,G)(""),X=o.forwardRef((function(t,n){const e=(0,U.Z)({name:"MuiSelect",props:t}),{autoWidth:u=!1,children:c,classes:l={},className:h,defaultOpen:f=!1,displayEmpty:d=!1,IconComponent:_=D,id:p,input:v,inputProps:g,label:y,labelId:w,MenuProps:b,multiple:x=!1,native:k=!1,onClose:C,onOpen:$,open:M,renderValue:z,SelectDisplayProps:T,variant:j="outlined"}=e,A=(0,i.Z)(e,H),q=k?S:L,P=(0,I.Z)(),R=(0,O.Z)({props:e,muiFormControl:P,states:["variant","error"]}),N=R.variant||j,B=(0,r.Z)({},e,{variant:N,classes:l}),F=(t=>{const{classes:n}=t;return n})(B),G=v||{standard:(0,m.jsx)(W,{ownerState:B}),outlined:(0,m.jsx)(V,{label:y,ownerState:B}),filled:(0,m.jsx)(Z,{ownerState:B})}[N],X=(0,E.Z)(n,G.ref);return(0,m.jsx)(o.Fragment,{children:o.cloneElement(G,(0,r.Z)({inputComponent:q,inputProps:(0,r.Z)({children:c,error:R.error,IconComponent:_,variant:N,type:void 0,multiple:x},k?{id:p}:{autoWidth:u,defaultOpen:f,displayEmpty:d,labelId:w,MenuProps:b,onClose:C,onOpen:$,open:M,renderValue:z,SelectDisplayProps:(0,r.Z)({id:p},T)},g,{classes:g?(0,a.Z)(F,g.classes):F},v?v.props.inputProps:{})},x&&k&&"outlined"===N?{notched:!0}:{},{ref:X,className:(0,s.default)(G.props.className,h)},!v&&{variant:N},A))})}));X.muiName="Select";const Y=X},12363:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.Z,getSelectUtilityClasses:()=>i.o,selectClasses:()=>i.Z});var r=e(31574),i=e(37617)},37617:(t,n,e)=>{"use strict";e.d(n,{Z:()=>s,o:()=>o});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiSelect",t)}const s=(0,r.Z)("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"])},93345:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>L,getSnackbarUtilityClass:()=>j,snackbarClasses:()=>A});var r=e(55559),i=e(30984),o=e(66204),s=e(58029),a=e(98858),u=e(52682),c=e(76734),l=e(26074),h=e(43188);function f(t){return t.substring(2).toLowerCase()}const d=function(t){const{children:n,disableReactTree:e=!1,mouseEvent:r="onClick",onClickAway:i,touchEvent:s="onTouchEnd"}=t,a=o.useRef(!1),d=o.useRef(null),_=o.useRef(!1),p=o.useRef(!1);o.useEffect((()=>(setTimeout((()=>{_.current=!0}),0),()=>{_.current=!1})),[]);const v=(0,u.Z)(n.ref,d),g=(0,c.Z)((t=>{const n=p.current;p.current=!1;const r=(0,l.Z)(d.current);if(!_.current||!d.current||"clientX"in t&&function(t,n){return n.documentElement.clientWidth-1:!r.documentElement.contains(t.target)||d.current.contains(t.target),o||!e&&n||i(t)})),m=t=>e=>{p.current=!0;const r=n.props[t];r&&r(e)},y={ref:v};return!1!==s&&(y[s]=m(s)),o.useEffect((()=>{if(!1!==s){const t=f(s),n=(0,l.Z)(d.current),e=()=>{a.current=!0};return n.addEventListener(t,g),n.addEventListener("touchmove",e),()=>{n.removeEventListener(t,g),n.removeEventListener("touchmove",e)}}}),[g,s]),!1!==r&&(y[r]=m(r)),o.useEffect((()=>{if(!1!==r){const t=f(r),n=(0,l.Z)(d.current);return n.addEventListener(t,g),()=>{n.removeEventListener(t,g)}}}),[g,r]),(0,h.jsx)(o.Fragment,{children:o.cloneElement(n,y)})};var _=e(61234),p=e(61125),v=e(92368),g=e(57369),m=e(40118),y=e(23160),w=e(53583),b=e(73330),x=e(53601),k=e(58109),S=e(95201);function C(t){return(0,S.Z)("MuiSnackbarContent",t)}(0,k.Z)("MuiSnackbarContent",["root","message","action"]);const $=["action","className","message","role"],E=(0,p.ZP)(x.Z,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(t,n)=>n.root})((({theme:t})=>{const n="light"===t.palette.mode?.8:.98,e=(0,b._4)(t.palette.background.default,n);return(0,i.Z)({},t.typography.body2,{color:t.vars?t.vars.palette.SnackbarContent.color:t.palette.getContrastText(e),backgroundColor:t.vars?t.vars.palette.SnackbarContent.bg:e,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,flexGrow:1,[t.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})})),M=(0,p.ZP)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(t,n)=>n.message})({padding:"8px 0"}),z=(0,p.ZP)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(t,n)=>n.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),T=o.forwardRef((function(t,n){const e=(0,g.Z)({props:t,name:"MuiSnackbarContent"}),{action:o,className:a,message:u,role:c="alert"}=e,l=(0,r.Z)(e,$),f=e,d=(t=>{const{classes:n}=t;return(0,s.Z)({root:["root"],action:["action"],message:["message"]},C,n)})(f);return(0,h.jsxs)(E,(0,i.Z)({role:c,square:!0,elevation:6,className:(0,w.default)(d.root,a),ownerState:f,ref:n},l,{children:[(0,h.jsx)(M,{className:d.message,ownerState:f,children:u}),o?(0,h.jsx)(z,{className:d.action,ownerState:f,children:o}):null]}))}));function j(t){return(0,S.Z)("MuiSnackbar",t)}const A=(0,k.Z)("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]),q=["onEnter","onExited"],P=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],R=(0,p.ZP)("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[`anchorOrigin${(0,m.Z)(e.anchorOrigin.vertical)}${(0,m.Z)(e.anchorOrigin.horizontal)}`]]}})((({theme:t,ownerState:n})=>(0,i.Z)({zIndex:(t.vars||t).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===n.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===n.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===n.anchorOrigin.horizontal&&{justifyContent:"flex-end"},{[t.breakpoints.up("sm")]:(0,i.Z)({},"top"===n.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===n.anchorOrigin.horizontal&&{left:"50%",right:"auto",transform:"translateX(-50%)"},"left"===n.anchorOrigin.horizontal&&{left:24,right:"auto"},"right"===n.anchorOrigin.horizontal&&{right:24,left:"auto"})}))),L=o.forwardRef((function(t,n){const e=(0,g.Z)({props:t,name:"MuiSnackbar"}),u=(0,v.default)(),l={enter:u.transitions.duration.enteringScreen,exit:u.transitions.duration.leavingScreen},{action:f,anchorOrigin:{vertical:p,horizontal:w}={vertical:"bottom",horizontal:"left"},autoHideDuration:b=null,children:x,className:k,ClickAwayListenerProps:S,ContentProps:C,disableWindowBlurListener:$=!1,message:E,open:M,TransitionComponent:z=y.Z,transitionDuration:A=l,TransitionProps:{onEnter:L,onExited:O}={}}=e,I=(0,r.Z)(e.TransitionProps,q),D=(0,r.Z)(e,P),N=(0,i.Z)({},e,{anchorOrigin:{vertical:p,horizontal:w},autoHideDuration:b,disableWindowBlurListener:$,TransitionComponent:z,transitionDuration:A}),B=(t=>{const{classes:n,anchorOrigin:e}=t,r={root:["root",`anchorOrigin${(0,m.Z)(e.vertical)}${(0,m.Z)(e.horizontal)}`]};return(0,s.Z)(r,j,n)})(N),{getRootProps:F,onClickAway:U}=function(t){const{autoHideDuration:n=null,disableWindowBlurListener:e=!1,onClose:r,open:s,resumeHideDuration:a}=t,u=o.useRef();o.useEffect((()=>{if(s)return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)};function t(t){t.defaultPrevented||"Escape"!==t.key&&"Esc"!==t.key||null==r||r(t,"escapeKeyDown")}}),[s,r]);const l=(0,c.Z)(((t,n)=>{null==r||r(t,n)})),h=(0,c.Z)((t=>{r&&null!=t&&(clearTimeout(u.current),u.current=setTimeout((()=>{l(null,"timeout")}),t))}));o.useEffect((()=>(s&&h(n),()=>{clearTimeout(u.current)})),[s,n,h]);const f=()=>{clearTimeout(u.current)},d=o.useCallback((()=>{null!=n&&h(null!=a?a:.5*n)}),[n,a,h]),p=t=>n=>{const e=t.onBlur;null==e||e(n),d()},v=t=>n=>{const e=t.onFocus;null==e||e(n),f()},g=t=>n=>{const e=t.onMouseEnter;null==e||e(n),f()},m=t=>n=>{const e=t.onMouseLeave;null==e||e(n),d()};return o.useEffect((()=>{if(!e&&s)return window.addEventListener("focus",d),window.addEventListener("blur",f),()=>{window.removeEventListener("focus",d),window.removeEventListener("blur",f)}}),[e,d,s]),{getRootProps:(n={})=>{const e=(0,_.Z)(t),r=(0,i.Z)({},e,n);return(0,i.Z)({role:"presentation"},r,{onBlur:p(r),onFocus:v(r),onMouseEnter:g(r),onMouseLeave:m(r)})},onClickAway:t=>{null==r||r(t,"clickaway")}}}((0,i.Z)({},N)),[H,G]=o.useState(!0),W=(0,a.Z)({elementType:R,getSlotProps:F,externalForwardedProps:D,ownerState:N,additionalProps:{ref:n},className:[B.root,k]});return!M&&H?null:(0,h.jsx)(d,(0,i.Z)({onClickAway:U},S,{children:(0,h.jsx)(R,(0,i.Z)({},W,{children:(0,h.jsx)(z,(0,i.Z)({appear:!0,in:M,timeout:A,direction:"top"===p?"down":"up",onEnter:(t,n)=>{G(!1),L&&L(t,n)},onExited:t=>{G(!0),O&&O(t)}},I,{children:x||(0,h.jsx)(T,(0,i.Z)({message:E,action:f},C))}))}))}))}))},81650:(t,n,e)=>{"use strict";e.d(n,{Z:()=>v});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(58029),u=e(40118),c=e(57369),l=e(61125),h=e(57876),f=e(43188);const d=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],_=(0,l.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,"inherit"!==e.color&&n[`color${(0,u.Z)(e.color)}`],n[`fontSize${(0,u.Z)(e.fontSize)}`]]}})((({theme:t,ownerState:n})=>{var e,r,i,o,s,a,u,c,l,h,f,d,_,p,v,g,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:n.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(e=t.transitions)||null==(r=e.create)?void 0:r.call(e,"fill",{duration:null==(i=t.transitions)||null==(o=i.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(s=t.typography)||null==(a=s.pxToRem)?void 0:a.call(s,20))||"1.25rem",medium:(null==(u=t.typography)||null==(c=u.pxToRem)?void 0:c.call(u,24))||"1.5rem",large:(null==(l=t.typography)||null==(h=l.pxToRem)?void 0:h.call(l,35))||"2.1875rem"}[n.fontSize],color:null!=(f=null==(d=(t.vars||t).palette)||null==(_=d[n.color])?void 0:_.main)?f:{action:null==(p=(t.vars||t).palette)||null==(v=p.action)?void 0:v.active,disabled:null==(g=(t.vars||t).palette)||null==(m=g.action)?void 0:m.disabled,inherit:void 0}[n.color]}})),p=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiSvgIcon"}),{children:l,className:p,color:v="inherit",component:g="svg",fontSize:m="medium",htmlColor:y,inheritViewBox:w=!1,titleAccess:b,viewBox:x="0 0 24 24"}=e,k=(0,i.Z)(e,d),S=o.isValidElement(l)&&"svg"===l.type,C=(0,r.Z)({},e,{color:v,component:g,fontSize:m,instanceFontSize:t.fontSize,inheritViewBox:w,viewBox:x,hasSvgAsChild:S}),$={};w||($.viewBox=x);const E=(t=>{const{color:n,fontSize:e,classes:r}=t,i={root:["root","inherit"!==n&&`color${(0,u.Z)(n)}`,`fontSize${(0,u.Z)(e)}`]};return(0,a.Z)(i,h.h,r)})(C);return(0,f.jsxs)(_,(0,r.Z)({as:g,className:(0,s.default)(E.root,p),focusable:"false",color:y,"aria-hidden":!b||void 0,role:b?"img":void 0,ref:n},$,k,S&&l.props,{ownerState:C,children:[S?l.props.children:l,b?(0,f.jsx)("title",{children:b}):null]}))}));p.muiName="SvgIcon";const v=p},81099:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.Z,getSvgIconUtilityClass:()=>i.h,svgIconClasses:()=>i.Z});var r=e(81650),i=e(57876)},57876:(t,n,e)=>{"use strict";e.d(n,{Z:()=>s,h:()=>o});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiSvgIcon",t)}const s=(0,r.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"])},56374:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>k,getSwitchUtilityClass:()=>p,switchClasses:()=>v});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(73330),c=e(40118),l=e(68892),h=e(57369),f=e(61125),d=e(58109),_=e(95201);function p(t){return(0,_.Z)("MuiSwitch",t)}const v=(0,d.Z)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);var g=e(43188);const m=["className","color","edge","size","sx"],y=(0,f.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.edge&&n[`edge${(0,c.Z)(e.edge)}`],n[`size${(0,c.Z)(e.size)}`]]}})((({ownerState:t})=>(0,i.Z)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===t.edge&&{marginLeft:-8},"end"===t.edge&&{marginRight:-8},"small"===t.size&&{width:40,height:24,padding:7,[`& .${v.thumb}`]:{width:16,height:16},[`& .${v.switchBase}`]:{padding:4,[`&.${v.checked}`]:{transform:"translateX(16px)"}}}))),w=(0,f.ZP)(l.Z,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.switchBase,{[`& .${v.input}`]:n.input},"default"!==e.color&&n[`color${(0,c.Z)(e.color)}`]]}})((({theme:t})=>({position:"absolute",top:0,left:0,zIndex:1,color:t.vars?t.vars.palette.Switch.defaultColor:`${"light"===t.palette.mode?t.palette.common.white:t.palette.grey[300]}`,transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),[`&.${v.checked}`]:{transform:"translateX(20px)"},[`&.${v.disabled}`]:{color:t.vars?t.vars.palette.Switch.defaultDisabledColor:`${"light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[600]}`},[`&.${v.checked} + .${v.track}`]:{opacity:.5},[`&.${v.disabled} + .${v.track}`]:{opacity:t.vars?t.vars.opacity.switchTrackDisabled:""+("light"===t.palette.mode?.12:.2)},[`& .${v.input}`]:{left:"-100%",width:"300%"}})),(({theme:t,ownerState:n})=>(0,i.Z)({"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==n.color&&{[`&.${v.checked}`]:{color:(t.vars||t).palette[n.color].main,"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[n.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.Fq)(t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${v.disabled}`]:{color:t.vars?t.vars.palette.Switch[`${n.color}DisabledColor`]:`${"light"===t.palette.mode?(0,u.$n)(t.palette[n.color].main,.62):(0,u._j)(t.palette[n.color].main,.55)}`}},[`&.${v.checked} + .${v.track}`]:{backgroundColor:(t.vars||t).palette[n.color].main}}))),b=(0,f.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(t,n)=>n.track})((({theme:t})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:`${"light"===t.palette.mode?t.palette.common.black:t.palette.common.white}`,opacity:t.vars?t.vars.opacity.switchTrack:""+("light"===t.palette.mode?.38:.3)}))),x=(0,f.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(t,n)=>n.thumb})((({theme:t})=>({boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),k=o.forwardRef((function(t,n){const e=(0,h.Z)({props:t,name:"MuiSwitch"}),{className:o,color:u="primary",edge:l=!1,size:f="medium",sx:d}=e,_=(0,r.Z)(e,m),v=(0,i.Z)({},e,{color:u,edge:l,size:f}),k=(t=>{const{classes:n,edge:e,size:r,color:o,checked:s,disabled:u}=t,l={root:["root",e&&`edge${(0,c.Z)(e)}`,`size${(0,c.Z)(r)}`],switchBase:["switchBase",`color${(0,c.Z)(o)}`,s&&"checked",u&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},h=(0,a.Z)(l,p,n);return(0,i.Z)({},n,h)})(v),S=(0,g.jsx)(x,{className:k.thumb,ownerState:v});return(0,g.jsxs)(y,{className:(0,s.default)(k.root,o),sx:d,ownerState:v,children:[(0,g.jsx)(w,(0,i.Z)({type:"checkbox",icon:S,checkedIcon:S,ref:n,ownerState:v},_,{classes:(0,i.Z)({},k,{root:k.switchBase})})),(0,g.jsx)(b,{className:k.track,ownerState:v})]})}))},97811:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>y,getTabUtilityClass:()=>_,tabClasses:()=>p});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(52983),c=e(40118),l=e(57369),h=e(61125),f=e(58109),d=e(95201);function _(t){return(0,d.Z)("MuiTab",t)}const p=(0,f.Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);var v=e(43188);const g=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],m=(0,h.ZP)(u.Z,{name:"MuiTab",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.label&&e.icon&&n.labelIcon,n[`textColor${(0,c.Z)(e.textColor)}`],e.fullWidth&&n.fullWidth,e.wrapped&&n.wrapped]}})((({theme:t,ownerState:n})=>(0,i.Z)({},t.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},n.label&&{flexDirection:"top"===n.iconPosition||"bottom"===n.iconPosition?"column":"row"},{lineHeight:1.25},n.icon&&n.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${p.iconWrapper}`]:(0,i.Z)({},"top"===n.iconPosition&&{marginBottom:6},"bottom"===n.iconPosition&&{marginTop:6},"start"===n.iconPosition&&{marginRight:t.spacing(1)},"end"===n.iconPosition&&{marginLeft:t.spacing(1)})},"inherit"===n.textColor&&{color:"inherit",opacity:.6,[`&.${p.selected}`]:{opacity:1},[`&.${p.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},"primary"===n.textColor&&{color:(t.vars||t).palette.text.secondary,[`&.${p.selected}`]:{color:(t.vars||t).palette.primary.main},[`&.${p.disabled}`]:{color:(t.vars||t).palette.text.disabled}},"secondary"===n.textColor&&{color:(t.vars||t).palette.text.secondary,[`&.${p.selected}`]:{color:(t.vars||t).palette.secondary.main},[`&.${p.disabled}`]:{color:(t.vars||t).palette.text.disabled}},n.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},n.wrapped&&{fontSize:t.typography.pxToRem(12)}))),y=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiTab"}),{className:u,disabled:h=!1,disableFocusRipple:f=!1,fullWidth:d,icon:p,iconPosition:y="top",indicator:w,label:b,onChange:x,onClick:k,onFocus:S,selected:C,selectionFollowsFocus:$,textColor:E="inherit",value:M,wrapped:z=!1}=e,T=(0,r.Z)(e,g),j=(0,i.Z)({},e,{disabled:h,disableFocusRipple:f,selected:C,icon:!!p,iconPosition:y,label:!!b,fullWidth:d,textColor:E,wrapped:z}),A=(t=>{const{classes:n,textColor:e,fullWidth:r,wrapped:i,icon:o,label:s,selected:u,disabled:l}=t,h={root:["root",o&&s&&"labelIcon",`textColor${(0,c.Z)(e)}`,r&&"fullWidth",i&&"wrapped",u&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]};return(0,a.Z)(h,_,n)})(j),q=p&&b&&o.isValidElement(p)?o.cloneElement(p,{className:(0,s.default)(A.iconWrapper,p.props.className)}):p;return(0,v.jsxs)(m,(0,i.Z)({focusRipple:!f,className:(0,s.default)(A.root,u),ref:n,role:"tab","aria-selected":C,disabled:h,onClick:t=>{!C&&x&&x(t,M),k&&k(t)},onFocus:t=>{$&&!C&&x&&x(t,M),S&&S(t)},ownerState:j,tabIndex:C?0:-1},T,{children:["top"===y||"start"===y?(0,v.jsxs)(o.Fragment,{children:[q,b]}):(0,v.jsxs)(o.Fragment,{children:[b,q]}),w]}))}))},85163:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=e(66204).createContext()},65238:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=e(66204).createContext()},28488:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>y,getTableUtilityClass:()=>d,tableClasses:()=>_});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(85163),c=e(57369),l=e(61125),h=e(58109),f=e(95201);function d(t){return(0,f.Z)("MuiTable",t)}const _=(0,h.Z)("MuiTable",["root","stickyHeader"]);var p=e(43188);const v=["className","component","padding","size","stickyHeader"],g=(0,l.ZP)("table",{name:"MuiTable",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.stickyHeader&&n.stickyHeader]}})((({theme:t,ownerState:n})=>(0,i.Z)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,i.Z)({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},n.stickyHeader&&{borderCollapse:"separate"}))),m="table",y=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiTable"}),{className:l,component:h=m,padding:f="normal",size:_="medium",stickyHeader:y=!1}=e,w=(0,r.Z)(e,v),b=(0,i.Z)({},e,{component:h,padding:f,size:_,stickyHeader:y}),x=(t=>{const{classes:n,stickyHeader:e}=t,r={root:["root",e&&"stickyHeader"]};return(0,a.Z)(r,d,n)})(b),k=o.useMemo((()=>({padding:f,size:_,stickyHeader:y})),[f,_,y]);return(0,p.jsx)(u.Z.Provider,{value:k,children:(0,p.jsx)(g,(0,i.Z)({as:h,role:h===m?null:"table",ref:n,className:(0,s.default)(x.root,l),ownerState:b},w))})}))},62222:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>w,getTableBodyUtilityClass:()=>d,tableBodyClasses:()=>_});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(58029),u=e(65238),c=e(57369),l=e(61125),h=e(58109),f=e(95201);function d(t){return(0,f.Z)("MuiTableBody",t)}const _=(0,h.Z)("MuiTableBody",["root"]);var p=e(43188);const v=["className","component"],g=(0,l.ZP)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(t,n)=>n.root})({display:"table-row-group"}),m={variant:"body"},y="tbody",w=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiTableBody"}),{className:o,component:l=y}=e,h=(0,i.Z)(e,v),f=(0,r.Z)({},e,{component:l}),_=(t=>{const{classes:n}=t;return(0,a.Z)({root:["root"]},d,n)})(f);return(0,p.jsx)(u.Z.Provider,{value:m,children:(0,p.jsx)(g,(0,r.Z)({className:(0,s.default)(_.root,o),as:l,ref:n,role:l===y?null:"rowgroup",ownerState:f},h))})}))},3558:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>b,getTableCellUtilityClass:()=>v,tableCellClasses:()=>g});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(73330),c=e(40118),l=e(85163),h=e(65238),f=e(57369),d=e(61125),_=e(58109),p=e(95201);function v(t){return(0,p.Z)("MuiTableCell",t)}const g=(0,_.Z)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);var m=e(43188);const y=["align","className","component","padding","scope","size","sortDirection","variant"],w=(0,d.ZP)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[e.variant],n[`size${(0,c.Z)(e.size)}`],"normal"!==e.padding&&n[`padding${(0,c.Z)(e.padding)}`],"inherit"!==e.align&&n[`align${(0,c.Z)(e.align)}`],e.stickyHeader&&n.stickyHeader]}})((({theme:t,ownerState:n})=>(0,i.Z)({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?`1px solid ${t.vars.palette.TableCell.border}`:`1px solid\n ${"light"===t.palette.mode?(0,u.$n)((0,u.Fq)(t.palette.divider,1),.88):(0,u._j)((0,u.Fq)(t.palette.divider,1),.68)}`,textAlign:"left",padding:16},"head"===n.variant&&{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},"body"===n.variant&&{color:(t.vars||t).palette.text.primary},"footer"===n.variant&&{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},"small"===n.size&&{padding:"6px 16px",[`&.${g.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===n.padding&&{width:48,padding:"0 0 0 4px"},"none"===n.padding&&{padding:0},"left"===n.align&&{textAlign:"left"},"center"===n.align&&{textAlign:"center"},"right"===n.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===n.align&&{textAlign:"justify"},n.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default}))),b=o.forwardRef((function(t,n){const e=(0,f.Z)({props:t,name:"MuiTableCell"}),{align:u="inherit",className:d,component:_,padding:p,scope:g,size:b,sortDirection:x,variant:k}=e,S=(0,r.Z)(e,y),C=o.useContext(l.Z),$=o.useContext(h.Z),E=$&&"head"===$.variant;let M;M=_||(E?"th":"td");let z=g;"td"===M?z=void 0:!z&&E&&(z="col");const T=k||$&&$.variant,j=(0,i.Z)({},e,{align:u,component:M,padding:p||(C&&C.padding?C.padding:"normal"),size:b||(C&&C.size?C.size:"medium"),sortDirection:x,stickyHeader:"head"===T&&C&&C.stickyHeader,variant:T}),A=(t=>{const{classes:n,variant:e,align:r,padding:i,size:o,stickyHeader:s}=t,u={root:["root",e,s&&"stickyHeader","inherit"!==r&&`align${(0,c.Z)(r)}`,"normal"!==i&&`padding${(0,c.Z)(i)}`,`size${(0,c.Z)(o)}`]};return(0,a.Z)(u,v,n)})(j);let q=null;return x&&(q="asc"===x?"ascending":"descending"),(0,m.jsx)(w,(0,i.Z)({as:M,ref:n,className:(0,s.default)(A.root,d),"aria-sort":q,scope:z,ownerState:j},S))}))},74797:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>w,getTableHeadUtilityClass:()=>d,tableHeadClasses:()=>_});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(58029),u=e(65238),c=e(57369),l=e(61125),h=e(58109),f=e(95201);function d(t){return(0,f.Z)("MuiTableHead",t)}const _=(0,h.Z)("MuiTableHead",["root"]);var p=e(43188);const v=["className","component"],g=(0,l.ZP)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(t,n)=>n.root})({display:"table-header-group"}),m={variant:"head"},y="thead",w=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiTableHead"}),{className:o,component:l=y}=e,h=(0,i.Z)(e,v),f=(0,r.Z)({},e,{component:l}),_=(t=>{const{classes:n}=t;return(0,a.Z)({root:["root"]},d,n)})(f);return(0,p.jsx)(u.Z.Provider,{value:m,children:(0,p.jsx)(g,(0,r.Z)({as:l,className:(0,s.default)(_.root,o),ref:n,role:l===y?null:"rowgroup",ownerState:f},h))})}))},46154:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>w,getTableRowUtilityClass:()=>_,tableRowClasses:()=>p});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(58029),u=e(73330),c=e(65238),l=e(57369),h=e(61125),f=e(58109),d=e(95201);function _(t){return(0,d.Z)("MuiTableRow",t)}const p=(0,f.Z)("MuiTableRow",["root","selected","hover","head","footer"]);var v=e(43188);const g=["className","component","hover","selected"],m=(0,h.ZP)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.head&&n.head,e.footer&&n.footer]}})((({theme:t})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${p.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${p.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,u.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,u.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}}))),y="tr",w=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiTableRow"}),{className:u,component:h=y,hover:f=!1,selected:d=!1}=e,p=(0,i.Z)(e,g),w=o.useContext(c.Z),b=(0,r.Z)({},e,{component:h,hover:f,selected:d,head:w&&"head"===w.variant,footer:w&&"footer"===w.variant}),x=(t=>{const{classes:n,selected:e,hover:r,head:i,footer:o}=t,s={root:["root",e&&"selected",r&&"hover",i&&"head",o&&"footer"]};return(0,a.Z)(s,_,n)})(b);return(0,v.jsx)(m,(0,r.Z)({as:h,ref:n,className:(0,s.default)(x.root,u),role:h===y?null:"row",ownerState:b},p))}))},36240:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>V,getTabsUtilityClass:()=>P,tabsClasses:()=>R});var r=e(55559),i=e(30984),o=e(66204),s=(e(5356),e(53583)),a=e(58029),u=e(98858),c=e(61125),l=e(57369),h=e(92368),f=e(78101);let d;function _(){if(d)return d;const t=document.createElement("div"),n=document.createElement("div");return n.style.width="10px",n.style.height="1px",t.appendChild(n),t.dir="rtl",t.style.fontSize="14px",t.style.width="4px",t.style.height="1px",t.style.position="absolute",t.style.top="-1000px",t.style.overflow="scroll",document.body.appendChild(t),d="reverse",t.scrollLeft>0?d="default":(t.scrollLeft=1,0===t.scrollLeft&&(d="negative")),document.body.removeChild(t),d}function p(t,n){const e=t.scrollLeft;if("rtl"!==n)return e;switch(_()){case"negative":return t.scrollWidth-t.clientWidth+e;case"reverse":return t.scrollWidth-t.clientWidth-e;default:return e}}function v(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}var g=e(5429),m=e(19514),y=e(43188);const w=["onChange"],b={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var x=e(50968);const k=(0,x.Z)((0,y.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),S=(0,x.Z)((0,y.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");var C=e(52983),$=e(58109),E=e(95201);function M(t){return(0,E.Z)("MuiTabScrollButton",t)}const z=(0,$.Z)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),T=["className","slots","slotProps","direction","orientation","disabled"],j=(0,c.ZP)(C.Z,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.orientation&&n[e.orientation]]}})((({ownerState:t})=>(0,i.Z)({width:40,flexShrink:0,opacity:.8,[`&.${z.disabled}`]:{opacity:0}},"vertical"===t.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${t.isRtl?-90:90}deg)`}}))),A=o.forwardRef((function(t,n){var e,o;const c=(0,l.Z)({props:t,name:"MuiTabScrollButton"}),{className:f,slots:d={},slotProps:_={},direction:p}=c,v=(0,r.Z)(c,T),g="rtl"===(0,h.default)().direction,m=(0,i.Z)({isRtl:g},c),w=(t=>{const{classes:n,orientation:e,disabled:r}=t,i={root:["root",e,r&&"disabled"]};return(0,a.Z)(i,M,n)})(m),b=null!=(e=d.StartScrollButtonIcon)?e:k,x=null!=(o=d.EndScrollButtonIcon)?o:S,C=(0,u.Z)({elementType:b,externalSlotProps:_.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m}),$=(0,u.Z)({elementType:x,externalSlotProps:_.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m});return(0,y.jsx)(j,(0,i.Z)({component:"div",className:(0,s.default)(w.root,f),ref:n,role:null,ownerState:m,tabIndex:null},v,{children:"left"===p?(0,y.jsx)(b,(0,i.Z)({},C)):(0,y.jsx)(x,(0,i.Z)({},$))}))}));var q=e(42853);function P(t){return(0,E.Z)("MuiTabs",t)}const R=(0,$.Z)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]);var L=e(60617);const O=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],I=(t,n)=>t===n?t.firstChild:n&&n.nextElementSibling?n.nextElementSibling:t.firstChild,D=(t,n)=>t===n?t.lastChild:n&&n.previousElementSibling?n.previousElementSibling:t.lastChild,N=(t,n,e)=>{let r=!1,i=e(t,n);for(;i;){if(i===t.firstChild){if(r)return;r=!0}const n=i.disabled||"true"===i.getAttribute("aria-disabled");if(i.hasAttribute("tabindex")&&!n)return void i.focus();i=e(t,i)}},B=(0,c.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`& .${R.scrollButtons}`]:n.scrollButtons},{[`& .${R.scrollButtons}`]:e.scrollButtonsHideMobile&&n.scrollButtonsHideMobile},n.root,e.vertical&&n.vertical]}})((({ownerState:t,theme:n})=>(0,i.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&{[`& .${R.scrollButtons}`]:{[n.breakpoints.down("sm")]:{display:"none"}}}))),F=(0,c.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.scroller,e.fixed&&n.fixed,e.hideScrollbar&&n.hideScrollbar,e.scrollableX&&n.scrollableX,e.scrollableY&&n.scrollableY]}})((({ownerState:t})=>(0,i.Z)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"}))),U=(0,c.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.flexContainer,e.vertical&&n.flexContainerVertical,e.centered&&n.centered]}})((({ownerState:t})=>(0,i.Z)({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"}))),H=(0,c.ZP)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(t,n)=>n.indicator})((({ownerState:t,theme:n})=>(0,i.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:n.transitions.create()},"primary"===t.indicatorColor&&{backgroundColor:(n.vars||n).palette.primary.main},"secondary"===t.indicatorColor&&{backgroundColor:(n.vars||n).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0}))),G=(0,c.ZP)((function(t){const{onChange:n}=t,e=(0,r.Z)(t,w),s=o.useRef(),a=o.useRef(null),u=()=>{s.current=a.current.offsetHeight-a.current.clientHeight};return(0,g.Z)((()=>{const t=(0,f.Z)((()=>{const t=s.current;u(),t!==s.current&&n(s.current)})),e=(0,m.Z)(a.current);return e.addEventListener("resize",t),()=>{t.clear(),e.removeEventListener("resize",t)}}),[n]),o.useEffect((()=>{u(),n(s.current)}),[n]),(0,y.jsx)("div",(0,i.Z)({style:b,ref:a},e))}),{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),W={},V=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiTabs"}),c=(0,h.default)(),d="rtl"===c.direction,{"aria-label":g,"aria-labelledby":w,action:b,centered:x=!1,children:k,className:S,component:C="div",allowScrollButtonsMobile:$=!1,indicatorColor:E="primary",onChange:M,orientation:z="horizontal",ScrollButtonComponent:T=A,scrollButtons:j="auto",selectionFollowsFocus:R,slots:V={},slotProps:Z={},TabIndicatorProps:X={},TabScrollButtonProps:Y={},textColor:K="primary",value:J,variant:Q="standard",visibleScrollbar:tt=!1}=e,nt=(0,r.Z)(e,O),et="scrollable"===Q,rt="vertical"===z,it=rt?"scrollTop":"scrollLeft",ot=rt?"top":"left",st=rt?"bottom":"right",at=rt?"clientHeight":"clientWidth",ut=rt?"height":"width",ct=(0,i.Z)({},e,{component:C,allowScrollButtonsMobile:$,indicatorColor:E,orientation:z,vertical:rt,scrollButtons:j,textColor:K,variant:Q,visibleScrollbar:tt,fixed:!et,hideScrollbar:et&&!tt,scrollableX:et&&!rt,scrollableY:et&&rt,centered:x&&!et,scrollButtonsHideMobile:!$}),lt=(t=>{const{vertical:n,fixed:e,hideScrollbar:r,scrollableX:i,scrollableY:o,centered:s,scrollButtonsHideMobile:u,classes:c}=t,l={root:["root",n&&"vertical"],scroller:["scroller",e&&"fixed",r&&"hideScrollbar",i&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",n&&"flexContainerVertical",s&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",u&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,a.Z)(l,P,c)})(ct),ht=(0,u.Z)({elementType:V.StartScrollButtonIcon,externalSlotProps:Z.startScrollButtonIcon,ownerState:ct}),ft=(0,u.Z)({elementType:V.EndScrollButtonIcon,externalSlotProps:Z.endScrollButtonIcon,ownerState:ct}),[dt,_t]=o.useState(!1),[pt,vt]=o.useState(W),[gt,mt]=o.useState({start:!1,end:!1}),[yt,wt]=o.useState({overflow:"hidden",scrollbarWidth:0}),bt=new Map,xt=o.useRef(null),kt=o.useRef(null),St=()=>{const t=xt.current;let n,e;if(t){const e=t.getBoundingClientRect();n={clientWidth:t.clientWidth,scrollLeft:t.scrollLeft,scrollTop:t.scrollTop,scrollLeftNormalized:p(t,c.direction),scrollWidth:t.scrollWidth,top:e.top,bottom:e.bottom,left:e.left,right:e.right}}if(t&&!1!==J){const t=kt.current.children;if(t.length>0){const n=t[bt.get(J)];e=n?n.getBoundingClientRect():null}}return{tabsMeta:n,tabMeta:e}},Ct=(0,q.Z)((()=>{const{tabsMeta:t,tabMeta:n}=St();let e,r=0;if(rt)e="top",n&&t&&(r=n.top-t.top+t.scrollTop);else if(e=d?"right":"left",n&&t){const i=d?t.scrollLeftNormalized+t.clientWidth-t.scrollWidth:t.scrollLeft;r=(d?-1:1)*(n[e]-t[e]+i)}const i={[e]:r,[ut]:n?n[ut]:0};if(isNaN(pt[e])||isNaN(pt[ut]))vt(i);else{const t=Math.abs(pt[e]-i[e]),n=Math.abs(pt[ut]-i[ut]);(t>=1||n>=1)&&vt(i)}})),$t=(t,{animation:n=!0}={})=>{n?function(t,n,e,r={},i=(()=>{})){const{ease:o=v,duration:s=300}=r;let a=null;const u=n[t];let c=!1;const l=r=>{if(c)return void i(new Error("Animation cancelled"));null===a&&(a=r);const h=Math.min(1,(r-a)/s);n[t]=o(h)*(e-u)+u,h>=1?requestAnimationFrame((()=>{i(null)})):requestAnimationFrame(l)};u===e?i(new Error("Element already at target position")):requestAnimationFrame(l)}(it,xt.current,t,{duration:c.transitions.duration.standard}):xt.current[it]=t},Et=t=>{let n=xt.current[it];rt?n+=t:(n+=t*(d?-1:1),n*=d&&"reverse"===_()?-1:1),$t(n)},Mt=()=>{const t=xt.current[at];let n=0;const e=Array.from(kt.current.children);for(let r=0;rt){0===r&&(n=t);break}n+=i[at]}return n},zt=()=>{Et(-1*Mt())},Tt=()=>{Et(Mt())},jt=o.useCallback((t=>{wt({overflow:null,scrollbarWidth:t})}),[]),At=(0,q.Z)((t=>{const{tabsMeta:n,tabMeta:e}=St();if(e&&n)if(e[ot]n[st]){const r=n[it]+(e[st]-n[st]);$t(r,{animation:t})}})),qt=(0,q.Z)((()=>{if(et&&!1!==j){const{scrollTop:t,scrollHeight:n,clientHeight:e,scrollWidth:r,clientWidth:i}=xt.current;let o,s;if(rt)o=t>1,s=t1,s=d?t>1:t{const t=(0,f.Z)((()=>{xt.current&&(Ct(),qt())})),n=(0,m.Z)(xt.current);let e;return n.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(t),Array.from(kt.current.children).forEach((t=>{e.observe(t)}))),()=>{t.clear(),n.removeEventListener("resize",t),e&&e.disconnect()}}),[Ct,qt]);const Pt=o.useMemo((()=>(0,f.Z)((()=>{qt()}))),[qt]);o.useEffect((()=>()=>{Pt.clear()}),[Pt]),o.useEffect((()=>{_t(!0)}),[]),o.useEffect((()=>{Ct(),qt()})),o.useEffect((()=>{At(W!==pt)}),[At,pt]),o.useImperativeHandle(b,(()=>({updateIndicator:Ct,updateScrollButtons:qt})),[Ct,qt]);const Rt=(0,y.jsx)(H,(0,i.Z)({},X,{className:(0,s.default)(lt.indicator,X.className),ownerState:ct,style:(0,i.Z)({},pt,X.style)}));let Lt=0;const Ot=o.Children.map(k,(t=>{if(!o.isValidElement(t))return null;const n=void 0===t.props.value?Lt:t.props.value;bt.set(n,Lt);const e=n===J;return Lt+=1,o.cloneElement(t,(0,i.Z)({fullWidth:"fullWidth"===Q,indicator:e&&!dt&&Rt,selected:e,selectionFollowsFocus:R,onChange:M,textColor:K,value:n},1!==Lt||!1!==J||t.props.tabIndex?{}:{tabIndex:0}))})),It=(()=>{const t={};t.scrollbarSizeListener=et?(0,y.jsx)(G,{onChange:jt,className:(0,s.default)(lt.scrollableX,lt.hideScrollbar)}):null;const n=gt.start||gt.end,e=et&&("auto"===j&&n||!0===j);return t.scrollButtonStart=e?(0,y.jsx)(T,(0,i.Z)({slots:{StartScrollButtonIcon:V.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:ht},orientation:z,direction:d?"right":"left",onClick:zt,disabled:!gt.start},Y,{className:(0,s.default)(lt.scrollButtons,Y.className)})):null,t.scrollButtonEnd=e?(0,y.jsx)(T,(0,i.Z)({slots:{EndScrollButtonIcon:V.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:ft},orientation:z,direction:d?"left":"right",onClick:Tt,disabled:!gt.end},Y,{className:(0,s.default)(lt.scrollButtons,Y.className)})):null,t})();return(0,y.jsxs)(B,(0,i.Z)({className:(0,s.default)(lt.root,S),ownerState:ct,ref:n,as:C},nt,{children:[It.scrollButtonStart,It.scrollbarSizeListener,(0,y.jsxs)(F,{className:lt.scroller,ownerState:ct,style:{overflow:yt.overflow,[rt?"margin"+(d?"Left":"Right"):"marginBottom"]:tt?void 0:-yt.scrollbarWidth},ref:xt,onScroll:Pt,children:[(0,y.jsx)(U,{"aria-label":g,"aria-labelledby":w,"aria-orientation":"vertical"===z?"vertical":null,className:lt.flexContainer,ownerState:ct,onKeyDown:t=>{const n=kt.current,e=(0,L.Z)(n).activeElement;if("tab"!==e.getAttribute("role"))return;let r="horizontal"===z?"ArrowLeft":"ArrowUp",i="horizontal"===z?"ArrowRight":"ArrowDown";switch("horizontal"===z&&d&&(r="ArrowRight",i="ArrowLeft"),t.key){case r:t.preventDefault(),N(n,e,D);break;case i:t.preventDefault(),N(n,e,I);break;case"Home":t.preventDefault(),N(n,null,I);break;case"End":t.preventDefault(),N(n,null,D)}},ref:kt,role:"tablist",children:Ot}),dt&&Rt]}),It.scrollButtonEnd]}))}))},39260:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>$,getTextFieldUtilityClass:()=>w,textFieldClasses:()=>b});var r=e(30984),i=e(55559),o=e(66204),s=e(53583),a=e(58029),u=e(96744),c=e(61125),l=e(57369),h=e(61054),f=e(60381),d=e(20713),_=e(60962),p=e(94926),v=e(35861),g=e(31574),m=e(58109),y=e(95201);function w(t){return(0,y.Z)("MuiTextField",t)}const b=(0,m.Z)("MuiTextField",["root"]);var x=e(43188);const k=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],S={standard:h.Z,filled:f.Z,outlined:d.Z},C=(0,c.ZP)(p.Z,{name:"MuiTextField",slot:"Root",overridesResolver:(t,n)=>n.root})({}),$=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:c=!1,children:h,className:f,color:d="primary",defaultValue:p,disabled:m=!1,error:y=!1,FormHelperTextProps:b,fullWidth:$=!1,helperText:E,id:M,InputLabelProps:z,inputProps:T,InputProps:j,inputRef:A,label:q,maxRows:P,minRows:R,multiline:L=!1,name:O,onBlur:I,onChange:D,onClick:N,onFocus:B,placeholder:F,required:U=!1,rows:H,select:G=!1,SelectProps:W,type:V,value:Z,variant:X="outlined"}=e,Y=(0,i.Z)(e,k),K=(0,r.Z)({},e,{autoFocus:c,color:d,disabled:m,error:y,fullWidth:$,multiline:L,required:U,select:G,variant:X}),J=(t=>{const{classes:n}=t;return(0,a.Z)({root:["root"]},w,n)})(K),Q={};"outlined"===X&&(z&&void 0!==z.shrink&&(Q.notched=z.shrink),Q.label=q),G&&(W&&W.native||(Q.id=void 0),Q["aria-describedby"]=void 0);const tt=(0,u.Z)(M),nt=E&&tt?`${tt}-helper-text`:void 0,et=q&&tt?`${tt}-label`:void 0,rt=S[X],it=(0,x.jsx)(rt,(0,r.Z)({"aria-describedby":nt,autoComplete:o,autoFocus:c,defaultValue:p,fullWidth:$,multiline:L,name:O,rows:H,maxRows:P,minRows:R,type:V,value:Z,id:tt,inputRef:A,onBlur:I,onChange:D,onFocus:B,onClick:N,placeholder:F,inputProps:T},Q,j));return(0,x.jsxs)(C,(0,r.Z)({className:(0,s.default)(J.root,f),disabled:m,error:y,fullWidth:$,ref:n,required:U,color:d,variant:X,ownerState:K},Y,{children:[null!=q&&""!==q&&(0,x.jsx)(_.Z,(0,r.Z)({htmlFor:tt,id:et},z,{children:q})),G?(0,x.jsx)(g.Z,(0,r.Z)({"aria-describedby":nt,id:tt,labelId:et,value:Z,input:it},W,{children:h})):it,E&&(0,x.jsx)(v.Z,(0,r.Z)({id:nt},b,{children:E}))]}))}))},88494:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>w,getToggleButtonUtilityClass:()=>p,toggleButtonClasses:()=>v});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(73330),c=e(52983),l=e(40118),h=e(57369),f=e(61125),d=e(58109),_=e(95201);function p(t){return(0,_.Z)("MuiToggleButton",t)}const v=(0,d.Z)("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge"]);var g=e(43188);const m=["children","className","color","disabled","disableFocusRipple","fullWidth","onChange","onClick","selected","size","value"],y=(0,f.ZP)(c.Z,{name:"MuiToggleButton",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,n[`size${(0,l.Z)(e.size)}`]]}})((({theme:t,ownerState:n})=>{let e,r="standard"===n.color?t.palette.text.primary:t.palette[n.color].main;return t.vars&&(r="standard"===n.color?t.vars.palette.text.primary:t.vars.palette[n.color].main,e="standard"===n.color?t.vars.palette.text.primaryChannel:t.vars.palette[n.color].mainChannel),(0,i.Z)({},t.typography.button,{borderRadius:(t.vars||t).shape.borderRadius,padding:11,border:`1px solid ${(t.vars||t).palette.divider}`,color:(t.vars||t).palette.action.active},n.fullWidth&&{width:"100%"},{[`&.${v.disabled}`]:{color:(t.vars||t).palette.action.disabled,border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,u.Fq)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${v.selected}`]:{color:r,backgroundColor:t.vars?`rgba(${e} / ${t.vars.palette.action.selectedOpacity})`:(0,u.Fq)(r,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${e} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,u.Fq)(r,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${e} / ${t.vars.palette.action.selectedOpacity})`:(0,u.Fq)(r,t.palette.action.selectedOpacity)}}}},"small"===n.size&&{padding:7,fontSize:t.typography.pxToRem(13)},"large"===n.size&&{padding:15,fontSize:t.typography.pxToRem(15)})})),w=o.forwardRef((function(t,n){const e=(0,h.Z)({props:t,name:"MuiToggleButton"}),{children:o,className:u,color:c="standard",disabled:f=!1,disableFocusRipple:d=!1,fullWidth:_=!1,onChange:v,onClick:w,selected:b,size:x="medium",value:k}=e,S=(0,r.Z)(e,m),C=(0,i.Z)({},e,{color:c,disabled:f,disableFocusRipple:d,fullWidth:_,size:x}),$=(t=>{const{classes:n,fullWidth:e,selected:r,disabled:i,size:o,color:s}=t,u={root:["root",r&&"selected",i&&"disabled",e&&"fullWidth",`size${(0,l.Z)(o)}`,s]};return(0,a.Z)(u,p,n)})(C);return(0,g.jsx)(y,(0,i.Z)({className:(0,s.default)($.root,u),disabled:f,focusRipple:!d,ref:n,onClick:t=>{w&&(w(t,k),t.defaultPrevented)||v&&v(t,k)},onChange:v,value:k,ownerState:C,"aria-pressed":b},S,{children:o}))}))},62811:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>y,getToggleButtonGroupUtilityClass:()=>_,toggleButtonGroupClasses:()=>p});var r=e(55559),i=e(30984),o=e(66204),s=(e(5356),e(53583)),a=e(58029),u=e(61125),c=e(57369),l=e(40118);function h(t,n){return void 0!==n&&void 0!==t&&(Array.isArray(n)?n.indexOf(t)>=0:t===n)}var f=e(58109),d=e(95201);function _(t){return(0,d.Z)("MuiToggleButtonGroup",t)}const p=(0,f.Z)("MuiToggleButtonGroup",["root","selected","vertical","disabled","grouped","groupedHorizontal","groupedVertical"]);var v=e(43188);const g=["children","className","color","disabled","exclusive","fullWidth","onChange","orientation","size","value"],m=(0,u.ZP)("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[{[`& .${p.grouped}`]:n.grouped},{[`& .${p.grouped}`]:n[`grouped${(0,l.Z)(e.orientation)}`]},n.root,"vertical"===e.orientation&&n.vertical,e.fullWidth&&n.fullWidth]}})((({ownerState:t,theme:n})=>(0,i.Z)({display:"inline-flex",borderRadius:(n.vars||n).shape.borderRadius},"vertical"===t.orientation&&{flexDirection:"column"},t.fullWidth&&{width:"100%"},{[`& .${p.grouped}`]:(0,i.Z)({},"horizontal"===t.orientation?{"&:not(:first-of-type)":{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-of-type)":{borderTopRightRadius:0,borderBottomRightRadius:0},[`&.${p.selected} + .${p.grouped}.${p.selected}`]:{borderLeft:0,marginLeft:0}}:{"&:not(:first-of-type)":{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},"&:not(:last-of-type)":{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`&.${p.selected} + .${p.grouped}.${p.selected}`]:{borderTop:0,marginTop:0}})}))),y=o.forwardRef((function(t,n){const e=(0,c.Z)({props:t,name:"MuiToggleButtonGroup"}),{children:u,className:f,color:d="standard",disabled:p=!1,exclusive:y=!1,fullWidth:w=!1,onChange:b,orientation:x="horizontal",size:k="medium",value:S}=e,C=(0,r.Z)(e,g),$=(0,i.Z)({},e,{disabled:p,fullWidth:w,orientation:x,size:k}),E=(t=>{const{classes:n,orientation:e,fullWidth:r,disabled:i}=t,o={root:["root","vertical"===e&&"vertical",r&&"fullWidth"],grouped:["grouped",`grouped${(0,l.Z)(e)}`,i&&"disabled"]};return(0,a.Z)(o,_,n)})($),M=(t,n)=>{if(!b)return;const e=S&&S.indexOf(n);let r;S&&e>=0?(r=S.slice(),r.splice(e,1)):r=S?S.concat(n):[n],b(t,r)},z=(t,n)=>{b&&b(t,S===n?null:n)};return(0,v.jsx)(m,(0,i.Z)({role:"group",className:(0,s.default)(E.root,f),ref:n,ownerState:$},C,{children:o.Children.map(u,(t=>o.isValidElement(t)?o.cloneElement(t,{className:(0,s.default)(E.grouped,t.props.className),onChange:y?z:M,selected:void 0===t.props.selected?h(t.props.value,S):t.props.selected,size:t.props.size||k,fullWidth:w,color:t.props.color||d,disabled:t.props.disabled||p}):null))}))}))},1993:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>g,getToolbarUtilityClass:()=>f,toolbarClasses:()=>d});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(57369),c=e(61125),l=e(58109),h=e(95201);function f(t){return(0,h.Z)("MuiToolbar",t)}const d=(0,l.Z)("MuiToolbar",["root","gutters","regular","dense"]);var _=e(43188);const p=["className","component","disableGutters","variant"],v=(0,c.ZP)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,!e.disableGutters&&n.gutters,n[e.variant]]}})((({theme:t,ownerState:n})=>(0,i.Z)({position:"relative",display:"flex",alignItems:"center"},!n.disableGutters&&{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}},"dense"===n.variant&&{minHeight:48})),(({theme:t,ownerState:n})=>"regular"===n.variant&&t.mixins.toolbar)),g=o.forwardRef((function(t,n){const e=(0,u.Z)({props:t,name:"MuiToolbar"}),{className:o,component:c="div",disableGutters:l=!1,variant:h="regular"}=e,d=(0,r.Z)(e,p),g=(0,i.Z)({},e,{component:c,disableGutters:l,variant:h}),m=(t=>{const{classes:n,disableGutters:e,variant:r}=t,i={root:["root",!e&&"gutters",r]};return(0,a.Z)(i,f,n)})(g);return(0,_.jsx)(v,(0,i.Z)({as:c,className:(0,s.default)(m.root,o),ref:n,ownerState:g},d))}))},80013:(t,n,e)=>{"use strict";e.d(n,{Z:()=>m});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(8449),u=e(58029),c=e(61125),l=e(57369),h=e(40118),f=e(39026),d=e(43188);const _=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],p=(0,c.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,n)=>{const{ownerState:e}=t;return[n.root,e.variant&&n[e.variant],"inherit"!==e.align&&n[`align${(0,h.Z)(e.align)}`],e.noWrap&&n.noWrap,e.gutterBottom&&n.gutterBottom,e.paragraph&&n.paragraph]}})((({theme:t,ownerState:n})=>(0,i.Z)({margin:0},n.variant&&t.typography[n.variant],"inherit"!==n.align&&{textAlign:n.align},n.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n.gutterBottom&&{marginBottom:"0.35em"},n.paragraph&&{marginBottom:16}))),v={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},g={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},m=o.forwardRef((function(t,n){const e=(0,l.Z)({props:t,name:"MuiTypography"}),o=(t=>g[t]||t)(e.color),c=(0,a.Z)((0,i.Z)({},e,{color:o})),{align:m="inherit",className:y,component:w,gutterBottom:b=!1,noWrap:x=!1,paragraph:k=!1,variant:S="body1",variantMapping:C=v}=c,$=(0,r.Z)(c,_),E=(0,i.Z)({},c,{align:m,color:o,className:y,component:w,gutterBottom:b,noWrap:x,paragraph:k,variant:S,variantMapping:C}),M=w||(k?"p":C[S]||v[S])||"span",z=(t=>{const{align:n,gutterBottom:e,noWrap:r,paragraph:i,variant:o,classes:s}=t,a={root:["root",o,"inherit"!==t.align&&`align${(0,h.Z)(n)}`,e&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return(0,u.Z)(a,f.f,s)})(E);return(0,d.jsx)(p,(0,i.Z)({as:M,ref:n,ownerState:E,className:(0,s.default)(z.root,y)},$))}))},87782:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>r.Z,getTypographyUtilityClass:()=>i.f,typographyClasses:()=>i.Z});var r=e(80013),i=e(39026)},39026:(t,n,e)=>{"use strict";e.d(n,{Z:()=>s,f:()=>o});var r=e(58109),i=e(95201);function o(t){return(0,i.Z)("MuiTypography",t)}const s=(0,r.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"])},68892:(t,n,e)=>{"use strict";e.d(n,{Z:()=>w});var r=e(55559),i=e(30984),o=e(66204),s=e(53583),a=e(58029),u=e(40118),c=e(61125),l=e(66262),h=e(55834),f=e(52983),d=e(58109),_=e(95201);function p(t){return(0,_.Z)("PrivateSwitchBase",t)}(0,d.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var v=e(43188);const g=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],m=(0,c.ZP)(f.Z)((({ownerState:t})=>(0,i.Z)({padding:9,borderRadius:"50%"},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12}))),y=(0,c.ZP)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),w=o.forwardRef((function(t,n){const{autoFocus:e,checked:o,checkedIcon:c,className:f,defaultChecked:d,disabled:_,disableFocusRipple:w=!1,edge:b=!1,icon:x,id:k,inputProps:S,inputRef:C,name:$,onBlur:E,onChange:M,onFocus:z,readOnly:T,required:j=!1,tabIndex:A,type:q,value:P}=t,R=(0,r.Z)(t,g),[L,O]=(0,l.Z)({controlled:o,default:Boolean(d),name:"SwitchBase",state:"checked"}),I=(0,h.Z)();let D=_;I&&void 0===D&&(D=I.disabled);const N="checkbox"===q||"radio"===q,B=(0,i.Z)({},t,{checked:L,disabled:D,disableFocusRipple:w,edge:b}),F=(t=>{const{classes:n,checked:e,disabled:r,edge:i}=t,o={root:["root",e&&"checked",r&&"disabled",i&&`edge${(0,u.Z)(i)}`],input:["input"]};return(0,a.Z)(o,p,n)})(B);return(0,v.jsxs)(m,(0,i.Z)({component:"span",className:(0,s.default)(F.root,f),centerRipple:!0,focusRipple:!w,disabled:D,tabIndex:null,role:void 0,onFocus:t=>{z&&z(t),I&&I.onFocus&&I.onFocus(t)},onBlur:t=>{E&&E(t),I&&I.onBlur&&I.onBlur(t)},ownerState:B,ref:n},R,{children:[(0,v.jsx)(y,(0,i.Z)({autoFocus:e,checked:o,defaultChecked:d,className:F.input,disabled:D,id:N?k:void 0,name:$,onChange:t=>{if(t.nativeEvent.defaultPrevented)return;const n=t.target.checked;O(n),M&&M(t,n)},readOnly:T,ref:C,required:j,ownerState:B,tabIndex:A,type:q},"checkbox"===q&&void 0===P?{}:{value:P},S)),L?c:x]}))}))},29332:(t,n,e)=>{"use strict";e.d(n,{G:()=>s,Z:()=>l});var r=e(26074),i=e(45796),o=e(35802);function s(t,n){n?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function a(t){return parseInt((0,i.Z)(t).getComputedStyle(t).paddingRight,10)||0}function u(t,n,e,r,i){const o=[n,e,...r];[].forEach.call(t.children,(t=>{const n=-1===o.indexOf(t),e=!function(t){const n=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(t.tagName),e="INPUT"===t.tagName&&"hidden"===t.getAttribute("type");return n||e}(t);n&&e&&s(t,i)}))}function c(t,n){let e=-1;return t.some(((t,r)=>!!n(t)&&(e=r,!0))),e}class l{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let e=this.modals.indexOf(t);if(-1!==e)return e;e=this.modals.length,this.modals.push(t),t.modalRef&&s(t.modalRef,!1);const r=function(t){const n=[];return[].forEach.call(t.children,(t=>{"true"===t.getAttribute("aria-hidden")&&n.push(t)})),n}(n);u(n,t.mount,t.modalRef,r,!0);const i=c(this.containers,(t=>t.container===n));return-1!==i?(this.containers[i].modals.push(t),e):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:r}),e)}mount(t,n){const e=c(this.containers,(n=>-1!==n.modals.indexOf(t))),s=this.containers[e];s.restore||(s.restore=function(t,n){const e=[],s=t.container;if(!n.disableScrollLock){if(function(t){const n=(0,r.Z)(t);return n.body===t?(0,i.Z)(t).innerWidth>n.documentElement.clientWidth:t.scrollHeight>t.clientHeight}(s)){const t=(0,o.Z)((0,r.Z)(s));e.push({value:s.style.paddingRight,property:"padding-right",el:s}),s.style.paddingRight=`${a(s)+t}px`;const n=(0,r.Z)(s).querySelectorAll(".mui-fixed");[].forEach.call(n,(n=>{e.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${a(n)+t}px`}))}let t;if(s.parentNode instanceof DocumentFragment)t=(0,r.Z)(s).body;else{const n=s.parentElement,e=(0,i.Z)(s);t="HTML"===(null==n?void 0:n.nodeName)&&"scroll"===e.getComputedStyle(n).overflowY?n:s}e.push({value:t.style.overflow,property:"overflow",el:t},{value:t.style.overflowX,property:"overflow-x",el:t},{value:t.style.overflowY,property:"overflow-y",el:t}),t.style.overflow="hidden"}return()=>{e.forEach((({value:t,el:n,property:e})=>{t?n.style.setProperty(e,t):n.style.removeProperty(e)}))}}(s,n))}remove(t,n=!0){const e=this.modals.indexOf(t);if(-1===e)return e;const r=c(this.containers,(n=>-1!==n.modals.indexOf(t))),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(e,1),0===i.modals.length)i.restore&&i.restore(),t.modalRef&&s(t.modalRef,n),u(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{const t=i.modals[i.modals.length-1];t.modalRef&&s(t.modalRef,!1)}return e}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}},61234:(t,n,e)=>{"use strict";function r(t,n=[]){if(void 0===t)return{};const e={};return Object.keys(t).filter((e=>e.match(/^on[A-Z]/)&&"function"==typeof t[e]&&!n.includes(e))).forEach((n=>{e[n]=t[n]})),e}e.d(n,{Z:()=>r})},38094:(t,n,e)=>{"use strict";function r(t){return"string"==typeof t}e.d(n,{Z:()=>r})},34582:(t,n,e)=>{"use strict";function r(t,n){return"function"==typeof t?t(n):t}e.d(n,{Z:()=>r})},98858:(t,n,e)=>{"use strict";e.d(n,{Z:()=>f});var r=e(30984),i=e(55559),o=e(52682),s=e(38094),a=e(53583),u=e(61234);function c(t){if(void 0===t)return{};const n={};return Object.keys(t).filter((n=>!(n.match(/^on[A-Z]/)&&"function"==typeof t[n]))).forEach((e=>{n[e]=t[e]})),n}var l=e(34582);const h=["elementType","externalSlotProps","ownerState"];function f(t){var n;const{elementType:e,externalSlotProps:f,ownerState:d}=t,_=(0,i.Z)(t,h),p=(0,l.Z)(f,d),{props:v,internalRef:g}=function(t){const{getSlotProps:n,additionalProps:e,externalSlotProps:i,externalForwardedProps:o,className:s}=t;if(!n){const t=(0,a.default)(null==o?void 0:o.className,null==i?void 0:i.className,s,null==e?void 0:e.className),n=(0,r.Z)({},null==e?void 0:e.style,null==o?void 0:o.style,null==i?void 0:i.style),u=(0,r.Z)({},e,o,i);return t.length>0&&(u.className=t),Object.keys(n).length>0&&(u.style=n),{props:u,internalRef:void 0}}const l=(0,u.Z)((0,r.Z)({},o,i)),h=c(i),f=c(o),d=n(l),_=(0,a.default)(null==d?void 0:d.className,null==e?void 0:e.className,s,null==o?void 0:o.className,null==i?void 0:i.className),p=(0,r.Z)({},null==d?void 0:d.style,null==e?void 0:e.style,null==o?void 0:o.style,null==i?void 0:i.style),v=(0,r.Z)({},d,e,f,h);return _.length>0&&(v.className=_),Object.keys(p).length>0&&(v.style=p),{props:v,internalRef:d.ref}}((0,r.Z)({},_,{externalSlotProps:p})),m=(0,o.Z)(g,null==p?void 0:p.ref,null==(n=t.additionalProps)?void 0:n.ref),y=function(t,n,e){return void 0===t||(0,s.Z)(t)?n:(0,r.Z)({},n,{ownerState:(0,r.Z)({},n.ownerState,e)})}(e,(0,r.Z)({},v,{ref:m}),d);return y}},12215:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>m});var r=e(30984),i=e(55559),o=e(66204);const s=o.createContext(null);function a(){return o.useContext(s)}const u="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var c=e(43188);const l=function(t){const{children:n,theme:e}=t,i=a(),l=o.useMemo((()=>{const t=null===i?e:function(t,n){return"function"==typeof n?n(t):(0,r.Z)({},t,n)}(i,e);return null!=t&&(t[u]=null!==i),t}),[e,i]);return(0,c.jsx)(s.Provider,{value:l,children:n})};var h=e(49558),f=e(2772);const d={};function _(t,n,e,i=!1){return o.useMemo((()=>{const o=t&&n[t]||n;if("function"==typeof e){const s=e(o),a=t?(0,r.Z)({},n,{[t]:s}):s;return i?()=>a:a}return t?(0,r.Z)({},n,{[t]:e}):(0,r.Z)({},n,e)}),[t,n,e,i])}const p=function(t){const{children:n,theme:e,themeId:r}=t,i=(0,f.Z)(d),o=a()||d,s=_(r,i,e),u=_(r,o,e,!0);return(0,c.jsx)(l,{theme:u,children:(0,c.jsx)(h.T.Provider,{value:s,children:n})})};var v=e(80880);const g=["theme"];function m(t){let{theme:n}=t,e=(0,i.Z)(t,g);const o=n[v.Z];return(0,c.jsx)(p,(0,r.Z)({},e,{themeId:o?v.Z:void 0,theme:o||n}))}},32162:(t,n,e)=>{"use strict";e.r(n),e.d(n,{createMuiTheme:()=>q,default:()=>P});var r=e(30984),i=e(55559),o=e(89274),s=e(53709),a=e(716),u=e(68342),c=e(95882),l=e(73330);const h={black:"#000",white:"#fff"},f={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"},d={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"},_={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"},p={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"},v={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"},g={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"},m={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},y=["mode","contrastThreshold","tonalOffset"],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:h.white,default:h.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}},b={text:{primary:h.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:h.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 x(t,n,e,r){const i=r.light||r,o=r.dark||1.5*r;t[n]||(t.hasOwnProperty(e)?t[n]=t[e]:"light"===n?t.light=(0,l.$n)(t.main,i):"dark"===n&&(t.dark=(0,l._j)(t.main,o)))}const k=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],S={textTransform:"uppercase"},C='"Roboto", "Helvetica", "Arial", sans-serif';function $(t,n){const e="function"==typeof n?n(t):n,{fontFamily:o=C,fontSize:a=14,fontWeightLight:u=300,fontWeightRegular:c=400,fontWeightMedium:l=500,fontWeightBold:h=700,htmlFontSize:f=16,allVariants:d,pxToRem:_}=e,p=(0,i.Z)(e,k),v=a/14,g=_||(t=>t/f*v+"rem"),m=(t,n,e,i,s)=>{return(0,r.Z)({fontFamily:o,fontWeight:t,fontSize:g(n),lineHeight:e},o===C?{letterSpacing:(a=i/n,Math.round(1e5*a)/1e5+"em")}:{},s,d);var a},y={h1:m(u,96,1.167,-1.5),h2:m(u,60,1.2,-.5),h3:m(c,48,1.167,0),h4:m(c,34,1.235,.25),h5:m(c,24,1.334,0),h6:m(l,20,1.6,.15),subtitle1:m(c,16,1.75,.15),subtitle2:m(l,14,1.57,.1),body1:m(c,16,1.5,.15),body2:m(c,14,1.43,.15),button:m(l,14,1.75,.4,S),caption:m(c,12,1.66,.4),overline:m(c,12,2.66,1,S),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,s.Z)((0,r.Z)({htmlFontSize:f,pxToRem:g,fontFamily:o,fontSize:a,fontWeightLight:u,fontWeightRegular:c,fontWeightMedium:l,fontWeightBold:h},y),p,{clone:!1})}function E(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,0.2)`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,0.14)`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,0.12)`].join(",")}const M=["none",E(0,2,1,-1,0,1,1,0,0,1,3,0),E(0,3,1,-2,0,2,2,0,0,1,5,0),E(0,3,3,-2,0,3,4,0,0,1,8,0),E(0,2,4,-1,0,4,5,0,0,1,10,0),E(0,3,5,-1,0,5,8,0,0,1,14,0),E(0,3,5,-1,0,6,10,0,0,1,18,0),E(0,4,5,-2,0,7,10,1,0,2,16,1),E(0,5,5,-3,0,8,10,1,0,3,14,2),E(0,5,6,-3,0,9,12,1,0,3,16,2),E(0,6,6,-3,0,10,14,1,0,4,18,3),E(0,6,7,-4,0,11,15,1,0,4,20,3),E(0,7,8,-4,0,12,17,2,0,5,22,4),E(0,7,8,-4,0,13,19,2,0,5,24,4),E(0,7,9,-4,0,14,21,2,0,5,26,4),E(0,8,9,-5,0,15,22,2,0,6,28,5),E(0,8,10,-5,0,16,24,2,0,6,30,5),E(0,8,11,-5,0,17,26,2,0,6,32,5),E(0,9,11,-5,0,18,28,2,0,7,34,6),E(0,9,12,-6,0,19,29,2,0,7,36,6),E(0,10,13,-6,0,20,31,3,0,8,38,7),E(0,10,13,-6,0,21,33,3,0,8,40,7),E(0,10,14,-6,0,22,35,3,0,8,42,7),E(0,11,14,-7,0,23,36,3,0,9,44,8),E(0,11,15,-7,0,24,38,3,0,9,46,8)];var z=e(14262);const T={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 A(t={},...n){const{mixins:e={},palette:k={},transitions:S={},typography:C={}}=t,E=(0,i.Z)(t,j);if(t.vars)throw new Error((0,o.Z)(18));const A=function(t){const{mode:n="light",contrastThreshold:e=3,tonalOffset:a=.2}=t,u=(0,i.Z)(t,y),c=t.primary||function(t="light"){return"dark"===t?{main:v[200],light:v[50],dark:v[400]}:{main:v[700],light:v[400],dark:v[800]}}(n),k=t.secondary||function(t="light"){return"dark"===t?{main:d[200],light:d[50],dark:d[400]}:{main:d[500],light:d[300],dark:d[700]}}(n),S=t.error||function(t="light"){return"dark"===t?{main:_[500],light:_[300],dark:_[700]}:{main:_[700],light:_[400],dark:_[800]}}(n),C=t.info||function(t="light"){return"dark"===t?{main:g[400],light:g[300],dark:g[700]}:{main:g[700],light:g[500],dark:g[900]}}(n),$=t.success||function(t="light"){return"dark"===t?{main:m[400],light:m[300],dark:m[700]}:{main:m[800],light:m[500],dark:m[900]}}(n),E=t.warning||function(t="light"){return"dark"===t?{main:p[400],light:p[300],dark:p[700]}:{main:"#ed6c02",light:p[500],dark:p[900]}}(n);function M(t){return(0,l.mi)(t,b.text.primary)>=e?b.text.primary:w.text.primary}const z=({color:t,name:n,mainShade:e=500,lightShade:i=300,darkShade:s=700})=>{if(!(t=(0,r.Z)({},t)).main&&t[e]&&(t.main=t[e]),!t.hasOwnProperty("main"))throw new Error((0,o.Z)(11,n?` (${n})`:"",e));if("string"!=typeof t.main)throw new Error((0,o.Z)(12,n?` (${n})`:"",JSON.stringify(t.main)));return x(t,"light",i,a),x(t,"dark",s,a),t.contrastText||(t.contrastText=M(t.main)),t},T={dark:b,light:w};return(0,s.Z)((0,r.Z)({common:(0,r.Z)({},h),mode:n,primary:z({color:c,name:"primary"}),secondary:z({color:k,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:z({color:S,name:"error"}),warning:z({color:E,name:"warning"}),info:z({color:C,name:"info"}),success:z({color:$,name:"success"}),grey:f,contrastThreshold:e,getContrastText:M,augmentColor:z,tonalOffset:a},T[n]),u)}(k),q=(0,a.Z)(t);let P=(0,s.Z)(q,{mixins:(R=q.breakpoints,L=e,(0,r.Z)({toolbar:{minHeight:56,[R.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[R.up("sm")]:{minHeight:64}}},L)),palette:A,shadows:M.slice(),typography:$(A,C),transitions:(0,z.ZP)(S),zIndex:(0,r.Z)({},T)});var R,L;return P=(0,s.Z)(P,E),P=n.reduce(((t,n)=>(0,s.Z)(t,n)),P),P.unstable_sxConfig=(0,r.Z)({},u.Z,null==E?void 0:E.unstable_sxConfig),P.unstable_sx=function(t){return(0,c.Z)({sx:t,theme:this})},P}function q(...t){return A(...t)}const P=A},14262:(t,n,e)=>{"use strict";e.d(n,{ZP:()=>l,x9:()=>a});var r=e(55559),i=e(30984);const o=["duration","easing","delay"],s={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)"},a={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function u(t){return`${Math.round(t)}ms`}function c(t){if(!t)return 0;const n=t/36;return Math.round(10*(4+15*n**.25+n/5))}function l(t){const n=(0,i.Z)({},s,t.easing),e=(0,i.Z)({},a,t.duration);return(0,i.Z)({getAutoHeightDuration:c,create:(t=["all"],i={})=>{const{duration:s=e.standard,easing:a=n.easeInOut,delay:c=0}=i;return(0,r.Z)(i,o),(Array.isArray(t)?t:[t]).map((t=>`${t} ${"string"==typeof s?s:u(s)} ${a} ${"string"==typeof c?c:u(c)}`)).join(",")}},t,{easing:n,duration:e})}},86995:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=(0,e(32162).default)()},80880:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r="$$material"},61125:(t,n,e)=>{"use strict";e.d(n,{Dz:()=>a,FO:()=>s,ZP:()=>u});var r=e(37422),i=e(86995),o=e(80880);const s=t=>(0,r.x9)(t)&&"classes"!==t,a=r.x9,u=(0,r.ZP)({themeId:o.Z,defaultTheme:i.Z,rootShouldForwardProp:s})},92368:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>s}),e(66204);var r=e(85293),i=e(86995),o=e(80880);function s(){const t=(0,r.Z)(i.Z);return t[o.Z]||t}},57369:(t,n,e)=>{"use strict";e.d(n,{Z:()=>s});var r=e(77877),i=e(86995),o=e(80880);function s({props:t,name:n}){return(0,r.Z)({props:t,name:n,defaultTheme:i.Z,themeId:o.Z})}},41372:(t,n,e)=>{"use strict";e.d(n,{C:()=>i,n:()=>r});const r=t=>t.scrollTop;function i(t,n){var e,r;const{timeout:i,easing:o,style:s={}}=t;return{duration:null!=(e=s.transitionDuration)?e:"number"==typeof i?i:i[n.mode]||0,easing:null!=(r=s.transitionTimingFunction)?r:"object"==typeof o?o[n.mode]:o,delay:s.transitionDelay}}},40118:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=e(46730).Z},91882:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=e(74603).Z},50968:(t,n,e)=>{"use strict";e.d(n,{Z:()=>a});var r=e(30984),i=e(66204),o=e(81650),s=e(43188);function a(t,n){function e(e,i){return(0,s.jsx)(o.Z,(0,r.Z)({"data-testid":`${n}Icon`,ref:i},e,{children:t}))}return e.muiName=o.Z.muiName,i.memo(i.forwardRef(e))}},78101:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=e(72650).Z},90407:(t,n,e)=>{"use strict";e.r(n),e.d(n,{capitalize:()=>i.Z,createChainedFunction:()=>o.Z,createSvgIcon:()=>s.Z,debounce:()=>a.Z,deprecatedPropType:()=>u,isMuiElement:()=>c.Z,ownerDocument:()=>l.Z,ownerWindow:()=>h.Z,requirePropFactory:()=>f,setRef:()=>d,unstable_ClassNameGenerator:()=>b,unstable_useEnhancedEffect:()=>_.Z,unstable_useId:()=>p.Z,unsupportedProp:()=>v,useControlled:()=>g.Z,useEventCallback:()=>m.Z,useForkRef:()=>y.Z,useIsFocusVisible:()=>w.Z});var r=e(51388),i=e(40118),o=e(91882),s=e(50968),a=e(78101);const u=function(t,n){return()=>null};var c=e(6842),l=e(60617),h=e(19514);e(30984);const f=function(t,n){return()=>null},d=e(513).Z;var _=e(5429),p=e(79673);const v=function(t,n,e,r,i){return null};var g=e(66262),m=e(42853),y=e(81597),w=e(71323);const b={configure:t=>{r.Z.configure(t)}}},6842:(t,n,e)=>{"use strict";e.d(n,{Z:()=>i});var r=e(66204);const i=function(t,n){return r.isValidElement(t)&&-1!==n.indexOf(t.type.muiName)}},60617:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=e(26074).Z},19514:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=e(45796).Z},66262:(t,n,e)=>{"use strict";e.d(n,{Z:()=>i});var r=e(66204);const i=function({controlled:t,default:n,name:e,state:i="value"}){const{current:o}=r.useRef(void 0!==t),[s,a]=r.useState(n);return[o?t:s,r.useCallback((t=>{o||a(t)}),[])]}},5429:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=e(40401).Z},42853:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=e(76734).Z},81597:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=e(52682).Z},79673:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r});const r=e(96744).Z},71323:(t,n,e)=>{"use strict";e.d(n,{Z:()=>h});var r=e(66204);let i,o=!0,s=!1;const a={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(t){t.metaKey||t.altKey||t.ctrlKey||(o=!0)}function c(){o=!1}function l(){"hidden"===this.visibilityState&&s&&(o=!0)}const h=function(){const t=r.useCallback((t=>{var n;null!=t&&((n=t.ownerDocument).addEventListener("keydown",u,!0),n.addEventListener("mousedown",c,!0),n.addEventListener("pointerdown",c,!0),n.addEventListener("touchstart",c,!0),n.addEventListener("visibilitychange",l,!0))}),[]),n=r.useRef(!1);return{isFocusVisibleRef:n,onFocus:function(t){return!!function(t){const{target:n}=t;try{return n.matches(":focus-visible")}catch(t){}return o||function(t){const{type:n,tagName:e}=t;return!("INPUT"!==e||!a[n]||t.readOnly)||"TEXTAREA"===e&&!t.readOnly||!!t.isContentEditable}(n)}(t)&&(n.current=!0,!0)},onBlur:function(){return!!n.current&&(s=!0,window.clearTimeout(i),i=window.setTimeout((()=>{s=!1}),100),n.current=!1,!0)},ref:t}}},60540:(t,n,e)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(t){for(var n=1;nm,Co:()=>y});var i=e(66204),o=e(36902),s=/^((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)-.*))$/,a=(0,o.Z)((function(t){return s.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91})),u=e(49558),c=e(99463),l=e(7124),h=e(98013),f=a,d=function(t){return"theme"!==t},_=function(t){return"string"==typeof t&&t.charCodeAt(0)>96?f:d},p=function(t,n,e){var r;if(n){var i=n.shouldForwardProp;r=t.__emotion_forwardProp&&i?function(n){return t.__emotion_forwardProp(n)&&i(n)}:i}return"function"!=typeof r&&e&&(r=t.__emotion_forwardProp),r},v=function(t){var n=t.cache,e=t.serialized,r=t.isStringTag;return(0,c.hC)(n,e,r),(0,h.L)((function(){return(0,c.My)(n,e,r)})),null},g=function t(n,e){var o,s,a=n.__emotion_real===n,h=a&&n.__emotion_base||n;void 0!==e&&(o=e.label,s=e.target);var f=p(n,e,a),d=f||_(h),g=!d("as");return function(){var m=arguments,y=a&&void 0!==n.__emotion_styles?n.__emotion_styles.slice(0):[];if(void 0!==o&&y.push("label:"+o+";"),null==m[0]||void 0===m[0].raw)y.push.apply(y,m);else{y.push(m[0][0]);for(var w=m.length,b=1;b{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=n(t.__emotion_styles))}},79556:(t,n,e)=>{"use strict";e.d(n,{L7:()=>a,VO:()=>r,W8:()=>s,k9:()=>o});const r={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${r[t]}px)`};function o(t,n,e){const o=t.theme||{};if(Array.isArray(n)){const t=o.breakpoints||i;return n.reduce(((r,i,o)=>(r[t.up(t.keys[o])]=e(n[o]),r)),{})}if("object"==typeof n){const t=o.breakpoints||i;return Object.keys(n).reduce(((i,o)=>{if(-1!==Object.keys(t.values||r).indexOf(o))i[t.up(o)]=e(n[o],o);else{const t=o;i[t]=n[t]}return i}),{})}return e(n)}function s(t={}){var n;return(null==(n=t.keys)?void 0:n.reduce(((n,e)=>(n[t.up(e)]={},n)),{}))||{}}function a(t,n){return t.reduce(((t,n)=>{const e=t[n];return(!e||0===Object.keys(e).length)&&delete t[n],t}),n)}},73330:(t,n,e)=>{"use strict";e.d(n,{$n:()=>h,Fq:()=>c,_4:()=>f,_j:()=>l,mi:()=>u});var r=e(89274);function i(t,n=0,e=1){return Math.min(Math.max(n,t),e)}function o(t){if(t.type)return t;if("#"===t.charAt(0))return o(function(t){t=t.slice(1);const n=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let e=t.match(n);return e&&1===e[0].length&&(e=e.map((t=>t+t))),e?`rgb${4===e.length?"a":""}(${e.map(((t,n)=>n<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3)).join(", ")})`:""}(t));const n=t.indexOf("("),e=t.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(e))throw new Error((0,r.Z)(9,t));let i,s=t.substring(n+1,t.length-1);if("color"===e){if(s=s.split(" "),i=s.shift(),4===s.length&&"/"===s[3].charAt(0)&&(s[3]=s[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw new Error((0,r.Z)(10,i))}else s=s.split(",");return s=s.map((t=>parseFloat(t))),{type:e,values:s,colorSpace:i}}function s(t){const{type:n,colorSpace:e}=t;let{values:r}=t;return-1!==n.indexOf("rgb")?r=r.map(((t,n)=>n<3?parseInt(t,10):t)):-1!==n.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==n.indexOf("color")?`${e} ${r.join(" ")}`:`${r.join(", ")}`,`${n}(${r})`}function a(t){let n="hsl"===(t=o(t)).type||"hsla"===t.type?o(function(t){t=o(t);const{values:n}=t,e=n[0],r=n[1]/100,i=n[2]/100,a=r*Math.min(i,1-i),u=(t,n=(t+e/30)%12)=>i-a*Math.max(Math.min(n-3,9-n,1),-1);let c="rgb";const l=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===t.type&&(c+="a",l.push(n[3])),s({type:c,values:l})}(t)).values:t.values;return n=n.map((n=>("color"!==t.type&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4))),Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}function u(t,n){const e=a(t),r=a(n);return(Math.max(e,r)+.05)/(Math.min(e,r)+.05)}function c(t,n){return t=o(t),n=i(n),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),"color"===t.type?t.values[3]=`/${n}`:t.values[3]=n,s(t)}function l(t,n){if(t=o(t),n=i(n),-1!==t.type.indexOf("hsl"))t.values[2]*=1-n;else if(-1!==t.type.indexOf("rgb")||-1!==t.type.indexOf("color"))for(let e=0;e<3;e+=1)t.values[e]*=1-n;return s(t)}function h(t,n){if(t=o(t),n=i(n),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*n;else if(-1!==t.type.indexOf("rgb"))for(let e=0;e<3;e+=1)t.values[e]+=(255-t.values[e])*n;else if(-1!==t.type.indexOf("color"))for(let e=0;e<3;e+=1)t.values[e]+=(1-t.values[e])*n;return s(t)}function f(t,n=.15){return a(t)>.5?l(t,n):h(t,n)}},37422:(t,n,e)=>{"use strict";e.d(n,{ZP:()=>y,x9:()=>v});var r=e(55559),i=e(30984),o=e(60540),s=e(716),a=e(46730);const u=["variant"];function c(t){return 0===t.length}function l(t){const{variant:n}=t,e=(0,r.Z)(t,u);let i=n||"";return Object.keys(e).sort().forEach((n=>{i+="color"===n?c(i)?t[n]:(0,a.Z)(t[n]):`${c(i)?n:(0,a.Z)(n)}${(0,a.Z)(t[n].toString())}`})),i}var h=e(95882);const f=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],d=(t,n)=>n.components&&n.components[t]&&n.components[t].styleOverrides?n.components[t].styleOverrides:null,_=(t,n)=>{let e=[];n&&n.components&&n.components[t]&&n.components[t].variants&&(e=n.components[t].variants);const r={};return e.forEach((t=>{const n=l(t.props);r[n]=t.style})),r},p=(t,n,e,r)=>{var i,o;const{ownerState:s={}}=t,a=[],u=null==e||null==(i=e.components)||null==(o=i[r])?void 0:o.variants;return u&&u.forEach((e=>{let r=!0;Object.keys(e.props).forEach((n=>{s[n]!==e.props[n]&&t[n]!==e.props[n]&&(r=!1)})),r&&a.push(n[l(e.props)])})),a};function v(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}const g=(0,s.Z)();function m({defaultTheme:t,theme:n,themeId:e}){return r=n,0===Object.keys(r).length?t:n[e]||n;var r}function y(t={}){const{themeId:n,defaultTheme:e=g,rootShouldForwardProp:s=v,slotShouldForwardProp:a=v}=t,u=t=>(0,h.Z)((0,i.Z)({},t,{theme:m((0,i.Z)({},t,{defaultTheme:e,themeId:n}))}));return u.__mui_systemSx=!0,(t,c={})=>{(0,o.Co)(t,(t=>t.filter((t=>!(null!=t&&t.__mui_systemSx)))));const{name:l,slot:h,skipVariantsResolver:g,skipSx:y,overridesResolver:w}=c,b=(0,r.Z)(c,f),x=void 0!==g?g:h&&"Root"!==h||!1,k=y||!1;let S=v;"Root"===h?S=s:h?S=a:function(t){return"string"==typeof t&&t.charCodeAt(0)>96}(t)&&(S=void 0);const C=(0,o.ZP)(t,(0,i.Z)({shouldForwardProp:S,label:void 0},b)),$=(r,...o)=>{const s=o?o.map((t=>"function"==typeof t&&t.__emotion_real!==t?r=>t((0,i.Z)({},r,{theme:m((0,i.Z)({},r,{defaultTheme:e,themeId:n}))})):t)):[];let a=r;l&&w&&s.push((t=>{const r=m((0,i.Z)({},t,{defaultTheme:e,themeId:n})),o=d(l,r);if(o){const n={};return Object.entries(o).forEach((([e,o])=>{n[e]="function"==typeof o?o((0,i.Z)({},t,{theme:r})):o})),w(t,n)}return null})),l&&!x&&s.push((t=>{const r=m((0,i.Z)({},t,{defaultTheme:e,themeId:n}));return p(t,_(l,r),r,l)})),k||s.push(u);const c=s.length-o.length;if(Array.isArray(r)&&c>0){const t=new Array(c).fill("");a=[...r,...t],a.raw=[...r.raw,...t]}else"function"==typeof r&&r.__emotion_real!==r&&(a=t=>r((0,i.Z)({},t,{theme:m((0,i.Z)({},t,{defaultTheme:e,themeId:n}))})));const h=C(a,...s);return t.muiName&&(h.muiName=t.muiName),h};return C.withConfig&&($.withConfig=C.withConfig),$}}},716:(t,n,e)=>{"use strict";e.d(n,{Z:()=>f});var r=e(30984),i=e(55559),o=e(53709);const s=["values","unit","step"],a={borderRadius:4};var u=e(39546),c=e(95882),l=e(68342);const h=["breakpoints","palette","spacing","shape"],f=function(t={},...n){const{breakpoints:e={},palette:f={},spacing:d,shape:_={}}=t,p=(0,i.Z)(t,h),v=function(t){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:e="px",step:o=5}=t,a=(0,i.Z)(t,s),u=(t=>{const n=Object.keys(t).map((n=>({key:n,val:t[n]})))||[];return n.sort(((t,n)=>t.val-n.val)),n.reduce(((t,n)=>(0,r.Z)({},t,{[n.key]:n.val})),{})})(n),c=Object.keys(u);function l(t){return`@media (min-width:${"number"==typeof n[t]?n[t]:t}${e})`}function h(t){return`@media (max-width:${("number"==typeof n[t]?n[t]:t)-o/100}${e})`}function f(t,r){const i=c.indexOf(r);return`@media (min-width:${"number"==typeof n[t]?n[t]:t}${e}) and (max-width:${(-1!==i&&"number"==typeof n[c[i]]?n[c[i]]:r)-o/100}${e})`}return(0,r.Z)({keys:c,values:u,up:l,down:h,between:f,only:function(t){return c.indexOf(t)+1(0===t.length?[1]:t).map((t=>{const e=n(t);return"number"==typeof e?`${e}px`:e})).join(" ");return e.mui=!0,e}(d);let m=(0,o.Z)({breakpoints:v,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},f),spacing:g,shape:(0,r.Z)({},a,_)},p);return m=n.reduce(((t,n)=>(0,o.Z)(t,n)),m),m.unstable_sxConfig=(0,r.Z)({},l.Z,null==p?void 0:p.unstable_sxConfig),m.unstable_sx=function(t){return(0,c.Z)({sx:t,theme:this})},m}},94941:(t,n,e)=>{"use strict";e.d(n,{Z:()=>i});var r=e(53709);const i=function(t,n){return n?(0,r.Z)(t,n,{clone:!1}):t}},39546:(t,n,e)=>{"use strict";e.d(n,{hB:()=>_,eI:()=>d,NA:()=>p,e6:()=>g,o3:()=>m});var r=e(79556),i=e(4860),o=e(94941);const s={m:"margin",p:"padding"},a={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},u={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(t){const n={};return t=>(void 0===n[t]&&(n[t]=(t=>{if(t.length>2){if(!u[t])return[t];t=u[t]}const[n,e]=t.split(""),r=s[n],i=a[e]||"";return Array.isArray(i)?i.map((t=>r+t)):[r+i]})(t)),n[t])}(),l=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],h=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],f=[...l,...h];function d(t,n,e,r){var o;const s=null!=(o=(0,i.DW)(t,n,!1))?o:e;return"number"==typeof s?t=>"string"==typeof t?t:s*t:Array.isArray(s)?t=>"string"==typeof t?t:s[t]:"function"==typeof s?s:()=>{}}function _(t){return d(t,"spacing",8)}function p(t,n){if("string"==typeof n||null==n)return n;const e=t(Math.abs(n));return n>=0?e:"number"==typeof e?-e:`-${e}`}function v(t,n){const e=_(t.theme);return Object.keys(t).map((i=>function(t,n,e,i){if(-1===n.indexOf(e))return null;const o=function(t,n){return e=>t.reduce(((t,r)=>(t[r]=p(n,e),t)),{})}(c(e),i),s=t[e];return(0,r.k9)(t,s,o)}(t,n,i,e))).reduce(o.Z,{})}function g(t){return v(t,l)}function m(t){return v(t,h)}function y(t){return v(t,f)}g.propTypes={},g.filterProps=l,m.propTypes={},m.filterProps=h,y.propTypes={},y.filterProps=f},4860:(t,n,e)=>{"use strict";e.d(n,{DW:()=>o,Jq:()=>s,ZP:()=>a});var r=e(46730),i=e(79556);function o(t,n,e=!0){if(!n||"string"!=typeof n)return null;if(t&&t.vars&&e){const e=`vars.${n}`.split(".").reduce(((t,n)=>t&&t[n]?t[n]:null),t);if(null!=e)return e}return n.split(".").reduce(((t,n)=>t&&null!=t[n]?t[n]:null),t)}function s(t,n,e,r=e){let i;return i="function"==typeof t?t(e):Array.isArray(t)?t[e]||r:o(t,e)||r,n&&(i=n(i,r,t)),i}const a=function(t){const{prop:n,cssProperty:e=t.prop,themeKey:a,transform:u}=t,c=t=>{if(null==t[n])return null;const c=t[n],l=o(t.theme,a)||{};return(0,i.k9)(t,c,(t=>{let i=s(l,u,t);return t===i&&"string"==typeof t&&(i=s(l,u,`${n}${"default"===t?"":(0,r.Z)(t)}`,t)),!1===e?i:{[e]:i}}))};return c.propTypes={},c.filterProps=[n],c}},68342:(t,n,e)=>{"use strict";e.d(n,{Z:()=>j});var r=e(39546),i=e(4860),o=e(94941);const s=function(...t){const n=t.reduce(((t,n)=>(n.filterProps.forEach((e=>{t[e]=n})),t)),{}),e=t=>Object.keys(t).reduce(((e,r)=>n[r]?(0,o.Z)(e,n[r](t)):e),{});return e.propTypes={},e.filterProps=t.reduce(((t,n)=>t.concat(n.filterProps)),[]),e};var a=e(79556);function u(t){return"number"!=typeof t?t:`${t}px solid`}const c=(0,i.ZP)({prop:"border",themeKey:"borders",transform:u}),l=(0,i.ZP)({prop:"borderTop",themeKey:"borders",transform:u}),h=(0,i.ZP)({prop:"borderRight",themeKey:"borders",transform:u}),f=(0,i.ZP)({prop:"borderBottom",themeKey:"borders",transform:u}),d=(0,i.ZP)({prop:"borderLeft",themeKey:"borders",transform:u}),_=(0,i.ZP)({prop:"borderColor",themeKey:"palette"}),p=(0,i.ZP)({prop:"borderTopColor",themeKey:"palette"}),v=(0,i.ZP)({prop:"borderRightColor",themeKey:"palette"}),g=(0,i.ZP)({prop:"borderBottomColor",themeKey:"palette"}),m=(0,i.ZP)({prop:"borderLeftColor",themeKey:"palette"}),y=t=>{if(void 0!==t.borderRadius&&null!==t.borderRadius){const n=(0,r.eI)(t.theme,"shape.borderRadius",4,"borderRadius"),e=t=>({borderRadius:(0,r.NA)(n,t)});return(0,a.k9)(t,t.borderRadius,e)}return null};y.propTypes={},y.filterProps=["borderRadius"],s(c,l,h,f,d,_,p,v,g,m,y);const w=t=>{if(void 0!==t.gap&&null!==t.gap){const n=(0,r.eI)(t.theme,"spacing",8,"gap"),e=t=>({gap:(0,r.NA)(n,t)});return(0,a.k9)(t,t.gap,e)}return null};w.propTypes={},w.filterProps=["gap"];const b=t=>{if(void 0!==t.columnGap&&null!==t.columnGap){const n=(0,r.eI)(t.theme,"spacing",8,"columnGap"),e=t=>({columnGap:(0,r.NA)(n,t)});return(0,a.k9)(t,t.columnGap,e)}return null};b.propTypes={},b.filterProps=["columnGap"];const x=t=>{if(void 0!==t.rowGap&&null!==t.rowGap){const n=(0,r.eI)(t.theme,"spacing",8,"rowGap"),e=t=>({rowGap:(0,r.NA)(n,t)});return(0,a.k9)(t,t.rowGap,e)}return null};function k(t,n){return"grey"===n?n:t}function S(t){return t<=1&&0!==t?100*t+"%":t}x.propTypes={},x.filterProps=["rowGap"],s(w,b,x,(0,i.ZP)({prop:"gridColumn"}),(0,i.ZP)({prop:"gridRow"}),(0,i.ZP)({prop:"gridAutoFlow"}),(0,i.ZP)({prop:"gridAutoColumns"}),(0,i.ZP)({prop:"gridAutoRows"}),(0,i.ZP)({prop:"gridTemplateColumns"}),(0,i.ZP)({prop:"gridTemplateRows"}),(0,i.ZP)({prop:"gridTemplateAreas"}),(0,i.ZP)({prop:"gridArea"})),s((0,i.ZP)({prop:"color",themeKey:"palette",transform:k}),(0,i.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:k}),(0,i.ZP)({prop:"backgroundColor",themeKey:"palette",transform:k}));const C=(0,i.ZP)({prop:"width",transform:S}),$=t=>{if(void 0!==t.maxWidth&&null!==t.maxWidth){const n=n=>{var e,r,i;return{maxWidth:(null==(e=t.theme)||null==(r=e.breakpoints)||null==(i=r.values)?void 0:i[n])||a.VO[n]||S(n)}};return(0,a.k9)(t,t.maxWidth,n)}return null};$.filterProps=["maxWidth"];const E=(0,i.ZP)({prop:"minWidth",transform:S}),M=(0,i.ZP)({prop:"height",transform:S}),z=(0,i.ZP)({prop:"maxHeight",transform:S}),T=(0,i.ZP)({prop:"minHeight",transform:S}),j=((0,i.ZP)({prop:"size",cssProperty:"width",transform:S}),(0,i.ZP)({prop:"size",cssProperty:"height",transform:S}),s(C,$,E,M,z,T,(0,i.ZP)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:u},borderTop:{themeKey:"borders",transform:u},borderRight:{themeKey:"borders",transform:u},borderBottom:{themeKey:"borders",transform:u},borderLeft:{themeKey:"borders",transform:u},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:y},color:{themeKey:"palette",transform:k},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:k},backgroundColor:{themeKey:"palette",transform:k},p:{style:r.o3},pt:{style:r.o3},pr:{style:r.o3},pb:{style:r.o3},pl:{style:r.o3},px:{style:r.o3},py:{style:r.o3},padding:{style:r.o3},paddingTop:{style:r.o3},paddingRight:{style:r.o3},paddingBottom:{style:r.o3},paddingLeft:{style:r.o3},paddingX:{style:r.o3},paddingY:{style:r.o3},paddingInline:{style:r.o3},paddingInlineStart:{style:r.o3},paddingInlineEnd:{style:r.o3},paddingBlock:{style:r.o3},paddingBlockStart:{style:r.o3},paddingBlockEnd:{style:r.o3},m:{style:r.e6},mt:{style:r.e6},mr:{style:r.e6},mb:{style:r.e6},ml:{style:r.e6},mx:{style:r.e6},my:{style:r.e6},margin:{style:r.e6},marginTop:{style:r.e6},marginRight:{style:r.e6},marginBottom:{style:r.e6},marginLeft:{style:r.e6},marginX:{style:r.e6},marginY:{style:r.e6},marginInline:{style:r.e6},marginInlineStart:{style:r.e6},marginInlineEnd:{style:r.e6},marginBlock:{style:r.e6},marginBlockStart:{style:r.e6},marginBlockEnd:{style:r.e6},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:w},rowGap:{style:x},columnGap:{style:b},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:S},maxWidth:{style:$},minWidth:{transform:S},height:{transform:S},maxHeight:{transform:S},minHeight:{transform:S},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},8449:(t,n,e)=>{"use strict";e.d(n,{Z:()=>c});var r=e(30984),i=e(55559),o=e(53709),s=e(68342);const a=["sx"],u=t=>{var n,e;const r={systemProps:{},otherProps:{}},i=null!=(n=null==t||null==(e=t.theme)?void 0:e.unstable_sxConfig)?n:s.Z;return Object.keys(t).forEach((n=>{i[n]?r.systemProps[n]=t[n]:r.otherProps[n]=t[n]})),r};function c(t){const{sx:n}=t,e=(0,i.Z)(t,a),{systemProps:s,otherProps:c}=u(e);let l;return l=Array.isArray(n)?[s,...n]:"function"==typeof n?(...t)=>{const e=n(...t);return(0,o.P)(e)?(0,r.Z)({},s,e):s}:(0,r.Z)({},s,n),(0,r.Z)({},c,{sx:l})}},95882:(t,n,e)=>{"use strict";e.d(n,{Z:()=>c});var r=e(46730),i=e(94941),o=e(4860),s=e(79556),a=e(68342);const u=function(){function t(t,n,e,i){const a={[t]:n,theme:e},u=i[t];if(!u)return{[t]:n};const{cssProperty:c=t,themeKey:l,transform:h,style:f}=u;if(null==n)return null;if("typography"===l&&"inherit"===n)return{[t]:n};const d=(0,o.DW)(e,l)||{};return f?f(a):(0,s.k9)(a,n,(n=>{let e=(0,o.Jq)(d,h,n);return n===e&&"string"==typeof n&&(e=(0,o.Jq)(d,h,`${t}${"default"===n?"":(0,r.Z)(n)}`,n)),!1===c?e:{[c]:e}}))}return function n(e){var r;const{sx:o,theme:u={}}=e||{};if(!o)return null;const c=null!=(r=u.unstable_sxConfig)?r:a.Z;function l(e){let r=e;if("function"==typeof e)r=e(u);else if("object"!=typeof e)return e;if(!r)return null;const o=(0,s.W8)(u.breakpoints),a=Object.keys(o);let l=o;return Object.keys(r).forEach((e=>{const o="function"==typeof(a=r[e])?a(u):a;var a;if(null!=o)if("object"==typeof o)if(c[e])l=(0,i.Z)(l,t(e,o,u,c));else{const t=(0,s.k9)({theme:u},o,(t=>({[e]:t})));!function(...t){const n=t.reduce(((t,n)=>t.concat(Object.keys(n))),[]),e=new Set(n);return t.every((t=>e.size===Object.keys(t).length))}(t,o)?l=(0,i.Z)(l,t):l[e]=n({sx:o,theme:u})}else l=(0,i.Z)(l,t(e,o,u,c))})),(0,s.L7)(a,l)}return Array.isArray(o)?o.map(l):l(o)}}();u.filterProps=["sx"];const c=u},85293:(t,n,e)=>{"use strict";e.d(n,{Z:()=>s});var r=e(716),i=e(2772);const o=(0,r.Z)(),s=function(t=o){return(0,i.Z)(t)}},77877:(t,n,e)=>{"use strict";e.d(n,{Z:()=>o});var r=e(13467),i=e(85293);function o({props:t,name:n,defaultTheme:e,themeId:o}){let s=(0,i.Z)(e);o&&(s=s[o]||s);const a=function(t){const{theme:n,name:e,props:i}=t;return n&&n.components&&n.components[e]&&n.components[e].defaultProps?(0,r.Z)(n.components[e].defaultProps,i):i}({theme:s,name:n,props:t});return a}},2772:(t,n,e)=>{"use strict";e.d(n,{Z:()=>o});var r=e(66204),i=e(49558);const o=function(t=null){const n=r.useContext(i.T);return n&&(e=n,0!==Object.keys(e).length)?n:t;var e}},51388:(t,n,e)=>{"use strict";e.d(n,{Z:()=>i});const r=t=>t,i=(()=>{let t=r;return{configure(n){t=n},generate:n=>t(n),reset(){t=r}}})()},46730:(t,n,e)=>{"use strict";e.d(n,{Z:()=>i});var r=e(89274);function i(t){if("string"!=typeof t)throw new Error((0,r.Z)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},58029:(t,n,e)=>{"use strict";function r(t,n,e=void 0){const r={};return Object.keys(t).forEach((i=>{r[i]=t[i].reduce(((t,r)=>{if(r){const i=n(r);""!==i&&t.push(i),e&&e[r]&&t.push(e[r])}return t}),[]).join(" ")})),r}e.d(n,{Z:()=>r})},74603:(t,n,e)=>{"use strict";function r(...t){return t.reduce(((t,n)=>null==n?t:function(...e){t.apply(this,e),n.apply(this,e)}),(()=>{}))}e.d(n,{Z:()=>r})},72650:(t,n,e)=>{"use strict";function r(t,n=166){let e;function r(...r){clearTimeout(e),e=setTimeout((()=>{t.apply(this,r)}),n)}return r.clear=()=>{clearTimeout(e)},r}e.d(n,{Z:()=>r})},53709:(t,n,e)=>{"use strict";e.d(n,{P:()=>i,Z:()=>s});var r=e(30984);function i(t){return null!==t&&"object"==typeof t&&t.constructor===Object}function o(t){if(!i(t))return t;const n={};return Object.keys(t).forEach((e=>{n[e]=o(t[e])})),n}function s(t,n,e={clone:!0}){const a=e.clone?(0,r.Z)({},t):t;return i(t)&&i(n)&&Object.keys(n).forEach((r=>{"__proto__"!==r&&(i(n[r])&&r in t&&i(t[r])?a[r]=s(t[r],n[r],e):e.clone?a[r]=i(n[r])?o(n[r]):n[r]:a[r]=n[r])})),a}},89274:(t,n,e)=>{"use strict";function r(t){let n="https://mui.com/production-error/?code="+t;for(let t=1;tr})},95201:(t,n,e)=>{"use strict";e.d(n,{Z:()=>o});var r=e(51388);const i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function o(t,n,e="Mui"){const o=i[n];return o?`${e}-${o}`:`${r.Z.generate(t)}-${n}`}},58109:(t,n,e)=>{"use strict";e.d(n,{Z:()=>i});var r=e(95201);function i(t,n,e="Mui"){const i={};return n.forEach((n=>{i[n]=(0,r.Z)(t,n,e)})),i}},35802:(t,n,e)=>{"use strict";function r(t){const n=t.documentElement.clientWidth;return Math.abs(window.innerWidth-n)}e.d(n,{Z:()=>r})},26074:(t,n,e)=>{"use strict";function r(t){return t&&t.ownerDocument||document}e.d(n,{Z:()=>r})},45796:(t,n,e)=>{"use strict";e.d(n,{Z:()=>i});var r=e(26074);function i(t){return(0,r.Z)(t).defaultView||window}},13467:(t,n,e)=>{"use strict";e.d(n,{Z:()=>i});var r=e(30984);function i(t,n){const e=(0,r.Z)({},n);return Object.keys(t).forEach((o=>{if(o.toString().match(/^(components|slots)$/))e[o]=(0,r.Z)({},t[o],e[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){const s=t[o]||{},a=n[o];e[o]={},a&&Object.keys(a)?s&&Object.keys(s)?(e[o]=(0,r.Z)({},a),Object.keys(s).forEach((t=>{e[o][t]=i(s[t],a[t])}))):e[o]=a:e[o]=s}else void 0===e[o]&&(e[o]=t[o])})),e}},513:(t,n,e)=>{"use strict";function r(t,n){"function"==typeof t?t(n):t&&(t.current=n)}e.d(n,{Z:()=>r})},40401:(t,n,e)=>{"use strict";e.d(n,{Z:()=>i});var r=e(66204);const i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},76734:(t,n,e)=>{"use strict";e.d(n,{Z:()=>o});var r=e(66204),i=e(40401);function o(t){const n=r.useRef(t);return(0,i.Z)((()=>{n.current=t})),r.useCallback(((...t)=>(0,n.current)(...t)),[])}},52682:(t,n,e)=>{"use strict";e.d(n,{Z:()=>o});var r=e(66204),i=e(513);function o(...t){return r.useMemo((()=>t.every((t=>null==t))?null:n=>{t.forEach((t=>{(0,i.Z)(t,n)}))}),t)}},96744:(t,n,e)=>{"use strict";var r;e.d(n,{Z:()=>a});var i=e(66204);let o=0;const s=(r||(r=e.t(i,2)))["useId".toString()];function a(t){if(void 0!==s){const n=s();return null!=t?t:n}return function(t){const[n,e]=i.useState(t),r=t||n;return i.useEffect((()=>{null==n&&(o+=1,e(`mui-${o}`))}),[n]),r}(t)}},63285:(t,n,e)=>{"use strict";function r(t,n){for(var e=arguments.length,r=new Array(e>2?e-2:0),i=2;ir})},63586:(t,n,e)=>{t=e.nmd(t),ace.define("ace/ext/searchbox.css",["require","exports","module"],(function(t,n,e){e.exports='\n\n/* ------------------------------------------------------------------------------------------\n * Editor Search Form\n * --------------------------------------------------------------------------------------- */\n.ace_search {\n background-color: #ddd;\n color: #666;\n border: 1px solid #cbcbcb;\n border-top: 0 none;\n overflow: hidden;\n margin: 0;\n padding: 4px 6px 0 4px;\n position: absolute;\n top: 0;\n z-index: 99;\n white-space: normal;\n}\n.ace_search.left {\n border-left: 0 none;\n border-radius: 0px 0px 5px 0px;\n left: 0;\n}\n.ace_search.right {\n border-radius: 0px 0px 0px 5px;\n border-right: 0 none;\n right: 0;\n}\n\n.ace_search_form, .ace_replace_form {\n margin: 0 20px 4px 0;\n overflow: hidden;\n line-height: 1.9;\n}\n.ace_replace_form {\n margin-right: 0;\n}\n.ace_search_form.ace_nomatch {\n outline: 1px solid red;\n}\n\n.ace_search_field {\n border-radius: 3px 0 0 3px;\n background-color: white;\n color: black;\n border: 1px solid #cbcbcb;\n border-right: 0 none;\n outline: 0;\n padding: 0;\n font-size: inherit;\n margin: 0;\n line-height: inherit;\n padding: 0 6px;\n min-width: 17em;\n vertical-align: top;\n min-height: 1.8em;\n box-sizing: content-box;\n}\n.ace_searchbtn {\n border: 1px solid #cbcbcb;\n line-height: inherit;\n display: inline-block;\n padding: 0 6px;\n background: #fff;\n border-right: 0 none;\n border-left: 1px solid #dcdcdc;\n cursor: pointer;\n margin: 0;\n position: relative;\n color: #666;\n}\n.ace_searchbtn:last-child {\n border-radius: 0 3px 3px 0;\n border-right: 1px solid #cbcbcb;\n}\n.ace_searchbtn:disabled {\n background: none;\n cursor: default;\n}\n.ace_searchbtn:hover {\n background-color: #eef1f6;\n}\n.ace_searchbtn.prev, .ace_searchbtn.next {\n padding: 0px 0.7em\n}\n.ace_searchbtn.prev:after, .ace_searchbtn.next:after {\n content: "";\n border: solid 2px #888;\n width: 0.5em;\n height: 0.5em;\n border-width: 2px 0 0 2px;\n display:inline-block;\n transform: rotate(-45deg);\n}\n.ace_searchbtn.next:after {\n border-width: 0 2px 2px 0 ;\n}\n.ace_searchbtn_close {\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;\n border-radius: 50%;\n border: 0 none;\n color: #656565;\n cursor: pointer;\n font: 16px/16px Arial;\n padding: 0;\n height: 14px;\n width: 14px;\n top: 9px;\n right: 7px;\n position: absolute;\n}\n.ace_searchbtn_close:hover {\n background-color: #656565;\n background-position: 50% 100%;\n color: white;\n}\n\n.ace_button {\n margin-left: 2px;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -o-user-select: none;\n -ms-user-select: none;\n user-select: none;\n overflow: hidden;\n opacity: 0.7;\n border: 1px solid rgba(100,100,100,0.23);\n padding: 1px;\n box-sizing: border-box!important;\n color: black;\n}\n\n.ace_button:hover {\n background-color: #eee;\n opacity:1;\n}\n.ace_button:active {\n background-color: #ddd;\n}\n\n.ace_button.checked {\n border-color: #3399ff;\n opacity:1;\n}\n\n.ace_search_options{\n margin-bottom: 3px;\n text-align: right;\n -webkit-user-select: none;\n -moz-user-select: none;\n -o-user-select: none;\n -ms-user-select: none;\n user-select: none;\n clear: both;\n}\n\n.ace_search_counter {\n float: left;\n font-family: arial;\n padding: 0 8px;\n}'})),ace.define("ace/ext/searchbox",["require","exports","module","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/ext/searchbox.css","ace/keyboard/hash_handler","ace/lib/keys"],(function(t,n,e){"use strict";var r=t("../lib/dom"),i=t("../lib/lang"),o=t("../lib/event"),s=t("./searchbox.css"),a=t("../keyboard/hash_handler").HashHandler,u=t("../lib/keys");r.importCssString(s,"ace_searchbox",!1);var c=function(t,n,e){var i=r.createElement("div");r.buildDom(["div",{class:"ace_search right"},["span",{action:"hide",class:"ace_searchbtn_close"}],["div",{class:"ace_search_form"},["input",{class:"ace_search_field",placeholder:"Search for",spellcheck:"false"}],["span",{action:"findPrev",class:"ace_searchbtn prev"},"​"],["span",{action:"findNext",class:"ace_searchbtn next"},"​"],["span",{action:"findAll",class:"ace_searchbtn",title:"Alt-Enter"},"All"]],["div",{class:"ace_replace_form"},["input",{class:"ace_search_field",placeholder:"Replace with",spellcheck:"false"}],["span",{action:"replaceAndFindNext",class:"ace_searchbtn"},"Replace"],["span",{action:"replaceAll",class:"ace_searchbtn"},"All"]],["div",{class:"ace_search_options"},["span",{action:"toggleReplace",class:"ace_button",title:"Toggle Replace mode",style:"float:left;margin-top:-2px;padding:0 5px;"},"+"],["span",{class:"ace_search_counter"}],["span",{action:"toggleRegexpMode",class:"ace_button",title:"RegExp Search"},".*"],["span",{action:"toggleCaseSensitive",class:"ace_button",title:"CaseSensitive Search"},"Aa"],["span",{action:"toggleWholeWords",class:"ace_button",title:"Whole Word Search"},"\\b"],["span",{action:"searchInSelection",class:"ace_button",title:"Search In Selection"},"S"]]],i),this.element=i.firstChild,this.setSession=this.setSession.bind(this),this.$init(),this.setEditor(t),r.importCssString(s,"ace_searchbox",t.container)};(function(){this.setEditor=function(t){t.searchBox=this,t.renderer.scroller.appendChild(this.element),this.editor=t},this.setSession=function(t){this.searchRange=null,this.$syncOptions(!0)},this.$initElements=function(t){this.searchBox=t.querySelector(".ace_search_form"),this.replaceBox=t.querySelector(".ace_replace_form"),this.searchOption=t.querySelector("[action=searchInSelection]"),this.replaceOption=t.querySelector("[action=toggleReplace]"),this.regExpOption=t.querySelector("[action=toggleRegexpMode]"),this.caseSensitiveOption=t.querySelector("[action=toggleCaseSensitive]"),this.wholeWordOption=t.querySelector("[action=toggleWholeWords]"),this.searchInput=this.searchBox.querySelector(".ace_search_field"),this.replaceInput=this.replaceBox.querySelector(".ace_search_field"),this.searchCounter=t.querySelector(".ace_search_counter")},this.$init=function(){var t=this.element;this.$initElements(t);var n=this;o.addListener(t,"mousedown",(function(t){setTimeout((function(){n.activeInput.focus()}),0),o.stopPropagation(t)})),o.addListener(t,"click",(function(t){var e=(t.target||t.srcElement).getAttribute("action");e&&n[e]?n[e]():n.$searchBarKb.commands[e]&&n.$searchBarKb.commands[e].exec(n),o.stopPropagation(t)})),o.addCommandKeyListener(t,(function(t,e,r){var i=u.keyCodeToString(r),s=n.$searchBarKb.findKeyCommand(e,i);s&&s.exec&&(s.exec(n),o.stopEvent(t))})),this.$onChange=i.delayedCall((function(){n.find(!1,!1)})),o.addListener(this.searchInput,"input",(function(){n.$onChange.schedule(20)})),o.addListener(this.searchInput,"focus",(function(){n.activeInput=n.searchInput,n.searchInput.value&&n.highlight()})),o.addListener(this.replaceInput,"focus",(function(){n.activeInput=n.replaceInput,n.searchInput.value&&n.highlight()}))},this.$closeSearchBarKb=new a([{bindKey:"Esc",name:"closeSearchBar",exec:function(t){t.searchBox.hide()}}]),this.$searchBarKb=new a,this.$searchBarKb.bindKeys({"Ctrl-f|Command-f":function(t){var n=t.isReplace=!t.isReplace;t.replaceBox.style.display=n?"":"none",t.replaceOption.checked=!1,t.$syncOptions(),t.searchInput.focus()},"Ctrl-H|Command-Option-F":function(t){t.editor.getReadOnly()||(t.replaceOption.checked=!0,t.$syncOptions(),t.replaceInput.focus())},"Ctrl-G|Command-G":function(t){t.findNext()},"Ctrl-Shift-G|Command-Shift-G":function(t){t.findPrev()},esc:function(t){setTimeout((function(){t.hide()}))},Return:function(t){t.activeInput==t.replaceInput&&t.replace(),t.findNext()},"Shift-Return":function(t){t.activeInput==t.replaceInput&&t.replace(),t.findPrev()},"Alt-Return":function(t){t.activeInput==t.replaceInput&&t.replaceAll(),t.findAll()},Tab:function(t){(t.activeInput==t.replaceInput?t.searchInput:t.replaceInput).focus()}}),this.$searchBarKb.addCommands([{name:"toggleRegexpMode",bindKey:{win:"Alt-R|Alt-/",mac:"Ctrl-Alt-R|Ctrl-Alt-/"},exec:function(t){t.regExpOption.checked=!t.regExpOption.checked,t.$syncOptions()}},{name:"toggleCaseSensitive",bindKey:{win:"Alt-C|Alt-I",mac:"Ctrl-Alt-R|Ctrl-Alt-I"},exec:function(t){t.caseSensitiveOption.checked=!t.caseSensitiveOption.checked,t.$syncOptions()}},{name:"toggleWholeWords",bindKey:{win:"Alt-B|Alt-W",mac:"Ctrl-Alt-B|Ctrl-Alt-W"},exec:function(t){t.wholeWordOption.checked=!t.wholeWordOption.checked,t.$syncOptions()}},{name:"toggleReplace",exec:function(t){t.replaceOption.checked=!t.replaceOption.checked,t.$syncOptions()}},{name:"searchInSelection",exec:function(t){t.searchOption.checked=!t.searchRange,t.setSearchRange(t.searchOption.checked&&t.editor.getSelectionRange()),t.$syncOptions()}}]),this.setSearchRange=function(t){this.searchRange=t,t?this.searchRangeMarker=this.editor.session.addMarker(t,"ace_active-line"):this.searchRangeMarker&&(this.editor.session.removeMarker(this.searchRangeMarker),this.searchRangeMarker=null)},this.$syncOptions=function(t){r.setCssClass(this.replaceOption,"checked",this.searchRange),r.setCssClass(this.searchOption,"checked",this.searchOption.checked),this.replaceOption.textContent=this.replaceOption.checked?"-":"+",r.setCssClass(this.regExpOption,"checked",this.regExpOption.checked),r.setCssClass(this.wholeWordOption,"checked",this.wholeWordOption.checked),r.setCssClass(this.caseSensitiveOption,"checked",this.caseSensitiveOption.checked);var n=this.editor.getReadOnly();this.replaceOption.style.display=n?"none":"",this.replaceBox.style.display=this.replaceOption.checked&&!n?"":"none",this.find(!1,!1,t)},this.highlight=function(t){this.editor.session.highlight(t||this.editor.$search.$options.re),this.editor.renderer.updateBackMarkers()},this.find=function(t,n,e){var i=!this.editor.find(this.searchInput.value,{skipCurrent:t,backwards:n,wrap:!0,regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked,preventScroll:e,range:this.searchRange})&&this.searchInput.value;r.setCssClass(this.searchBox,"ace_nomatch",i),this.editor._emit("findSearchBox",{match:!i}),this.highlight(),this.updateCounter()},this.updateCounter=function(){var t=this.editor,n=t.$search.$options.re,e=0,r=0;if(n){var i=this.searchRange?t.session.getTextRange(this.searchRange):t.getValue(),o=t.session.doc.positionToIndex(t.selection.anchor);this.searchRange&&(o-=t.session.doc.positionToIndex(this.searchRange.start));for(var s,a=n.lastIndex=0;(s=n.exec(i))&&(e++,(a=s.index)<=o&&r++,!(e>999))&&(s[0]||(n.lastIndex=a+=1,!(a>=i.length))););}this.searchCounter.textContent=r+" of "+(e>999?"999+":e)},this.findNext=function(){this.find(!0,!1)},this.findPrev=function(){this.find(!0,!0)},this.findAll=function(){var t=!this.editor.findAll(this.searchInput.value,{regExp:this.regExpOption.checked,caseSensitive:this.caseSensitiveOption.checked,wholeWord:this.wholeWordOption.checked})&&this.searchInput.value;r.setCssClass(this.searchBox,"ace_nomatch",t),this.editor._emit("findSearchBox",{match:!t}),this.highlight(),this.hide()},this.replace=function(){this.editor.getReadOnly()||this.editor.replace(this.replaceInput.value)},this.replaceAndFindNext=function(){this.editor.getReadOnly()||(this.editor.replace(this.replaceInput.value),this.findNext())},this.replaceAll=function(){this.editor.getReadOnly()||this.editor.replaceAll(this.replaceInput.value)},this.hide=function(){this.active=!1,this.setSearchRange(null),this.editor.off("changeSession",this.setSession),this.element.style.display="none",this.editor.keyBinding.removeKeyboardHandler(this.$closeSearchBarKb),this.editor.focus()},this.show=function(t,n){this.active=!0,this.editor.on("changeSession",this.setSession),this.element.style.display="",this.replaceOption.checked=n,t&&(this.searchInput.value=t),this.searchInput.focus(),this.searchInput.select(),this.editor.keyBinding.addKeyboardHandler(this.$closeSearchBarKb),this.$syncOptions(!0)},this.isFocused=function(){var t=document.activeElement;return t==this.searchInput||t==this.replaceInput}}).call(c.prototype),n.SearchBox=c,n.Search=function(t,n){(t.searchBox||new c(t)).show(t.session.getTextRange(),n)}})),ace.require(["ace/ext/searchbox"],(function(n){t&&(t.exports=n)}))},28028:(t,n,e)=>{t=e.nmd(t),ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(t,n,e){"use strict";var r=t("../lib/oop"),i=t("./text_highlight_rules").TextHighlightRules,o=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},o.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};r.inherits(o,i),o.getTagRule=function(t){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},o.getStartRule=function(t){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:t}},o.getEndRule=function(t){return{token:"comment.doc",regex:"\\*\\/",next:t}},n.DocCommentHighlightRules=o})),ace.define("ace/mode/c_cpp_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],(function(t,n,e){"use strict";var r=t("../lib/oop"),i=t("./doc_comment_highlight_rules").DocCommentHighlightRules,o=t("./text_highlight_rules").TextHighlightRules,s=n.cFunctions="\\b(?:hypot(?:f|l)?|s(?:scanf|ystem|nprintf|ca(?:nf|lb(?:n(?:f|l)?|ln(?:f|l)?))|i(?:n(?:h(?:f|l)?|f|l)?|gn(?:al|bit))|tr(?:s(?:tr|pn)|nc(?:py|at|mp)|c(?:spn|hr|oll|py|at|mp)|to(?:imax|d|u(?:l(?:l)?|max)|k|f|l(?:d|l)?)|error|pbrk|ftime|len|rchr|xfrm)|printf|et(?:jmp|vbuf|locale|buf)|qrt(?:f|l)?|w(?:scanf|printf)|rand)|n(?:e(?:arbyint(?:f|l)?|xt(?:toward(?:f|l)?|after(?:f|l)?))|an(?:f|l)?)|c(?:s(?:in(?:h(?:f|l)?|f|l)?|qrt(?:f|l)?)|cos(?:h(?:f)?|f|l)?|imag(?:f|l)?|t(?:ime|an(?:h(?:f|l)?|f|l)?)|o(?:s(?:h(?:f|l)?|f|l)?|nj(?:f|l)?|pysign(?:f|l)?)|p(?:ow(?:f|l)?|roj(?:f|l)?)|e(?:il(?:f|l)?|xp(?:f|l)?)|l(?:o(?:ck|g(?:f|l)?)|earerr)|a(?:sin(?:h(?:f|l)?|f|l)?|cos(?:h(?:f|l)?|f|l)?|tan(?:h(?:f|l)?|f|l)?|lloc|rg(?:f|l)?|bs(?:f|l)?)|real(?:f|l)?|brt(?:f|l)?)|t(?:ime|o(?:upper|lower)|an(?:h(?:f|l)?|f|l)?|runc(?:f|l)?|gamma(?:f|l)?|mp(?:nam|file))|i(?:s(?:space|n(?:ormal|an)|cntrl|inf|digit|u(?:nordered|pper)|p(?:unct|rint)|finite|w(?:space|c(?:ntrl|type)|digit|upper|p(?:unct|rint)|lower|al(?:num|pha)|graph|xdigit|blank)|l(?:ower|ess(?:equal|greater)?)|al(?:num|pha)|gr(?:eater(?:equal)?|aph)|xdigit|blank)|logb(?:f|l)?|max(?:div|abs))|di(?:v|fftime)|_Exit|unget(?:c|wc)|p(?:ow(?:f|l)?|ut(?:s|c(?:har)?|wc(?:har)?)|error|rintf)|e(?:rf(?:c(?:f|l)?|f|l)?|x(?:it|p(?:2(?:f|l)?|f|l|m1(?:f|l)?)?))|v(?:s(?:scanf|nprintf|canf|printf|w(?:scanf|printf))|printf|f(?:scanf|printf|w(?:scanf|printf))|w(?:scanf|printf)|a_(?:start|copy|end|arg))|qsort|f(?:s(?:canf|e(?:tpos|ek))|close|tell|open|dim(?:f|l)?|p(?:classify|ut(?:s|c|w(?:s|c))|rintf)|e(?:holdexcept|set(?:e(?:nv|xceptflag)|round)|clearexcept|testexcept|of|updateenv|r(?:aiseexcept|ror)|get(?:e(?:nv|xceptflag)|round))|flush|w(?:scanf|ide|printf|rite)|loor(?:f|l)?|abs(?:f|l)?|get(?:s|c|pos|w(?:s|c))|re(?:open|e|ad|xp(?:f|l)?)|m(?:in(?:f|l)?|od(?:f|l)?|a(?:f|l|x(?:f|l)?)?))|l(?:d(?:iv|exp(?:f|l)?)|o(?:ngjmp|cal(?:time|econv)|g(?:1(?:p(?:f|l)?|0(?:f|l)?)|2(?:f|l)?|f|l|b(?:f|l)?)?)|abs|l(?:div|abs|r(?:int(?:f|l)?|ound(?:f|l)?))|r(?:int(?:f|l)?|ound(?:f|l)?)|gamma(?:f|l)?)|w(?:scanf|c(?:s(?:s(?:tr|pn)|nc(?:py|at|mp)|c(?:spn|hr|oll|py|at|mp)|to(?:imax|d|u(?:l(?:l)?|max)|k|f|l(?:d|l)?|mbs)|pbrk|ftime|len|r(?:chr|tombs)|xfrm)|to(?:b|mb)|rtomb)|printf|mem(?:set|c(?:hr|py|mp)|move))|a(?:s(?:sert|ctime|in(?:h(?:f|l)?|f|l)?)|cos(?:h(?:f|l)?|f|l)?|t(?:o(?:i|f|l(?:l)?)|exit|an(?:h(?:f|l)?|2(?:f|l)?|f|l)?)|b(?:s|ort))|g(?:et(?:s|c(?:har)?|env|wc(?:har)?)|mtime)|r(?:int(?:f|l)?|ound(?:f|l)?|e(?:name|alloc|wind|m(?:ove|quo(?:f|l)?|ainder(?:f|l)?))|a(?:nd|ise))|b(?:search|towc)|m(?:odf(?:f|l)?|em(?:set|c(?:hr|py|mp)|move)|ktime|alloc|b(?:s(?:init|towcs|rtowcs)|towc|len|r(?:towc|len))))\\b",a=function(){var t=this.$keywords=this.createKeywordMapper({"keyword.control":"break|case|continue|default|do|else|for|goto|if|_Pragma|return|switch|while|catch|operator|try|throw|using","storage.type":"asm|__asm__|auto|bool|_Bool|char|_Complex|double|enum|float|_Imaginary|int|int8_t|int16_t|int32_t|int64_t|long|short|signed|size_t|struct|typedef|uint8_t|uint16_t|uint32_t|uint64_t|union|unsigned|void|class|wchar_t|template|char16_t|char32_t","storage.modifier":"const|extern|register|restrict|static|volatile|inline|private|protected|public|friend|explicit|virtual|export|mutable|typename|constexpr|new|delete|alignas|alignof|decltype|noexcept|thread_local","keyword.operator":"and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|const_cast|dynamic_cast|reinterpret_cast|static_cast|sizeof|namespace","variable.language":"this","constant.language":"NULL|true|false|TRUE|FALSE|nullptr"},"identifier"),n=/\\(?:['"?\\abfnrtv]|[0-7]{1,3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}U[a-fA-F\d]{8}|.)/.source,e="%"+/(\d+\$)?/.source+/[#0\- +']*/.source+/[,;:_]?/.source+/((-?\d+)|\*(-?\d+\$)?)?/.source+/(\.((-?\d+)|\*(-?\d+\$)?)?)?/.source+/(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)?/.source+/(\[[^"\]]+\]|[diouxXDOUeEfFgGaACcSspn%])/.source;this.$rules={start:[{token:"comment",regex:"//$",next:"start"},{token:"comment",regex:"//",next:"singleLineComment"},i.getStartRule("doc-start"),{token:"comment",regex:"\\/\\*",next:"comment"},{token:"string",regex:"'(?:"+n+"|.)?'"},{token:"string.start",regex:'"',stateName:"qqstring",next:[{token:"string",regex:/\\\s*$/,next:"qqstring"},{token:"constant.language.escape",regex:n},{token:"constant.language.escape",regex:e},{token:"string.end",regex:'"|$',next:"start"},{defaultToken:"string"}]},{token:"string.start",regex:'R"\\(',stateName:"rawString",next:[{token:"string.end",regex:'\\)"',next:"start"},{defaultToken:"string"}]},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"},{token:"keyword",regex:"#\\s*(?:include|import|pragma|line|define|undef)\\b",next:"directive"},{token:"keyword",regex:"#\\s*(?:endif|if|ifdef|else|elif|ifndef)\\b"},{token:"support.function.C99.c",regex:s},{token:t,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*"},{token:"keyword.operator",regex:/--|\+\+|<<=|>>=|>>>=|<>|&&|\|\||\?:|[*%\/+\-&\^|~!<>=]=?/},{token:"punctuation.operator",regex:"\\?|\\:|\\,|\\;|\\."},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],comment:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}],singleLineComment:[{token:"comment",regex:/\\$/,next:"singleLineComment"},{token:"comment",regex:/$/,next:"start"},{defaultToken:"comment"}],directive:[{token:"constant.other.multiline",regex:/\\/},{token:"constant.other.multiline",regex:/.*\\/},{token:"constant.other",regex:"\\s*<.+?>",next:"start"},{token:"constant.other",regex:'\\s*["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]',next:"start"},{token:"constant.other",regex:"\\s*['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']",next:"start"},{token:"constant.other",regex:/[^\\\/]+/,next:"start"}]},this.embedRules(i,"doc-",[i.getEndRule("start")]),this.normalizeRules()};r.inherits(a,o),n.c_cppHighlightRules=a})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(t,n,e){"use strict";var r=t("../range").Range,i=function(){};(function(){this.checkOutdent=function(t,n){return!!/^\s+$/.test(t)&&/^\s*\}/.test(n)},this.autoOutdent=function(t,n){var e=t.getLine(n).match(/^(\s*\})/);if(!e)return 0;var i=e[1].length,o=t.findMatchingBracket({row:n,column:i});if(!o||o.row==n)return 0;var s=this.$getIndent(t.getLine(o.row));t.replace(new r(n,0,n,i-1),s)},this.$getIndent=function(t){return t.match(/^\s*/)[0]}}).call(i.prototype),n.MatchingBraceOutdent=i})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(t,n,e){"use strict";var r=t("../../lib/oop"),i=t("../../range").Range,o=t("./fold_mode").FoldMode,s=n.FoldMode=function(t){t&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+t.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+t.end)))};r.inherits(s,o),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(t,n,e){var r=t.getLine(e);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(t,n,e);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(t,n,e,r){var i,o=t.getLine(e);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(t,o,e);if(i=o.match(this.foldingStartMarker)){var s=i.index;if(i[1])return this.openingBracketBlock(t,i[1],e,s);var a=t.getCommentFoldRange(e,s+i[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(t,e):"all"!=n&&(a=null)),a}return"markbegin"!==n&&(i=o.match(this.foldingStopMarker))?(s=i.index+i[0].length,i[1]?this.closingBracketBlock(t,i[1],e,s):t.getCommentFoldRange(e,s,-1)):void 0},this.getSectionRange=function(t,n){for(var e=t.getLine(n),r=e.search(/\S/),o=n,s=e.length,a=n+=1,u=t.getLength();++nc)break;var l=this.getFoldWidgetRange(t,"all",n);if(l){if(l.start.row<=o)break;if(l.isMultiLine())n=l.end.row;else if(r==c)break}a=n}}return new i(o,s,a,t.getLine(a).length)},this.getCommentRegionBlock=function(t,n,e){for(var r=n.search(/\s*$/),o=t.getLength(),s=e,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,u=1;++es)return new i(s,r,e,n.length)}}.call(s.prototype)})),ace.define("ace/mode/c_cpp",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/c_cpp_highlight_rules","ace/mode/matching_brace_outdent","ace/range","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"],(function(t,n,e){"use strict";var r=t("../lib/oop"),i=t("./text").Mode,o=t("./c_cpp_highlight_rules").c_cppHighlightRules,s=t("./matching_brace_outdent").MatchingBraceOutdent,a=(t("../range").Range,t("./behaviour/cstyle").CstyleBehaviour),u=t("./folding/cstyle").FoldMode,c=function(){this.HighlightRules=o,this.$outdent=new s,this.$behaviour=new a,this.foldingRules=new u};r.inherits(c,i),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(t,n,e){var r=this.$getIndent(n),i=this.getTokenizer().getLineTokens(n,t),o=i.tokens,s=i.state;if(o.length&&"comment"==o[o.length-1].type)return r;if("start"==t)(a=n.match(/^.*[\{\(\[]\s*$/))&&(r+=e);else if("doc-start"==t){if("start"==s)return"";var a;(a=n.match(/^\s*(\/?)\*/))&&(a[1]&&(r+=" "),r+="* ")}return r},this.checkOutdent=function(t,n,e){return this.$outdent.checkOutdent(n,e)},this.autoOutdent=function(t,n,e){this.$outdent.autoOutdent(n,e)},this.$id="ace/mode/c_cpp",this.snippetFileId="ace/snippets/c_cpp"}.call(c.prototype),n.Mode=c})),ace.define("ace/mode/glsl_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/c_cpp_highlight_rules"],(function(t,n,e){"use strict";var r=t("../lib/oop"),i=t("./c_cpp_highlight_rules").c_cppHighlightRules,o=function(){var t=this.createKeywordMapper({"variable.language":"this",keyword:"attribute|const|uniform|varying|break|continue|do|for|while|if|else|in|out|inout|float|int|void|bool|true|false|lowp|mediump|highp|precision|invariant|discard|return|mat2|mat3|mat4|vec2|vec3|vec4|ivec2|ivec3|ivec4|bvec2|bvec3|bvec4|sampler2D|samplerCube|struct","constant.language":"radians|degrees|sin|cos|tan|asin|acos|atan|pow|exp|log|exp2|log2|sqrt|inversesqrt|abs|sign|floor|ceil|fract|mod|min|max|clamp|mix|step|smoothstep|length|distance|dot|cross|normalize|faceforward|reflect|refract|matrixCompMult|lessThan|lessThanEqual|greaterThan|greaterThanEqual|equal|notEqual|any|all|not|dFdx|dFdy|fwidth|texture2D|texture2DProj|texture2DLod|texture2DProjLod|textureCube|textureCubeLod|gl_MaxVertexAttribs|gl_MaxVertexUniformVectors|gl_MaxVaryingVectors|gl_MaxVertexTextureImageUnits|gl_MaxCombinedTextureImageUnits|gl_MaxTextureImageUnits|gl_MaxFragmentUniformVectors|gl_MaxDrawBuffers|gl_DepthRangeParameters|gl_DepthRange|gl_Position|gl_PointSize|gl_FragCoord|gl_FrontFacing|gl_PointCoord|gl_FragColor|gl_FragData"},"identifier");this.$rules=(new i).$rules,this.$rules.start.forEach((function(n){"function"==typeof n.token&&(n.token=t)}))};r.inherits(o,i),n.glslHighlightRules=o})),ace.define("ace/mode/glsl",["require","exports","module","ace/lib/oop","ace/mode/c_cpp","ace/mode/glsl_highlight_rules","ace/mode/matching_brace_outdent","ace/range","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"],(function(t,n,e){"use strict";var r=t("../lib/oop"),i=t("./c_cpp").Mode,o=t("./glsl_highlight_rules").glslHighlightRules,s=t("./matching_brace_outdent").MatchingBraceOutdent,a=(t("../range").Range,t("./behaviour/cstyle").CstyleBehaviour),u=t("./folding/cstyle").FoldMode,c=function(){this.HighlightRules=o,this.$outdent=new s,this.$behaviour=new a,this.foldingRules=new u};r.inherits(c,i),function(){this.$id="ace/mode/glsl"}.call(c.prototype),n.Mode=c})),ace.require(["ace/mode/glsl"],(function(n){t&&(t.exports=n)}))},26577:(t,n,e)=>{t=e.nmd(t),ace.define("ace/theme/github.css",["require","exports","module"],(function(t,n,e){e.exports='/* CSS style content from github\'s default pygments highlighter template.\n Cursor and selection styles from textmate.css. */\n.ace-github .ace_gutter {\n background: #e8e8e8;\n color: #AAA;\n}\n\n.ace-github {\n background: #fff;\n color: #000;\n}\n\n.ace-github .ace_keyword {\n font-weight: bold;\n}\n\n.ace-github .ace_string {\n color: #D14;\n}\n\n.ace-github .ace_variable.ace_class {\n color: teal;\n}\n\n.ace-github .ace_constant.ace_numeric {\n color: #099;\n}\n\n.ace-github .ace_constant.ace_buildin {\n color: #0086B3;\n}\n\n.ace-github .ace_support.ace_function {\n color: #0086B3;\n}\n\n.ace-github .ace_comment {\n color: #998;\n font-style: italic;\n}\n\n.ace-github .ace_variable.ace_language {\n color: #0086B3;\n}\n\n.ace-github .ace_paren {\n font-weight: bold;\n}\n\n.ace-github .ace_boolean {\n font-weight: bold;\n}\n\n.ace-github .ace_string.ace_regexp {\n color: #009926;\n font-weight: normal;\n}\n\n.ace-github .ace_variable.ace_instance {\n color: teal;\n}\n\n.ace-github .ace_constant.ace_language {\n font-weight: bold;\n}\n\n.ace-github .ace_cursor {\n color: black;\n}\n\n.ace-github.ace_focus .ace_marker-layer .ace_active-line {\n background: rgb(255, 255, 204);\n}\n.ace-github .ace_marker-layer .ace_active-line {\n background: rgb(245, 245, 245);\n}\n\n.ace-github .ace_marker-layer .ace_selection {\n background: rgb(181, 213, 255);\n}\n\n.ace-github.ace_multiselect .ace_selection.ace_start {\n box-shadow: 0 0 3px 0px white;\n}\n/* bold keywords cause cursor issues for some fonts */\n/* this disables bold style for editor and keeps for static highlighter */\n.ace-github.ace_nobold .ace_line > span {\n font-weight: normal !important;\n}\n\n.ace-github .ace_marker-layer .ace_step {\n background: rgb(252, 255, 0);\n}\n\n.ace-github .ace_marker-layer .ace_stack {\n background: rgb(164, 229, 101);\n}\n\n.ace-github .ace_marker-layer .ace_bracket {\n margin: -1px 0 0 -1px;\n border: 1px solid rgb(192, 192, 192);\n}\n\n.ace-github .ace_gutter-active-line {\n background-color : rgba(0, 0, 0, 0.07);\n}\n\n.ace-github .ace_marker-layer .ace_selected-word {\n background: rgb(250, 250, 255);\n border: 1px solid rgb(200, 200, 250);\n}\n\n.ace-github .ace_invisible {\n color: #BFBFBF\n}\n\n.ace-github .ace_print-margin {\n width: 1px;\n background: #e8e8e8;\n}\n\n.ace-github .ace_indent-guide {\n background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;\n}\n\n.ace-github .ace_indent-guide-active {\n background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAZSURBVHjaYvj///9/hivKyv8BAAAA//8DACLqBhbvk+/eAAAAAElFTkSuQmCC") right repeat-y;\n}\n'})),ace.define("ace/theme/github",["require","exports","module","ace/theme/github.css","ace/lib/dom"],(function(t,n,e){n.isDark=!1,n.cssClass="ace-github",n.cssText=t("./github.css"),t("../lib/dom").importCssString(n.cssText,n.cssClass,!1)})),ace.require(["ace/theme/github"],(function(n){t&&(t.exports=n)}))},41950:(t,n,e)=>{t=e.nmd(t),ace.define("ace/theme/tomorrow_night_bright.css",["require","exports","module"],(function(t,n,e){e.exports='.ace-tomorrow-night-bright .ace_gutter {\n background: #1a1a1a;\n color: #DEDEDE\n}\n\n.ace-tomorrow-night-bright .ace_print-margin {\n width: 1px;\n background: #1a1a1a\n}\n\n.ace-tomorrow-night-bright {\n background-color: #000000;\n color: #DEDEDE\n}\n\n.ace-tomorrow-night-bright .ace_cursor {\n color: #9F9F9F\n}\n\n.ace-tomorrow-night-bright .ace_marker-layer .ace_selection {\n background: #424242\n}\n\n.ace-tomorrow-night-bright.ace_multiselect .ace_selection.ace_start {\n box-shadow: 0 0 3px 0px #000000;\n}\n\n.ace-tomorrow-night-bright .ace_marker-layer .ace_step {\n background: rgb(102, 82, 0)\n}\n\n.ace-tomorrow-night-bright .ace_marker-layer .ace_bracket {\n margin: -1px 0 0 -1px;\n border: 1px solid #888888\n}\n\n.ace-tomorrow-night-bright .ace_marker-layer .ace_highlight {\n border: 1px solid rgb(110, 119, 0);\n border-bottom: 0;\n box-shadow: inset 0 -1px rgb(110, 119, 0);\n margin: -1px 0 0 -1px;\n background: rgba(255, 235, 0, 0.1)\n}\n\n.ace-tomorrow-night-bright .ace_marker-layer .ace_active-line {\n background: #2A2A2A\n}\n\n.ace-tomorrow-night-bright .ace_gutter-active-line {\n background-color: #2A2A2A\n}\n\n.ace-tomorrow-night-bright .ace_stack {\n background-color: rgb(66, 90, 44)\n}\n\n.ace-tomorrow-night-bright .ace_marker-layer .ace_selected-word {\n border: 1px solid #888888\n}\n\n.ace-tomorrow-night-bright .ace_invisible {\n color: #343434\n}\n\n.ace-tomorrow-night-bright .ace_keyword,\n.ace-tomorrow-night-bright .ace_meta,\n.ace-tomorrow-night-bright .ace_storage,\n.ace-tomorrow-night-bright .ace_storage.ace_type,\n.ace-tomorrow-night-bright .ace_support.ace_type {\n color: #C397D8\n}\n\n.ace-tomorrow-night-bright .ace_keyword.ace_operator {\n color: #70C0B1\n}\n\n.ace-tomorrow-night-bright .ace_constant.ace_character,\n.ace-tomorrow-night-bright .ace_constant.ace_language,\n.ace-tomorrow-night-bright .ace_constant.ace_numeric,\n.ace-tomorrow-night-bright .ace_keyword.ace_other.ace_unit,\n.ace-tomorrow-night-bright .ace_support.ace_constant,\n.ace-tomorrow-night-bright .ace_variable.ace_parameter {\n color: #E78C45\n}\n\n.ace-tomorrow-night-bright .ace_constant.ace_other {\n color: #EEEEEE\n}\n\n.ace-tomorrow-night-bright .ace_invalid {\n color: #CED2CF;\n background-color: #DF5F5F\n}\n\n.ace-tomorrow-night-bright .ace_invalid.ace_deprecated {\n color: #CED2CF;\n background-color: #B798BF\n}\n\n.ace-tomorrow-night-bright .ace_fold {\n background-color: #7AA6DA;\n border-color: #DEDEDE\n}\n\n.ace-tomorrow-night-bright .ace_entity.ace_name.ace_function,\n.ace-tomorrow-night-bright .ace_support.ace_function,\n.ace-tomorrow-night-bright .ace_variable {\n color: #7AA6DA\n}\n\n.ace-tomorrow-night-bright .ace_support.ace_class,\n.ace-tomorrow-night-bright .ace_support.ace_type {\n color: #E7C547\n}\n\n.ace-tomorrow-night-bright .ace_heading,\n.ace-tomorrow-night-bright .ace_markup.ace_heading,\n.ace-tomorrow-night-bright .ace_string {\n color: #B9CA4A\n}\n\n.ace-tomorrow-night-bright .ace_entity.ace_name.ace_tag,\n.ace-tomorrow-night-bright .ace_entity.ace_other.ace_attribute-name,\n.ace-tomorrow-night-bright .ace_meta.ace_tag,\n.ace-tomorrow-night-bright .ace_string.ace_regexp,\n.ace-tomorrow-night-bright .ace_variable {\n color: #D54E53\n}\n\n.ace-tomorrow-night-bright .ace_comment {\n color: #969896\n}\n\n.ace-tomorrow-night-bright .ace_c9searchresults.ace_keyword {\n color: #C2C280\n}\n\n.ace-tomorrow-night-bright .ace_indent-guide {\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYFBXV/8PAAJoAXX4kT2EAAAAAElFTkSuQmCC) right repeat-y\n}\n\n.ace-tomorrow-night-bright .ace_indent-guide-active {\n background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAZSURBVHjaYvj///9/hivKyv8BAAAA//8DACLqBhbvk+/eAAAAAElFTkSuQmCC") right repeat-y;\n}\n'})),ace.define("ace/theme/tomorrow_night_bright",["require","exports","module","ace/theme/tomorrow_night_bright.css","ace/lib/dom"],(function(t,n,e){n.isDark=!0,n.cssClass="ace-tomorrow-night-bright",n.cssText=t("./tomorrow_night_bright.css"),t("../lib/dom").importCssString(n.cssText,n.cssClass,!1)})),ace.require(["ace/theme/tomorrow_night_bright"],(function(n){t&&(t.exports=n)}))},33127:(t,n,e)=>{t=e.nmd(t),function(){var t=function(){return this}();t||"undefined"==typeof window||(t=window);var n=function(t,e,r){"string"==typeof t?(2==arguments.length&&(r=e),n.modules[t]||(n.payloads[t]=r,n.modules[t]=null)):n.original?n.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};n.modules={},n.payloads={};var e,r,i=function(t,n,e){if("string"==typeof n){var r=a(t,n);if(null!=r)return e&&e(),r}else if("[object Array]"===Object.prototype.toString.call(n)){for(var i=[],s=0,u=n.length;se.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n})),String.prototype.repeat||r(String.prototype,"repeat",(function(t){for(var n="",e=this;t>0;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n})),String.prototype.includes||r(String.prototype,"includes",(function(t,n){return-1!=this.indexOf(t,n)})),Object.assign||(Object.assign=function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),e=1;e>>0,r=arguments[1]>>0,i=r<0?Math.max(e+r,0):Math.min(r,e),o=arguments[2],s=void 0===o?e:o>>0,a=s<0?Math.max(e+s,0):Math.min(s,e);i0;)1&n&&(e+=t),(n>>=1)&&(t+=t);return e};var r=/^\s\s*/,i=/\s\s*$/;n.stringTrimLeft=function(t){return t.replace(r,"")},n.stringTrimRight=function(t){return t.replace(i,"")},n.copyObject=function(t){var n={};for(var e in t)n[e]=t[e];return n},n.copyArray=function(t){for(var n=[],e=0,r=t.length;e=0?parseFloat((o.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((o.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),n.isOldIE=n.isIE&&n.isIE<9,n.isGecko=n.isMozilla=o.match(/ Gecko\/\d+/),n.isOpera="object"==typeof opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),n.isWebKit=parseFloat(o.split("WebKit/")[1])||void 0,n.isChrome=parseFloat(o.split(" Chrome/")[1])||void 0,n.isEdge=parseFloat(o.split(" Edge/")[1])||void 0,n.isAIR=o.indexOf("AdobeAIR")>=0,n.isAndroid=o.indexOf("Android")>=0,n.isChromeOS=o.indexOf(" CrOS ")>=0,n.isIOS=/iPad|iPhone|iPod/.test(o)&&!window.MSStream,n.isIOS&&(n.isMac=!0),n.isMobile=n.isIOS||n.isAndroid})),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],(function(t,n,e){"use strict";var r,i=t("./useragent");n.buildDom=function t(n,e,r){if("string"==typeof n&&n){var i=document.createTextNode(n);return e&&e.appendChild(i),i}if(!Array.isArray(n))return n&&n.appendChild&&e&&e.appendChild(n),n;if("string"!=typeof n[0]||!n[0]){for(var o=[],s=0;s=1.5,i.isChromeOS&&(n.HI_DPI=!1),"undefined"!=typeof document){var u=document.createElement("div");n.HI_DPI&&void 0!==u.style.transform&&(n.HAS_CSS_TRANSFORMS=!0),i.isEdge||void 0===u.style.animationName||(n.HAS_CSS_ANIMATION=!0),u=null}n.HAS_CSS_TRANSFORMS?n.translate=function(t,n,e){t.style.transform="translate("+Math.round(n)+"px, "+Math.round(e)+"px)"}:n.translate=function(t,n,e){t.style.top=Math.round(e)+"px",t.style.left=Math.round(n)+"px"}})),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],(function(t,n,e){"use strict";var r=t("./dom");n.get=function(t,n){var e=new XMLHttpRequest;e.open("GET",t,!0),e.onreadystatechange=function(){4===e.readyState&&n(e.responseText)},e.send(null)},n.loadScript=function(t,n){var e=r.getDocumentHead(),i=document.createElement("script");i.src=t,e.appendChild(i),i.onload=i.onreadystatechange=function(t,e){!e&&i.readyState&&"loaded"!=i.readyState&&"complete"!=i.readyState||(i=i.onload=i.onreadystatechange=null,e||n())}},n.qualifyURL=function(t){var n=document.createElement("a");return n.href=t,n.href}})),ace.define("ace/lib/event_emitter",["require","exports","module"],(function(t,n,e){"use strict";var r={},i=function(){this.propagationStopped=!0},o=function(){this.defaultPrevented=!0};r._emit=r._dispatchEvent=function(t,n){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var e=this._eventRegistry[t]||[],r=this._defaultHandlers[t];if(e.length||r){"object"==typeof n&&n||(n={}),n.type||(n.type=t),n.stopPropagation||(n.stopPropagation=i),n.preventDefault||(n.preventDefault=o),e=e.slice();for(var s=0;s1&&(i=e[e.length-2]);var s=a[n+"Path"];return null==s?s=a.basePath:"/"==r&&(n=r=""),s&&"/"!=s.slice(-1)&&(s+="/"),s+n+r+i+this.get("suffix")},n.setModuleUrl=function(t,n){return a.$moduleUrls[t]=n};var u=function(n,e){return"ace/theme/textmate"==n?e(null,t("./theme/textmate")):console.error("loader is not configured")};n.setLoader=function(t){u=t},n.$loading={},n.loadModule=function(e,r){var o,s;Array.isArray(e)&&(s=e[0],e=e[1]);try{o=t(e)}catch(t){}if(o&&!n.$loading[e])return r&&r(o);if(n.$loading[e]||(n.$loading[e]=[]),n.$loading[e].push(r),!(n.$loading[e].length>1)){var a=function(){u(e,(function(t,r){n._emit("load.module",{name:e,module:r});var i=n.$loading[e];n.$loading[e]=null,i.forEach((function(t){t&&t(r)}))}))};if(!n.get("packaged"))return a();i.loadScript(n.moduleUrl(e,s),a),c()}};var c=function(){a.basePath||a.workerPath||a.modePath||a.themePath||Object.keys(a.$moduleUrls).length||(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),c=function(){})};n.version="1.14.0"})),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],(function(t,n,r){"use strict";t("./lib/fixoldbrowsers");var i=t("./config");i.setLoader((function(n,e){t([n],(function(t){e(null,t)}))}));var o=function(){return this||"undefined"!=typeof window&&window}();function s(n){if(o&&o.document){i.set("packaged",n||t.packaged||r.packaged||o.define&&e.amdD.packaged);for(var s,a={},u="",c=document.currentScript||document._currentScript,l=(c&&c.ownerDocument||document).getElementsByTagName("script"),h=0;h1?++h>4&&(h=1):h=1,o.isIE){var s=Math.abs(t.clientX-a)>5||Math.abs(t.clientY-u)>5;c&&!s||(h=1),c&&clearTimeout(c),c=setTimeout((function(){c=null}),e[h-1]||600),1==h&&(a=t.clientX,u=t.clientY)}if(t._clicks=h,r[i]("mousedown",t),h>4)h=0;else if(h>1)return r[i](f[h],t)}Array.isArray(t)||(t=[t]),t.forEach((function(t){l(t,"mousedown",d,s)}))};var f=function(t){return 0|(t.ctrlKey?1:0)|(t.altKey?2:0)|(t.shiftKey?4:0)|(t.metaKey?8:0)};function d(t,n,e){var r=f(n);if(!o.isMac&&s){if(n.getModifierState&&(n.getModifierState("OS")||n.getModifierState("Win"))&&(r|=8),s.altGr){if(3==(3&r))return;s.altGr=0}if(18===e||17===e){var u="location"in n?n.location:n.keyLocation;17===e&&1===u?1==s[e]&&(a=n.timeStamp):18===e&&3===r&&2===u&&n.timeStamp-a<50&&(s.altGr=!0)}}if(e in i.MODIFIER_KEYS&&(e=-1),r||13!==e||3!==(u="location"in n?n.location:n.keyLocation)||(t(n,r,-e),!n.defaultPrevented)){if(o.isChromeOS&&8&r){if(t(n,r,e),n.defaultPrevented)return;r&=-9}return!!(r||e in i.FUNCTION_KEYS||e in i.PRINTABLE_KEYS)&&t(n,r,e)}}function _(){s=Object.create(null)}if(n.getModifierString=function(t){return i.KEY_MODS[f(t)]},n.addCommandKeyListener=function(t,e,r){if(o.isOldGecko||o.isOpera&&!("KeyboardEvent"in window)){var i=null;l(t,"keydown",(function(t){i=t.keyCode}),r),l(t,"keypress",(function(t){return d(e,t,i)}),r)}else{var a=null;l(t,"keydown",(function(t){s[t.keyCode]=(s[t.keyCode]||0)+1;var n=d(e,t,t.keyCode);return a=t.defaultPrevented,n}),r),l(t,"keypress",(function(t){a&&(t.ctrlKey||t.altKey||t.shiftKey||t.metaKey)&&(n.stopEvent(t),a=null)}),r),l(t,"keyup",(function(t){s[t.keyCode]=null}),r),s||(_(),l(window,"focus",_))}},"object"==typeof window&&window.postMessage&&!o.isOldIE){var p=1;n.nextTick=function(t,e){e=e||window;var r="zero-timeout-message-"+p++,i=function(o){o.data==r&&(n.stopPropagation(o),h(e,"message",i),t())};l(e,"message",i),e.postMessage(r,"*")}}n.$idleBlocked=!1,n.onIdle=function(t,e){return setTimeout((function e(){n.$idleBlocked?setTimeout(e,100):t()}),e)},n.$idleBlockId=null,n.blockIdle=function(t){n.$idleBlockId&&clearTimeout(n.$idleBlockId),n.$idleBlocked=!0,n.$idleBlockId=setTimeout((function(){n.$idleBlocked=!1}),t||100)},n.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),n.nextFrame?n.nextFrame=n.nextFrame.bind(window):n.nextFrame=function(t){setTimeout(t,17)}})),ace.define("ace/range",["require","exports","module"],(function(t,n,e){"use strict";var r=function(t,n,e,r){this.start={row:t,column:n},this.end={row:e,column:r}};(function(){this.isEqual=function(t){return this.start.row===t.start.row&&this.end.row===t.end.row&&this.start.column===t.start.column&&this.end.column===t.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(t,n){return 0==this.compare(t,n)},this.compareRange=function(t){var n,e=t.end,r=t.start;return 1==(n=this.compare(e.row,e.column))?1==(n=this.compare(r.row,r.column))?2:0==n?1:0:-1==n?-2:-1==(n=this.compare(r.row,r.column))?-1:1==n?42:0},this.comparePoint=function(t){return this.compare(t.row,t.column)},this.containsRange=function(t){return 0==this.comparePoint(t.start)&&0==this.comparePoint(t.end)},this.intersects=function(t){var n=this.compareRange(t);return-1==n||0==n||1==n},this.isEnd=function(t,n){return this.end.row==t&&this.end.column==n},this.isStart=function(t,n){return this.start.row==t&&this.start.column==n},this.setStart=function(t,n){"object"==typeof t?(this.start.column=t.column,this.start.row=t.row):(this.start.row=t,this.start.column=n)},this.setEnd=function(t,n){"object"==typeof t?(this.end.column=t.column,this.end.row=t.row):(this.end.row=t,this.end.column=n)},this.inside=function(t,n){return 0==this.compare(t,n)&&!this.isEnd(t,n)&&!this.isStart(t,n)},this.insideStart=function(t,n){return 0==this.compare(t,n)&&!this.isEnd(t,n)},this.insideEnd=function(t,n){return 0==this.compare(t,n)&&!this.isStart(t,n)},this.compare=function(t,n){return this.isMultiLine()||t!==this.start.row?tthis.end.row?1:this.start.row===t?n>=this.start.column?0:-1:this.end.row===t?n<=this.end.column?0:1:0:nthis.end.column?1:0},this.compareStart=function(t,n){return this.start.row==t&&this.start.column==n?-1:this.compare(t,n)},this.compareEnd=function(t,n){return this.end.row==t&&this.end.column==n?1:this.compare(t,n)},this.compareInside=function(t,n){return this.end.row==t&&this.end.column==n?1:this.start.row==t&&this.start.column==n?-1:this.compare(t,n)},this.clipRows=function(t,n){if(this.end.row>n)var e={row:n+1,column:0};else this.end.rown)var i={row:n+1,column:0};else this.start.rowDate.now()-50)||(r=!1)},cancel:function(){r=Date.now()}}})),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],(function(t,n,e){"use strict";var r=t("../lib/event"),i=t("../lib/useragent"),o=t("../lib/dom"),s=t("../lib/lang"),a=t("../clipboard"),u=i.isChrome<18,c=i.isIE,l=i.isChrome>63,h=400,f=t("../lib/keys"),d=f.KEY_MODS,_=i.isIOS,p=_?/\s/:/\n/,v=i.isMobile;n.TextInput=function(t,n){var e=o.createElement("textarea");e.className="ace_text-input",e.setAttribute("wrap","off"),e.setAttribute("autocorrect","off"),e.setAttribute("autocapitalize","off"),e.setAttribute("spellcheck",!1),e.style.opacity="0",t.insertBefore(e,t.firstChild);var g=!1,m=!1,y=!1,w=!1,b="";v||(e.style.fontSize="1px");var x=!1,k=!1,S="",C=0,$=0,E=0;try{var M=document.activeElement===e}catch(t){}this.setAriaOptions=function(t){t.activeDescendant?(e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-autocomplete","list"),e.setAttribute("aria-activedescendant",t.activeDescendant)):(e.setAttribute("aria-haspopup","false"),e.setAttribute("aria-autocomplete","both"),e.removeAttribute("aria-activedescendant")),t.role&&e.setAttribute("role",t.role)},this.setAriaOptions({role:"textbox"}),r.addListener(e,"blur",(function(t){k||(n.onBlur(t),M=!1)}),n),r.addListener(e,"focus",(function(t){if(!k){if(M=!0,i.isEdge)try{if(!document.hasFocus())return}catch(t){}n.onFocus(t),i.isEdge?setTimeout(z):z()}}),n),this.$focusScroll=!1,this.focus=function(){if(b||l||"browser"==this.$focusScroll)return e.focus({preventScroll:!0});var t=e.style.top;e.style.position="fixed",e.style.top="0px";try{var n=0!=e.getBoundingClientRect().top}catch(t){return}var r=[];if(n)for(var i=e.parentElement;i&&1==i.nodeType;)r.push(i),i.setAttribute("ace_nocontext",!0),i=!i.parentElement&&i.getRootNode?i.getRootNode().host:i.parentElement;e.focus({preventScroll:!0}),n&&r.forEach((function(t){t.removeAttribute("ace_nocontext")})),setTimeout((function(){e.style.position="","0px"==e.style.top&&(e.style.top=t)}),0)},this.blur=function(){e.blur()},this.isFocused=function(){return M},n.on("beforeEndOperation",(function(){var t=n.curOp,r=t&&t.command&&t.command.name;if("insertstring"!=r){var i=r&&(t.docChanged||t.selectionChanged);y&&i&&(S=e.value="",N()),z()}}));var z=_?function(t){if(M&&(!g||t)&&!w){t||(t="");var r="\n ab"+t+"cde fg\n";r!=e.value&&(e.value=S=r);var i=4+(t.length||(n.selection.isEmpty()?0:1));4==C&&$==i||e.setSelectionRange(4,i),C=4,$=i}}:function(){if(!y&&!w&&(M||j)){y=!0;var t=0,r=0,i="";if(n.session){var o=n.selection,s=o.getRange(),a=o.cursor.row;if(t=s.start.column,r=s.end.column,i=n.session.getLine(a),s.start.row!=a){var u=n.session.getLine(a-1);t=s.start.rowa+1?c.length:r,r+=i.length+1,i=i+"\n"+c}else v&&a>0&&(i="\n"+i,r+=1,t+=1);i.length>h&&(t0&&S[f]==t[f];)f++,a--;for(c=c.slice(f),f=1;u>0&&S.length-f>C-1&&S[S.length-f]==t[t.length-f];)f++,u--;l-=f-1,h-=f-1;var d=c.length-f+1;if(d<0&&(a=-d,d=0),c=c.slice(0,d),!(r||c||l||a||u||h))return"";w=!0;var _=!1;return i.isAndroid&&". "==c&&(c=" ",_=!0),c&&!a&&!u&&!l&&!h||x?n.onTextInput(c):n.onTextInput(c,{extendLeft:a,extendRight:u,restoreStart:l,restoreEnd:h}),w=!1,S=t,C=o,$=s,E=h,_?"\n":c},q=function(t){if(y)return D();if(t&&t.inputType){if("historyUndo"==t.inputType)return n.execCommand("undo");if("historyRedo"==t.inputType)return n.execCommand("redo")}var r=e.value,i=A(r,!0);(r.length>500||p.test(i)||v&&C<1&&C==$)&&z()},P=function(t,n,e){var r=t.clipboardData||window.clipboardData;if(r&&!u){var i=c||e?"Text":"text/plain";try{return n?!1!==r.setData(i,n):r.getData(i)}catch(t){if(!e)return P(t,n,!0)}}},R=function(t,i){var o=n.getCopyText();if(!o)return r.preventDefault(t);P(t,o)?(_&&(z(o),g=o,setTimeout((function(){g=!1}),10)),i?n.onCut():n.onCopy(),r.preventDefault(t)):(g=!0,e.value=o,e.select(),setTimeout((function(){g=!1,z(),i?n.onCut():n.onCopy()})))},L=function(t){R(t,!0)},O=function(t){R(t,!1)},I=function(t){var o=P(t);a.pasteCancelled()||("string"==typeof o?(o&&n.onPaste(o,t),i.isIE&&setTimeout(z),r.preventDefault(t)):(e.value="",m=!0))};r.addCommandKeyListener(e,n.onCommandKey.bind(n),n),r.addListener(e,"select",(function(t){y||(g?g=!1:function(t){return 0===t.selectionStart&&t.selectionEnd>=S.length&&t.value===S&&S&&t.selectionEnd!==$}(e)?(n.selectAll(),z()):v&&e.selectionStart!=C&&z())}),n),r.addListener(e,"input",q,n),r.addListener(e,"cut",L,n),r.addListener(e,"copy",O,n),r.addListener(e,"paste",I,n),"oncut"in e&&"oncopy"in e&&"onpaste"in e||r.addListener(t,"keydown",(function(t){if((!i.isMac||t.metaKey)&&t.ctrlKey)switch(t.keyCode){case 67:O(t);break;case 86:I(t);break;case 88:L(t)}}),n);var D=function(){if(y&&n.onCompositionUpdate&&!n.$readOnly){if(x)return B();if(y.useTextareaForIME)n.onCompositionUpdate(e.value);else{var t=e.value;A(t),y.markerRange&&(y.context&&(y.markerRange.start.column=y.selectionStart=y.context.compositionStartOffset),y.markerRange.end.column=y.markerRange.start.column+$-y.selectionStart+E)}}},N=function(t){n.onCompositionEnd&&!n.$readOnly&&(y=!1,n.onCompositionEnd(),n.off("mousedown",B),t&&q())};function B(){k=!0,e.blur(),e.focus(),k=!1}var F,U=s.delayedCall(D,50).schedule.bind(null,null);function H(){clearTimeout(F),F=setTimeout((function(){b&&(e.style.cssText=b,b=""),n.renderer.$isMousePressed=!1,n.renderer.$keepTextAreaAtCursor&&n.renderer.$moveTextAreaToCursor()}),0)}r.addListener(e,"compositionstart",(function(t){if(!y&&n.onCompositionStart&&!n.$readOnly&&(y={},!x)){t.data&&(y.useTextareaForIME=!1),setTimeout(D,0),n._signal("compositionStart"),n.on("mousedown",B);var r=n.getSelectionRange();r.end.row=r.start.row,r.end.column=r.start.column,y.markerRange=r,y.selectionStart=C,n.onCompositionStart(y),y.useTextareaForIME?(S=e.value="",C=0,$=0):(e.msGetInputContext&&(y.context=e.msGetInputContext()),e.getInputContext&&(y.context=e.getInputContext()))}}),n),r.addListener(e,"compositionupdate",D,n),r.addListener(e,"keyup",(function(t){27==t.keyCode&&e.value.length$&&"\n"==S[o]?s=f.end:r$&&S.slice(0,o).split("\n").length>2?s=f.down:o>$&&" "==S[o-1]?(s=f.right,a=d.option):(o>$||o==$&&$!=C&&r==o)&&(s=f.right),r!==o&&(a|=d.shift),s){if(!n.onCommandKey({},a,s)&&n.commands){s=f.keyCodeToString(s);var u=n.commands.findKeyCommand(a,s);u&&n.execCommand(u)}C=r,$=o,z("")}}};document.addEventListener("selectionchange",o),n.on("destroy",(function(){document.removeEventListener("selectionchange",o)}))}(0,n,e),this.destroy=function(){e.parentElement&&e.parentElement.removeChild(e)}},n.$setUserAgentForTests=function(t,n){v=t,_=n}})),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],(function(t,n,e){"use strict";var r=t("../lib/useragent");function i(t){t.$clickSelection=null;var n=t.editor;n.setDefaultHandler("mousedown",this.onMouseDown.bind(t)),n.setDefaultHandler("dblclick",this.onDoubleClick.bind(t)),n.setDefaultHandler("tripleclick",this.onTripleClick.bind(t)),n.setDefaultHandler("quadclick",this.onQuadClick.bind(t)),n.setDefaultHandler("mousewheel",this.onMouseWheel.bind(t)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach((function(n){t[n]=this[n]}),this),t.selectByLines=this.extendSelectionBy.bind(t,"getLineRange"),t.selectByWords=this.extendSelectionBy.bind(t,"getWordRange")}function o(t,n){if(t.start.row==t.end.row)var e=2*n.column-t.start.column-t.end.column;else if(t.start.row!=t.end.row-1||t.start.column||t.end.column)e=2*n.row-t.start.row-t.end.row;else e=n.column-4;return e<0?{cursor:t.start,anchor:t.end}:{cursor:t.end,anchor:t.start}}(function(){this.onMouseDown=function(t){var n=t.inSelection(),e=t.getDocumentPosition();this.mousedownEvent=t;var i=this.editor,o=t.getButton();return 0!==o?((i.getSelectionRange().isEmpty()||1==o)&&i.selection.moveToPosition(e),void(2==o&&(i.textInput.onContextMenu(t.domEvent),r.isMozilla||t.preventDefault()))):(this.mousedownEvent.time=Date.now(),!n||i.isFocused()||(i.focus(),!this.$focusTimeout||this.$clickSelection||i.inMultiSelectMode)?(this.captureMouse(t),this.startSelect(e,t.domEvent._clicks>1),t.preventDefault()):(this.setState("focusWait"),void this.captureMouse(t)))},this.startSelect=function(t,n){t=t||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var e=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?e.selection.selectToPosition(t):n||e.selection.moveToPosition(t),n||this.select(),e.renderer.scroller.setCapture&&e.renderer.scroller.setCapture(),e.setStyle("ace_selecting"),this.setState("select"))},this.select=function(){var t,n=this.editor,e=n.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var r=this.$clickSelection.comparePoint(e);if(-1==r)t=this.$clickSelection.end;else if(1==r)t=this.$clickSelection.start;else{var i=o(this.$clickSelection,e);e=i.cursor,t=i.anchor}n.selection.setSelectionAnchor(t.row,t.column)}n.selection.selectToPosition(e),n.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(t){var n,e=this.editor,r=e.renderer.screenToTextCoordinates(this.x,this.y),i=e.selection[t](r.row,r.column);if(this.$clickSelection){var s=this.$clickSelection.comparePoint(i.start),a=this.$clickSelection.comparePoint(i.end);if(-1==s&&a<=0)n=this.$clickSelection.end,i.end.row==r.row&&i.end.column==r.column||(r=i.start);else if(1==a&&s>=0)n=this.$clickSelection.start,i.start.row==r.row&&i.start.column==r.column||(r=i.end);else if(-1==s&&1==a)r=i.end,n=i.start;else{var u=o(this.$clickSelection,r);r=u.cursor,n=u.anchor}e.selection.setSelectionAnchor(n.row,n.column)}e.selection.selectToPosition(r),e.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var t,n,e,r,i=(t=this.mousedownEvent.x,n=this.mousedownEvent.y,e=this.x,r=this.y,Math.sqrt(Math.pow(e-t,2)+Math.pow(r-n,2))),o=Date.now();(i>0||o-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(t){var n=t.getDocumentPosition(),e=this.editor,r=e.session.getBracketRange(n);r?(r.isEmpty()&&(r.start.column--,r.end.column++),this.setState("select")):(r=e.selection.getWordRange(n.row,n.column),this.setState("selectByWords")),this.$clickSelection=r,this.select()},this.onTripleClick=function(t){var n=t.getDocumentPosition(),e=this.editor;this.setState("selectByLines");var r=e.getSelectionRange();r.isMultiLine()&&r.contains(n.row,n.column)?(this.$clickSelection=e.selection.getLineRange(r.start.row),this.$clickSelection.end=e.selection.getLineRange(r.end.row).end):this.$clickSelection=e.selection.getLineRange(n.row),this.select()},this.onQuadClick=function(t){var n=this.editor;n.selectAll(),this.$clickSelection=n.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(t){if(!t.getAccelKey()){t.getShiftKey()&&t.wheelY&&!t.wheelX&&(t.wheelX=t.wheelY,t.wheelY=0);var n=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var e=this.$lastScroll,r=t.domEvent.timeStamp,i=r-e.t,o=i?t.wheelX/i:e.vx,s=i?t.wheelY/i:e.vy;i<550&&(o=(o+e.vx)/2,s=(s+e.vy)/2);var a=Math.abs(o/s),u=!1;return a>=1&&n.renderer.isScrollableBy(t.wheelX*t.speed,0)&&(u=!0),a<=1&&n.renderer.isScrollableBy(0,t.wheelY*t.speed)&&(u=!0),u?e.allowed=r:r-e.allowed<550&&(Math.abs(o)<=1.5*Math.abs(e.vx)&&Math.abs(s)<=1.5*Math.abs(e.vy)?(u=!0,e.allowed=r):e.allowed=0),e.t=r,e.vx=o,e.vy=s,u?(n.renderer.scrollBy(t.wheelX*t.speed,t.wheelY*t.speed),t.stop()):void 0}}}).call(i.prototype),n.DefaultHandlers=i})),ace.define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],(function(t,n,e){"use strict";t("./lib/oop");var r=t("./lib/dom"),i="ace_tooltip";function o(t){this.isOpen=!1,this.$element=null,this.$parentNode=t}(function(){this.$init=function(){return this.$element=r.createElement("div"),this.$element.className=i,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(t){this.getElement().textContent=t},this.setHtml=function(t){this.getElement().innerHTML=t},this.setPosition=function(t,n){this.getElement().style.left=t+"px",this.getElement().style.top=n+"px"},this.setClassName=function(t){r.addCssClass(this.getElement(),t)},this.show=function(t,n,e){null!=t&&this.setText(t),null!=n&&null!=e&&this.setPosition(n,e),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=i,this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth},this.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)}}).call(o.prototype),n.Tooltip=o})),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event","ace/tooltip"],(function(t,n,e){"use strict";var r=t("../lib/dom"),i=t("../lib/oop"),o=t("../lib/event"),s=t("../tooltip").Tooltip;function a(t){s.call(this,t)}i.inherits(a,s),function(){this.setPosition=function(t,n){var e=window.innerWidth||document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight,i=this.getWidth(),o=this.getHeight();(t+=15)+i>e&&(t-=t+i-e),(n+=15)+o>r&&(n-=20+o),s.prototype.setPosition.call(this,t,n)}}.call(a.prototype),n.GutterHandler=function(t){var n,e,i,s=t.editor,u=s.renderer.$gutterLayer,c=new a(s.container);function l(){n&&(n=clearTimeout(n)),i&&(c.hide(),i=null,s._signal("hideGutterTooltip",c),s.off("mousewheel",l))}function h(t){c.setPosition(t.x,t.y)}t.editor.setDefaultHandler("guttermousedown",(function(n){if(s.isFocused()&&0==n.getButton()&&"foldWidgets"!=u.getRegion(n)){var e=n.getDocumentPosition().row,r=s.session.selection;if(n.getShiftKey())r.selectTo(e,0);else{if(2==n.domEvent.detail)return s.selectAll(),n.preventDefault();t.$clickSelection=s.selection.getLineRange(e)}return t.setState("selectByLines"),t.captureMouse(n),n.preventDefault()}})),t.editor.setDefaultHandler("guttermousemove",(function(o){var a=o.domEvent.target||o.domEvent.srcElement;if(r.hasCssClass(a,"ace_fold-widget"))return l();i&&t.$tooltipFollowsMouse&&h(o),e=o,n||(n=setTimeout((function(){n=null,e&&!t.isMousePressed?function(){var n=e.getDocumentPosition().row,r=u.$annotations[n];if(!r)return l();if(n==s.session.getLength()){var o=s.renderer.pixelToScreenCoordinates(0,e.y).row,a=e.$pos;if(o>s.session.documentToScreenRow(a.row,a.column))return l()}if(i!=r){i=r.text.join("
"),c.setHtml(i);var f=r.className;if(f&&c.setClassName(f.trim()),c.show(),s._signal("showGutterTooltip",c),s.on("mousewheel",l),t.$tooltipFollowsMouse)h(e);else{var d=e.domEvent.target.getBoundingClientRect(),_=c.getElement().style;_.left=d.right+"px",_.top=d.bottom+"px"}}}():l()}),50))})),o.addListener(s.renderer.$gutter,"mouseout",(function(t){e=null,i&&!n&&(n=setTimeout((function(){n=null,l()}),50))}),s),s.on("changeSession",l)}})),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],(function(t,n,e){"use strict";var r=t("../lib/event"),i=t("../lib/useragent"),o=n.MouseEvent=function(t,n){this.domEvent=t,this.editor=n,this.x=this.clientX=t.clientX,this.y=this.clientY=t.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){r.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){r.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},this.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var t=this.editor.getSelectionRange();if(t.isEmpty())this.$inSelection=!1;else{var n=this.getDocumentPosition();this.$inSelection=t.contains(n.row,n.column)}return this.$inSelection},this.getButton=function(){return r.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=i.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(o.prototype)})),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],(function(t,n,e){"use strict";var r=t("../lib/dom"),i=t("../lib/event"),o=t("../lib/useragent");function s(t){var n=t.editor,e=r.createElement("div");e.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",e.textContent=" ",["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach((function(n){t[n]=this[n]}),this),n.on("mousedown",this.onMouseDown.bind(t));var s,u,c,l,h,f,d,_,p,v,g,m=n.container,y=0;function w(){var t=f;(function(t,e){var r=Date.now(),i=!e||t.row!=e.row,o=!e||t.column!=e.column;!v||i||o?(n.moveCursorToPosition(t),v=r,g={x:u,y:c}):a(g.x,g.y,u,c)>5?v=null:r-v>=200&&(n.renderer.scrollCursorIntoView(),v=null)})(f=n.renderer.screenToTextCoordinates(u,c),t),function(t,e){var r=Date.now(),i=n.renderer.layerConfig.lineHeight,o=n.renderer.layerConfig.characterWidth,s=n.renderer.scroller.getBoundingClientRect(),a={x:{left:u-s.left,right:s.right-u},y:{top:c-s.top,bottom:s.bottom-c}},l=Math.min(a.x.left,a.x.right),h=Math.min(a.y.top,a.y.bottom),f={row:t.row,column:t.column};l/o<=2&&(f.column+=a.x.left=200&&n.renderer.scrollCursorIntoView(f):p=r:p=null}(f,t)}function b(){h=n.selection.toOrientedRange(),s=n.session.addMarker(h,"ace_selection",n.getSelectionStyle()),n.clearSelection(),n.isFocused()&&n.renderer.$cursorLayer.setBlinking(!1),clearInterval(l),w(),l=setInterval(w,20),y=0,i.addListener(document,"mousemove",S)}function x(){clearInterval(l),n.session.removeMarker(s),s=null,n.selection.fromOrientedRange(h),n.isFocused()&&!_&&n.$resetCursorStyle(),h=null,f=null,y=0,p=null,v=null,i.removeListener(document,"mousemove",S)}this.onDragStart=function(t){if(this.cancelDrag||!m.draggable){var r=this;return setTimeout((function(){r.startSelect(),r.captureMouse(t)}),0),t.preventDefault()}h=n.getSelectionRange();var i=t.dataTransfer;i.effectAllowed=n.getReadOnly()?"copy":"copyMove",n.container.appendChild(e),i.setDragImage&&i.setDragImage(e,0,0),setTimeout((function(){n.container.removeChild(e)})),i.clearData(),i.setData("Text",n.session.getTextRange()),_=!0,this.setState("drag")},this.onDragEnd=function(t){if(m.draggable=!1,_=!1,this.setState(null),!n.getReadOnly()){var e=t.dataTransfer.dropEffect;d||"move"!=e||n.session.remove(n.getSelectionRange()),n.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(t){if(!n.getReadOnly()&&C(t.dataTransfer))return u=t.clientX,c=t.clientY,s||b(),y++,t.dataTransfer.dropEffect=d=$(t),i.preventDefault(t)},this.onDragOver=function(t){if(!n.getReadOnly()&&C(t.dataTransfer))return u=t.clientX,c=t.clientY,s||(b(),y++),null!==k&&(k=null),t.dataTransfer.dropEffect=d=$(t),i.preventDefault(t)},this.onDragLeave=function(t){if(--y<=0&&s)return x(),d=null,i.preventDefault(t)},this.onDrop=function(t){if(f){var e=t.dataTransfer;if(_)switch(d){case"move":h=h.contains(f.row,f.column)?{start:f,end:f}:n.moveText(h,f);break;case"copy":h=n.moveText(h,f,!0)}else{var r=e.getData("Text");h={start:f,end:n.session.insert(f,r)},n.focus(),d=null}return x(),i.preventDefault(t)}},i.addListener(m,"dragstart",this.onDragStart.bind(t),n),i.addListener(m,"dragend",this.onDragEnd.bind(t),n),i.addListener(m,"dragenter",this.onDragEnter.bind(t),n),i.addListener(m,"dragover",this.onDragOver.bind(t),n),i.addListener(m,"dragleave",this.onDragLeave.bind(t),n),i.addListener(m,"drop",this.onDrop.bind(t),n);var k=null;function S(){null==k&&(k=setTimeout((function(){null!=k&&s&&x()}),20))}function C(t){var n=t.types;return!n||Array.prototype.some.call(n,(function(t){return"text/plain"==t||"Text"==t}))}function $(t){var n=["copy","copymove","all","uninitialized"],e=o.isMac?t.altKey:t.ctrlKey,r="uninitialized";try{r=t.dataTransfer.effectAllowed.toLowerCase()}catch(t){}var i="none";return e&&n.indexOf(r)>=0?i="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(r)>=0?i="move":n.indexOf(r)>=0&&(i="copy"),i}}function a(t,n,e,r){return Math.sqrt(Math.pow(e-t,2)+Math.pow(r-n,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(t){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var t=this.editor;t.container.draggable=!0,t.renderer.$cursorLayer.setBlinking(!1),t.setStyle("ace_dragging");var n=o.isWin?"default":"move";t.renderer.setCursorStyle(n),this.setState("dragReady")},this.onMouseDrag=function(t){var n=this.editor.container;o.isIE&&"dragReady"==this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&n.dragDrop(),"dragWait"===this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(n.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))},this.onMouseDown=function(t){if(this.$dragEnabled){this.mousedownEvent=t;var n=this.editor,e=t.inSelection(),r=t.getButton();if(1===(t.domEvent.detail||1)&&0===r&&e){if(t.editor.inMultiSelectMode&&(t.getAccelKey()||t.getShiftKey()))return;this.mousedownEvent.time=Date.now();var i=t.domEvent.target||t.domEvent.srcElement;"unselectable"in i&&(i.unselectable="on"),n.getDragDelay()?(o.isWebKit&&(this.cancelDrag=!0,n.container.draggable=!0),this.setState("dragWait")):this.startDrag(),this.captureMouse(t,this.onMouseDrag.bind(this)),t.defaultPrevented=!0}}}}).call(s.prototype),n.DragdropHandler=s})),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],(function(t,n,e){"use strict";var r=t("./mouse_event").MouseEvent,i=t("../lib/event"),o=t("../lib/dom");n.addTouchListeners=function(t,n){var e,s,a,u,c,l,h,f,d,_="scroll",p=0,v=0,g=0,m=0;function y(){var t,e,r;d||(t=window.navigator&&window.navigator.clipboard,e=!1,r=function(r){var i,s,a=r.target.getAttribute("action");if("more"==a||!e)return e=!e,i=n.getCopyText(),s=n.session.getUndoManager().hasUndo(),void d.replaceChild(o.buildDom(e?["span",!i&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],i&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],i&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],t&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],s&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],["span",{class:"ace_mobile-button",action:"find"},"Find"],["span",{class:"ace_mobile-button",action:"openCommandPallete"},"Palette"]]:["span"]),d.firstChild);"paste"==a?t.readText().then((function(t){n.execCommand(a,t)})):a&&("cut"!=a&&"copy"!=a||(t?t.writeText(n.getCopyText()):document.execCommand("copy")),n.execCommand(a)),d.firstChild.style.display="none",e=!1,"openCommandPallete"!=a&&n.focus()},d=o.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(t){_="menu",t.stopPropagation(),t.preventDefault(),n.textInput.focus()},ontouchend:function(t){t.stopPropagation(),t.preventDefault(),r(t)},onclick:r},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],n.container));var i=n.selection.cursor,s=n.renderer.textToScreenCoordinates(i.row,i.column),a=n.renderer.textToScreenCoordinates(0,0).pageX,u=n.renderer.scrollLeft,c=n.container.getBoundingClientRect();d.style.top=s.pageY-c.top-3+"px",s.pageX-c.left1)return clearTimeout(c),c=null,a=-1,void(_="zoom");f=n.$mouseHandler.isMousePressed=!0;var o=n.renderer.layerConfig.lineHeight,l=n.renderer.layerConfig.lineHeight,d=t.timeStamp;u=d;var y=i[0],w=y.clientX,x=y.clientY;Math.abs(e-w)+Math.abs(s-x)>o&&(a=-1),e=t.clientX=w,s=t.clientY=x,g=m=0;var k=new r(t,n);if(h=k.getDocumentPosition(),d-a<500&&1==i.length&&!p)v++,t.preventDefault(),t.button=0,function(){c=null,clearTimeout(c),n.selection.moveToPosition(h);var t=v>=2?n.selection.getLineRange(h.row):n.session.getBracketRange(h);t&&!t.isEmpty()?n.selection.setRange(t):n.selection.selectWord(),_="wait"}();else{v=0;var S=n.selection.cursor,C=n.selection.isEmpty()?S:n.selection.anchor,$=n.renderer.$cursorLayer.getPixelPosition(S,!0),E=n.renderer.$cursorLayer.getPixelPosition(C,!0),M=n.renderer.scroller.getBoundingClientRect(),z=n.renderer.layerConfig.offset,T=n.renderer.scrollLeft,j=function(t,n){return(t/=l)*t+(n=n/o-.75)*n};if(t.clientXq?"cursor":"anchor"),_=q<3.5?"anchor":A<3.5?"cursor":"scroll",c=setTimeout(b,450)}a=d}),n),i.addListener(t,"touchend",(function(t){f=n.$mouseHandler.isMousePressed=!1,l&&clearInterval(l),"zoom"==_?(_="",p=0):c?(n.selection.moveToPosition(h),p=0,y()):"scroll"==_?(p+=60,l=setInterval((function(){p--<=0&&(clearInterval(l),l=null),Math.abs(g)<.01&&(g=0),Math.abs(m)<.01&&(m=0),p<20&&(g*=.9),p<20&&(m*=.9);var t=n.session.getScrollTop();n.renderer.scrollBy(10*g,10*m),t==n.session.getScrollTop()&&(p=0)}),10),w()):y(),clearTimeout(c),c=null}),n),i.addListener(t,"touchmove",(function(t){c&&(clearTimeout(c),c=null);var i=t.touches;if(!(i.length>1||"zoom"==_)){var o=i[0],a=e-o.clientX,l=s-o.clientY;if("wait"==_){if(!(a*a+l*l>4))return t.preventDefault();_="cursor"}e=o.clientX,s=o.clientY,t.clientX=o.clientX,t.clientY=o.clientY;var h=t.timeStamp,f=h-u;if(u=h,"scroll"==_){var d=new r(t,n);d.speed=1,d.wheelX=a,d.wheelY=l,10*Math.abs(a)=t){for(o=h+1;o=t;)o++;for(a=h,u=o-1;a=n.length||2!=(u=e[i-1])&&3!=u||2!=(c=n[i+1])&&3!=c?4:(o&&(c=3),c==u?c:4);case 10:return 2==(u=i>0?e[i-1]:5)&&i+10&&2==e[i-1])return 2;if(o)return 4;for(d=i+1,f=n.length;d=1425&&p<=2303||64286==p;if(u=n[d],v&&(1==u||7==u))return 1}return i<1||5==(u=n[i-1])?4:e[i-1];case 5:return o=!1,s=!0,r;case 6:return a=!0,4;case 13:case 14:case 16:case 17:case 15:o=!1;case h:return 4}}function v(t){var n=t.charCodeAt(0),e=n>>8;return 0==e?n>191?0:f[n]:5==e?/[\u0591-\u05f4]/.test(t)?1:0:6==e?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(t)?12:/[\u0660-\u0669\u066b-\u066c]/.test(t)?3:1642==n?l:/[\u06f0-\u06f9]/.test(t)?2:7:32==e&&n<=8287?d[255&n]:254==e&&n>=65136?7:4}n.L=0,n.R=1,n.EN=2,n.ON_R=3,n.AN=4,n.R_H=5,n.B=6,n.RLE=7,n.DOT="·",n.doBidiReorder=function(t,e,l){if(t.length<2)return{};var f=t.split(""),d=new Array(f.length),g=new Array(f.length),m=[];r=l?1:0,function(t,n,e,l){var h=r?c:u,f=null,d=null,_=null,g=0,m=null,y=-1,w=null,b=null,x=[];if(!l)for(w=0,l=[];w0)if(16==m){for(w=y;w-1){for(w=y;w=0&&8==l[k];k--)n[k]=r}}(f,m,f.length,e);for(var y=0;y7&&e[y]<13||4===e[y]||e[y]===h)?m[y]=n.ON_R:y>0&&"ل"===f[y-1]&&/\u0622|\u0623|\u0625|\u0627/.test(f[y])&&(m[y-1]=m[y]=n.R_H,y++);for(f[f.length-1]===n.DOT&&(m[f.length-1]=n.B),"‫"===f[0]&&(m[0]=n.RLE),y=0;y=0&&(t=this.session.$docRowCache[e])}return t},this.getSplitIndex=function(){var t=0,n=this.session.$screenRowCache;if(n.length)for(var e,r=this.session.$getRowCacheIndex(n,this.currentRow);this.currentRow-t>0&&(e=this.session.$getRowCacheIndex(n,this.currentRow-t-1))===r;)r=e,t++;else t=this.currentRow;return t},this.updateRowLine=function(t,n){void 0===t&&(t=this.getDocumentRow());var e=t===this.session.getLength()-1?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(t),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var o=this.session.$wrapData[t];o&&(void 0===n&&(n=this.getSplitIndex()),n>0&&o.length?(this.wrapIndent=o.indent,this.wrapOffset=this.wrapIndent*this.charWidths[r.L],this.line=nn?this.session.getOverwrite()?t:t-1:n,i=r.getVisualFromLogicalIdx(e,this.bidiMap),o=this.bidiMap.bidiLevels,s=0;!this.session.getOverwrite()&&t<=n&&o[i]%2!=0&&i++;for(var a=0;an&&o[i]%2==0&&(s+=this.charWidths[o[i]]),this.wrapIndent&&(s+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(s+=this.rtlLineOffset),s},this.getSelections=function(t,n){var e,r=this.bidiMap,i=r.bidiLevels,o=[],s=0,a=Math.min(t,n)-this.wrapIndent,u=Math.max(t,n)-this.wrapIndent,c=!1,l=!1,h=0;this.wrapIndent&&(s+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var f,d=0;d=a&&fe+o/2;){if(e+=o,r===i.length-1){o=0;break}o=this.charWidths[i[++r]]}return r>0&&i[r-1]%2!=0&&i[r]%2==0?(t0&&i[r-1]%2==0&&i[r]%2!=0?n=1+(t>e?this.bidiMap.logicalFromVisual[r]:this.bidiMap.logicalFromVisual[r-1]):this.isRtlDir&&r===i.length-1&&0===o&&i[r-1]%2==0||!this.isRtlDir&&0===r&&i[r]%2!=0?n=1+this.bidiMap.logicalFromVisual[r]:(r>0&&i[r-1]%2!=0&&0!==o&&r--,n=this.bidiMap.logicalFromVisual[r]),0===n&&this.isRtlDir&&n++,n+this.wrapIndent}}).call(s.prototype),n.BidiHandler=s})),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],(function(t,n,e){"use strict";var r=t("./lib/oop"),i=t("./lib/lang"),o=t("./lib/event_emitter").EventEmitter,s=t("./range").Range,a=function(t){this.session=t,this.doc=t.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var n=this;this.cursor.on("change",(function(t){n.$cursorChanged=!0,n.$silent||n._emit("changeCursor"),n.$isEmpty||n.$silent||n._emit("changeSelection"),n.$keepDesiredColumnOnChange||t.old.column==t.value.column||(n.$desiredColumn=null)})),this.anchor.on("change",(function(){n.$anchorChanged=!0,n.$isEmpty||n.$silent||n._emit("changeSelection")}))};(function(){r.implement(this,o),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},this.getCursor=function(){return this.lead.getPosition()},this.setSelectionAnchor=function(t,n){this.$isEmpty=!1,this.anchor.setPosition(t,n)},this.getAnchor=this.getSelectionAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},this.getSelectionLead=function(){return this.lead.getPosition()},this.isBackwards=function(){var t=this.anchor,n=this.lead;return t.row>n.row||t.row==n.row&&t.column>n.column},this.getRange=function(){var t=this.anchor,n=this.lead;return this.$isEmpty?s.fromPoints(n,n):this.isBackwards()?s.fromPoints(n,t):s.fromPoints(t,n)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},this.setRange=this.setSelectionRange=function(t,n){var e=n?t.end:t.start,r=n?t.start:t.end;this.$setSelection(e.row,e.column,r.row,r.column)},this.$setSelection=function(t,n,e,r){if(!this.$silent){var i=this.$isEmpty,o=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(t,n),this.cursor.setPosition(e,r),this.$isEmpty=!s.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||i!=this.$isEmpty||o)&&this._emit("changeSelection")}},this.$moveSelection=function(t){var n=this.lead;this.$isEmpty&&this.setSelectionAnchor(n.row,n.column),t.call(this)},this.selectTo=function(t,n){this.$moveSelection((function(){this.moveCursorTo(t,n)}))},this.selectToPosition=function(t){this.$moveSelection((function(){this.moveCursorToPosition(t)}))},this.moveTo=function(t,n){this.clearSelection(),this.moveCursorTo(t,n)},this.moveToPosition=function(t){this.clearSelection(),this.moveCursorToPosition(t)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(t,n){if(void 0===n){var e=t||this.lead;t=e.row,n=e.column}return this.session.getWordRange(t,n)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var t=this.getCursor(),n=this.session.getAWordRange(t.row,t.column);this.setSelectionRange(n)},this.getLineRange=function(t,n){var e,r="number"==typeof t?t:this.lead.row,i=this.session.getFoldLine(r);return i?(r=i.start.row,e=i.end.row):e=r,!0===n?new s(r,0,e,this.session.getLine(e).length):new s(r,0,e+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.wouldMoveIntoSoftTab=function(t,n,e){var r=t.column,i=t.column+n;return e<0&&(r=t.column-n,i=t.column),this.session.isTabStop(t)&&this.doc.getLine(t.row).slice(r,i).split(" ").length-1==n},this.moveCursorLeft=function(){var t,n=this.lead.getPosition();if(t=this.session.getFoldAt(n.row,n.column,-1))this.moveCursorTo(t.start.row,t.start.column);else if(0===n.column)n.row>0&&this.moveCursorTo(n.row-1,this.doc.getLine(n.row-1).length);else{var e=this.session.getTabSize();this.wouldMoveIntoSoftTab(n,e,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-e):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var t,n=this.lead.getPosition();if(t=this.session.getFoldAt(n.row,n.column,1))this.moveCursorTo(t.end.row,t.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(n.column=r)}}this.moveCursorTo(n.row,n.column)},this.moveCursorFileEnd=function(){var t=this.doc.getLength()-1,n=this.doc.getLine(t).length;this.moveCursorTo(t,n)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var t=this.lead.row,n=this.lead.column,e=this.doc.getLine(t),r=e.substring(n);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var i=this.session.getFoldAt(t,n,1);if(i)this.moveCursorTo(i.end.row,i.end.column);else{if(this.session.nonTokenRe.exec(r)&&(n+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,r=e.substring(n)),n>=e.length)return this.moveCursorTo(t,e.length),this.moveCursorRight(),void(t0&&this.moveCursorWordLeft());this.session.tokenRe.exec(o)&&(e-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(n,e)}},this.$shortWordEndIndex=function(t){var n,e=0,r=/\s/,i=this.session.tokenRe;if(i.lastIndex=0,this.session.tokenRe.exec(t))e=this.session.tokenRe.lastIndex;else{for(;(n=t[e])&&r.test(n);)e++;if(e<1)for(i.lastIndex=0;(n=t[e])&&!i.test(n);)if(i.lastIndex=0,e++,r.test(n)){if(e>2){e--;break}for(;(n=t[e])&&r.test(n);)e++;if(e>2)break}}return i.lastIndex=0,e},this.moveCursorShortWordRight=function(){var t=this.lead.row,n=this.lead.column,e=this.doc.getLine(t),r=e.substring(n),i=this.session.getFoldAt(t,n,1);if(i)return this.moveCursorTo(i.end.row,i.end.column);if(n==e.length){var o=this.doc.getLength();do{t++,r=this.doc.getLine(t)}while(t0&&/^\s*$/.test(r));e=r.length,/\s+$/.test(r)||(r="")}var o=i.stringReverse(r),s=this.$shortWordEndIndex(o);return this.moveCursorTo(n,e-s)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(t,n){var e,r=this.session.documentToScreenPosition(this.lead.row,this.lead.column);if(0===n&&(0!==t&&(this.session.$bidiHandler.isBidiRow(r.row,this.lead.row)?(e=this.session.$bidiHandler.getPosLeft(r.column),r.column=Math.round(e/this.session.$bidiHandler.charWidths[0])):e=r.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?r.column=this.$desiredColumn:this.$desiredColumn=r.column),0!=t&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var i=this.session.lineWidgets[this.lead.row];t<0?t-=i.rowsAbove||0:t>0&&(t+=i.rowCount-(i.rowsAbove||0))}var o=this.session.screenToDocumentPosition(r.row+t,r.column,e);0!==t&&0===n&&o.row===this.lead.row&&(o.column,this.lead.column),this.moveCursorTo(o.row,o.column+n,0===n)},this.moveCursorToPosition=function(t){this.moveCursorTo(t.row,t.column)},this.moveCursorTo=function(t,n,e){var r=this.session.getFoldAt(t,n,1);r&&(t=r.start.row,n=r.start.column),this.$keepDesiredColumnOnChange=!0;var i=this.session.getLine(t);/[\uDC00-\uDFFF]/.test(i.charAt(n))&&i.charAt(n-1)&&(this.lead.row==t&&this.lead.column==n+1?n-=1:n+=1),this.lead.setPosition(t,n),this.$keepDesiredColumnOnChange=!1,e||(this.$desiredColumn=null)},this.moveCursorToScreen=function(t,n,e){var r=this.session.screenToDocumentPosition(t,n);this.moveCursorTo(r.row,r.column,e)},this.detach=function(){this.lead.detach(),this.anchor.detach()},this.fromOrientedRange=function(t){this.setSelectionRange(t,t.cursor==t.start),this.$desiredColumn=t.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(t){var n=this.getRange();return t?(t.start.column=n.start.column,t.start.row=n.start.row,t.end.column=n.end.column,t.end.row=n.end.row):t=n,t.cursor=this.isBackwards()?t.start:t.end,t.desiredColumn=this.$desiredColumn,t},this.getRangeOfMovements=function(t){var n=this.getCursor();try{t(this);var e=this.getCursor();return s.fromPoints(n,e)}catch(t){return s.fromPoints(n,n)}finally{this.moveCursorToPosition(n)}},this.toJSON=function(){if(this.rangeCount)var t=this.ranges.map((function(t){var n=t.clone();return n.isBackwards=t.cursor==t.start,n}));else(t=this.getRange()).isBackwards=this.isBackwards();return t},this.fromJSON=function(t){if(null==t.start){if(this.rangeList&&t.length>1){this.toSingleRange(t[0]);for(var n=t.length;n--;){var e=s.fromPoints(t[n].start,t[n].end);t[n].isBackwards&&(e.cursor=e.start),this.addRange(e,!0)}return}t=t[0]}this.rangeList&&this.toSingleRange(t),this.setSelectionRange(t,t.isBackwards)},this.isEqual=function(t){if((t.length||this.rangeCount)&&t.length!=this.rangeCount)return!1;if(!t.length||!this.ranges)return this.getRange().isEqual(t);for(var n=this.ranges.length;n--;)if(!this.ranges[n].isEqual(t[n]))return!1;return!0}}).call(a.prototype),n.Selection=a})),ace.define("ace/tokenizer",["require","exports","module","ace/config"],(function(t,n,e){"use strict";var r=t("./config"),i=2e3,o=function(t){for(var n in this.states=t,this.regExps={},this.matchMappings={},this.states){for(var e=this.states[n],r=[],i=0,o=this.matchMappings[n]={defaultToken:"text"},s="g",a=[],u=0;u1?this.$applyToken:c.token),h>1&&(/\\\d/.test(c.regex)?l=c.regex.replace(/\\([0-9]+)/g,(function(t,n){return"\\"+(parseInt(n,10)+i+1)})):(h=1,l=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||a.push(c)),o[i]=u,i+=h,r.push(l),c.onMatch||(c.onMatch=null)}}r.length||(o[0]=0,r.push("$")),a.forEach((function(t){t.splitRegex=this.createSplitterRegexp(t.regex,s)}),this),this.regExps[n]=new RegExp("("+r.join(")|(")+")|($)",s)}};(function(){this.$setMaxTokenCount=function(t){i=0|t},this.$applyToken=function(t){var n=this.splitRegex.exec(t).slice(1),e=this.token.apply(this,n);if("string"==typeof e)return[{type:e,value:t}];for(var r=[],i=0,o=e.length;il){var g=t.substring(l,v-p.length);f.type==d?f.value+=g:(f.type&&c.push(f),f={type:d,value:g})}for(var m=0;mi){for(h>2*t.length&&this.reportError("infinite loop with in ace tokenizer",{startState:n,line:t});l1&&e[0]!==r&&e.unshift("#tmp",r),{tokens:c,state:e.length?e:r}},this.reportError=r.reportError}).call(o.prototype),n.Tokenizer=o})),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],(function(t,n,e){"use strict";var r=t("../lib/lang"),i=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(t,n){if(n)for(var e in t){for(var r=t[e],i=0;i=this.$rowTokens.length;){if(this.$row+=1,t||(t=this.$session.getLength()),this.$row>=t)return this.$row=t-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var t=this.$rowTokens,n=this.$tokenIndex,e=t[n].start;if(void 0!==e)return e;for(e=0;n>0;)e+=t[n-=1].value.length;return e},this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},this.getCurrentTokenRange=function(){var t=this.$rowTokens[this.$tokenIndex],n=this.getCurrentTokenColumn();return new r(this.$row,n,this.$row,n+t.value.length)}}).call(i.prototype),n.TokenIterator=i})),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],(function(t,n,e){"use strict";var r,i=t("../../lib/oop"),o=t("../behaviour").Behaviour,s=t("../../token_iterator").TokenIterator,a=t("../../lib/lang"),u=["text","paren.rparen","rparen","paren","punctuation.operator"],c=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],l={},h={'"':'"',"'":"'"},f=function(t){var n=-1;if(t.multiSelect&&(n=t.selection.index,l.rangeCount!=t.multiSelect.rangeCount&&(l={rangeCount:t.multiSelect.rangeCount})),l[n])return r=l[n];r=l[n]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},d=function(t,n,e,r){var i=t.end.row-t.start.row;return{text:e+n+r,selection:[0,t.start.column+1,i,t.end.column+(i?0:1)]}},_=function(t){this.add("braces","insertion",(function(n,e,i,o,s){var u=i.getCursorPosition(),c=o.doc.getLine(u.row);if("{"==s){f(i);var l=i.getSelectionRange(),h=o.doc.getTextRange(l);if(""!==h&&"{"!==h&&i.getWrapBehavioursEnabled())return d(l,h,"{","}");if(_.isSaneInsertion(i,o))return/[\]\}\)]/.test(c[u.column])||i.inMultiSelectMode||t&&t.braces?(_.recordAutoInsert(i,o,"}"),{text:"{}",selection:[1,1]}):(_.recordMaybeInsert(i,o,"{"),{text:"{",selection:[1,1]})}else if("}"==s){if(f(i),"}"==c.substring(u.column,u.column+1)&&null!==o.$findOpeningBracket("}",{column:u.column+1,row:u.row})&&_.isAutoInsertedClosing(u,c,s))return _.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==s||"\r\n"==s){f(i);var p="";if(_.isMaybeInsertedClosing(u,c)&&(p=a.stringRepeat("}",r.maybeInsertedBrackets),_.clearMaybeInsertedClosing()),"}"===c.substring(u.column,u.column+1)){var v=o.findMatchingBracket({row:u.row,column:u.column+1},"}");if(!v)return null;var g=this.$getIndent(o.getLine(v.row))}else{if(!p)return void _.clearMaybeInsertedClosing();g=this.$getIndent(c)}var m=g+o.getTabString();return{text:"\n"+m+"\n"+g+p,selection:[1,m.length,1,m.length]}}_.clearMaybeInsertedClosing()}})),this.add("braces","deletion",(function(t,n,e,i,o){var s=i.doc.getTextRange(o);if(!o.isMultiLine()&&"{"==s){if(f(e),"}"==i.doc.getLine(o.start.row).substring(o.end.column,o.end.column+1))return o.end.column++,o;r.maybeInsertedBrackets--}})),this.add("parens","insertion",(function(t,n,e,r,i){if("("==i){f(e);var o=e.getSelectionRange(),s=r.doc.getTextRange(o);if(""!==s&&e.getWrapBehavioursEnabled())return d(o,s,"(",")");if(_.isSaneInsertion(e,r))return _.recordAutoInsert(e,r,")"),{text:"()",selection:[1,1]}}else if(")"==i){f(e);var a=e.getCursorPosition(),u=r.doc.getLine(a.row);if(")"==u.substring(a.column,a.column+1)&&null!==r.$findOpeningBracket(")",{column:a.column+1,row:a.row})&&_.isAutoInsertedClosing(a,u,i))return _.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("parens","deletion",(function(t,n,e,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&"("==o&&(f(e),")"==r.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)))return i.end.column++,i})),this.add("brackets","insertion",(function(t,n,e,r,i){if("["==i){f(e);var o=e.getSelectionRange(),s=r.doc.getTextRange(o);if(""!==s&&e.getWrapBehavioursEnabled())return d(o,s,"[","]");if(_.isSaneInsertion(e,r))return _.recordAutoInsert(e,r,"]"),{text:"[]",selection:[1,1]}}else if("]"==i){f(e);var a=e.getCursorPosition(),u=r.doc.getLine(a.row);if("]"==u.substring(a.column,a.column+1)&&null!==r.$findOpeningBracket("]",{column:a.column+1,row:a.row})&&_.isAutoInsertedClosing(a,u,i))return _.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("brackets","deletion",(function(t,n,e,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&"["==o&&(f(e),"]"==r.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)))return i.end.column++,i})),this.add("string_dquotes","insertion",(function(t,n,e,r,i){var o=r.$mode.$quotes||h;if(1==i.length&&o[i]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(i))return;f(e);var s=i,a=e.getSelectionRange(),u=r.doc.getTextRange(a);if(!(""===u||1==u.length&&o[u])&&e.getWrapBehavioursEnabled())return d(a,u,s,s);if(!u){var c=e.getCursorPosition(),l=r.doc.getLine(c.row),_=l.substring(c.column-1,c.column),p=l.substring(c.column,c.column+1),v=r.getTokenAt(c.row,c.column),g=r.getTokenAt(c.row,c.column+1);if("\\"==_&&v&&/escape/.test(v.type))return null;var m,y=v&&/string|escape/.test(v.type),w=!g||/string|escape/.test(g.type);if(p==s)(m=y!==w)&&/string\.end/.test(g.type)&&(m=!1);else{if(y&&!w)return null;if(y&&w)return null;var b=r.$mode.tokenRe;b.lastIndex=0;var x=b.test(_);b.lastIndex=0;var k=b.test(_);if(x||k)return null;if(p&&!/[\s;,.})\]\\]/.test(p))return null;var S=l[c.column-2];if(_==s&&(S==s||b.test(S)))return null;m=!0}return{text:m?s+s:"",selection:[1,1]}}}})),this.add("string_dquotes","deletion",(function(t,n,e,r,i){var o=r.$mode.$quotes||h,s=r.doc.getTextRange(i);if(!i.isMultiLine()&&o.hasOwnProperty(s)&&(f(e),r.doc.getLine(i.start.row).substring(i.start.column+1,i.start.column+2)==s))return i.end.column++,i}))};_.isSaneInsertion=function(t,n){var e=t.getCursorPosition(),r=new s(n,e.row,e.column);if(!this.$matchTokenType(r.getCurrentToken()||"text",u)){if(/[)}\]]/.test(t.session.getLine(e.row)[e.column]))return!0;var i=new s(n,e.row,e.column+1);if(!this.$matchTokenType(i.getCurrentToken()||"text",u))return!1}return r.stepForward(),r.getCurrentTokenRow()!==e.row||this.$matchTokenType(r.getCurrentToken()||"text",c)},_.$matchTokenType=function(t,n){return n.indexOf(t.type||t)>-1},_.recordAutoInsert=function(t,n,e){var i=t.getCursorPosition(),o=n.doc.getLine(i.row);this.isAutoInsertedClosing(i,o,r.autoInsertedLineEnd[0])||(r.autoInsertedBrackets=0),r.autoInsertedRow=i.row,r.autoInsertedLineEnd=e+o.substr(i.column),r.autoInsertedBrackets++},_.recordMaybeInsert=function(t,n,e){var i=t.getCursorPosition(),o=n.doc.getLine(i.row);this.isMaybeInsertedClosing(i,o)||(r.maybeInsertedBrackets=0),r.maybeInsertedRow=i.row,r.maybeInsertedLineStart=o.substr(0,i.column)+e,r.maybeInsertedLineEnd=o.substr(i.column),r.maybeInsertedBrackets++},_.isAutoInsertedClosing=function(t,n,e){return r.autoInsertedBrackets>0&&t.row===r.autoInsertedRow&&e===r.autoInsertedLineEnd[0]&&n.substr(t.column)===r.autoInsertedLineEnd},_.isMaybeInsertedClosing=function(t,n){return r.maybeInsertedBrackets>0&&t.row===r.maybeInsertedRow&&n.substr(t.column)===r.maybeInsertedLineEnd&&n.substr(0,t.column)==r.maybeInsertedLineStart},_.popAutoInsertedClosing=function(){r.autoInsertedLineEnd=r.autoInsertedLineEnd.substr(1),r.autoInsertedBrackets--},_.clearMaybeInsertedClosing=function(){r&&(r.maybeInsertedBrackets=0,r.maybeInsertedRow=-1)},i.inherits(_,o),n.CstyleBehaviour=_})),ace.define("ace/unicode",["require","exports","module"],(function(t,n,e){"use strict";for(var r=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],i=0,o=[],s=0;s2?r%c!=c-1:r%c==0})}else{if(!this.blockComment)return!1;var d=this.blockComment.start,_=this.blockComment.end,p=new RegExp("^(\\s*)(?:"+u.escapeRegExp(d)+")"),v=new RegExp("(?:"+u.escapeRegExp(_)+")\\s*$"),g=function(t,n){y(t,n)||o&&!/\S/.test(t)||(i.insertInLine({row:n,column:t.length},_),i.insertInLine({row:n,column:a},d))},m=function(t,n){var e;(e=t.match(v))&&i.removeInLine(n,t.length-e[0].length,t.length),(e=t.match(p))&&i.removeInLine(n,e[1].length,e[0].length)},y=function(t,e){if(p.test(t))return!0;for(var r=n.getTokens(e),i=0;it.length&&(b=t.length)})),a==1/0&&(a=b,o=!1,s=!1),l&&a%c!=0&&(a=Math.floor(a/c)*c),w(s?m:g)},this.toggleBlockComment=function(t,n,e,r){var i=this.blockComment;if(i){!i.start&&i[0]&&(i=i[0]);var o,s,a=(p=new c(n,r.row,r.column)).getCurrentToken(),u=(n.selection,n.selection.toOrientedRange());if(a&&/comment/.test(a.type)){for(var h,f;a&&/comment/.test(a.type);){if(-1!=(v=a.value.indexOf(i.start))){var d=p.getCurrentTokenRow(),_=p.getCurrentTokenColumn()+v;h=new l(d,_,d,_+i.start.length);break}a=p.stepBackward()}var p;for(a=(p=new c(n,r.row,r.column)).getCurrentToken();a&&/comment/.test(a.type);){var v;if(-1!=(v=a.value.indexOf(i.end))){d=p.getCurrentTokenRow(),_=p.getCurrentTokenColumn()+v,f=new l(d,_,d,_+i.end.length);break}a=p.stepForward()}f&&n.remove(f),h&&(n.remove(h),o=h.start.row,s=-i.start.length)}else s=i.start.length,o=e.start.row,n.insert(e.end,i.end),n.insert(e.start,i.start);u.start.row==o&&(u.start.column+=s),u.end.row==o&&(u.end.column+=s),n.selection.fromOrientedRange(u)}},this.getNextLineIndent=function(t,n,e){return this.$getIndent(n)},this.checkOutdent=function(t,n,e){return!1},this.autoOutdent=function(t,n,e){},this.$getIndent=function(t){return t.match(/^\s*/)[0]},this.createWorker=function(t){return null},this.createModeDelegates=function(t){for(var n in this.$embeds=[],this.$modes={},t)if(t[n]){var e=t[n],i=e.prototype.$id,o=r.$modes[i];o||(r.$modes[i]=o=new e),r.$modes[n]||(r.$modes[n]=o),this.$embeds.push(n),this.$modes[n]=o}var s=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"];for(n=0;nthis.row)){var e=function(n,e,r){var i="insert"==n.action,o=(i?1:-1)*(n.end.row-n.start.row),s=(i?1:-1)*(n.end.column-n.start.column),a=n.start,u=i?a:n.end;return t(e,a,r)?{row:e.row,column:e.column}:t(u,e,!r)?{row:e.row+o,column:e.column+(e.row==u.row?s:0)}:{row:a.row,column:a.column}}(n,{row:this.row,column:this.column},this.$insertRight);this.setPosition(e.row,e.column,!0)}},this.setPosition=function(t,n,e){var r;if(r=e?{row:t,column:n}:this.$clipPositionToDocument(t,n),this.row!=r.row||this.column!=r.column){var i={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal("change",{old:i,value:r})}},this.detach=function(){this.document.off("change",this.$onChange)},this.attach=function(t){this.document=t||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(t,n){var e={};return t>=this.document.getLength()?(e.row=Math.max(0,this.document.getLength()-1),e.column=this.document.getLine(e.row).length):t<0?(e.row=0,e.column=0):(e.row=t,e.column=Math.min(this.document.getLine(e.row).length,Math.max(0,n))),n<0&&(e.column=0),e}}).call(o.prototype)})),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],(function(t,n,e){"use strict";var r=t("./lib/oop"),i=t("./apply_delta").applyDelta,o=t("./lib/event_emitter").EventEmitter,s=t("./range").Range,a=t("./anchor").Anchor,u=function(t){this.$lines=[""],0===t.length?this.$lines=[""]:Array.isArray(t)?this.insertMergedLines({row:0,column:0},t):this.insert({row:0,column:0},t)};(function(){r.implement(this,o),this.setValue=function(t){var n=this.getLength()-1;this.remove(new s(0,0,n,this.getLine(n).length)),this.insert({row:0,column:0},t||"")},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(t,n){return new a(this,t,n)},0==="aaa".split(/a/).length?this.$split=function(t){return t.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(t){return t.split(/\r\n|\r|\n/)},this.$detectNewLine=function(t){var n=t.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=n?n[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(t){this.$newLineMode!==t&&(this.$newLineMode=t,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(t){return"\r\n"==t||"\r"==t||"\n"==t},this.getLine=function(t){return this.$lines[t]||""},this.getLines=function(t,n){return this.$lines.slice(t,n+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(t){return this.getLinesForRange(t).join(this.getNewLineCharacter())},this.getLinesForRange=function(t){var n;if(t.start.row===t.end.row)n=[this.getLine(t.start.row).substring(t.start.column,t.end.column)];else{(n=this.getLines(t.start.row,t.end.row))[0]=(n[0]||"").substring(t.start.column);var e=n.length-1;t.end.row-t.start.row==e&&(n[e]=n[e].substring(0,t.end.column))}return n},this.insertLines=function(t,n){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(t,n)},this.removeLines=function(t,n){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(t,n)},this.insertNewLine=function(t){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(t,["",""])},this.insert=function(t,n){return this.getLength()<=1&&this.$detectNewLine(n),this.insertMergedLines(t,this.$split(n))},this.insertInLine=function(t,n){var e=this.clippedPos(t.row,t.column),r=this.pos(t.row,t.column+n.length);return this.applyDelta({start:e,end:r,action:"insert",lines:[n]},!0),this.clonePos(r)},this.clippedPos=function(t,n){var e=this.getLength();void 0===t?t=e:t<0?t=0:t>=e&&(t=e-1,n=void 0);var r=this.getLine(t);return null==n&&(n=r.length),{row:t,column:n=Math.min(Math.max(n,0),r.length)}},this.clonePos=function(t){return{row:t.row,column:t.column}},this.pos=function(t,n){return{row:t,column:n}},this.$clipPosition=function(t){var n=this.getLength();return t.row>=n?(t.row=Math.max(0,n-1),t.column=this.getLine(n-1).length):(t.row=Math.max(0,t.row),t.column=Math.min(Math.max(t.column,0),this.getLine(t.row).length)),t},this.insertFullLines=function(t,n){var e=0;(t=Math.min(Math.max(t,0),this.getLength()))0,r=n=0&&this.applyDelta({start:this.pos(t,this.getLine(t).length),end:this.pos(t+1,0),action:"remove",lines:["",""]})},this.replace=function(t,n){return t instanceof s||(t=s.fromPoints(t.start,t.end)),0===n.length&&t.isEmpty()?t.start:n==this.getTextRange(t)?t.end:(this.remove(t),n?this.insert(t.start,n):t.start)},this.applyDeltas=function(t){for(var n=0;n=0;n--)this.revertDelta(t[n])},this.applyDelta=function(t,n){var e="insert"==t.action;(e?t.lines.length<=1&&!t.lines[0]:!s.comparePoints(t.start,t.end))||(e&&t.lines.length>2e4?this.$splitAndapplyLargeDelta(t,2e4):(i(this.$lines,t,n),this._signal("change",t)))},this.$safeApplyDelta=function(t){var n=this.$lines.length;("remove"==t.action&&t.start.row20){e.running=setTimeout(e.$worker,20);break}}e.currentLine=n,-1==r&&(r=n),o<=r&&e.fireUpdateEvent(o,r)}}};(function(){r.implement(this,i),this.setTokenizer=function(t){this.tokenizer=t,this.lines=[],this.states=[],this.start(0)},this.setDocument=function(t){this.doc=t,this.lines=[],this.states=[],this.stop()},this.fireUpdateEvent=function(t,n){var e={first:t,last:n};this._signal("update",{data:e})},this.start=function(t){this.currentLine=Math.min(t||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},this.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},this.$updateOnChange=function(t){var n=t.start.row,e=t.end.row-n;if(0===e)this.lines[n]=null;else if("remove"==t.action)this.lines.splice(n,e+1,null),this.states.splice(n,e+1,null);else{var r=Array(e+1);r.unshift(n,1),this.lines.splice.apply(this.lines,r),this.states.splice.apply(this.states,r)}this.currentLine=Math.min(n,this.currentLine,this.doc.getLength()),this.stop()},this.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},this.getTokens=function(t){return this.lines[t]||this.$tokenizeRow(t)},this.getState=function(t){return this.currentLine==t&&this.$tokenizeRow(t),this.states[t]||"start"},this.$tokenizeRow=function(t){var n=this.doc.getLine(t),e=this.states[t-1],r=this.tokenizer.getLineTokens(n,e,t);return this.states[t]+""!=r.state+""?(this.states[t]=r.state,this.lines[t+1]=null,this.currentLine>t+1&&(this.currentLine=t+1)):this.currentLine==t&&(this.currentLine=t+1),this.lines[t]=r.tokens},this.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()}}).call(o.prototype),n.BackgroundTokenizer=o})),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(t,n,e){"use strict";var r=t("./lib/lang"),i=(t("./lib/oop"),t("./range").Range),o=function(t,n,e){this.setRegexp(t),this.clazz=n,this.type=e||"text"};(function(){this.MAX_RANGES=500,this.setRegexp=function(t){this.regExp+""!=t+""&&(this.regExp=t,this.cache=[])},this.update=function(t,n,e,o){if(this.regExp)for(var s=o.firstRow,a=o.lastRow,u={},c=s;c<=a;c++){var l=this.cache[c];null==l&&((l=r.getMatchOffsets(e.getLine(c),this.regExp)).length>this.MAX_RANGES&&(l=l.slice(0,this.MAX_RANGES)),l=l.map((function(t){return new i(c,t.offset,c,t.offset+t.length)})),this.cache[c]=l.length?l:"");for(var h=l.length;h--;){var f=l[h].toScreenRange(e),d=f.toString();u[d]||(u[d]=!0,n.drawSingleLineMarker(t,f,this.clazz,o))}}}}).call(o.prototype),n.SearchHighlight=o})),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],(function(t,n,e){"use strict";var r=t("../range").Range;function i(t,n){this.foldData=t,Array.isArray(n)?this.folds=n:n=this.folds=[n];var e=n[n.length-1];this.range=new r(n[0].start.row,n[0].start.column,e.end.row,e.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach((function(t){t.setFoldLine(this)}),this)}(function(){this.shiftRow=function(t){this.start.row+=t,this.end.row+=t,this.folds.forEach((function(n){n.start.row+=t,n.end.row+=t}))},this.addFold=function(t){if(t.sameRow){if(t.start.rowthis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(t),this.folds.sort((function(t,n){return-t.range.compareEnd(n.start.row,n.start.column)})),this.range.compareEnd(t.start.row,t.start.column)>0?(this.end.row=t.end.row,this.end.column=t.end.column):this.range.compareStart(t.end.row,t.end.column)<0&&(this.start.row=t.start.row,this.start.column=t.start.column)}else if(t.start.row==this.end.row)this.folds.push(t),this.end.row=t.end.row,this.end.column=t.end.column;else{if(t.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(t),this.start.row=t.start.row,this.start.column=t.start.column}t.foldLine=this},this.containsRow=function(t){return t>=this.start.row&&t<=this.end.row},this.walk=function(t,n,e){var r,i,o=0,s=this.folds,a=!0;null==n&&(n=this.end.row,e=this.end.column);for(var u=0;u0)){var u=r(t,s.start);return 0===a?n&&0!==u?-o-2:o:u>0||0===u&&!n?o:-o-1}}return-o-1},this.add=function(t){var n=!t.isEmpty(),e=this.pointIndex(t.start,n);e<0&&(e=-e-1);var r=this.pointIndex(t.end,n,e);return r<0?r=-r-1:r++,this.ranges.splice(e,r-e,t)},this.addList=function(t){for(var n=[],e=t.length;e--;)n.push.apply(n,this.add(t[e]));return n},this.substractPoint=function(t){var n=this.pointIndex(t);if(n>=0)return this.ranges.splice(n,1)},this.merge=function(){for(var t,n=[],e=this.ranges,i=(e=e.sort((function(t,n){return r(t.start,n.start)})))[0],o=1;o=0},this.containsPoint=function(t){return this.pointIndex(t)>=0},this.rangeAtPoint=function(t){var n=this.pointIndex(t);if(n>=0)return this.ranges[n]},this.clipRows=function(t,n){var e=this.ranges;if(e[0].start.row>n||e[e.length-1].start.row=r);s++);if("insert"==t.action){for(var u=i-r,c=-n.column+e.column;sr);s++)if(l.start.row==r&&l.start.column>=n.column&&(l.start.column==n.column&&this.$bias<=0||(l.start.column+=c,l.start.row+=u)),l.end.row==r&&l.end.column>=n.column){if(l.end.column==n.column&&this.$bias<0)continue;l.end.column==n.column&&c>0&&sl.start.column&&l.end.column==o[s+1].start.column&&(l.end.column-=c),l.end.column+=c,l.end.row+=u}}else for(u=r-i,c=n.column-e.column;si);s++)l.end.rown.column)&&(l.end.column=n.column,l.end.row=n.row):(l.end.column+=c,l.end.row+=u):l.end.row>i&&(l.end.row+=u),l.start.rown.column)&&(l.start.column=n.column,l.start.row=n.row):(l.start.column+=c,l.start.row+=u):l.start.row>i&&(l.start.row+=u);if(0!=u&&s=t)return i;if(i.end.row>t)return null}return null},this.getNextFoldLine=function(t,n){var e=this.$foldData,r=0;for(n&&(r=e.indexOf(n)),-1==r&&(r=0);r=t)return i}return null},this.getFoldedRowCount=function(t,n){for(var e=this.$foldData,r=n-t+1,i=0;i=n){a=t?r-=n-a:r=0);break}s>=t&&(r-=a>=t?s-a:s-t+1)}return r},this.$addFoldLine=function(t){return this.$foldData.push(t),this.$foldData.sort((function(t,n){return t.start.row-n.start.row})),t},this.addFold=function(t,n){var e,r=this.$foldData,s=!1;t instanceof o?e=t:(e=new o(n,t)).collapseChildren=n.collapseChildren,this.$clipRangeToDocument(e.range);var a=e.start.row,u=e.start.column,c=e.end.row,l=e.end.column,h=this.getFoldAt(a,u,1),f=this.getFoldAt(c,l,-1);if(h&&f==h)return h.addSubFold(e);h&&!h.range.isStart(a,u)&&this.removeFold(h),f&&!f.range.isEnd(c,l)&&this.removeFold(f);var d=this.getFoldsInRange(e.range);d.length>0&&(this.removeFolds(d),e.collapseChildren||d.forEach((function(t){e.addSubFold(t)})));for(var _=0;_0&&this.foldAll(t.start.row+1,t.end.row,t.collapseChildren-1),t.subFolds=[]},this.expandFolds=function(t){t.forEach((function(t){this.expandFold(t)}),this)},this.unfold=function(t,n){var e,i;if(null==t)e=new r(0,0,this.getLength(),0),null==n&&(n=!0);else if("number"==typeof t)e=new r(t,0,t,this.getLine(t).length);else if("row"in t)e=r.fromPoints(t,t);else{if(Array.isArray(t))return i=[],t.forEach((function(t){i=i.concat(this.unfold(t))}),this),i;e=t}for(var o=i=this.getFoldsInRangeList(e);1==i.length&&r.comparePoints(i[0].start,e.start)<0&&r.comparePoints(i[0].end,e.end)>0;)this.expandFolds(i),i=this.getFoldsInRangeList(e);if(0!=n?this.removeFolds(i):this.expandFolds(i),o.length)return o},this.isRowFolded=function(t,n){return!!this.getFoldLine(t,n)},this.getRowFoldEnd=function(t,n){var e=this.getFoldLine(t,n);return e?e.end.row:t},this.getRowFoldStart=function(t,n){var e=this.getFoldLine(t,n);return e?e.start.row:t},this.getFoldDisplayLine=function(t,n,e,r,i){null==r&&(r=t.start.row),null==i&&(i=0),null==n&&(n=t.end.row),null==e&&(e=this.getLine(n).length);var o=this.doc,s="";return t.walk((function(t,n,e,a){if(!(nl)break}while(o&&u.test(o.type)&&!/^comment.start/.test(o.type));o=i.stepBackward()}else o=i.getCurrentToken();return c.end.row=i.getCurrentTokenRow(),c.end.column=i.getCurrentTokenColumn(),/^comment.end/.test(o.type)||(c.end.column+=o.value.length-2),c}},this.foldAll=function(t,n,e,r){null==e&&(e=1e5);var i=this.foldWidgets;if(i){n=n||this.getLength();for(var o=t=t||0;o=t&&(o=s.end.row,s.collapseChildren=e,this.addFold("...",s))}}},this.foldToLevel=function(t){for(this.foldAll();t-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var t=this;this.foldAll(null,null,null,(function(n){for(var e=t.getTokens(n),r=0;r=0;){var o=e[i];if(null==o&&(o=e[i]=this.getFoldWidget(i)),"start"==o){var s=this.getFoldWidgetRange(i);if(r||(r=s),s&&s.end.row>=t)break}i--}return{range:-1!==i&&s,firstRange:r}},this.onFoldWidgetClick=function(t,n){var e={children:(n=n.domEvent).shiftKey,all:n.ctrlKey||n.metaKey,siblings:n.altKey};if(!this.$toggleFoldWidget(t,e)){var r=n.target||n.srcElement;r&&/ace_fold-widget/.test(r.className)&&(r.className+=" ace_invalid")}},this.$toggleFoldWidget=function(t,n){if(this.getFoldWidget){var e=this.getFoldWidget(t),r=this.getLine(t),i="end"===e?-1:1,o=this.getFoldAt(t,-1===i?0:r.length,i);if(o)return n.children||n.all?this.removeFold(o):this.expandFold(o),o;var s=this.getFoldWidgetRange(t,!0);if(s&&!s.isMultiLine()&&(o=this.getFoldAt(s.start.row,s.start.column,1))&&s.isEqual(o.range))return this.removeFold(o),o;if(n.siblings){var a=this.getParentFoldRangeData(t);if(a.range)var u=a.range.start.row+1,c=a.range.end.row;this.foldAll(u,c,n.all?1e4:0)}else n.children?(c=s?s.end.row:this.getLength(),this.foldAll(t+1,c,n.all?1e4:0)):s&&(n.all&&(s.collapseChildren=1e4),this.addFold("...",s));return s}},this.toggleFoldWidget=function(t){var n=this.selection.getCursor().row;n=this.getRowFoldStart(n);var e=this.$toggleFoldWidget(n,{});if(!e){var r=this.getParentFoldRangeData(n,!0);if(e=r.range||r.firstRange){n=e.start.row;var i=this.getFoldAt(n,this.getLine(n).length,1);i?this.removeFold(i):this.addFold("...",e)}}},this.updateFoldWidgets=function(t){var n=t.start.row,e=t.end.row-n;if(0===e)this.foldWidgets[n]=null;else if("remove"==t.action)this.foldWidgets.splice(n,e+1,null);else{var r=Array(e+1);r.unshift(n,1),this.foldWidgets.splice.apply(this.foldWidgets,r)}},this.tokenizerUpdateFoldWidgets=function(t){var n=t.data;n.first!=n.last&&this.foldWidgets.length>n.first&&this.foldWidgets.splice(n.first,this.foldWidgets.length)}}})),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],(function(t,n,e){"use strict";var r=t("../token_iterator").TokenIterator,i=t("../range").Range;n.BracketMatch=function(){this.findMatchingBracket=function(t,n){if(0==t.column)return null;var e=n||this.getLine(t.row).charAt(t.column-1);if(""==e)return null;var r=e.match(/([\(\[\{])|([\)\]\}])/);return r?r[1]?this.$findClosingBracket(r[1],t):this.$findOpeningBracket(r[2],t):null},this.getBracketRange=function(t){var n,e=this.getLine(t.row),r=!0,o=e.charAt(t.column-1),s=o&&o.match(/([\(\[\{])|([\)\]\}])/);if(s||(o=e.charAt(t.column),t={row:t.row,column:t.column+1},s=o&&o.match(/([\(\[\{])|([\)\]\}])/),r=!1),!s)return null;if(s[1]){if(!(a=this.$findClosingBracket(s[1],t)))return null;n=i.fromPoints(t,a),r||(n.end.column++,n.start.column--),n.cursor=n.end}else{var a;if(!(a=this.$findOpeningBracket(s[2],t)))return null;n=i.fromPoints(a,t),r||(n.start.column++,n.end.column--),n.cursor=n.start}return n},this.getMatchingBracketRanges=function(t,n){var e=this.getLine(t.row),r=/([\(\[\{])|([\)\]\}])/,o=!n&&e.charAt(t.column-1),s=o&&o.match(r);if(s||(o=(void 0===n||n)&&e.charAt(t.column),t={row:t.row,column:t.column+1},s=o&&o.match(r)),!s)return null;var a=new i(t.row,t.column-1,t.row,t.column),u=s[1]?this.$findClosingBracket(s[1],t):this.$findOpeningBracket(s[2],t);return u?[a,new i(u.row,u.column,u.row,u.column+1)]:[a]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(t,n,e){var i=this.$brackets[t],o=1,s=new r(this,n.row,n.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){e||(e=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)")+")+"));for(var u=n.column-s.getCurrentTokenColumn()-2,c=a.value;;){for(;u>=0;){var l=c.charAt(u);if(l==i){if(0==(o-=1))return{row:s.getCurrentTokenRow(),column:u+s.getCurrentTokenColumn()}}else l==t&&(o+=1);u-=1}do{a=s.stepBackward()}while(a&&!e.test(a.type));if(null==a)break;u=(c=a.value).length-1}return null}},this.$findClosingBracket=function(t,n,e){var i=this.$brackets[t],o=1,s=new r(this,n.row,n.column),a=s.getCurrentToken();if(a||(a=s.stepForward()),a){e||(e=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)")+")+"));for(var u=n.column-s.getCurrentTokenColumn();;){for(var c=a.value,l=c.length;u"===n.value?r=!0:-1!==n.type.indexOf("tag-name")&&(e=!0))}while(n&&!e);return n},this.$findClosingTag=function(t,n){var e,r=n.value,o=n.value,s=0,a=new i(t.getCurrentTokenRow(),t.getCurrentTokenColumn(),t.getCurrentTokenRow(),t.getCurrentTokenColumn()+1);n=t.stepForward();var u=new i(t.getCurrentTokenRow(),t.getCurrentTokenColumn(),t.getCurrentTokenRow(),t.getCurrentTokenColumn()+n.value.length),c=!1;do{if(e=n,n=t.stepForward()){if(">"===n.value&&!c){var l=new i(t.getCurrentTokenRow(),t.getCurrentTokenColumn(),t.getCurrentTokenRow(),t.getCurrentTokenColumn()+1);c=!0}if(-1!==n.type.indexOf("tag-name")){if(o===(r=n.value))if("<"===e.value)s++;else if(""!==n.value)return;var d=new i(t.getCurrentTokenRow(),t.getCurrentTokenColumn(),t.getCurrentTokenRow(),t.getCurrentTokenColumn()+1)}}else o===r&&"/>"===n.value&&--s<0&&(d=f=h=new i(t.getCurrentTokenRow(),t.getCurrentTokenColumn(),t.getCurrentTokenRow(),t.getCurrentTokenColumn()+2),l=new i(u.end.row,u.end.column,u.end.row,u.end.column+1))}}while(n&&s>=0);if(a&&l&&h&&d&&u&&f)return{openTag:new i(a.start.row,a.start.column,l.end.row,l.end.column),closeTag:new i(h.start.row,h.start.column,d.end.row,d.end.column),openTagName:u,closeTagName:f}},this.$findOpeningTag=function(t,n){var e=t.getCurrentToken(),r=n.value,o=0,s=t.getCurrentTokenRow(),a=t.getCurrentTokenColumn(),u=a+2,c=new i(s,a,s,u);t.stepForward();var l=new i(t.getCurrentTokenRow(),t.getCurrentTokenColumn(),t.getCurrentTokenRow(),t.getCurrentTokenColumn()+n.value.length);if((n=t.stepForward())&&">"===n.value){var h=new i(t.getCurrentTokenRow(),t.getCurrentTokenColumn(),t.getCurrentTokenRow(),t.getCurrentTokenColumn()+1);t.stepBackward(),t.stepBackward();do{if(n=e,s=t.getCurrentTokenRow(),u=(a=t.getCurrentTokenColumn())+n.value.length,e=t.stepBackward(),n)if(-1!==n.type.indexOf("tag-name")){if(r===n.value)if("<"===e.value){if(++o>0){var f=new i(s,a,s,u),d=new i(t.getCurrentTokenRow(),t.getCurrentTokenColumn(),t.getCurrentTokenRow(),t.getCurrentTokenColumn()+1);do{n=t.stepForward()}while(n&&">"!==n.value);var _=new i(t.getCurrentTokenRow(),t.getCurrentTokenColumn(),t.getCurrentTokenRow(),t.getCurrentTokenColumn()+1)}}else""===n.value){for(var p=0,v=e;v;){if(-1!==v.type.indexOf("tag-name")&&v.value===r){o--;break}if("<"===v.value)break;v=t.stepBackward(),p++}for(var g=0;ge&&(this.$docRowCache.splice(e,n),this.$screenRowCache.splice(e,n))},this.$getRowCacheIndex=function(t,n){for(var e=0,r=t.length-1;e<=r;){var i=e+r>>1,o=t[i];if(n>o)e=i+1;else{if(!(n=n);o++);return(e=r[o])?(e.index=o,e.start=i-e.value.length,e):null},this.setUndoManager=function(t){if(this.$undoManager=t,this.$informUndoManager&&this.$informUndoManager.cancel(),t){var n=this;t.addSession(this),this.$syncInformUndoManager=function(){n.$informUndoManager.cancel(),n.mergeUndoDeltas=!1},this.$informUndoManager=i.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},this.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},this.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},this.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},this.getTabString=function(){return this.getUseSoftTabs()?i.stringRepeat(" ",this.getTabSize()):"\t"},this.setUseSoftTabs=function(t){this.setOption("useSoftTabs",t)},this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},this.setTabSize=function(t){this.setOption("tabSize",t)},this.getTabSize=function(){return this.$tabSize},this.isTabStop=function(t){return this.$useSoftTabs&&t.column%this.$tabSize==0},this.setNavigateWithinSoftTabs=function(t){this.setOption("navigateWithinSoftTabs",t)},this.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},this.$overwrite=!1,this.setOverwrite=function(t){this.setOption("overwrite",t)},this.getOverwrite=function(){return this.$overwrite},this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},this.addGutterDecoration=function(t,n){this.$decorations[t]||(this.$decorations[t]=""),this.$decorations[t]+=" "+n,this._signal("changeBreakpoint",{})},this.removeGutterDecoration=function(t,n){this.$decorations[t]=(this.$decorations[t]||"").replace(" "+n,""),this._signal("changeBreakpoint",{})},this.getBreakpoints=function(){return this.$breakpoints},this.setBreakpoints=function(t){this.$breakpoints=[];for(var n=0;n0&&(r=!!e.charAt(n-1).match(this.tokenRe)),r||(r=!!e.charAt(n).match(this.tokenRe)),r)var i=this.tokenRe;else i=/^\s+$/.test(e.slice(n-1,n+1))?/\s/:this.nonTokenRe;var o=n;if(o>0){do{o--}while(o>=0&&e.charAt(o).match(i));o++}for(var s=n;st&&(t=n.screenWidth)})),this.lineWidgetWidth=t},this.$computeWidth=function(t){if(this.$modified||t){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var n=this.doc.getAllLines(),e=this.$rowLengthCache,r=0,i=0,o=this.$foldData[i],s=o?o.start.row:1/0,a=n.length,u=0;us){if((u=o.end.row+1)>=a)break;s=(o=this.$foldData[i++])?o.start.row:1/0}null==e[u]&&(e[u]=this.$getStringScreenWidth(n[u])[0]),e[u]>r&&(r=e[u])}this.screenWidth=r}},this.getLine=function(t){return this.doc.getLine(t)},this.getLines=function(t,n){return this.doc.getLines(t,n)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(t){return this.doc.getTextRange(t||this.selection.getRange())},this.insert=function(t,n){return this.doc.insert(t,n)},this.remove=function(t){return this.doc.remove(t)},this.removeFullLines=function(t,n){return this.doc.removeFullLines(t,n)},this.undoChanges=function(t,n){if(t.length){this.$fromUndo=!0;for(var e=t.length-1;-1!=e;e--){var r=t[e];"insert"==r.action||"remove"==r.action?this.doc.revertDelta(r):r.folds&&this.addFolds(r.folds)}!n&&this.$undoSelect&&(t.selectionBefore?this.selection.fromJSON(t.selectionBefore):this.selection.setRange(this.$getUndoSelection(t,!0))),this.$fromUndo=!1}},this.redoChanges=function(t,n){if(t.length){this.$fromUndo=!0;for(var e=0;et.end.column&&(o.start.column+=c),o.end.row==t.end.row&&o.end.column>t.end.column&&(o.end.column+=c)),s&&o.start.row>=t.end.row&&(o.start.row+=s,o.end.row+=s)}if(o.end=this.insert(o.start,r),i.length){var a=t.start,u=o.start,c=(s=u.row-a.row,u.column-a.column);this.addFolds(i.map((function(t){return(t=t.clone()).start.row==a.row&&(t.start.column+=c),t.end.row==a.row&&(t.end.column+=c),t.start.row+=s,t.end.row+=s,t})))}return o},this.indentRows=function(t,n,e){e=e.replace(/\t/g,this.getTabString());for(var r=t;r<=n;r++)this.doc.insertInLine({row:r,column:0},e)},this.outdentRows=function(t){for(var n=t.collapseRows(),e=new l(0,0,0,0),r=this.getTabSize(),i=n.start.row;i<=n.end.row;++i){var o=this.getLine(i);e.start.row=i,e.end.row=i;for(var s=0;s0){var i;if((i=this.getRowFoldEnd(n+e))>this.doc.getLength()-1)return 0;r=i-n}else t=this.$clipRowToDocument(t),r=(n=this.$clipRowToDocument(n))-t+1;var o=new l(t,0,n,Number.MAX_VALUE),s=this.getFoldsInRange(o).map((function(t){return(t=t.clone()).start.row+=r,t.end.row+=r,t})),a=0==e?this.doc.getLines(t,n):this.doc.removeFullLines(t,n);return this.doc.insertFullLines(t+r,a),s.length&&this.addFolds(s),r},this.moveLinesUp=function(t,n){return this.$moveLines(t,n,-1)},this.moveLinesDown=function(t,n){return this.$moveLines(t,n,1)},this.duplicateLines=function(t,n){return this.$moveLines(t,n,0)},this.$clipRowToDocument=function(t){return Math.max(0,Math.min(t,this.doc.getLength()-1))},this.$clipColumnToRow=function(t,n){return n<0?0:Math.min(this.doc.getLine(t).length,n)},this.$clipPositionToDocument=function(t,n){if(n=Math.max(0,n),t<0)t=0,n=0;else{var e=this.doc.getLength();t>=e?(t=e-1,n=this.doc.getLine(e-1).length):n=Math.min(this.doc.getLine(t).length,n)}return{row:t,column:n}},this.$clipRangeToDocument=function(t){t.start.row<0?(t.start.row=0,t.start.column=0):t.start.column=this.$clipColumnToRow(t.start.row,t.start.column);var n=this.doc.getLength()-1;return t.end.row>n?(t.end.row=n,t.end.column=this.doc.getLine(n).length):t.end.column=this.$clipColumnToRow(t.end.row,t.end.column),t},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(t){if(t!=this.$useWrapMode){if(this.$useWrapMode=t,this.$modified=!0,this.$resetRowCache(0),t){var n=this.getLength();this.$wrapData=Array(n),this.$updateWrapData(0,n-1)}this._signal("changeWrapMode")}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(t,n){this.$wrapLimitRange.min===t&&this.$wrapLimitRange.max===n||(this.$wrapLimitRange={min:t,max:n},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},this.adjustWrapLimit=function(t,n){var e=this.$wrapLimitRange;e.max<0&&(e={min:n,max:n});var r=this.$constrainWrapLimit(t,e.min,e.max);return r!=this.$wrapLimit&&r>1&&(this.$wrapLimit=r,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},this.$constrainWrapLimit=function(t,n,e){return n&&(t=Math.max(n,t)),e&&(t=Math.min(e,t)),t},this.getWrapLimit=function(){return this.$wrapLimit},this.setWrapLimit=function(t){this.setWrapLimitRange(t,t)},this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},this.$updateInternalDataOnChange=function(t){var n=this.$useWrapMode,e=t.action,r=t.start,i=t.end,o=r.row,s=i.row,a=s-o,u=null;if(this.$updating=!0,0!=a)if("remove"===e){this[n?"$wrapData":"$rowLengthCache"].splice(o,a);var c=this.$foldData;u=this.getFoldsInRange(t),this.removeFolds(u);var l=0;if(p=this.getFoldLine(i.row)){p.addRemoveChars(i.row,i.column,r.column-i.column),p.shiftRow(-a);var h=this.getFoldLine(o);h&&h!==p&&(h.merge(p),p=h),l=c.indexOf(p)+1}for(;l=i.row&&p.shiftRow(-a);s=o}else{var f=Array(a);f.unshift(o,0);var d=n?this.$wrapData:this.$rowLengthCache;if(d.splice.apply(d,f),c=this.$foldData,l=0,p=this.getFoldLine(o)){var _=p.range.compareInside(r.row,r.column);0==_?(p=p.split(r.row,r.column))&&(p.shiftRow(a),p.addRemoveChars(s,0,i.column-r.column)):-1==_&&(p.addRemoveChars(o,0,i.column-r.column),p.shiftRow(a)),l=c.indexOf(p)+1}for(;l=o&&p.shiftRow(a)}}else a=Math.abs(t.start.column-t.end.column),"remove"===e&&(u=this.getFoldsInRange(t),this.removeFolds(u),a=-a),(p=this.getFoldLine(o))&&p.addRemoveChars(o,r.column,a);return n&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,n?this.$updateWrapData(o,s):this.$updateRowLengthCache(o,s),u},this.$updateRowLengthCache=function(t,n,e){this.$rowLengthCache[t]=null,this.$rowLengthCache[n]=null},this.$updateWrapData=function(e,r){var i,o,s=this.doc.getAllLines(),a=this.getTabSize(),u=this.$wrapData,c=this.$wrapLimit,l=e;for(r=Math.min(r,s.length-1);l<=r;)(o=this.getFoldLine(l,o))?(i=[],o.walk(function(e,r,o,a){var u;if(null!=e){(u=this.$getDisplayTokens(e,i.length))[0]=t;for(var c=1;c=4352&&t<=4447||t>=4515&&t<=4519||t>=4602&&t<=4607||t>=9001&&t<=9002||t>=11904&&t<=11929||t>=11931&&t<=12019||t>=12032&&t<=12245||t>=12272&&t<=12283||t>=12288&&t<=12350||t>=12353&&t<=12438||t>=12441&&t<=12543||t>=12549&&t<=12589||t>=12593&&t<=12686||t>=12688&&t<=12730||t>=12736&&t<=12771||t>=12784&&t<=12830||t>=12832&&t<=12871||t>=12880&&t<=13054||t>=13056&&t<=19903||t>=19968&&t<=42124||t>=42128&&t<=42182||t>=43360&&t<=43388||t>=44032&&t<=55203||t>=55216&&t<=55238||t>=55243&&t<=55291||t>=63744&&t<=64255||t>=65040&&t<=65049||t>=65072&&t<=65106||t>=65108&&t<=65126||t>=65128&&t<=65131||t>=65281&&t<=65376||t>=65504&&t<=65510)}this.$computeWrapSplits=function(e,r,i){if(0==e.length)return[];var o=[],s=e.length,a=0,u=0,c=this.$wrapAsCode,l=this.$indentedSoftWrap,h=r<=Math.max(2*i,8)||!1===l?0:Math.floor(r/2);function f(t){for(var n=t-a,r=a;rr-d;){var _=a+r-d;if(e[_-1]>=10&&e[_]>=10)f(_);else if(e[_]!=t&&e[_]!=n){for(var p=Math.max(_-(r-(r>>2)),a-1);_>p&&e[_]p&&e[_]p&&9==e[_];)_--}else for(;_>p&&e[_]<10;)_--;_>p?f(++_):(2==e[_=a+r]&&_--,f(_-d))}else{for(;_!=a-1&&e[_]!=t;_--);if(_>a){f(_);continue}for(_=a+r;_39&&s<48||s>57&&s<64?i.push(9):s>=4352&&e(s)?i.push(1,2):i.push(1)}return i},this.$getStringScreenWidth=function(t,n,r){if(0==n)return[0,0];var i,o;for(null==n&&(n=1/0),r=r||0,o=0;o=4352&&e(i)?r+=2:r+=1,!(r>n));o++);return[r,o]},this.lineWidgets=null,this.getRowLength=function(t){var n=1;return this.lineWidgets&&(n+=this.lineWidgets[t]&&this.lineWidgets[t].rowCount||0),this.$useWrapMode&&this.$wrapData[t]?this.$wrapData[t].length+n:n},this.getRowLineCount=function(t){return this.$useWrapMode&&this.$wrapData[t]?this.$wrapData[t].length+1:1},this.getRowWrapIndent=function(t){if(this.$useWrapMode){var n=this.screenToDocumentPosition(t,Number.MAX_VALUE),e=this.$wrapData[n.row];return e.length&&e[0]=0){a=c[l],o=this.$docRowCache[l];var f=t>c[h-1]}else f=!h;for(var d=this.getLength()-1,_=this.getNextFoldLine(o),p=_?_.start.row:1/0;a<=t&&!(a+(u=this.getRowLength(o))>t||o>=d);)a+=u,++o>p&&(o=_.end.row+1,p=(_=this.getNextFoldLine(o,_))?_.start.row:1/0),f&&(this.$docRowCache.push(o),this.$screenRowCache.push(a));if(_&&_.start.row<=o)r=this.getFoldDisplayLine(_),o=_.start.row;else{if(a+u<=t||o>d)return{row:d,column:this.getLine(d).length};r=this.getLine(o),_=null}var v=0,g=Math.floor(t-a);if(this.$useWrapMode){var m=this.$wrapData[o];m&&(i=m[g],g>0&&m.length&&(v=m.indent,s=m[g-1]||m[m.length-1],r=r.substring(s)))}return void 0!==e&&this.$bidiHandler.isBidiRow(a+g,o,g)&&(n=this.$bidiHandler.offsetToCol(e)),s+=this.$getStringScreenWidth(r,n-v)[1],this.$useWrapMode&&s>=i&&(s=i-1),_?_.idxToPosition(s):{row:o,column:s}},this.documentToScreenPosition=function(t,n){if(void 0===n)var e=this.$clipPositionToDocument(t.row,t.column);else e=this.$clipPositionToDocument(t,n);t=e.row,n=e.column;var r,i=0,o=null;(r=this.getFoldAt(t,n,1))&&(t=r.start.row,n=r.start.column);var s,a=0,u=this.$docRowCache,c=this.$getRowCacheIndex(u,t),l=u.length;if(l&&c>=0){a=u[c],i=this.$screenRowCache[c];var h=t>u[l-1]}else h=!l;for(var f=this.getNextFoldLine(a),d=f?f.start.row:1/0;a=d){if((s=f.end.row+1)>t)break;d=(f=this.getNextFoldLine(s,f))?f.start.row:1/0}else s=a+1;i+=this.getRowLength(a),a=s,h&&(this.$docRowCache.push(a),this.$screenRowCache.push(i))}var _="";f&&a>=d?(_=this.getFoldDisplayLine(f,t,n),o=f.start.row):(_=this.getLine(t).substring(0,n),o=t);var p=0;if(this.$useWrapMode){var v=this.$wrapData[o];if(v){for(var g=0;_.length>=v[g];)i++,g++;_=_.substring(v[g-1]||0,_.length),p=g>0?v.indent:0}}return this.lineWidgets&&this.lineWidgets[a]&&this.lineWidgets[a].rowsAbove&&(i+=this.lineWidgets[a].rowsAbove),{row:i,column:p+this.$getStringScreenWidth(_)[0]}},this.documentToScreenColumn=function(t,n){return this.documentToScreenPosition(t,n).column},this.documentToScreenRow=function(t,n){return this.documentToScreenPosition(t,n).row},this.getScreenLength=function(){var t=0,n=null;if(this.$useWrapMode)for(var e=this.$wrapData.length,r=0,i=(a=0,(n=this.$foldData[a++])?n.start.row:1/0);ri&&(r=n.end.row+1,i=(n=this.$foldData[a++])?n.start.row:1/0)}else{t=this.getLength();for(var s=this.$foldData,a=0;ae);o++);return[r,o]})},this.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},this.isFullWidth=e}.call(_.prototype),t("./edit_session/folding").Folding.call(_.prototype),t("./edit_session/bracket_match").BracketMatch.call(_.prototype),s.defineOptions(_.prototype,"session",{wrap:{set:function(t){if(t&&"off"!=t?"free"==t?t=!0:"printMargin"==t?t=-1:"string"==typeof t&&(t=parseInt(t,10)||!1):t=!1,this.$wrap!=t)if(this.$wrap=t,t){var n="number"==typeof t?t:null;this.setWrapLimitRange(n,n),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(t){(t="auto"==t?"text"!=this.$mode.type:"text"!=t)!=this.$wrapAsCode&&(this.$wrapAsCode=t,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(t){this.$useWorker=t,this.$stopWorker(),t&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(t){(t=parseInt(t))>0&&this.$tabSize!==t&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=t,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(t){this.setFoldStyle(t)},handlesSet:!0},overwrite:{set:function(t){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(t){this.doc.setNewLineMode(t)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(t){this.setMode(t)},get:function(){return this.$modeId},handlesSet:!0}}),n.EditSession=_})),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(t,n,e){"use strict";var r=t("./lib/lang"),i=t("./lib/oop"),o=t("./range").Range,s=function(){this.$options={}};(function(){this.set=function(t){return i.mixin(this.$options,t),this},this.getOptions=function(){return r.copyObject(this.$options)},this.setOptions=function(t){this.$options=t},this.find=function(t){var n=this.$options,e=this.$matchIterator(t,n);if(!e)return!1;var r=null;return e.forEach((function(t,e,i,s){return r=new o(t,e,i,s),!(e==s&&n.start&&n.start.start&&0!=n.skipCurrent&&r.isEqual(n.start)&&(r=null,1))})),r},this.findAll=function(t){var n=this.$options;if(!n.needle)return[];this.$assembleRegExp(n);var e=n.range,i=e?t.getLines(e.start.row,e.end.row):t.doc.getAllLines(),s=[],a=n.re;if(n.$isMultiLine){var u,c=a.length,l=i.length-c;t:for(var h=a.offset||0;h<=l;h++){for(var f=0;fp||(s.push(u=new o(h,p,h+c-1,v)),c>2&&(h=h+c-2))}}else for(var g=0;gb&&s[f].end.row==x;)f--;for(s=s.slice(g,f+1),g=0,f=s.length;g=a;e--)if(h(e,Number.MAX_VALUE,t))return;if(0!=n.wrap)for(e=u,a=s.row;e>=a;e--)if(h(e,Number.MAX_VALUE,t))return}};else c=function(t){var e=s.row;if(!h(e,s.column,t)){for(e+=1;e<=u;e++)if(h(e,0,t))return;if(0!=n.wrap)for(e=a,u=s.row;e<=u;e++)if(h(e,0,t))return}};if(n.$isMultiLine)var l=e.length,h=function(n,i,o){var s=r?n-l+1:n;if(!(s<0||s+l>t.getLength())){var a=t.getLine(s),u=a.search(e[0]);if(!(!r&&ui))return!!o(s,u,s+l-1,h)||void 0}}};else h=r?function(n,r,i){var o,s=t.getLine(n),a=[],u=0;for(e.lastIndex=0;o=e.exec(s);){var c=o[0].length;if(u=o.index,!c){if(u>=s.length)break;e.lastIndex=u+=1}if(o.index+c>r)break;a.push(o.index,c)}for(var l=a.length-1;l>=0;l-=2){var h=a[l-1];if(i(n,h,n,h+(c=a[l])))return!0}}:function(n,r,i){var o,s,a=t.getLine(n);for(e.lastIndex=r;s=e.exec(a);){var u=s[0].length;if(i(n,o=s.index,n,o+u))return!0;if(!u&&(e.lastIndex=o+=1,o>=a.length))return!1}};return{forEach:c}}}).call(s.prototype),n.Search=s})),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(t,n,e){"use strict";var r=t("../lib/keys"),i=t("../lib/useragent"),o=r.KEY_MODS;function s(t,n){this.platform=n||(i.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(t),this.$singleCommand=!0}function a(t,n){s.call(this,t,n),this.$singleCommand=!1}a.prototype=s.prototype,function(){function t(t){return"object"==typeof t&&t.bindKey&&t.bindKey.position||(t.isDefault?-100:0)}this.addCommand=function(t){this.commands[t.name]&&this.removeCommand(t),this.commands[t.name]=t,t.bindKey&&this._buildKeyHash(t)},this.removeCommand=function(t,n){var e=t&&("string"==typeof t?t:t.name);t=this.commands[e],n||delete this.commands[e];var r=this.commandKeyBinding;for(var i in r){var o=r[i];if(o==t)delete r[i];else if(Array.isArray(o)){var s=o.indexOf(t);-1!=s&&(o.splice(s,1),1==o.length&&(r[i]=o[0]))}}},this.bindKey=function(t,n,e){if("object"==typeof t&&t&&(null==e&&(e=t.position),t=t[this.platform]),t)return"function"==typeof n?this.addCommand({exec:n,bindKey:t,name:n.name||t}):void t.split("|").forEach((function(t){var r="";if(-1!=t.indexOf(" ")){var i=t.split(/\s+/);t=i.pop(),i.forEach((function(t){var n=this.parseKeys(t),e=o[n.hashId]+n.key;r+=(r?" ":"")+e,this._addCommandToBinding(r,"chainKeys")}),this),r+=" "}var s=this.parseKeys(t),a=o[s.hashId]+s.key;this._addCommandToBinding(r+a,n,e)}),this)},this._addCommandToBinding=function(n,e,r){var i,o=this.commandKeyBinding;if(e)if(!o[n]||this.$singleCommand)o[n]=e;else{Array.isArray(o[n])?-1!=(i=o[n].indexOf(e))&&o[n].splice(i,1):o[n]=[o[n]],"number"!=typeof r&&(r=t(e));var s=o[n];for(i=0;ir);i++);s.splice(i,0,e)}else delete o[n]},this.addCommands=function(t){t&&Object.keys(t).forEach((function(n){var e=t[n];if(e){if("string"==typeof e)return this.bindKey(e,n);"function"==typeof e&&(e={exec:e}),"object"==typeof e&&(e.name||(e.name=n),this.addCommand(e))}}),this)},this.removeCommands=function(t){Object.keys(t).forEach((function(n){this.removeCommand(t[n])}),this)},this.bindKeys=function(t){Object.keys(t).forEach((function(n){this.bindKey(n,t[n])}),this)},this._buildKeyHash=function(t){this.bindKey(t.bindKey,t)},this.parseKeys=function(t){var n=t.toLowerCase().split(/[\-\+]([\-\+])?/).filter((function(t){return t})),e=n.pop(),i=r[e];if(r.FUNCTION_KEYS[i])e=r.FUNCTION_KEYS[i].toLowerCase();else{if(!n.length)return{key:e,hashId:-1};if(1==n.length&&"shift"==n[0])return{key:e.toUpperCase(),hashId:-1}}for(var o=0,s=n.length;s--;){var a=r.KEY_MODS[n[s]];if(null==a)return"undefined"!=typeof console&&console.error("invalid modifier "+n[s]+" in "+t),!1;o|=a}return{key:e,hashId:o}},this.findKeyCommand=function(t,n){var e=o[t]+n;return this.commandKeyBinding[e]},this.handleKeyboard=function(t,n,e,r){if(!(r<0)){var i=o[n]+e,s=this.commandKeyBinding[i];return t.$keyChain&&(t.$keyChain+=" "+i,s=this.commandKeyBinding[t.$keyChain]||s),!s||"chainKeys"!=s&&"chainKeys"!=s[s.length-1]?(t.$keyChain&&(n&&4!=n||1!=e.length?(-1==n||r>0)&&(t.$keyChain=""):t.$keyChain=t.$keyChain.slice(0,-i.length-1)),{command:s}):(t.$keyChain=t.$keyChain||i,{command:"null"})}},this.getStatusText=function(t,n){return n.$keyChain||""}}.call(s.prototype),n.HashHandler=s,n.MultiHashHandler=a})),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],(function(t,n,e){"use strict";var r=t("../lib/oop"),i=t("../keyboard/hash_handler").MultiHashHandler,o=t("../lib/event_emitter").EventEmitter,s=function(t,n){i.call(this,n,t),this.byName=this.commands,this.setDefaultHandler("exec",(function(t){return t.args?t.command.exec(t.editor,t.args,t.event,!1):t.command.exec(t.editor,{},t.event,!0)}))};r.inherits(s,i),function(){r.implement(this,o),this.exec=function(t,n,e){if(Array.isArray(t)){for(var r=t.length;r--;)if(this.exec(t[r],n,e))return!0;return!1}if("string"==typeof t&&(t=this.commands[t]),!t)return!1;if(n&&n.$readOnly&&!t.readOnly)return!1;if(0!=this.$checkCommandState&&t.isAvailable&&!t.isAvailable(n))return!1;var i={editor:n,command:t,args:e};return i.returnValue=this._emit("exec",i),this._signal("afterExec",i),!1!==i.returnValue},this.toggleRecording=function(t){if(!this.$inReplay)return t&&t._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(t){this.macro.push([t.command,t.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},this.replay=function(t){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(t);try{this.$inReplay=!0,this.macro.forEach((function(n){"string"==typeof n?this.exec(n,t):this.exec(n[0],t,n[1])}),this)}finally{this.$inReplay=!1}}},this.trimMacro=function(t){return t.map((function(t){return"string"!=typeof t[0]&&(t[0]=t[0].name),t[1]||(t=t[0]),t}))}}.call(s.prototype),n.CommandManager=s})),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],(function(t,n,e){"use strict";var r=t("../lib/lang"),i=t("../config"),o=t("../range").Range;function s(t,n){return{win:t,mac:n}}n.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:s("Ctrl-,","Command-,"),exec:function(t){i.loadModule("ace/ext/settings_menu",(function(n){n.init(t),t.showSettingsMenu()}))},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:s("Alt-E","F4"),exec:function(t){i.loadModule("./ext/error_marker",(function(n){n.showErrorMarker(t,1)}))},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:s("Alt-Shift-E","Shift-F4"),exec:function(t){i.loadModule("./ext/error_marker",(function(n){n.showErrorMarker(t,-1)}))},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:s("Ctrl-A","Command-A"),exec:function(t){t.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:s(null,"Ctrl-L"),exec:function(t){t.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:s("Ctrl-L","Command-L"),exec:function(t,n){"number"!=typeof n||isNaN(n)||t.gotoLine(n),t.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:s("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(t){t.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:s("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(t){t.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:s("F2","F2"),exec:function(t){t.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:s("Alt-F2","Alt-F2"),exec:function(t){t.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(t){t.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:s(null,"Ctrl-Command-Option-0"),exec:function(t){t.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:s("Alt-0","Command-Option-0"),exec:function(t){t.session.foldAll(),t.session.unfold(t.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:s("Alt-Shift-0","Command-Option-Shift-0"),exec:function(t){t.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:s("Ctrl-K","Command-G"),exec:function(t){t.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:s("Ctrl-Shift-K","Command-Shift-G"),exec:function(t){t.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:s("Alt-K","Ctrl-G"),exec:function(t){t.selection.isEmpty()?t.selection.selectWord():t.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:s("Alt-Shift-K","Ctrl-Shift-G"),exec:function(t){t.selection.isEmpty()?t.selection.selectWord():t.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:s("Ctrl-F","Command-F"),exec:function(t){i.loadModule("ace/ext/searchbox",(function(n){n.Search(t)}))},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(t){t.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:s("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(t){t.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:s("Ctrl-Home","Command-Home|Command-Up"),exec:function(t){t.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:s("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(t){t.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:s("Up","Up|Ctrl-P"),exec:function(t,n){t.navigateUp(n.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:s("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(t){t.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:s("Ctrl-End","Command-End|Command-Down"),exec:function(t){t.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:s("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(t){t.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:s("Down","Down|Ctrl-N"),exec:function(t,n){t.navigateDown(n.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:s("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(t){t.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:s("Ctrl-Left","Option-Left"),exec:function(t){t.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:s("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(t){t.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:s("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(t){t.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:s("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(t){t.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:s("Left","Left|Ctrl-B"),exec:function(t,n){t.navigateLeft(n.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:s("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(t){t.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:s("Ctrl-Right","Option-Right"),exec:function(t){t.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:s("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(t){t.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:s("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(t){t.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:s("Shift-Right","Shift-Right"),exec:function(t){t.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:s("Right","Right|Ctrl-F"),exec:function(t,n){t.navigateRight(n.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(t){t.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:s(null,"Option-PageDown"),exec:function(t){t.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:s("PageDown","PageDown|Ctrl-V"),exec:function(t){t.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(t){t.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:s(null,"Option-PageUp"),exec:function(t){t.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(t){t.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:s("Ctrl-Up",null),exec:function(t){t.renderer.scrollBy(0,-2*t.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:s("Ctrl-Down",null),exec:function(t){t.renderer.scrollBy(0,2*t.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(t){t.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(t){t.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:s("Ctrl-Alt-E","Command-Option-E"),exec:function(t){t.commands.toggleRecording(t)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:s("Ctrl-Shift-E","Command-Shift-E"),exec:function(t){t.commands.replay(t)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:s("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(t){t.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:s("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(t){t.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:s("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(t){t.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:s(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(t){},readOnly:!0},{name:"cut",description:"Cut",exec:function(t){var n=t.$copyWithEmptySelection&&t.selection.isEmpty()?t.selection.getLineRange():t.selection.getRange();t._emit("cut",n),n.isEmpty()||t.session.remove(n),t.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(t,n){t.$handlePaste(n)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:s("Ctrl-D","Command-D"),exec:function(t){t.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:s("Ctrl-Shift-D","Command-Shift-D"),exec:function(t){t.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:s("Ctrl-Alt-S","Command-Alt-S"),exec:function(t){t.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:s("Ctrl-/","Command-/"),exec:function(t){t.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:s("Ctrl-Shift-/","Command-Shift-/"),exec:function(t){t.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:s("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(t){t.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:s("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(t){t.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:s("Ctrl-H","Command-Option-F"),exec:function(t){i.loadModule("ace/ext/searchbox",(function(n){n.Search(t,!0)}))}},{name:"undo",description:"Undo",bindKey:s("Ctrl-Z","Command-Z"),exec:function(t){t.undo()}},{name:"redo",description:"Redo",bindKey:s("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(t){t.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:s("Alt-Shift-Up","Command-Option-Up"),exec:function(t){t.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:s("Alt-Up","Option-Up"),exec:function(t){t.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:s("Alt-Shift-Down","Command-Option-Down"),exec:function(t){t.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:s("Alt-Down","Option-Down"),exec:function(t){t.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:s("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(t){t.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:s("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(t){t.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:s("Shift-Delete",null),exec:function(t){if(!t.selection.isEmpty())return!1;t.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:s("Alt-Backspace","Command-Backspace"),exec:function(t){t.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:s("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(t){t.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:s("Ctrl-Shift-Backspace",null),exec:function(t){var n=t.selection.getRange();n.start.column=0,t.session.remove(n)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:s("Ctrl-Shift-Delete",null),exec:function(t){var n=t.selection.getRange();n.end.column=Number.MAX_VALUE,t.session.remove(n)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:s("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(t){t.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:s("Ctrl-Delete","Alt-Delete"),exec:function(t){t.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:s("Shift-Tab","Shift-Tab"),exec:function(t){t.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:s("Tab","Tab"),exec:function(t){t.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:s("Ctrl-[","Ctrl-["),exec:function(t){t.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:s("Ctrl-]","Ctrl-]"),exec:function(t){t.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(t,n){t.insert(n)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(t,n){t.insert(r.stringRepeat(n.text||"",n.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:s(null,"Ctrl-O"),exec:function(t){t.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:s("Alt-Shift-X","Ctrl-T"),exec:function(t){t.transposeLetters()},multiSelectAction:function(t){t.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:s("Ctrl-U","Ctrl-U"),exec:function(t){t.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:s("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(t){t.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:s(null,null),exec:function(t){t.autoIndent()},multiSelectAction:"forEachLine",scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:s("Ctrl-Shift-L","Command-Shift-L"),exec:function(t){var n=t.selection.getRange();n.start.column=n.end.column=0,n.end.row++,t.selection.setRange(n,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:s("Ctrl+F3","F3"),exec:function(t){t.openLink()}},{name:"joinlines",description:"Join lines",bindKey:s(null,null),exec:function(t){for(var n=t.selection.isBackwards(),e=n?t.selection.getSelectionLead():t.selection.getSelectionAnchor(),i=n?t.selection.getSelectionAnchor():t.selection.getSelectionLead(),s=t.session.doc.getLine(e.row).length,a=t.session.doc.getTextRange(t.selection.getRange()).replace(/\n\s*/," ").length,u=t.session.doc.getLine(e.row),c=e.row+1;c<=i.row+1;c++){var l=r.stringTrimLeft(r.stringTrimRight(t.session.doc.getLine(c)));0!==l.length&&(l=" "+l),u+=l}i.row+10?(t.selection.moveCursorTo(e.row,e.column),t.selection.selectTo(e.row,e.column+a)):(s=t.session.doc.getLine(e.row).length>s?s+1:s,t.selection.moveCursorTo(e.row,s))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:s(null,null),exec:function(t){var n=t.session.doc.getLength()-1,e=t.session.doc.getLine(n).length,r=t.selection.rangeList.ranges,i=[];r.length<1&&(r=[t.selection.getRange()]);for(var s=0;s=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},i=t("./lib/oop"),o=t("./lib/dom"),s=t("./lib/lang"),a=t("./lib/useragent"),u=t("./keyboard/textinput").TextInput,c=t("./mouse/mouse_handler").MouseHandler,l=t("./mouse/fold_handler").FoldHandler,h=t("./keyboard/keybinding").KeyBinding,f=t("./edit_session").EditSession,d=t("./search").Search,_=t("./range").Range,p=t("./lib/event_emitter").EventEmitter,v=t("./commands/command_manager").CommandManager,g=t("./commands/default_commands").commands,m=t("./config"),y=t("./token_iterator").TokenIterator,w=t("./clipboard"),b=function(t,n,e){this.$toDestroy=[];var r=t.getContainerElement();this.container=r,this.renderer=t,this.id="editor"+ ++b.$uid,this.commands=new v(a.isMac?"mac":"win",g),"object"==typeof document&&(this.textInput=new u(t.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new c(this),new l(this)),this.keyBinding=new h(this),this.$search=(new d).set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=s.delayedCall(function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",(function(t,n){n._$emitInputEvent.schedule(31)})),this.setSession(n||e&&e.session||new f("")),m.resetOptions(this),e&&this.setOptions(e),m._signal("editor",this)};b.$uid=0,function(){i.implement(this,p),this.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=s.delayedCall(this.endOperation.bind(this,!0)),this.on("change",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.selectionChanged=!0}.bind(this),!0)},this.curOp=null,this.prevOp={},this.startOperation=function(t){if(this.curOp){if(!t||this.curOp.command)return;this.prevOp=this.curOp}t||(this.previousCommand=null,t={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:t.command||{},args:t.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},this.endOperation=function(t){if(this.curOp&&this.session){if(t&&!1===t.returnValue||!this.session)return this.curOp=null;if(1==t&&this.curOp.command&&"mouse"==this.curOp.command.name)return;if(this._signal("beforeEndOperation"),!this.curOp)return;var n=this.curOp.command,e=n&&n.scrollIntoView;if(e){switch(e){case"center-animate":e="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var r=this.selection.getRange(),i=this.renderer.layerConfig;(r.start.row>=i.lastRow||r.end.row<=i.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==e&&this.renderer.animateScrolling(this.curOp.scrollTop)}var o=this.selection.toJSON();this.curOp.selectionAfter=o,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(o),this.prevOp=this.curOp,this.curOp=null}},this.$mergeableCommands=["backspace","del","insertstring"],this.$historyTracker=function(t){if(this.$mergeUndoDeltas){var n=this.prevOp,e=this.$mergeableCommands,r=n.command&&t.command.name==n.command.name;if("insertstring"==t.command.name){var i=t.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),r=r&&this.mergeNextCommand&&(!/\s/.test(i)||/\s/.test(n.args)),this.mergeNextCommand=!0}else r=r&&-1!==e.indexOf(t.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(r=!1),r?this.session.mergeUndoDeltas=!0:-1!==e.indexOf(t.command.name)&&(this.sequenceStartTime=Date.now())}},this.setKeyboardHandler=function(t,n){if(t&&"string"==typeof t&&"ace"!=t){this.$keybindingId=t;var e=this;m.loadModule(["keybinding",t],(function(r){e.$keybindingId==t&&e.keyBinding.setKeyboardHandler(r&&r.handler),n&&n()}))}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(t),n&&n()},this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},this.setSession=function(t){if(this.session!=t){this.curOp&&this.endOperation(),this.curOp={};var n=this.session;if(n){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var e=this.session.getSelection();e.off("changeCursor",this.$onCursorChange),e.off("changeSelection",this.$onSelectionChange)}this.session=t,t?(this.$onDocumentChange=this.onDocumentChange.bind(this),t.on("change",this.$onDocumentChange),this.renderer.setSession(t),this.$onChangeMode=this.onChangeMode.bind(this),t.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),t.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),t.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),t.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),t.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),t.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=t.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(t)),this._signal("changeSession",{session:t,oldSession:n}),this.curOp=null,n&&n._signal("changeEditor",{oldEditor:this}),t&&t._signal("changeEditor",{editor:this}),t&&!t.destroyed&&t.bgTokenizer.scheduleStart()}},this.getSession=function(){return this.session},this.setValue=function(t,n){return this.session.doc.setValue(t),n?1==n?this.navigateFileEnd():-1==n&&this.navigateFileStart():this.selectAll(),t},this.getValue=function(){return this.session.getValue()},this.getSelection=function(){return this.selection},this.resize=function(t){this.renderer.onResize(t)},this.setTheme=function(t,n){this.renderer.setTheme(t,n)},this.getTheme=function(){return this.renderer.getTheme()},this.setStyle=function(t){this.renderer.setStyle(t)},this.unsetStyle=function(t){this.renderer.unsetStyle(t)},this.getFontSize=function(){return this.getOption("fontSize")||o.computedStyle(this.container).fontSize},this.setFontSize=function(t){this.setOption("fontSize",t)},this.$highlightBrackets=function(){if(!this.$highlightPending){var t=this;this.$highlightPending=!0,setTimeout((function(){t.$highlightPending=!1;var n=t.session;if(n&&!n.destroyed){n.$bracketHighlight&&(n.$bracketHighlight.markerIds.forEach((function(t){n.removeMarker(t)})),n.$bracketHighlight=null);var e=t.getCursorPosition(),r=t.getKeyboardHandler(),i=r&&r.$getDirectionForHighlight&&r.$getDirectionForHighlight(t),o=n.getMatchingBracketRanges(e,i);if(!o){var s=new y(n,e.row,e.column).getCurrentToken();if(s&&/\b(?:tag-open|tag-name)/.test(s.type)){var a=n.getMatchingTags(e);a&&(o=[a.openTagName,a.closeTagName])}}if(!o&&n.$mode.getMatching&&(o=n.$mode.getMatching(t.session)),o){var u="ace_bracket";Array.isArray(o)?1==o.length&&(u="ace_error_bracket"):o=[o],2==o.length&&(0==_.comparePoints(o[0].end,o[1].start)?o=[_.fromPoints(o[0].start,o[1].end)]:0==_.comparePoints(o[0].start,o[1].end)&&(o=[_.fromPoints(o[1].start,o[0].end)])),n.$bracketHighlight={ranges:o,markerIds:o.map((function(t){return n.addMarker(t,u,"text")}))},t.getHighlightIndentGuides()&&t.renderer.$textLayer.$highlightIndentGuide()}else t.getHighlightIndentGuides()&&t.renderer.$textLayer.$highlightIndentGuide()}}),50)}},this.focus=function(){this.textInput.focus()},this.isFocused=function(){return this.textInput.isFocused()},this.blur=function(){this.textInput.blur()},this.onFocus=function(t){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",t))},this.onBlur=function(t){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",t))},this.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},this.onDocumentChange=function(t){var n=this.session.$useWrapMode,e=t.start.row==t.end.row?t.end.row:1/0;this.renderer.updateLines(t.start.row,e,n),this._signal("change",t),this.$cursorChange()},this.onTokenizerUpdate=function(t){var n=t.data;this.renderer.updateLines(n.first,n.last)},this.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},this.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},this.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},this.$updateHighlightActiveLine=function(){var t,n=this.getSession();if(this.$highlightActiveLine&&("line"==this.$selectionStyle&&this.selection.isMultiLine()||(t=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(t=!1),!this.renderer.$maxLines||1!==this.session.getLength()||this.renderer.$minLines>1||(t=!1)),n.$highlightLineMarker&&!t)n.removeMarker(n.$highlightLineMarker.id),n.$highlightLineMarker=null;else if(!n.$highlightLineMarker&&t){var e=new _(t.row,t.column,t.row,1/0);e.id=n.addMarker(e,"ace_active-line","screenLine"),n.$highlightLineMarker=e}else t&&(n.$highlightLineMarker.start.row=t.row,n.$highlightLineMarker.end.row=t.row,n.$highlightLineMarker.start.column=t.column,n._signal("changeBackMarker"))},this.onSelectionChange=function(t){var n=this.session;if(n.$selectionMarker&&n.removeMarker(n.$selectionMarker),n.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var e=this.selection.getRange(),r=this.getSelectionStyle();n.$selectionMarker=n.addMarker(e,"ace_selection",r)}var i=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(i),this._signal("changeSelection")},this.$getSelectionHighLightRegexp=function(){var t=this.session,n=this.getSelectionRange();if(!n.isEmpty()&&!n.isMultiLine()){var e=n.start.column,r=n.end.column,i=t.getLine(n.start.row),o=i.substring(e,r);if(!(o.length>5e3)&&/[\w\d]/.test(o)){var s=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:o}),a=i.substring(e-1,r+1);if(s.test(a))return s}}},this.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},this.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},this.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},this.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},this.onChangeMode=function(t){this.renderer.updateText(),this._emit("changeMode",t)},this.onChangeWrapLimit=function(){this.renderer.updateFull()},this.onChangeWrapMode=function(){this.renderer.onResize(!0)},this.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},this.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},this.getCopyText=function(){var t=this.getSelectedText(),n=this.session.doc.getNewLineCharacter(),e=!1;if(!t&&this.$copyWithEmptySelection){e=!0;for(var r=this.selection.getAllRanges(),i=0;ia.search(/\S|$/)){var u=a.substr(i.column).search(/\S|$/);e.doc.removeInLine(i.row,i.column,i.column+u)}}this.clearSelection();var c=i.column,l=e.getState(i.row),h=(a=e.getLine(i.row),r.checkOutdent(l,a,t));if(e.insert(i,t),o&&o.selection&&(2==o.selection.length?this.selection.setSelectionRange(new _(i.row,c+o.selection[0],i.row,c+o.selection[1])):this.selection.setSelectionRange(new _(i.row+o.selection[0],o.selection[1],i.row+o.selection[2],o.selection[3]))),this.$enableAutoIndent){if(e.getDocument().isNewLine(t)){var f=r.getNextLineIndent(l,a.slice(0,i.column),e.getTabString());e.insert({row:i.row+1,column:0},f)}h&&r.autoOutdent(l,e,i.row)}},this.autoIndent=function(){var t,n,e=this.session,r=e.getMode();if(this.selection.isEmpty())t=0,n=e.doc.getLength()-1;else{var i=this.getSelectionRange();t=i.start.row,n=i.end.row}for(var o,s,a,u="",c="",l="",h=e.getTabString(),f=t;f<=n;f++)f>0&&(u=e.getState(f-1),c=e.getLine(f-1),l=r.getNextLineIndent(u,c,h)),o=e.getLine(f),l!==(s=r.$getIndent(o))&&(s.length>0&&(a=new _(f,0,f,s.length),e.remove(a)),l.length>0&&e.insert({row:f,column:0},l)),r.autoOutdent(u,e,f)},this.onTextInput=function(t,n){if(!n)return this.keyBinding.onTextInput(t);this.startOperation({command:{name:"insertstring"}});var e=this.applyComposition.bind(this,t,n);this.selection.rangeCount?this.forEachSelection(e):e(),this.endOperation()},this.applyComposition=function(t,n){var e;(n.extendLeft||n.extendRight)&&((e=this.selection.getRange()).start.column-=n.extendLeft,e.end.column+=n.extendRight,e.start.column<0&&(e.start.row--,e.start.column+=this.session.getLine(e.start.row).length+1),this.selection.setRange(e),t||e.isEmpty()||this.remove()),!t&&this.selection.isEmpty()||this.insert(t,!0),(n.restoreStart||n.restoreEnd)&&((e=this.selection.getRange()).start.column-=n.restoreStart,e.end.column-=n.restoreEnd,this.selection.setRange(e))},this.onCommandKey=function(t,n,e){return this.keyBinding.onCommandKey(t,n,e)},this.setOverwrite=function(t){this.session.setOverwrite(t)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(t){this.setOption("scrollSpeed",t)},this.getScrollSpeed=function(){return this.getOption("scrollSpeed")},this.setDragDelay=function(t){this.setOption("dragDelay",t)},this.getDragDelay=function(){return this.getOption("dragDelay")},this.setSelectionStyle=function(t){this.setOption("selectionStyle",t)},this.getSelectionStyle=function(){return this.getOption("selectionStyle")},this.setHighlightActiveLine=function(t){this.setOption("highlightActiveLine",t)},this.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},this.setHighlightGutterLine=function(t){this.setOption("highlightGutterLine",t)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.setHighlightSelectedWord=function(t){this.setOption("highlightSelectedWord",t)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(t){this.renderer.setAnimatedScroll(t)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(t){this.renderer.setShowInvisibles(t)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(t){this.renderer.setDisplayIndentGuides(t)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setHighlightIndentGuides=function(t){this.renderer.setHighlightIndentGuides(t)},this.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},this.setShowPrintMargin=function(t){this.renderer.setShowPrintMargin(t)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(t){this.renderer.setPrintMarginColumn(t)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(t){this.setOption("readOnly",t)},this.getReadOnly=function(){return this.getOption("readOnly")},this.setBehavioursEnabled=function(t){this.setOption("behavioursEnabled",t)},this.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},this.setWrapBehavioursEnabled=function(t){this.setOption("wrapBehavioursEnabled",t)},this.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},this.setShowFoldWidgets=function(t){this.setOption("showFoldWidgets",t)},this.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},this.setFadeFoldWidgets=function(t){this.setOption("fadeFoldWidgets",t)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.remove=function(t){this.selection.isEmpty()&&("left"==t?this.selection.selectLeft():this.selection.selectRight());var n=this.getSelectionRange();if(this.getBehavioursEnabled()){var e=this.session,r=e.getState(n.start.row),i=e.getMode().transformAction(r,"deletion",this,e,n);if(0===n.end.column){var o=e.getTextRange(n);if("\n"==o[o.length-1]){var s=e.getLine(n.end.row);/^\s+$/.test(s)&&(n.end.column=s.length)}}i&&(n=i)}this.session.remove(n),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var t=this.getSelectionRange();t.start.column==t.end.column&&t.start.row==t.end.row&&(t.end.column=0,t.end.row++),this.session.remove(t),this.clearSelection()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var t=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(t)},this.transposeLetters=function(){if(this.selection.isEmpty()){var t=this.getCursorPosition(),n=t.column;if(0!==n){var e,r,i=this.session.getLine(t.row);nn.toLowerCase()?1:0}));var i=new _(0,0,0,0);for(r=t.first;r<=t.last;r++){var o=n.getLine(r);i.start.row=r,i.end.row=r,i.end.column=o.length,n.replace(i,e[r-t.first])}},this.toggleCommentLines=function(){var t=this.session.getState(this.getCursorPosition().row),n=this.$getSelectedRows();this.session.getMode().toggleCommentLines(t,this.session,n.first,n.last)},this.toggleBlockComment=function(){var t=this.getCursorPosition(),n=this.session.getState(t.row),e=this.getSelectionRange();this.session.getMode().toggleBlockComment(n,this.session,e,t)},this.getNumberAt=function(t,n){var e=/[\-]?[0-9]+(?:\.[0-9]+)?/g;e.lastIndex=0;for(var r=this.session.getLine(t);e.lastIndex=n)return{value:i[0],start:i.index,end:i.index+i[0].length}}return null},this.modifyNumber=function(t){var n=this.selection.getCursor().row,e=this.selection.getCursor().column,r=new _(n,e-1,n,e),i=this.session.getTextRange(r);if(!isNaN(parseFloat(i))&&isFinite(i)){var o=this.getNumberAt(n,e);if(o){var s=o.value.indexOf(".")>=0?o.start+o.value.indexOf(".")+1:o.end,a=o.start+o.value.length-s,u=parseFloat(o.value);u*=Math.pow(10,a),s!==o.end&&e=a&&o<=u&&(e=n,c.selection.clearSelection(),c.moveCursorTo(t,a+r),c.selection.selectTo(t,u+r)),a=u}));for(var l,h=this.$toggleWordPairs,f=0;f=u&&s<=c&&f.match(/((?:https?|ftp):\/\/[\S]+)/)){a=f.replace(/[\s:.,'";}\]]+$/,"");break}u=c}}catch(t){e={error:t}}finally{try{h&&!h.done&&(i=l.return)&&i.call(l)}finally{if(e)throw e.error}}return a},this.openLink=function(){var t=this.selection.getCursor(),n=this.findLinkAt(t.row,t.column);return n&&window.open(n,"_blank"),null!=n},this.removeLines=function(){var t=this.$getSelectedRows();this.session.removeFullLines(t.first,t.last),this.clearSelection()},this.duplicateSelection=function(){var t=this.selection,n=this.session,e=t.getRange(),r=t.isBackwards();if(e.isEmpty()){var i=e.start.row;n.duplicateLines(i,i)}else{var o=r?e.start:e.end,s=n.insert(o,n.getTextRange(e),!1);e.start=o,e.end=s,t.setSelectionRange(e,r)}},this.moveLinesDown=function(){this.$moveLines(1,!1)},this.moveLinesUp=function(){this.$moveLines(-1,!1)},this.moveText=function(t,n,e){return this.session.moveText(t,n,e)},this.copyLinesUp=function(){this.$moveLines(-1,!0)},this.copyLinesDown=function(){this.$moveLines(1,!0)},this.$moveLines=function(t,n){var e,r,i=this.selection;if(!i.inMultiSelectMode||this.inVirtualSelectionMode){var o=i.toOrientedRange();e=this.$getSelectedRows(o),r=this.session.$moveLines(e.first,e.last,n?0:t),n&&-1==t&&(r=0),o.moveBy(r,0),i.fromOrientedRange(o)}else{var s=i.rangeList.ranges;i.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var a=0,u=0,c=s.length,l=0;ld+1)break;d=_.last}for(l--,a=this.session.$moveLines(f,d,n?0:t),n&&-1==t&&(h=l+1);h<=l;)s[h].moveBy(a,0),h++;n||(a=0),u+=a}i.fromOrientedRange(i.ranges[0]),i.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},this.$getSelectedRows=function(t){return t=(t||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(t.start.row),last:this.session.getRowFoldEnd(t.end.row)}},this.onCompositionStart=function(t){this.renderer.showComposition(t)},this.onCompositionUpdate=function(t){this.renderer.setCompositionText(t)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(t){return t>=this.getFirstVisibleRow()&&t<=this.getLastVisibleRow()},this.isRowFullyVisible=function(t){return t>=this.renderer.getFirstFullyVisibleRow()&&t<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(t,n){var e=this.renderer,r=this.renderer.layerConfig,i=t*Math.floor(r.height/r.lineHeight);!0===n?this.selection.$moveSelection((function(){this.moveCursorBy(i,0)})):!1===n&&(this.selection.moveCursorBy(i,0),this.selection.clearSelection());var o=e.scrollTop;e.scrollBy(0,i*r.lineHeight),null!=n&&e.scrollCursorIntoView(null,.5),e.animateScrolling(o)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(t){this.renderer.scrollToRow(t)},this.scrollToLine=function(t,n,e,r){this.renderer.scrollToLine(t,n,e,r)},this.centerSelection=function(){var t=this.getSelectionRange(),n={row:Math.floor(t.start.row+(t.end.row-t.start.row)/2),column:Math.floor(t.start.column+(t.end.column-t.start.column)/2)};this.renderer.alignCursor(n,.5)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.selection.selectAll()},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(t,n){this.selection.moveCursorTo(t,n)},this.moveCursorToPosition=function(t){this.selection.moveCursorToPosition(t)},this.jumpToMatching=function(t,n){var e=this.getCursorPosition(),r=new y(this.session,e.row,e.column),i=r.getCurrentToken(),o=0;i&&-1!==i.type.indexOf("tag-name")&&(i=r.stepBackward());var s=i||r.stepForward();if(s){var a,u,c=!1,l={},h=e.column-s.start,f={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(s.value.match(/[{}()\[\]]/g)){for(;h1?l[s.value]++:"=0;--o)this.$tryReplace(e[o],t)&&r++;return this.selection.setSelectionRange(i),r},this.$tryReplace=function(t,n){var e=this.session.getTextRange(t);return null!==(n=this.$search.replace(e,n))?(t.end=this.session.replace(t,n),t):null},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(t,n,e){n||(n={}),"string"==typeof t||t instanceof RegExp?n.needle=t:"object"==typeof t&&i.mixin(n,t);var r=this.selection.getRange();null==n.needle&&((t=this.session.getTextRange(r)||this.$search.$options.needle)||(r=this.session.getWordRange(r.start.row,r.start.column),t=this.session.getTextRange(r)),this.$search.set({needle:t})),this.$search.set(n),n.start||this.$search.set({start:r});var o=this.$search.find(this.session);return n.preventScroll?o:o?(this.revealRange(o,e),o):(n.backwards?r.start=r.end:r.end=r.start,void this.selection.setRange(r))},this.findNext=function(t,n){this.find({skipCurrent:!0,backwards:!1},t,n)},this.findPrevious=function(t,n){this.find(t,{skipCurrent:!0,backwards:!0},n)},this.revealRange=function(t,n){this.session.unfold(t),this.selection.setSelectionRange(t);var e=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(t.start,t.end,.5),!1!==n&&this.renderer.animateScrolling(e)},this.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},this.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},this.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach((function(t){t.destroy()})),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},this.setAutoScrollEditorIntoView=function(t){if(t){var n,e=this,r=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var i=this.$scrollAnchor;i.style.cssText="position:absolute",this.container.insertBefore(i,this.container.firstChild);var o=this.on("changeSelection",(function(){r=!0})),s=this.renderer.on("beforeRender",(function(){r&&(n=e.renderer.container.getBoundingClientRect())})),a=this.renderer.on("afterRender",(function(){if(r&&n&&(e.isFocused()||e.searchBox&&e.searchBox.isFocused())){var t=e.renderer,o=t.$cursorLayer.$pixelPos,s=t.layerConfig,a=o.top-s.offset;null!=(r=o.top>=0&&a+n.top<0||!(o.topwindow.innerHeight)&&null)&&(i.style.top=a+"px",i.style.left=o.left+"px",i.style.height=s.lineHeight+"px",i.scrollIntoView(r)),r=n=null}}));this.setAutoScrollEditorIntoView=function(t){t||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",o),this.renderer.off("afterRender",a),this.renderer.off("beforeRender",s))}}},this.$resetCursorStyle=function(){var t=this.$cursorStyle||"ace",n=this.renderer.$cursorLayer;n&&(n.setSmoothBlinking(/smooth/.test(t)),n.isBlinking=!this.$readOnly&&"wide"!=t,o.setCssClass(n.element,"ace_slim-cursors",/slim/.test(t)))},this.prompt=function(t,n,e){var r=this;m.loadModule("./ext/prompt",(function(i){i.prompt(r,t,n,e)}))}}.call(b.prototype),m.defineOptions(b.prototype,"editor",{selectionStyle:{set:function(t){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:t})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(t){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(t){this.textInput.setReadOnly(t),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(t){this.textInput.setCopyWithEmptySelection(t)},initialValue:!1},cursorStyle:{set:function(t){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(t){this.setAutoScrollEditorIntoView(t)}},keyboardHandler:{set:function(t){this.setKeyboardHandler(t)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(t){this.session.setValue(t)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(t){this.setSession(t)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(t){this.renderer.$gutterLayer.setShowLineNumbers(t),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),t&&this.$relativeLineNumbers?x.attach(this):x.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(t){this.$showLineNumbers&&t?x.attach(this):x.detach(this)}},placeholder:{set:function(t){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var t=this.session&&(this.renderer.$composition||this.getValue());if(t&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),o.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(t||this.renderer.placeholderNode)!t&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"");else{this.renderer.on("afterRender",this.$updatePlaceholder),o.addCssClass(this.container,"ace_hasPlaceholder");var n=o.createElement("div");n.className="ace_placeholder",n.textContent=this.$placeholder||"",this.renderer.placeholderNode=n,this.renderer.content.appendChild(this.renderer.placeholderNode)}}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var x={getText:function(t,n){return(Math.abs(t.selection.lead.row-n)||n+1+(n<9?"·":""))+""},getWidth:function(t,n,e){return Math.max(n.toString().length,(e.lastRow+1).toString().length,2)*e.characterWidth},update:function(t,n){n.renderer.$loop.schedule(n.renderer.CHANGE_GUTTER)},attach:function(t){t.renderer.$gutterLayer.$renderer=this,t.on("changeSelection",this.update),this.update(null,t)},detach:function(t){t.renderer.$gutterLayer.$renderer==this&&(t.renderer.$gutterLayer.$renderer=null),t.off("changeSelection",this.update),this.update(null,t)}};n.Editor=b})),ace.define("ace/undomanager",["require","exports","module","ace/range"],(function(t,n,e){"use strict";var r=function(){this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()};(function(){this.addSession=function(t){this.$session=t},this.add=function(t,n,e){if(!this.$fromUndo&&t!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),!1===n||!this.lastDeltas){this.lastDeltas=[];var r=this.$undoStack.length;r>this.$undoDepth-1&&this.$undoStack.splice(0,r-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),t.id=this.$rev=++this.$maxRev}"remove"!=t.action&&"insert"!=t.action||(this.$lastDelta=t),this.lastDeltas.push(t)}},this.addSelection=function(t,n){this.selections.push({value:t,rev:n||this.$rev})},this.startNewGroup=function(){return this.lastDeltas=null,this.$rev},this.markIgnored=function(t,n){null==n&&(n=this.$rev+1);for(var e=this.$undoStack,r=e.length;r--;){var i=e[r][0];if(i.id<=t)break;i.id0},this.canRedo=function(){return this.$redoStack.length>0},this.bookmark=function(t){null==t&&(t=this.$rev),this.mark=t},this.isAtBookmark=function(){return this.$rev===this.mark},this.toJSON=function(){},this.fromJSON=function(){},this.hasUndo=this.canUndo,this.hasRedo=this.canRedo,this.isClean=this.isAtBookmark,this.markClean=this.bookmark,this.$prettyPrint=function(t){return t?a(t):a(this.$undoStack)+"\n---\n"+a(this.$redoStack)}}).call(r.prototype);var i=t("./range").Range,o=i.comparePoints;function s(t){return{row:t.row,column:t.column}}function a(t){if(t=t||this,Array.isArray(t))return t.map(a).join("\n");var n="";return t.action?(n="insert"==t.action?"+":"-",n+="["+t.lines+"]"):t.value&&(n=Array.isArray(t.value)?t.value.map(u).join("\n"):u(t.value)),t.start&&(n+=u(t)),(t.id||t.rev)&&(n+="\t("+(t.id||t.rev)+")"),n}function u(t){return t.start.row+":"+t.start.column+"=>"+t.end.row+":"+t.end.column}function c(t,n){var e="insert"==t.action,r="insert"==n.action;if(e&&r)if(o(n.start,t.end)>=0)f(n,t,-1);else{if(!(o(n.start,t.start)<=0))return null;f(t,n,1)}else if(e&&!r)if(o(n.start,t.end)>=0)f(n,t,-1);else{if(!(o(n.end,t.start)<=0))return null;f(t,n,-1)}else if(!e&&r)if(o(n.start,t.start)>=0)f(n,t,1);else{if(!(o(n.start,t.start)<=0))return null;f(t,n,1)}else if(!e&&!r)if(o(n.start,t.start)>=0)f(n,t,1);else{if(!(o(n.end,t.start)<=0))return null;f(t,n,-1)}return[n,t]}function l(t,n){for(var e=t.length;e--;)for(var r=0;r=0?f(t,n,-1):(o(t.start,n.start)<=0||f(t,i.fromPoints(n.start,t.start),-1),f(n,t,1));else if(!e&&r)o(n.start,t.end)>=0?f(n,t,-1):(o(n.start,t.start)<=0||f(n,i.fromPoints(t.start,n.start),-1),f(t,n,1));else if(!e&&!r)if(o(n.start,t.end)>=0)f(n,t,-1);else{var s,a;if(!(o(n.end,t.start)<=0))return o(t.start,n.start)<0&&(s=t,t=_(t,n.start)),o(t.end,n.end)>0&&(a=_(t,n.end)),d(n.end,t.start,t.end,-1),a&&!s&&(t.lines=a.lines,t.start=a.start,t.end=a.end,a=t),[n,s,a].filter(Boolean);f(t,n,-1)}return[n,t]}function f(t,n,e){d(t.start,n.start,n.end,e),d(t.end,n.start,n.end,e)}function d(t,n,e,r){t.row==(1==r?n:e).row&&(t.column+=r*(e.column-n.column)),t.row+=r*(e.row-n.row)}function _(t,n){var e=t.lines,r=t.end;t.end=s(n);var i=t.end.row-t.start.row,o=e.splice(i,e.length),a=i?n.column:n.column-t.start.column;return e.push(o[0].substring(0,a)),o[0]=o[0].substr(a),{start:s(n),end:r,lines:o,action:t.action}}function p(t,n){n=function(t){return{start:s(t.start),end:s(t.end),action:t.action,lines:t.lines.slice()}}(n);for(var e=t.length;e--;){for(var r=t[e],i=0;io&&(u=i.end.row+1,o=(i=n.getNextFoldLine(u,i))?i.start.row:1/0),u>r){for(;this.$lines.getLength()>a+1;)this.$lines.pop();break}(s=this.$lines.get(++a))?s.row=u:(s=this.$lines.createCell(u,t,this.session,c),this.$lines.push(s)),this.$renderCell(s,t,i,u),u++}this._signal("afterRender"),this.$updateGutterWidth(t)},this.$updateGutterWidth=function(t){var n=this.session,e=n.gutterRenderer||this.$renderer,r=n.$firstLineNumber,i=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||n.$useWrapMode)&&(i=n.getLength()+r-1);var o=e?e.getWidth(n,i,t):i.toString().length*t.characterWidth,s=this.$padding||this.$computePadding();(o+=s.left+s.right)===this.gutterWidth||isNaN(o)||(this.gutterWidth=o,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",o))},this.$updateCursorRow=function(){if(this.$highlightGutterLine){var t=this.session.selection.getCursor();this.$cursorRow!==t.row&&(this.$cursorRow=t.row)}},this.updateLineHighlight=function(){if(this.$highlightGutterLine){var t=this.session.selection.cursor.row;if(this.$cursorRow=t,!this.$cursorCell||this.$cursorCell.row!=t){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var n=this.$lines.cells;this.$cursorCell=null;for(var e=0;e=this.$cursorRow){if(r.row>this.$cursorRow){var i=this.session.getFoldLine(this.$cursorRow);if(!(e>0&&i&&i.start.row==n[e-1].row))break;r=n[e-1]}r.element.className="ace_gutter-active-line "+r.element.className,this.$cursorCell=r;break}}}}},this.scrollLines=function(t){var n=this.config;if(this.config=t,this.$updateCursorRow(),this.$lines.pageChanged(n,t))return this.update(t);this.$lines.moveContainer(t);var e=Math.min(t.lastRow+t.gutterOffset,this.session.getLength()-1),r=this.oldLastRow;if(this.oldLastRow=e,!n||r0;i--)this.$lines.shift();if(r>e)for(i=this.session.getFoldedRowCount(e+1,r);i>0;i--)this.$lines.pop();t.firstRowr&&this.$lines.push(this.$renderLines(t,r+1,e)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(t)},this.$renderLines=function(t,n,e){for(var r=[],i=n,o=this.session.getNextFoldLine(i),s=o?o.start.row:1/0;i>s&&(i=o.end.row+1,s=(o=this.session.getNextFoldLine(i,o))?o.start.row:1/0),!(i>e);){var a=this.$lines.createCell(i,t,this.session,c);this.$renderCell(a,t,o,i),r.push(a),i++}return r},this.$renderCell=function(t,n,e,i){var o=t.element,s=this.session,a=o.childNodes[0],u=o.childNodes[1],c=s.$firstLineNumber,l=s.$breakpoints,h=s.$decorations,f=s.gutterRenderer||this.$renderer,d=this.$showFoldWidgets&&s.foldWidgets,_=e?e.start.row:Number.MAX_VALUE,p="ace_gutter-cell ";if(this.$highlightGutterLine&&(i==this.$cursorRow||e&&i=_&&this.$cursorRow<=e.end.row)&&(p+="ace_gutter-active-line ",this.$cursorCell!=t&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=t)),l[i]&&(p+=l[i]),h[i]&&(p+=h[i]),this.$annotations[i]&&(p+=this.$annotations[i].className),o.className!=p&&(o.className=p),d){var v=d[i];null==v&&(v=d[i]=s.getFoldWidget(i))}if(v){p="ace_fold-widget ace_"+v,"start"==v&&i==_&&ie.right-n.right?"foldWidgets":void 0}}).call(u.prototype),n.Gutter=u})),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],(function(t,n,e){"use strict";var r=t("../range").Range,i=t("../lib/dom"),o=function(t){this.element=i.createElement("div"),this.element.className="ace_layer ace_marker-layer",t.appendChild(this.element)};(function(){this.$padding=0,this.setPadding=function(t){this.$padding=t},this.setSession=function(t){this.session=t},this.setMarkers=function(t){this.markers=t},this.elt=function(t,n){var e=-1!=this.i&&this.element.childNodes[this.i];e?this.i++:(e=document.createElement("div"),this.element.appendChild(e),this.i=-1),e.style.cssText=n,e.className=t},this.update=function(t){if(t){var n;for(var e in this.config=t,this.i=0,this.markers){var r=this.markers[e];if(r.range){var i=r.range.clipRows(t.firstRow,t.lastRow);if(!i.isEmpty())if(i=i.toScreenRange(this.session),r.renderer){var o=this.$getTop(i.start.row,t),s=this.$padding+i.start.column*t.characterWidth;r.renderer(n,i,s,o,t)}else"fullLine"==r.type?this.drawFullLineMarker(n,i,r.clazz,t):"screenLine"==r.type?this.drawScreenLineMarker(n,i,r.clazz,t):i.isMultiLine()?"text"==r.type?this.drawTextMarker(n,i,r.clazz,t):this.drawMultiLineMarker(n,i,r.clazz,t):this.drawSingleLineMarker(n,i,r.clazz+" ace_start ace_br15",t)}else r.update(n,this,this.session,t)}if(-1!=this.i)for(;this.if?4:0)|(c==u?8:0)),i,c==u?0:1,o)},this.drawMultiLineMarker=function(t,n,e,r,i){var o=this.$padding,s=r.lineHeight,a=this.$getTop(n.start.row,r),u=o+n.start.column*r.characterWidth;if(i=i||"",this.session.$bidiHandler.isBidiRow(n.start.row)?((c=n.clone()).end.row=c.start.row,c.end.column=this.session.getLine(c.start.row).length,this.drawBidiSingleLineMarker(t,c,e+" ace_br1 ace_start",r,null,i)):this.elt(e+" ace_br1 ace_start","height:"+s+"px;right:0;top:"+a+"px;left:"+u+"px;"+(i||"")),this.session.$bidiHandler.isBidiRow(n.end.row)){var c;(c=n.clone()).start.row=c.end.row,c.start.column=0,this.drawBidiSingleLineMarker(t,c,e+" ace_br12",r,null,i)}else{a=this.$getTop(n.end.row,r);var l=n.end.column*r.characterWidth;this.elt(e+" ace_br12","height:"+s+"px;width:"+l+"px;top:"+a+"px;left:"+o+"px;"+(i||""))}if(!((s=(n.end.row-n.start.row-1)*r.lineHeight)<=0)){a=this.$getTop(n.start.row+1,r);var h=(n.start.column?1:0)|(n.end.column?0:8);this.elt(e+(h?" ace_br"+h:""),"height:"+s+"px;right:0;top:"+a+"px;left:"+o+"px;"+(i||""))}},this.drawSingleLineMarker=function(t,n,e,r,i,o){if(this.session.$bidiHandler.isBidiRow(n.start.row))return this.drawBidiSingleLineMarker(t,n,e,r,i,o);var s=r.lineHeight,a=(n.end.column+(i||0)-n.start.column)*r.characterWidth,u=this.$getTop(n.start.row,r),c=this.$padding+n.start.column*r.characterWidth;this.elt(e,"height:"+s+"px;width:"+a+"px;top:"+u+"px;left:"+c+"px;"+(o||""))},this.drawBidiSingleLineMarker=function(t,n,e,r,i,o){var s=r.lineHeight,a=this.$getTop(n.start.row,r),u=this.$padding;this.session.$bidiHandler.getSelections(n.start.column,n.end.column).forEach((function(t){this.elt(e,"height:"+s+"px;width:"+(t.width+(i||0))+"px;top:"+a+"px;left:"+(u+t.left)+"px;"+(o||""))}),this)},this.drawFullLineMarker=function(t,n,e,r,i){var o=this.$getTop(n.start.row,r),s=r.lineHeight;n.start.row!=n.end.row&&(s+=this.$getTop(n.end.row,r)-o),this.elt(e,"height:"+s+"px;top:"+o+"px;left:0;right:0;"+(i||""))},this.drawScreenLineMarker=function(t,n,e,r,i){var o=this.$getTop(n.start.row,r),s=r.lineHeight;this.elt(e,"height:"+s+"px;top:"+o+"px;left:0;right:0;"+(i||""))}}).call(o.prototype),n.Marker=o})),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter"],(function(t,n,e){"use strict";var r=t("../lib/oop"),i=t("../lib/dom"),o=t("../lib/lang"),s=t("./lines").Lines,a=t("../lib/event_emitter").EventEmitter,u=function(t){this.dom=i,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",t.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new s(this.element)};(function(){r.implement(this,a),this.EOF_CHAR="¶",this.EOL_CHAR_LF="¬",this.EOL_CHAR_CRLF="¤",this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR="—",this.SPACE_CHAR="·",this.$padding=0,this.MAX_LINE_LENGTH=1e4,this.MAX_CHUNK_LENGTH=250,this.$updateEolChar=function(){var t=this.session.doc,n="\n"==t.getNewLineCharacter()&&"windows"!=t.getNewLineMode()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=n)return this.EOL_CHAR=n,!0},this.setPadding=function(t){this.$padding=t,this.element.style.margin="0 "+t+"px"},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(t){this.$fontMetrics=t,this.$fontMetrics.on("changeCharacterSize",function(t){this._signal("changeCharacterSize",t)}.bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(t){this.session=t,t&&this.$computeTabString()},this.showInvisibles=!1,this.showSpaces=!1,this.showTabs=!1,this.showEOL=!1,this.setShowInvisibles=function(t){return this.showInvisibles!=t&&(this.showInvisibles=t,"string"==typeof t?(this.showSpaces=/tab/i.test(t),this.showTabs=/space/i.test(t),this.showEOL=/eol/i.test(t)):this.showSpaces=this.showTabs=this.showEOL=t,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(t){return this.displayIndentGuides!=t&&(this.displayIndentGuides=t,this.$computeTabString(),!0)},this.$highlightIndentGuides=!0,this.setHighlightIndentGuides=function(t){return this.$highlightIndentGuides!==t&&(this.$highlightIndentGuides=t,t)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var t=this.session.getTabSize();this.tabSize=t;for(var n=this.$tabStrings=[0],e=1;el&&(a=u.end.row+1,l=(u=this.session.getNextFoldLine(a,u))?u.start.row:1/0),!(a>i);){var h=o[s++];if(h){this.dom.removeChildren(h),this.$renderLine(h,a,a==l&&u),c&&(h.style.top=this.$lines.computeLineTop(a,t,this.session)+"px");var f=t.lineHeight*this.session.getRowLength(a)+"px";h.style.height!=f&&(c=!0,h.style.height=f)}a++}if(c)for(;s0;i--)this.$lines.shift();if(n.lastRow>t.lastRow)for(i=this.session.getFoldedRowCount(t.lastRow+1,n.lastRow);i>0;i--)this.$lines.pop();t.firstRown.lastRow&&this.$lines.push(this.$renderLinesFragment(t,n.lastRow+1,t.lastRow)),this.$highlightIndentGuide()},this.$renderLinesFragment=function(t,n,e){for(var r=[],o=n,s=this.session.getNextFoldLine(o),a=s?s.start.row:1/0;o>a&&(o=s.end.row+1,a=(s=this.session.getNextFoldLine(o,s))?s.start.row:1/0),!(o>e);){var u=this.$lines.createCell(o,t,this.session),c=u.element;this.dom.removeChildren(c),i.setStyle(c.style,"height",this.$lines.computeLineHeight(o,t,this.session)+"px"),i.setStyle(c.style,"top",this.$lines.computeLineTop(o,t,this.session)+"px"),this.$renderLine(c,o,o==a&&s),this.$useLineGroups()?c.className="ace_line_group":(c.className="ace_line",c.setAttribute("role","option")),r.push(u),o++}return r},this.update=function(t){this.$lines.moveContainer(t),this.config=t;for(var n=t.firstRow,e=t.lastRow,r=this.$lines;r.getLength();)r.pop();r.push(this.$renderLinesFragment(t,n,e))},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderTokenInChunks=function(t,n,e,r){for(var i,o=0;o=e)return n;if(" "==n[0]){for(var i=(r-=r%this.tabSize)/this.tabSize,o=0;oi[o].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}if(!this.$highlightIndentGuideMarker.end&&""!==t[n.row]&&n.column===t[n.row].length)for(this.$highlightIndentGuideMarker.dir=1,o=n.row+1;o0)for(var r=0;r=this.$highlightIndentGuideMarker.start+1){if(r.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(r,n)}}else for(e=t.length-1;e>=0;e--)if(r=t[e],this.$highlightIndentGuideMarker.end&&r.row=s;)a=this.$renderTokenInChunks(u,a,l,h.substring(0,s-r)),h=h.substring(s-r),r=s,u=this.$createLineElement(),t.appendChild(u),u.appendChild(this.dom.createTextNode(o.stringRepeat(" ",e.indent),this.element)),a=0,s=e[++i]||Number.MAX_VALUE;0!=h.length&&(r+=h.length,a=this.$renderTokenInChunks(u,a,l,h))}}e[e.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(u,a,null,"",!0)},this.$renderSimpleLine=function(t,n){for(var e=0,r=0;rthis.MAX_LINE_LENGTH)return void this.$renderOverflowMessage(t,e,i,o);e=this.$renderTokenInChunks(t,e,i,o)}}},this.$renderOverflowMessage=function(t,n,e,r,i){e&&this.$renderTokenInChunks(t,n,e,r.slice(0,this.MAX_LINE_LENGTH-n));var o=this.dom.createElement("span");o.className="ace_inline_button ace_keyword ace_toggle_wrap",o.textContent=i?"":"",t.appendChild(o)},this.$renderLine=function(t,n,e){if(e||0==e||(e=this.session.getFoldLine(n)),e)var r=this.$getFoldLineTokens(n,e);else r=this.session.getTokens(n);var i=t;if(r.length){var o=this.session.getRowSplitData(n);o&&o.length?(this.$renderWrappedLine(t,r,o),i=t.lastChild):(i=t,this.$useLineGroups()&&(i=this.$createLineElement(),t.appendChild(i)),this.$renderSimpleLine(i,r))}else this.$useLineGroups()&&(i=this.$createLineElement(),t.appendChild(i));if(this.showEOL&&i){e&&(n=e.end.row);var s=this.dom.createElement("span");s.className="ace_invisible ace_invisible_eol",s.textContent=n==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,i.appendChild(s)}},this.$getFoldLineTokens=function(t,n){var e=this.session,r=[],i=e.getTokens(t);return n.walk((function(t,n,o,s,a){null!=t?r.push({type:"fold",value:t}):(a&&(i=e.getTokens(n)),i.length&&function(t,n,e){for(var i=0,o=0;o+t[i].value.lengthe-n&&(s=s.substring(0,e-n)),r.push({type:t[i].type,value:s}),o=n+s.length,i+=1);oe?r.push({type:t[i].type,value:s.substring(0,e-o)}):r.push(t[i]),o+=s.length,i+=1}}(i,s,o))}),n.end.row,this.session.getLine(n.end.row).length),r},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){}}).call(u.prototype),n.Text=u})),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],(function(t,n,e){"use strict";var r=t("../lib/dom"),i=function(t){this.element=r.createElement("div"),this.element.className="ace_layer ace_cursor-layer",t.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),r.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)};(function(){this.$updateOpacity=function(t){for(var n=this.cursors,e=n.length;e--;)r.setStyle(n[e].style,"opacity",t?"":"0")},this.$startCssAnimation=function(){for(var t=this.cursors,n=t.length;n--;)t[n].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&r.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},this.$stopCssAnimation=function(){this.$isAnimating=!1,r.removeCssClass(this.element,"ace_animate-blinking")},this.$padding=0,this.setPadding=function(t){this.$padding=t},this.setSession=function(t){this.session=t},this.setBlinking=function(t){t!=this.isBlinking&&(this.isBlinking=t,this.restartTimer())},this.setBlinkInterval=function(t){t!=this.blinkInterval&&(this.blinkInterval=t,this.restartTimer())},this.setSmoothBlinking=function(t){t!=this.smoothBlinking&&(this.smoothBlinking=t,r.setCssClass(this.element,"ace_smooth-blinking",t),this.$updateCursors(!0),this.restartTimer())},this.addCursor=function(){var t=r.createElement("div");return t.className="ace_cursor",this.element.appendChild(t),this.cursors.push(t),t},this.removeCursor=function(){if(this.cursors.length>1){var t=this.cursors.pop();return t.parentNode.removeChild(t),t}},this.hideCursor=function(){this.isVisible=!1,r.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.showCursor=function(){this.isVisible=!0,r.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.restartTimer=function(){var t=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,r.removeCssClass(this.element,"ace_smooth-blinking")),t(!0),this.isBlinking&&this.blinkInterval&&this.isVisible)if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&r.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),r.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var n=function(){this.timeoutId=setTimeout((function(){t(!1)}),.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval((function(){t(!0),n()}),this.blinkInterval),n()}else this.$stopCssAnimation()},this.getPixelPosition=function(t,n){if(!this.config||!this.session)return{left:0,top:0};t||(t=this.session.selection.getCursor());var e=this.session.documentToScreenPosition(t);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(e.row,t.row)?this.session.$bidiHandler.getPosLeft(e.column):e.column*this.config.characterWidth),top:(e.row-(n?this.config.firstRowScreen:0))*this.config.lineHeight}},this.isCursorInView=function(t,n){return t.top>=0&&t.topt.height+t.offset||s.top<0)&&e>1)){var a=this.cursors[i++]||this.addCursor(),u=a.style;this.drawCursor?this.drawCursor(a,s,t,n[e],this.session):this.isCursorInView(s,t)?(r.setStyle(u,"display","block"),r.translate(a,s.left,s.top),r.setStyle(u,"width",Math.round(t.characterWidth)+"px"),r.setStyle(u,"height",t.lineHeight+"px")):r.setStyle(u,"display","none")}}for(;this.cursors.length>i;)this.removeCursor();var c=this.session.getOverwrite();this.$setOverwrite(c),this.$pixelPos=s,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(t){t!=this.overwrite&&(this.overwrite=t,t?r.addCssClass(this.element,"ace_overwrite-cursors"):r.removeCssClass(this.element,"ace_overwrite-cursors"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(i.prototype),n.Cursor=i})),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(t,n,e){"use strict";var r=t("./lib/oop"),i=t("./lib/dom"),o=t("./lib/event"),s=t("./lib/event_emitter").EventEmitter,a=32768,u=function(t){this.element=i.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+this.classSuffix,this.inner=i.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent=" ",this.element.appendChild(this.inner),t.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,o.addListener(this.element,"scroll",this.onScroll.bind(this)),o.addListener(this.element,"mousedown",o.preventDefault)};(function(){r.implement(this,s),this.setVisible=function(t){this.element.style.display=t?"":"none",this.isVisible=t,this.coeff=1}}).call(u.prototype);var c=function(t,n){u.call(this,t),this.scrollTop=0,this.scrollHeight=0,n.$scrollbarWidth=this.width=i.scrollbarWidth(t.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+"px",this.$minWidth=0};r.inherits(c,u),function(){this.classSuffix="-v",this.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var t=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-t)/(this.coeff-t)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},this.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},this.setHeight=function(t){this.element.style.height=t+"px"},this.setInnerHeight=this.setScrollHeight=function(t){this.scrollHeight=t,t>a?(this.coeff=a/t,t=a):1!=this.coeff&&(this.coeff=1),this.inner.style.height=t+"px"},this.setScrollTop=function(t){this.scrollTop!=t&&(this.skipEvent=!0,this.scrollTop=t,this.element.scrollTop=t*this.coeff)}}.call(c.prototype);var l=function(t,n){u.call(this,t),this.scrollLeft=0,this.height=n.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+"px"};r.inherits(l,u),function(){this.classSuffix="-h",this.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},this.getHeight=function(){return this.isVisible?this.height:0},this.setWidth=function(t){this.element.style.width=t+"px"},this.setInnerWidth=function(t){this.inner.style.width=t+"px"},this.setScrollWidth=function(t){this.inner.style.width=t+"px"},this.setScrollLeft=function(t){this.scrollLeft!=t&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=t)}}.call(l.prototype),n.ScrollBar=c,n.ScrollBarV=c,n.ScrollBarH=l,n.VScrollBar=c,n.HScrollBar=l})),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(t,n,e){"use strict";var r=t("./lib/oop"),i=t("./lib/dom"),o=t("./lib/event"),s=t("./lib/event_emitter").EventEmitter;i.importCssString(".ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{\n position: absolute;\n background: rgba(128, 128, 128, 0.6);\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n border: 1px solid #bbb;\n border-radius: 2px;\n z-index: 8;\n}\n.ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h {\n position: absolute;\n z-index: 6;\n background: none;\n overflow: hidden!important;\n}\n.ace_editor>.ace_sb-v {\n z-index: 6;\n right: 0;\n top: 0;\n width: 12px;\n}\n.ace_editor>.ace_sb-v div {\n z-index: 8;\n right: 0;\n width: 100%;\n}\n.ace_editor>.ace_sb-h {\n bottom: 0;\n left: 0;\n height: 12px;\n}\n.ace_editor>.ace_sb-h div {\n bottom: 0;\n height: 100%;\n}\n.ace_editor>.ace_sb_grabbed {\n z-index: 8;\n background: #000;\n}","ace_scrollbar.css",!1);var a=function(t){this.element=i.createElement("div"),this.element.className="ace_sb"+this.classSuffix,this.inner=i.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,t.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,o.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")};(function(){r.implement(this,s),this.setVisible=function(t){this.element.style.display=t?"":"none",this.isVisible=t,this.coeff=1}}).call(a.prototype);var u=function(t,n){a.call(this,t),this.scrollTop=0,this.scrollHeight=0,this.parent=t,this.width=this.VScrollWidth,this.renderer=n,this.inner.style.width=this.element.style.width=(this.width||15)+"px",this.$minWidth=0};r.inherits(u,a),function(){this.classSuffix="-v",r.implement(this,s),this.onMouseDown=function(t,n){if("mousedown"===t&&0===o.getButton(n)&&2!==n.detail){if(n.target===this.inner){var e=this,r=n.clientY,i=n.clientY,s=this.thumbTop;o.capture(this.inner,(function(t){r=t.clientY}),(function(){clearInterval(a)}));var a=setInterval((function(){if(void 0!==r){var t=e.scrollTopFromThumbTop(s+r-i);t!==e.scrollTop&&e._emit("scroll",{data:t})}}),20);return o.preventDefault(n)}var u=n.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(u)}),o.preventDefault(n)}},this.getHeight=function(){return this.height},this.scrollTopFromThumbTop=function(t){var n=t*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return(n>>=0)<0?n=0:n>this.pageHeight-this.viewHeight&&(n=this.pageHeight-this.viewHeight),n},this.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},this.setHeight=function(t){this.height=Math.max(0,t),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},this.setInnerHeight=this.setScrollHeight=function(t,n){(this.pageHeight!==t||n)&&(this.pageHeight=t,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop})))},this.setScrollTop=function(t){this.scrollTop=t,t<0&&(t=0),this.thumbTop=t*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"}}.call(u.prototype);var c=function(t,n){a.call(this,t),this.scrollLeft=0,this.scrollWidth=0,this.height=this.HScrollHeight,this.inner.style.height=this.element.style.height=(this.height||12)+"px",this.renderer=n};r.inherits(c,a),function(){this.classSuffix="-h",r.implement(this,s),this.onMouseDown=function(t,n){if("mousedown"===t&&0===o.getButton(n)&&2!==n.detail){if(n.target===this.inner){var e=this,r=n.clientX,i=n.clientX,s=this.thumbLeft;o.capture(this.inner,(function(t){r=t.clientX}),(function(){clearInterval(a)}));var a=setInterval((function(){if(void 0!==r){var t=e.scrollLeftFromThumbLeft(s+r-i);t!==e.scrollLeft&&e._emit("scroll",{data:t})}}),20);return o.preventDefault(n)}var u=n.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(u)}),o.preventDefault(n)}},this.getHeight=function(){return this.isVisible?this.height:0},this.scrollLeftFromThumbLeft=function(t){var n=t*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return(n>>=0)<0?n=0:n>this.pageWidth-this.viewWidth&&(n=this.pageWidth-this.viewWidth),n},this.setWidth=function(t){this.width=Math.max(0,t),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},this.setInnerWidth=this.setScrollWidth=function(t,n){(this.pageWidth!==t||n)&&(this.pageWidth=t,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft})))},this.setScrollLeft=function(t){this.scrollLeft=t,t<0&&(t=0),this.thumbLeft=t*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"}}.call(c.prototype),n.ScrollBar=u,n.ScrollBarV=u,n.ScrollBarH=c,n.VScrollBar=u,n.HScrollBar=c})),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],(function(t,n,e){"use strict";var r=t("./lib/event"),i=function(t,n){this.onRender=t,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=n||window;var e=this;this._flush=function(t){e.pending=!1;var n=e.changes;if(n&&(r.blockIdle(100),e.changes=0,e.onRender(n)),e.changes){if(e.$recursionLimit--<0)return;e.schedule()}else e.$recursionLimit=2}};(function(){this.schedule=function(t){this.changes=this.changes|t,this.changes&&!this.pending&&(r.nextFrame(this._flush),this.pending=!0)},this.clear=function(t){var n=this.changes;return this.changes=0,n}}).call(i.prototype),n.RenderLoop=i})),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],(function(t,n,e){var r=t("../lib/oop"),i=t("../lib/dom"),o=t("../lib/lang"),s=t("../lib/event"),a=t("../lib/useragent"),u=t("../lib/event_emitter").EventEmitter,c="function"==typeof ResizeObserver,l=200,h=n.FontMetrics=function(t,n){this.charCount=n||250,this.el=i.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=i.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=i.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),t.appendChild(this.el),this.$measureNode.textContent=o.stringRepeat("X",this.charCount),this.$characterSize={width:0,height:0},c?this.$addObserver():this.checkForSizeChanges()};(function(){r.implement(this,u),this.$characterSize={width:0,height:0},this.$setMeasureNodeStyles=function(t,n){t.width=t.height="auto",t.left=t.top="0px",t.visibility="hidden",t.position="absolute",t.whiteSpace="pre",a.isIE<8?t["font-family"]="inherit":t.font="inherit",t.overflow=n?"hidden":"visible"},this.checkForSizeChanges=function(t){if(void 0===t&&(t=this.$measureSizes()),t&&(this.$characterSize.width!==t.width||this.$characterSize.height!==t.height)){this.$measureNode.style.fontWeight="bold";var n=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=t,this.charSizes=Object.create(null),this.allowBoldFonts=n&&n.width===t.width&&n.height===t.height,this._emit("changeCharacterSize",{data:t})}},this.$addObserver=function(){var t=this;this.$observer=new window.ResizeObserver((function(n){t.checkForSizeChanges()})),this.$observer.observe(this.$measureNode)},this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var t=this;return this.$pollSizeChangesTimer=s.onIdle((function n(){t.checkForSizeChanges(),s.onIdle(n,500)}),500)},this.setPolling=function(t){t?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(t){var n=(t=t||this.$measureNode).getBoundingClientRect(),e={height:n.height,width:n.width/this.charCount};return 0===e.width||0===e.height?null:e},this.$measureCharWidth=function(t){return this.$main.textContent=o.stringRepeat(t,this.charCount),this.$main.getBoundingClientRect().width/this.charCount},this.getCharacterWidth=function(t){var n=this.charSizes[t];return void 0===n&&(n=this.charSizes[t]=this.$measureCharWidth(t)/this.$characterSize.width),n},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},this.$getZoom=function t(n){return n&&n.parentElement?(window.getComputedStyle(n).zoom||1)*t(n.parentElement):1},this.$initTransformMeasureNodes=function(){var t=function(t,n){return["div",{style:"position: absolute;top:"+t+"px;left:"+n+"px;"}]};this.els=i.buildDom([t(0,0),t(l,0),t(0,l),t(l,l)],this.el)},this.transformCoordinates=function(t,n){function e(t,n,e){var r=t[1]*n[0]-t[0]*n[1];return[(-n[1]*e[0]+n[0]*e[1])/r,(+t[1]*e[0]-t[0]*e[1])/r]}function r(t,n){return[t[0]-n[0],t[1]-n[1]]}function i(t,n){return[t[0]+n[0],t[1]+n[1]]}function o(t,n){return[t*n[0],t*n[1]]}function s(t){var n=t.getBoundingClientRect();return[n.left,n.top]}t&&(t=o(1/this.$getZoom(this.el),t)),this.els||this.$initTransformMeasureNodes();var a=s(this.els[0]),u=s(this.els[1]),c=s(this.els[2]),h=s(this.els[3]),f=e(r(h,u),r(h,c),r(i(u,c),i(h,a))),d=o(1+f[0],r(u,a)),_=o(1+f[1],r(c,a));if(n){var p=n,v=f[0]*p[0]/l+f[1]*p[1]/l+1,g=i(o(p[0],d),o(p[1],_));return i(o(1/v/l,g),a)}var m=r(t,a),y=e(r(d,o(f[0],m)),r(_,o(f[1],m)),m);return o(l,y)}}).call(h.prototype)})),ace.define("ace/css/editor.css",["require","exports","module"],(function(t,n,e){e.exports='/*\nstyles = []\nfor (var i = 1; i < 16; i++) {\n styles.push(".ace_br" + i + "{" + (\n ["top-left", "top-right", "bottom-right", "bottom-left"]\n ).map(function(x, j) {\n return i & (1< .ace_line, .ace_text-layer > .ace_line_group {\n contain: style size layout;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n}\n\n.ace_hidpi .ace_text-layer,\n.ace_hidpi .ace_gutter-layer,\n.ace_hidpi .ace_content,\n.ace_hidpi .ace_gutter {\n contain: strict;\n will-change: transform;\n}\n.ace_hidpi .ace_text-layer > .ace_line, \n.ace_hidpi .ace_text-layer > .ace_line_group {\n contain: strict;\n}\n\n.ace_cjk {\n display: inline-block;\n text-align: center;\n}\n\n.ace_cursor-layer {\n z-index: 4;\n}\n\n.ace_cursor {\n z-index: 4;\n position: absolute;\n box-sizing: border-box;\n border-left: 2px solid;\n /* workaround for smooth cursor repaintng whole screen in chrome */\n transform: translatez(0);\n}\n\n.ace_multiselect .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_slim-cursors .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_overwrite-cursors .ace_cursor {\n border-left-width: 0;\n border-bottom: 1px solid;\n}\n\n.ace_hidden-cursors .ace_cursor {\n opacity: 0.2;\n}\n\n.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {\n opacity: 0;\n}\n\n.ace_smooth-blinking .ace_cursor {\n transition: opacity 0.18s;\n}\n\n.ace_animate-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: step-end;\n animation-name: blink-ace-animate;\n animation-iteration-count: infinite;\n}\n\n.ace_animate-blinking.ace_smooth-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: ease-in-out;\n animation-name: blink-ace-animate-smooth;\n}\n \n@keyframes blink-ace-animate {\n from, to { opacity: 1; }\n 60% { opacity: 0; }\n}\n\n@keyframes blink-ace-animate-smooth {\n from, to { opacity: 1; }\n 45% { opacity: 1; }\n 60% { opacity: 0; }\n 85% { opacity: 0; }\n}\n\n.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {\n position: absolute;\n z-index: 3;\n}\n\n.ace_marker-layer .ace_selection {\n position: absolute;\n z-index: 5;\n}\n\n.ace_marker-layer .ace_bracket {\n position: absolute;\n z-index: 6;\n}\n\n.ace_marker-layer .ace_error_bracket {\n position: absolute;\n border-bottom: 1px solid #DE5555;\n border-radius: 0;\n}\n\n.ace_marker-layer .ace_active-line {\n position: absolute;\n z-index: 2;\n}\n\n.ace_marker-layer .ace_selected-word {\n position: absolute;\n z-index: 4;\n box-sizing: border-box;\n}\n\n.ace_line .ace_fold {\n box-sizing: border-box;\n\n display: inline-block;\n height: 11px;\n margin-top: -2px;\n vertical-align: middle;\n\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");\n background-repeat: no-repeat, repeat-x;\n background-position: center center, top left;\n color: transparent;\n\n border: 1px solid black;\n border-radius: 2px;\n\n cursor: pointer;\n pointer-events: auto;\n}\n\n.ace_dark .ace_fold {\n}\n\n.ace_fold:hover{\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");\n}\n\n.ace_tooltip {\n background-color: #FFF;\n background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));\n border: 1px solid gray;\n border-radius: 1px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n color: black;\n max-width: 100%;\n padding: 3px 4px;\n position: fixed;\n z-index: 999999;\n box-sizing: border-box;\n cursor: default;\n white-space: pre;\n word-wrap: break-word;\n line-height: normal;\n font-style: normal;\n font-weight: normal;\n letter-spacing: normal;\n pointer-events: none;\n}\n\n.ace_folding-enabled > .ace_gutter-cell {\n padding-right: 13px;\n}\n\n.ace_fold-widget {\n box-sizing: border-box;\n\n margin: 0 -12px 0 1px;\n display: none;\n width: 11px;\n vertical-align: top;\n\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: center;\n\n border-radius: 3px;\n \n border: 1px solid transparent;\n cursor: pointer;\n}\n\n.ace_folding-enabled .ace_fold-widget {\n display: inline-block; \n}\n\n.ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");\n}\n\n.ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");\n}\n\n.ace_fold-widget:hover {\n border: 1px solid rgba(0, 0, 0, 0.3);\n background-color: rgba(255, 255, 255, 0.2);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\n}\n\n.ace_fold-widget:active {\n border: 1px solid rgba(0, 0, 0, 0.4);\n background-color: rgba(0, 0, 0, 0.05);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);\n}\n/**\n * Dark version for fold widgets\n */\n.ace_dark .ace_fold-widget {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");\n}\n.ace_dark .ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget:hover {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n background-color: rgba(255, 255, 255, 0.1);\n}\n.ace_dark .ace_fold-widget:active {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n}\n\n.ace_inline_button {\n border: 1px solid lightgray;\n display: inline-block;\n margin: -1px 8px;\n padding: 0 5px;\n pointer-events: auto;\n cursor: pointer;\n}\n.ace_inline_button:hover {\n border-color: gray;\n background: rgba(200,200,200,0.2);\n display: inline-block;\n pointer-events: auto;\n}\n\n.ace_fold-widget.ace_invalid {\n background-color: #FFB4B4;\n border-color: #DE5555;\n}\n\n.ace_fade-fold-widgets .ace_fold-widget {\n transition: opacity 0.4s ease 0.05s;\n opacity: 0;\n}\n\n.ace_fade-fold-widgets:hover .ace_fold-widget {\n transition: opacity 0.05s ease 0.05s;\n opacity:1;\n}\n\n.ace_underline {\n text-decoration: underline;\n}\n\n.ace_bold {\n font-weight: bold;\n}\n\n.ace_nobold .ace_bold {\n font-weight: normal;\n}\n\n.ace_italic {\n font-style: italic;\n}\n\n\n.ace_error-marker {\n background-color: rgba(255, 0, 0,0.2);\n position: absolute;\n z-index: 9;\n}\n\n.ace_highlight-marker {\n background-color: rgba(255, 255, 0,0.2);\n position: absolute;\n z-index: 8;\n}\n\n.ace_mobile-menu {\n position: absolute;\n line-height: 1.5;\n border-radius: 4px;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n background: white;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #dcdcdc;\n color: black;\n}\n.ace_dark > .ace_mobile-menu {\n background: #333;\n color: #ccc;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #444;\n\n}\n.ace_mobile-button {\n padding: 2px;\n cursor: pointer;\n overflow: hidden;\n}\n.ace_mobile-button:hover {\n background-color: #eee;\n opacity:1;\n}\n.ace_mobile-button:active {\n background-color: #ddd;\n}\n\n.ace_placeholder {\n font-family: arial;\n transform: scale(0.9);\n transform-origin: left;\n white-space: pre;\n opacity: 0.7;\n margin: 0 10px;\n}'})),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],(function(t,n,e){"use strict";var r=t("../lib/dom"),i=t("../lib/oop"),o=t("../lib/event_emitter").EventEmitter,s=function(t,n){this.canvas=r.createElement("canvas"),this.renderer=n,this.pixelRatio=1,this.maxHeight=n.layerConfig.maxHeight,this.lineHeight=n.layerConfig.lineHeight,this.canvasHeight=t.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=t.width,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7px",this.canvas.style.position="absolute",this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},t.element.appendChild(this.canvas)};(function(){i.implement(this,o),this.$updateDecorators=function(t){var n=!0===this.renderer.theme.isDark?this.colors.dark:this.colors.light;t&&(this.maxHeight=t.maxHeight,this.lineHeight=t.lineHeight,this.canvasHeight=t.height,(t.lastRow+1)*this.lineHeightn.priority?1:0}));for(var o=this.renderer.session.$foldData,s=0;sthis.canvasHeight&&(f=this.canvasHeight-this.halfMinDecorationHeight),l=Math.round(f-this.halfMinDecorationHeight),h=Math.round(f+this.halfMinDecorationHeight)}e.fillStyle=n[r[s].type]||null,e.fillRect(0,c,this.canvasWidth,h-l)}}var d=this.renderer.session.selection.getCursor();d&&(u=this.compensateFoldRows(d.row,o),c=Math.round((d.row-u)*this.lineHeight*this.heightRatio),e.fillStyle="rgba(0, 0, 0, 0.5)",e.fillRect(0,c,this.canvasWidth,2))},this.compensateFoldRows=function(t,n){var e=0;if(n&&n.length>0)for(var r=0;rn[r].start.row&&t=n[r].end.row&&(e+=n[r].end.row-n[r].start.row);return e}}).call(s.prototype),n.Decorator=s})),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor.css","ace/layer/decorators","ace/lib/useragent"],(function(t,n,e){"use strict";var r=t("./lib/oop"),i=t("./lib/dom"),o=t("./config"),s=t("./layer/gutter").Gutter,a=t("./layer/marker").Marker,u=t("./layer/text").Text,c=t("./layer/cursor").Cursor,l=t("./scrollbar").HScrollBar,h=t("./scrollbar").VScrollBar,f=t("./scrollbar_custom").HScrollBar,d=t("./scrollbar_custom").VScrollBar,_=t("./renderloop").RenderLoop,p=t("./layer/font_metrics").FontMetrics,v=t("./lib/event_emitter").EventEmitter,g=t("./css/editor.css"),m=t("./layer/decorators").Decorator,y=t("./lib/useragent"),w=y.isIE;i.importCssString(g,"ace_editor.css",!1);var b=function(t,n){var e=this;this.container=t||i.createElement("div"),i.addCssClass(this.container,"ace_editor"),i.HI_DPI&&i.addCssClass(this.container,"ace_hidpi"),this.setTheme(n),null==o.get("useStrictCSP")&&o.set("useStrictCSP",!1),this.$gutter=i.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden",!0),this.scroller=i.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=i.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new s(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new a(this.content);var r=this.$textLayer=new u(this.content);this.canvas=r.element,this.$markerFront=new a(this.content),this.$cursorLayer=new c(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new h(this.container,this),this.scrollBarH=new l(this.container,this),this.scrollBarV.on("scroll",(function(t){e.$scrollAnimation||e.session.setScrollTop(t.data-e.scrollMargin.top)})),this.scrollBarH.on("scroll",(function(t){e.$scrollAnimation||e.session.setScrollLeft(t.data-e.scrollMargin.left)})),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new p(this.container,this.$textLayer.MAX_CHUNK_LENGTH),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",(function(t){e.updateCharacterSize(),e.onResize(!0,e.gutterWidth,e.$size.width,e.$size.height),e._signal("changeCharacterSize",t)})),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!y.isIOS,this.$loop=new _(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),o.resetOptions(this),o._signal("renderer",this)};(function(){this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,r.implement(this,v),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),i.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},this.setSession=function(t){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=t,t&&this.scrollMargin.top&&t.getScrollTop()<=0&&t.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(t),this.$markerBack.setSession(t),this.$markerFront.setSession(t),this.$gutterLayer.setSession(t),this.$textLayer.setSession(t),t&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},this.updateLines=function(t,n,e){if(void 0===n&&(n=1/0),this.$changedLines?(this.$changedLines.firstRow>t&&(this.$changedLines.firstRow=t),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(t){t?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},this.onResize=function(t,n,e,r){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=t?1:0;var i=this.container;r||(r=i.clientHeight||i.scrollHeight),e||(e=i.clientWidth||i.scrollWidth);var o=this.$updateCachedSize(t,n,e,r);if(!this.$size.scrollerHeight||!e&&!r)return this.resizing=0;t&&(this.$gutterLayer.$padding=null),t?this.$renderChanges(o|this.$changes,!0):this.$loop.schedule(o|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},this.$updateCachedSize=function(t,n,e,r){r-=this.$extraHeight||0;var o=0,s=this.$size,a={width:s.width,height:s.height,scrollerHeight:s.scrollerHeight,scrollerWidth:s.scrollerWidth};if(r&&(t||s.height!=r)&&(s.height=r,o|=this.CHANGE_SIZE,s.scrollerHeight=s.height,this.$horizScroll&&(s.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(s.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",o|=this.CHANGE_SCROLL),e&&(t||s.width!=e)){o|=this.CHANGE_SIZE,s.width=e,null==n&&(n=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=n,i.setStyle(this.scrollBarH.element.style,"left",n+"px"),i.setStyle(this.scroller.style,"left",n+this.margin.left+"px"),s.scrollerWidth=Math.max(0,e-n-this.scrollBarV.getWidth()-this.margin.h),i.setStyle(this.$gutter.style,"left",this.margin.left+"px");var u=this.scrollBarV.getWidth()+"px";i.setStyle(this.scrollBarH.element.style,"right",u),i.setStyle(this.scroller.style,"right",u),i.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(s.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||t)&&(o|=this.CHANGE_FULL)}return s.$dirty=!e||!r,o&&this._signal("resize",a),o},this.onGutterResize=function(t){var n=this.$showGutter?t:0;n!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,n,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},this.adjustWrapLimit=function(){var t=this.$size.scrollerWidth-2*this.$padding,n=Math.floor(t/this.characterWidth);return this.session.adjustWrapLimit(n,this.$showPrintMargin&&this.$printMarginColumn)},this.setAnimatedScroll=function(t){this.setOption("animatedScroll",t)},this.getAnimatedScroll=function(){return this.$animatedScroll},this.setShowInvisibles=function(t){this.setOption("showInvisibles",t),this.session.$bidiHandler.setShowInvisibles(t)},this.getShowInvisibles=function(){return this.getOption("showInvisibles")},this.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},this.setDisplayIndentGuides=function(t){this.setOption("displayIndentGuides",t)},this.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},this.setHighlightIndentGuides=function(t){this.setOption("highlightIndentGuides",t)},this.setShowPrintMargin=function(t){this.setOption("showPrintMargin",t)},this.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},this.setPrintMarginColumn=function(t){this.setOption("printMarginColumn",t)},this.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},this.getShowGutter=function(){return this.getOption("showGutter")},this.setShowGutter=function(t){return this.setOption("showGutter",t)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.setFadeFoldWidgets=function(t){this.setOption("fadeFoldWidgets",t)},this.setHighlightGutterLine=function(t){this.setOption("highlightGutterLine",t)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var t=i.createElement("div");t.className="ace_layer ace_print-margin-layer",this.$printMarginEl=i.createElement("div"),this.$printMarginEl.className="ace_print-margin",t.appendChild(this.$printMarginEl),this.content.insertBefore(t,this.content.firstChild)}var n=this.$printMarginEl.style;n.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",n.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},this.getContainerElement=function(){return this.container},this.getMouseEventTarget=function(){return this.scroller},this.getTextAreaContainer=function(){return this.container},this.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var t=this.textarea.style,n=this.$composition;if(this.$keepTextAreaAtCursor||n){var e=this.$cursorLayer.$pixelPos;if(e){n&&n.markerRange&&(e=this.$cursorLayer.getPixelPosition(n.markerRange.start,!0));var r=this.layerConfig,o=e.top,s=e.left;o-=r.offset;var a=n&&n.useTextareaForIME?this.lineHeight:w?0:1;if(o<0||o>r.height-a)i.translate(this.textarea,0,0);else{var u=1,c=this.$size.height-a;if(n)if(n.useTextareaForIME){var l=this.textarea.value;u=this.characterWidth*this.session.$getStringScreenWidth(l)[0]}else o+=this.lineHeight+2;else o+=this.lineHeight;(s-=this.scrollLeft)>this.$size.scrollerWidth-u&&(s=this.$size.scrollerWidth-u),s+=this.gutterWidth+this.margin.left,i.setStyle(t,"height",a+"px"),i.setStyle(t,"width",u+"px"),i.translate(this.textarea,Math.min(s,this.$size.scrollerWidth-u),Math.min(o,c))}}}else i.translate(this.textarea,-100,0)}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},this.getLastFullyVisibleRow=function(){var t=this.layerConfig,n=t.lastRow;return this.session.documentToScreenRow(n,0)*t.lineHeight-this.session.getScrollTop()>t.height-t.lineHeight?n-1:n},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(t){this.$padding=t,this.$textLayer.setPadding(t),this.$cursorLayer.setPadding(t),this.$markerFront.setPadding(t),this.$markerBack.setPadding(t),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(t,n,e,r){var i=this.scrollMargin;i.top=0|t,i.bottom=0|n,i.right=0|r,i.left=0|e,i.v=i.top+i.bottom,i.h=i.left+i.right,i.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-i.top),this.updateFull()},this.setMargin=function(t,n,e,r){var i=this.margin;i.top=0|t,i.bottom=0|n,i.right=0|r,i.left=0|e,i.v=i.top+i.bottom,i.h=i.left+i.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(t){this.setOption("hScrollBarAlwaysVisible",t)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(t){this.setOption("vScrollBarAlwaysVisible",t)},this.$updateScrollBarV=function(){var t=this.layerConfig.maxHeight,n=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(t-=(n-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>t-n&&(t=this.scrollTop+n,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(t+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$frozen=!1,this.freeze=function(){this.$frozen=!0},this.unfreeze=function(){this.$frozen=!1},this.$renderChanges=function(t,n){if(this.$changes&&(t|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(t||n)){if(this.$size.$dirty)return this.$changes|=t,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",t),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var e=this.layerConfig;if(t&this.CHANGE_FULL||t&this.CHANGE_SIZE||t&this.CHANGE_TEXT||t&this.CHANGE_LINES||t&this.CHANGE_SCROLL||t&this.CHANGE_H_SCROLL){if(t|=this.$computeLayerConfig()|this.$loop.clear(),e.firstRow!=this.layerConfig.firstRow&&e.firstRowScreen==this.layerConfig.firstRowScreen){var r=this.scrollTop+(e.firstRow-this.layerConfig.firstRow)*this.lineHeight;r>0&&(this.scrollTop=r,t|=this.CHANGE_SCROLL,t|=this.$computeLayerConfig()|this.$loop.clear())}e=this.layerConfig,this.$updateScrollBarV(),t&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),i.translate(this.content,-this.scrollLeft,-e.offset);var o=e.width+2*this.$padding+"px",s=e.minHeight+"px";i.setStyle(this.content.style,"width",o),i.setStyle(this.content.style,"height",s)}if(t&this.CHANGE_H_SCROLL&&(i.translate(this.content,-this.scrollLeft,-e.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller":"ace_scroller ace_scroll-left"),t&this.CHANGE_FULL)return this.$changedLines=null,this.$textLayer.update(e),this.$showGutter&&this.$gutterLayer.update(e),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(e),this.$markerBack.update(e),this.$markerFront.update(e),this.$cursorLayer.update(e),this.$moveTextAreaToCursor(),void this._signal("afterRender",t);if(t&this.CHANGE_SCROLL)return this.$changedLines=null,t&this.CHANGE_TEXT||t&this.CHANGE_LINES?this.$textLayer.update(e):this.$textLayer.scrollLines(e),this.$showGutter&&(t&this.CHANGE_GUTTER||t&this.CHANGE_LINES?this.$gutterLayer.update(e):this.$gutterLayer.scrollLines(e)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(e),this.$markerBack.update(e),this.$markerFront.update(e),this.$cursorLayer.update(e),this.$moveTextAreaToCursor(),void this._signal("afterRender",t);t&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(e),this.$showGutter&&this.$gutterLayer.update(e),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(e)):t&this.CHANGE_LINES?((this.$updateLines()||t&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(e),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(e)):t&this.CHANGE_TEXT||t&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(e),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(e)):t&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(e),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(e)),t&this.CHANGE_CURSOR&&(this.$cursorLayer.update(e),this.$moveTextAreaToCursor()),t&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(e),t&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(e),this._signal("afterRender",t)}else this.$changes|=t},this.$autosize=function(){var t=this.session.getScreenLength()*this.lineHeight,n=this.$maxLines*this.lineHeight,e=Math.min(n,Math.max((this.$minLines||1)*this.lineHeight,t))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(e+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&e>this.$maxPixelHeight&&(e=this.$maxPixelHeight);var r=!(e<=2*this.lineHeight)&&t>n;if(e!=this.desiredHeight||this.$size.height!=this.desiredHeight||r!=this.$vScroll){r!=this.$vScroll&&(this.$vScroll=r,this.scrollBarV.setVisible(r));var i=this.container.clientWidth;this.container.style.height=e+"px",this.$updateCachedSize(!0,this.$gutterWidth,i,e),this.desiredHeight=e,this._signal("autosize")}},this.$computeLayerConfig=function(){var t=this.session,n=this.$size,e=n.height<=2*this.lineHeight,r=this.session.getScreenLength()*this.lineHeight,i=this.$getLongestLine(),o=!e&&(this.$hScrollBarAlwaysVisible||n.scrollerWidth-i-2*this.$padding<0),s=this.$horizScroll!==o;s&&(this.$horizScroll=o,this.scrollBarH.setVisible(o));var a=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var u=n.scrollerHeight+this.lineHeight,c=!this.$maxLines&&this.$scrollPastEnd?(n.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;r+=c;var l=this.scrollMargin;this.session.setScrollTop(Math.max(-l.top,Math.min(this.scrollTop,r-n.scrollerHeight+l.bottom))),this.session.setScrollLeft(Math.max(-l.left,Math.min(this.scrollLeft,i+2*this.$padding-n.scrollerWidth+l.right)));var h=!e&&(this.$vScrollBarAlwaysVisible||n.scrollerHeight-r+c<0||this.scrollTop>l.top),f=a!==h;f&&(this.$vScroll=h,this.scrollBarV.setVisible(h));var d,_,p=this.scrollTop%this.lineHeight,v=Math.ceil(u/this.lineHeight)-1,g=Math.max(0,Math.round((this.scrollTop-p)/this.lineHeight)),m=g+v,y=this.lineHeight;g=t.screenToDocumentRow(g,0);var w=t.getFoldLine(g);w&&(g=w.start.row),d=t.documentToScreenRow(g,0),_=t.getRowLength(g)*y,m=Math.min(t.screenToDocumentRow(m,0),t.getLength()-1),u=n.scrollerHeight+t.getRowLength(m)*y+_,p=this.scrollTop-d*y;var b=0;return(this.layerConfig.width!=i||s)&&(b=this.CHANGE_H_SCROLL),(s||f)&&(b|=this.$updateCachedSize(!0,this.gutterWidth,n.width,n.height),this._signal("scrollbarVisibilityChanged"),f&&(i=this.$getLongestLine())),this.layerConfig={width:i,padding:this.$padding,firstRow:g,firstRowScreen:d,lastRow:m,lineHeight:y,characterWidth:this.characterWidth,minHeight:u,maxHeight:r,offset:p,gutterOffset:y?Math.max(0,Math.ceil((p+n.height-n.scrollerHeight)/y)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(i-this.$padding),b},this.$updateLines=function(){if(this.$changedLines){var t=this.$changedLines.firstRow,n=this.$changedLines.lastRow;this.$changedLines=null;var e=this.layerConfig;if(!(t>e.lastRow+1||nthis.$textLayer.MAX_LINE_LENGTH&&(t=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(t*this.characterWidth))},this.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},this.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},this.addGutterDecoration=function(t,n){this.$gutterLayer.addGutterDecoration(t,n)},this.removeGutterDecoration=function(t,n){this.$gutterLayer.removeGutterDecoration(t,n)},this.updateBreakpoints=function(t){this.$loop.schedule(this.CHANGE_GUTTER)},this.setAnnotations=function(t){this.$gutterLayer.setAnnotations(t),this.$loop.schedule(this.CHANGE_GUTTER)},this.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},this.hideCursor=function(){this.$cursorLayer.hideCursor()},this.showCursor=function(){this.$cursorLayer.showCursor()},this.scrollSelectionIntoView=function(t,n,e){this.scrollCursorIntoView(t,e),this.scrollCursorIntoView(n,e)},this.scrollCursorIntoView=function(t,n,e){if(0!==this.$size.scrollerHeight){var r=this.$cursorLayer.getPixelPosition(t),i=r.left,o=r.top,s=e&&e.top||0,a=e&&e.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var u=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;u+s>o?(n&&u+s>o+this.lineHeight&&(o-=n*this.$size.scrollerHeight),0===o&&(o=-this.scrollMargin.top),this.session.setScrollTop(o)):u+this.$size.scrollerHeight-a=1-this.scrollMargin.top||n>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||t<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||t>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0},this.pixelToScreenCoordinates=function(t,n){var e;if(this.$hasCssTransforms){e={top:0,left:0};var r=this.$fontMetrics.transformCoordinates([t,n]);t=r[1]-this.gutterWidth-this.margin.left,n=r[0]}else e=this.scroller.getBoundingClientRect();var i=t+this.scrollLeft-e.left-this.$padding,o=i/this.characterWidth,s=Math.floor((n+this.scrollTop-e.top)/this.lineHeight),a=this.$blockCursor?Math.floor(o):Math.round(o);return{row:s,column:a,side:o-a>0?1:-1,offsetX:i}},this.screenToTextCoordinates=function(t,n){var e;if(this.$hasCssTransforms){e={top:0,left:0};var r=this.$fontMetrics.transformCoordinates([t,n]);t=r[1]-this.gutterWidth-this.margin.left,n=r[0]}else e=this.scroller.getBoundingClientRect();var i=t+this.scrollLeft-e.left-this.$padding,o=i/this.characterWidth,s=this.$blockCursor?Math.floor(o):Math.round(o),a=Math.floor((n+this.scrollTop-e.top)/this.lineHeight);return this.session.screenToDocumentPosition(a,Math.max(s,0),i)},this.textToScreenCoordinates=function(t,n){var e=this.scroller.getBoundingClientRect(),r=this.session.documentToScreenPosition(t,n),i=this.$padding+(this.session.$bidiHandler.isBidiRow(r.row,t)?this.session.$bidiHandler.getPosLeft(r.column):Math.round(r.column*this.characterWidth)),o=r.row*this.lineHeight;return{pageX:e.left+i-this.scrollLeft,pageY:e.top+o-this.scrollTop}},this.visualizeFocus=function(){i.addCssClass(this.container,"ace_focus")},this.visualizeBlur=function(){i.removeCssClass(this.container,"ace_focus")},this.showComposition=function(t){this.$composition=t,t.cssText||(t.cssText=this.textarea.style.cssText),null==t.useTextareaForIME&&(t.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(i.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):t.markerId=this.session.addMarker(t.markerRange,"ace_composition_marker","text")},this.setCompositionText=function(t){var n=this.session.selection.cursor;this.addToken(t,"composition_placeholder",n.row,n.column),this.$moveTextAreaToCursor()},this.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),i.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var t=this.session.selection.cursor;this.removeExtraToken(t.row,t.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},this.addToken=function(t,n,e,r){var i=this.session;i.bgTokenizer.lines[e]=null;var o={type:n,value:t},s=i.getTokens(e);if(null==r)s.push(o);else for(var a=0,u=0;u50&&t.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:t}))}}).call(u.prototype),n.UIWorkerClient=function(t,n,e){var r=null,i=!1,a=Object.create(o),c=[],l=new u({messageBuffer:c,terminate:function(){},postMessage:function(t){c.push(t),r&&(i?setTimeout(h):h())}});l.setEmitSync=function(t){i=t};var h=function(){var t=c.shift();t.command?r[t.command].apply(r,t.args):t.event&&a._signal(t.event,t.data)};return a.postMessage=function(t){l.onMessage({data:t})},a.callback=function(t,n){this.postMessage({type:"call",id:n,data:t})},a.emit=function(t,n){this.postMessage({type:"event",name:t,data:n})},s.loadModule(["worker",n],(function(t){for(r=new t[e](a);c.length;)h()})),l},n.WorkerClient=u,n.createWorker=a})),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],(function(t,n,e){"use strict";var r=t("./range").Range,i=t("./lib/event_emitter").EventEmitter,o=t("./lib/oop"),s=function(t,n,e,r,i,o){var s=this;this.length=n,this.session=t,this.doc=t.getDocument(),this.mainClass=i,this.othersClass=o,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=r,this.$onCursorChange=function(){setTimeout((function(){s.onCursorChange()}))},this.$pos=e;var a=t.getUndoManager().$undoStack||t.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=a.length,this.setup(),t.selection.on("changeCursor",this.$onCursorChange)};(function(){o.implement(this,i),this.setup=function(){var t=this,n=this.doc,e=this.session;this.selectionBefore=e.selection.toJSON(),e.selection.inMultiSelectMode&&e.selection.toSingleRange(),this.pos=n.createAnchor(this.$pos.row,this.$pos.column);var i=this.pos;i.$insertRight=!0,i.detach(),i.markerId=e.addMarker(new r(i.row,i.column,i.row,i.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach((function(e){var r=n.createAnchor(e.row,e.column);r.$insertRight=!0,r.detach(),t.others.push(r)})),e.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var t=this.session,n=this;this.othersActive=!0,this.others.forEach((function(e){e.markerId=t.addMarker(new r(e.row,e.column,e.row,e.column+n.length),n.othersClass,null,!1)}))}},this.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var t=0;t=this.pos.column&&n.start.column<=this.pos.column+this.length+1,o=n.start.column-this.pos.column;if(this.updateAnchors(t),i&&(this.length+=e),i&&!this.session.$fromUndo)if("insert"===t.action)for(var s=this.others.length-1;s>=0;s--){var a={row:(u=this.others[s]).row,column:u.column+o};this.doc.insertMergedLines(a,t.lines)}else if("remove"===t.action)for(s=this.others.length-1;s>=0;s--){var u;a={row:(u=this.others[s]).row,column:u.column+o},this.doc.remove(new r(a.row,a.column,a.row,a.column-e))}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(t){this.pos.onChange(t);for(var n=this.others.length;n--;)this.others[n].onChange(t);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var t=this,n=this.session,e=function(e,i){n.removeMarker(e.markerId),e.markerId=n.addMarker(new r(e.row,e.column,e.row,e.column+t.length),i,null,!1)};e(this.pos,this.mainClass);for(var i=this.others.length;i--;)e(this.others[i],this.othersClass)}},this.onCursorChange=function(t){if(!this.$updating&&this.session){var n=this.session.selection.getCursor();n.row===this.pos.row&&n.column>=this.pos.column&&n.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",t)):(this.hideOtherMarkers(),this._emit("cursorLeave",t))}},this.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},this.cancel=function(){if(-1!==this.$undoStackDepth){for(var t=this.session.getUndoManager(),n=(t.$undoStack||t.$undostack).length-this.$undoStackDepth,e=0;e1?t.multiSelect.joinSelections():t.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(t){t.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(t){t.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(t){t.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],n.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(t){t.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(t){return t&&t.inMultiSelectMode}}];var r=t("../keyboard/hash_handler").HashHandler;n.keyboardHandler=new r(n.multiSelectCommands)})),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],(function(t,n,e){var r=t("./range_list").RangeList,i=t("./range").Range,o=t("./selection").Selection,s=t("./mouse/multi_select_handler").onMouseDown,a=t("./lib/event"),u=t("./lib/lang"),c=t("./commands/multi_select_commands");n.commands=c.defaultCommands.concat(c.multiSelectCommands);var l=new(0,t("./search").Search),h=t("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(h.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(t,n){if(t){if(!this.inMultiSelectMode&&0===this.rangeCount){var e=this.toOrientedRange();if(this.rangeList.add(e),this.rangeList.add(t),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),n||this.fromOrientedRange(t);this.rangeList.removeAll(),this.rangeList.add(e),this.$onAddRange(e)}t.cursor||(t.cursor=t.end);var r=this.rangeList.add(t);return this.$onAddRange(t),r.length&&this.$onRemoveRange(r),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),n||this.fromOrientedRange(t)}},this.toSingleRange=function(t){t=t||this.ranges[0];var n=this.rangeList.removeAll();n.length&&this.$onRemoveRange(n),t&&this.fromOrientedRange(t)},this.substractPoint=function(t){var n=this.rangeList.substractPoint(t);if(n)return this.$onRemoveRange(n),n[0]},this.mergeOverlappingRanges=function(){var t=this.rangeList.merge();t.length&&this.$onRemoveRange(t)},this.$onAddRange=function(t){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(t),this._signal("addRange",{range:t})},this.$onRemoveRange=function(t){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var n=this.rangeList.ranges.pop();t.push(n),this.rangeCount=0}for(var e=t.length;e--;){var r=this.ranges.indexOf(t[e]);this.ranges.splice(r,1)}this._signal("removeRange",{ranges:t}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(n=n||this.ranges[0])&&!n.isEqual(this.getRange())&&this.fromOrientedRange(n)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new r,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var t=this.ranges.length?this.ranges:[this.getRange()],n=[],e=0;e1){var t=this.rangeList.ranges,n=t[t.length-1],e=i.fromPoints(t[0].start,n.end);this.toSingleRange(),this.setSelectionRange(e,n.cursor==n.start)}else{var r=this.session.documentToScreenPosition(this.cursor),o=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(r,o).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(t,n,e){var r=[],o=t.column0;)m--;if(m>0)for(var y=0;r[y].isEmpty();)y++;for(var w=m;w>=y;w--)r[w].isEmpty()&&r.splice(w,1)}return r}}.call(o.prototype);var f=t("./editor").Editor;function d(t){t.$multiselectOnSessionChange||(t.$onAddRange=t.$onAddRange.bind(t),t.$onRemoveRange=t.$onRemoveRange.bind(t),t.$onMultiSelect=t.$onMultiSelect.bind(t),t.$onSingleSelect=t.$onSingleSelect.bind(t),t.$multiselectOnSessionChange=n.onSessionChange.bind(t),t.$checkMultiselectChange=t.$checkMultiselectChange.bind(t),t.$multiselectOnSessionChange(t),t.on("changeSession",t.$multiselectOnSessionChange),t.on("mousedown",s),t.commands.addCommands(c.defaultCommands),function(t){if(t.textInput){var n=t.textInput.getElement(),e=!1;a.addListener(n,"keydown",(function(n){var i=18==n.keyCode&&!(n.ctrlKey||n.shiftKey||n.metaKey);t.$blockSelectEnabled&&i?e||(t.renderer.setMouseCursor("crosshair"),e=!0):e&&r()}),t),a.addListener(n,"keyup",r,t),a.addListener(n,"blur",r,t)}function r(n){e&&(t.renderer.setMouseCursor(""),e=!1)}}(t))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(t){t.cursor||(t.cursor=t.end);var n=this.getSelectionStyle();return t.marker=this.session.addMarker(t,"ace_selection",n),this.session.$selectionMarkers.push(t),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,t},this.removeSelectionMarker=function(t){if(t.marker){this.session.removeMarker(t.marker);var n=this.session.$selectionMarkers.indexOf(t);-1!=n&&this.session.$selectionMarkers.splice(n,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(t){for(var n=this.session.$selectionMarkers,e=t.length;e--;){var r=t[e];if(r.marker){this.session.removeMarker(r.marker);var i=n.indexOf(r);-1!=i&&n.splice(i,1)}}this.session.selectionMarkerCount=n.length},this.$onAddRange=function(t){this.addSelectionMarker(t.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(t){this.removeSelectionMarkers(t.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(t){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(c.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(t){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(c.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(t){var n=t.command,e=t.editor;if(e.multiSelect){if(n.multiSelectAction)"forEach"==n.multiSelectAction?r=e.forEachSelection(n,t.args):"forEachLine"==n.multiSelectAction?r=e.forEachSelection(n,t.args,!0):"single"==n.multiSelectAction?(e.exitMultiSelectMode(),r=n.exec(e,t.args||{})):r=n.multiSelectAction(e,t.args||{});else{var r=n.exec(e,t.args||{});e.multiSelect.addRange(e.multiSelect.toOrientedRange()),e.multiSelect.mergeOverlappingRanges()}return r}},this.forEachSelection=function(t,n,e){if(!this.inVirtualSelectionMode){var r,i=e&&e.keepOrder,s=1==e||e&&e.$byLines,a=this.session,u=this.selection,c=u.rangeList,l=(i?u:c).ranges;if(!l.length)return t.exec?t.exec(this,n||{}):t(this,n||{});var h=u._eventRegistry;u._eventRegistry={};var f=new o(a);this.inVirtualSelectionMode=!0;for(var d=l.length;d--;){if(s)for(;d>0&&l[d].start.row==l[d-1].end.row;)d--;f.fromOrientedRange(l[d]),f.index=d,this.selection=a.selection=f;var _=t.exec?t.exec(this,n||{}):t(this,n||{});r||void 0===_||(r=_),f.toOrientedRange(l[d])}f.detach(),this.selection=a.selection=u,this.inVirtualSelectionMode=!1,u._eventRegistry=h,u.mergeOverlappingRanges(),u.ranges[0]&&u.fromOrientedRange(u.ranges[0]);var p=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),p&&p.from==p.to&&this.renderer.animateScrolling(p.from),r}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var t="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var n=this.multiSelect.rangeList.ranges,e=[],r=0;rs&&(s=e.column),rl?t.insert(r,u.stringRepeat(" ",o-l)):t.remove(new i(r.row,r.column,r.row,r.column-o+l)),n.start.column=n.end.column=s,n.start.row=n.end.row=r.row,n.cursor=n.end})),n.fromOrientedRange(e[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var l=this.selection.getRange(),h=l.start.row,f=l.end.row,d=h==f;if(d){var _,p=this.session.getLength();do{_=this.session.getLine(f)}while(/[=:]/.test(_)&&++f0);h<0&&(h=0),f>=p&&(f=p-1)}var v=this.session.removeFullLines(h,f);v=this.$reAlignText(v,d),this.session.insert({row:h,column:0},v.join("\n")+"\n"),d||(l.start.column=0,l.end.column=v[v.length-1].length),this.selection.setRange(l)}},this.$reAlignText=function(t,n){var e,r,i,o=!0,s=!0;return t.map((function(t){var n=t.match(/(\s*)(.*?)(\s*)([=:].*)/);return n?null==e?(e=n[1].length,r=n[2].length,i=n[3].length,n):(e+r+i!=n[1].length+n[2].length+n[3].length&&(s=!1),e!=n[1].length&&(o=!1),e>n[1].length&&(e=n[1].length),rn[3].length&&(i=n[3].length),n):[t]})).map(n?c:o?s?function(t){return t[2]?a(e+r-t[2].length)+t[2]+a(i)+t[4].replace(/^([=:])\s+/,"$1 "):t[0]}:c:function(t){return t[2]?a(e)+t[2]+a(i)+t[4].replace(/^([=:])\s+/,"$1 "):t[0]});function a(t){return u.stringRepeat(" ",t)}function c(t){return t[2]?a(e)+t[2]+a(r-t[2].length+i)+t[4].replace(/^([=:])\s+/,"$1 "):t[0]}}}).call(f.prototype),n.onSessionChange=function(t){var n=t.session;n&&!n.multiSelect&&(n.$selectionMarkers=[],n.selection.$initRangeList(),n.multiSelect=n.selection),this.multiSelect=n&&n.multiSelect;var e=t.oldSession;e&&(e.multiSelect.off("addRange",this.$onAddRange),e.multiSelect.off("removeRange",this.$onRemoveRange),e.multiSelect.off("multiSelect",this.$onMultiSelect),e.multiSelect.off("singleSelect",this.$onSingleSelect),e.multiSelect.lead.off("change",this.$checkMultiselectChange),e.multiSelect.anchor.off("change",this.$checkMultiselectChange)),n&&(n.multiSelect.on("addRange",this.$onAddRange),n.multiSelect.on("removeRange",this.$onRemoveRange),n.multiSelect.on("multiSelect",this.$onMultiSelect),n.multiSelect.on("singleSelect",this.$onSingleSelect),n.multiSelect.lead.on("change",this.$checkMultiselectChange),n.multiSelect.anchor.on("change",this.$checkMultiselectChange)),n&&this.inMultiSelectMode!=n.selection.inMultiSelectMode&&(n.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},n.MultiSelect=d,t("./config").defineOptions(f.prototype,"editor",{enableMultiselect:{set:function(t){d(this),t?(this.on("changeSession",this.$multiselectOnSessionChange),this.on("mousedown",s)):(this.off("changeSession",this.$multiselectOnSessionChange),this.off("mousedown",s))},value:!0},enableBlockSelect:{set:function(t){this.$blockSelectEnabled=t},value:!0}})})),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],(function(t,n,e){"use strict";var r=t("../../range").Range,i=n.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(t,n,e){var r=t.getLine(e);return this.foldingStartMarker.test(r)?"start":"markbeginend"==n&&this.foldingStopMarker&&this.foldingStopMarker.test(r)?"end":""},this.getFoldWidgetRange=function(t,n,e){return null},this.indentationBlock=function(t,n,e){var i=/\S/,o=t.getLine(n),s=o.search(i);if(-1!=s){for(var a=e||o.length,u=t.getLength(),c=n,l=n;++nc){var d=t.getLine(l).length;return new r(c,a,l,d)}}},this.openingBracketBlock=function(t,n,e,i,o){var s={row:e,column:i+1},a=t.$findClosingBracket(n,s,o);if(a){var u=t.foldWidgets[a.row];return null==u&&(u=t.getFoldWidget(a.row)),"start"==u&&a.row>s.row&&(a.row--,a.column=t.getLine(a.row).length),r.fromPoints(s,a)}},this.closingBracketBlock=function(t,n,e,i,o){var s={row:e,column:i},a=t.$findOpeningBracket(n,s);if(a)return a.column++,s.column--,r.fromPoints(a,s)}}).call(i.prototype)})),ace.define("ace/line_widgets",["require","exports","module","ace/lib/dom"],(function(t,n,e){"use strict";var r=t("./lib/dom");function i(t){this.session=t,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on("change",this.updateOnChange),this.session.on("changeFold",this.updateOnFold),this.session.on("changeEditor",this.$onChangeEditor)}(function(){this.getRowLength=function(t){var n;return n=this.lineWidgets&&this.lineWidgets[t]&&this.lineWidgets[t].rowCount||0,this.$useWrapMode&&this.$wrapData[t]?this.$wrapData[t].length+1+n:1+n},this.$getWidgetScreenLength=function(){var t=0;return this.lineWidgets.forEach((function(n){n&&n.rowCount&&!n.hidden&&(t+=n.rowCount)})),t},this.$onChangeEditor=function(t){this.attach(t.editor)},this.attach=function(t){t&&t.widgetManager&&t.widgetManager!=this&&t.widgetManager.detach(),this.editor!=t&&(this.detach(),this.editor=t,t&&(t.widgetManager=this,t.renderer.on("beforeRender",this.measureWidgets),t.renderer.on("afterRender",this.renderWidgets)))},this.detach=function(t){var n=this.editor;if(n){this.editor=null,n.widgetManager=null,n.renderer.off("beforeRender",this.measureWidgets),n.renderer.off("afterRender",this.renderWidgets);var e=this.session.lineWidgets;e&&e.forEach((function(t){t&&t.el&&t.el.parentNode&&(t._inDocument=!1,t.el.parentNode.removeChild(t.el))}))}},this.updateOnFold=function(t,n){var e=n.lineWidgets;if(e&&t.action){for(var r=t.data,i=r.start.row,o=r.end.row,s="add"==t.action,a=i+1;an[e].column&&e++,o.unshift(e,0),n.splice.apply(n,o),this.$updateRows()}}},this.$updateRows=function(){var t=this.session.lineWidgets;if(t){var n=!0;t.forEach((function(t,e){if(t)for(n=!1,t.row=e;t.$oldWidget;)t.$oldWidget.row=e,t=t.$oldWidget})),n&&(this.session.lineWidgets=null)}},this.$registerLineWidget=function(t){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var n=this.session.lineWidgets[t.row];return n&&(t.$oldWidget=n,n.el&&n.el.parentNode&&(n.el.parentNode.removeChild(n.el),n._inDocument=!1)),this.session.lineWidgets[t.row]=t,t},this.addLineWidget=function(t){if(this.$registerLineWidget(t),t.session=this.session,!this.editor)return t;var n=this.editor.renderer;t.html&&!t.el&&(t.el=r.createElement("div"),t.el.innerHTML=t.html),t.el&&(r.addCssClass(t.el,"ace_lineWidgetContainer"),t.el.style.position="absolute",t.el.style.zIndex=5,n.container.appendChild(t.el),t._inDocument=!0,t.coverGutter||(t.el.style.zIndex=3),null==t.pixelHeight&&(t.pixelHeight=t.el.offsetHeight)),null==t.rowCount&&(t.rowCount=t.pixelHeight/n.layerConfig.lineHeight);var e=this.session.getFoldAt(t.row,0);if(t.$fold=e,e){var i=this.session.lineWidgets;t.row!=e.end.row||i[e.start.row]?t.hidden=!0:i[e.start.row]=t}return this.session._emit("changeFold",{data:{start:{row:t.row}}}),this.$updateRows(),this.renderWidgets(null,n),this.onWidgetChanged(t),t},this.removeLineWidget=function(t){if(t._inDocument=!1,t.session=null,t.el&&t.el.parentNode&&t.el.parentNode.removeChild(t.el),t.editor&&t.editor.destroy)try{t.editor.destroy()}catch(t){}if(this.session.lineWidgets){var n=this.session.lineWidgets[t.row];if(n==t)this.session.lineWidgets[t.row]=t.$oldWidget,t.$oldWidget&&this.onWidgetChanged(t.$oldWidget);else for(;n;){if(n.$oldWidget==t){n.$oldWidget=t.$oldWidget;break}n=n.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:t.row}}}),this.$updateRows()},this.getWidgetsAtRow=function(t){for(var n=this.session.lineWidgets,e=n&&n[t],r=[];e;)r.push(e),e=e.$oldWidget;return r},this.onWidgetChanged=function(t){this.session._changedWidgets.push(t),this.editor&&this.editor.renderer.updateFull()},this.measureWidgets=function(t,n){var e=this.session._changedWidgets,r=n.layerConfig;if(e&&e.length){for(var i=1/0,o=0;o0&&!r[i];)i--;this.firstRow=e.firstRow,this.lastRow=e.lastRow,n.$cursorLayer.config=e;for(var s=i;s<=o;s++){var a=r[s];if(a&&a.el)if(a.hidden)a.el.style.top=-100-(a.pixelHeight||0)+"px";else{a._inDocument||(a._inDocument=!0,n.container.appendChild(a.el));var u=n.$cursorLayer.getPixelPosition({row:s,column:0},!0).top;a.coverLine||(u+=e.lineHeight*this.session.getRowLineCount(a.row)),a.el.style.top=u-e.offset+"px";var c=a.coverGutter?0:n.gutterWidth;a.fixedWidth||(c-=n.scrollLeft),a.el.style.left=c+"px",a.fullWidth&&a.screenWidth&&(a.el.style.minWidth=e.width+2*e.padding+"px"),a.fixedWidth?a.el.style.right=n.scrollBar.getWidth()+"px":a.el.style.right=""}}}}}).call(i.prototype),n.LineWidgets=i})),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range"],(function(t,n,e){"use strict";var r=t("../line_widgets").LineWidgets,i=t("../lib/dom"),o=t("../range").Range;n.showErrorMarker=function(t,n){var e=t.session;e.widgetManager||(e.widgetManager=new r(e),e.widgetManager.attach(t));var s=t.getCursorPosition(),a=s.row,u=e.widgetManager.getWidgetsAtRow(a).filter((function(t){return"errorMarker"==t.type}))[0];u?u.destroy():a-=n;var c,l=function(t,n,e){var r=t.getAnnotations().sort(o.comparePoints);if(r.length){var i=function(t,n,e){for(var r=0,i=t.length-1;r<=i;){var o=r+i>>1,s=e(n,t[o]);if(s>0)r=o+1;else{if(!(s<0))return o;i=o-1}}return-(r+1)}(r,{row:n,column:-1},o.comparePoints);i<0&&(i=-i-1),i>=r.length?i=e>0?0:r.length-1:0===i&&e<0&&(i=r.length-1);var s=r[i];if(s&&e){if(s.row===n){do{s=r[i+=e]}while(s&&s.row===n);if(!s)return r.slice()}var a=[];n=s.row;do{a[e<0?"unshift":"push"](s),s=r[i+=e]}while(s&&s.row==n);return a.length&&a}}}(e,a,n);if(l){var h=l[0];s.column=(h.pos&&"number"!=typeof h.column?h.pos.sc:h.column)||0,s.row=h.row,c=t.renderer.$gutterLayer.$annotations[s.row]}else{if(u)return;c={text:["Looks good!"],className:"ace_ok"}}t.session.unfold(s.row),t.selection.moveToPosition(s);var f={row:s.row,fixedWidth:!0,coverGutter:!0,el:i.createElement("div"),type:"errorMarker"},d=f.el.appendChild(i.createElement("div")),_=f.el.appendChild(i.createElement("div"));_.className="error_widget_arrow "+c.className;var p=t.renderer.$cursorLayer.getPixelPosition(s).left;_.style.left=p+t.renderer.gutterWidth-5+"px",f.el.className="error_widget_wrapper",d.className="error_widget "+c.className,d.innerHTML=c.text.join("
"),d.appendChild(i.createElement("div"));var v=function(t,n,e){if(0===n&&("esc"===e||"return"===e))return f.destroy(),{command:"null"}};f.destroy=function(){t.$mouseHandler.isMousePressed||(t.keyBinding.removeKeyboardHandler(v),e.widgetManager.removeLineWidget(f),t.off("changeSelection",f.destroy),t.off("changeSession",f.destroy),t.off("mouseup",f.destroy),t.off("change",f.destroy))},t.keyBinding.addKeyboardHandler(v),t.on("changeSelection",f.destroy),t.on("changeSession",f.destroy),t.on("mouseup",f.destroy),t.on("change",f.destroy),t.session.widgetManager.addLineWidget(f),f.el.onmousedown=t.focus.bind(t),t.renderer.scrollCursorIntoView(null,.5,{bottom:f.el.offsetHeight})},i.importCssString("\n .error_widget_wrapper {\n background: inherit;\n color: inherit;\n border:none\n }\n .error_widget {\n border-top: solid 2px;\n border-bottom: solid 2px;\n margin: 5px 0;\n padding: 10px 40px;\n white-space: pre-wrap;\n }\n .error_widget.ace_error, .error_widget_arrow.ace_error{\n border-color: #ff5a5a\n }\n .error_widget.ace_warning, .error_widget_arrow.ace_warning{\n border-color: #F1D817\n }\n .error_widget.ace_info, .error_widget_arrow.ace_info{\n border-color: #5a5a5a\n }\n .error_widget.ace_ok, .error_widget_arrow.ace_ok{\n border-color: #5aaa5a\n }\n .error_widget_arrow {\n position: absolute;\n border: solid 5px;\n border-top-color: transparent!important;\n border-right-color: transparent!important;\n border-left-color: transparent!important;\n top: -5px;\n }\n","error_marker.css",!1)})),ace.define("ace/ace",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config","ace/loader_build"],(function(t,n,e){"use strict";t("./loader_build")(n);var r=t("./lib/dom"),i=t("./lib/event"),o=t("./range").Range,s=t("./editor").Editor,a=t("./edit_session").EditSession,u=t("./undomanager").UndoManager,c=t("./virtual_renderer").VirtualRenderer;t("./worker/worker_client"),t("./keyboard/hash_handler"),t("./placeholder"),t("./multi_select"),t("./mode/folding/fold_mode"),t("./theme/textmate"),t("./ext/error_marker"),n.config=t("./config"),n.edit=function(t,e){if("string"==typeof t){var o=t;if(!(t=document.getElementById(o)))throw new Error("ace.edit can't find div #"+o)}if(t&&t.env&&t.env.editor instanceof s)return t.env.editor;var a="";if(t&&/input|textarea/i.test(t.tagName)){var u=t;a=u.value,t=r.createElement("pre"),u.parentNode.replaceChild(t,u)}else t&&(a=t.textContent,t.innerHTML="");var l=n.createEditSession(a),h=new s(new c(t),l,e),f={document:l,editor:h,onResize:h.resize.bind(h,null)};return u&&(f.textarea=u),i.addListener(window,"resize",f.onResize),h.on("destroy",(function(){i.removeListener(window,"resize",f.onResize),f.editor.container.env=null})),h.container.env=h.env=f,h},n.createEditSession=function(t,n){var e=new a(t,n);return e.setUndoManager(new u),e},n.Range=o,n.Editor=s,n.EditSession=a,n.UndoManager=u,n.VirtualRenderer=c,n.version=n.config.version})),ace.require(["ace/ace"],(function(n){for(var e in n&&(n.config.init(!0),n.define=ace.define),window.ace||(window.ace=n),n)n.hasOwnProperty(e)&&(window.ace[e]=n[e]);window.ace.default=window.ace,t&&(t.exports=window.ace)}))},55301:(t,n,e)=>{t=e.nmd(t),ace.define("ace/split",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/editor","ace/virtual_renderer","ace/edit_session"],(function(t,n,e){"use strict";var r=t("./lib/oop"),i=(t("./lib/lang"),t("./lib/event_emitter").EventEmitter),o=t("./editor").Editor,s=t("./virtual_renderer").VirtualRenderer,a=t("./edit_session").EditSession,u=function(t,n,e){this.BELOW=1,this.BESIDE=0,this.$container=t,this.$theme=n,this.$splits=0,this.$editorCSS="",this.$editors=[],this.$orientation=this.BESIDE,this.setSplits(e||1),this.$cEditor=this.$editors[0],this.on("focus",function(t){this.$cEditor=t}.bind(this))};(function(){r.implement(this,i),this.$createEditor=function(){var t=document.createElement("div");t.className=this.$editorCSS,t.style.cssText="position: absolute; top:0px; bottom:0px",this.$container.appendChild(t);var n=new o(new s(t,this.$theme));return n.on("focus",function(){this._emit("focus",n)}.bind(this)),this.$editors.push(n),n.setFontSize(this.$fontSize),n},this.setSplits=function(t){var n;if(t<1)throw"The number of splits have to be > 0!";if(t!=this.$splits){if(t>this.$splits){for(;this.$splitst;)n=this.$editors[this.$splits-1],this.$container.removeChild(n.container),this.$splits--;this.resize()}},this.getSplits=function(){return this.$splits},this.getEditor=function(t){return this.$editors[t]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(t){this.$editors.forEach((function(n){n.setTheme(t)}))},this.setKeyboardHandler=function(t){this.$editors.forEach((function(n){n.setKeyboardHandler(t)}))},this.forEach=function(t,n){this.$editors.forEach(t,n)},this.$fontSize="",this.setFontSize=function(t){this.$fontSize=t,this.forEach((function(n){n.setFontSize(t)}))},this.$cloneSession=function(t){var n=new a(t.getDocument(),t.getMode()),e=t.getUndoManager();return n.setUndoManager(e),n.setTabSize(t.getTabSize()),n.setUseSoftTabs(t.getUseSoftTabs()),n.setOverwrite(t.getOverwrite()),n.setBreakpoints(t.getBreakpoints()),n.setUseWrapMode(t.getUseWrapMode()),n.setUseWorker(t.getUseWorker()),n.setWrapLimitRange(t.$wrapLimitRange.min,t.$wrapLimitRange.max),n.$foldData=t.$cloneFoldData(),n},this.setSession=function(t,n){var e;e=null==n?this.$cEditor:this.$editors[n];var r=this.$editors.some((function(n){return n.session===t}));return r&&(t=this.$cloneSession(t)),e.setSession(t),t},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(t){this.$orientation!=t&&(this.$orientation=t,this.resize())},this.resize=function(){var t,n=this.$container.clientWidth,e=this.$container.clientHeight;if(this.$orientation==this.BESIDE)for(var r=n/this.$splits,i=0;i{"use strict";e.r(n),e.d(n,{default:()=>H});const r=Object.freeze({NONE:0,ROTATE:1,TRUCK:2,OFFSET:4,DOLLY:8,ZOOM:16,TOUCH_ROTATE:32,TOUCH_TRUCK:64,TOUCH_OFFSET:128,TOUCH_DOLLY:256,TOUCH_ZOOM:512,TOUCH_DOLLY_TRUCK:1024,TOUCH_DOLLY_OFFSET:2048,TOUCH_ZOOM_TRUCK:4096,TOUCH_ZOOM_OFFSET:8192});function i(t){return t.isPerspectiveCamera}function o(t){return t.isOrthographicCamera}const s=2*Math.PI,a=Math.PI/2,u=1e-5;function c(t,n=u){return Math.abs(t){n.x+=t.clientX,n.y+=t.clientY})),n.x/=t.length,n.y/=t.length}function p(t,n){return!!o(t)&&(console.warn(`${n} is not supported in OrthographicCamera`),!0)}function v(t){return t.invert?t.invert():t.inverse(),t}class g{constructor(){this._listeners={}}addEventListener(t,n){const e=this._listeners;void 0===e[t]&&(e[t]=[]),-1===e[t].indexOf(n)&&e[t].push(n)}removeEventListener(t,n){const e=this._listeners[t];if(void 0!==e){const t=e.indexOf(n);-1!==t&&e.splice(t,1)}}removeAllEventListeners(t){t?Array.isArray(this._listeners[t])&&(this._listeners[t].length=0):this._listeners={}}dispatchEvent(t){const n=this._listeners[t.type];if(void 0!==n){t.target=this;const e=n.slice(0);for(let n=0,r=e.length;n{},this._enabled=!0,this._state=r.NONE,this._viewport=null,this._dollyControlAmount=0,this._hasRested=!0,this._boundaryEnclosesCamera=!1,this._needsUpdate=!0,this._updatedLastTime=!1,this._elementRect=new DOMRect,this._activePointers=[],this._truckInternal=(t,n,e)=>{if(i(this._camera)){const r=E.copy(this._camera.position).sub(this._target),i=this._camera.getEffectiveFOV()*x.MathUtils.DEG2RAD,o=r.length()*Math.tan(.5*i),s=this.truckSpeed*t*o/this._elementRect.height,a=this.truckSpeed*n*o/this._elementRect.height;this.verticalDragToForward?(e?this.setFocalOffset(this._focalOffsetEnd.x+s,this._focalOffsetEnd.y,this._focalOffsetEnd.z,!0):this.truck(s,0,!0),this.forward(-a,!0)):e?this.setFocalOffset(this._focalOffsetEnd.x+s,this._focalOffsetEnd.y+a,this._focalOffsetEnd.z,!0):this.truck(s,a,!0)}else if(o(this._camera)){const r=this._camera,i=t*(r.right-r.left)/r.zoom/this._elementRect.width,o=n*(r.top-r.bottom)/r.zoom/this._elementRect.height;e?this.setFocalOffset(this._focalOffsetEnd.x+i,this._focalOffsetEnd.y+o,this._focalOffsetEnd.z,!0):this.truck(i,o,!0)}},this._rotateInternal=(t,n)=>{const e=s*this.azimuthRotateSpeed*t/this._elementRect.height,r=s*this.polarRotateSpeed*n/this._elementRect.height;this.rotate(e,r,!0)},this._dollyInternal=(t,n,e)=>{const r=Math.pow(.95,-t*this.dollySpeed),i=this._sphericalEnd.radius*r,o=this._sphericalEnd.radius,s=o*(t>=0?-1:1);this.dollyTo(i),this.infinityDolly&&(i{const r=Math.pow(.95,t*this.dollySpeed);this.zoomTo(this._zoom*r),this.dollyToCursor&&(this._dollyControlAmount=this._zoomEnd,this._dollyControlCoord.set(n,e))},void 0===x&&console.error("camera-controls: `THREE` is undefined. You must first run `CameraControls.install( { THREE: THREE } )`. Check the docs for further information."),this._camera=t,this._yAxisUpSpace=(new x.Quaternion).setFromUnitVectors(this._camera.up,S),this._yAxisUpSpaceInverse=v(this._yAxisUpSpace.clone()),this._state=r.NONE,this._domElement=n,this._domElement.style.touchAction="none",this._domElement.style.userSelect="none",this._domElement.style.webkitUserSelect="none",this._target=new x.Vector3,this._targetEnd=this._target.clone(),this._focalOffset=new x.Vector3,this._focalOffsetEnd=this._focalOffset.clone(),this._spherical=(new x.Spherical).setFromVector3(E.copy(this._camera.position).applyQuaternion(this._yAxisUpSpace)),this._sphericalEnd=this._spherical.clone(),this._zoom=this._camera.zoom,this._zoomEnd=this._zoom,this._nearPlaneCorners=[new x.Vector3,new x.Vector3,new x.Vector3,new x.Vector3],this._updateNearPlaneCorners(),this._boundary=new x.Box3(new x.Vector3(-1/0,-1/0,-1/0),new x.Vector3(1/0,1/0,1/0)),this._target0=this._target.clone(),this._position0=this._camera.position.clone(),this._zoom0=this._zoom,this._focalOffset0=this._focalOffset.clone(),this._dollyControlAmount=0,this._dollyControlCoord=new x.Vector2,this.mouseButtons={left:r.ROTATE,middle:r.DOLLY,right:r.TRUCK,wheel:i(this._camera)?r.DOLLY:o(this._camera)?r.ZOOM:r.NONE},this.touches={one:r.TOUCH_ROTATE,two:i(this._camera)?r.TOUCH_DOLLY_TRUCK:o(this._camera)?r.TOUCH_ZOOM_TRUCK:r.NONE,three:r.TOUCH_TRUCK},this._domElement){const t=new x.Vector2,n=new x.Vector2,e=new x.Vector2,i=t=>{if(!this._enabled)return;const n={pointerId:t.pointerId,clientX:t.clientX,clientY:t.clientY,deltaX:0,deltaY:0};this._activePointers.push(n),this._domElement.ownerDocument.removeEventListener("pointermove",a,{passive:!1}),this._domElement.ownerDocument.removeEventListener("pointerup",l),this._domElement.ownerDocument.addEventListener("pointermove",a,{passive:!1}),this._domElement.ownerDocument.addEventListener("pointerup",l),g()},o=t=>{if(!this._enabled)return;const n={pointerId:0,clientX:t.clientX,clientY:t.clientY,deltaX:0,deltaY:0};this._activePointers.push(n),this._domElement.ownerDocument.removeEventListener("mousemove",u),this._domElement.ownerDocument.removeEventListener("mouseup",h),this._domElement.ownerDocument.addEventListener("mousemove",u),this._domElement.ownerDocument.addEventListener("mouseup",h),g()},s=t=>{if(this._enabled){switch(t.preventDefault(),Array.prototype.forEach.call(t.changedTouches,(t=>{const n={pointerId:t.identifier,clientX:t.clientX,clientY:t.clientY,deltaX:0,deltaY:0};this._activePointers.push(n)})),this._activePointers.length){case 1:this._state=this.touches.one;break;case 2:this._state=this.touches.two;break;case 3:this._state=this.touches.three}this._domElement.ownerDocument.removeEventListener("touchmove",c,{passive:!1}),this._domElement.ownerDocument.removeEventListener("touchend",f),this._domElement.ownerDocument.addEventListener("touchmove",c,{passive:!1}),this._domElement.ownerDocument.addEventListener("touchend",f),g()}},a=t=>{t.cancelable&&t.preventDefault();const n=t.pointerId,e=this._findPointerById(n);if(e){if(e.clientX=t.clientX,e.clientY=t.clientY,e.deltaX=t.movementX,e.deltaY=t.movementY,"touch"===t.pointerType)switch(this._activePointers.length){case 1:this._state=this.touches.one;break;case 2:this._state=this.touches.two;break;case 3:this._state=this.touches.three}else this._state=0,1==(1&t.buttons)&&(this._state=this._state|this.mouseButtons.left),3==(3&t.buttons)&&(this._state=this._state|this.mouseButtons.middle),2==(2&t.buttons)&&(this._state=this._state|this.mouseButtons.right);m()}},u=t=>{const n=this._findPointerById(0);n&&(n.clientX=t.clientX,n.clientY=t.clientY,n.deltaX=t.movementX,n.deltaY=t.movementY,this._state=0,1==(1&t.buttons)&&(this._state=this._state|this.mouseButtons.left),3==(3&t.buttons)&&(this._state=this._state|this.mouseButtons.middle),2==(2&t.buttons)&&(this._state=this._state|this.mouseButtons.right),m())},c=t=>{t.cancelable&&t.preventDefault(),Array.prototype.forEach.call(t.changedTouches,(t=>{const n=t.identifier,e=this._findPointerById(n);e&&(e.clientX=t.clientX,e.clientY=t.clientY)})),m()},l=t=>{const n=t.pointerId,e=this._findPointerById(n);if(e&&this._activePointers.splice(this._activePointers.indexOf(e),1),"touch"===t.pointerType)switch(this._activePointers.length){case 0:this._state=r.NONE;break;case 1:this._state=this.touches.one;break;case 2:this._state=this.touches.two;break;case 3:this._state=this.touches.three}else this._state=r.NONE;k()},h=()=>{const t=this._findPointerById(0);t&&this._activePointers.splice(this._activePointers.indexOf(t),1),this._state=r.NONE,k()},f=t=>{switch(Array.prototype.forEach.call(t.changedTouches,(t=>{const n=t.identifier,e=this._findPointerById(n);e&&this._activePointers.splice(this._activePointers.indexOf(e),1)})),this._activePointers.length){case 0:this._state=r.NONE;break;case 1:this._state=this.touches.one;break;case 2:this._state=this.touches.two;break;case 3:this._state=this.touches.three}k()};let d=-1;const p=t=>{if(!this._enabled||this.mouseButtons.wheel===r.NONE)return;if(t.preventDefault(),this.dollyToCursor||this.mouseButtons.wheel===r.ROTATE||this.mouseButtons.wheel===r.TRUCK){const t=performance.now();d-t<1e3&&this._getClientRect(this._elementRect),d=t}const n=y?-1:-3,e=1===t.deltaMode?t.deltaY/n:t.deltaY/(10*n),i=this.dollyToCursor?(t.clientX-this._elementRect.x)/this._elementRect.width*2-1:0,o=this.dollyToCursor?(t.clientY-this._elementRect.y)/this._elementRect.height*-2+1:0;switch(this.mouseButtons.wheel){case r.ROTATE:this._rotateInternal(t.deltaX,t.deltaY);break;case r.TRUCK:this._truckInternal(t.deltaX,t.deltaY,!1);break;case r.OFFSET:this._truckInternal(t.deltaX,t.deltaY,!0);break;case r.DOLLY:this._dollyInternal(-e,i,o);break;case r.ZOOM:this._zoomInternal(-e,i,o)}this.dispatchEvent({type:"control"})},v=t=>{this._enabled&&t.preventDefault()},g=()=>{if(this._enabled){if(_(this._activePointers,$),this._getClientRect(this._elementRect),t.copy($),n.copy($),this._activePointers.length>=2){const t=$.x-this._activePointers[1].clientX,r=$.y-this._activePointers[1].clientY,i=Math.sqrt(t*t+r*r);e.set(0,i);const o=.5*(this._activePointers[0].clientX+this._activePointers[1].clientX),s=.5*(this._activePointers[0].clientY+this._activePointers[1].clientY);n.set(o,s)}this.dispatchEvent({type:"controlstart"})}},m=()=>{if(!this._enabled)return;_(this._activePointers,$);const i=this._domElement&&document.pointerLockElement===this._domElement,o=i?-this._activePointers[0].deltaX:n.x-$.x,s=i?-this._activePointers[0].deltaY:n.y-$.y;if(n.copy($),(this._state&r.ROTATE)!==r.ROTATE&&(this._state&r.TOUCH_ROTATE)!==r.TOUCH_ROTATE||this._rotateInternal(o,s),(this._state&r.DOLLY)===r.DOLLY||(this._state&r.ZOOM)===r.ZOOM){const n=this.dollyToCursor?(t.x-this._elementRect.x)/this._elementRect.width*2-1:0,e=this.dollyToCursor?(t.y-this._elementRect.y)/this._elementRect.height*-2+1:0;this._state===r.DOLLY?this._dollyInternal(s*b,n,e):this._zoomInternal(s*b,n,e)}if((this._state&r.TOUCH_DOLLY)===r.TOUCH_DOLLY||(this._state&r.TOUCH_ZOOM)===r.TOUCH_ZOOM||(this._state&r.TOUCH_DOLLY_TRUCK)===r.TOUCH_DOLLY_TRUCK||(this._state&r.TOUCH_ZOOM_TRUCK)===r.TOUCH_ZOOM_TRUCK||(this._state&r.TOUCH_DOLLY_OFFSET)===r.TOUCH_DOLLY_OFFSET||(this._state&r.TOUCH_ZOOM_OFFSET)===r.TOUCH_ZOOM_OFFSET){const t=$.x-this._activePointers[1].clientX,i=$.y-this._activePointers[1].clientY,o=Math.sqrt(t*t+i*i),s=e.y-o;e.set(0,o);const a=this.dollyToCursor?(n.x-this._elementRect.x)/this._elementRect.width*2-1:0,u=this.dollyToCursor?(n.y-this._elementRect.y)/this._elementRect.height*-2+1:0;this._state===r.TOUCH_DOLLY||this._state===r.TOUCH_DOLLY_TRUCK||this._state===r.TOUCH_DOLLY_OFFSET?this._dollyInternal(s*b,a,u):this._zoomInternal(s*b,a,u)}(this._state&r.TRUCK)!==r.TRUCK&&(this._state&r.TOUCH_TRUCK)!==r.TOUCH_TRUCK&&(this._state&r.TOUCH_DOLLY_TRUCK)!==r.TOUCH_DOLLY_TRUCK&&(this._state&r.TOUCH_ZOOM_TRUCK)!==r.TOUCH_ZOOM_TRUCK||this._truckInternal(o,s,!1),(this._state&r.OFFSET)!==r.OFFSET&&(this._state&r.TOUCH_OFFSET)!==r.TOUCH_OFFSET&&(this._state&r.TOUCH_DOLLY_OFFSET)!==r.TOUCH_DOLLY_OFFSET&&(this._state&r.TOUCH_ZOOM_OFFSET)!==r.TOUCH_ZOOM_OFFSET||this._truckInternal(o,s,!0),this.dispatchEvent({type:"control"})},k=()=>{_(this._activePointers,$),n.copy($),0===this._activePointers.length&&(this._domElement.ownerDocument.removeEventListener("pointermove",a,{passive:!1}),this._domElement.ownerDocument.removeEventListener("pointerup",l),this._domElement.ownerDocument.removeEventListener("touchmove",c,{passive:!1}),this._domElement.ownerDocument.removeEventListener("touchend",f),this.dispatchEvent({type:"controlend"}))};this._domElement.addEventListener("pointerdown",i),w&&this._domElement.addEventListener("mousedown",o),w&&this._domElement.addEventListener("touchstart",s),this._domElement.addEventListener("pointercancel",l),this._domElement.addEventListener("wheel",p,{passive:!1}),this._domElement.addEventListener("contextmenu",v),this._removeAllEventListeners=()=>{this._domElement.removeEventListener("pointerdown",i),this._domElement.removeEventListener("mousedown",o),this._domElement.removeEventListener("touchstart",s),this._domElement.removeEventListener("pointercancel",l),this._domElement.removeEventListener("wheel",p,{passive:!1}),this._domElement.removeEventListener("contextmenu",v),this._domElement.ownerDocument.removeEventListener("pointermove",a,{passive:!1}),this._domElement.ownerDocument.removeEventListener("mousemove",u),this._domElement.ownerDocument.removeEventListener("touchmove",c,{passive:!1}),this._domElement.ownerDocument.removeEventListener("pointerup",l),this._domElement.ownerDocument.removeEventListener("mouseup",h),this._domElement.ownerDocument.removeEventListener("touchend",f)},this.cancel=()=>{this._state!==r.NONE&&(this._state=r.NONE,this._activePointers.length=0,k())}}this.update(0)}static install(t){x=t.THREE,k=Object.freeze(new x.Vector3(0,0,0)),S=Object.freeze(new x.Vector3(0,1,0)),C=Object.freeze(new x.Vector3(0,0,1)),$=new x.Vector2,E=new x.Vector3,M=new x.Vector3,z=new x.Vector3,T=new x.Vector3,j=new x.Vector3,A=new x.Vector3,q=new x.Vector3,P=new x.Vector3,R=new x.Spherical,L=new x.Spherical,O=new x.Box3,I=new x.Box3,D=new x.Sphere,N=new x.Quaternion,B=new x.Quaternion,F=new x.Matrix4,U=new x.Raycaster}static get ACTION(){return r}get camera(){return this._camera}set camera(t){this._camera=t,this.updateCameraUp(),this._camera.updateProjectionMatrix(),this._updateNearPlaneCorners(),this._needsUpdate=!0}get enabled(){return this._enabled}set enabled(t){this._enabled=t,t?(this._domElement.style.touchAction="none",this._domElement.style.userSelect="none",this._domElement.style.webkitUserSelect="none"):(this.cancel(),this._domElement.style.touchAction="",this._domElement.style.userSelect="",this._domElement.style.webkitUserSelect="")}get active(){return!this._hasRested}get currentAction(){return this._state}get distance(){return this._spherical.radius}set distance(t){this._spherical.radius===t&&this._sphericalEnd.radius===t||(this._spherical.radius=t,this._sphericalEnd.radius=t,this._needsUpdate=!0)}get azimuthAngle(){return this._spherical.theta}set azimuthAngle(t){this._spherical.theta===t&&this._sphericalEnd.theta===t||(this._spherical.theta=t,this._sphericalEnd.theta=t,this._needsUpdate=!0)}get polarAngle(){return this._spherical.phi}set polarAngle(t){this._spherical.phi===t&&this._sphericalEnd.phi===t||(this._spherical.phi=t,this._sphericalEnd.phi=t,this._needsUpdate=!0)}get boundaryEnclosesCamera(){return this._boundaryEnclosesCamera}set boundaryEnclosesCamera(t){this._boundaryEnclosesCamera=t,this._needsUpdate=!0}addEventListener(t,n){super.addEventListener(t,n)}removeEventListener(t,n){super.removeEventListener(t,n)}rotate(t,n,e=!1){return this.rotateTo(this._sphericalEnd.theta+t,this._sphericalEnd.phi+n,e)}rotateAzimuthTo(t,n=!1){return this.rotateTo(t,this._sphericalEnd.phi,n)}rotatePolarTo(t,n=!1){return this.rotateTo(this._sphericalEnd.theta,t,n)}rotateTo(t,n,e=!1){const r=x.MathUtils.clamp(t,this.minAzimuthAngle,this.maxAzimuthAngle),i=x.MathUtils.clamp(n,this.minPolarAngle,this.maxPolarAngle);this._sphericalEnd.theta=r,this._sphericalEnd.phi=i,this._sphericalEnd.makeSafe(),this._needsUpdate=!0,e||(this._spherical.theta=this._sphericalEnd.theta,this._spherical.phi=this._sphericalEnd.phi);const o=!e||l(this._spherical.theta,this._sphericalEnd.theta,this.restThreshold)&&l(this._spherical.phi,this._sphericalEnd.phi,this.restThreshold);return this._createOnRestPromise(o)}dolly(t,n=!1){return this.dollyTo(this._sphericalEnd.radius-t,n)}dollyTo(t,n=!1){const e=this._sphericalEnd.radius,r=x.MathUtils.clamp(t,this.minDistance,this.maxDistance);if(this.colliderMeshes.length>=1){const t=this._collisionTest(),n=l(t,this._spherical.radius);if(!(e>r)&&n)return Promise.resolve();this._sphericalEnd.radius=Math.min(r,t)}else this._sphericalEnd.radius=r;this._needsUpdate=!0,n||(this._spherical.radius=this._sphericalEnd.radius);const i=!n||l(this._spherical.radius,this._sphericalEnd.radius,this.restThreshold);return this._createOnRestPromise(i)}zoom(t,n=!1){return this.zoomTo(this._zoomEnd+t,n)}zoomTo(t,n=!1){this._zoomEnd=x.MathUtils.clamp(t,this.minZoom,this.maxZoom),this._needsUpdate=!0,n||(this._zoom=this._zoomEnd);const e=!n||l(this._zoom,this._zoomEnd,this.restThreshold);return this._createOnRestPromise(e)}pan(t,n,e=!1){return console.warn("`pan` has been renamed to `truck`"),this.truck(t,n,e)}truck(t,n,e=!1){this._camera.updateMatrix(),T.setFromMatrixColumn(this._camera.matrix,0),j.setFromMatrixColumn(this._camera.matrix,1),T.multiplyScalar(t),j.multiplyScalar(-n);const r=E.copy(T).add(j),i=M.copy(this._targetEnd).add(r);return this.moveTo(i.x,i.y,i.z,e)}forward(t,n=!1){E.setFromMatrixColumn(this._camera.matrix,0),E.crossVectors(this._camera.up,E),E.multiplyScalar(t);const e=M.copy(this._targetEnd).add(E);return this.moveTo(e.x,e.y,e.z,n)}moveTo(t,n,e,r=!1){const i=E.set(t,n,e).sub(this._targetEnd);this._encloseToBoundary(this._targetEnd,i,this.boundaryFriction),this._needsUpdate=!0,r||this._target.copy(this._targetEnd);const o=!r||l(this._target.x,this._targetEnd.x,this.restThreshold)&&l(this._target.y,this._targetEnd.y,this.restThreshold)&&l(this._target.z,this._targetEnd.z,this.restThreshold);return this._createOnRestPromise(o)}fitToBox(t,n,{paddingLeft:e=0,paddingRight:r=0,paddingBottom:s=0,paddingTop:u=0}={}){const c=[],f=t.isBox3?O.copy(t):O.setFromObject(t);f.isEmpty()&&(console.warn("camera-controls: fitTo() cannot be used with an empty box. Aborting"),Promise.resolve());const d=h(this._sphericalEnd.theta,a),_=h(this._sphericalEnd.phi,a);c.push(this.rotateTo(d,_,n));const p=E.setFromSpherical(this._sphericalEnd).normalize(),v=N.setFromUnitVectors(p,C).multiply(this._yAxisUpSpaceInverse);l(Math.abs(p.y),1)&&v.multiply(B.setFromAxisAngle(S,d));const g=I.makeEmpty();M.copy(f.min).applyQuaternion(v),g.expandByPoint(M),M.copy(f.min).setX(f.max.x).applyQuaternion(v),g.expandByPoint(M),M.copy(f.min).setY(f.max.y).applyQuaternion(v),g.expandByPoint(M),M.copy(f.max).setZ(f.min.z).applyQuaternion(v),g.expandByPoint(M),M.copy(f.min).setZ(f.max.z).applyQuaternion(v),g.expandByPoint(M),M.copy(f.max).setY(f.min.y).applyQuaternion(v),g.expandByPoint(M),M.copy(f.max).setX(f.min.x).applyQuaternion(v),g.expandByPoint(M),M.copy(f.max).applyQuaternion(v),g.expandByPoint(M),g.min.x-=e,g.min.y-=s,g.max.x+=r,g.max.y+=u,v.setFromUnitVectors(C,p).multiply(this._yAxisUpSpace);const m=g.getSize(E),y=g.getCenter(M).applyQuaternion(v);if(i(this._camera)){const t=this.getDistanceToFitBox(m.x,m.y,m.z);c.push(this.moveTo(y.x,y.y,y.z,n)),c.push(this.dollyTo(t,n)),c.push(this.setFocalOffset(0,0,0,n))}else if(o(this._camera)){const t=this._camera,e=t.right-t.left,r=t.top-t.bottom,i=Math.min(e/m.x,r/m.y);c.push(this.moveTo(y.x,y.y,y.z,n)),c.push(this.zoomTo(i,n)),c.push(this.setFocalOffset(0,0,0,n))}return Promise.all(c)}fitToSphere(t,n){const e=[],r=t instanceof x.Sphere?D.copy(t):function(t,n){const e=n,r=e.center;O.makeEmpty(),t.traverseVisible((t=>{t.isMesh&&O.expandByObject(t)})),O.getCenter(r);let i=0;return t.traverseVisible((t=>{if(!t.isMesh)return;const n=t,e=n.geometry.clone();if(e.applyMatrix4(n.matrixWorld),e.isBufferGeometry){const t=e.attributes.position;for(let n=0,e=t.count;ne.pointerId===t&&(n=e,!0))),n}_encloseToBoundary(t,n,e){const r=n.lengthSq();if(0===r)return t;const i=M.copy(n).add(t),o=this._boundary.clampPoint(i,z).sub(i),s=o.lengthSq();if(0===s)return t.add(n);if(s===r)return t;if(0===e)return t.add(n).add(o);{const r=1+e*s/n.dot(o);return t.add(M.copy(n).multiplyScalar(r)).add(o.multiplyScalar(1-e))}}_updateNearPlaneCorners(){if(i(this._camera)){const t=this._camera,n=t.near,e=t.getEffectiveFOV()*x.MathUtils.DEG2RAD,r=Math.tan(.5*e)*n,i=r*t.aspect;this._nearPlaneCorners[0].set(-i,-r,0),this._nearPlaneCorners[1].set(i,-r,0),this._nearPlaneCorners[2].set(i,r,0),this._nearPlaneCorners[3].set(-i,r,0)}else if(o(this._camera)){const t=this._camera,n=1/t.zoom,e=t.left*n,r=t.right*n,i=t.top*n,o=t.bottom*n;this._nearPlaneCorners[0].set(e,i,0),this._nearPlaneCorners[1].set(r,i,0),this._nearPlaneCorners[2].set(r,o,0),this._nearPlaneCorners[3].set(e,o,0)}}_collisionTest(){let t=1/0;if(!(this.colliderMeshes.length>=1))return t;if(p(this._camera,"_collisionTest"))return t;const n=E.setFromSpherical(this._spherical).divideScalar(this._spherical.radius);F.lookAt(k,n,this._camera.up);for(let e=0;e<4;e++){const r=M.copy(this._nearPlaneCorners[e]);r.applyMatrix4(F);const i=z.addVectors(this._target,r);U.set(i,n),U.far=this._spherical.radius+1;const o=U.intersectObjects(this.colliderMeshes);0!==o.length&&o[0].distance{const n=()=>{this.removeEventListener("rest",n),t()};this.addEventListener("rest",n)})))}_removeAllEventListeners(){}}},35681:(t,n)=>{var e;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var t=[],n=0;n{"use strict";function r(t){var n,e,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t))for(n=0;ni,default:()=>o});const o=i},68419:(t,n,e)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);es,camelCaseProperty:()=>h,cssifyDeclaration:()=>_,cssifyObject:()=>p,hyphenateProperty:()=>d,isPrefixedProperty:()=>g,isPrefixedValue:()=>m.Z,isUnitlessProperty:()=>z,normalizeProperty:()=>A,resolveArrayValue:()=>q,unprefixProperty:()=>j,unprefixValue:()=>R});var a=/-([a-z])/g,u=/^Ms/g,c={};function l(t){return t[1].toUpperCase()}function h(t){if(c.hasOwnProperty(t))return c[t];var n=t.replace(a,l).replace(u,"ms");return c[t]=n,n}var f=e(60357);function d(t){return(0,f.default)(t)}function _(t,n){return d(t)+":"+n}function p(t){var n="";for(var e in t){var r=t[e];"string"!=typeof r&&"number"!=typeof r||(n&&(n+=";"),n+=_(e,r))}return n}var v=/^(Webkit|Moz|O|ms)/;function g(t){return v.test(t)}var m=e(81347),y={borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},w=["animationIterationCount","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","lineClamp","order"],b=["Webkit","ms","Moz","O"];function x(t,n){return t+n.charAt(0).toUpperCase()+n.slice(1)}for(var k=0,S=w.length;k{"use strict";e.d(n,{Z:()=>i});var r=/-webkit-|-moz-|-ms-/;function i(t){return"string"==typeof t&&r.test(t)}},66111:(t,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t){return(0,i.default)(t)};var r,i=(r=e(60357))&&r.__esModule?r:{default:r}},68052:(t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t){return"string"==typeof t&&e.test(t)};var e=/-webkit-|-moz-|-ms-/},59194:(t,n,e)=>{"use strict";e.r(n),e.d(n,{FormatSpecifier:()=>bu,active:()=>ti,arc:()=>Ab,area:()=>Ib,areaRadial:()=>Vb,ascending:()=>i,autoType:()=>Ds,axisBottom:()=>ut,axisLeft:()=>ct,axisRight:()=>at,axisTop:()=>st,bisect:()=>c,bisectLeft:()=>u,bisectRight:()=>a,bisector:()=>o,blob:()=>Ma,brush:()=>Ei,brushSelection:()=>Si,brushX:()=>Ci,brushY:()=>$i,buffer:()=>Ta,chord:()=>Ri,clientPoint:()=>qe,cluster:()=>Nd,color:()=>Yn,contourDensity:()=>ss,contours:()=>ts,create:()=>ab,creator:()=>un,cross:()=>f,csv:()=>Ra,csvFormat:()=>$s,csvFormatBody:()=>Es,csvFormatRow:()=>zs,csvFormatRows:()=>Ms,csvFormatValue:()=>Ts,csvParse:()=>Ss,csvParseRows:()=>Cs,cubehelix:()=>Ho,curveBasis:()=>Ex,curveBasisClosed:()=>zx,curveBasisOpen:()=>jx,curveBundle:()=>qx,curveCardinal:()=>Lx,curveCardinalClosed:()=>Ix,curveCardinalOpen:()=>Nx,curveCatmullRom:()=>Ux,curveCatmullRomClosed:()=>Gx,curveCatmullRomOpen:()=>Vx,curveLinear:()=>Pb,curveLinearClosed:()=>Xx,curveMonotoneX:()=>rk,curveMonotoneY:()=>ik,curveNatural:()=>ak,curveStep:()=>ck,curveStepAfter:()=>hk,curveStepBefore:()=>lk,customEvent:()=>yn,descending:()=>d,deviation:()=>v,dispatch:()=>pt,drag:()=>ds,dragDisable:()=>Tn,dragEnable:()=>jn,dsv:()=>Pa,dsvFormat:()=>xs,easeBack:()=>xa,easeBackIn:()=>wa,easeBackInOut:()=>xa,easeBackOut:()=>ba,easeBounce:()=>ga,easeBounceIn:()=>va,easeBounceInOut:()=>ma,easeBounceOut:()=>ga,easeCircle:()=>oa,easeCircleIn:()=>ra,easeCircleInOut:()=>oa,easeCircleOut:()=>ia,easeCubic:()=>Yr,easeCubicIn:()=>Zr,easeCubicInOut:()=>Yr,easeCubicOut:()=>Xr,easeElastic:()=>Ca,easeElasticIn:()=>Sa,easeElasticInOut:()=>$a,easeElasticOut:()=>Ca,easeExp:()=>ea,easeExpIn:()=>ta,easeExpInOut:()=>ea,easeExpOut:()=>na,easeLinear:()=>Bs,easePoly:()=>Vs,easePolyIn:()=>Gs,easePolyInOut:()=>Vs,easePolyOut:()=>Ws,easeQuad:()=>Hs,easeQuadIn:()=>Fs,easeQuadInOut:()=>Hs,easeQuadOut:()=>Us,easeSin:()=>Js,easeSinIn:()=>Ys,easeSinInOut:()=>Js,easeSinOut:()=>Ks,entries:()=>fo,event:()=>_n,extent:()=>g,forceCenter:()=>Ha,forceCollide:()=>ru,forceLink:()=>su,forceManyBody:()=>fu,forceRadial:()=>du,forceSimulation:()=>hu,forceX:()=>_u,forceY:()=>pu,format:()=>$u,formatDefaultLocale:()=>ju,formatLocale:()=>Tu,formatPrefix:()=>Eu,formatSpecifier:()=>wu,geoAlbers:()=>nd,geoAlbersUsa:()=>ed,geoArea:()=>Ec,geoAzimuthalEqualArea:()=>sd,geoAzimuthalEqualAreaRaw:()=>od,geoAzimuthalEquidistant:()=>ud,geoAzimuthalEquidistantRaw:()=>ad,geoBounds:()=>yl,geoCentroid:()=>jl,geoCircle:()=>Fl,geoClipAntimeridian:()=>th,geoClipCircle:()=>nh,geoClipExtent:()=>oh,geoClipRectangle:()=>ih,geoConicConformal:()=>_d,geoConicConformalRaw:()=>dd,geoConicEqualArea:()=>td,geoConicEqualAreaRaw:()=>Qf,geoConicEquidistant:()=>md,geoConicEquidistantRaw:()=>gd,geoContains:()=>$h,geoDistance:()=>gh,geoEqualEarth:()=>Cd,geoEqualEarthRaw:()=>Sd,geoEquirectangular:()=>vd,geoEquirectangularRaw:()=>pd,geoGnomonic:()=>Ed,geoGnomonicRaw:()=>$d,geoGraticule:()=>zh,geoGraticule10:()=>Th,geoIdentity:()=>Md,geoInterpolate:()=>jh,geoLength:()=>_h,geoMercator:()=>ld,geoMercatorRaw:()=>cd,geoNaturalEarth1:()=>Td,geoNaturalEarth1Raw:()=>zd,geoOrthographic:()=>Ad,geoOrthographicRaw:()=>jd,geoPath:()=>Rf,geoProjection:()=>Yf,geoProjectionMutator:()=>Kf,geoRotation:()=>Dl,geoStereographic:()=>Pd,geoStereographicRaw:()=>qd,geoStream:()=>_c,geoTransform:()=>Lf,geoTransverseMercator:()=>Ld,geoTransverseMercatorRaw:()=>Rd,gray:()=>So,hcl:()=>qo,hierarchy:()=>Fd,histogram:()=>j,hsl:()=>ae,html:()=>Fa,image:()=>Oa,interpolate:()=>je,interpolateArray:()=>ke,interpolateBasis:()=>he,interpolateBasisClosed:()=>fe,interpolateBlues:()=>Pw,interpolateBrBG:()=>Wy,interpolateBuGn:()=>lw,interpolateBuPu:()=>fw,interpolateCividis:()=>Gw,interpolateCool:()=>Zw,interpolateCubehelix:()=>rp,interpolateCubehelixDefault:()=>Ww,interpolateCubehelixLong:()=>ip,interpolateDate:()=>Ce,interpolateDiscrete:()=>N_,interpolateGnBu:()=>_w,interpolateGreens:()=>Lw,interpolateGreys:()=>Iw,interpolateHcl:()=>tp,interpolateHclLong:()=>np,interpolateHsl:()=>Y_,interpolateHslLong:()=>K_,interpolateHue:()=>B_,interpolateInferno:()=>ob,interpolateLab:()=>J_,interpolateMagma:()=>ib,interpolateNumber:()=>$e,interpolateNumberArray:()=>be,interpolateObject:()=>Ee,interpolateOrRd:()=>vw,interpolateOranges:()=>Hw,interpolatePRGn:()=>Zy,interpolatePiYG:()=>Yy,interpolatePlasma:()=>sb,interpolatePuBu:()=>ww,interpolatePuBuGn:()=>mw,interpolatePuOr:()=>Jy,interpolatePuRd:()=>xw,interpolatePurples:()=>Nw,interpolateRainbow:()=>Yw,interpolateRdBu:()=>tw,interpolateRdGy:()=>ew,interpolateRdPu:()=>Sw,interpolateRdYlBu:()=>iw,interpolateRdYlGn:()=>sw,interpolateReds:()=>Fw,interpolateRgb:()=>ge,interpolateRgbBasis:()=>ye,interpolateRgbBasisClosed:()=>we,interpolateRound:()=>F_,interpolateSinebow:()=>tb,interpolateSpectral:()=>uw,interpolateString:()=>Te,interpolateTransformCss:()=>kr,interpolateTransformSvg:()=>Sr,interpolateTurbo:()=>nb,interpolateViridis:()=>rb,interpolateWarm:()=>Vw,interpolateYlGn:()=>Mw,interpolateYlGnBu:()=>$w,interpolateYlOrBr:()=>Tw,interpolateYlOrRd:()=>Aw,interpolateZoom:()=>Z_,interrupt:()=>_r,interval:()=>Ak,isoFormat:()=>zk,isoParse:()=>jk,json:()=>Da,keys:()=>lo,lab:()=>Co,lch:()=>Ao,line:()=>Ob,lineRadial:()=>Wb,linkHorizontal:()=>ex,linkRadial:()=>ix,linkVertical:()=>rx,local:()=>cb,map:()=>to,matcher:()=>wt,max:()=>R,mean:()=>L,median:()=>O,merge:()=>I,min:()=>D,mouse:()=>Re,namespace:()=>Mt,namespaces:()=>Et,nest:()=>no,now:()=>Ve,pack:()=>f_,packEnclose:()=>Zd,packSiblings:()=>a_,pairs:()=>l,partition:()=>m_,path:()=>Hi,permute:()=>N,pie:()=>Bb,piecewise:()=>op,pointRadial:()=>Zb,polygonArea:()=>ap,polygonCentroid:()=>up,polygonContains:()=>dp,polygonHull:()=>fp,polygonLength:()=>_p,precisionFixed:()=>Au,precisionPrefix:()=>qu,precisionRound:()=>Pu,quadtree:()=>Ka,quantile:()=>A,quantize:()=>sp,radialArea:()=>Vb,radialLine:()=>Wb,randomBates:()=>wp,randomExponential:()=>bp,randomIrwinHall:()=>yp,randomLogNormal:()=>mp,randomNormal:()=>gp,randomUniform:()=>vp,range:()=>k,rgb:()=>te,ribbon:()=>Yi,scaleBand:()=>zp,scaleDiverging:()=>My,scaleDivergingLog:()=>zy,scaleDivergingPow:()=>jy,scaleDivergingSqrt:()=>Ay,scaleDivergingSymlog:()=>Ty,scaleIdentity:()=>Gp,scaleImplicit:()=>Ep,scaleLinear:()=>Hp,scaleLog:()=>tv,scaleOrdinal:()=>Mp,scalePoint:()=>jp,scalePow:()=>cv,scaleQuantile:()=>hv,scaleQuantize:()=>fv,scaleSequential:()=>by,scaleSequentialLog:()=>xy,scaleSequentialPow:()=>Sy,scaleSequentialQuantile:()=>$y,scaleSequentialSqrt:()=>Cy,scaleSequentialSymlog:()=>ky,scaleSqrt:()=>lv,scaleSymlog:()=>iv,scaleThreshold:()=>dv,scaleTime:()=>uy,scaleUtc:()=>my,scan:()=>B,schemeAccent:()=>Ry,schemeBlues:()=>qw,schemeBrBG:()=>Gy,schemeBuGn:()=>cw,schemeBuPu:()=>hw,schemeCategory10:()=>Py,schemeDark2:()=>Ly,schemeGnBu:()=>dw,schemeGreens:()=>Rw,schemeGreys:()=>Ow,schemeOrRd:()=>pw,schemeOranges:()=>Uw,schemePRGn:()=>Vy,schemePaired:()=>Oy,schemePastel1:()=>Iy,schemePastel2:()=>Dy,schemePiYG:()=>Xy,schemePuBu:()=>yw,schemePuBuGn:()=>gw,schemePuOr:()=>Ky,schemePuRd:()=>bw,schemePurples:()=>Dw,schemeRdBu:()=>Qy,schemeRdGy:()=>nw,schemeRdPu:()=>kw,schemeRdYlBu:()=>rw,schemeRdYlGn:()=>ow,schemeReds:()=>Bw,schemeSet1:()=>Ny,schemeSet2:()=>By,schemeSet3:()=>Fy,schemeSpectral:()=>aw,schemeTableau10:()=>Uy,schemeYlGn:()=>Ew,schemeYlGnBu:()=>Cw,schemeYlOrBr:()=>zw,schemeYlOrRd:()=>jw,select:()=>En,selectAll:()=>hb,selection:()=>$n,selector:()=>gt,selectorAll:()=>yt,set:()=>co,shuffle:()=>F,stack:()=>pk,stackOffsetDiverging:()=>gk,stackOffsetExpand:()=>vk,stackOffsetNone:()=>fk,stackOffsetSilhouette:()=>mk,stackOffsetWiggle:()=>yk,stackOrderAppearance:()=>wk,stackOrderAscending:()=>xk,stackOrderDescending:()=>Sk,stackOrderInsideOut:()=>Ck,stackOrderNone:()=>dk,stackOrderReverse:()=>$k,stratify:()=>S_,style:()=>Dt,sum:()=>U,svg:()=>Ua,symbol:()=>kx,symbolCircle:()=>ox,symbolCross:()=>sx,symbolDiamond:()=>cx,symbolSquare:()=>_x,symbolStar:()=>dx,symbolTriangle:()=>vx,symbolWye:()=>bx,symbols:()=>xx,text:()=>Aa,thresholdFreedmanDiaconis:()=>q,thresholdScott:()=>P,thresholdSturges:()=>T,tickFormat:()=>Fp,tickIncrement:()=>M,tickStep:()=>z,ticks:()=>E,timeDay:()=>Hv,timeDays:()=>Gv,timeFormat:()=>Tg,timeFormatDefaultLocale:()=>Km,timeFormatLocale:()=>Mg,timeFriday:()=>Pv,timeFridays:()=>Bv,timeHour:()=>Vv,timeHours:()=>Zv,timeInterval:()=>vv,timeMillisecond:()=>eg,timeMilliseconds:()=>rg,timeMinute:()=>Yv,timeMinutes:()=>Kv,timeMonday:()=>Tv,timeMondays:()=>Ov,timeMonth:()=>bv,timeMonths:()=>xv,timeParse:()=>jg,timeSaturday:()=>Rv,timeSaturdays:()=>Fv,timeSecond:()=>Qv,timeSeconds:()=>tg,timeSunday:()=>zv,timeSundays:()=>Lv,timeThursday:()=>qv,timeThursdays:()=>Nv,timeTuesday:()=>jv,timeTuesdays:()=>Iv,timeWednesday:()=>Av,timeWednesdays:()=>Dv,timeWeek:()=>zv,timeWeeks:()=>Lv,timeYear:()=>mv,timeYears:()=>yv,timeout:()=>nr,timer:()=>Ye,timerFlush:()=>Ke,touch:()=>Pe,touches:()=>fb,transition:()=>Gr,transpose:()=>H,tree:()=>j_,treemap:()=>L_,treemapBinary:()=>O_,treemapDice:()=>g_,treemapResquarify:()=>D_,treemapSlice:()=>A_,treemapSliceDice:()=>I_,treemapSquarify:()=>R_,tsv:()=>La,tsvFormat:()=>Ps,tsvFormatBody:()=>Rs,tsvFormatRow:()=>Os,tsvFormatRows:()=>Ls,tsvFormatValue:()=>Is,tsvParse:()=>As,tsvParseRows:()=>qs,utcDay:()=>wg,utcDays:()=>bg,utcFormat:()=>Ag,utcFriday:()=>lg,utcFridays:()=>gg,utcHour:()=>dy,utcHours:()=>_y,utcMillisecond:()=>eg,utcMilliseconds:()=>rg,utcMinute:()=>vy,utcMinutes:()=>gy,utcMonday:()=>sg,utcMondays:()=>dg,utcMonth:()=>ly,utcMonths:()=>hy,utcParse:()=>qg,utcSaturday:()=>hg,utcSaturdays:()=>mg,utcSecond:()=>Qv,utcSeconds:()=>tg,utcSunday:()=>og,utcSundays:()=>fg,utcThursday:()=>cg,utcThursdays:()=>vg,utcTuesday:()=>ag,utcTuesdays:()=>_g,utcWednesday:()=>ug,utcWednesdays:()=>pg,utcWeek:()=>og,utcWeeks:()=>fg,utcYear:()=>kg,utcYears:()=>Sg,values:()=>ho,variance:()=>p,version:()=>r,voronoi:()=>mS,window:()=>Rt,xml:()=>Ba,zip:()=>W,zoom:()=>AS,zoomIdentity:()=>xS,zoomTransform:()=>kS});var r="5.16.0";function i(t,n){return tn?1:t>=n?0:NaN}function o(t){var n;return 1===t.length&&(n=t,t=function(t,e){return i(n(t),e)}),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[o],e)>0?i=o:r=o+1}return r}}}var s=o(i),a=s.right,u=s.left;const c=a;function l(t,n){null==n&&(n=h);for(var e=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);et?1:n>=t?0:NaN}function _(t){return null===t?NaN:+t}function p(t,n){var e,r,i=t.length,o=0,s=-1,a=0,u=0;if(null==n)for(;++s1)return u/(o-1)}function v(t,n){var e=p(t,n);return e?Math.sqrt(e):e}function g(t,n){var e,r,i,o=t.length,s=-1;if(null==n){for(;++s=e)for(r=i=e;++se&&(r=e),i=e)for(r=i=e;++se&&(r=e),i0)return[t];if((r=n0)for(t=Math.ceil(t/s),n=Math.floor(n/s),o=new Array(i=Math.ceil(n-t+1));++a=0?(o>=S?10:o>=C?5:o>=$?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=S?10:o>=C?5:o>=$?2:1)}function z(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=S?i*=10:o>=C?i*=5:o>=$&&(i*=2),nh;)f.pop(),--d;var _,p=new Array(d+1);for(i=0;i<=d;++i)(_=p[i]=[]).x0=i>0?f[i-1]:l,_.x1=i=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),s=+e(t[o],o,t);return s+(+e(t[o+1],o+1,t)-s)*(i-o)}}function q(t,n,e){return t=w.call(t,_).sort(i),Math.ceil((e-n)/(2*(A(t,.75)-A(t,.25))*Math.pow(t.length,-1/3)))}function P(t,n,e){return Math.ceil((e-n)/(3.5*v(t)*Math.pow(t.length,-1/3)))}function R(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o=e)for(r=e;++or&&(r=e)}else for(;++o=e)for(r=e;++or&&(r=e);return r}function L(t,n){var e,r=t.length,i=r,o=-1,s=0;if(null==n)for(;++o=0;)for(n=(r=t[i]).length;--n>=0;)e[--s]=r[n];return e}function D(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o=e)for(r=e;++oe&&(r=e)}else for(;++o=e)for(r=e;++oe&&(r=e);return r}function N(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}function B(t,n){if(e=t.length){var e,r,o=0,s=0,a=t[s];for(null==n&&(n=i);++o=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))),s=-1,a=o.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++s0)for(var e,r,i=new Array(e),o=0;on?1:t>=n?0:NaN}var $t="http://www.w3.org/1999/xhtml";const Et={svg:"http://www.w3.org/2000/svg",xhtml:$t,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Mt(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),Et.hasOwnProperty(n)?{space:Et[n],local:t}:t}function zt(t){return function(){this.removeAttribute(t)}}function Tt(t){return function(){this.removeAttributeNS(t.space,t.local)}}function jt(t,n){return function(){this.setAttribute(t,n)}}function At(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function qt(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function Pt(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function Rt(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Lt(t){return function(){this.style.removeProperty(t)}}function Ot(t,n,e){return function(){this.style.setProperty(t,n,e)}}function It(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function Dt(t,n){return t.style.getPropertyValue(n)||Rt(t).getComputedStyle(t,null).getPropertyValue(n)}function Nt(t){return function(){delete this[t]}}function Bt(t,n){return function(){this[t]=n}}function Ft(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function Ut(t){return t.trim().split(/^|\s+/)}function Ht(t){return t.classList||new Gt(t)}function Gt(t){this._node=t,this._names=Ut(t.getAttribute("class")||"")}function Wt(t,n){for(var e=Ht(t),r=-1,i=n.length;++r=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var dn={},_n=null;function pn(t,n,e){return t=vn(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function vn(t,n,e){return function(r){var i=_n;_n=r;try{t.call(this,this.__data__,n,e)}finally{_n=i}}}function gn(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r=b&&(b=w+1);!(y=g[b])&&++b=0;)(r=i[o])&&(s&&4^r.compareDocumentPosition(s)&&s.parentNode.insertBefore(r,s),s=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=Ct);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o1?this.each((null==n?Lt:"function"==typeof n?It:Ot)(t,n,null==e?"":e)):Dt(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?Nt:"function"==typeof n?Ft:Bt)(t,n)):this.node()[t]},classed:function(t,n){var e=Ut(t+"");if(arguments.length<2){for(var r=Ht(this.node()),i=-1,o=e.length;++i=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}))}(t+""),s=o.length;if(!(arguments.length<2)){for(a=n?mn:gn,null==e&&(e=!1),r=0;r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?Jn(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?Jn(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=Bn.exec(t))?new ne(n[1],n[2],n[3],1):(n=Fn.exec(t))?new ne(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Un.exec(t))?Jn(n[1],n[2],n[3],n[4]):(n=Hn.exec(t))?Jn(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Gn.exec(t))?oe(n[1],n[2]/100,n[3]/100,1):(n=Wn.exec(t))?oe(n[1],n[2]/100,n[3]/100,n[4]):Vn.hasOwnProperty(t)?Kn(Vn[t]):"transparent"===t?new ne(NaN,NaN,NaN,0):null}function Kn(t){return new ne(t>>16&255,t>>8&255,255&t,1)}function Jn(t,n,e,r){return r<=0&&(t=n=e=NaN),new ne(t,n,e,r)}function Qn(t){return t instanceof Pn||(t=Yn(t)),t?new ne((t=t.rgb()).r,t.g,t.b,t.opacity):new ne}function te(t,n,e,r){return 1===arguments.length?Qn(t):new ne(t,n,e,null==r?1:r)}function ne(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function ee(){return"#"+ie(this.r)+ie(this.g)+ie(this.b)}function re(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function ie(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function oe(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new ue(t,n,e,r)}function se(t){if(t instanceof ue)return new ue(t.h,t.s,t.l,t.opacity);if(t instanceof Pn||(t=Yn(t)),!t)return new ue;if(t instanceof ue)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),s=NaN,a=o-i,u=(o+i)/2;return a?(s=n===o?(e-r)/a+6*(e0&&u<1?0:s,new ue(s,a,u,t.opacity)}function ae(t,n,e,r){return 1===arguments.length?se(t):new ue(t,n,e,null==r?1:r)}function ue(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function ce(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function le(t,n,e,r,i){var o=t*t,s=o*t;return((1-3*t+3*o-s)*n+(4-6*o+3*s)*e+(1+3*t+3*o-3*s)*r+s*i)/6}function he(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],s=r>0?t[r-1]:2*i-o,a=r180||e<-180?e-360*Math.round(e/360):e):de(isNaN(t)?n:t)}function ve(t,n){var e=n-t;return e?_e(t,e):de(isNaN(t)?n:t)}An(Pn,Yn,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Zn,formatHex:Zn,formatHsl:function(){return se(this).formatHsl()},formatRgb:Xn,toString:Xn}),An(ne,te,qn(Pn,{brighter:function(t){return t=null==t?Ln:Math.pow(Ln,t),new ne(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Rn:Math.pow(Rn,t),new ne(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ee,formatHex:ee,formatRgb:re,toString:re})),An(ue,ae,qn(Pn,{brighter:function(t){return t=null==t?Ln:Math.pow(Ln,t),new ue(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Rn:Math.pow(Rn,t),new ue(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new ne(ce(t>=240?t-240:t+120,i,r),ce(t,i,r),ce(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));const ge=function t(n){var e=function(t){return 1==(t=+t)?ve:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):de(isNaN(n)?e:n)}}(n);function r(t,n){var r=e((t=te(t)).r,(n=te(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),s=ve(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=s(n),t+""}}return r.gamma=t,r}(1);function me(t){return function(n){var e,r,i=n.length,o=new Array(i),s=new Array(i),a=new Array(i);for(e=0;eo&&(i=n.slice(o,i),a[s]?a[s]+=i:a[++s]=i),(e=e[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,u.push({i:s,x:$e(e,r)})),o=ze.lastIndex;return o=0&&n._call.call(null,t),n=n._next;--Ie}function Je(){Ue=(Fe=Ge.now())+He,Ie=De=0;try{Ke()}finally{Ie=0,function(){for(var t,n,e=Le,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:Le=n);Oe=t,tr(r)}(),Ue=0}}function Qe(){var t=Ge.now(),n=t-Fe;n>Be&&(He-=n,Fe=t)}function tr(t){Ie||(De&&(De=clearTimeout(De)),t-Ue>24?(t<1/0&&(De=setTimeout(Je,t-Ge.now()-He)),Ne&&(Ne=clearInterval(Ne))):(Ne||(Fe=Ge.now(),Ne=setInterval(Qe,Be)),Ie=1,We(Je)))}function nr(t,n,e){var r=new Xe;return n=null==n?0:+n,r.restart((function(e){r.stop(),t(e+n)}),n,e),r}Xe.prototype=Ye.prototype={constructor:Xe,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Ve():+e)+(null==n?0:+n),this._next||Oe===this||(Oe?Oe._next=this:Le=this,Oe=this),this._call=t,this._time=e,tr()},stop:function(){this._call&&(this._call=null,this._time=1/0,tr())}};var er=pt("start","end","cancel","interrupt"),rr=[],ir=0,or=1,sr=2,ar=3,ur=5,cr=6;function lr(t,n,e,r,i,o){var s=t.__transition;if(s){if(e in s)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(u){var c,l,h,f;if(e.state!==or)return a();for(c in i)if((f=i[c]).name===e.name){if(f.state===ar)return nr(o);4===f.state?(f.state=cr,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[c]):+cir)throw new Error("too late; already scheduled");return e}function fr(t,n){var e=dr(t,n);if(e.state>ar)throw new Error("too late; already running");return e}function dr(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function _r(t,n){var e,r,i,o=t.__transition,s=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>sr&&e.state180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:$e(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}(o.rotate,s.rotate,a,u),function(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:$e(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}(o.skewX,s.skewX,a,u),function(t,n,e,r,o,s){if(t!==e||n!==r){var a=o.push(i(o)+"scale(",null,",",null,")");s.push({i:a-4,x:$e(t,e)},{i:a-2,x:$e(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,s.scaleX,s.scaleY,a,u),o=s=null,function(t){for(var n,e=-1,r=u.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t}))}(n)?hr:fr;return function(){var s=o(this,t),a=s.on;a!==r&&(i=(r=a).copy()).on(n,e),s.on=i}}(e,t,n))},attr:function(t,n){var e=Mt(t),r="transform"===e?Sr:Mr;return this.attrTween(t,"function"==typeof n?(e.local?Pr:qr)(e,r,Er(this,"attr."+t,n)):null==n?(e.local?Tr:zr)(e):(e.local?Ar:jr)(e,r,n))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var r=Mt(t);return this.tween(e,(r.local?Rr:Lr)(r,n))},style:function(t,n,e){var r="transform"==(t+="")?kr:Mr;return null==n?this.styleTween(t,function(t,n){var e,r,i;return function(){var o=Dt(this,t),s=(this.style.removeProperty(t),Dt(this,t));return o===s?null:o===e&&s===r?i:i=n(e=o,r=s)}}(t,r)).on("end.style."+t,Fr(t)):"function"==typeof n?this.styleTween(t,function(t,n,e){var r,i,o;return function(){var s=Dt(this,t),a=e(this),u=a+"";return null==a&&(this.style.removeProperty(t),u=a=Dt(this,t)),s===u?null:s===r&&u===i?o:(i=u,o=n(r=s,a))}}(t,r,Er(this,"style."+t,n))).each(function(t,n){var e,r,i,o,s="style."+n,a="end."+s;return function(){var u=fr(this,t),c=u.on,l=null==u.value[s]?o||(o=Fr(n)):void 0;c===e&&i===l||(r=(e=c).copy()).on(a,i=l),u.on=r}}(this._id,t)):this.styleTween(t,function(t,n,e){var r,i,o=e+"";return function(){var s=Dt(this,t);return s===o?null:s===r?i:i=n(r=s,e)}}(t,r,n),e).on("end.style."+t,null)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,function(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,n,e){return function(r){this.style.setProperty(t,n.call(this,r),e)}}(t,o,e)),r}return o._value=n,o}(t,n,null==e?"":e))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var n=t(this);this.textContent=null==n?"":n}}(Er(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;return this.tween(n,function(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&function(t){return function(n){this.textContent=t.call(this,n)}}(r)),n}return r._value=t,r}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}(this._id))},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=dr(this.node(),e).tween,o=0,s=i.length;oor&&e.name===n)return new Hr([[t]],Qr,n,+r);return null}function ni(t){return function(){return t}}function ei(t,n,e){this.target=t,this.type=n,this.selection=e}function ri(){_n.stopImmediatePropagation()}function ii(){_n.preventDefault(),_n.stopImmediatePropagation()}var oi={name:"drag"},si={name:"space"},ai={name:"handle"},ui={name:"center"};function ci(t){return[+t[0],+t[1]]}function li(t){return[ci(t[0]),ci(t[1])]}var hi={name:"x",handles:["w","e"].map(yi),input:function(t,n){return null==t?null:[[+t[0],n[0][1]],[+t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},fi={name:"y",handles:["n","s"].map(yi),input:function(t,n){return null==t?null:[[n[0][0],+t[0]],[n[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},di={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(yi),input:function(t){return null==t?null:li(t)},output:function(t){return t}},_i={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},pi={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},vi={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},gi={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},mi={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function yi(t){return{type:t}}function wi(){return!_n.ctrlKey&&!_n.button}function bi(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function xi(){return navigator.maxTouchPoints||"ontouchstart"in this}function ki(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Si(t){var n=t.__brush;return n?n.dim.output(n.selection):null}function Ci(){return Mi(hi)}function $i(){return Mi(fi)}function Ei(){return Mi(di)}function Mi(t){var n,e=bi,r=wi,i=xi,o=!0,s=pt("start","brush","end"),a=6;function u(n){var e=n.property("__brush",p).selectAll(".overlay").data([yi("overlay")]);e.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",_i.overlay).merge(e).each((function(){var t=ki(this).extent;En(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),n.selectAll(".selection").data([yi("selection")]).enter().append("rect").attr("class","selection").attr("cursor",_i.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=n.selectAll(".handle").data(t.handles,(function(t){return t.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return _i[t.type]})),n.each(c).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",f).filter(i).on("touchstart.brush",f).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",_).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function c(){var t=En(this),n=ki(this).selection;n?(t.selectAll(".selection").style("display",null).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?n[1][0]-a/2:n[0][0]-a/2})).attr("y",(function(t){return"s"===t.type[0]?n[1][1]-a/2:n[0][1]-a/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?n[1][0]-n[0][0]+a:a})).attr("height",(function(t){return"e"===t.type||"w"===t.type?n[1][1]-n[0][1]+a:a}))):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function l(t,n,e){var r=t.__brush.emitter;return!r||e&&r.clean?new h(t,n,e):r}function h(t,n,e){this.that=t,this.args=n,this.state=t.__brush,this.active=0,this.clean=e}function f(){if((!n||_n.touches)&&r.apply(this,arguments)){var e,i,s,a,u,h,f,d,_,p,v,g,m=this,y=_n.target.__data__.type,w="selection"===(o&&_n.metaKey?y="overlay":y)?oi:o&&_n.altKey?ui:ai,b=t===fi?null:gi[y],x=t===hi?null:mi[y],k=ki(m),S=k.extent,C=k.selection,$=S[0][0],E=S[0][1],M=S[1][0],z=S[1][1],T=0,j=0,A=b&&x&&o&&_n.shiftKey,q=_n.touches?(g=_n.changedTouches[0].identifier,function(t){return Pe(t,_n.touches,g)}):Re,P=q(m),R=P,L=l(m,arguments,!0).beforestart();"overlay"===y?(C&&(_=!0),k.selection=C=[[e=t===fi?$:P[0],s=t===hi?E:P[1]],[u=t===fi?M:e,f=t===hi?z:s]]):(e=C[0][0],s=C[0][1],u=C[1][0],f=C[1][1]),i=e,a=s,h=u,d=f;var O=En(m).attr("pointer-events","none"),I=O.selectAll(".overlay").attr("cursor",_i[y]);if(_n.touches)L.moved=N,L.ended=F;else{var D=En(_n.view).on("mousemove.brush",N,!0).on("mouseup.brush",F,!0);o&&D.on("keydown.brush",(function(){switch(_n.keyCode){case 16:A=b&&x;break;case 18:w===ai&&(b&&(u=h-T*b,e=i+T*b),x&&(f=d-j*x,s=a+j*x),w=ui,B());break;case 32:w!==ai&&w!==ui||(b<0?u=h-T:b>0&&(e=i-T),x<0?f=d-j:x>0&&(s=a-j),w=si,I.attr("cursor",_i.selection),B());break;default:return}ii()}),!0).on("keyup.brush",(function(){switch(_n.keyCode){case 16:A&&(p=v=A=!1,B());break;case 18:w===ui&&(b<0?u=h:b>0&&(e=i),x<0?f=d:x>0&&(s=a),w=ai,B());break;case 32:w===si&&(_n.altKey?(b&&(u=h-T*b,e=i+T*b),x&&(f=d-j*x,s=a+j*x),w=ui):(b<0?u=h:b>0&&(e=i),x<0?f=d:x>0&&(s=a),w=ai),I.attr("cursor",_i[y]),B());break;default:return}ii()}),!0),Tn(_n.view)}ri(),_r(m),c.call(m),L.start()}function N(){var t=q(m);!A||p||v||(Math.abs(t[0]-R[0])>Math.abs(t[1]-R[1])?v=!0:p=!0),R=t,_=!0,ii(),B()}function B(){var t;switch(T=R[0]-P[0],j=R[1]-P[1],w){case si:case oi:b&&(T=Math.max($-e,Math.min(M-u,T)),i=e+T,h=u+T),x&&(j=Math.max(E-s,Math.min(z-f,j)),a=s+j,d=f+j);break;case ai:b<0?(T=Math.max($-e,Math.min(M-e,T)),i=e+T,h=u):b>0&&(T=Math.max($-u,Math.min(M-u,T)),i=e,h=u+T),x<0?(j=Math.max(E-s,Math.min(z-s,j)),a=s+j,d=f):x>0&&(j=Math.max(E-f,Math.min(z-f,j)),a=s,d=f+j);break;case ui:b&&(i=Math.max($,Math.min(M,e-T*b)),h=Math.max($,Math.min(M,u+T*b))),x&&(a=Math.max(E,Math.min(z,s-j*x)),d=Math.max(E,Math.min(z,f+j*x)))}hNi)if(Math.abs(l*a-u*c)>Ni&&i){var f=e-o,d=r-s,_=a*a+u*u,p=f*f+d*d,v=Math.sqrt(_),g=Math.sqrt(h),m=i*Math.tan((Ii-Math.acos((_+h-p)/(2*v*g)))/2),y=m/g,w=m/v;Math.abs(y-1)>Ni&&(this._+="L"+(t+y*c)+","+(n+y*l)),this._+="A"+i+","+i+",0,0,"+ +(l*f>c*d)+","+(this._x1=t+w*a)+","+(this._y1=n+w*u)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,n,e,r,i,o){t=+t,n=+n,o=!!o;var s=(e=+e)*Math.cos(r),a=e*Math.sin(r),u=t+s,c=n+a,l=1^o,h=o?r-i:i-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+u+","+c:(Math.abs(this._x1-u)>Ni||Math.abs(this._y1-c)>Ni)&&(this._+="L"+u+","+c),e&&(h<0&&(h=h%Di+Di),h>Bi?this._+="A"+e+","+e+",0,1,"+l+","+(t-s)+","+(n-a)+"A"+e+","+e+",0,1,"+l+","+(this._x1=u)+","+(this._y1=c):h>Ni&&(this._+="A"+e+","+e+",0,"+ +(h>=Ii)+","+l+","+(this._x1=t+e*Math.cos(i))+","+(this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};const Hi=Ui;function Gi(t){return t.source}function Wi(t){return t.target}function Vi(t){return t.radius}function Zi(t){return t.startAngle}function Xi(t){return t.endAngle}function Yi(){var t=Gi,n=Wi,e=Vi,r=Zi,i=Xi,o=null;function s(){var s,a=Li.call(arguments),u=t.apply(this,a),c=n.apply(this,a),l=+e.apply(this,(a[0]=u,a)),h=r.apply(this,a)-Ai,f=i.apply(this,a)-Ai,d=l*zi(h),_=l*Ti(h),p=+e.apply(this,(a[0]=c,a)),v=r.apply(this,a)-Ai,g=i.apply(this,a)-Ai;if(o||(o=s=Hi()),o.moveTo(d,_),o.arc(0,0,l,h,f),h===v&&f===g||(o.quadraticCurveTo(0,0,p*zi(v),p*Ti(v)),o.arc(0,0,p,v,g)),o.quadraticCurveTo(0,0,d,_),o.closePath(),s)return o=null,s+""||null}return s.radius=function(t){return arguments.length?(e="function"==typeof t?t:Oi(+t),s):e},s.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Oi(+t),s):r},s.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:Oi(+t),s):i},s.source=function(n){return arguments.length?(t=n,s):t},s.target=function(t){return arguments.length?(n=t,s):n},s.context=function(t){return arguments.length?(o=null==t?null:t,s):o},s}var Ki="$";function Ji(){}function Qi(t,n){var e=new Ji;if(t instanceof Ji)t.each((function(t,n){e.set(n,t)}));else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==n)for(;++i=r.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var u,c,l,h=-1,f=e.length,d=r[i++],_=to(),p=s();++hr.length)return t;var o,a=i[e-1];return null!=n&&e>=r.length?o=t.entries():(o=[],t.each((function(t,n){o.push({key:n,values:s(t,e)})}))),null!=a?o.sort((function(t,n){return a(t.key,n.key)})):o}return e={object:function(t){return o(t,0,eo,ro)},map:function(t){return o(t,0,io,oo)},entries:function(t){return s(o(t,0,io,oo),0)},key:function(t){return r.push(t),e},sortKeys:function(t){return i[r.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}function eo(){return{}}function ro(t,n,e){t[n]=e}function io(){return to()}function oo(t,n,e){t.set(n,e)}function so(){}var ao=to.prototype;function uo(t,n){var e=new so;if(t instanceof so)t.each((function(t){e.add(t)}));else if(t){var r=-1,i=t.length;if(null==n)for(;++rxo?Math.pow(t,1/3):t/bo+yo}function Mo(t){return t>wo?t*t*t:bo*(t-yo)}function zo(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function To(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function jo(t){if(t instanceof Po)return new Po(t.h,t.c,t.l,t.opacity);if(t instanceof $o||(t=ko(t)),0===t.a&&0===t.b)return new Po(NaN,0r!=d>r&&e<(f-c)*(r-l)/(d-l)+c&&(i=-i)}return i}function Ko(t,n,e){var r,i,o,s;return function(t,n,e){return(n[0]-t[0])*(e[1]-t[1])==(e[0]-t[0])*(n[1]-t[1])}(t,n,e)&&(i=t[r=+(t[0]===n[0])],o=e[r],s=n[r],i<=o&&o<=s||s<=o&&o<=i)}function Jo(){}var Qo=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function ts(){var t=1,n=1,e=T,r=a;function i(t){var n=e(t);if(Array.isArray(n))n=n.slice().sort(Vo);else{var r=g(t),i=r[0],s=r[1];n=z(i,s,n),n=k(Math.floor(i/n)*n,Math.floor(s/n)*n,n)}return n.map((function(n){return o(t,n)}))}function o(e,i){var o=[],a=[];return function(e,r,i){var o,a,u,c,l,h,f=new Array,d=new Array;for(o=a=-1,c=e[0]>=r,Qo[c<<1].forEach(_);++o=r,Qo[u|c<<1].forEach(_);for(Qo[c<<0].forEach(_);++a=r,l=e[a*t]>=r,Qo[c<<1|l<<2].forEach(_);++o=r,h=l,l=e[a*t+o+1]>=r,Qo[u|c<<1|l<<2|h<<3].forEach(_);Qo[c|l<<3].forEach(_)}for(o=-1,l=e[a*t]>=r,Qo[l<<2].forEach(_);++o=r,Qo[l<<2|h<<3].forEach(_);function _(t){var n,e,r=[t[0][0]+o,t[0][1]+a],u=[t[1][0]+o,t[1][1]+a],c=s(r),l=s(u);(n=d[c])?(e=f[l])?(delete d[n.end],delete f[e.start],n===e?(n.ring.push(u),i(n.ring)):f[n.start]=d[e.end]={start:n.start,end:e.end,ring:n.ring.concat(e.ring)}):(delete d[n.end],n.ring.push(u),d[n.end=l]=n):(n=f[l])?(e=d[c])?(delete f[n.start],delete d[e.end],n===e?(n.ring.push(u),i(n.ring)):f[e.start]=d[n.end]={start:e.start,end:n.end,ring:e.ring.concat(n.ring)}):(delete f[n.start],n.ring.unshift(r),f[n.start=c]=n):f[c]=d[l]={start:c,end:l,ring:[r,u]}}Qo[l<<3].forEach(_)}(e,i,(function(t){r(t,e,i),function(t){for(var n=0,e=t.length,r=t[e-1][1]*t[0][0]-t[e-1][0]*t[0][1];++n0?o.push([t]):a.push(t)})),a.forEach((function(t){for(var n,e=0,r=o.length;e0&&s0&&a0&&o>0))throw new Error("invalid size");return t=r,n=o,i},i.thresholds=function(t){return arguments.length?(e="function"==typeof t?t:Array.isArray(t)?Zo(Wo.call(t)):Zo(t),i):e},i.smooth=function(t){return arguments.length?(r=t?a:Jo,i):r===a},i}function ns(t,n,e){for(var r=t.width,i=t.height,o=1+(e<<1),s=0;s=e&&(a>=o&&(u-=t.data[a-o+s*r]),n.data[a-e+s*r]=u/Math.min(a+1,r-1+o-a,o))}function es(t,n,e){for(var r=t.width,i=t.height,o=1+(e<<1),s=0;s=e&&(a>=o&&(u-=t.data[s+(a-o)*r]),n.data[s+(a-e)*r]=u/Math.min(a+1,i-1+o-a,o))}function rs(t){return t[0]}function is(t){return t[1]}function os(){return 1}function ss(){var t=rs,n=is,e=os,r=960,i=500,o=20,s=2,a=3*o,u=r+2*a>>s,c=i+2*a>>s,l=Zo(20);function h(r){var i=new Float32Array(u*c),h=new Float32Array(u*c);r.forEach((function(r,o,l){var h=+t(r,o,l)+a>>s,f=+n(r,o,l)+a>>s,d=+e(r,o,l);h>=0&&h=0&&f>s),es({width:u,height:c,data:h},{width:u,height:c,data:i},o>>s),ns({width:u,height:c,data:i},{width:u,height:c,data:h},o>>s),es({width:u,height:c,data:h},{width:u,height:c,data:i},o>>s),ns({width:u,height:c,data:i},{width:u,height:c,data:h},o>>s),es({width:u,height:c,data:h},{width:u,height:c,data:i},o>>s);var d=l(i);if(!Array.isArray(d)){var _=R(i);d=z(0,_,d),(d=k(0,Math.floor(_/d)*d,d)).shift()}return ts().thresholds(d).size([u,c])(i).map(f)}function f(t){return t.value*=Math.pow(2,-2*s),t.coordinates.forEach(d),t}function d(t){t.forEach(_)}function _(t){t.forEach(p)}function p(t){t[0]=t[0]*Math.pow(2,s)-a,t[1]=t[1]*Math.pow(2,s)-a}function v(){return u=r+2*(a=3*o)>>s,c=i+2*a>>s,h}return h.x=function(n){return arguments.length?(t="function"==typeof n?n:Zo(+n),h):t},h.y=function(t){return arguments.length?(n="function"==typeof t?t:Zo(+t),h):n},h.weight=function(t){return arguments.length?(e="function"==typeof t?t:Zo(+t),h):e},h.size=function(t){if(!arguments.length)return[r,i];var n=Math.ceil(t[0]),e=Math.ceil(t[1]);if(!(n>=0||n>=0))throw new Error("invalid size");return r=n,i=e,v()},h.cellSize=function(t){if(!arguments.length)return 1<=1))throw new Error("invalid cell size");return s=Math.floor(Math.log(t)/Math.LN2),v()},h.thresholds=function(t){return arguments.length?(l="function"==typeof t?t:Array.isArray(t)?Zo(Wo.call(t)):Zo(t),h):l},h.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return o=Math.round((Math.sqrt(4*t*t+1)-1)/2),v()},h}function as(t){return function(){return t}}function us(t,n,e,r,i,o,s,a,u,c){this.target=t,this.type=n,this.subject=e,this.identifier=r,this.active=i,this.x=o,this.y=s,this.dx=a,this.dy=u,this._=c}function cs(){return!_n.ctrlKey&&!_n.button}function ls(){return this.parentNode}function hs(t){return null==t?{x:_n.x,y:_n.y}:t}function fs(){return navigator.maxTouchPoints||"ontouchstart"in this}function ds(){var t,n,e,r,i=cs,o=ls,s=hs,a=fs,u={},c=pt("start","drag","end"),l=0,h=0;function f(t){t.on("mousedown.drag",d).filter(a).on("touchstart.drag",v).on("touchmove.drag",g).on("touchend.drag touchcancel.drag",m).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(){if(!r&&i.apply(this,arguments)){var s=y("mouse",o.apply(this,arguments),Re,this,arguments);s&&(En(_n.view).on("mousemove.drag",_,!0).on("mouseup.drag",p,!0),Tn(_n.view),Mn(),e=!1,t=_n.clientX,n=_n.clientY,s("start"))}}function _(){if(zn(),!e){var r=_n.clientX-t,i=_n.clientY-n;e=r*r+i*i>h}u.mouse("drag")}function p(){En(_n.view).on("mousemove.drag mouseup.drag",null),jn(_n.view,e),zn(),u.mouse("end")}function v(){if(i.apply(this,arguments)){var t,n,e=_n.changedTouches,r=o.apply(this,arguments),s=e.length;for(t=0;t=o?u=!0:(r=t.charCodeAt(s++))===gs?c=!0:r===ms&&(c=!0,t.charCodeAt(s)===gs&&++s),t.slice(i+1,n-1).replace(/""/g,'"')}for(;s9999?"+"+bs(t,6):bs(t,4)}(t.getUTCFullYear())+"-"+bs(t.getUTCMonth()+1,2)+"-"+bs(t.getUTCDate(),2)+(i?"T"+bs(n,2)+":"+bs(e,2)+":"+bs(r,2)+"."+bs(i,3)+"Z":r?"T"+bs(n,2)+":"+bs(e,2)+":"+bs(r,2)+"Z":e||n?"T"+bs(n,2)+":"+bs(e,2)+"Z":"")}(t):n.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,n){var e,i,o=r(t,(function(t,r){if(e)return e(t,r-1);i=t,e=n?function(t,n){var e=ys(t);return function(r,i){return n(e(r),i,t)}}(t,n):ys(t)}));return o.columns=i||[],o},parseRows:r,format:function(n,e){return null==e&&(e=ws(n)),[e.map(s).join(t)].concat(i(n,e)).join("\n")},formatBody:function(t,n){return null==n&&(n=ws(t)),i(t,n).join("\n")},formatRows:function(t){return t.map(o).join("\n")},formatRow:o,formatValue:s}}var ks=xs(","),Ss=ks.parse,Cs=ks.parseRows,$s=ks.format,Es=ks.formatBody,Ms=ks.formatRows,zs=ks.formatRow,Ts=ks.formatValue,js=xs("\t"),As=js.parse,qs=js.parseRows,Ps=js.format,Rs=js.formatBody,Ls=js.formatRows,Os=js.formatRow,Is=js.formatValue;function Ds(t){for(var n in t){var e,r,i=t[n].trim();if(i)if("true"===i)i=!0;else if("false"===i)i=!1;else if("NaN"===i)i=NaN;else if(isNaN(e=+i)){if(!(r=i.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;Ns&&r[4]&&!r[7]&&(i=i.replace(/-/g,"/").replace(/T/," ")),i=new Date(i)}else i=e;else i=null;t[n]=i}return t}var Ns=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();function Bs(t){return+t}function Fs(t){return t*t}function Us(t){return t*(2-t)}function Hs(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}var Gs=function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e}(3),Ws=function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),Vs=function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),Zs=Math.PI,Xs=Zs/2;function Ys(t){return 1==+t?1:1-Math.cos(t*Xs)}function Ks(t){return Math.sin(t*Xs)}function Js(t){return(1-Math.cos(Zs*t))/2}function Qs(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function ta(t){return Qs(1-+t)}function na(t){return 1-Qs(t)}function ea(t){return((t*=2)<=1?Qs(1-t):2-Qs(t-1))/2}function ra(t){return 1-Math.sqrt(1-t*t)}function ia(t){return Math.sqrt(1- --t*t)}function oa(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var sa=4/11,aa=6/11,ua=8/11,ca=3/4,la=9/11,ha=10/11,fa=15/16,da=21/22,_a=63/64,pa=1/sa/sa;function va(t){return 1-ga(1-t)}function ga(t){return(t=+t)=(o=(p+g)/2))?p=o:g=o,(l=e>=(s=(v+m)/2))?v=s:m=s,i=d,!(d=d[h=l<<1|c]))return i[h]=_,t;if(a=+t._x.call(null,d.data),u=+t._y.call(null,d.data),n===a&&e===u)return _.next=d,i?i[h]=_:t._root=_,t;do{i=i?i[h]=new Array(4):t._root=new Array(4),(c=n>=(o=(p+g)/2))?p=o:g=o,(l=e>=(s=(v+m)/2))?v=s:m=s}while((h=l<<1|c)==(f=(u>=s)<<1|a>=o));return i[f]=d,i[h]=_,t}function Za(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i}function Xa(t){return t[0]}function Ya(t){return t[1]}function Ka(t,n,e){var r=new Ja(null==n?Xa:n,null==e?Ya:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function Ja(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Qa(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}var tu=Ka.prototype=Ja.prototype;function nu(t){return t.x+t.vx}function eu(t){return t.y+t.vy}function ru(t){var n,e,r=1,i=1;function o(){for(var t,o,a,u,c,l,h,f=n.length,d=0;du+d||ic+d||oa.index){var _=u-s.x-s.vx,p=c-s.y-s.vy,v=_*_+p*p;vt.r&&(t.r=t[n].r)}function a(){if(n){var r,i,o=n.length;for(e=new Array(o),r=0;rl&&(l=r),ih&&(h=i));if(u>l||c>h)return this;for(this.cover(u,c).cover(l,h),e=0;et||t>=i||r>n||n>=o;)switch(a=(nf||(o=u.y0)>d||(s=u.x1)=g)<<1|t>=v)&&(u=_[_.length-1],_[_.length-1]=_[_.length-1-c],_[_.length-1-c]=u)}else{var m=t-+this._x.call(null,p.data),y=n-+this._y.call(null,p.data),w=m*m+y*y;if(w=(a=(_+v)/2))?_=a:v=a,(l=s>=(u=(p+g)/2))?p=u:g=u,n=d,!(d=d[h=l<<1|c]))return this;if(!d.length)break;(n[h+1&3]||n[h+2&3]||n[h+3&3])&&(e=n,f=h)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):n?(i?n[h]=i:delete n[h],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(e?e[f]=d:this._root=d),this):(this._root=i,this)},tu.removeAll=function(t){for(var n=0,e=t.length;n1?(null==e?a.remove(t):a.set(t,d(e)),n):a.get(t)},find:function(n,e,r){var i,o,s,a,u,c=0,l=t.length;for(null==r?r=1/0:r*=r,c=0;c1?(c.on(t,e),n):c.on(t)}}}function fu(){var t,n,e,r,i=Ga(-30),o=1,s=1/0,a=.81;function u(r){var i,o=t.length,s=Ka(t,au,uu).visitAfter(l);for(e=r,i=0;i=s)){(t.data!==n||t.next)&&(0===l&&(d+=(l=Wa())*l),0===h&&(d+=(h=Wa())*h),d1?r[0]+r.slice(2):r,+t.slice(e+1)]}function gu(t){return(t=vu(Math.abs(t)))?t[1]:NaN}var mu,yu=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function wu(t){if(!(n=yu.exec(t)))throw new Error("invalid format: "+t);var n;return new bu({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function bu(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function xu(t,n){var e=vu(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}wu.prototype=bu.prototype,bu.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const ku={"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return xu(100*t,n)},r:xu,s:function(t,n){var e=vu(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(mu=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+vu(t,Math.max(0,n+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function Su(t){return t}var Cu,$u,Eu,Mu=Array.prototype.map,zu=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Tu(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?Su:(n=Mu.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],s=0,a=n[0],u=0;i>0&&a>0&&(u+a+1>r&&(a=Math.max(1,r-u)),o.push(t.substring(i-=a,i+a)),!((u+=a+1)>r));)a=n[s=(s+1)%n.length];return o.reverse().join(e)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",s=void 0===t.decimal?".":t.decimal+"",a=void 0===t.numerals?Su:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(Mu.call(t.numerals,String)),u=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"-":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function h(t){var n=(t=wu(t)).fill,e=t.align,h=t.sign,f=t.symbol,d=t.zero,_=t.width,p=t.comma,v=t.precision,g=t.trim,m=t.type;"n"===m?(p=!0,m="g"):ku[m]||(void 0===v&&(v=12),g=!0,m="g"),(d||"0"===n&&"="===e)&&(d=!0,n="0",e="=");var y="$"===f?i:"#"===f&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",w="$"===f?o:/[%p]/.test(m)?u:"",b=ku[m],x=/[defgprs%]/.test(m);function k(t){var i,o,u,f=y,k=w;if("c"===m)k=b(t)+k,t="";else{var S=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:b(Math.abs(t),v),g&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}(t)),S&&0==+t&&"+"!==h&&(S=!1),f=(S?"("===h?h:c:"-"===h||"("===h?"":h)+f,k=("s"===m?zu[8+mu/3]:"")+k+(S&&"("===h?")":""),x)for(i=-1,o=t.length;++i(u=t.charCodeAt(i))||u>57){k=(46===u?s+t.slice(i+1):t.slice(i))+k,t=t.slice(0,i);break}}p&&!d&&(t=r(t,1/0));var C=f.length+t.length+k.length,$=C<_?new Array(_-C+1).join(n):"";switch(p&&d&&(t=r($+t,$.length?_-k.length:1/0),$=""),e){case"<":t=f+t+k+$;break;case"=":t=f+$+t+k;break;case"^":t=$.slice(0,C=$.length>>1)+f+t+k+$.slice(C);break;default:t=$+f+t+k}return a(t)}return v=void 0===v?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),k.toString=function(){return t+""},k}return{format:h,formatPrefix:function(t,n){var e=h(((t=wu(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(gu(n)/3))),i=Math.pow(10,-r),o=zu[8+r/3];return function(t){return e(i*t)+o}}}}function ju(t){return Cu=Tu(t),$u=Cu.format,Eu=Cu.formatPrefix,Cu}function Au(t){return Math.max(0,-gu(Math.abs(t)))}function qu(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(gu(n)/3)))-gu(Math.abs(t)))}function Pu(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,gu(n)-gu(t))+1}function Ru(){return new Lu}function Lu(){this.reset()}ju({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Lu.prototype={constructor:Lu,reset:function(){this.s=this.t=0},add:function(t){Iu(Ou,t,this.t),Iu(this,Ou.s,this.s),this.s?this.t+=Ou.t:this.s=Ou.t},valueOf:function(){return this.s}};var Ou=new Lu;function Iu(t,n,e){var r=t.s=n+e,i=r-n,o=r-i;t.t=n-o+(e-i)}var Du=1e-6,Nu=1e-12,Bu=Math.PI,Fu=Bu/2,Uu=Bu/4,Hu=2*Bu,Gu=180/Bu,Wu=Bu/180,Vu=Math.abs,Zu=Math.atan,Xu=Math.atan2,Yu=Math.cos,Ku=Math.ceil,Ju=Math.exp,Qu=(Math.floor,Math.log),tc=Math.pow,nc=Math.sin,ec=Math.sign||function(t){return t>0?1:t<0?-1:0},rc=Math.sqrt,ic=Math.tan;function oc(t){return t>1?0:t<-1?Bu:Math.acos(t)}function sc(t){return t>1?Fu:t<-1?-Fu:Math.asin(t)}function ac(t){return(t=nc(t/2))*t}function uc(){}function cc(t,n){t&&hc.hasOwnProperty(t.type)&&hc[t.type](t,n)}var lc={Feature:function(t,n){cc(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r=0?1:-1,i=r*e,o=Yu(n=(n*=Wu)/2+Uu),s=nc(n),a=yc*s,u=mc*o+a*Yu(i),c=a*r*nc(i);wc.add(Xu(c,u)),gc=t,mc=o,yc=s}function Ec(t){return bc.reset(),_c(t,xc),2*bc}function Mc(t){return[Xu(t[1],t[0]),sc(t[2])]}function zc(t){var n=t[0],e=t[1],r=Yu(e);return[r*Yu(n),r*nc(n),nc(e)]}function Tc(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function jc(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function Ac(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function qc(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function Pc(t){var n=rc(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var Rc,Lc,Oc,Ic,Dc,Nc,Bc,Fc,Uc,Hc,Gc,Wc,Vc,Zc,Xc,Yc,Kc,Jc,Qc,tl,nl,el,rl,il,ol,sl,al=Ru(),ul={point:cl,lineStart:hl,lineEnd:fl,polygonStart:function(){ul.point=dl,ul.lineStart=_l,ul.lineEnd=pl,al.reset(),xc.polygonStart()},polygonEnd:function(){xc.polygonEnd(),ul.point=cl,ul.lineStart=hl,ul.lineEnd=fl,wc<0?(Rc=-(Oc=180),Lc=-(Ic=90)):al>Du?Ic=90:al<-Du&&(Lc=-90),Hc[0]=Rc,Hc[1]=Oc},sphere:function(){Rc=-(Oc=180),Lc=-(Ic=90)}};function cl(t,n){Uc.push(Hc=[Rc=t,Oc=t]),nIc&&(Ic=n)}function ll(t,n){var e=zc([t*Wu,n*Wu]);if(Fc){var r=jc(Fc,e),i=jc([r[1],-r[0],0],r);Pc(i),i=Mc(i);var o,s=t-Dc,a=s>0?1:-1,u=i[0]*Gu*a,c=Vu(s)>180;c^(a*DcIc&&(Ic=o):c^(a*Dc<(u=(u+360)%360-180)&&uIc&&(Ic=n)),c?tvl(Rc,Oc)&&(Oc=t):vl(t,Oc)>vl(Rc,Oc)&&(Rc=t):Oc>=Rc?(tOc&&(Oc=t)):t>Dc?vl(Rc,t)>vl(Rc,Oc)&&(Oc=t):vl(t,Oc)>vl(Rc,Oc)&&(Rc=t)}else Uc.push(Hc=[Rc=t,Oc=t]);nIc&&(Ic=n),Fc=e,Dc=t}function hl(){ul.point=ll}function fl(){Hc[0]=Rc,Hc[1]=Oc,ul.point=cl,Fc=null}function dl(t,n){if(Fc){var e=t-Dc;al.add(Vu(e)>180?e+(e>0?360:-360):e)}else Nc=t,Bc=n;xc.point(t,n),ll(t,n)}function _l(){xc.lineStart()}function pl(){dl(Nc,Bc),xc.lineEnd(),Vu(al)>Du&&(Rc=-(Oc=180)),Hc[0]=Rc,Hc[1]=Oc,Fc=null}function vl(t,n){return(n-=t)<0?n+360:n}function gl(t,n){return t[0]-n[0]}function ml(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nvl(r[0],r[1])&&(r[1]=i[1]),vl(i[0],r[1])>vl(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(s=-1/0,n=0,r=o[e=o.length-1];n<=e;r=i,++n)i=o[n],(a=vl(r[1],i[0]))>s&&(s=a,Rc=i[0],Oc=r[1])}return Uc=Hc=null,Rc===1/0||Lc===1/0?[[NaN,NaN],[NaN,NaN]]:[[Rc,Lc],[Oc,Ic]]}var wl={sphere:uc,point:bl,lineStart:kl,lineEnd:$l,polygonStart:function(){wl.lineStart=El,wl.lineEnd=Ml},polygonEnd:function(){wl.lineStart=kl,wl.lineEnd=$l}};function bl(t,n){t*=Wu;var e=Yu(n*=Wu);xl(e*Yu(t),e*nc(t),nc(n))}function xl(t,n,e){++Gc,Vc+=(t-Vc)/Gc,Zc+=(n-Zc)/Gc,Xc+=(e-Xc)/Gc}function kl(){wl.point=Sl}function Sl(t,n){t*=Wu;var e=Yu(n*=Wu);il=e*Yu(t),ol=e*nc(t),sl=nc(n),wl.point=Cl,xl(il,ol,sl)}function Cl(t,n){t*=Wu;var e=Yu(n*=Wu),r=e*Yu(t),i=e*nc(t),o=nc(n),s=Xu(rc((s=ol*o-sl*i)*s+(s=sl*r-il*o)*s+(s=il*i-ol*r)*s),il*r+ol*i+sl*o);Wc+=s,Yc+=s*(il+(il=r)),Kc+=s*(ol+(ol=i)),Jc+=s*(sl+(sl=o)),xl(il,ol,sl)}function $l(){wl.point=bl}function El(){wl.point=zl}function Ml(){Tl(el,rl),wl.point=bl}function zl(t,n){el=t,rl=n,t*=Wu,n*=Wu,wl.point=Tl;var e=Yu(n);il=e*Yu(t),ol=e*nc(t),sl=nc(n),xl(il,ol,sl)}function Tl(t,n){t*=Wu;var e=Yu(n*=Wu),r=e*Yu(t),i=e*nc(t),o=nc(n),s=ol*o-sl*i,a=sl*r-il*o,u=il*i-ol*r,c=rc(s*s+a*a+u*u),l=sc(c),h=c&&-l/c;Qc+=h*s,tl+=h*a,nl+=h*u,Wc+=l,Yc+=l*(il+(il=r)),Kc+=l*(ol+(ol=i)),Jc+=l*(sl+(sl=o)),xl(il,ol,sl)}function jl(t){Gc=Wc=Vc=Zc=Xc=Yc=Kc=Jc=Qc=tl=nl=0,_c(t,wl);var n=Qc,e=tl,r=nl,i=n*n+e*e+r*r;return iBu?t+Math.round(-t/Hu)*Hu:t,n]}function Rl(t,n,e){return(t%=Hu)?n||e?ql(Ol(t),Il(n,e)):Ol(t):n||e?Il(n,e):Pl}function Ll(t){return function(n,e){return[(n+=t)>Bu?n-Hu:n<-Bu?n+Hu:n,e]}}function Ol(t){var n=Ll(t);return n.invert=Ll(-t),n}function Il(t,n){var e=Yu(t),r=nc(t),i=Yu(n),o=nc(n);function s(t,n){var s=Yu(n),a=Yu(t)*s,u=nc(t)*s,c=nc(n),l=c*e+a*r;return[Xu(u*i-l*o,a*e-c*r),sc(l*i+u*o)]}return s.invert=function(t,n){var s=Yu(n),a=Yu(t)*s,u=nc(t)*s,c=nc(n),l=c*i-u*o;return[Xu(u*i+c*o,a*e+l*r),sc(l*e-a*r)]},s}function Dl(t){function n(n){return(n=t(n[0]*Wu,n[1]*Wu))[0]*=Gu,n[1]*=Gu,n}return t=Rl(t[0]*Wu,t[1]*Wu,t.length>2?t[2]*Wu:0),n.invert=function(n){return(n=t.invert(n[0]*Wu,n[1]*Wu))[0]*=Gu,n[1]*=Gu,n},n}function Nl(t,n,e,r,i,o){if(e){var s=Yu(n),a=nc(n),u=r*e;null==i?(i=n+r*Hu,o=n-u/2):(i=Bl(s,i),o=Bl(s,o),(r>0?io)&&(i+=r*Hu));for(var c,l=i;r>0?l>o:l1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}function Hl(t,n){return Vu(t[0]-n[0])=0;--o)i.point((l=c[o])[0],l[1]);else r(f.x,f.p.x,-1,i);f=f.p}c=(f=f.o).z,d=!d}while(!f.v);i.lineEnd()}}}function Vl(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0?1:-1,C=S*k,$=C>Bu,E=p*b;if(Zl.add(Xu(E*S*nc(C),v*x+E*Yu(C))),s+=$?k+S*Hu:k,$^d>=e^y>=e){var M=jc(zc(f),zc(m));Pc(M);var z=jc(o,M);Pc(z);var T=($^k>=0?-1:1)*sc(z[2]);(r>T||r===T&&(M[0]||M[1]))&&(a+=$^k>=0?1:-1)}}return(s<-Du||s0){for(h||(i.polygonStart(),h=!0),i.lineStart(),t=0;t1&&2&u&&f.push(f.pop().concat(f.shift())),s.push(f.filter(Jl))}return f}}function Jl(t){return t.length>1}function Ql(t,n){return((t=t.x)[0]<0?t[1]-Fu-Du:Fu-t[1])-((n=n.x)[0]<0?n[1]-Fu-Du:Fu-n[1])}const th=Kl((function(){return!0}),(function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,s){var a=o>0?Bu:-Bu,u=Vu(o-e);Vu(u-Bu)0?Fu:-Fu),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(o,r),n=0):i!==a&&u>=Bu&&(Vu(e-i)Du?Zu((nc(n)*(o=Yu(r))*nc(e)-nc(r)*(i=Yu(n))*nc(t))/(i*o*s)):(n+r)/2}(e,r,o,s),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=o,r=s),i=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}}),(function(t,n,e,r){var i;if(null==t)i=e*Fu,r.point(-Bu,i),r.point(0,i),r.point(Bu,i),r.point(Bu,0),r.point(Bu,-i),r.point(0,-i),r.point(-Bu,-i),r.point(-Bu,0),r.point(-Bu,i);else if(Vu(t[0]-n[0])>Du){var o=t[0]0,i=Vu(n)>Du;function o(t,e){return Yu(t)*Yu(e)>n}function s(t,e,r){var i=[1,0,0],o=jc(zc(t),zc(e)),s=Tc(o,o),a=o[0],u=s-a*a;if(!u)return!r&&t;var c=n*s/u,l=-n*a/u,h=jc(i,o),f=qc(i,c);Ac(f,qc(o,l));var d=h,_=Tc(f,d),p=Tc(d,d),v=_*_-p*(Tc(f,f)-1);if(!(v<0)){var g=rc(v),m=qc(d,(-_-g)/p);if(Ac(m,f),m=Mc(m),!r)return m;var y,w=t[0],b=e[0],x=t[1],k=e[1];b0^m[1]<(Vu(m[0]-w)Bu^(w<=m[0]&&m[0]<=b)){var $=qc(d,(-_+g)/p);return Ac($,f),[m,Mc($)]}}}function a(n,e){var i=r?t:Bu-t,o=0;return n<-i?o|=1:n>i&&(o|=2),e<-i?o|=4:e>i&&(o|=8),o}return Kl(o,(function(t){var n,e,u,c,l;return{lineStart:function(){c=u=!1,l=1},point:function(h,f){var d,_=[h,f],p=o(h,f),v=r?p?0:a(h,f):p?a(h+(h<0?Bu:-Bu),f):0;if(!n&&(c=u=p)&&t.lineStart(),p!==u&&(!(d=s(n,_))||Hl(n,d)||Hl(_,d))&&(_[2]=1),p!==u)l=0,p?(t.lineStart(),d=s(_,n),t.point(d[0],d[1])):(d=s(n,_),t.point(d[0],d[1],2),t.lineEnd()),n=d;else if(i&&n&&r^p){var g;v&e||!(g=s(_,n,!0))||(l=0,r?(t.lineStart(),t.point(g[0][0],g[0][1]),t.point(g[1][0],g[1][1]),t.lineEnd()):(t.point(g[1][0],g[1][1]),t.lineEnd(),t.lineStart(),t.point(g[0][0],g[0][1],3)))}!p||n&&Hl(n,_)||t.point(_[0],_[1]),n=_,u=p,e=v},lineEnd:function(){u&&t.lineEnd(),n=null},clean:function(){return l|(c&&u)<<1}}}),(function(n,r,i,o){Nl(o,t,e,i,n,r)}),r?[0,-t]:[-Bu,t-Bu])}var eh=1e9,rh=-eh;function ih(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,a,c){var l=0,h=0;if(null==i||(l=s(i,a))!==(h=s(o,a))||u(i,o)<0^a>0)do{c.point(0===l||3===l?t:e,l>1?r:n)}while((l=(l+a+4)%4)!==h);else c.point(o[0],o[1])}function s(r,i){return Vu(r[0]-t)0?0:3:Vu(r[0]-e)0?2:1:Vu(r[1]-n)0?1:0:i>0?3:2}function a(t,n){return u(t.x,n.x)}function u(t,n){var e=s(t,1),r=s(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(s){var u,c,l,h,f,d,_,p,v,g,m,y=s,w=Ul(),b={point:x,lineStart:function(){b.point=k,c&&c.push(l=[]),g=!0,v=!1,_=p=NaN},lineEnd:function(){u&&(k(h,f),d&&v&&w.rejoin(),u.push(w.result())),b.point=x,v&&y.lineEnd()},polygonStart:function(){y=w,u=[],c=[],m=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,i=c.length;er&&(f-o)*(r-s)>(d-s)*(t-o)&&++n:d<=r&&(f-o)*(r-s)<(d-s)*(t-o)&&--n;return n}(),e=m&&n,i=(u=I(u)).length;(e||i)&&(s.polygonStart(),e&&(s.lineStart(),o(null,null,1,s),s.lineEnd()),i&&Wl(u,a,n,o,s),s.polygonEnd()),y=s,u=c=l=null}};function x(t,n){i(t,n)&&y.point(t,n)}function k(o,s){var a=i(o,s);if(c&&l.push([o,s]),g)h=o,f=s,d=a,g=!1,a&&(y.lineStart(),y.point(o,s));else if(a&&v)y.point(o,s);else{var u=[_=Math.max(rh,Math.min(eh,_)),p=Math.max(rh,Math.min(eh,p))],w=[o=Math.max(rh,Math.min(eh,o)),s=Math.max(rh,Math.min(eh,s))];!function(t,n,e,r,i,o){var s,a=t[0],u=t[1],c=0,l=1,h=n[0]-a,f=n[1]-u;if(s=e-a,h||!(s>0)){if(s/=h,h<0){if(s0){if(s>l)return;s>c&&(c=s)}if(s=i-a,h||!(s<0)){if(s/=h,h<0){if(s>l)return;s>c&&(c=s)}else if(h>0){if(s0)){if(s/=f,f<0){if(s0){if(s>l)return;s>c&&(c=s)}if(s=o-u,f||!(s<0)){if(s/=f,f<0){if(s>l)return;s>c&&(c=s)}else if(f>0){if(s0&&(t[0]=a+c*h,t[1]=u+c*f),l<1&&(n[0]=a+l*h,n[1]=u+l*f),!0}}}}}(u,w,t,n,e,r)?a&&(y.lineStart(),y.point(o,s),m=!1):(v||(y.lineStart(),y.point(u[0],u[1])),y.point(w[0],w[1]),a||y.lineEnd(),m=!1)}_=o,p=s,v=a}return b}}function oh(){var t,n,e,r=0,i=0,o=960,s=500;return e={stream:function(e){return t&&n===e?t:t=ih(r,i,o,s)(n=e)},extent:function(a){return arguments.length?(r=+a[0][0],i=+a[0][1],o=+a[1][0],s=+a[1][1],t=n=null,e):[[r,i],[o,s]]}}}var sh,ah,uh,ch=Ru(),lh={sphere:uc,point:uc,lineStart:function(){lh.point=fh,lh.lineEnd=hh},lineEnd:uc,polygonStart:uc,polygonEnd:uc};function hh(){lh.point=lh.lineEnd=uc}function fh(t,n){sh=t*=Wu,ah=nc(n*=Wu),uh=Yu(n),lh.point=dh}function dh(t,n){t*=Wu;var e=nc(n*=Wu),r=Yu(n),i=Vu(t-sh),o=Yu(i),s=r*nc(i),a=uh*e-ah*r*o,u=ah*e+uh*r*o;ch.add(Xu(rc(s*s+a*a),u)),sh=t,ah=e,uh=r}function _h(t){return ch.reset(),_c(t,lh),+ch}var ph=[null,null],vh={type:"LineString",coordinates:ph};function gh(t,n){return ph[0]=t,ph[1]=n,_h(vh)}var mh={Feature:function(t,n){return wh(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r0&&(i=gh(t[o],t[o-1]))>0&&e<=i&&r<=i&&(e+r-i)*(1-Math.pow((e-r)/i,2))Du})).map(u)).concat(k(Ku(o/d)*d,i,d).filter((function(t){return Vu(t%p)>Du})).map(c))}return g.lines=function(){return m().map((function(t){return{type:"LineString",coordinates:t}}))},g.outline=function(){return{type:"Polygon",coordinates:[l(r).concat(h(s).slice(1),l(e).reverse().slice(1),h(a).reverse().slice(1))]}},g.extent=function(t){return arguments.length?g.extentMajor(t).extentMinor(t):g.extentMinor()},g.extentMajor=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],s=+t[1][1],r>e&&(t=r,r=e,e=t),a>s&&(t=a,a=s,s=t),g.precision(v)):[[r,a],[e,s]]},g.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],o=+e[0][1],i=+e[1][1],n>t&&(e=n,n=t,t=e),o>i&&(e=o,o=i,i=e),g.precision(v)):[[n,o],[t,i]]},g.step=function(t){return arguments.length?g.stepMajor(t).stepMinor(t):g.stepMinor()},g.stepMajor=function(t){return arguments.length?(_=+t[0],p=+t[1],g):[_,p]},g.stepMinor=function(t){return arguments.length?(f=+t[0],d=+t[1],g):[f,d]},g.precision=function(f){return arguments.length?(v=+f,u=Eh(o,i,90),c=Mh(n,t,v),l=Eh(a,s,90),h=Mh(r,e,v),g):v},g.extentMajor([[-180,-90+Du],[180,90-Du]]).extentMinor([[-180,-80-Du],[180,80+Du]])}function Th(){return zh()()}function jh(t,n){var e=t[0]*Wu,r=t[1]*Wu,i=n[0]*Wu,o=n[1]*Wu,s=Yu(r),a=nc(r),u=Yu(o),c=nc(o),l=s*Yu(e),h=s*nc(e),f=u*Yu(i),d=u*nc(i),_=2*sc(rc(ac(o-r)+s*u*ac(i-e))),p=nc(_),v=_?function(t){var n=nc(t*=_)/p,e=nc(_-t)/p,r=e*l+n*f,i=e*h+n*d,o=e*a+n*c;return[Xu(i,r)*Gu,Xu(o,rc(r*r+i*i))*Gu]}:function(){return[e*Gu,r*Gu]};return v.distance=_,v}function Ah(t){return t}var qh,Ph,Rh,Lh,Oh=Ru(),Ih=Ru(),Dh={point:uc,lineStart:uc,lineEnd:uc,polygonStart:function(){Dh.lineStart=Nh,Dh.lineEnd=Uh},polygonEnd:function(){Dh.lineStart=Dh.lineEnd=Dh.point=uc,Oh.add(Vu(Ih)),Ih.reset()},result:function(){var t=Oh/2;return Oh.reset(),t}};function Nh(){Dh.point=Bh}function Bh(t,n){Dh.point=Fh,qh=Rh=t,Ph=Lh=n}function Fh(t,n){Ih.add(Lh*t-Rh*n),Rh=t,Lh=n}function Uh(){Fh(qh,Ph)}const Hh=Dh;var Gh=1/0,Wh=Gh,Vh=-Gh,Zh=Vh,Xh={point:function(t,n){tVh&&(Vh=t),nZh&&(Zh=n)},lineStart:uc,lineEnd:uc,polygonStart:uc,polygonEnd:uc,result:function(){var t=[[Gh,Wh],[Vh,Zh]];return Vh=Zh=-(Wh=Gh=1/0),t}};const Yh=Xh;var Kh,Jh,Qh,tf,nf=0,ef=0,rf=0,of=0,sf=0,af=0,uf=0,cf=0,lf=0,hf={point:ff,lineStart:df,lineEnd:vf,polygonStart:function(){hf.lineStart=gf,hf.lineEnd=mf},polygonEnd:function(){hf.point=ff,hf.lineStart=df,hf.lineEnd=vf},result:function(){var t=lf?[uf/lf,cf/lf]:af?[of/af,sf/af]:rf?[nf/rf,ef/rf]:[NaN,NaN];return nf=ef=rf=of=sf=af=uf=cf=lf=0,t}};function ff(t,n){nf+=t,ef+=n,++rf}function df(){hf.point=_f}function _f(t,n){hf.point=pf,ff(Qh=t,tf=n)}function pf(t,n){var e=t-Qh,r=n-tf,i=rc(e*e+r*r);of+=i*(Qh+t)/2,sf+=i*(tf+n)/2,af+=i,ff(Qh=t,tf=n)}function vf(){hf.point=ff}function gf(){hf.point=yf}function mf(){wf(Kh,Jh)}function yf(t,n){hf.point=wf,ff(Kh=Qh=t,Jh=tf=n)}function wf(t,n){var e=t-Qh,r=n-tf,i=rc(e*e+r*r);of+=i*(Qh+t)/2,sf+=i*(tf+n)/2,af+=i,uf+=(i=tf*t-Qh*n)*(Qh+t),cf+=i*(tf+n),lf+=3*i,ff(Qh=t,tf=n)}const bf=hf;function xf(t){this._context=t}xf.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,Hu)}},result:uc};var kf,Sf,Cf,$f,Ef,Mf=Ru(),zf={point:uc,lineStart:function(){zf.point=Tf},lineEnd:function(){kf&&jf(Sf,Cf),zf.point=uc},polygonStart:function(){kf=!0},polygonEnd:function(){kf=null},result:function(){var t=+Mf;return Mf.reset(),t}};function Tf(t,n){zf.point=jf,Sf=$f=t,Cf=Ef=n}function jf(t,n){$f-=t,Ef-=n,Mf.add(rc($f*$f+Ef*Ef)),$f=t,Ef=n}const Af=zf;function qf(){this._string=[]}function Pf(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function Rf(t,n){var e,r,i=4.5;function o(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),_c(t,e(r))),r.result()}return o.area=function(t){return _c(t,e(Hh)),Hh.result()},o.measure=function(t){return _c(t,e(Af)),Af.result()},o.bounds=function(t){return _c(t,e(Yh)),Yh.result()},o.centroid=function(t){return _c(t,e(bf)),bf.result()},o.projection=function(n){return arguments.length?(e=null==n?(t=null,Ah):(t=n).stream,o):t},o.context=function(t){return arguments.length?(r=null==t?(n=null,new qf):new xf(n=t),"function"!=typeof i&&r.pointRadius(i),o):n},o.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),o):i},o.projection(t).context(n)}function Lf(t){return{stream:Of(t)}}function Of(t){return function(n){var e=new If;for(var r in t)e[r]=t[r];return e.stream=n,e}}function If(){}function Df(t,n,e){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),_c(e,t.stream(Yh)),n(Yh.result()),null!=r&&t.clipExtent(r),t}function Nf(t,n,e){return Df(t,(function(e){var r=n[1][0]-n[0][0],i=n[1][1]-n[0][1],o=Math.min(r/(e[1][0]-e[0][0]),i/(e[1][1]-e[0][1])),s=+n[0][0]+(r-o*(e[1][0]+e[0][0]))/2,a=+n[0][1]+(i-o*(e[1][1]+e[0][1]))/2;t.scale(150*o).translate([s,a])}),e)}function Bf(t,n,e){return Nf(t,[[0,0],n],e)}function Ff(t,n,e){return Df(t,(function(e){var r=+n,i=r/(e[1][0]-e[0][0]),o=(r-i*(e[1][0]+e[0][0]))/2,s=-i*e[0][1];t.scale(150*i).translate([o,s])}),e)}function Uf(t,n,e){return Df(t,(function(e){var r=+n,i=r/(e[1][1]-e[0][1]),o=-i*e[0][0],s=(r-i*(e[1][1]+e[0][1]))/2;t.scale(150*i).translate([o,s])}),e)}qf.prototype={_radius:4.5,_circle:Pf(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=Pf(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}},If.prototype={constructor:If,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Hf=16,Gf=Yu(30*Wu);function Wf(t,n){return+n?function(t,n){function e(r,i,o,s,a,u,c,l,h,f,d,_,p,v){var g=c-r,m=l-i,y=g*g+m*m;if(y>4*n&&p--){var w=s+f,b=a+d,x=u+_,k=rc(w*w+b*b+x*x),S=sc(x/=k),C=Vu(Vu(x)-1)n||Vu((g*z+m*T)/y-.5)>.3||s*f+a*d+u*_2?t[2]%360*Wu:0,z()):[v*Gu,g*Gu,m*Gu]},E.angle=function(t){return arguments.length?(y=t%360*Wu,z()):y*Gu},E.reflectX=function(t){return arguments.length?(w=t?-1:1,z()):w<0},E.reflectY=function(t){return arguments.length?(b=t?-1:1,z()):b<0},E.precision=function(t){return arguments.length?(s=Wf(a,$=t*t),T()):rc($)},E.fitExtent=function(t,n){return Nf(E,t,n)},E.fitSize=function(t,n){return Bf(E,t,n)},E.fitWidth=function(t,n){return Ff(E,t,n)},E.fitHeight=function(t,n){return Uf(E,t,n)},function(){return n=t.apply(this,arguments),E.invert=n.invert&&M,z()}}function Jf(t){var n=0,e=Bu/3,r=Kf(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*Wu,e=t[1]*Wu):[n*Gu,e*Gu]},i}function Qf(t,n){var e=nc(t),r=(e+nc(n))/2;if(Vu(r)=.12&&i<.234&&r>=-.425&&r<-.214?a:i>=.166&&i<.234&&r>=-.214&&r<-.115?u:s).invert(t)},l.stream=function(e){return t&&n===e?t:(r=[s.stream(n=e),a.stream(e),u.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e0?n<-Fu+Du&&(n=-Fu+Du):n>Fu-Du&&(n=Fu-Du);var e=i/tc(fd(n),r);return[e*nc(r*t),i-e*Yu(r*t)]}return o.invert=function(t,n){var e=i-n,o=ec(r)*rc(t*t+e*e),s=Xu(t,Vu(e))*ec(e);return e*r<0&&(s-=Bu*ec(t)*ec(e)),[s/r,2*Zu(tc(i/o,1/r))-Fu]},o}function _d(){return Jf(dd).scale(109.5).parallels([30,30])}function pd(t,n){return[t,n]}function vd(){return Yf(pd).scale(152.63)}function gd(t,n){var e=Yu(t),r=t===n?nc(t):(e-Yu(n))/(n-t),i=e/r+t;if(Vu(r)2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)}function Od(t,n){return t.parent===n.parent?1:2}function Id(t,n){return t+n.x}function Dd(t,n){return Math.max(t,n.y)}function Nd(){var t=Od,n=1,e=1,r=!1;function i(i){var o,s=0;i.eachAfter((function(n){var e=n.children;e?(n.x=function(t){return t.reduce(Id,0)/t.length}(e),n.y=function(t){return 1+t.reduce(Dd,0)}(e)):(n.x=o?s+=t(n,o):0,n.y=0,o=n)}));var a=function(t){for(var n;n=t.children;)t=n[0];return t}(i),u=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(i),c=a.x-t(a,u)/2,l=u.x+t(u,a)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*n,t.y=(i.y-t.y)*e}:function(t){t.x=(t.x-c)/(l-c)*n,t.y=(1-(i.y?t.y/i.y:1))*e})}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i}function Bd(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}function Fd(t,n){var e,r,i,o,s,a=new Wd(t),u=+t.value&&(a.value=t.value),c=[a];for(null==n&&(n=Ud);e=c.pop();)if(u&&(e.value=+e.data.value),(i=n(e.data))&&(s=i.length))for(e.children=new Array(s),o=s-1;o>=0;--o)c.push(r=e.children[o]=new Wd(i[o])),r.parent=e,r.depth=e.depth+1;return a.eachBefore(Gd)}function Ud(t){return t.children}function Hd(t){t.data=t.data.data}function Gd(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function Wd(t){this.data=t,this.depth=this.height=0,this.parent=null}Sd.invert=function(t,n){for(var e,r=n,i=r*r,o=i*i*i,s=0;s<12&&(o=(i=(r-=e=(r*(yd+wd*i+o*(bd+xd*i))-n)/(yd+3*wd*i+o*(7*bd+9*xd*i)))*r)*i*i,!(Vu(e)Du&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]},jd.invert=id(sc),qd.invert=id((function(t){return 2*Zu(t)})),Rd.invert=function(t,n){return[-n,2*Zu(Ju(t))-Fu]},Wd.prototype=Fd.prototype={constructor:Wd,count:function(){return this.eachAfter(Bd)},each:function(t){var n,e,r,i,o=this,s=[o];do{for(n=s.reverse(),s=[];o=n.pop();)if(t(o),e=o.children)for(r=0,i=e.length;r=0;--e)i.push(n[e]);return this},sum:function(t){return this.eachAfter((function(n){for(var e=+t(n.data)||0,r=n.children,i=r&&r.length;--i>=0;)e+=r[i].value;n.value=e}))},sort:function(t){return this.eachBefore((function(n){n.children&&n.children.sort(t)}))},path:function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;for(t=e.pop(),n=r.pop();t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},descendants:function(){var t=[];return this.each((function(n){t.push(n)})),t},leaves:function(){var t=[];return this.eachBefore((function(n){n.children||t.push(n)})),t},links:function(){var t=this,n=[];return t.each((function(e){e!==t&&n.push({source:e.parent,target:e})})),n},copy:function(){return Fd(this).eachBefore(Hd)}};var Vd=Array.prototype.slice;function Zd(t){for(var n,e,r=0,i=(t=function(t){for(var n,e,r=t.length;r;)e=Math.random()*r--|0,n=t[r],t[r]=t[e],t[e]=n;return t}(Vd.call(t))).length,o=[];r0&&e*e>r*r+i*i}function Jd(t,n){for(var e=0;e(s*=s)?(r=(c+s-i)/(2*c),o=Math.sqrt(Math.max(0,s/c-r*r)),e.x=t.x-r*a-o*u,e.y=t.y-r*u+o*a):(r=(c+i-s)/(2*c),o=Math.sqrt(Math.max(0,i/c-r*r)),e.x=n.x+r*a-o*u,e.y=n.y+r*u+o*a)):(e.x=n.x+e.r,e.y=n.y)}function r_(t,n){var e=t.r+n.r-1e-6,r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function i_(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,o=(n.y*e.r+e.y*n.r)/r;return i*i+o*o}function o_(t){this._=t,this.next=null,this.previous=null}function s_(t){if(!(i=t.length))return 0;var n,e,r,i,o,s,a,u,c,l,h;if((n=t[0]).x=0,n.y=0,!(i>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(i>2))return n.r+e.r;e_(e,n,r=t[2]),n=new o_(n),e=new o_(e),r=new o_(r),n.next=r.previous=e,e.next=n.previous=r,r.next=e.previous=n;t:for(a=3;a0)throw new Error("cycle");return o}return e.id=function(n){return arguments.length?(t=u_(n),e):t},e.parentId=function(t){return arguments.length?(n=u_(t),e):n},e}function C_(t,n){return t.parent===n.parent?1:2}function $_(t){var n=t.children;return n?n[0]:t.t}function E_(t){var n=t.children;return n?n[n.length-1]:t.t}function M_(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function z_(t,n,e){return t.a.parent===n.parent?t.a:e}function T_(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}function j_(){var t=C_,n=1,e=1,r=null;function i(i){var u=function(t){for(var n,e,r,i,o,s=new T_(t,0),a=[s];n=a.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)a.push(e=n.children[i]=new T_(r[i],i)),e.parent=n;return(s.parent=new T_(null,0)).children=[s],s}(i);if(u.eachAfter(o),u.parent.m=-u.z,u.eachBefore(s),r)i.eachBefore(a);else{var c=i,l=i,h=i;i.eachBefore((function(t){t.xl.x&&(l=t),t.depth>h.depth&&(h=t)}));var f=c===l?1:t(c,l)/2,d=f-c.x,_=n/(l.x+f+d),p=e/(h.depth||1);i.eachBefore((function(t){t.x=(t.x+d)*_,t.y=t.depth*p}))}return i}function o(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)(n=i[o]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(n);var o=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-o):n.z=o}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,o=n,s=n,a=e,u=o.parent.children[0],c=o.m,l=s.m,h=a.m,f=u.m;a=E_(a),o=$_(o),a&&o;)u=$_(u),(s=E_(s)).a=n,(i=a.z+h-o.z-c+t(a._,o._))>0&&(M_(z_(a,n,r),n,i),c+=i,l+=i),h+=a.m,c+=o.m,f+=u.m,l+=s.m;a&&!E_(s)&&(s.t=a,s.m+=h-l),o&&!$_(u)&&(u.t=o,u.m+=c-f,r=n)}return r}(n,i,n.parent.A||r[0])}function s(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function a(t){t.x*=n,t.y=t.depth*e}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i}function A_(t,n,e,r,i){for(var o,s=t.children,a=-1,u=s.length,c=t.value&&(i-e)/t.value;++af&&(f=a),v=l*l*p,(d=Math.max(f/v,v/h))>_){l-=a;break}_=d}g.push(s={value:l,dice:u1?n:1)},e}(q_);function L_(){var t=R_,n=!1,e=1,r=1,i=[0],o=c_,s=c_,a=c_,u=c_,c=c_;function l(t){return t.x0=t.y0=0,t.x1=e,t.y1=r,t.eachBefore(h),i=[0],n&&t.eachBefore(v_),t}function h(n){var e=i[n.depth],r=n.x0+e,l=n.y0+e,h=n.x1-e,f=n.y1-e;h=e-1){var l=a[n];return l.x0=i,l.y0=o,l.x1=s,void(l.y1=u)}for(var h=c[n],f=r/2+h,d=n+1,_=e-1;d<_;){var p=d+_>>>1;c[p]u-o){var m=(i*g+s*v)/r;t(n,d,v,i,o,m,u),t(d,e,g,m,o,s,u)}else{var y=(o*g+u*v)/r;t(n,d,v,i,o,s,y),t(d,e,g,i,y,s,u)}}(0,u,t.value,n,e,r,i)}function I_(t,n,e,r,i){(1&t.depth?A_:g_)(t,n,e,r,i)}const D_=function t(n){function e(t,e,r,i,o){if((s=t._squarify)&&s.ratio===n)for(var s,a,u,c,l,h=-1,f=s.length,d=t.value;++h1?n:1)},e}(q_);function N_(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}function B_(t,n){var e=pe(+t,+n);return function(t){var n=e(t);return n-360*Math.floor(n/360)}}function F_(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}}var U_=Math.SQRT2,H_=2,G_=4,W_=1e-12;function V_(t){return((t=Math.exp(t))+1/t)/2}function Z_(t,n){var e,r,i=t[0],o=t[1],s=t[2],a=n[0],u=n[1],c=n[2],l=a-i,h=u-o,f=l*l+h*h;if(f1&&cp(t[e[r-2]],t[e[r-1]],t[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function fp(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),i=new Array(e);for(n=0;n=0;--n)c.push(t[r[o[n]][2]]);for(n=+a;na!=c>a&&s<(u-e)*(a-r)/(c-r)+e&&(l=!l),u=e,c=r;return l}function _p(t){for(var n,e,r=-1,i=t.length,o=t[i-1],s=o[0],a=o[1],u=0;++r1);return t+e*o*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(pp),mp=function t(n){function e(){var t=gp.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(pp),yp=function t(n){function e(t){return function(){for(var e=0,r=0;rr&&(n=e,e=r,r=n),function(t){return Math.max(e,Math.min(r,t))}}function Op(t,n,e){var r=t[0],i=t[1],o=n[0],s=n[1];return i2?Ip:Op,i=o=null,h}function h(n){return isNaN(n=+n)?e:(i||(i=r(s.map(t),a,u)))(t(c(n)))}return h.invert=function(e){return c(n((o||(o=r(a,s.map(t),$e)))(e)))},h.domain=function(t){return arguments.length?(s=Cp.call(t,Ap),c===Pp||(c=Lp(s)),l()):s.slice()},h.range=function(t){return arguments.length?(a=$p.call(t),l()):a.slice()},h.rangeRound=function(t){return a=$p.call(t),u=F_,l()},h.clamp=function(t){return arguments.length?(c=t?Lp(s):Pp,h):c!==Pp},h.interpolate=function(t){return arguments.length?(u=t,l()):u},h.unknown=function(t){return arguments.length?(e=t,h):e},function(e,r){return t=e,n=r,l()}}function Bp(t,n){return Np()(t,n)}function Fp(t,n,e,r){var i,o=z(t,n,e);switch((r=wu(null==r?",f":r)).type){case"s":var s=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(i=qu(o,s))||(r.precision=i),Eu(r,s);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=Pu(o,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=Au(o))||(r.precision=i-2*("%"===r.type))}return $u(r)}function Up(t){var n=t.domain;return t.ticks=function(t){var e=n();return E(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return Fp(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,i=n(),o=0,s=i.length-1,a=i[o],u=i[s];return u0?r=M(a=Math.floor(a/r)*r,u=Math.ceil(u/r)*r,e):r<0&&(r=M(a=Math.ceil(a*r)/r,u=Math.floor(u*r)/r,e)),r>0?(i[o]=Math.floor(a/r)*r,i[s]=Math.ceil(u/r)*r,n(i)):r<0&&(i[o]=Math.ceil(a*r)/r,i[s]=Math.floor(u*r)/r,n(i)),t},t}function Hp(){var t=Bp(Pp,Pp);return t.copy=function(){return Dp(t,Hp())},xp.apply(t,arguments),Up(t)}function Gp(t){var n;function e(t){return isNaN(t=+t)?n:t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=Cp.call(n,Ap),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return Gp(t).unknown(n)},t=arguments.length?Cp.call(t,Ap):[0,1],Up(e)}function Wp(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],s=t[i];return s0){for(;fu)break;p.push(h)}}else for(;f=1;--l)if(!((h=c*l)u)break;p.push(h)}}else p=E(f,d,Math.min(d-f,_)).map(e);return r?p.reverse():p},r.tickFormat=function(t,i){if(null==i&&(i=10===o?".0e":","),"function"!=typeof i&&(i=$u(i)),t===1/0)return i;null==t&&(t=10);var s=Math.max(1,o*t/r.ticks().length);return function(t){var r=t/e(Math.round(n(t)));return r*o0?r[i-1]:n[0],i=r?[i[r-1],e]:[i[s-1],i[s]]},s.unknown=function(n){return arguments.length?(t=n,s):s},s.thresholds=function(){return i.slice()},s.copy=function(){return fv().domain([n,e]).range(o).unknown(t)},xp.apply(Up(s),arguments)}function dv(){var t,n=[.5],e=[0,1],r=1;function i(i){return i<=i?e[c(n,i,0,r)]:t}return i.domain=function(t){return arguments.length?(n=$p.call(t),r=Math.min(n.length,e.length-1),i):n.slice()},i.range=function(t){return arguments.length?(e=$p.call(t),r=Math.min(n.length,e.length-1),i):e.slice()},i.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},i.unknown=function(n){return arguments.length?(t=n,i):t},i.copy=function(){return dv().domain(n).range(e).unknown(t)},xp.apply(i,arguments)}var _v=new Date,pv=new Date;function vv(t,n,e,r){function i(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return i.floor=function(n){return t(n=new Date(+n)),n},i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n0))return a;do{a.push(s=new Date(+e)),n(e,o),t(e)}while(s=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(i.count=function(n,r){return _v.setTime(+n),pv.setTime(+r),t(_v),t(pv),Math.floor(e(_v,pv))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t==0}:function(n){return i.count(0,n)%t==0}):i:null}),i}var gv=vv((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));gv.every=function(t){return isFinite(t=Math.floor(t))&&t>0?vv((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null};const mv=gv;var yv=gv.range,wv=vv((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}));const bv=wv;var xv=wv.range,kv=1e3,Sv=6e4,Cv=36e5,$v=864e5,Ev=6048e5;function Mv(t){return vv((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Sv)/Ev}))}var zv=Mv(0),Tv=Mv(1),jv=Mv(2),Av=Mv(3),qv=Mv(4),Pv=Mv(5),Rv=Mv(6),Lv=zv.range,Ov=Tv.range,Iv=jv.range,Dv=Av.range,Nv=qv.range,Bv=Pv.range,Fv=Rv.range,Uv=vv((function(t){t.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+n)}),(function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Sv)/$v}),(function(t){return t.getDate()-1}));const Hv=Uv;var Gv=Uv.range,Wv=vv((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*kv-t.getMinutes()*Sv)}),(function(t,n){t.setTime(+t+n*Cv)}),(function(t,n){return(n-t)/Cv}),(function(t){return t.getHours()}));const Vv=Wv;var Zv=Wv.range,Xv=vv((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*kv)}),(function(t,n){t.setTime(+t+n*Sv)}),(function(t,n){return(n-t)/Sv}),(function(t){return t.getMinutes()}));const Yv=Xv;var Kv=Xv.range,Jv=vv((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+n*kv)}),(function(t,n){return(n-t)/kv}),(function(t){return t.getUTCSeconds()}));const Qv=Jv;var tg=Jv.range,ng=vv((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));ng.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?vv((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):ng:null};const eg=ng;var rg=ng.range;function ig(t){return vv((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/Ev}))}var og=ig(0),sg=ig(1),ag=ig(2),ug=ig(3),cg=ig(4),lg=ig(5),hg=ig(6),fg=og.range,dg=sg.range,_g=ag.range,pg=ug.range,vg=cg.range,gg=lg.range,mg=hg.range,yg=vv((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/$v}),(function(t){return t.getUTCDate()-1}));const wg=yg;var bg=yg.range,xg=vv((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));xg.every=function(t){return isFinite(t=Math.floor(t))&&t>0?vv((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null};const kg=xg;var Sg=xg.range;function Cg(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function $g(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Eg(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}function Mg(t){var n=t.dateTime,e=t.date,r=t.time,i=t.periods,o=t.days,s=t.shortDays,a=t.months,u=t.shortMonths,c=Ng(i),l=Bg(i),h=Ng(o),f=Bg(o),d=Ng(s),_=Bg(s),p=Ng(a),v=Bg(a),g=Ng(u),m=Bg(u),y={a:function(t){return s[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return a[t.getMonth()]},c:null,d:um,e:um,f:dm,g:Sm,G:$m,H:cm,I:lm,j:hm,L:fm,m:_m,M:pm,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Xm,s:Ym,S:vm,u:gm,U:mm,V:wm,w:bm,W:xm,x:null,X:null,y:km,Y:Cm,Z:Em,"%":Zm},w={a:function(t){return s[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return a[t.getUTCMonth()]},c:null,d:Mm,e:Mm,f:qm,g:Hm,G:Wm,H:zm,I:Tm,j:jm,L:Am,m:Pm,M:Rm,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Xm,s:Ym,S:Lm,u:Om,U:Im,V:Nm,w:Bm,W:Fm,x:null,X:null,y:Um,Y:Gm,Z:Vm,"%":Zm},b={a:function(t,n,e){var r=d.exec(n.slice(e));return r?(t.w=_[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=h.exec(n.slice(e));return r?(t.w=f[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.m=m[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=p.exec(n.slice(e));return r?(t.m=v[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return S(t,n,e,r)},d:Jg,e:Jg,f:im,g:Zg,G:Vg,H:tm,I:tm,j:Qg,L:rm,m:Kg,M:nm,p:function(t,n,e){var r=c.exec(n.slice(e));return r?(t.p=l[r[0].toLowerCase()],e+r[0].length):-1},q:Yg,Q:sm,s:am,S:em,u:Ug,U:Hg,V:Gg,w:Fg,W:Wg,x:function(t,n,r){return S(t,e,n,r)},X:function(t,n,e){return S(t,r,n,e)},y:Zg,Y:Vg,Z:Xg,"%":om};function x(t,n){return function(e){var r,i,o,s=[],a=-1,u=0,c=t.length;for(e instanceof Date||(e=new Date(+e));++a53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=$g(Eg(o.y,0,1))).getUTCDay(),r=i>4||0===i?sg.ceil(r):sg(r),r=wg.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Cg(Eg(o.y,0,1))).getDay(),r=i>4||0===i?Tv.ceil(r):Tv(r),r=Hv.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?$g(Eg(o.y,0,1)).getUTCDay():Cg(Eg(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,$g(o)):Cg(o)}}function S(t,n,e,r){for(var i,o,s=0,a=n.length,u=e.length;s=u)return-1;if(37===(i=n.charCodeAt(s++))){if(i=n.charAt(s++),!(o=b[i in Pg?n.charAt(s++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return y.x=x(e,y),y.X=x(r,y),y.c=x(n,y),w.x=x(e,w),w.X=x(r,w),w.c=x(n,w),{format:function(t){var n=x(t+="",y);return n.toString=function(){return t},n},parse:function(t){var n=k(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=x(t+="",w);return n.toString=function(){return t},n},utcParse:function(t){var n=k(t+="",!0);return n.toString=function(){return t},n}}}var zg,Tg,jg,Ag,qg,Pg={"-":"",_:" ",0:"0"},Rg=/^\s*\d+/,Lg=/^%/,Og=/[\\^$*+?|[\]().{}]/g;function Ig(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o68?1900:2e3),e+r[0].length):-1}function Xg(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function Yg(t,n,e){var r=Rg.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function Kg(t,n,e){var r=Rg.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function Jg(t,n,e){var r=Rg.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Qg(t,n,e){var r=Rg.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function tm(t,n,e){var r=Rg.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function nm(t,n,e){var r=Rg.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function em(t,n,e){var r=Rg.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function rm(t,n,e){var r=Rg.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function im(t,n,e){var r=Rg.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function om(t,n,e){var r=Lg.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function sm(t,n,e){var r=Rg.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function am(t,n,e){var r=Rg.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function um(t,n){return Ig(t.getDate(),n,2)}function cm(t,n){return Ig(t.getHours(),n,2)}function lm(t,n){return Ig(t.getHours()%12||12,n,2)}function hm(t,n){return Ig(1+Hv.count(mv(t),t),n,3)}function fm(t,n){return Ig(t.getMilliseconds(),n,3)}function dm(t,n){return fm(t,n)+"000"}function _m(t,n){return Ig(t.getMonth()+1,n,2)}function pm(t,n){return Ig(t.getMinutes(),n,2)}function vm(t,n){return Ig(t.getSeconds(),n,2)}function gm(t){var n=t.getDay();return 0===n?7:n}function mm(t,n){return Ig(zv.count(mv(t)-1,t),n,2)}function ym(t){var n=t.getDay();return n>=4||0===n?qv(t):qv.ceil(t)}function wm(t,n){return t=ym(t),Ig(qv.count(mv(t),t)+(4===mv(t).getDay()),n,2)}function bm(t){return t.getDay()}function xm(t,n){return Ig(Tv.count(mv(t)-1,t),n,2)}function km(t,n){return Ig(t.getFullYear()%100,n,2)}function Sm(t,n){return Ig((t=ym(t)).getFullYear()%100,n,2)}function Cm(t,n){return Ig(t.getFullYear()%1e4,n,4)}function $m(t,n){var e=t.getDay();return Ig((t=e>=4||0===e?qv(t):qv.ceil(t)).getFullYear()%1e4,n,4)}function Em(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Ig(n/60|0,"0",2)+Ig(n%60,"0",2)}function Mm(t,n){return Ig(t.getUTCDate(),n,2)}function zm(t,n){return Ig(t.getUTCHours(),n,2)}function Tm(t,n){return Ig(t.getUTCHours()%12||12,n,2)}function jm(t,n){return Ig(1+wg.count(kg(t),t),n,3)}function Am(t,n){return Ig(t.getUTCMilliseconds(),n,3)}function qm(t,n){return Am(t,n)+"000"}function Pm(t,n){return Ig(t.getUTCMonth()+1,n,2)}function Rm(t,n){return Ig(t.getUTCMinutes(),n,2)}function Lm(t,n){return Ig(t.getUTCSeconds(),n,2)}function Om(t){var n=t.getUTCDay();return 0===n?7:n}function Im(t,n){return Ig(og.count(kg(t)-1,t),n,2)}function Dm(t){var n=t.getUTCDay();return n>=4||0===n?cg(t):cg.ceil(t)}function Nm(t,n){return t=Dm(t),Ig(cg.count(kg(t),t)+(4===kg(t).getUTCDay()),n,2)}function Bm(t){return t.getUTCDay()}function Fm(t,n){return Ig(sg.count(kg(t)-1,t),n,2)}function Um(t,n){return Ig(t.getUTCFullYear()%100,n,2)}function Hm(t,n){return Ig((t=Dm(t)).getUTCFullYear()%100,n,2)}function Gm(t,n){return Ig(t.getUTCFullYear()%1e4,n,4)}function Wm(t,n){var e=t.getUTCDay();return Ig((t=e>=4||0===e?cg(t):cg.ceil(t)).getUTCFullYear()%1e4,n,4)}function Vm(){return"+0000"}function Zm(){return"%"}function Xm(t){return+t}function Ym(t){return Math.floor(+t/1e3)}function Km(t){return zg=Mg(t),Tg=zg.format,jg=zg.parse,Ag=zg.utcFormat,qg=zg.utcParse,zg}Km({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Jm=1e3,Qm=60*Jm,ty=60*Qm,ny=24*ty,ey=7*ny,ry=30*ny,iy=365*ny;function oy(t){return new Date(t)}function sy(t){return t instanceof Date?+t:+new Date(+t)}function ay(t,n,e,r,i,s,a,u,c){var l=Bp(Pp,Pp),h=l.invert,f=l.domain,d=c(".%L"),_=c(":%S"),p=c("%I:%M"),v=c("%I %p"),g=c("%a %d"),m=c("%b %d"),y=c("%B"),w=c("%Y"),b=[[a,1,Jm],[a,5,5*Jm],[a,15,15*Jm],[a,30,30*Jm],[s,1,Qm],[s,5,5*Qm],[s,15,15*Qm],[s,30,30*Qm],[i,1,ty],[i,3,3*ty],[i,6,6*ty],[i,12,12*ty],[r,1,ny],[r,2,2*ny],[e,1,ey],[n,1,ry],[n,3,3*ry],[t,1,iy]];function x(o){return(a(o)1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return Xw.h=360*t-100,Xw.s=1.5-1.5*n,Xw.l=.8-.9*n,Xw+""}var Kw=te(),Jw=Math.PI/3,Qw=2*Math.PI/3;function tb(t){var n;return t=(.5-t)*Math.PI,Kw.r=255*(n=Math.sin(t))*n,Kw.g=255*(n=Math.sin(t+Jw))*n,Kw.b=255*(n=Math.sin(t+Qw))*n,Kw+""}function nb(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"}function eb(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}const rb=eb(qy("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var ib=eb(qy("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),ob=eb(qy("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),sb=eb(qy("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function ab(t){return En(un(t).call(document.documentElement))}var ub=0;function cb(){return new lb}function lb(){this._="@"+(++ub).toString(36)}function hb(t){return"string"==typeof t?new Sn([document.querySelectorAll(t)],[document.documentElement]):new Sn([null==t?[]:t],kn)}function fb(t,n){null==n&&(n=Ae().touches);for(var e=0,r=n?n.length:0,i=new Array(r);e=1?kb:t<=-1?-kb:Math.asin(t)}function $b(t){return t.innerRadius}function Eb(t){return t.outerRadius}function Mb(t){return t.startAngle}function zb(t){return t.endAngle}function Tb(t){return t&&t.padAngle}function jb(t,n,e,r,i,o,s){var a=t-e,u=n-r,c=(s?o:-o)/wb(a*a+u*u),l=c*u,h=-c*a,f=t+l,d=n+h,_=e+l,p=r+h,v=(f+_)/2,g=(d+p)/2,m=_-f,y=p-d,w=m*m+y*y,b=i-o,x=f*p-_*d,k=(y<0?-1:1)*wb(gb(0,b*b*w-x*x)),S=(x*y-m*k)/w,C=(-x*m-y*k)/w,$=(x*y+m*k)/w,E=(-x*m+y*k)/w,M=S-v,z=C-g,T=$-v,j=E-g;return M*M+z*z>T*T+j*j&&(S=$,C=E),{cx:S,cy:C,x01:-l,y01:-h,x11:S*(i/b-1),y11:C*(i/b-1)}}function Ab(){var t=$b,n=Eb,e=db(0),r=null,i=Mb,o=zb,s=Tb,a=null;function u(){var u,c,l,h=+t.apply(this,arguments),f=+n.apply(this,arguments),d=i.apply(this,arguments)-kb,_=o.apply(this,arguments)-kb,p=_b(_-d),v=_>d;if(a||(a=u=Hi()),fbb)if(p>Sb-bb)a.moveTo(f*vb(d),f*yb(d)),a.arc(0,0,f,d,_,!v),h>bb&&(a.moveTo(h*vb(_),h*yb(_)),a.arc(0,0,h,_,d,v));else{var g,m,y=d,w=_,b=d,x=_,k=p,S=p,C=s.apply(this,arguments)/2,$=C>bb&&(r?+r.apply(this,arguments):wb(h*h+f*f)),E=mb(_b(f-h)/2,+e.apply(this,arguments)),M=E,z=E;if($>bb){var T=Cb($/h*yb(C)),j=Cb($/f*yb(C));(k-=2*T)>bb?(b+=T*=v?1:-1,x-=T):(k=0,b=x=(d+_)/2),(S-=2*j)>bb?(y+=j*=v?1:-1,w-=j):(S=0,y=w=(d+_)/2)}var A=f*vb(y),q=f*yb(y),P=h*vb(x),R=h*yb(x);if(E>bb){var L,O=f*vb(w),I=f*yb(w),D=h*vb(b),N=h*yb(b);if(p1?0:l<-1?xb:Math.acos(l))/2),W=wb(L[0]*L[0]+L[1]*L[1]);M=mb(E,(h-W)/(G-1)),z=mb(E,(f-W)/(G+1))}}S>bb?z>bb?(g=jb(D,N,A,q,f,z,v),m=jb(O,I,P,R,f,z,v),a.moveTo(g.cx+g.x01,g.cy+g.y01),zbb&&k>bb?M>bb?(g=jb(P,R,O,I,h,-M,v),m=jb(A,q,D,N,h,-M,v),a.lineTo(g.cx+g.x01,g.cy+g.y01),M=l;--h)a.point(v[h],g[h]);a.lineEnd(),a.areaEnd()}p&&(v[c]=+t(f,c,u),g[c]=+e(f,c,u),a.point(n?+n(f,c,u):v[c],r?+r(f,c,u):g[c]))}if(d)return a=null,d+""||null}function c(){return Ob().defined(i).curve(s).context(o)}return u.x=function(e){return arguments.length?(t="function"==typeof e?e:db(+e),n=null,u):t},u.x0=function(n){return arguments.length?(t="function"==typeof n?n:db(+n),u):t},u.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:db(+t),u):n},u.y=function(t){return arguments.length?(e="function"==typeof t?t:db(+t),r=null,u):e},u.y0=function(t){return arguments.length?(e="function"==typeof t?t:db(+t),u):e},u.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:db(+t),u):r},u.lineX0=u.lineY0=function(){return c().x(t).y(e)},u.lineY1=function(){return c().x(t).y(r)},u.lineX1=function(){return c().x(n).y(e)},u.defined=function(t){return arguments.length?(i="function"==typeof t?t:db(!!t),u):i},u.curve=function(t){return arguments.length?(s=t,null!=o&&(a=s(o)),u):s},u.context=function(t){return arguments.length?(null==t?o=a=null:a=s(o=t),u):o},u}function Db(t,n){return nt?1:n>=t?0:NaN}function Nb(t){return t}function Bb(){var t=Nb,n=Db,e=null,r=db(0),i=db(Sb),o=db(0);function s(s){var a,u,c,l,h,f=s.length,d=0,_=new Array(f),p=new Array(f),v=+r.apply(this,arguments),g=Math.min(Sb,Math.max(-Sb,i.apply(this,arguments)-v)),m=Math.min(Math.abs(g)/f,o.apply(this,arguments)),y=m*(g<0?-1:1);for(a=0;a0&&(d+=h);for(null!=n?_.sort((function(t,e){return n(p[t],p[e])})):null!=e&&_.sort((function(t,n){return e(s[t],s[n])})),a=0,c=d?(g-f*y)/d:0;a0?h*c:0)+y,p[u]={data:s[u],index:a,value:h,startAngle:v,endAngle:l,padAngle:m};return p}return s.value=function(n){return arguments.length?(t="function"==typeof n?n:db(+n),s):t},s.sortValues=function(t){return arguments.length?(n=t,e=null,s):n},s.sort=function(t){return arguments.length?(e=t,n=null,s):e},s.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:db(+t),s):r},s.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:db(+t),s):i},s.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:db(+t),s):o},s}qb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var Fb=Hb(Pb);function Ub(t){this._curve=t}function Hb(t){function n(n){return new Ub(t(n))}return n._curve=t,n}function Gb(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(Hb(t)):n()._curve},t}function Wb(){return Gb(Ob().curve(Fb))}function Vb(){var t=Ib().curve(Fb),n=t.curve,e=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Gb(e())},delete t.lineX0,t.lineEndAngle=function(){return Gb(r())},delete t.lineX1,t.lineInnerRadius=function(){return Gb(i())},delete t.lineY0,t.lineOuterRadius=function(){return Gb(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(Hb(t)):n()._curve},t}function Zb(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}Ub.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};var Xb=Array.prototype.slice;function Yb(t){return t.source}function Kb(t){return t.target}function Jb(t){var n=Yb,e=Kb,r=Rb,i=Lb,o=null;function s(){var s,a=Xb.call(arguments),u=n.apply(this,a),c=e.apply(this,a);if(o||(o=s=Hi()),t(o,+r.apply(this,(a[0]=u,a)),+i.apply(this,a),+r.apply(this,(a[0]=c,a)),+i.apply(this,a)),s)return o=null,s+""||null}return s.source=function(t){return arguments.length?(n=t,s):n},s.target=function(t){return arguments.length?(e=t,s):e},s.x=function(t){return arguments.length?(r="function"==typeof t?t:db(+t),s):r},s.y=function(t){return arguments.length?(i="function"==typeof t?t:db(+t),s):i},s.context=function(t){return arguments.length?(o=null==t?null:t,s):o},s}function Qb(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function tx(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function nx(t,n,e,r,i){var o=Zb(n,e),s=Zb(n,e=(e+i)/2),a=Zb(r,e),u=Zb(r,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(s[0],s[1],a[0],a[1],u[0],u[1])}function ex(){return Jb(Qb)}function rx(){return Jb(tx)}function ix(){var t=Jb(nx);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}const ox={draw:function(t,n){var e=Math.sqrt(n/xb);t.moveTo(e,0),t.arc(0,0,e,0,Sb)}},sx={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}};var ax=Math.sqrt(1/3),ux=2*ax;const cx={draw:function(t,n){var e=Math.sqrt(n/ux),r=e*ax;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}};var lx=Math.sin(xb/10)/Math.sin(7*xb/10),hx=Math.sin(Sb/10)*lx,fx=-Math.cos(Sb/10)*lx;const dx={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),r=hx*e,i=fx*e;t.moveTo(0,-e),t.lineTo(r,i);for(var o=1;o<5;++o){var s=Sb*o/5,a=Math.cos(s),u=Math.sin(s);t.lineTo(u*e,-a*e),t.lineTo(a*r-u*i,u*r+a*i)}t.closePath()}},_x={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}};var px=Math.sqrt(3);const vx={draw:function(t,n){var e=-Math.sqrt(n/(3*px));t.moveTo(0,2*e),t.lineTo(-px*e,-e),t.lineTo(px*e,-e),t.closePath()}};var gx=-.5,mx=Math.sqrt(3)/2,yx=1/Math.sqrt(12),wx=3*(yx/2+1);const bx={draw:function(t,n){var e=Math.sqrt(n/wx),r=e/2,i=e*yx,o=r,s=e*yx+e,a=-o,u=s;t.moveTo(r,i),t.lineTo(o,s),t.lineTo(a,u),t.lineTo(gx*r-mx*i,mx*r+gx*i),t.lineTo(gx*o-mx*s,mx*o+gx*s),t.lineTo(gx*a-mx*u,mx*a+gx*u),t.lineTo(gx*r+mx*i,gx*i-mx*r),t.lineTo(gx*o+mx*s,gx*s-mx*o),t.lineTo(gx*a+mx*u,gx*u-mx*a),t.closePath()}};var xx=[ox,sx,cx,_x,dx,vx,bx];function kx(){var t=db(ox),n=db(64),e=null;function r(){var r;if(e||(e=r=Hi()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),r)return e=null,r+""||null}return r.type=function(n){return arguments.length?(t="function"==typeof n?n:db(n),r):t},r.size=function(t){return arguments.length?(n="function"==typeof t?t:db(+t),r):n},r.context=function(t){return arguments.length?(e=null==t?null:t,r):e},r}function Sx(){}function Cx(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function $x(t){this._context=t}function Ex(t){return new $x(t)}function Mx(t){this._context=t}function zx(t){return new Mx(t)}function Tx(t){this._context=t}function jx(t){return new Tx(t)}function Ax(t,n){this._basis=new $x(t),this._beta=n}$x.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Cx(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Cx(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Mx.prototype={areaStart:Sx,areaEnd:Sx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Cx(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Tx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:Cx(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Ax.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],s=t[e]-i,a=n[e]-o,u=-1;++u<=e;)r=u/e,this._basis.point(this._beta*t[u]+(1-this._beta)*(i+r*s),this._beta*n[u]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};const qx=function t(n){function e(t){return 1===n?new $x(t):new Ax(t,n)}return e.beta=function(n){return t(+n)},e}(.85);function Px(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function Rx(t,n){this._context=t,this._k=(1-n)/6}Rx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Px(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:Px(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const Lx=function t(n){function e(t){return new Rx(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Ox(t,n){this._context=t,this._k=(1-n)/6}Ox.prototype={areaStart:Sx,areaEnd:Sx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Px(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const Ix=function t(n){function e(t){return new Ox(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Dx(t,n){this._context=t,this._k=(1-n)/6}Dx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Px(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const Nx=function t(n){function e(t){return new Dx(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Bx(t,n,e){var r=t._x1,i=t._y1,o=t._x2,s=t._y2;if(t._l01_a>bb){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,i=(i*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>bb){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-n*t._l12_2a)/l,s=(s*c+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(r,i,o,s,t._x2,t._y2)}function Fx(t,n){this._context=t,this._alpha=n}Fx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:Bx(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const Ux=function t(n){function e(t){return n?new Fx(t,n):new Rx(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Hx(t,n){this._context=t,this._alpha=n}Hx.prototype={areaStart:Sx,areaEnd:Sx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Bx(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const Gx=function t(n){function e(t){return n?new Hx(t,n):new Ox(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Wx(t,n){this._context=t,this._alpha=n}Wx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Bx(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};const Vx=function t(n){function e(t){return n?new Wx(t,n):new Dx(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Zx(t){this._context=t}function Xx(t){return new Zx(t)}function Yx(t){return t<0?-1:1}function Kx(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),s=(e-t._y1)/(i||r<0&&-0),a=(o*i+s*r)/(r+i);return(Yx(o)+Yx(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(a))||0}function Jx(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function Qx(t,n,e){var r=t._x0,i=t._y0,o=t._x1,s=t._y1,a=(o-r)/3;t._context.bezierCurveTo(r+a,i+a*n,o-a,s-a*e,o,s)}function tk(t){this._context=t}function nk(t){this._context=new ek(t)}function ek(t){this._context=t}function rk(t){return new tk(t)}function ik(t){return new nk(t)}function ok(t){this._context=t}function sk(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),s=new Array(r);for(i[0]=0,o[0]=2,s[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(s[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n1)for(var e,r,i,o=1,s=t[n[0]],a=s.length;o=0;)e[n]=n;return e}function _k(t,n){return t[n]}function pk(){var t=db([]),n=dk,e=fk,r=_k;function i(i){var o,s,a=t.apply(this,arguments),u=i.length,c=a.length,l=new Array(c);for(o=0;o0){for(var e,r,i,o=0,s=t[0].length;o0)for(var e,r,i,o,s,a,u=0,c=t[n[0]].length;u0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=s,r[0]=s+=i):(r[0]=0,r[1]=i)}function mk(t,n){if((e=t.length)>0){for(var e,r=0,i=t[n[0]],o=i.length;r0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,s=1;so&&(o=n,r=e);return r}function xk(t){var n=t.map(kk);return dk(t).sort((function(t,e){return n[t]-n[e]}))}function kk(t){for(var n,e=0,r=-1,i=t.length;++r=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}};var Ek="%Y-%m-%dT%H:%M:%S.%LZ",Mk=Date.prototype.toISOString?function(t){return t.toISOString()}:Ag(Ek);const zk=Mk;var Tk=+new Date("2000-01-01T00:00:00.000Z")?function(t){var n=new Date(t);return isNaN(n)?null:n}:qg(Ek);const jk=Tk;function Ak(t,n,e){var r=new Xe,i=n;return null==n?(r.restart(t,n,e),r):(n=+n,e=null==e?Ve():+e,r.restart((function o(s){s+=i,r.restart(o,i+=n,e),t(s)}),n,e),r)}function qk(t){return function(){return t}}function Pk(t){return t[0]}function Rk(t){return t[1]}function Lk(){this._=null}function Ok(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function Ik(t,n){var e=n,r=n.R,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function Dk(t,n){var e=n,r=n.L,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function Nk(t){for(;t.L;)t=t.L;return t}Lk.prototype={constructor:Lk,insert:function(t,n){var e,r,i;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;e=t}else this._?(t=Nk(this._),n.P=null,n.N=t,t.P=t.L=n,e=t):(n.P=n.N=null,this._=n,e=null);for(n.L=n.R=null,n.U=e,n.C=!0,t=n;e&&e.C;)e===(r=e.U).L?(i=r.R)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.R&&(Ik(this,e),e=(t=e).U),e.C=!1,r.C=!0,Dk(this,r)):(i=r.L)&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.L&&(Dk(this,e),e=(t=e).U),e.C=!1,r.C=!0,Ik(this,r)),e=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var n,e,r,i=t.U,o=t.L,s=t.R;if(e=o?s?Nk(s):o:s,i?i.L===t?i.L=e:i.R=e:this._=e,o&&s?(r=e.C,e.C=t.C,e.L=o,o.U=e,e!==s?(i=e.U,e.U=t.U,t=e.R,i.L=t,e.R=s,s.U=e):(e.U=i,i=e,t=e.R)):(r=t.C,t=e),t&&(t.U=i),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((n=i.R).C&&(n.C=!1,i.C=!0,Ik(this,i),n=i.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,Dk(this,n),n=i.R),n.C=i.C,i.C=n.R.C=!1,Ik(this,i),t=this._;break}}else if((n=i.L).C&&(n.C=!1,i.C=!0,Dk(this,i),n=i.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,Ik(this,n),n=i.L),n.C=i.C,i.C=n.L.C=!1,Dk(this,i),t=this._;break}n.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};const Bk=Lk;function Fk(t,n,e,r){var i=[null,null],o=fS.push(i)-1;return i.left=t,i.right=n,e&&Hk(i,t,n,e),r&&Hk(i,n,t,r),lS[t.index].halfedges.push(o),lS[n.index].halfedges.push(o),i}function Uk(t,n,e){var r=[n,e];return r.left=t,r}function Hk(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function Gk(t,n,e,r,i){var o,s=t[0],a=t[1],u=s[0],c=s[1],l=0,h=1,f=a[0]-u,d=a[1]-c;if(o=n-u,f||!(o>0)){if(o/=f,f<0){if(o0){if(o>h)return;o>l&&(l=o)}if(o=r-u,f||!(o<0)){if(o/=f,f<0){if(o>h)return;o>l&&(l=o)}else if(f>0){if(o0)){if(o/=d,d<0){if(o0){if(o>h)return;o>l&&(l=o)}if(o=i-c,d||!(o<0)){if(o/=d,d<0){if(o>h)return;o>l&&(l=o)}else if(d>0){if(o0||h<1)||(l>0&&(t[0]=[u+l*f,c+l*d]),h<1&&(t[1]=[u+h*f,c+h*d]),!0)}}}}}function Wk(t,n,e,r,i){var o=t[1];if(o)return!0;var s,a,u=t[0],c=t.left,l=t.right,h=c[0],f=c[1],d=l[0],_=l[1],p=(h+d)/2,v=(f+_)/2;if(_===f){if(p=r)return;if(h>d){if(u){if(u[1]>=i)return}else u=[p,e];o=[p,i]}else{if(u){if(u[1]1)if(h>d){if(u){if(u[1]>=i)return}else u=[(e-a)/s,e];o=[(i-a)/s,i]}else{if(u){if(u[1]=r)return}else u=[n,s*n+a];o=[r,s*r+a]}else{if(u){if(u[0]=-_S)){var d=u*u+c*c,_=l*l+h*h,p=(h*d-c*_)/f,v=(u*_-l*d)/f,g=Kk.pop()||new Jk;g.arc=t,g.site=i,g.x=p+s,g.y=(g.cy=v+a)+Math.sqrt(p*p+v*v),t.circle=g;for(var m=null,y=hS._;y;)if(g.ydS)a=a.L;else{if(!((i=o-uS(a,s))>dS)){r>-dS?(n=a.P,e=a):i>-dS?(n=a,e=a.N):n=e=a;break}if(!a.R){n=a;break}a=a.R}!function(t){lS[t.index]={site:t,halfedges:[]}}(t);var u=rS(t);if(cS.insert(n,u),n||e){if(n===e)return tS(n),e=rS(n.site),cS.insert(u,e),u.edge=e.edge=Fk(n.site,u.site),Qk(n),void Qk(e);if(e){tS(n),tS(e);var c=n.site,l=c[0],h=c[1],f=t[0]-l,d=t[1]-h,_=e.site,p=_[0]-l,v=_[1]-h,g=2*(f*v-d*p),m=f*f+d*d,y=p*p+v*v,w=[(v*m-d*y)/g+l,(f*y-p*m)/g+h];Hk(e.edge,c,_,w),u.edge=Fk(c,t,null,w),e.edge=Fk(t,_,null,w),Qk(n),Qk(e)}else u.edge=Fk(n.site,u.site)}}function aS(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var s=t.P;if(!s)return-1/0;var a=(e=s.site)[0],u=e[1],c=u-n;if(!c)return a;var l=a-r,h=1/o-1/c,f=l/c;return h?(-f+Math.sqrt(f*f-2*h*(l*l/(-2*c)-u+c/2+i-o/2)))/h+r:(r+a)/2}function uS(t,n){var e=t.N;if(e)return aS(e,n);var r=t.site;return r[1]===n?r[0]:1/0}var cS,lS,hS,fS,dS=1e-6,_S=1e-12;function pS(t,n,e){return(t[0]-e[0])*(n[1]-t[1])-(t[0]-n[0])*(e[1]-t[1])}function vS(t,n){return n[1]-t[1]||n[0]-t[0]}function gS(t,n){var e,r,i,o=t.sort(vS).pop();for(fS=[],lS=new Array(t.length),cS=new Bk,hS=new Bk;;)if(i=Yk,o&&(!i||o[1]dS||Math.abs(i[0][1]-i[1][1])>dS)||delete fS[o]}(s,a,u,c),function(t,n,e,r){var i,o,s,a,u,c,l,h,f,d,_,p,v=lS.length,g=!0;for(i=0;idS||Math.abs(p-f)>dS)&&(u.splice(a,0,fS.push(Uk(s,d,Math.abs(_-t)dS?[t,Math.abs(h-t)dS?[Math.abs(f-r)dS?[e,Math.abs(h-e)dS?[Math.abs(f-n)=a)return null;var u=t-i.site[0],c=n-i.site[1],l=u*u+c*c;do{i=o.cells[r=s],s=null,i.halfedges.forEach((function(e){var r=o.edges[e],a=r.left;if(a!==i.site&&a||(a=r.right)){var u=t-a[0],c=n-a[1],h=u*u+c*c;hr?(r+i)/2:Math.min(0,r)||Math.max(0,i),s>o?(o+s)/2:Math.min(0,o)||Math.max(0,s))}function AS(){var t,n,e=$S,r=ES,i=jS,o=zS,s=TS,a=[0,1/0],u=[[-1/0,-1/0],[1/0,1/0]],c=250,l=Z_,h=pt("start","zoom","end"),f=500,d=150,_=0;function p(t){t.property("__zoom",MS).on("wheel.zoom",x).on("mousedown.zoom",k).on("dblclick.zoom",S).filter(s).on("touchstart.zoom",C).on("touchmove.zoom",$).on("touchend.zoom touchcancel.zoom",E).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function v(t,n){return(n=Math.max(a[0],Math.min(a[1],n)))===t.k?t:new bS(n,t.x,t.y)}function g(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new bS(t.k,r,i)}function m(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function y(t,n,e){t.on("start.zoom",(function(){w(this,arguments).start()})).on("interrupt.zoom end.zoom",(function(){w(this,arguments).end()})).tween("zoom",(function(){var t=this,i=arguments,o=w(t,i),s=r.apply(t,i),a=null==e?m(s):"function"==typeof e?e.apply(t,i):e,u=Math.max(s[1][0]-s[0][0],s[1][1]-s[0][1]),c=t.__zoom,h="function"==typeof n?n.apply(t,i):n,f=l(c.invert(a).concat(u/c.k),h.invert(a).concat(u/h.k));return function(t){if(1===t)t=h;else{var n=f(t),e=u/n[2];t=new bS(e,a[0]-n[0]*e,a[1]-n[1]*e)}o.zoom(null,t)}}))}function w(t,n,e){return!e&&t.__zooming||new b(t,n)}function b(t,n){this.that=t,this.args=n,this.active=0,this.extent=r.apply(t,n),this.taps=0}function x(){if(e.apply(this,arguments)){var t=w(this,arguments),n=this.__zoom,r=Math.max(a[0],Math.min(a[1],n.k*Math.pow(2,o.apply(this,arguments)))),s=Re(this);if(t.wheel)t.mouse[0][0]===s[0]&&t.mouse[0][1]===s[1]||(t.mouse[1]=n.invert(t.mouse[0]=s)),clearTimeout(t.wheel);else{if(n.k===r)return;t.mouse=[s,n.invert(s)],_r(this),t.start()}CS(),t.wheel=setTimeout((function(){t.wheel=null,t.end()}),d),t.zoom("mouse",i(g(v(n,r),t.mouse[0],t.mouse[1]),t.extent,u))}}function k(){if(!n&&e.apply(this,arguments)){var t=w(this,arguments,!0),r=En(_n.view).on("mousemove.zoom",(function(){if(CS(),!t.moved){var n=_n.clientX-s,e=_n.clientY-a;t.moved=n*n+e*e>_}t.zoom("mouse",i(g(t.that.__zoom,t.mouse[0]=Re(t.that),t.mouse[1]),t.extent,u))}),!0).on("mouseup.zoom",(function(){r.on("mousemove.zoom mouseup.zoom",null),jn(_n.view,t.moved),CS(),t.end()}),!0),o=Re(this),s=_n.clientX,a=_n.clientY;Tn(_n.view),SS(),t.mouse=[o,this.__zoom.invert(o)],_r(this),t.start()}}function S(){if(e.apply(this,arguments)){var t=this.__zoom,n=Re(this),o=t.invert(n),s=t.k*(_n.shiftKey?.5:2),a=i(g(v(t,s),n,o),r.apply(this,arguments),u);CS(),c>0?En(this).transition().duration(c).call(y,a,n):En(this).call(p.transform,a)}}function C(){if(e.apply(this,arguments)){var n,r,i,o,s=_n.touches,a=s.length,u=w(this,arguments,_n.changedTouches.length===a);for(SS(),r=0;r{t.exports={graphlib:e(46526),dagre:e(64996),intersect:e(10872),render:e(74511),util:e(42910),version:e(29760)}},69307:(t,n,e)=>{var r=e(42910);function i(t,n,e,i){var o=t.append("marker").attr("id",n).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");r.applyStyle(o,e[i+"Style"]),e[i+"Class"]&&o.attr("class",e[i+"Class"])}t.exports={default:i,normal:i,vee:function(t,n,e,i){var o=t.append("marker").attr("id",n).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");r.applyStyle(o,e[i+"Style"]),e[i+"Class"]&&o.attr("class",e[i+"Class"])},undirected:function(t,n,e,i){var o=t.append("marker").attr("id",n).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");r.applyStyle(o,e[i+"Style"]),e[i+"Class"]&&o.attr("class",e[i+"Class"])}}},79223:(t,n,e)=>{var r=e(42910),i=e(46926),o=e(60693);t.exports=function(t,n){var e,s=n.nodes().filter((function(t){return r.isSubgraph(n,t)})),a=t.selectAll("g.cluster").data(s,(function(t){return t}));return a.selectAll("*").remove(),a.enter().append("g").attr("class","cluster").attr("id",(function(t){return n.node(t).id})).style("opacity",0),a=t.selectAll("g.cluster"),r.applyTransition(a,n).style("opacity",1),a.each((function(t){var e=n.node(t),r=i.select(this);i.select(this).append("rect");var s=r.append("g").attr("class","label");o(s,e,e.clusterLabelPos)})),a.selectAll("rect").each((function(t){var e=n.node(t),o=i.select(this);r.applyStyle(o,e.style)})),e=a.exit?a.exit():a.selectAll(null),r.applyTransition(e,n).style("opacity",0).remove(),a}},17403:(t,n,e)=>{"use strict";var r=e(29359),i=e(60693),o=e(42910),s=e(46926);t.exports=function(t,n){var e,a=t.selectAll("g.edgeLabel").data(n.edges(),(function(t){return o.edgeToId(t)})).classed("update",!0);return a.exit().remove(),a.enter().append("g").classed("edgeLabel",!0).style("opacity",0),(a=t.selectAll("g.edgeLabel")).each((function(t){var e=s.select(this);e.select(".label").remove();var o=n.edge(t),a=i(e,n.edge(t),0,0).classed("label",!0),u=a.node().getBBox();o.labelId&&a.attr("id",o.labelId),r.has(o,"width")||(o.width=u.width),r.has(o,"height")||(o.height=u.height)})),e=a.exit?a.exit():a.selectAll(null),o.applyTransition(e,n).style("opacity",0).remove(),a}},65284:(t,n,e)=>{"use strict";var r=e(29359),i=e(12419),o=e(42910),s=e(46926);function a(t,n){var e=(s.line||s.svg.line)().x((function(t){return t.x})).y((function(t){return t.y}));return(e.curve||e.interpolate)(t.curve),e(n)}t.exports=function(t,n,e){var u=t.selectAll("g.edgePath").data(n.edges(),(function(t){return o.edgeToId(t)})).classed("update",!0),c=function(t,n){var e=t.enter().append("g").attr("class","edgePath").style("opacity",0);return e.append("path").attr("class","path").attr("d",(function(t){var e=n.edge(t),i=n.node(t.v).elem;return a(e,r.range(e.points.length).map((function(){return n=(t=i).getBBox(),{x:(e=t.ownerSVGElement.getScreenCTM().inverse().multiply(t.getScreenCTM()).translate(n.width/2,n.height/2)).e,y:e.f};var t,n,e})))})),e.append("defs"),e}(u,n);!function(t,n){var e=t.exit();o.applyTransition(e,n).style("opacity",0).remove()}(u,n);var l=void 0!==u.merge?u.merge(c):u;return o.applyTransition(l,n).style("opacity",1),l.each((function(t){var e=s.select(this),r=n.edge(t);r.elem=this,r.id&&e.attr("id",r.id),o.applyClass(e,r.class,(e.classed("update")?"update ":"")+"edgePath")})),l.selectAll("path.path").each((function(t){var e=n.edge(t);e.arrowheadId=r.uniqueId("arrowhead");var u=s.select(this).attr("marker-end",(function(){return"url("+(t=location.href,n=e.arrowheadId,t.split("#")[0]+"#"+n+")");var t,n})).style("fill","none");o.applyTransition(u,n).attr("d",(function(t){return function(t,n){var e=t.edge(n),r=t.node(n.v),o=t.node(n.w),s=e.points.slice(1,e.points.length-1);return s.unshift(i(r,s[0])),s.push(i(o,s[s.length-1])),a(e,s)}(n,t)})),o.applyStyle(u,e.style)})),l.selectAll("defs *").remove(),l.selectAll("defs").each((function(t){var r=n.edge(t);(0,e[r.arrowhead])(s.select(this),r.arrowheadId,r,"arrowhead")})),l}},92785:(t,n,e)=>{"use strict";var r=e(29359),i=e(60693),o=e(42910),s=e(46926);t.exports=function(t,n,e){var a,u=n.nodes().filter((function(t){return!o.isSubgraph(n,t)})),c=t.selectAll("g.node").data(u,(function(t){return t})).classed("update",!0);return c.exit().remove(),c.enter().append("g").attr("class","node").style("opacity",0),(c=t.selectAll("g.node")).each((function(t){var a=n.node(t),u=s.select(this);o.applyClass(u,a.class,(u.classed("update")?"update ":"")+"node"),u.select("g.label").remove();var c=u.append("g").attr("class","label"),l=i(c,a),h=e[a.shape],f=r.pick(l.node().getBBox(),"width","height");a.elem=this,a.id&&u.attr("id",a.id),a.labelId&&c.attr("id",a.labelId),r.has(a,"width")&&(f.width=a.width),r.has(a,"height")&&(f.height=a.height),f.width+=a.paddingLeft+a.paddingRight,f.height+=a.paddingTop+a.paddingBottom,c.attr("transform","translate("+(a.paddingLeft-a.paddingRight)/2+","+(a.paddingTop-a.paddingBottom)/2+")");var d=s.select(this);d.select(".label-container").remove();var _=h(d,f,a).classed("label-container",!0);o.applyStyle(_,a.style);var p=_.node().getBBox();a.width=p.width,a.height=p.height})),a=c.exit?c.exit():c.selectAll(null),o.applyTransition(a,n).style("opacity",0).remove(),c}},46926:(t,n,e)=>{var r;if(!r)try{r=e(59194)}catch(t){}r||(r=window.d3),t.exports=r},64996:(t,n,e)=>{var r;try{r=e(73185)}catch(t){}r||(r=window.dagre),t.exports=r},46526:(t,n,e)=>{var r;try{r=e(16646)}catch(t){}r||(r=window.graphlib),t.exports=r},10872:(t,n,e)=>{t.exports={node:e(12419),circle:e(29497),ellipse:e(53608),polygon:e(19945),rect:e(58959)}},29497:(t,n,e)=>{var r=e(53608);t.exports=function(t,n,e){return r(t,n,n,e)}},53608:t=>{t.exports=function(t,n,e,r){var i=t.x,o=t.y,s=i-r.x,a=o-r.y,u=Math.sqrt(n*n*a*a+e*e*s*s),c=Math.abs(n*e*s/u);r.x{function n(t,n){return t*n>0}t.exports=function(t,e,r,i){var o,s,a,u,c,l,h,f,d,_,p,v,g;if(!(o=e.y-t.y,a=t.x-e.x,c=e.x*t.y-t.x*e.y,d=o*r.x+a*r.y+c,_=o*i.x+a*i.y+c,0!==d&&0!==_&&n(d,_)||(s=i.y-r.y,u=r.x-i.x,l=i.x*r.y-r.x*i.y,h=s*t.x+u*t.y+l,f=s*e.x+u*e.y+l,0!==h&&0!==f&&n(h,f)||0==(p=o*u-s*a))))return v=Math.abs(p/2),{x:(g=a*l-u*c)<0?(g-v)/p:(g+v)/p,y:(g=s*c-o*l)<0?(g-v)/p:(g+v)/p}}},12419:t=>{t.exports=function(t,n){return t.intersect(n)}},19945:(t,n,e)=>{var r=e(95032);t.exports=function(t,n,e){var i=t.x,o=t.y,s=[],a=Number.POSITIVE_INFINITY,u=Number.POSITIVE_INFINITY;n.forEach((function(t){a=Math.min(a,t.x),u=Math.min(u,t.y)}));for(var c=i-t.width/2-a,l=o-t.height/2-u,h=0;h1&&s.sort((function(t,n){var r=t.x-e.x,i=t.y-e.y,o=Math.sqrt(r*r+i*i),s=n.x-e.x,a=n.y-e.y,u=Math.sqrt(s*s+a*a);return o{t.exports=function(t,n){var e,r,i=t.x,o=t.y,s=n.x-i,a=n.y-o,u=t.width/2,c=t.height/2;return Math.abs(a)*u>Math.abs(s)*c?(a<0&&(c=-c),e=0===a?0:c*s/a,r=c):(s<0&&(u=-u),e=u,r=0===s?0:u*a/s),{x:i+e,y:o+r}}},13494:(t,n,e)=>{var r=e(42910);t.exports=function(t,n){var e=t.append("foreignObject").attr("width","100000"),i=e.append("xhtml:div");i.attr("xmlns","http://www.w3.org/1999/xhtml");var o=n.label;switch(typeof o){case"function":i.insert(o);break;case"object":i.insert((function(){return o}));break;default:i.html(o)}r.applyStyle(i,n.labelStyle),i.style("display","inline-block"),i.style("white-space","nowrap");var s=i.node().getBoundingClientRect();return e.attr("width",s.width).attr("height",s.height),e}},60693:(t,n,e)=>{var r=e(48086),i=e(13494),o=e(78337);t.exports=function(t,n,e){var s=n.label,a=t.append("g");"svg"===n.labelType?o(a,n):"string"!=typeof s||"html"===n.labelType?i(a,n):r(a,n);var u,c=a.node().getBBox();switch(e){case"top":u=-n.height/2;break;case"bottom":u=n.height/2-c.height;break;default:u=-c.height/2}return a.attr("transform","translate("+-c.width/2+","+u+")"),a}},78337:(t,n,e)=>{var r=e(42910);t.exports=function(t,n){var e=t;return e.node().appendChild(n.label),r.applyStyle(e,n.labelStyle),e}},48086:(t,n,e)=>{var r=e(42910);t.exports=function(t,n){for(var e=t.append("text"),i=function(t){for(var n,e="",r=!1,i=0;i{var r;try{r={defaults:e(28801),each:e(39724),isFunction:e(93331),isPlainObject:e(65128),pick:e(82052),has:e(3009),range:e(84769),uniqueId:e(73967)}}catch(t){}r||(r=window._),t.exports=r},29954:(t,n,e)=>{"use strict";var r=e(42910),i=e(46926);t.exports=function(t,n){var e=t.filter((function(){return!i.select(this).classed("update")}));function o(t){var e=n.node(t);return"translate("+e.x+","+e.y+")"}e.attr("transform",o),r.applyTransition(t,n).style("opacity",1).attr("transform",o),r.applyTransition(e.selectAll("rect"),n).attr("width",(function(t){return n.node(t).width})).attr("height",(function(t){return n.node(t).height})).attr("x",(function(t){return-n.node(t).width/2})).attr("y",(function(t){return-n.node(t).height/2}))}},56478:(t,n,e)=>{"use strict";var r=e(42910),i=e(46926),o=e(29359);t.exports=function(t,n){function e(t){var e=n.edge(t);return o.has(e,"x")?"translate("+e.x+","+e.y+")":""}t.filter((function(){return!i.select(this).classed("update")})).attr("transform",e),r.applyTransition(t,n).style("opacity",1).attr("transform",e)}},92249:(t,n,e)=>{"use strict";var r=e(42910),i=e(46926);t.exports=function(t,n){function e(t){var e=n.node(t);return"translate("+e.x+","+e.y+")"}t.filter((function(){return!i.select(this).classed("update")})).attr("transform",e),r.applyTransition(t,n).style("opacity",1).attr("transform",e)}},74511:(t,n,e)=>{var r=e(29359),i=e(46926),o=e(64996).layout;t.exports=function(){var t=e(92785),n=e(79223),i=e(17403),c=e(65284),l=e(92249),h=e(56478),f=e(29954),d=e(6643),_=e(69307),p=function(e,p){!function(t){t.nodes().forEach((function(n){var e=t.node(n);r.has(e,"label")||t.children(n).length||(e.label=n),r.has(e,"paddingX")&&r.defaults(e,{paddingLeft:e.paddingX,paddingRight:e.paddingX}),r.has(e,"paddingY")&&r.defaults(e,{paddingTop:e.paddingY,paddingBottom:e.paddingY}),r.has(e,"padding")&&r.defaults(e,{paddingLeft:e.padding,paddingRight:e.padding,paddingTop:e.padding,paddingBottom:e.padding}),r.defaults(e,s),r.each(["paddingLeft","paddingRight","paddingTop","paddingBottom"],(function(t){e[t]=Number(e[t])})),r.has(e,"width")&&(e._prevWidth=e.width),r.has(e,"height")&&(e._prevHeight=e.height)})),t.edges().forEach((function(n){var e=t.edge(n);r.has(e,"label")||(e.label=""),r.defaults(e,a)}))}(p);var v=u(e,"output"),g=u(v,"clusters"),m=u(v,"edgePaths"),y=i(u(v,"edgeLabels"),p),w=t(u(v,"nodes"),p,d);o(p),l(w,p),h(y,p),c(m,p,_);var b=n(g,p);f(b,p),function(t){r.each(t.nodes(),(function(n){var e=t.node(n);r.has(e,"_prevWidth")?e.width=e._prevWidth:delete e.width,r.has(e,"_prevHeight")?e.height=e._prevHeight:delete e.height,delete e._prevWidth,delete e._prevHeight}))}(p)};return p.createNodes=function(n){return arguments.length?(t=n,p):t},p.createClusters=function(t){return arguments.length?(n=t,p):n},p.createEdgeLabels=function(t){return arguments.length?(i=t,p):i},p.createEdgePaths=function(t){return arguments.length?(c=t,p):c},p.shapes=function(t){return arguments.length?(d=t,p):d},p.arrows=function(t){return arguments.length?(_=t,p):_},p};var s={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},a={arrowhead:"normal",curve:i.curveLinear};function u(t,n){var e=t.select("g."+n);return e.empty()&&(e=t.append("g").attr("class",n)),e}},6643:(t,n,e)=>{"use strict";var r=e(58959),i=e(53608),o=e(29497),s=e(19945);t.exports={rect:function(t,n,e){var i=t.insert("rect",":first-child").attr("rx",e.rx).attr("ry",e.ry).attr("x",-n.width/2).attr("y",-n.height/2).attr("width",n.width).attr("height",n.height);return e.intersect=function(t){return r(e,t)},i},ellipse:function(t,n,e){var r=n.width/2,o=n.height/2,s=t.insert("ellipse",":first-child").attr("x",-n.width/2).attr("y",-n.height/2).attr("rx",r).attr("ry",o);return e.intersect=function(t){return i(e,r,o,t)},s},circle:function(t,n,e){var r=Math.max(n.width,n.height)/2,i=t.insert("circle",":first-child").attr("x",-n.width/2).attr("y",-n.height/2).attr("r",r);return e.intersect=function(t){return o(e,r,t)},i},diamond:function(t,n,e){var r=n.width*Math.SQRT2/2,i=n.height*Math.SQRT2/2,o=[{x:0,y:-i},{x:-r,y:0},{x:0,y:i},{x:r,y:0}],a=t.insert("polygon",":first-child").attr("points",o.map((function(t){return t.x+","+t.y})).join(" "));return e.intersect=function(t){return s(e,o,t)},a}}},42910:(t,n,e)=>{var r=e(29359);t.exports={isSubgraph:function(t,n){return!!t.children(n).length},edgeToId:function(t){return o(t.v)+":"+o(t.w)+":"+o(t.name)},applyStyle:function(t,n){n&&t.attr("style",n)},applyClass:function(t,n,e){n&&t.attr("class",n).attr("class",e+" "+t.attr("class"))},applyTransition:function(t,n){var e=n.graph();if(r.isPlainObject(e)){var i=e.transition;if(r.isFunction(i))return i(t)}return t}};var i=/:/g;function o(t){return t?String(t).replace(i,"\\:"):""}},29760:t=>{t.exports="0.6.4"},73185:(t,n,e)=>{t.exports={graphlib:e(92804),layout:e(86514),debug:e(80990),util:{time:e(38115).time,notime:e(38115).notime},version:e(81647)}},29524:(t,n,e)=>{"use strict";var r=e(71821),i=e(67224);t.exports={run:function(t){var n="greedy"===t.graph().acyclicer?i(t,function(t){return function(n){return t.edge(n).weight}}(t)):function(t){var n=[],e={},i={};return r.forEach(t.nodes(),(function o(s){r.has(i,s)||(i[s]=!0,e[s]=!0,r.forEach(t.outEdges(s),(function(t){r.has(e,t.w)?n.push(t):o(t.w)})),delete e[s])})),n}(t);r.forEach(n,(function(n){var e=t.edge(n);t.removeEdge(n),e.forwardName=n.name,e.reversed=!0,t.setEdge(n.w,n.v,e,r.uniqueId("rev"))}))},undo:function(t){r.forEach(t.edges(),(function(n){var e=t.edge(n);if(e.reversed){t.removeEdge(n);var r=e.forwardName;delete e.reversed,delete e.forwardName,t.setEdge(n.w,n.v,e,r)}}))}}},22241:(t,n,e)=>{var r=e(71821),i=e(38115);function o(t,n,e,r,o,s){var a={width:0,height:0,rank:s,borderType:n},u=o[n][s-1],c=i.addDummyNode(t,"border",a,e);o[n][s]=c,t.setParent(c,r),u&&t.setEdge(u,c,{weight:1})}t.exports=function(t){r.forEach(t.children(),(function n(e){var i=t.children(e),s=t.node(e);if(i.length&&r.forEach(i,n),r.has(s,"minRank")){s.borderLeft=[],s.borderRight=[];for(var a=s.minRank,u=s.maxRank+1;a{"use strict";var r=e(71821);function i(t){r.forEach(t.nodes(),(function(n){o(t.node(n))})),r.forEach(t.edges(),(function(n){o(t.edge(n))}))}function o(t){var n=t.width;t.width=t.height,t.height=n}function s(t){t.y=-t.y}function a(t){var n=t.x;t.x=t.y,t.y=n}t.exports={adjust:function(t){var n=t.graph().rankdir.toLowerCase();"lr"!==n&&"rl"!==n||i(t)},undo:function(t){var n=t.graph().rankdir.toLowerCase();"bt"!==n&&"rl"!==n||function(t){r.forEach(t.nodes(),(function(n){s(t.node(n))})),r.forEach(t.edges(),(function(n){var e=t.edge(n);r.forEach(e.points,s),r.has(e,"y")&&s(e)}))}(t),"lr"!==n&&"rl"!==n||(function(t){r.forEach(t.nodes(),(function(n){a(t.node(n))})),r.forEach(t.edges(),(function(n){var e=t.edge(n);r.forEach(e.points,a),r.has(e,"x")&&a(e)}))}(t),i(t))}}},57282:t=>{function n(){var t={};t._next=t._prev=t,this._sentinel=t}function e(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function r(t,n){if("_next"!==t&&"_prev"!==t)return n}t.exports=n,n.prototype.dequeue=function(){var t=this._sentinel,n=t._prev;if(n!==t)return e(n),n},n.prototype.enqueue=function(t){var n=this._sentinel;t._prev&&t._next&&e(t),t._next=n._next,n._next._prev=t,n._next=t,t._prev=n},n.prototype.toString=function(){for(var t=[],n=this._sentinel,e=n._prev;e!==n;)t.push(JSON.stringify(e,r)),e=e._prev;return"["+t.join(", ")+"]"}},80990:(t,n,e)=>{var r=e(71821),i=e(38115),o=e(92804).Graph;t.exports={debugOrdering:function(t){var n=i.buildLayerMatrix(t),e=new o({compound:!0,multigraph:!0}).setGraph({});return r.forEach(t.nodes(),(function(n){e.setNode(n,{label:n}),e.setParent(n,"layer"+t.node(n).rank)})),r.forEach(t.edges(),(function(t){e.setEdge(t.v,t.w,{},t.name)})),r.forEach(n,(function(t,n){var i="layer"+n;e.setNode(i,{rank:"same"}),r.reduce(t,(function(t,n){return e.setEdge(t,n,{style:"invis"}),n}))})),e}}},92804:(t,n,e)=>{var r;try{r=e(16646)}catch(t){}r||(r=window.graphlib),t.exports=r},67224:(t,n,e)=>{var r=e(71821),i=e(92804).Graph,o=e(57282);t.exports=function(t,n){if(t.nodeCount()<=1)return[];var e=function(t,n){var e=new i,s=0,a=0;r.forEach(t.nodes(),(function(t){e.setNode(t,{v:t,in:0,out:0})})),r.forEach(t.edges(),(function(t){var r=e.edge(t.v,t.w)||0,i=n(t),o=r+i;e.setEdge(t.v,t.w,o),a=Math.max(a,e.node(t.v).out+=i),s=Math.max(s,e.node(t.w).in+=i)}));var c=r.range(a+s+3).map((function(){return new o})),l=s+1;return r.forEach(e.nodes(),(function(t){u(c,l,e.node(t))})),{graph:e,buckets:c,zeroIdx:l}}(t,n||s),c=function(t,n,e){for(var r,i=[],o=n[n.length-1],s=n[0];t.nodeCount();){for(;r=s.dequeue();)a(t,n,e,r);for(;r=o.dequeue();)a(t,n,e,r);if(t.nodeCount())for(var u=n.length-2;u>0;--u)if(r=n[u].dequeue()){i=i.concat(a(t,n,e,r,!0));break}}return i}(e.graph,e.buckets,e.zeroIdx);return r.flatten(r.map(c,(function(n){return t.outEdges(n.v,n.w)})),!0)};var s=r.constant(1);function a(t,n,e,i,o){var s=o?[]:void 0;return r.forEach(t.inEdges(i.v),(function(r){var i=t.edge(r),a=t.node(r.v);o&&s.push({v:r.v,w:r.w}),a.out-=i,u(n,e,a)})),r.forEach(t.outEdges(i.v),(function(r){var i=t.edge(r),o=r.w,s=t.node(o);s.in-=i,u(n,e,s)})),t.removeNode(i.v),s}function u(t,n,e){e.out?e.in?t[e.out-e.in+n].enqueue(e):t[t.length-1].enqueue(e):t[0].enqueue(e)}},86514:(t,n,e)=>{"use strict";var r=e(71821),i=e(29524),o=e(96464),s=e(79595),a=e(38115).normalizeRanks,u=e(15511),c=e(38115).removeEmptyRanks,l=e(32515),h=e(22241),f=e(89635),d=e(79352),_=e(34150),p=e(38115),v=e(92804).Graph;t.exports=function(t,n){var e=n&&n.debugTiming?p.time:p.notime;e("layout",(function(){var n=e(" buildLayoutGraph",(function(){return function(t){var n=new v({multigraph:!0,compound:!0}),e=$(t.graph());return n.setGraph(r.merge({},m,C(e,g),r.pick(e,y))),r.forEach(t.nodes(),(function(e){var i=$(t.node(e));n.setNode(e,r.defaults(C(i,w),b)),n.setParent(e,t.parent(e))})),r.forEach(t.edges(),(function(e){var i=$(t.edge(e));n.setEdge(e,r.merge({},k,C(i,x),r.pick(i,S)))})),n}(t)}));e(" runLayout",(function(){!function(t,n){n(" makeSpaceForEdgeLabels",(function(){!function(t){var n=t.graph();n.ranksep/=2,r.forEach(t.edges(),(function(e){var r=t.edge(e);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===n.rankdir||"BT"===n.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}(t)})),n(" removeSelfEdges",(function(){!function(t){r.forEach(t.edges(),(function(n){if(n.v===n.w){var e=t.node(n.v);e.selfEdges||(e.selfEdges=[]),e.selfEdges.push({e:n,label:t.edge(n)}),t.removeEdge(n)}}))}(t)})),n(" acyclic",(function(){i.run(t)})),n(" nestingGraph.run",(function(){l.run(t)})),n(" rank",(function(){s(p.asNonCompoundGraph(t))})),n(" injectEdgeLabelProxies",(function(){!function(t){r.forEach(t.edges(),(function(n){var e=t.edge(n);if(e.width&&e.height){var r=t.node(n.v),i={rank:(t.node(n.w).rank-r.rank)/2+r.rank,e:n};p.addDummyNode(t,"edge-proxy",i,"_ep")}}))}(t)})),n(" removeEmptyRanks",(function(){c(t)})),n(" nestingGraph.cleanup",(function(){l.cleanup(t)})),n(" normalizeRanks",(function(){a(t)})),n(" assignRankMinMax",(function(){!function(t){var n=0;r.forEach(t.nodes(),(function(e){var i=t.node(e);i.borderTop&&(i.minRank=t.node(i.borderTop).rank,i.maxRank=t.node(i.borderBottom).rank,n=r.max(n,i.maxRank))})),t.graph().maxRank=n}(t)})),n(" removeEdgeLabelProxies",(function(){!function(t){r.forEach(t.nodes(),(function(n){var e=t.node(n);"edge-proxy"===e.dummy&&(t.edge(e.e).labelRank=e.rank,t.removeNode(n))}))}(t)})),n(" normalize.run",(function(){o.run(t)})),n(" parentDummyChains",(function(){u(t)})),n(" addBorderSegments",(function(){h(t)})),n(" order",(function(){d(t)})),n(" insertSelfEdges",(function(){!function(t){var n=p.buildLayerMatrix(t);r.forEach(n,(function(n){var e=0;r.forEach(n,(function(n,i){var o=t.node(n);o.order=i+e,r.forEach(o.selfEdges,(function(n){p.addDummyNode(t,"selfedge",{width:n.label.width,height:n.label.height,rank:o.rank,order:i+ ++e,e:n.e,label:n.label},"_se")})),delete o.selfEdges}))}))}(t)})),n(" adjustCoordinateSystem",(function(){f.adjust(t)})),n(" position",(function(){_(t)})),n(" positionSelfEdges",(function(){!function(t){r.forEach(t.nodes(),(function(n){var e=t.node(n);if("selfedge"===e.dummy){var r=t.node(e.e.v),i=r.x+r.width/2,o=r.y,s=e.x-i,a=r.height/2;t.setEdge(e.e,e.label),t.removeNode(n),e.label.points=[{x:i+2*s/3,y:o-a},{x:i+5*s/6,y:o-a},{x:i+s,y:o},{x:i+5*s/6,y:o+a},{x:i+2*s/3,y:o+a}],e.label.x=e.x,e.label.y=e.y}}))}(t)})),n(" removeBorderNodes",(function(){!function(t){r.forEach(t.nodes(),(function(n){if(t.children(n).length){var e=t.node(n),i=t.node(e.borderTop),o=t.node(e.borderBottom),s=t.node(r.last(e.borderLeft)),a=t.node(r.last(e.borderRight));e.width=Math.abs(a.x-s.x),e.height=Math.abs(o.y-i.y),e.x=s.x+e.width/2,e.y=i.y+e.height/2}})),r.forEach(t.nodes(),(function(n){"border"===t.node(n).dummy&&t.removeNode(n)}))}(t)})),n(" normalize.undo",(function(){o.undo(t)})),n(" fixupEdgeLabelCoords",(function(){!function(t){r.forEach(t.edges(),(function(n){var e=t.edge(n);if(r.has(e,"x"))switch("l"!==e.labelpos&&"r"!==e.labelpos||(e.width-=e.labeloffset),e.labelpos){case"l":e.x-=e.width/2+e.labeloffset;break;case"r":e.x+=e.width/2+e.labeloffset}}))}(t)})),n(" undoCoordinateSystem",(function(){f.undo(t)})),n(" translateGraph",(function(){!function(t){var n=Number.POSITIVE_INFINITY,e=0,i=Number.POSITIVE_INFINITY,o=0,s=t.graph(),a=s.marginx||0,u=s.marginy||0;function c(t){var r=t.x,s=t.y,a=t.width,u=t.height;n=Math.min(n,r-a/2),e=Math.max(e,r+a/2),i=Math.min(i,s-u/2),o=Math.max(o,s+u/2)}r.forEach(t.nodes(),(function(n){c(t.node(n))})),r.forEach(t.edges(),(function(n){var e=t.edge(n);r.has(e,"x")&&c(e)})),n-=a,i-=u,r.forEach(t.nodes(),(function(e){var r=t.node(e);r.x-=n,r.y-=i})),r.forEach(t.edges(),(function(e){var o=t.edge(e);r.forEach(o.points,(function(t){t.x-=n,t.y-=i})),r.has(o,"x")&&(o.x-=n),r.has(o,"y")&&(o.y-=i)})),s.width=e-n+a,s.height=o-i+u}(t)})),n(" assignNodeIntersects",(function(){!function(t){r.forEach(t.edges(),(function(n){var e,r,i=t.edge(n),o=t.node(n.v),s=t.node(n.w);i.points?(e=i.points[0],r=i.points[i.points.length-1]):(i.points=[],e=s,r=o),i.points.unshift(p.intersectRect(o,e)),i.points.push(p.intersectRect(s,r))}))}(t)})),n(" reversePoints",(function(){!function(t){r.forEach(t.edges(),(function(n){var e=t.edge(n);e.reversed&&e.points.reverse()}))}(t)})),n(" acyclic.undo",(function(){i.undo(t)}))}(n,e)})),e(" updateInputGraph",(function(){!function(t,n){r.forEach(t.nodes(),(function(e){var r=t.node(e),i=n.node(e);r&&(r.x=i.x,r.y=i.y,n.children(e).length&&(r.width=i.width,r.height=i.height))})),r.forEach(t.edges(),(function(e){var i=t.edge(e),o=n.edge(e);i.points=o.points,r.has(o,"x")&&(i.x=o.x,i.y=o.y)})),t.graph().width=n.graph().width,t.graph().height=n.graph().height}(t,n)}))}))};var g=["nodesep","edgesep","ranksep","marginx","marginy"],m={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},y=["acyclicer","ranker","rankdir","align"],w=["width","height"],b={width:0,height:0},x=["minlen","weight","width","height","labeloffset"],k={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},S=["labelpos"];function C(t,n){return r.mapValues(r.pick(t,n),Number)}function $(t){var n={};return r.forEach(t,(function(t,e){n[e.toLowerCase()]=t})),n}},71821:(t,n,e)=>{var r;try{r={cloneDeep:e(70709),constant:e(71914),defaults:e(28801),each:e(39724),filter:e(23820),find:e(29495),flatten:e(60567),forEach:e(98848),forIn:e(25234),has:e(3009),isUndefined:e(51865),last:e(76292),map:e(82856),mapValues:e(3234),max:e(86295),merge:e(39488),min:e(74620),minBy:e(30257),now:e(97127),pick:e(82052),range:e(84769),reduce:e(97994),sortBy:e(50449),uniqueId:e(73967),values:e(72058),zipObject:e(97652)}}catch(t){}r||(r=window._),t.exports=r},32515:(t,n,e)=>{var r=e(71821),i=e(38115);function o(t,n,e,s,a,u,c){var l=t.children(c);if(l.length){var h=i.addBorderNode(t,"_bt"),f=i.addBorderNode(t,"_bb"),d=t.node(c);t.setParent(h,c),d.borderTop=h,t.setParent(f,c),d.borderBottom=f,r.forEach(l,(function(r){o(t,n,e,s,a,u,r);var i=t.node(r),l=i.borderTop?i.borderTop:r,d=i.borderBottom?i.borderBottom:r,_=i.borderTop?s:2*s,p=l!==d?1:a-u[c]+1;t.setEdge(h,l,{weight:_,minlen:p,nestingEdge:!0}),t.setEdge(d,f,{weight:_,minlen:p,nestingEdge:!0})})),t.parent(c)||t.setEdge(n,h,{weight:0,minlen:a+u[c]})}else c!==n&&t.setEdge(n,c,{weight:0,minlen:e})}t.exports={run:function(t){var n=i.addDummyNode(t,"root",{},"_root"),e=function(t){var n={};function e(i,o){var s=t.children(i);s&&s.length&&r.forEach(s,(function(t){e(t,o+1)})),n[i]=o}return r.forEach(t.children(),(function(t){e(t,1)})),n}(t),s=r.max(r.values(e))-1,a=2*s+1;t.graph().nestingRoot=n,r.forEach(t.edges(),(function(n){t.edge(n).minlen*=a}));var u=function(t){return r.reduce(t.edges(),(function(n,e){return n+t.edge(e).weight}),0)}(t)+1;r.forEach(t.children(),(function(r){o(t,n,a,u,s,e,r)})),t.graph().nodeRankFactor=a},cleanup:function(t){var n=t.graph();t.removeNode(n.nestingRoot),delete n.nestingRoot,r.forEach(t.edges(),(function(n){t.edge(n).nestingEdge&&t.removeEdge(n)}))}}},96464:(t,n,e)=>{"use strict";var r=e(71821),i=e(38115);t.exports={run:function(t){t.graph().dummyChains=[],r.forEach(t.edges(),(function(n){!function(t,n){var e,r,o,s=n.v,a=t.node(s).rank,u=n.w,c=t.node(u).rank,l=n.name,h=t.edge(n),f=h.labelRank;if(c!==a+1){for(t.removeEdge(n),o=0,++a;a{var r=e(71821);t.exports=function(t,n,e){var i,o={};r.forEach(e,(function(e){for(var r,s,a=t.parent(e);a;){if((r=t.parent(a))?(s=o[r],o[r]=a):(s=i,i=a),s&&s!==a)return void n.setEdge(s,a);a=r}}))}},45753:(t,n,e)=>{var r=e(71821);t.exports=function(t,n){return r.map(n,(function(n){var e=t.inEdges(n);if(e.length){var i=r.reduce(e,(function(n,e){var r=t.edge(e),i=t.node(e.v);return{sum:n.sum+r.weight*i.order,weight:n.weight+r.weight}}),{sum:0,weight:0});return{v:n,barycenter:i.sum/i.weight,weight:i.weight}}return{v:n}}))}},96022:(t,n,e)=>{var r=e(71821),i=e(92804).Graph;t.exports=function(t,n,e){var o=function(t){for(var n;t.hasNode(n=r.uniqueId("_root")););return n}(t),s=new i({compound:!0}).setGraph({root:o}).setDefaultNodeLabel((function(n){return t.node(n)}));return r.forEach(t.nodes(),(function(i){var a=t.node(i),u=t.parent(i);(a.rank===n||a.minRank<=n&&n<=a.maxRank)&&(s.setNode(i),s.setParent(i,u||o),r.forEach(t[e](i),(function(n){var e=n.v===i?n.w:n.v,o=s.edge(e,i),a=r.isUndefined(o)?0:o.weight;s.setEdge(e,i,{weight:t.edge(n).weight+a})})),r.has(a,"minRank")&&s.setNode(i,{borderLeft:a.borderLeft[n],borderRight:a.borderRight[n]}))})),s}},68083:(t,n,e)=>{"use strict";var r=e(71821);function i(t,n,e){for(var i=r.zipObject(e,r.map(e,(function(t,n){return n}))),o=r.flatten(r.map(n,(function(n){return r.sortBy(r.map(t.outEdges(n),(function(n){return{pos:i[n.w],weight:t.edge(n).weight}})),"pos")})),!0),s=1;s0;)n%2&&(e+=u[n+1]),u[n=n-1>>1]+=t.weight;c+=t.weight*e}))),c}t.exports=function(t,n){for(var e=0,r=1;r{"use strict";var r=e(71821),i=e(28887),o=e(68083),s=e(3121),a=e(96022),u=e(18956),c=e(92804).Graph,l=e(38115);function h(t,n,e){return r.map(n,(function(n){return a(t,n,e)}))}function f(t,n){var e=new c;r.forEach(t,(function(t){var i=t.graph().root,o=s(t,i,e,n);r.forEach(o.vs,(function(n,e){t.node(n).order=e})),u(t,e,o.vs)}))}function d(t,n){r.forEach(n,(function(n){r.forEach(n,(function(n,e){t.node(n).order=e}))}))}t.exports=function(t){var n=l.maxRank(t),e=h(t,r.range(1,n+1),"inEdges"),s=h(t,r.range(n-1,-1,-1),"outEdges"),a=i(t);d(t,a);for(var u,c=Number.POSITIVE_INFINITY,_=0,p=0;p<4;++_,++p){f(_%2?e:s,_%4>=2),a=l.buildLayerMatrix(t);var v=o(t,a);v{"use strict";var r=e(71821);t.exports=function(t){var n={},e=r.filter(t.nodes(),(function(n){return!t.children(n).length})),i=r.max(r.map(e,(function(n){return t.node(n).rank}))),o=r.map(r.range(i+1),(function(){return[]})),s=r.sortBy(e,(function(n){return t.node(n).rank}));return r.forEach(s,(function e(i){if(!r.has(n,i)){n[i]=!0;var s=t.node(i);o[s.rank].push(i),r.forEach(t.successors(i),e)}})),o}},12525:(t,n,e)=>{"use strict";var r=e(71821);t.exports=function(t,n){var e={};return r.forEach(t,(function(t,n){var i=e[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:n};r.isUndefined(t.barycenter)||(i.barycenter=t.barycenter,i.weight=t.weight)})),r.forEach(n.edges(),(function(t){var n=e[t.v],i=e[t.w];r.isUndefined(n)||r.isUndefined(i)||(i.indegree++,n.out.push(e[t.w]))})),function(t){var n=[];function e(t){return function(n){var e,i,o,s;n.merged||(r.isUndefined(n.barycenter)||r.isUndefined(t.barycenter)||n.barycenter>=t.barycenter)&&(i=n,o=0,s=0,(e=t).weight&&(o+=e.barycenter*e.weight,s+=e.weight),i.weight&&(o+=i.barycenter*i.weight,s+=i.weight),e.vs=i.vs.concat(e.vs),e.barycenter=o/s,e.weight=s,e.i=Math.min(i.i,e.i),i.merged=!0)}}function i(n){return function(e){e.in.push(n),0==--e.indegree&&t.push(e)}}for(;t.length;){var o=t.pop();n.push(o),r.forEach(o.in.reverse(),e(o)),r.forEach(o.out,i(o))}return r.map(r.filter(n,(function(t){return!t.merged})),(function(t){return r.pick(t,["vs","i","barycenter","weight"])}))}(r.filter(e,(function(t){return!t.indegree})))}},3121:(t,n,e)=>{var r=e(71821),i=e(45753),o=e(12525),s=e(8098);t.exports=function t(n,e,a,u){var c=n.children(e),l=n.node(e),h=l?l.borderLeft:void 0,f=l?l.borderRight:void 0,d={};h&&(c=r.filter(c,(function(t){return t!==h&&t!==f})));var _=i(n,c);r.forEach(_,(function(e){if(n.children(e.v).length){var i=t(n,e.v,a,u);d[e.v]=i,r.has(i,"barycenter")&&(o=e,s=i,r.isUndefined(o.barycenter)?(o.barycenter=s.barycenter,o.weight=s.weight):(o.barycenter=(o.barycenter*o.weight+s.barycenter*s.weight)/(o.weight+s.weight),o.weight+=s.weight))}var o,s}));var p=o(_,a);!function(t,n){r.forEach(t,(function(t){t.vs=r.flatten(t.vs.map((function(t){return n[t]?n[t].vs:t})),!0)}))}(p,d);var v=s(p,u);if(h&&(v.vs=r.flatten([h,v.vs,f],!0),n.predecessors(h).length)){var g=n.node(n.predecessors(h)[0]),m=n.node(n.predecessors(f)[0]);r.has(v,"barycenter")||(v.barycenter=0,v.weight=0),v.barycenter=(v.barycenter*v.weight+g.order+m.order)/(v.weight+2),v.weight+=2}return v}},8098:(t,n,e)=>{var r=e(71821),i=e(38115);function o(t,n,e){for(var i;n.length&&(i=r.last(n)).i<=e;)n.pop(),t.push(i.vs),e++;return e}t.exports=function(t,n){var e,s=i.partition(t,(function(t){return r.has(t,"barycenter")})),a=s.lhs,u=r.sortBy(s.rhs,(function(t){return-t.i})),c=[],l=0,h=0,f=0;a.sort((e=!!n,function(t,n){return t.barycentern.barycenter?1:e?n.i-t.i:t.i-n.i})),f=o(c,u,f),r.forEach(a,(function(t){f+=t.vs.length,c.push(t.vs),l+=t.barycenter*t.weight,h+=t.weight,f=o(c,u,f)}));var d={vs:r.flatten(c,!0)};return h&&(d.barycenter=l/h,d.weight=h),d}},15511:(t,n,e)=>{var r=e(71821);t.exports=function(t){var n=function(t){var n={},e=0;return r.forEach(t.children(),(function i(o){var s=e;r.forEach(t.children(o),i),n[o]={low:s,lim:e++}})),n}(t);r.forEach(t.graph().dummyChains,(function(e){for(var r=t.node(e),i=r.edgeObj,o=function(t,n,e,r){var i,o,s=[],a=[],u=Math.min(n[e].low,n[r].low),c=Math.max(n[e].lim,n[r].lim);i=e;do{i=t.parent(i),s.push(i)}while(i&&(n[i].low>u||c>n[i].lim));for(o=i,i=r;(i=t.parent(i))!==o;)a.push(i);return{path:s.concat(a.reverse()),lca:o}}(t,n,i.v,i.w),s=o.path,a=o.lca,u=0,c=s[u],l=!0;e!==i.w;){if(r=t.node(e),l){for(;(c=s[u])!==a&&t.node(c).maxRank{"use strict";var r=e(71821),i=e(92804).Graph,o=e(38115);function s(t,n){var e={};return r.reduce(n,(function(n,i){var o=0,s=0,a=n.length,c=r.last(i);return r.forEach(i,(function(n,l){var h=function(t,n){if(t.node(n).dummy)return r.find(t.predecessors(n),(function(n){return t.node(n).dummy}))}(t,n),f=h?t.node(h).order:a;(h||n===c)&&(r.forEach(i.slice(s,l+1),(function(n){r.forEach(t.predecessors(n),(function(r){var i=t.node(r),s=i.order;!(sa)&&u(e,n,c)}))}))}return r.reduce(n,(function(n,e){var o,s=-1,a=0;return r.forEach(e,(function(r,u){if("border"===t.node(r).dummy){var c=t.predecessors(r);c.length&&(o=t.node(c[0]).order,i(e,a,u,s,o),a=u,s=o)}i(e,a,e.length,o,n.length)})),e})),e}function u(t,n,e){if(n>e){var r=n;n=e,e=r}var i=t[n];i||(t[n]=i={}),i[e]=!0}function c(t,n,e){if(n>e){var i=n;n=e,e=i}return r.has(t[n],e)}function l(t,n,e,i){var o={},s={},a={};return r.forEach(n,(function(t){r.forEach(t,(function(t,n){o[t]=t,s[t]=t,a[t]=n}))})),r.forEach(n,(function(t){var n=-1;r.forEach(t,(function(t){var u=i(t);if(u.length){u=r.sortBy(u,(function(t){return a[t]}));for(var l=(u.length-1)/2,h=Math.floor(l),f=Math.ceil(l);h<=f;++h){var d=u[h];s[t]===t&&n{"use strict";var r=e(71821),i=e(38115),o=e(33648).positionX;t.exports=function(t){(function(t){var n=i.buildLayerMatrix(t),e=t.graph().ranksep,o=0;r.forEach(n,(function(n){var i=r.max(r.map(n,(function(n){return t.node(n).height})));r.forEach(n,(function(n){t.node(n).y=o+i/2})),o+=i+e}))})(t=i.asNonCompoundGraph(t)),r.forEach(o(t),(function(n,e){t.node(e).x=n}))}},74631:(t,n,e)=>{"use strict";var r=e(71821),i=e(92804).Graph,o=e(12331).slack;function s(t,n){return r.forEach(t.nodes(),(function e(i){r.forEach(n.nodeEdges(i),(function(r){var s=r.v,a=i===s?r.w:s;t.hasNode(a)||o(n,r)||(t.setNode(a,{}),t.setEdge(i,a,{}),e(a))}))})),t.nodeCount()}function a(t,n){return r.minBy(n.edges(),(function(e){if(t.hasNode(e.v)!==t.hasNode(e.w))return o(n,e)}))}function u(t,n,e){r.forEach(t.nodes(),(function(t){n.node(t).rank+=e}))}t.exports=function(t){var n,e,r=new i({directed:!1}),c=t.nodes()[0],l=t.nodeCount();for(r.setNode(c,{});s(r,t){"use strict";var r=e(12331).longestPath,i=e(74631),o=e(1986);t.exports=function(t){switch(t.graph().ranker){case"network-simplex":default:!function(t){o(t)}(t);break;case"tight-tree":!function(t){r(t),i(t)}(t);break;case"longest-path":s(t)}};var s=r},1986:(t,n,e)=>{"use strict";var r=e(71821),i=e(74631),o=e(12331).slack,s=e(12331).longestPath,a=e(92804).alg.preorder,u=e(92804).alg.postorder,c=e(38115).simplify;function l(t){t=c(t),s(t);var n,e=i(t);for(d(e),h(e,t);n=p(e);)g(e,t,n,v(e,t,n))}function h(t,n){var e=u(t,t.nodes());e=e.slice(0,e.length-1),r.forEach(e,(function(e){!function(t,n,e){var r=t.node(e).parent;t.edge(e,r).cutvalue=f(t,n,e)}(t,n,e)}))}function f(t,n,e){var i=t.node(e).parent,o=!0,s=n.edge(e,i),a=0;return s||(o=!1,s=n.edge(i,e)),a=s.weight,r.forEach(n.nodeEdges(e),(function(r){var s,u,c=r.v===e,l=c?r.w:r.v;if(l!==i){var h=c===o,f=n.edge(r).weight;if(a+=h?f:-f,s=e,u=l,t.hasEdge(s,u)){var d=t.edge(e,l).cutvalue;a+=h?-d:d}}})),a}function d(t,n){arguments.length<2&&(n=t.nodes()[0]),_(t,{},1,n)}function _(t,n,e,i,o){var s=e,a=t.node(i);return n[i]=!0,r.forEach(t.neighbors(i),(function(o){r.has(n,o)||(e=_(t,n,e,o,i))})),a.low=s,a.lim=e++,o?a.parent=o:delete a.parent,e}function p(t){return r.find(t.edges(),(function(n){return t.edge(n).cutvalue<0}))}function v(t,n,e){var i=e.v,s=e.w;n.hasEdge(i,s)||(i=e.w,s=e.v);var a=t.node(i),u=t.node(s),c=a,l=!1;a.lim>u.lim&&(c=u,l=!0);var h=r.filter(n.edges(),(function(n){return l===m(0,t.node(n.v),c)&&l!==m(0,t.node(n.w),c)}));return r.minBy(h,(function(t){return o(n,t)}))}function g(t,n,e,i){var o=e.v,s=e.w;t.removeEdge(o,s),t.setEdge(i.v,i.w,{}),d(t),h(t,n),function(t,n){var e=r.find(t.nodes(),(function(t){return!n.node(t).parent})),i=a(t,e);i=i.slice(1),r.forEach(i,(function(e){var r=t.node(e).parent,i=n.edge(e,r),o=!1;i||(i=n.edge(r,e),o=!0),n.node(e).rank=n.node(r).rank+(o?i.minlen:-i.minlen)}))}(t,n)}function m(t,n,e){return e.low<=n.lim&&n.lim<=e.lim}t.exports=l,l.initLowLimValues=d,l.initCutValues=h,l.calcCutValue=f,l.leaveEdge=p,l.enterEdge=v,l.exchangeEdges=g},12331:(t,n,e)=>{"use strict";var r=e(71821);t.exports={longestPath:function(t){var n={};r.forEach(t.sources(),(function e(i){var o=t.node(i);if(r.has(n,i))return o.rank;n[i]=!0;var s=r.min(r.map(t.outEdges(i),(function(n){return e(n.w)-t.edge(n).minlen})));return s!==Number.POSITIVE_INFINITY&&null!=s||(s=0),o.rank=s}))},slack:function(t,n){return t.node(n.w).rank-t.node(n.v).rank-t.edge(n).minlen}}},38115:(t,n,e)=>{"use strict";var r=e(71821),i=e(92804).Graph;function o(t,n,e,i){var o;do{o=r.uniqueId(i)}while(t.hasNode(o));return e.dummy=n,t.setNode(o,e),o}function s(t){return r.max(r.map(t.nodes(),(function(n){var e=t.node(n).rank;if(!r.isUndefined(e))return e})))}t.exports={addDummyNode:o,simplify:function(t){var n=(new i).setGraph(t.graph());return r.forEach(t.nodes(),(function(e){n.setNode(e,t.node(e))})),r.forEach(t.edges(),(function(e){var r=n.edge(e.v,e.w)||{weight:0,minlen:1},i=t.edge(e);n.setEdge(e.v,e.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})})),n},asNonCompoundGraph:function(t){var n=new i({multigraph:t.isMultigraph()}).setGraph(t.graph());return r.forEach(t.nodes(),(function(e){t.children(e).length||n.setNode(e,t.node(e))})),r.forEach(t.edges(),(function(e){n.setEdge(e,t.edge(e))})),n},successorWeights:function(t){var n=r.map(t.nodes(),(function(n){var e={};return r.forEach(t.outEdges(n),(function(n){e[n.w]=(e[n.w]||0)+t.edge(n).weight})),e}));return r.zipObject(t.nodes(),n)},predecessorWeights:function(t){var n=r.map(t.nodes(),(function(n){var e={};return r.forEach(t.inEdges(n),(function(n){e[n.v]=(e[n.v]||0)+t.edge(n).weight})),e}));return r.zipObject(t.nodes(),n)},intersectRect:function(t,n){var e,r,i=t.x,o=t.y,s=n.x-i,a=n.y-o,u=t.width/2,c=t.height/2;if(!s&&!a)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(a)*u>Math.abs(s)*c?(a<0&&(c=-c),e=c*s/a,r=c):(s<0&&(u=-u),e=u,r=u*a/s),{x:i+e,y:o+r}},buildLayerMatrix:function(t){var n=r.map(r.range(s(t)+1),(function(){return[]}));return r.forEach(t.nodes(),(function(e){var i=t.node(e),o=i.rank;r.isUndefined(o)||(n[o][i.order]=e)})),n},normalizeRanks:function(t){var n=r.min(r.map(t.nodes(),(function(n){return t.node(n).rank})));r.forEach(t.nodes(),(function(e){var i=t.node(e);r.has(i,"rank")&&(i.rank-=n)}))},removeEmptyRanks:function(t){var n=r.min(r.map(t.nodes(),(function(n){return t.node(n).rank}))),e=[];r.forEach(t.nodes(),(function(r){var i=t.node(r).rank-n;e[i]||(e[i]=[]),e[i].push(r)}));var i=0,o=t.graph().nodeRankFactor;r.forEach(e,(function(n,e){r.isUndefined(n)&&e%o!=0?--i:i&&r.forEach(n,(function(n){t.node(n).rank+=i}))}))},addBorderNode:function(t,n,e,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=e,i.order=r),o(t,"border",i,n)},maxRank:s,partition:function(t,n){var e={lhs:[],rhs:[]};return r.forEach(t,(function(t){n(t)?e.lhs.push(t):e.rhs.push(t)})),e},time:function(t,n){var e=r.now();try{return n()}finally{console.log(t+" time: "+(r.now()-e)+"ms")}},notime:function(t,n){return n()}}},81647:t=>{t.exports="0.8.5"},18409:t=>{var n=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},e=-1;n.Diff=function(t,n){return[t,n]},n.prototype.diff_main=function(t,e,r,i){void 0===i&&(i=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var o=i;if(null==t||null==e)throw new Error("Null input. (diff_main)");if(t==e)return t?[new n.Diff(0,t)]:[];void 0===r&&(r=!0);var s=r,a=this.diff_commonPrefix(t,e),u=t.substring(0,a);t=t.substring(a),e=e.substring(a),a=this.diff_commonSuffix(t,e);var c=t.substring(t.length-a);t=t.substring(0,t.length-a),e=e.substring(0,e.length-a);var l=this.diff_compute_(t,e,s,o);return u&&l.unshift(new n.Diff(0,u)),c&&l.push(new n.Diff(0,c)),this.diff_cleanupMerge(l),l},n.prototype.diff_compute_=function(t,r,i,o){var s;if(!t)return[new n.Diff(1,r)];if(!r)return[new n.Diff(e,t)];var a=t.length>r.length?t:r,u=t.length>r.length?r:t,c=a.indexOf(u);if(-1!=c)return s=[new n.Diff(1,a.substring(0,c)),new n.Diff(0,u),new n.Diff(1,a.substring(c+u.length))],t.length>r.length&&(s[0][0]=s[2][0]=e),s;if(1==u.length)return[new n.Diff(e,t),new n.Diff(1,r)];var l=this.diff_halfMatch_(t,r);if(l){var h=l[0],f=l[1],d=l[2],_=l[3],p=l[4],v=this.diff_main(h,d,i,o),g=this.diff_main(f,_,i,o);return v.concat([new n.Diff(0,p)],g)}return i&&t.length>100&&r.length>100?this.diff_lineMode_(t,r,o):this.diff_bisect_(t,r,o)},n.prototype.diff_lineMode_=function(t,r,i){var o=this.diff_linesToChars_(t,r);t=o.chars1,r=o.chars2;var s=o.lineArray,a=this.diff_main(t,r,!1,i);this.diff_charsToLines_(a,s),this.diff_cleanupSemantic(a),a.push(new n.Diff(0,""));for(var u=0,c=0,l=0,h="",f="";u=1&&l>=1){a.splice(u-c-l,c+l),u=u-c-l;for(var d=this.diff_main(h,f,!1,i),_=d.length-1;_>=0;_--)a.splice(u,0,d[_]);u+=d.length}l=0,c=0,h="",f=""}u++}return a.pop(),a},n.prototype.diff_bisect_=function(t,r,i){for(var o=t.length,s=r.length,a=Math.ceil((o+s)/2),u=a,c=2*a,l=new Array(c),h=new Array(c),f=0;fi);y++){for(var w=-y+p;w<=y-v;w+=2){for(var b=u+w,x=(E=w==-y||w!=y&&l[b-1]o)v+=2;else if(x>s)p+=2;else if(_&&(C=u+d-w)>=0&&C=(S=o-h[C]))return this.diff_bisectSplit_(t,r,E,x,i)}for(var k=-y+g;k<=y-m;k+=2){for(var S,C=u+k,$=(S=k==-y||k!=y&&h[C-1]o)m+=2;else if($>s)g+=2;else if(!_){var E;if((b=u+d-k)>=0&&b=(S=o-S))return this.diff_bisectSplit_(t,r,E,x,i)}}}return[new n.Diff(e,t),new n.Diff(1,r)]},n.prototype.diff_bisectSplit_=function(t,n,e,r,i){var o=t.substring(0,e),s=n.substring(0,r),a=t.substring(e),u=n.substring(r),c=this.diff_main(o,s,!1,i),l=this.diff_main(a,u,!1,i);return c.concat(l)},n.prototype.diff_linesToChars_=function(t,n){var e=[],r={};function i(t){for(var n="",i=0,s=-1,a=e.length;sr?t=t.substring(e-r):en.length?t:n,r=t.length>n.length?n:t;if(e.length<4||2*r.length=t.length?[r,o,s,a,l]:null}var s,a,u,c,l,h=o(e,r,Math.ceil(e.length/4)),f=o(e,r,Math.ceil(e.length/2));return h||f?(s=f?h&&h[4].length>f[4].length?h:f:h,t.length>n.length?(a=s[0],u=s[1],c=s[2],l=s[3]):(c=s[0],l=s[1],a=s[2],u=s[3]),[a,u,c,l,s[4]]):null},n.prototype.diff_cleanupSemantic=function(t){for(var r=!1,i=[],o=0,s=null,a=0,u=0,c=0,l=0,h=0;a0?i[o-1]:-1,u=0,c=0,l=0,h=0,s=null,r=!0)),a++;for(r&&this.diff_cleanupMerge(t),this.diff_cleanupSemanticLossless(t),a=1;a=p?(_>=f.length/2||_>=d.length/2)&&(t.splice(a,0,new n.Diff(0,d.substring(0,_))),t[a-1][1]=f.substring(0,f.length-_),t[a+1][1]=d.substring(_),a++):(p>=f.length/2||p>=d.length/2)&&(t.splice(a,0,new n.Diff(0,f.substring(0,p))),t[a-1][0]=1,t[a-1][1]=d.substring(0,d.length-p),t[a+1][0]=e,t[a+1][1]=f.substring(p),a++),a++}a++}},n.prototype.diff_cleanupSemanticLossless=function(t){function e(t,e){if(!t||!e)return 6;var r=t.charAt(t.length-1),i=e.charAt(0),o=r.match(n.nonAlphaNumericRegex_),s=i.match(n.nonAlphaNumericRegex_),a=o&&r.match(n.whitespaceRegex_),u=s&&i.match(n.whitespaceRegex_),c=a&&r.match(n.linebreakRegex_),l=u&&i.match(n.linebreakRegex_),h=c&&t.match(n.blanklineEndRegex_),f=l&&e.match(n.blanklineStartRegex_);return h||f?5:c||l?4:o&&!a&&u?3:a||u?2:o||s?1:0}for(var r=1;r=f&&(f=d,c=i,l=o,h=s)}t[r-1][1]!=c&&(c?t[r-1][1]=c:(t.splice(r-1,1),r--),t[r][1]=l,h?t[r+1][1]=h:(t.splice(r+1,1),r--))}r++}},n.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,n.whitespaceRegex_=/\s/,n.linebreakRegex_=/[\r\n]/,n.blanklineEndRegex_=/\n\r?\n$/,n.blanklineStartRegex_=/^\r?\n\r?\n/,n.prototype.diff_cleanupEfficiency=function(t){for(var r=!1,i=[],o=0,s=null,a=0,u=!1,c=!1,l=!1,h=!1;a0?i[o-1]:-1,l=h=!1),r=!0)),a++;r&&this.diff_cleanupMerge(t)},n.prototype.diff_cleanupMerge=function(t){t.push(new n.Diff(0,""));for(var r,i=0,o=0,s=0,a="",u="";i1?(0!==o&&0!==s&&(0!==(r=this.diff_commonPrefix(u,a))&&(i-o-s>0&&0==t[i-o-s-1][0]?t[i-o-s-1][1]+=u.substring(0,r):(t.splice(0,0,new n.Diff(0,u.substring(0,r))),i++),u=u.substring(r),a=a.substring(r)),0!==(r=this.diff_commonSuffix(u,a))&&(t[i][1]=u.substring(u.length-r)+t[i][1],u=u.substring(0,u.length-r),a=a.substring(0,a.length-r))),i-=o+s,t.splice(i,o+s),a.length&&(t.splice(i,0,new n.Diff(e,a)),i++),u.length&&(t.splice(i,0,new n.Diff(1,u)),i++),i++):0!==i&&0==t[i-1][0]?(t[i-1][1]+=t[i][1],t.splice(i,1)):i++,s=0,o=0,a="",u=""}""===t[t.length-1][1]&&t.pop();var c=!1;for(i=1;in));r++)s=i,a=o;return t.length!=r&&t[r][0]===e?a:a+(n-s)},n.prototype.diff_prettyHtml=function(t){for(var n=[],r=/&/g,i=//g,s=/\n/g,a=0;a");switch(u){case 1:n[a]=''+c+"";break;case e:n[a]=''+c+"";break;case 0:n[a]=""+c+""}}return n.join("")},n.prototype.diff_text1=function(t){for(var n=[],e=0;ethis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var r=this.match_alphabet_(n),i=this;function o(t,r){var o=t/n.length,s=Math.abs(e-r);return i.Match_Distance?o+s/i.Match_Distance:s?1:o}var s=this.Match_Threshold,a=t.indexOf(n,e);-1!=a&&(s=Math.min(o(0,a),s),-1!=(a=t.lastIndexOf(n,e+n.length))&&(s=Math.min(o(0,a),s)));var u,c,l=1<=_;g--){var m=r[t.charAt(g-1)];if(v[g]=0===d?(v[g+1]<<1|1)&m:(v[g+1]<<1|1)&m|(h[g+1]|h[g])<<1|1|h[g+1],v[g]&l){var y=o(d,g-1);if(y<=s){if(s=y,!((a=g-1)>e))break;_=Math.max(1,2*e-a)}}}if(o(d+1,e)>s)break;h=v}return a},n.prototype.match_alphabet_=function(t){for(var n={},e=0;e2&&(this.diff_cleanupSemantic(s),this.diff_cleanupEfficiency(s));else if(t&&"object"==typeof t&&void 0===r&&void 0===i)s=t,o=this.diff_text1(s);else if("string"==typeof t&&r&&"object"==typeof r&&void 0===i)o=t,s=r;else{if("string"!=typeof t||"string"!=typeof r||!i||"object"!=typeof i)throw new Error("Unknown call format to patch_make.");o=t,s=i}if(0===s.length)return[];for(var a=[],u=new n.patch_obj,c=0,l=0,h=0,f=o,d=o,_=0;_=2*this.Patch_Margin&&c&&(this.patch_addContext_(u,f),a.push(u),u=new n.patch_obj,c=0,f=d,l=h)}1!==p&&(l+=v.length),p!==e&&(h+=v.length)}return c&&(this.patch_addContext_(u,f),a.push(u)),a},n.prototype.patch_deepCopy=function(t){for(var e=[],r=0;rthis.Match_MaxBits?-1!=(a=this.match_main(n,l.substring(0,this.Match_MaxBits),c))&&(-1==(h=this.match_main(n,l.substring(l.length-this.Match_MaxBits),c+l.length-this.Match_MaxBits))||a>=h)&&(a=-1):a=this.match_main(n,l,c),-1==a)o[s]=!1,i-=t[s].length2-t[s].length1;else if(o[s]=!0,i=a-c,l==(u=-1==h?n.substring(a,a+l.length):n.substring(a,h+this.Match_MaxBits)))n=n.substring(0,a)+this.diff_text2(t[s].diffs)+n.substring(a+l.length);else{var f=this.diff_main(l,u,!1);if(l.length>this.Match_MaxBits&&this.diff_levenshtein(f)/l.length>this.Patch_DeleteThreshold)o[s]=!1;else{this.diff_cleanupSemanticLossless(f);for(var d,_=0,p=0;ps[0][1].length){var a=e-s[0][1].length;s[0][1]=r.substring(s[0][1].length)+s[0][1],o.start1-=a,o.start2-=a,o.length1+=a,o.length2+=a}return 0==(s=(o=t[t.length-1]).diffs).length||0!=s[s.length-1][0]?(s.push(new n.Diff(0,r)),o.length1+=e,o.length2+=e):e>s[s.length-1][1].length&&(a=e-s[s.length-1][1].length,s[s.length-1][1]+=r.substring(0,a),o.length1+=a,o.length2+=a),r},n.prototype.patch_splitMax=function(t){for(var r=this.Match_MaxBits,i=0;i2*r?(c.length1+=f.length,s+=f.length,l=!1,c.diffs.push(new n.Diff(h,f)),o.diffs.shift()):(f=f.substring(0,r-c.length1-this.Patch_Margin),c.length1+=f.length,s+=f.length,0===h?(c.length2+=f.length,a+=f.length):l=!1,c.diffs.push(new n.Diff(h,f)),f==o.diffs[0][1]?o.diffs.shift():o.diffs[0][1]=o.diffs[0][1].substring(f.length))}u=(u=this.diff_text2(c.diffs)).substring(u.length-this.Patch_Margin);var d=this.diff_text1(o.diffs).substring(0,this.Patch_Margin);""!==d&&(c.length1+=d.length,c.length2+=d.length,0!==c.diffs.length&&0===c.diffs[c.diffs.length-1][0]?c.diffs[c.diffs.length-1][1]+=d:c.diffs.push(new n.Diff(0,d))),l||t.splice(++i,0,c)}}},n.prototype.patch_toText=function(t){for(var n=[],e=0;e{"use strict";e.r(n),e.d(n,{HTML5DragTransition:()=>o,MouseTransition:()=>s,MultiBackend:()=>l,PreviewList:()=>u,TouchTransition:()=>i,createTransition:()=>r,default:()=>h});const r=function(t,n){return{_isMBTransition:!0,event:t,check:n}};var i=r("touchstart",(function(t){return null!=t.touches})),o=r("dragstart",(function(t){return!!t.type&&(-1!==t.type.indexOf("drag")||-1!==t.type.indexOf("drop"))})),s=r("mousedown",(function(t){return!!t.type&&-1===t.type.indexOf("touch")&&-1!==t.type.indexOf("mouse")}));function a(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,o=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,i=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}(n.previews);try{for(r.s();!(e=r.n()).done;)e.value.backendChanged(t)}catch(t){r.e(t)}finally{r.f()}},this.previews=[]};function c(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e{"use strict";t.exports=function t(n,e){if(n===e)return!0;if(n&&e&&"object"==typeof n&&"object"==typeof e){if(n.constructor!==e.constructor)return!1;var r,i,o;if(Array.isArray(n)){if((r=n.length)!=e.length)return!1;for(i=r;0!=i--;)if(!t(n[i],e[i]))return!1;return!0}if(n.constructor===RegExp)return n.source===e.source&&n.flags===e.flags;if(n.valueOf!==Object.prototype.valueOf)return n.valueOf()===e.valueOf();if(n.toString!==Object.prototype.toString)return n.toString()===e.toString();if((r=(o=Object.keys(n)).length)!==Object.keys(e).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,o[i]))return!1;for(i=r;0!=i--;){var s=o[i];if(!t(n[s],e[s]))return!1}return!0}return n!=n&&e!=e}},53319:(t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.deinterlace=void 0,n.deinterlace=function(t,n){for(var e=new Array(t.length),r=t.length/n,i=function(r,i){var o=t.slice(i*n,(i+1)*n);e.splice.apply(e,[r*n,n].concat(o))},o=[0,4,2,1],s=[8,8,4,2],a=0,u=0;u<4;u++)for(var c=o[u];c{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.decompressFrames=n.decompressFrame=n.parseGIF=void 0;var r,i=(r=e(40288))&&r.__esModule?r:{default:r},o=e(46894),s=e(46086),a=e(53319),u=e(77353);n.parseGIF=function(t){var n=new Uint8Array(t);return(0,o.parse)((0,s.buildStream)(n),i.default)};var c=function(t,n,e){if(t.image){var r=t.image,i=r.descriptor.width*r.descriptor.height,o=(0,u.lzw)(r.data.minCodeSize,r.data.blocks,i);r.descriptor.lct.interlaced&&(o=(0,a.deinterlace)(o,r.descriptor.width));var s={pixels:o,dims:{top:t.image.descriptor.top,left:t.image.descriptor.left,width:t.image.descriptor.width,height:t.image.descriptor.height}};return r.descriptor.lct&&r.descriptor.lct.exists?s.colorTable=r.lct:s.colorTable=n,t.gce&&(s.delay=10*(t.gce.delay||10),s.disposalType=t.gce.extras.disposal,t.gce.extras.transparentColorGiven&&(s.transparentIndex=t.gce.transparentColorIndex)),e&&(s.patch=function(t){for(var n=t.pixels.length,e=new Uint8ClampedArray(4*n),r=0;r{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.lzw=void 0,n.lzw=function(t,n,e){var r,i,o,s,a,u,c,l,h,f,d,_,p,v,g,m,y=4096,w=e,b=new Array(e),x=new Array(y),k=new Array(y),S=new Array(4097);for(a=1+(i=1<<(f=t)),r=i+2,c=-1,o=(1<<(s=f+1))-1,l=0;l>=s,_-=s,l>r||l==a)break;if(l==i){o=(1<<(s=f+1))-1,r=i+2,c=-1;continue}if(-1==c){S[v++]=k[l],c=l,p=l;continue}for(u=l,l==r&&(S[v++]=p,l=c);l>i;)S[v++]=k[l],l=x[l];p=255&k[l],S[v++]=p,r{var r=e(72666);t.exports={Graph:r.Graph,json:e(43603),alg:e(52523),version:r.version}},29150:(t,n,e)=>{var r=e(24545);t.exports=function(t){var n,e={},i=[];function o(i){r.has(e,i)||(e[i]=!0,n.push(i),r.each(t.successors(i),o),r.each(t.predecessors(i),o))}return r.each(t.nodes(),(function(t){n=[],o(t),n.length&&i.push(n)})),i}},40929:(t,n,e)=>{var r=e(24545);function i(t,n,e,o,s,a){r.has(o,n)||(o[n]=!0,e||a.push(n),r.each(s(n),(function(n){i(t,n,e,o,s,a)})),e&&a.push(n))}t.exports=function(t,n,e){r.isArray(n)||(n=[n]);var o=(t.isDirected()?t.successors:t.neighbors).bind(t),s=[],a={};return r.each(n,(function(n){if(!t.hasNode(n))throw new Error("Graph does not have node: "+n);i(t,n,"post"===e,a,o,s)})),s}},25684:(t,n,e)=>{var r=e(20401),i=e(24545);t.exports=function(t,n,e){return i.transform(t.nodes(),(function(i,o){i[o]=r(t,o,n,e)}),{})}},20401:(t,n,e)=>{var r=e(24545),i=e(694);t.exports=function(t,n,e,r){return function(t,n,e,r){var o,s,a={},u=new i,c=function(t){var n=t.v!==o?t.v:t.w,r=a[n],i=e(t),c=s.distance+i;if(i<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+t+" Weight: "+i);c0&&(o=u.removeMin(),(s=a[o]).distance!==Number.POSITIVE_INFINITY);)r(o).forEach(c);return a}(t,String(n),e||o,r||function(n){return t.outEdges(n)})};var o=r.constant(1)},51127:(t,n,e)=>{var r=e(24545),i=e(23594);t.exports=function(t){return r.filter(i(t),(function(n){return n.length>1||1===n.length&&t.hasEdge(n[0],n[0])}))}},34777:(t,n,e)=>{var r=e(24545);t.exports=function(t,n,e){return function(t,n,e){var r={},i=t.nodes();return i.forEach((function(t){r[t]={},r[t][t]={distance:0},i.forEach((function(n){t!==n&&(r[t][n]={distance:Number.POSITIVE_INFINITY})})),e(t).forEach((function(e){var i=e.v===t?e.w:e.v,o=n(e);r[t][i]={distance:o,predecessor:t}}))})),i.forEach((function(t){var n=r[t];i.forEach((function(e){var o=r[e];i.forEach((function(e){var r=o[t],i=n[e],s=o[e],a=r.distance+i.distance;a{t.exports={components:e(29150),dijkstra:e(20401),dijkstraAll:e(25684),findCycles:e(51127),floydWarshall:e(34777),isAcyclic:e(29736),postorder:e(66843),preorder:e(1137),prim:e(94994),tarjan:e(23594),topsort:e(8332)}},29736:(t,n,e)=>{var r=e(8332);t.exports=function(t){try{r(t)}catch(t){if(t instanceof r.CycleException)return!1;throw t}return!0}},66843:(t,n,e)=>{var r=e(40929);t.exports=function(t,n){return r(t,n,"post")}},1137:(t,n,e)=>{var r=e(40929);t.exports=function(t,n){return r(t,n,"pre")}},94994:(t,n,e)=>{var r=e(24545),i=e(89381),o=e(694);t.exports=function(t,n){var e,s=new i,a={},u=new o;function c(t){var r=t.v===e?t.w:t.v,i=u.priority(r);if(void 0!==i){var o=n(t);o0;){if(e=u.removeMin(),r.has(a,e))s.setEdge(e,a[e]);else{if(l)throw new Error("Input graph is not connected: "+t);l=!0}t.nodeEdges(e).forEach(c)}return s}},23594:(t,n,e)=>{var r=e(24545);t.exports=function(t){var n=0,e=[],i={},o=[];function s(a){var u=i[a]={onStack:!0,lowlink:n,index:n++};if(e.push(a),t.successors(a).forEach((function(t){r.has(i,t)?i[t].onStack&&(u.lowlink=Math.min(u.lowlink,i[t].index)):(s(t),u.lowlink=Math.min(u.lowlink,i[t].lowlink))})),u.lowlink===u.index){var c,l=[];do{c=e.pop(),i[c].onStack=!1,l.push(c)}while(a!==c);o.push(l)}}return t.nodes().forEach((function(t){r.has(i,t)||s(t)})),o}},8332:(t,n,e)=>{var r=e(24545);function i(t){var n={},e={},i=[];if(r.each(t.sinks(),(function s(a){if(r.has(e,a))throw new o;r.has(n,a)||(e[a]=!0,n[a]=!0,r.each(t.predecessors(a),s),delete e[a],i.push(a))})),r.size(n)!==t.nodeCount())throw new o;return i}function o(){}t.exports=i,i.CycleException=o,o.prototype=new Error},694:(t,n,e)=>{var r=e(24545);function i(){this._arr=[],this._keyIndices={}}t.exports=i,i.prototype.size=function(){return this._arr.length},i.prototype.keys=function(){return this._arr.map((function(t){return t.key}))},i.prototype.has=function(t){return r.has(this._keyIndices,t)},i.prototype.priority=function(t){var n=this._keyIndices[t];if(void 0!==n)return this._arr[n].priority},i.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},i.prototype.add=function(t,n){var e=this._keyIndices;if(t=String(t),!r.has(e,t)){var i=this._arr,o=i.length;return e[t]=o,i.push({key:t,priority:n}),this._decrease(o),!0}return!1},i.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var t=this._arr.pop();return delete this._keyIndices[t.key],this._heapify(0),t.key},i.prototype.decrease=function(t,n){var e=this._keyIndices[t];if(n>this._arr[e].priority)throw new Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[e].priority+" New: "+n);this._arr[e].priority=n,this._decrease(e)},i.prototype._heapify=function(t){var n=this._arr,e=2*t,r=e+1,i=t;e>1].priority{"use strict";var r=e(24545);t.exports=a;var i="\0",o="\0",s="";function a(t){this._isDirected=!r.has(t,"directed")||t.directed,this._isMultigraph=!!r.has(t,"multigraph")&&t.multigraph,this._isCompound=!!r.has(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=r.constant(void 0),this._defaultEdgeLabelFn=r.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[o]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function u(t,n){t[n]?t[n]++:t[n]=1}function c(t,n){--t[n]||delete t[n]}function l(t,n,e,o){var a=""+n,u=""+e;if(!t&&a>u){var c=a;a=u,u=c}return a+s+u+s+(r.isUndefined(o)?i:o)}function h(t,n){return l(t,n.v,n.w,n.name)}a.prototype._nodeCount=0,a.prototype._edgeCount=0,a.prototype.isDirected=function(){return this._isDirected},a.prototype.isMultigraph=function(){return this._isMultigraph},a.prototype.isCompound=function(){return this._isCompound},a.prototype.setGraph=function(t){return this._label=t,this},a.prototype.graph=function(){return this._label},a.prototype.setDefaultNodeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultNodeLabelFn=t,this},a.prototype.nodeCount=function(){return this._nodeCount},a.prototype.nodes=function(){return r.keys(this._nodes)},a.prototype.sources=function(){var t=this;return r.filter(this.nodes(),(function(n){return r.isEmpty(t._in[n])}))},a.prototype.sinks=function(){var t=this;return r.filter(this.nodes(),(function(n){return r.isEmpty(t._out[n])}))},a.prototype.setNodes=function(t,n){var e=arguments,i=this;return r.each(t,(function(t){e.length>1?i.setNode(t,n):i.setNode(t)})),this},a.prototype.setNode=function(t,n){return r.has(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=n),this):(this._nodes[t]=arguments.length>1?n:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=o,this._children[t]={},this._children[o][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)},a.prototype.node=function(t){return this._nodes[t]},a.prototype.hasNode=function(t){return r.has(this._nodes,t)},a.prototype.removeNode=function(t){var n=this;if(r.has(this._nodes,t)){var e=function(t){n.removeEdge(n._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],r.each(this.children(t),(function(t){n.setParent(t)})),delete this._children[t]),r.each(r.keys(this._in[t]),e),delete this._in[t],delete this._preds[t],r.each(r.keys(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this},a.prototype.setParent=function(t,n){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(n))n=o;else{for(var e=n+="";!r.isUndefined(e);e=this.parent(e))if(e===t)throw new Error("Setting "+n+" as parent of "+t+" would create a cycle");this.setNode(n)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=n,this._children[n][t]=!0,this},a.prototype._removeFromParentsChildList=function(t){delete this._children[this._parent[t]][t]},a.prototype.parent=function(t){if(this._isCompound){var n=this._parent[t];if(n!==o)return n}},a.prototype.children=function(t){if(r.isUndefined(t)&&(t=o),this._isCompound){var n=this._children[t];if(n)return r.keys(n)}else{if(t===o)return this.nodes();if(this.hasNode(t))return[]}},a.prototype.predecessors=function(t){var n=this._preds[t];if(n)return r.keys(n)},a.prototype.successors=function(t){var n=this._sucs[t];if(n)return r.keys(n)},a.prototype.neighbors=function(t){var n=this.predecessors(t);if(n)return r.union(n,this.successors(t))},a.prototype.isLeaf=function(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length},a.prototype.filterNodes=function(t){var n=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});n.setGraph(this.graph());var e=this;r.each(this._nodes,(function(e,r){t(r)&&n.setNode(r,e)})),r.each(this._edgeObjs,(function(t){n.hasNode(t.v)&&n.hasNode(t.w)&&n.setEdge(t,e.edge(t))}));var i={};function o(t){var r=e.parent(t);return void 0===r||n.hasNode(r)?(i[t]=r,r):r in i?i[r]:o(r)}return this._isCompound&&r.each(n.nodes(),(function(t){n.setParent(t,o(t))})),n},a.prototype.setDefaultEdgeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultEdgeLabelFn=t,this},a.prototype.edgeCount=function(){return this._edgeCount},a.prototype.edges=function(){return r.values(this._edgeObjs)},a.prototype.setPath=function(t,n){var e=this,i=arguments;return r.reduce(t,(function(t,r){return i.length>1?e.setEdge(t,r,n):e.setEdge(t,r),r})),this},a.prototype.setEdge=function(){var t,n,e,i,o=!1,s=arguments[0];"object"==typeof s&&null!==s&&"v"in s?(t=s.v,n=s.w,e=s.name,2===arguments.length&&(i=arguments[1],o=!0)):(t=s,n=arguments[1],e=arguments[3],arguments.length>2&&(i=arguments[2],o=!0)),t=""+t,n=""+n,r.isUndefined(e)||(e=""+e);var a=l(this._isDirected,t,n,e);if(r.has(this._edgeLabels,a))return o&&(this._edgeLabels[a]=i),this;if(!r.isUndefined(e)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(n),this._edgeLabels[a]=o?i:this._defaultEdgeLabelFn(t,n,e);var c=function(t,n,e,r){var i=""+n,o=""+e;if(!t&&i>o){var s=i;i=o,o=s}var a={v:i,w:o};return r&&(a.name=r),a}(this._isDirected,t,n,e);return t=c.v,n=c.w,Object.freeze(c),this._edgeObjs[a]=c,u(this._preds[n],t),u(this._sucs[t],n),this._in[n][a]=c,this._out[t][a]=c,this._edgeCount++,this},a.prototype.edge=function(t,n,e){var r=1===arguments.length?h(this._isDirected,arguments[0]):l(this._isDirected,t,n,e);return this._edgeLabels[r]},a.prototype.hasEdge=function(t,n,e){var i=1===arguments.length?h(this._isDirected,arguments[0]):l(this._isDirected,t,n,e);return r.has(this._edgeLabels,i)},a.prototype.removeEdge=function(t,n,e){var r=1===arguments.length?h(this._isDirected,arguments[0]):l(this._isDirected,t,n,e),i=this._edgeObjs[r];return i&&(t=i.v,n=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],c(this._preds[n],t),c(this._sucs[t],n),delete this._in[n][r],delete this._out[t][r],this._edgeCount--),this},a.prototype.inEdges=function(t,n){var e=this._in[t];if(e){var i=r.values(e);return n?r.filter(i,(function(t){return t.v===n})):i}},a.prototype.outEdges=function(t,n){var e=this._out[t];if(e){var i=r.values(e);return n?r.filter(i,(function(t){return t.w===n})):i}},a.prototype.nodeEdges=function(t,n){var e=this.inEdges(t,n);if(e)return e.concat(this.outEdges(t,n))}},72666:(t,n,e)=>{t.exports={Graph:e(89381),version:e(7558)}},43603:(t,n,e)=>{var r=e(24545),i=e(89381);function o(t){return r.map(t.nodes(),(function(n){var e=t.node(n),i=t.parent(n),o={v:n};return r.isUndefined(e)||(o.value=e),r.isUndefined(i)||(o.parent=i),o}))}function s(t){return r.map(t.edges(),(function(n){var e=t.edge(n),i={v:n.v,w:n.w};return r.isUndefined(n.name)||(i.name=n.name),r.isUndefined(e)||(i.value=e),i}))}t.exports={write:function(t){var n={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:o(t),edges:s(t)};return r.isUndefined(t.graph())||(n.value=r.clone(t.graph())),n},read:function(t){var n=new i(t.options).setGraph(t.value);return r.each(t.nodes,(function(t){n.setNode(t.v,t.value),t.parent&&n.setParent(t.v,t.parent)})),r.each(t.edges,(function(t){n.setEdge({v:t.v,w:t.w,name:t.name},t.value)})),n}}},24545:(t,n,e)=>{var r;try{r={clone:e(86231),constant:e(71914),each:e(39724),filter:e(23820),has:e(3009),isArray:e(69546),isEmpty:e(96368),isFunction:e(93331),isUndefined:e(51865),keys:e(25961),map:e(82856),reduce:e(97994),size:e(16334),transform:e(52224),union:e(27516),values:e(72058)}}catch(t){}r||(r=window._),t.exports=r},7558:t=>{t.exports="2.1.8"},69060:(t,n,e)=>{"use strict";var r=e(38381),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function u(t){return r.isMemo(t)?s:a[t.$$typeof]||i}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=s;var c=Object.defineProperty,l=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,_=Object.prototype;t.exports=function t(n,e,r){if("string"!=typeof e){if(_){var i=d(e);i&&i!==_&&t(n,i,r)}var s=l(e);h&&(s=s.concat(h(e)));for(var a=u(n),p=u(e),v=0;v{"use strict";var e="function"==typeof Symbol&&Symbol.for,r=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,u=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,h=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,_=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function b(t){if("object"==typeof t&&null!==t){var n=t.$$typeof;switch(n){case r:switch(t=t.type){case l:case h:case o:case a:case s:case d:return t;default:switch(t=t&&t.$$typeof){case c:case f:case v:case p:case u:return t;default:return n}}case i:return n}}}function x(t){return b(t)===h}n.AsyncMode=l,n.ConcurrentMode=h,n.ContextConsumer=c,n.ContextProvider=u,n.Element=r,n.ForwardRef=f,n.Fragment=o,n.Lazy=v,n.Memo=p,n.Portal=i,n.Profiler=a,n.StrictMode=s,n.Suspense=d,n.isAsyncMode=function(t){return x(t)||b(t)===l},n.isConcurrentMode=x,n.isContextConsumer=function(t){return b(t)===c},n.isContextProvider=function(t){return b(t)===u},n.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r},n.isForwardRef=function(t){return b(t)===f},n.isFragment=function(t){return b(t)===o},n.isLazy=function(t){return b(t)===v},n.isMemo=function(t){return b(t)===p},n.isPortal=function(t){return b(t)===i},n.isProfiler=function(t){return b(t)===a},n.isStrictMode=function(t){return b(t)===s},n.isSuspense=function(t){return b(t)===d},n.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===h||t===a||t===s||t===d||t===_||"object"==typeof t&&null!==t&&(t.$$typeof===v||t.$$typeof===p||t.$$typeof===u||t.$$typeof===c||t.$$typeof===f||t.$$typeof===m||t.$$typeof===y||t.$$typeof===w||t.$$typeof===g)},n.typeOf=b},38381:(t,n,e)=>{"use strict";t.exports=e(40903)},60357:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>a});var r=/[A-Z]/g,i=/^ms-/,o={};function s(t){return"-"+t.toLowerCase()}const a=function(t){if(o.hasOwnProperty(t))return o[t];var n=t.replace(r,s);return o[t]=i.test(n)?"-"+n:n}},33555:(t,n)=>{"use strict";function e(t){return"object"!=typeof t||"toString"in t?t:Object.prototype.toString.call(t).slice(8,-1)}Object.defineProperty(n,"__esModule",{value:!0});var r="object"==typeof process&&!0;function i(t,n){if(!t){if(r)throw new Error("Invariant failed");throw new Error(n())}}n.invariant=i;var o=Object.prototype.hasOwnProperty,s=Array.prototype.splice,a=Object.prototype.toString;function u(t){return a.call(t).slice(8,-1)}var c=Object.assign||function(t,n){return l(n).forEach((function(e){o.call(n,e)&&(t[e]=n[e])})),t},l="function"==typeof Object.getOwnPropertySymbols?function(t){return Object.keys(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.keys(t)};function h(t){return Array.isArray(t)?c(t.constructor(t.length),t):"Map"===u(t)?new Map(t):"Set"===u(t)?new Set(t):t&&"object"==typeof t?c(Object.create(Object.getPrototypeOf(t)),t):t}var f=function(){function t(){this.commands=c({},d),this.update=this.update.bind(this),this.update.extend=this.extend=this.extend.bind(this),this.update.isEquals=function(t,n){return t===n},this.update.newContext=function(){return(new t).update}}return Object.defineProperty(t.prototype,"isEquals",{get:function(){return this.update.isEquals},set:function(t){this.update.isEquals=t},enumerable:!0,configurable:!0}),t.prototype.extend=function(t,n){this.commands[t]=n},t.prototype.update=function(t,n){var e=this,r="function"==typeof n?{$apply:n}:n;Array.isArray(t)&&Array.isArray(r)||i(!Array.isArray(r),(function(){return"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."})),i("object"==typeof r&&null!==r,(function(){return"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the following commands: "+Object.keys(e.commands).join(", ")+"."}));var s=t;return l(r).forEach((function(n){if(o.call(e.commands,n)){var i=t===s;s=e.commands[n](r[n],s,r,t),i&&e.isEquals(s,t)&&(s=t)}else{var a="Map"===u(t)?e.update(t.get(n),r[n]):e.update(t[n],r[n]),c="Map"===u(s)?s.get(n):s[n];e.isEquals(a,c)&&(void 0!==a||o.call(t,n))||(s===t&&(s=h(t)),"Map"===u(s)?s.set(n,a):s[n]=a)}})),s},t}();n.Context=f;var d={$push:function(t,n,e){return p(n,e,"$push"),t.length?n.concat(t):n},$unshift:function(t,n,e){return p(n,e,"$unshift"),t.length?t.concat(n):n},$splice:function(t,n,r,o){return function(t,n){i(Array.isArray(t),(function(){return"Expected $splice target to be an array; got "+e(t)})),g(n.$splice)}(n,r),t.forEach((function(t){g(t),n===o&&t.length&&(n=h(o)),s.apply(n,t)})),n},$set:function(t,n,e){return function(t){i(1===Object.keys(t).length,(function(){return"Cannot have more than one key in an object with $set"}))}(e),t},$toggle:function(t,n){v(t,"$toggle");var e=t.length?h(n):n;return t.forEach((function(t){e[t]=!n[t]})),e},$unset:function(t,n,e,r){return v(t,"$unset"),t.forEach((function(t){Object.hasOwnProperty.call(n,t)&&(n===r&&(n=h(r)),delete n[t])})),n},$add:function(t,n,e,r){return m(n,"$add"),v(t,"$add"),"Map"===u(n)?t.forEach((function(t){var e=t[0],i=t[1];n===r&&n.get(e)!==i&&(n=h(r)),n.set(e,i)})):t.forEach((function(t){n!==r||n.has(t)||(n=h(r)),n.add(t)})),n},$remove:function(t,n,e,r){return m(n,"$remove"),v(t,"$remove"),t.forEach((function(t){n===r&&n.has(t)&&(n=h(r)),n.delete(t)})),n},$merge:function(t,n,r,o){var s,a;return s=n,i((a=t)&&"object"==typeof a,(function(){return"update(): $merge expects a spec of type 'object'; got "+e(a)})),i(s&&"object"==typeof s,(function(){return"update(): $merge expects a target of type 'object'; got "+e(s)})),l(t).forEach((function(e){t[e]!==n[e]&&(n===o&&(n=h(o)),n[e]=t[e])})),n},$apply:function(t,n){var r;return i("function"==typeof(r=t),(function(){return"update(): expected spec of $apply to be a function; got "+e(r)+"."})),t(n)}},_=new f;function p(t,n,r){i(Array.isArray(t),(function(){return"update(): expected target of "+e(r)+" to be an array; got "+e(t)+"."})),v(n[r],r)}function v(t,n){i(Array.isArray(t),(function(){return"update(): expected spec of "+e(n)+" to be an array; got "+e(t)+". Did you forget to wrap your parameter in an array?"}))}function g(t){i(Array.isArray(t),(function(){return"update(): expected spec of $splice to be an array of arrays; got "+e(t)+". Did you forget to wrap your parameters in an array?"}))}function m(t,n){var r=u(t);i("Map"===r||"Set"===r,(function(){return"update(): "+e(n)+" expects a target of type Set or Map; got "+e(r)}))}n.isEquals=_.update.isEquals,n.extend=_.extend,n.default=_.update,n.default.default=t.exports=c(n.default,n)},63897:(t,n,e)=>{"use strict";function r(t){return t.charAt(0).toUpperCase()+t.slice(1)}function i(t,n,e){var i=t[n];if(i&&e.hasOwnProperty(n))for(var o=r(n),s=0;s0&&(r[s]=l)}else{var d=o(e,s,c,r,n);d&&(r[s]=d),r=i(n,s,r)}}return r}}e.r(n),e.d(n,{createPrefixer:()=>c,prefix:()=>V});var l=e(23645),h=e(28316),f=e(49589),d=e(15872),_=e(19449),p=["Webkit"],v=["ms"],g=["Webkit","ms"];const m={plugins:[l.Z,h.Z,f.Z,d.Z,_.Z],prefixMap:{appearance:["Webkit","Moz","ms"],textEmphasisPosition:g,textEmphasis:g,textEmphasisStyle:g,textEmphasisColor:g,boxDecorationBreak:g,maskImage:g,maskMode:g,maskRepeat:g,maskPosition:g,maskClip:g,maskOrigin:g,maskSize:g,maskComposite:g,mask:g,maskBorderSource:g,maskBorderMode:g,maskBorderSlice:g,maskBorderWidth:g,maskBorderOutset:g,maskBorderRepeat:g,maskBorder:g,maskType:g,userSelect:g,backdropFilter:p,clipPath:p,hyphens:g,textOrientation:p,tabSize:["Moz"],wrapFlow:v,wrapThrough:v,wrapMargin:v,scrollSnapType:v,scrollSnapPointsX:v,scrollSnapPointsY:v,scrollSnapDestination:v,scrollSnapCoordinate:v,textSizeAdjust:["ms","Webkit"],flowInto:v,flowFrom:v,breakBefore:v,breakAfter:v,breakInside:v,regionFragment:v,fontKerning:p,textDecorationStyle:p,textDecorationSkip:p,textDecorationLine:p,textDecorationColor:p}};var y=["-webkit-","-moz-",""],w={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0},b=e(81347),x=/cross-fade\(/g,k=["-webkit-",""],S=/filter\(/g,C=["-webkit-",""],$={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]},E={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},M={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines",flexGrow:"WebkitBoxFlex"},z=e(68052),T=["-webkit-","-moz-",""],j=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/gi,A=function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,n){var e=[],r=!0,i=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(e.push(s.value),!n||e.length!==n);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&a.return&&a.return()}finally{if(i)throw o}}return e}(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function q(t){return"number"==typeof t&&!isNaN(t)}function P(t){return"string"==typeof t&&t.includes("/")}var R=["center","end","start","stretch"],L={"inline-grid":["-ms-inline-grid","inline-grid"],grid:["-ms-grid","grid"]},O={alignSelf:function(t,n){R.indexOf(t)>-1&&(n.msGridRowAlign=t)},gridColumn:function(t,n){if(q(t))n.msGridColumn=t;else if(P(t)){var e=t.split("/"),r=A(e,2),i=r[0],o=r[1];O.gridColumnStart(+i,n);var s=o.split(/ ?span /),a=A(s,2),u=a[0],c=a[1];""===u?O.gridColumnEnd(+i+ +c,n):O.gridColumnEnd(+o,n)}else O.gridColumnStart(t,n)},gridColumnEnd:function(t,n){var e=n.msGridColumn;q(t)&&q(e)&&(n.msGridColumnSpan=t-e)},gridColumnStart:function(t,n){q(t)&&(n.msGridColumn=t)},gridRow:function(t,n){if(q(t))n.msGridRow=t;else if(P(t)){var e=t.split("/"),r=A(e,2),i=r[0],o=r[1];O.gridRowStart(+i,n);var s=o.split(/ ?span /),a=A(s,2),u=a[0],c=a[1];""===u?O.gridRowEnd(+i+ +c,n):O.gridRowEnd(+o,n)}else O.gridRowStart(t,n)},gridRowEnd:function(t,n){var e=n.msGridRow;q(t)&&q(e)&&(n.msGridRowSpan=t-e)},gridRowStart:function(t,n){q(t)&&(n.msGridRow=t)},gridTemplateColumns:function(t,n){n.msGridColumns=t},gridTemplateRows:function(t,n){n.msGridRows=t},justifySelf:function(t,n){R.indexOf(t)>-1&&(n.msGridColumnAlign=t)}},I=["-webkit-",""],D={marginBlockStart:["WebkitMarginBefore"],marginBlockEnd:["WebkitMarginAfter"],marginInlineStart:["WebkitMarginStart","MozMarginStart"],marginInlineEnd:["WebkitMarginEnd","MozMarginEnd"],paddingBlockStart:["WebkitPaddingBefore"],paddingBlockEnd:["WebkitPaddingAfter"],paddingInlineStart:["WebkitPaddingStart","MozPaddingStart"],paddingInlineEnd:["WebkitPaddingEnd","MozPaddingEnd"],borderBlockStart:["WebkitBorderBefore"],borderBlockStartColor:["WebkitBorderBeforeColor"],borderBlockStartStyle:["WebkitBorderBeforeStyle"],borderBlockStartWidth:["WebkitBorderBeforeWidth"],borderBlockEnd:["WebkitBorderAfter"],borderBlockEndColor:["WebkitBorderAfterColor"],borderBlockEndStyle:["WebkitBorderAfterStyle"],borderBlockEndWidth:["WebkitBorderAfterWidth"],borderInlineStart:["WebkitBorderStart","MozBorderStart"],borderInlineStartColor:["WebkitBorderStartColor","MozBorderStartColor"],borderInlineStartStyle:["WebkitBorderStartStyle","MozBorderStartStyle"],borderInlineStartWidth:["WebkitBorderStartWidth","MozBorderStartWidth"],borderInlineEnd:["WebkitBorderEnd","MozBorderEnd"],borderInlineEndColor:["WebkitBorderEndColor","MozBorderEndColor"],borderInlineEndStyle:["WebkitBorderEndStyle","MozBorderEndStyle"],borderInlineEndWidth:["WebkitBorderEndWidth","MozBorderEndWidth"]},N=["-webkit-","-moz-",""],B={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},F={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0},U=e(66111),H={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},G={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"},W=[function(t,n){if("string"==typeof n&&!(0,b.Z)(n)&&-1!==n.indexOf("cross-fade("))return k.map((function(t){return n.replace(x,t+"cross-fade(")}))},function(t,n){if("cursor"===t&&w.hasOwnProperty(n))return y.map((function(t){return t+n}))},function(t,n){if("string"==typeof n&&!(0,b.Z)(n)&&-1!==n.indexOf("filter("))return C.map((function(t){return n.replace(S,t+"filter(")}))},function(t,n,e){"flexDirection"===t&&"string"==typeof n&&(n.indexOf("column")>-1?e.WebkitBoxOrient="vertical":e.WebkitBoxOrient="horizontal",n.indexOf("reverse")>-1?e.WebkitBoxDirection="reverse":e.WebkitBoxDirection="normal"),M.hasOwnProperty(t)&&(e[M[t]]=E[n]||n)},function(t,n){if("string"==typeof n&&!(0,z.default)(n)&&j.test(n))return T.map((function(t){return n.replace(j,(function(n){return t+n}))}))},function(t,n,e){if("display"===t&&n in L)return L[n];t in O&&(0,O[t])(n,e)},function(t,n){if("string"==typeof n&&!(0,z.default)(n)&&n.indexOf("image-set(")>-1)return I.map((function(t){return n.replace(/image-set\(/g,t+"image-set(")}))},function(t,n,e){if(Object.prototype.hasOwnProperty.call(D,t))for(var r=D[t],i=0,o=r.length;i-1&&"order"!==u)for(var c=n[a],l=0,h=c.length;l-1)return s;var a=o.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(t){return!/-webkit-|-ms-/.test(t)})).join(",");return t.indexOf("Moz")>-1?a:(e["Webkit"+r(t)]=s,e["Moz"+r(t)]=a,o)}},function(t,n){if("display"===t&&$.hasOwnProperty(n))return $[n]}],V=c({prefixMap:m.prefixMap,plugins:W})},23645:(t,n,e)=>{"use strict";n.Z=function(t,n){if("string"==typeof n&&!(0,r.isPrefixedValue)(n)&&-1!==n.indexOf("cross-fade("))return o.map((function(t){return n.replace(i,t+"cross-fade(")}))};var r=e(68419),i=/cross-fade\(/g,o=["-webkit-",""]},28316:(t,n,e)=>{"use strict";n.Z=function(t,n){if("string"==typeof n&&!(0,i.default)(n)&&s.test(n))return o.map((function(t){return n.replace(s,(function(n){return t+n}))}))};var r,i=(r=e(68052))&&r.__esModule?r:{default:r},o=["-webkit-","-moz-",""],s=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/gi},49589:(t,n,e)=>{"use strict";n.Z=function(t,n){if("string"==typeof n&&!(0,i.default)(n)&&n.indexOf("image-set(")>-1)return o.map((function(t){return n.replace(/image-set\(/g,t+"image-set(")}))};var r,i=(r=e(68052))&&r.__esModule?r:{default:r},o=["-webkit-",""]},15872:(t,n)=>{"use strict";n.Z=function(t,n){if(r.hasOwnProperty(t)&&i.hasOwnProperty(n))return e.map((function(t){return t+n}))};var e=["-webkit-","-moz-",""],r={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},i={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0}},19449:(t,n,e)=>{"use strict";n.Z=function(t,n,e,s){if("string"==typeof n&&a.hasOwnProperty(t)){var c=function(t,n){if((0,i.default)(t))return t;for(var e=t.split(/,(?![^()]*(?:\([^()]*\))?\))/g),o=0,s=e.length;o-1&&"order"!==h)for(var f=n[l],d=0,_=f.length;d<_;++d)c.unshift(a.replace(h,u[f[d]]+h))}e[o]=c.join(",")}return e.join(",")}(n,s),l=c.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(t){return!/-moz-|-ms-/.test(t)})).join(",");if(t.indexOf("Webkit")>-1)return l;var h=c.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(t){return!/-webkit-|-ms-/.test(t)})).join(",");return t.indexOf("Moz")>-1?h:(e["Webkit"+(0,o.default)(t)]=l,e["Moz"+(0,o.default)(t)]=h,c)}};var r=s(e(66111)),i=s(e(68052)),o=s(e(80764));function s(t){return t&&t.__esModule?t:{default:t}}var a={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},u={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"}},80764:(t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}},46894:(t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.loop=n.conditional=n.parse=void 0,n.parse=function t(n,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;if(Array.isArray(e))e.forEach((function(e){return t(n,e,r,i)}));else if("function"==typeof e)e(n,r,i,t);else{var o=Object.keys(e)[0];Array.isArray(e[o])?(i[o]={},t(n,e[o],r,i[o])):i[o]=e[o](n,r,i,t)}return r},n.conditional=function(t,n){return function(e,r,i,o){n(e,r,i)&&o(e,t,r,i)}},n.loop=function(t,n){return function(e,r,i,o){for(var s=[],a=e.pos;n(e,r,i);){var u={};if(o(e,t,r,u),e.pos===a)break;a=e.pos,s.push(u)}return s}}},46086:(t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.readBits=n.readArray=n.readUnsigned=n.readString=n.peekBytes=n.readBytes=n.peekByte=n.readByte=n.buildStream=void 0,n.buildStream=function(t){return{data:t,pos:0}};n.readByte=function(){return function(t){return t.data[t.pos++]}},n.peekByte=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(n){return n.data[n.pos+t]}};var e=function(t){return function(n){return n.data.subarray(n.pos,n.pos+=t)}};n.readBytes=e,n.peekBytes=function(t){return function(n){return n.data.subarray(n.pos,n.pos+t)}},n.readString=function(t){return function(n){return Array.from(e(t)(n)).map((function(t){return String.fromCharCode(t)})).join("")}},n.readUnsigned=function(t){return function(n){var r=e(2)(n);return t?(r[1]<<8)+r[0]:(r[0]<<8)+r[1]}},n.readArray=function(t,n){return function(r,i,o){for(var s="function"==typeof n?n(r,i,o):n,a=e(t),u=new Array(s),c=0;c{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=e(46894),i=e(46086),o={blocks:function(t){for(var n=[],e=t.data.length,r=0,o=(0,i.readByte)()(t);0!==o&&o;o=(0,i.readByte)()(t)){if(t.pos+o>=e){var s=e-t.pos;n.push((0,i.readBytes)(s)(t)),r+=s;break}n.push((0,i.readBytes)(o)(t)),r+=o}for(var a=new Uint8Array(r),u=0,c=0;c{"use strict";function r(t){return Array.prototype.slice.call(arguments,1).forEach((function(n){n&&Object.keys(n).forEach((function(e){t[e]=n[e]}))})),t}function i(t){return Object.prototype.toString.call(t)}function o(t){return"[object Function]"===i(t)}function s(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var a={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},u={"http:":{validate:function(t,n,e){var r=t.slice(n);return e.re.http||(e.re.http=new RegExp("^\\/\\/"+e.re.src_auth+e.re.src_host_port_strict+e.re.src_path,"i")),e.re.http.test(r)?r.match(e.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,n,e){var r=t.slice(n);return e.re.no_http||(e.re.no_http=new RegExp("^"+e.re.src_auth+"(?:localhost|(?:(?:"+e.re.src_domain+")\\.)+"+e.re.src_domain_root+")"+e.re.src_port+e.re.src_host_terminator+e.re.src_path,"i")),e.re.no_http.test(r)?n>=3&&":"===t[n-3]||n>=3&&"/"===t[n-3]?0:r.match(e.re.no_http)[0].length:0}},"mailto:":{validate:function(t,n,e){var r=t.slice(n);return e.re.mailto||(e.re.mailto=new RegExp("^"+e.re.src_email_name+"@"+e.re.src_host_strict,"i")),e.re.mailto.test(r)?r.match(e.re.mailto)[0].length:0}}},c="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",l="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function h(t){var n=t.re=e(91043)(t.__opts__),r=t.__tlds__.slice();function a(t){return t.replace("%TLDS%",n.src_tlds)}t.onCompile(),t.__tlds_replaced__||r.push(c),r.push(n.src_xn),n.src_tlds=r.join("|"),n.email_fuzzy=RegExp(a(n.tpl_email_fuzzy),"i"),n.link_fuzzy=RegExp(a(n.tpl_link_fuzzy),"i"),n.link_no_ip_fuzzy=RegExp(a(n.tpl_link_no_ip_fuzzy),"i"),n.host_fuzzy_test=RegExp(a(n.tpl_host_fuzzy_test),"i");var u=[];function l(t,n){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+n)}t.__compiled__={},Object.keys(t.__schemas__).forEach((function(n){var e=t.__schemas__[n];if(null!==e){var r={validate:null,link:null};if(t.__compiled__[n]=r,"[object Object]"===i(e))return"[object RegExp]"!==i(e.validate)?o(e.validate)?r.validate=e.validate:l(n,e):r.validate=function(t){return function(n,e){var r=n.slice(e);return t.test(r)?r.match(t)[0].length:0}}(e.validate),void(o(e.normalize)?r.normalize=e.normalize:e.normalize?l(n,e):r.normalize=function(t,n){n.normalize(t)});!function(t){return"[object String]"===i(t)}(e)?l(n,e):u.push(n)}})),u.forEach((function(n){t.__compiled__[t.__schemas__[n]]&&(t.__compiled__[n].validate=t.__compiled__[t.__schemas__[n]].validate,t.__compiled__[n].normalize=t.__compiled__[t.__schemas__[n]].normalize)})),t.__compiled__[""]={validate:null,normalize:function(t,n){n.normalize(t)}};var h=Object.keys(t.__compiled__).filter((function(n){return n.length>0&&t.__compiled__[n]})).map(s).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+n.src_ZPCc+"))("+h+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+n.src_ZPCc+"))("+h+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function f(t,n){var e=t.__index__,r=t.__last_index__,i=t.__text_cache__.slice(e,r);this.schema=t.__schema__.toLowerCase(),this.index=e+n,this.lastIndex=r+n,this.raw=i,this.text=i,this.url=i}function d(t,n){var e=new f(t,n);return t.__compiled__[e.schema].normalize(e,t),e}function _(t,n){if(!(this instanceof _))return new _(t,n);var e;n||(e=t,Object.keys(e||{}).reduce((function(t,n){return t||a.hasOwnProperty(n)}),!1)&&(n=t,t={})),this.__opts__=r({},a,n),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},u,t),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},h(this)}_.prototype.add=function(t,n){return this.__schemas__[t]=n,h(this),this},_.prototype.set=function(t){return this.__opts__=r(this.__opts__,t),this},_.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var n,e,r,i,o,s,a,u;if(this.re.schema_test.test(t))for((a=this.re.schema_search).lastIndex=0;null!==(n=a.exec(t));)if(i=this.testSchemaAt(t,n[2],a.lastIndex)){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=t.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u=0&&null!==(r=t.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=s)),this.__index__>=0},_.prototype.pretest=function(t){return this.re.pretest.test(t)},_.prototype.testSchemaAt=function(t,n,e){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,e,this):0},_.prototype.match=function(t){var n=0,e=[];this.__index__>=0&&this.__text_cache__===t&&(e.push(d(this,n)),n=this.__last_index__);for(var r=n?t.slice(n):t;this.test(r);)e.push(d(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return e.length?e:null},_.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter((function(t,n,e){return t!==e[n-1]})).reverse(),h(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,h(this),this)},_.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},_.prototype.onCompile=function(){},t.exports=_},91043:(t,n,e)=>{"use strict";t.exports=function(t){var n={};n.src_Any=e(72577).source,n.src_Cc=e(870).source,n.src_Z=e(62118).source,n.src_P=e(57104).source,n.src_ZPCc=[n.src_Z,n.src_P,n.src_Cc].join("|"),n.src_ZCc=[n.src_Z,n.src_Cc].join("|");return n.src_pseudo_letter="(?:(?![><|]|"+n.src_ZPCc+")"+n.src_Any+")",n.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",n.src_auth="(?:(?:(?!"+n.src_ZCc+"|[@/\\[\\]()]).)+@)?",n.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",n.src_host_terminator="(?=$|[><|]|"+n.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+n.src_ZPCc+"))",n.src_path="(?:[/?#](?:(?!"+n.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+n.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+n.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+n.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+n.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+n.src_ZCc+"|[']).)+\\'|\\'(?="+n.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+n.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+n.src_ZCc+").|;(?!"+n.src_ZCc+").|\\!+(?!"+n.src_ZCc+"|[!]).|\\?(?!"+n.src_ZCc+"|[?]).)+|\\/)?",n.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',n.src_xn="xn--[a-z0-9\\-]{1,59}",n.src_domain_root="(?:"+n.src_xn+"|"+n.src_pseudo_letter+"{1,63})",n.src_domain="(?:"+n.src_xn+"|(?:"+n.src_pseudo_letter+")|(?:"+n.src_pseudo_letter+"(?:-|"+n.src_pseudo_letter+"){0,61}"+n.src_pseudo_letter+"))",n.src_host="(?:(?:(?:(?:"+n.src_domain+")\\.)*"+n.src_domain+"))",n.tpl_host_fuzzy="(?:"+n.src_ip4+"|(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%)))",n.tpl_host_no_ip_fuzzy="(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%))",n.src_host_strict=n.src_host+n.src_host_terminator,n.tpl_host_fuzzy_strict=n.tpl_host_fuzzy+n.src_host_terminator,n.src_host_port_strict=n.src_host+n.src_port+n.src_host_terminator,n.tpl_host_port_fuzzy_strict=n.tpl_host_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_port_no_ip_fuzzy_strict=n.tpl_host_no_ip_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+n.src_ZPCc+"|>|$))",n.tpl_email_fuzzy='(^|[><|]|"|\\(|'+n.src_ZCc+")("+n.src_email_name+"@"+n.tpl_host_fuzzy_strict+")",n.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_fuzzy_strict+n.src_path+")",n.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_no_ip_fuzzy_strict+n.src_path+")",n}},9447:(t,n,e)=>{var r,i="__lodash_hash_undefined__",o=1/0,s="[object Function]",a="[object GeneratorFunction]",u="[object Symbol]",c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/,h=/^\./,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,_=/^\[object .+?Constructor\]$/,p="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g,v="object"==typeof self&&self&&self.Object===Object&&self,g=p||v||Function("return this")(),m=Array.prototype,y=Function.prototype,w=Object.prototype,b=g["__core-js_shared__"],x=(r=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",k=y.toString,S=w.hasOwnProperty,C=w.toString,$=RegExp("^"+k.call(S).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),E=g.Symbol,M=m.splice,z=I(g,"Map"),T=I(Object,"create"),j=E?E.prototype:void 0,A=j?j.toString:void 0;function q(t){var n=-1,e=t?t.length:0;for(this.clear();++n-1},P.prototype.set=function(t,n){var e=this.__data__,r=L(e,t);return r<0?e.push([t,n]):e[r][1]=n,this},R.prototype.clear=function(){this.__data__={hash:new q,map:new(z||P),string:new q}},R.prototype.delete=function(t){return O(this,t).delete(t)},R.prototype.get=function(t){return O(this,t).get(t)},R.prototype.has=function(t){return O(this,t).has(t)},R.prototype.set=function(t,n){return O(this,t).set(t,n),this};var D=B((function(t){var n;t=null==(n=t)?"":function(t){if("string"==typeof t)return t;if(H(t))return A?A.call(t):"";var n=t+"";return"0"==n&&1/t==-o?"-0":n}(n);var e=[];return h.test(t)&&e.push(""),t.replace(f,(function(t,n,r,i){e.push(r?i.replace(d,"$1"):n||t)})),e}));function N(t){if("string"==typeof t||H(t))return t;var n=t+"";return"0"==n&&1/t==-o?"-0":n}function B(t,n){if("function"!=typeof t||n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return e.cache=o.set(i,s),s};return e.cache=new(B.Cache||R),e}B.Cache=R;var F=Array.isArray;function U(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function H(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&C.call(t)==u}t.exports=function(t,n,e){var r=null==t?void 0:function(t,n){var e;n=function(t,n){if(F(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!H(t))||l.test(t)||!c.test(t)||null!=n&&t in Object(n)}(n,t)?[n]:F(e=n)?e:D(e);for(var r=0,i=n.length;null!=t&&r{t=e.nmd(t);var r="__lodash_hash_undefined__",i=1,o=2,s=9007199254740991,a="[object Arguments]",u="[object Array]",c="[object AsyncFunction]",l="[object Boolean]",h="[object Date]",f="[object Error]",d="[object Function]",_="[object GeneratorFunction]",p="[object Map]",v="[object Number]",g="[object Null]",m="[object Object]",y="[object Promise]",w="[object Proxy]",b="[object RegExp]",x="[object Set]",k="[object String]",S="[object Undefined]",C="[object WeakMap]",$="[object ArrayBuffer]",E="[object DataView]",M=/^\[object .+?Constructor\]$/,z=/^(?:0|[1-9]\d*)$/,T={};T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T[a]=T[u]=T[$]=T[l]=T[E]=T[h]=T[f]=T[d]=T[p]=T[v]=T[m]=T[b]=T[x]=T[k]=T[C]=!1;var j="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g,A="object"==typeof self&&self&&self.Object===Object&&self,q=j||A||Function("return this")(),P=n&&!n.nodeType&&n,R=P&&t&&!t.nodeType&&t,L=R&&R.exports===P,O=L&&j.process,I=function(){try{return O&&O.binding&&O.binding("util")}catch(t){}}(),D=I&&I.isTypedArray;function N(t,n){for(var e=-1,r=null==t?0:t.length;++ec))return!1;var h=a.get(t);if(h&&a.get(n))return h==n;var f=-1,d=!0,_=e&o?new $t:void 0;for(a.set(t,n),a.set(n,t);++f-1},St.prototype.set=function(t,n){var e=this.__data__,r=Mt(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this},Ct.prototype.clear=function(){this.size=0,this.__data__={hash:new kt,map:new(ht||St),string:new kt}},Ct.prototype.delete=function(t){var n=Pt(this,t).delete(t);return this.size-=n?1:0,n},Ct.prototype.get=function(t){return Pt(this,t).get(t)},Ct.prototype.has=function(t){return Pt(this,t).has(t)},Ct.prototype.set=function(t,n){var e=Pt(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this},$t.prototype.add=$t.prototype.push=function(t){return this.__data__.set(t,r),this},$t.prototype.has=function(t){return this.__data__.has(t)},Et.prototype.clear=function(){this.__data__=new St,this.size=0},Et.prototype.delete=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e},Et.prototype.get=function(t){return this.__data__.get(t)},Et.prototype.has=function(t){return this.__data__.has(t)},Et.prototype.set=function(t,n){var e=this.__data__;if(e instanceof St){var r=e.__data__;if(!ht||r.length<199)return r.push([t,n]),this.size=++e.size,this;e=this.__data__=new Ct(r)}return e.set(t,n),this.size=e.size,this};var Lt=at?function(t){return null==t?[]:(t=Object(t),function(n,e){for(var r=-1,i=null==n?0:n.length,o=0,s=[];++r-1&&t%1==0&&t-1&&t%1==0&&t<=s}function Wt(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function Vt(t){return null!=t&&"object"==typeof t}var Zt=D?function(t){return function(n){return t(n)}}(D):function(t){return Vt(t)&&Gt(t.length)&&!!T[zt(t)]};function Xt(t){return null!=(n=t)&&Gt(n.length)&&!Ht(n)?function(t,n){var e=Ft(t),r=!e&&Bt(t),i=!e&&!r&&Ut(t),o=!e&&!r&&!i&&Zt(t),s=e||r||i||o,a=s?function(t,n){for(var e=-1,r=Array(t);++e{var r=e(72221)(e(9649),"DataView");t.exports=r},21102:(t,n,e)=>{var r=e(1637),i=e(16380),o=e(17408),s=e(53997),a=e(34642);function u(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n{var r=e(76073),i=e(23390),o=e(42461),s=e(18190),a=e(95670);function u(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n{var r=e(72221)(e(9649),"Map");t.exports=r},52290:(t,n,e)=>{var r=e(6881),i=e(25089),o=e(67548),s=e(72151),a=e(51476);function u(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n{var r=e(72221)(e(9649),"Promise");t.exports=r},89018:(t,n,e)=>{var r=e(72221)(e(9649),"Set");t.exports=r},88212:(t,n,e)=>{var r=e(52290),i=e(94636),o=e(49810);function s(t){var n=-1,e=null==t?0:t.length;for(this.__data__=new r;++n{var r=e(36491),i=e(38023),o=e(39611),s=e(6138),a=e(96961),u=e(32631);function c(t){var n=this.__data__=new r(t);this.size=n.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=s,c.prototype.has=a,c.prototype.set=u,t.exports=c},20997:(t,n,e)=>{var r=e(9649).Symbol;t.exports=r},37830:(t,n,e)=>{var r=e(9649).Uint8Array;t.exports=r},43895:(t,n,e)=>{var r=e(72221)(e(9649),"WeakMap");t.exports=r},4175:t=>{t.exports=function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}},65757:t=>{t.exports=function(t,n,e,r){for(var i=-1,o=null==t?0:t.length;++i{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length;++e{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,i=0,o=[];++e{var r=e(73728);t.exports=function(t,n){return!(null==t||!t.length)&&r(t,n,0)>-1}},42605:t=>{t.exports=function(t,n,e){for(var r=-1,i=null==t?0:t.length;++r{var r=e(4830),i=e(27987),o=e(69546),s=e(80758),a=e(95824),u=e(65739),c=Object.prototype.hasOwnProperty;t.exports=function(t,n){var e=o(t),l=!e&&i(t),h=!e&&!l&&s(t),f=!e&&!l&&!h&&u(t),d=e||l||h||f,_=d?r(t.length,String):[],p=_.length;for(var v in t)!n&&!c.call(t,v)||d&&("length"==v||h&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||a(v,p))||_.push(v);return _}},81078:t=>{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,i=Array(r);++e{t.exports=function(t,n){for(var e=-1,r=n.length,i=t.length;++e{t.exports=function(t,n,e,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(e=t[++i]);++i{t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length;++e{var r=e(74430)("length");t.exports=r},68511:(t,n,e)=>{var r=e(32618),i=e(17689);t.exports=function(t,n,e){(void 0!==e&&!i(t[n],e)||void 0===e&&!(n in t))&&r(t,n,e)}},88902:(t,n,e)=>{var r=e(32618),i=e(17689),o=Object.prototype.hasOwnProperty;t.exports=function(t,n,e){var s=t[n];o.call(t,n)&&i(s,e)&&(void 0!==e||n in t)||r(t,n,e)}},28627:(t,n,e)=>{var r=e(17689);t.exports=function(t,n){for(var e=t.length;e--;)if(r(t[e][0],n))return e;return-1}},78959:(t,n,e)=>{var r=e(60836);t.exports=function(t,n,e,i){return r(t,(function(t,r,o){n(i,t,e(t),o)})),i}},36136:(t,n,e)=>{var r=e(20322),i=e(25961);t.exports=function(t,n){return t&&r(n,i(n),t)}},11461:(t,n,e)=>{var r=e(20322),i=e(14399);t.exports=function(t,n){return t&&r(n,i(n),t)}},32618:(t,n,e)=>{var r=e(80026);t.exports=function(t,n,e){"__proto__"==n&&r?r(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}},64248:t=>{t.exports=function(t,n,e){return t==t&&(void 0!==e&&(t=t<=e?t:e),void 0!==n&&(t=t>=n?t:n)),t}},8876:(t,n,e)=>{var r=e(47649),i=e(78769),o=e(88902),s=e(36136),a=e(11461),u=e(84751),c=e(38571),l=e(98156),h=e(60164),f=e(28616),d=e(10478),_=e(11970),p=e(49200),v=e(97045),g=e(1685),m=e(69546),y=e(80758),w=e(1880),b=e(12289),x=e(65603),k=e(25961),S=e(14399),C="[object Arguments]",$="[object Function]",E="[object Object]",M={};M[C]=M["[object Array]"]=M["[object ArrayBuffer]"]=M["[object DataView]"]=M["[object Boolean]"]=M["[object Date]"]=M["[object Float32Array]"]=M["[object Float64Array]"]=M["[object Int8Array]"]=M["[object Int16Array]"]=M["[object Int32Array]"]=M["[object Map]"]=M["[object Number]"]=M[E]=M["[object RegExp]"]=M["[object Set]"]=M["[object String]"]=M["[object Symbol]"]=M["[object Uint8Array]"]=M["[object Uint8ClampedArray]"]=M["[object Uint16Array]"]=M["[object Uint32Array]"]=!0,M["[object Error]"]=M[$]=M["[object WeakMap]"]=!1,t.exports=function t(n,e,z,T,j,A){var q,P=1&e,R=2&e,L=4&e;if(z&&(q=j?z(n,T,j,A):z(n)),void 0!==q)return q;if(!b(n))return n;var O=m(n);if(O){if(q=p(n),!P)return c(n,q)}else{var I=_(n),D=I==$||"[object GeneratorFunction]"==I;if(y(n))return u(n,P);if(I==E||I==C||D&&!j){if(q=R||D?{}:g(n),!P)return R?h(n,a(q,n)):l(n,s(q,n))}else{if(!M[I])return j?n:{};q=v(n,I,P)}}A||(A=new r);var N=A.get(n);if(N)return N;A.set(n,q),x(n)?n.forEach((function(r){q.add(t(r,e,z,r,n,A))})):w(n)&&n.forEach((function(r,i){q.set(i,t(r,e,z,i,n,A))}));var B=O?void 0:(L?R?d:f:R?S:k)(n);return i(B||n,(function(r,i){B&&(r=n[i=r]),o(q,i,t(r,e,z,i,n,A))})),q}},29395:(t,n,e)=>{var r=e(12289),i=Object.create,o=function(){function t(){}return function(n){if(!r(n))return{};if(i)return i(n);t.prototype=n;var e=new t;return t.prototype=void 0,e}}();t.exports=o},50404:t=>{t.exports=function(t,n,e){if("function"!=typeof t)throw new TypeError("Expected a function");return setTimeout((function(){t.apply(void 0,e)}),n)}},60836:(t,n,e)=>{var r=e(17623),i=e(68804)(r);t.exports=i},35817:(t,n,e)=>{var r=e(42008);t.exports=function(t,n,e){for(var i=-1,o=t.length;++i{var r=e(60836);t.exports=function(t,n){var e=[];return r(t,(function(t,r,i){n(t,r,i)&&e.push(t)})),e}},71523:t=>{t.exports=function(t,n,e,r){for(var i=t.length,o=e+(r?1:-1);r?o--:++o{var r=e(35276),i=e(54788);t.exports=function t(n,e,o,s,a){var u=-1,c=n.length;for(o||(o=i),a||(a=[]);++u0&&o(l)?e>1?t(l,e-1,o,s,a):r(a,l):s||(a[a.length]=l)}return a}},11453:(t,n,e)=>{var r=e(55517)();t.exports=r},17623:(t,n,e)=>{var r=e(11453),i=e(25961);t.exports=function(t,n){return t&&r(t,n,i)}},28829:(t,n,e)=>{var r=e(6927),i=e(25618);t.exports=function(t,n){for(var e=0,o=(n=r(n,t)).length;null!=t&&e{var r=e(35276),i=e(69546);t.exports=function(t,n,e){var o=n(t);return i(t)?o:r(o,e(t))}},28247:(t,n,e)=>{var r=e(20997),i=e(37386),o=e(4591),s=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?i(t):o(t)}},78713:t=>{t.exports=function(t,n){return t>n}},63:t=>{var n=Object.prototype.hasOwnProperty;t.exports=function(t,e){return null!=t&&n.call(t,e)}},13233:t=>{t.exports=function(t,n){return null!=t&&n in Object(t)}},73728:(t,n,e)=>{var r=e(71523),i=e(47884),o=e(43847);t.exports=function(t,n,e){return n==n?o(t,n,e):r(t,i,e)}},70621:(t,n,e)=>{var r=e(28247),i=e(17734);t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},89107:(t,n,e)=>{var r=e(49739),i=e(17734);t.exports=function t(n,e,o,s,a){return n===e||(null==n||null==e||!i(n)&&!i(e)?n!=n&&e!=e:r(n,e,o,s,t,a))}},49739:(t,n,e)=>{var r=e(47649),i=e(79327),o=e(21550),s=e(98761),a=e(11970),u=e(69546),c=e(80758),l=e(65739),h="[object Arguments]",f="[object Array]",d="[object Object]",_=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,p,v,g){var m=u(t),y=u(n),w=m?f:a(t),b=y?f:a(n),x=(w=w==h?d:w)==d,k=(b=b==h?d:b)==d,S=w==b;if(S&&c(t)){if(!c(n))return!1;m=!0,x=!1}if(S&&!x)return g||(g=new r),m||l(t)?i(t,n,e,p,v,g):o(t,n,w,e,p,v,g);if(!(1&e)){var C=x&&_.call(t,"__wrapped__"),$=k&&_.call(n,"__wrapped__");if(C||$){var E=C?t.value():t,M=$?n.value():n;return g||(g=new r),v(E,M,e,p,g)}}return!!S&&(g||(g=new r),s(t,n,e,p,v,g))}},4605:(t,n,e)=>{var r=e(11970),i=e(17734);t.exports=function(t){return i(t)&&"[object Map]"==r(t)}},24283:(t,n,e)=>{var r=e(47649),i=e(89107);t.exports=function(t,n,e,o){var s=e.length,a=s,u=!o;if(null==t)return!a;for(t=Object(t);s--;){var c=e[s];if(u&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++s{t.exports=function(t){return t!=t}},50291:(t,n,e)=>{var r=e(93331),i=e(37114),o=e(12289),s=e(77606),a=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,h=c.hasOwnProperty,f=RegExp("^"+l.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?f:a).test(s(t))}},45608:(t,n,e)=>{var r=e(11970),i=e(17734);t.exports=function(t){return i(t)&&"[object Set]"==r(t)}},89278:(t,n,e)=>{var r=e(28247),i=e(80459),o=e(17734),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!s[r(t)]}},55615:(t,n,e)=>{var r=e(68835),i=e(95010),o=e(19568),s=e(69546),a=e(96730);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?s(t)?i(t[0],t[1]):r(t):a(t)}},59011:(t,n,e)=>{var r=e(46358),i=e(95513),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var n=[];for(var e in Object(t))o.call(t,e)&&"constructor"!=e&&n.push(e);return n}},56827:(t,n,e)=>{var r=e(12289),i=e(46358),o=e(34040),s=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var n=i(t),e=[];for(var a in t)("constructor"!=a||!n&&s.call(t,a))&&e.push(a);return e}},11856:t=>{t.exports=function(t,n){return t{var r=e(60836),i=e(46387);t.exports=function(t,n){var e=-1,o=i(t)?Array(t.length):[];return r(t,(function(t,r,i){o[++e]=n(t,r,i)})),o}},68835:(t,n,e)=>{var r=e(24283),i=e(96256),o=e(85447);t.exports=function(t){var n=i(t);return 1==n.length&&n[0][2]?o(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},95010:(t,n,e)=>{var r=e(89107),i=e(9229),o=e(86717),s=e(65677),a=e(34834),u=e(85447),c=e(25618);t.exports=function(t,n){return s(t)&&a(n)?u(c(t),n):function(e){var s=i(e,t);return void 0===s&&s===n?o(e,t):r(n,s,3)}}},663:(t,n,e)=>{var r=e(47649),i=e(68511),o=e(11453),s=e(97480),a=e(12289),u=e(14399),c=e(50434);t.exports=function t(n,e,l,h,f){n!==e&&o(e,(function(o,u){if(f||(f=new r),a(o))s(n,e,u,l,t,h,f);else{var d=h?h(c(n,u),o,u+"",n,e,f):void 0;void 0===d&&(d=o),i(n,u,d)}}),u)}},97480:(t,n,e)=>{var r=e(68511),i=e(84751),o=e(49687),s=e(38571),a=e(1685),u=e(27987),c=e(69546),l=e(70071),h=e(80758),f=e(93331),d=e(12289),_=e(65128),p=e(65739),v=e(50434),g=e(17602);t.exports=function(t,n,e,m,y,w,b){var x=v(t,e),k=v(n,e),S=b.get(k);if(S)r(t,e,S);else{var C=w?w(x,k,e+"",t,n,b):void 0,$=void 0===C;if($){var E=c(k),M=!E&&h(k),z=!E&&!M&&p(k);C=k,E||M||z?c(x)?C=x:l(x)?C=s(x):M?($=!1,C=i(k,!0)):z?($=!1,C=o(k,!0)):C=[]:_(k)||u(k)?(C=x,u(x)?C=g(x):d(x)&&!f(x)||(C=a(k))):$=!1}$&&(b.set(k,C),y(C,k,m,w,b),b.delete(k)),r(t,e,C)}}},14933:(t,n,e)=>{var r=e(81078),i=e(28829),o=e(55615),s=e(91996),a=e(97902),u=e(99199),c=e(17568),l=e(19568),h=e(69546);t.exports=function(t,n,e){n=n.length?r(n,(function(t){return h(t)?function(n){return i(n,1===t.length?t[0]:t)}:t})):[l];var f=-1;n=r(n,u(o));var d=s(t,(function(t,e,i){return{criteria:r(n,(function(n){return n(t)})),index:++f,value:t}}));return a(d,(function(t,n){return c(t,n,e)}))}},72141:(t,n,e)=>{var r=e(33092),i=e(86717);t.exports=function(t,n){return r(t,n,(function(n,e){return i(t,e)}))}},33092:(t,n,e)=>{var r=e(28829),i=e(17338),o=e(6927);t.exports=function(t,n,e){for(var s=-1,a=n.length,u={};++s{t.exports=function(t){return function(n){return null==n?void 0:n[t]}}},12257:(t,n,e)=>{var r=e(28829);t.exports=function(t){return function(n){return r(n,t)}}},12095:t=>{var n=Math.ceil,e=Math.max;t.exports=function(t,r,i,o){for(var s=-1,a=e(n((r-t)/(i||1)),0),u=Array(a);a--;)u[o?a:++s]=t,t+=i;return u}},29501:t=>{t.exports=function(t,n,e,r,i){return i(t,(function(t,i,o){e=r?(r=!1,t):n(e,t,i,o)})),e}},6359:(t,n,e)=>{var r=e(19568),i=e(28296),o=e(6660);t.exports=function(t,n){return o(i(t,n,r),t+"")}},17338:(t,n,e)=>{var r=e(88902),i=e(6927),o=e(95824),s=e(12289),a=e(25618);t.exports=function(t,n,e,u){if(!s(t))return t;for(var c=-1,l=(n=i(n,t)).length,h=l-1,f=t;null!=f&&++c{var r=e(71914),i=e(80026),o=e(19568),s=i?function(t,n){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(n),writable:!0})}:o;t.exports=s},21795:t=>{t.exports=function(t,n,e){var r=-1,i=t.length;n<0&&(n=-n>i?0:i+n),(e=e>i?i:e)<0&&(e+=i),i=n>e?0:e-n>>>0,n>>>=0;for(var o=Array(i);++r{t.exports=function(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}},4830:t=>{t.exports=function(t,n){for(var e=-1,r=Array(t);++e{var r=e(20997),i=e(81078),o=e(69546),s=e(42008),a=r?r.prototype:void 0,u=a?a.toString:void 0;t.exports=function t(n){if("string"==typeof n)return n;if(o(n))return i(n,t)+"";if(s(n))return u?u.call(n):"";var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},56532:(t,n,e)=>{var r=e(97500),i=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(i,""):t}},99199:t=>{t.exports=function(t){return function(n){return t(n)}}},92052:(t,n,e)=>{var r=e(88212),i=e(94137),o=e(42605),s=e(48138),a=e(28348),u=e(56783);t.exports=function(t,n,e){var c=-1,l=i,h=t.length,f=!0,d=[],_=d;if(e)f=!1,l=o;else if(h>=200){var p=n?null:a(t);if(p)return u(p);f=!1,l=s,_=new r}else _=n?[]:d;t:for(;++c{var r=e(81078);t.exports=function(t,n){return r(n,(function(n){return t[n]}))}},1536:t=>{t.exports=function(t,n,e){for(var r=-1,i=t.length,o=n.length,s={};++r{t.exports=function(t,n){return t.has(n)}},43519:(t,n,e)=>{var r=e(19568);t.exports=function(t){return"function"==typeof t?t:r}},6927:(t,n,e)=>{var r=e(69546),i=e(65677),o=e(91503),s=e(39244);t.exports=function(t,n){return r(t)?t:i(t,n)?[t]:o(s(t))}},26477:(t,n,e)=>{var r=e(37830);t.exports=function(t){var n=new t.constructor(t.byteLength);return new r(n).set(new r(t)),n}},84751:(t,n,e)=>{t=e.nmd(t);var r=e(9649),i=n&&!n.nodeType&&n,o=i&&t&&!t.nodeType&&t,s=o&&o.exports===i?r.Buffer:void 0,a=s?s.allocUnsafe:void 0;t.exports=function(t,n){if(n)return t.slice();var e=t.length,r=a?a(e):new t.constructor(e);return t.copy(r),r}},52502:(t,n,e)=>{var r=e(26477);t.exports=function(t,n){var e=n?r(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}},4759:t=>{var n=/\w*$/;t.exports=function(t){var e=new t.constructor(t.source,n.exec(t));return e.lastIndex=t.lastIndex,e}},16431:(t,n,e)=>{var r=e(20997),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;t.exports=function(t){return o?Object(o.call(t)):{}}},49687:(t,n,e)=>{var r=e(26477);t.exports=function(t,n){var e=n?r(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}},1845:(t,n,e)=>{var r=e(42008);t.exports=function(t,n){if(t!==n){var e=void 0!==t,i=null===t,o=t==t,s=r(t),a=void 0!==n,u=null===n,c=n==n,l=r(n);if(!u&&!l&&!s&&t>n||s&&a&&c&&!u&&!l||i&&a&&c||!e&&c||!o)return 1;if(!i&&!s&&!l&&t{var r=e(1845);t.exports=function(t,n,e){for(var i=-1,o=t.criteria,s=n.criteria,a=o.length,u=e.length;++i=u?c:c*("desc"==e[i]?-1:1)}return t.index-n.index}},38571:t=>{t.exports=function(t,n){var e=-1,r=t.length;for(n||(n=Array(r));++e{var r=e(88902),i=e(32618);t.exports=function(t,n,e,o){var s=!e;e||(e={});for(var a=-1,u=n.length;++a{var r=e(20322),i=e(4918);t.exports=function(t,n){return r(t,i(t),n)}},60164:(t,n,e)=>{var r=e(20322),i=e(2659);t.exports=function(t,n){return r(t,i(t),n)}},48976:(t,n,e)=>{var r=e(9649)["__core-js_shared__"];t.exports=r},97147:(t,n,e)=>{var r=e(65757),i=e(78959),o=e(55615),s=e(69546);t.exports=function(t,n){return function(e,a){var u=s(e)?r:i,c=n?n():{};return u(e,t,o(a,2),c)}}},96921:(t,n,e)=>{var r=e(6359),i=e(51599);t.exports=function(t){return r((function(n,e){var r=-1,o=e.length,s=o>1?e[o-1]:void 0,a=o>2?e[2]:void 0;for(s=t.length>3&&"function"==typeof s?(o--,s):void 0,a&&i(e[0],e[1],a)&&(s=o<3?void 0:s,o=1),n=Object(n);++r{var r=e(46387);t.exports=function(t,n){return function(e,i){if(null==e)return e;if(!r(e))return t(e,i);for(var o=e.length,s=n?o:-1,a=Object(e);(n?s--:++s{t.exports=function(t){return function(n,e,r){for(var i=-1,o=Object(n),s=r(n),a=s.length;a--;){var u=s[t?a:++i];if(!1===e(o[u],u,o))break}return n}}},8627:(t,n,e)=>{var r=e(55615),i=e(46387),o=e(25961);t.exports=function(t){return function(n,e,s){var a=Object(n);if(!i(n)){var u=r(e,3);n=o(n),e=function(t){return u(a[t],t,a)}}var c=t(n,e,s);return c>-1?a[u?n[c]:c]:void 0}}},13694:(t,n,e)=>{var r=e(12095),i=e(51599),o=e(30510);t.exports=function(t){return function(n,e,s){return s&&"number"!=typeof s&&i(n,e,s)&&(e=s=void 0),n=o(n),void 0===e?(e=n,n=0):e=o(e),s=void 0===s?n{var r=e(89018),i=e(5152),o=e(56783),s=r&&1/o(new r([,-0]))[1]==1/0?function(t){return new r(t)}:i;t.exports=s},80026:(t,n,e)=>{var r=e(72221),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},79327:(t,n,e)=>{var r=e(88212),i=e(22289),o=e(48138);t.exports=function(t,n,e,s,a,u){var c=1&e,l=t.length,h=n.length;if(l!=h&&!(c&&h>l))return!1;var f=u.get(t),d=u.get(n);if(f&&d)return f==n&&d==t;var _=-1,p=!0,v=2&e?new r:void 0;for(u.set(t,n),u.set(n,t);++_{var r=e(20997),i=e(37830),o=e(17689),s=e(79327),a=e(46498),u=e(56783),c=r?r.prototype:void 0,l=c?c.valueOf:void 0;t.exports=function(t,n,e,r,c,h,f){switch(e){case"[object DataView]":if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=n.byteLength||!h(new i(t),new i(n)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+n);case"[object Error]":return t.name==n.name&&t.message==n.message;case"[object RegExp]":case"[object String]":return t==n+"";case"[object Map]":var d=a;case"[object Set]":var _=1&r;if(d||(d=u),t.size!=n.size&&!_)return!1;var p=f.get(t);if(p)return p==n;r|=2,f.set(t,n);var v=s(d(t),d(n),r,c,h,f);return f.delete(t),v;case"[object Symbol]":if(l)return l.call(t)==l.call(n)}return!1}},98761:(t,n,e)=>{var r=e(28616),i=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,o,s,a){var u=1&e,c=r(t),l=c.length;if(l!=r(n).length&&!u)return!1;for(var h=l;h--;){var f=c[h];if(!(u?f in n:i.call(n,f)))return!1}var d=a.get(t),_=a.get(n);if(d&&_)return d==n&&_==t;var p=!0;a.set(t,n),a.set(n,t);for(var v=u;++h{var r=e(60567),i=e(28296),o=e(6660);t.exports=function(t){return o(i(t,void 0,r),t+"")}},46954:(t,n,e)=>{var r="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g;t.exports=r},28616:(t,n,e)=>{var r=e(12506),i=e(4918),o=e(25961);t.exports=function(t){return r(t,o,i)}},10478:(t,n,e)=>{var r=e(12506),i=e(2659),o=e(14399);t.exports=function(t){return r(t,o,i)}},55502:(t,n,e)=>{var r=e(89983);t.exports=function(t,n){var e=t.__data__;return r(n)?e["string"==typeof n?"string":"hash"]:e.map}},96256:(t,n,e)=>{var r=e(34834),i=e(25961);t.exports=function(t){for(var n=i(t),e=n.length;e--;){var o=n[e],s=t[o];n[e]=[o,s,r(s)]}return n}},72221:(t,n,e)=>{var r=e(50291),i=e(85779);t.exports=function(t,n){var e=i(t,n);return r(e)?e:void 0}},65506:(t,n,e)=>{var r=e(78892)(Object.getPrototypeOf,Object);t.exports=r},37386:(t,n,e)=>{var r=e(20997),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=r?r.toStringTag:void 0;t.exports=function(t){var n=o.call(t,a),e=t[a];try{t[a]=void 0;var r=!0}catch(t){}var i=s.call(t);return r&&(n?t[a]=e:delete t[a]),i}},4918:(t,n,e)=>{var r=e(41155),i=e(41258),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(t){return null==t?[]:(t=Object(t),r(s(t),(function(n){return o.call(t,n)})))}:i;t.exports=a},2659:(t,n,e)=>{var r=e(35276),i=e(65506),o=e(4918),s=e(41258),a=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)r(n,o(t)),t=i(t);return n}:s;t.exports=a},11970:(t,n,e)=>{var r=e(26056),i=e(95651),o=e(36561),s=e(89018),a=e(43895),u=e(28247),c=e(77606),l="[object Map]",h="[object Promise]",f="[object Set]",d="[object WeakMap]",_="[object DataView]",p=c(r),v=c(i),g=c(o),m=c(s),y=c(a),w=u;(r&&w(new r(new ArrayBuffer(1)))!=_||i&&w(new i)!=l||o&&w(o.resolve())!=h||s&&w(new s)!=f||a&&w(new a)!=d)&&(w=function(t){var n=u(t),e="[object Object]"==n?t.constructor:void 0,r=e?c(e):"";if(r)switch(r){case p:return _;case v:return l;case g:return h;case m:return f;case y:return d}return n}),t.exports=w},85779:t=>{t.exports=function(t,n){return null==t?void 0:t[n]}},32889:(t,n,e)=>{var r=e(6927),i=e(27987),o=e(69546),s=e(95824),a=e(80459),u=e(25618);t.exports=function(t,n,e){for(var c=-1,l=(n=r(n,t)).length,h=!1;++c{var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return n.test(t)}},1637:(t,n,e)=>{var r=e(55586);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},16380:t=>{t.exports=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}},17408:(t,n,e)=>{var r=e(55586),i=Object.prototype.hasOwnProperty;t.exports=function(t){var n=this.__data__;if(r){var e=n[t];return"__lodash_hash_undefined__"===e?void 0:e}return i.call(n,t)?n[t]:void 0}},53997:(t,n,e)=>{var r=e(55586),i=Object.prototype.hasOwnProperty;t.exports=function(t){var n=this.__data__;return r?void 0!==n[t]:i.call(n,t)}},34642:(t,n,e)=>{var r=e(55586);t.exports=function(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=r&&void 0===n?"__lodash_hash_undefined__":n,this}},49200:t=>{var n=Object.prototype.hasOwnProperty;t.exports=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&n.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},97045:(t,n,e)=>{var r=e(26477),i=e(52502),o=e(4759),s=e(16431),a=e(49687);t.exports=function(t,n,e){var u=t.constructor;switch(n){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return i(t,e);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return a(t,e);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return o(t);case"[object Symbol]":return s(t)}}},1685:(t,n,e)=>{var r=e(29395),i=e(65506),o=e(46358);t.exports=function(t){return"function"!=typeof t.constructor||o(t)?{}:r(i(t))}},54788:(t,n,e)=>{var r=e(20997),i=e(27987),o=e(69546),s=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(s&&t&&t[s])}},95824:t=>{var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t{var r=e(17689),i=e(46387),o=e(95824),s=e(12289);t.exports=function(t,n,e){if(!s(e))return!1;var a=typeof n;return!!("number"==a?i(e)&&o(n,e.length):"string"==a&&n in e)&&r(e[n],t)}},65677:(t,n,e)=>{var r=e(69546),i=e(42008),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=function(t,n){if(r(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!i(t))||s.test(t)||!o.test(t)||null!=n&&t in Object(n)}},89983:t=>{t.exports=function(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}},37114:(t,n,e)=>{var r,i=e(48976),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!o&&o in t}},46358:t=>{var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},34834:(t,n,e)=>{var r=e(12289);t.exports=function(t){return t==t&&!r(t)}},76073:t=>{t.exports=function(){this.__data__=[],this.size=0}},23390:(t,n,e)=>{var r=e(28627),i=Array.prototype.splice;t.exports=function(t){var n=this.__data__,e=r(n,t);return!(e<0||(e==n.length-1?n.pop():i.call(n,e,1),--this.size,0))}},42461:(t,n,e)=>{var r=e(28627);t.exports=function(t){var n=this.__data__,e=r(n,t);return e<0?void 0:n[e][1]}},18190:(t,n,e)=>{var r=e(28627);t.exports=function(t){return r(this.__data__,t)>-1}},95670:(t,n,e)=>{var r=e(28627);t.exports=function(t,n){var e=this.__data__,i=r(e,t);return i<0?(++this.size,e.push([t,n])):e[i][1]=n,this}},6881:(t,n,e)=>{var r=e(21102),i=e(36491),o=e(95651);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},25089:(t,n,e)=>{var r=e(55502);t.exports=function(t){var n=r(this,t).delete(t);return this.size-=n?1:0,n}},67548:(t,n,e)=>{var r=e(55502);t.exports=function(t){return r(this,t).get(t)}},72151:(t,n,e)=>{var r=e(55502);t.exports=function(t){return r(this,t).has(t)}},51476:(t,n,e)=>{var r=e(55502);t.exports=function(t,n){var e=r(this,t),i=e.size;return e.set(t,n),this.size+=e.size==i?0:1,this}},46498:t=>{t.exports=function(t){var n=-1,e=Array(t.size);return t.forEach((function(t,r){e[++n]=[r,t]})),e}},85447:t=>{t.exports=function(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}},72984:(t,n,e)=>{var r=e(2520);t.exports=function(t){var n=r(t,(function(t){return 500===e.size&&e.clear(),t})),e=n.cache;return n}},55586:(t,n,e)=>{var r=e(72221)(Object,"create");t.exports=r},95513:(t,n,e)=>{var r=e(78892)(Object.keys,Object);t.exports=r},34040:t=>{t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},59214:(t,n,e)=>{t=e.nmd(t);var r=e(46954),i=n&&!n.nodeType&&n,o=i&&t&&!t.nodeType&&t,s=o&&o.exports===i&&r.process,a=function(){try{return o&&o.require&&o.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=a},4591:t=>{var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},78892:t=>{t.exports=function(t,n){return function(e){return t(n(e))}}},28296:(t,n,e)=>{var r=e(4175),i=Math.max;t.exports=function(t,n,e){return n=i(void 0===n?t.length-1:n,0),function(){for(var o=arguments,s=-1,a=i(o.length-n,0),u=Array(a);++s{var r=e(46954),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},50434:t=>{t.exports=function(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}},94636:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},49810:t=>{t.exports=function(t){return this.__data__.has(t)}},56783:t=>{t.exports=function(t){var n=-1,e=Array(t.size);return t.forEach((function(t){e[++n]=t})),e}},6660:(t,n,e)=>{var r=e(82956),i=e(52249)(r);t.exports=i},52249:t=>{var n=Date.now;t.exports=function(t){var e=0,r=0;return function(){var i=n(),o=16-(i-r);if(r=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},38023:(t,n,e)=>{var r=e(36491);t.exports=function(){this.__data__=new r,this.size=0}},39611:t=>{t.exports=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e}},6138:t=>{t.exports=function(t){return this.__data__.get(t)}},96961:t=>{t.exports=function(t){return this.__data__.has(t)}},32631:(t,n,e)=>{var r=e(36491),i=e(95651),o=e(52290);t.exports=function(t,n){var e=this.__data__;if(e instanceof r){var s=e.__data__;if(!i||s.length<199)return s.push([t,n]),this.size=++e.size,this;e=this.__data__=new o(s)}return e.set(t,n),this.size=e.size,this}},43847:t=>{t.exports=function(t,n,e){for(var r=e-1,i=t.length;++r{var r=e(34373),i=e(34229),o=e(65869);t.exports=function(t){return i(t)?o(t):r(t)}},91503:(t,n,e)=>{var r=e(72984),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=r((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(i,(function(t,e,r,i){n.push(r?i.replace(o,"$1"):e||t)})),n}));t.exports=s},25618:(t,n,e)=>{var r=e(42008);t.exports=function(t){if("string"==typeof t||r(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},77606:t=>{var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},97500:t=>{var n=/\s/;t.exports=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},65869:t=>{var n="\\ud800-\\udfff",e="["+n+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^"+n+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+r+"|"+i+")?",c="[\\ufe0e\\ufe0f]?",l=c+u+"(?:\\u200d(?:"+[o,s,a].join("|")+")"+c+u+")*",h="(?:"+[o+r+"?",r,s,a,e].join("|")+")",f=RegExp(i+"(?="+i+")|"+h+l,"g");t.exports=function(t){for(var n=f.lastIndex=0;f.test(t);)++n;return n}},3478:(t,n,e)=>{var r=e(64248),i=e(81696);t.exports=function(t,n,e){return void 0===e&&(e=n,n=void 0),void 0!==e&&(e=(e=i(e))==e?e:0),void 0!==n&&(n=(n=i(n))==n?n:0),r(i(t),n,e)}},86231:(t,n,e)=>{var r=e(8876);t.exports=function(t){return r(t,4)}},70709:(t,n,e)=>{var r=e(8876);t.exports=function(t){return r(t,5)}},71914:t=>{t.exports=function(t){return function(){return t}}},23874:(t,n,e)=>{var r=e(32618),i=e(97147),o=Object.prototype.hasOwnProperty,s=i((function(t,n,e){o.call(t,e)?++t[e]:r(t,e,1)}));t.exports=s},72408:(t,n,e)=>{var r=e(12289),i=e(97127),o=e(81696),s=Math.max,a=Math.min;t.exports=function(t,n,e){var u,c,l,h,f,d,_=0,p=!1,v=!1,g=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function m(n){var e=u,r=c;return u=c=void 0,_=n,h=t.apply(r,e)}function y(t){var e=t-d;return void 0===d||e>=n||e<0||v&&t-_>=l}function w(){var t=i();if(y(t))return b(t);f=setTimeout(w,function(t){var e=n-(t-d);return v?a(e,l-(t-_)):e}(t))}function b(t){return f=void 0,g&&u?m(t):(u=c=void 0,h)}function x(){var t=i(),e=y(t);if(u=arguments,c=this,d=t,e){if(void 0===f)return function(t){return _=t,f=setTimeout(w,n),p?m(t):h}(d);if(v)return clearTimeout(f),f=setTimeout(w,n),m(d)}return void 0===f&&(f=setTimeout(w,n)),h}return n=o(n)||0,r(e)&&(p=!!e.leading,l=(v="maxWait"in e)?s(o(e.maxWait)||0,n):l,g="trailing"in e?!!e.trailing:g),x.cancel=function(){void 0!==f&&clearTimeout(f),_=0,u=d=c=f=void 0},x.flush=function(){return void 0===f?h:b(i())},x}},28801:(t,n,e)=>{var r=e(6359),i=e(17689),o=e(51599),s=e(14399),a=Object.prototype,u=a.hasOwnProperty,c=r((function(t,n){t=Object(t);var e=-1,r=n.length,c=r>2?n[2]:void 0;for(c&&o(n[0],n[1],c)&&(r=1);++e{var r=e(50404),i=e(6359)((function(t,n){return r(t,1,n)}));t.exports=i},83369:(t,n,e)=>{var r=e(21795),i=e(34254);t.exports=function(t,n,e){var o=null==t?0:t.length;return o?(n=e||void 0===n?1:i(n),r(t,n<0?0:n,o)):[]}},93324:(t,n,e)=>{var r=e(21795),i=e(34254);t.exports=function(t,n,e){var o=null==t?0:t.length;return o?(n=e||void 0===n?1:i(n),r(t,0,(n=o-n)<0?0:n)):[]}},39724:(t,n,e)=>{t.exports=e(98848)},17689:t=>{t.exports=function(t,n){return t===n||t!=t&&n!=n}},23820:(t,n,e)=>{var r=e(41155),i=e(64661),o=e(55615),s=e(69546);t.exports=function(t,n){return(s(t)?r:i)(t,o(n,3))}},29495:(t,n,e)=>{var r=e(8627)(e(86123));t.exports=r},86123:(t,n,e)=>{var r=e(71523),i=e(55615),o=e(34254),s=Math.max;t.exports=function(t,n,e){var a=null==t?0:t.length;if(!a)return-1;var u=null==e?0:o(e);return u<0&&(u=s(a+u,0)),r(t,i(n,3),u)}},60567:(t,n,e)=>{var r=e(33169);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},98848:(t,n,e)=>{var r=e(78769),i=e(60836),o=e(43519),s=e(69546);t.exports=function(t,n){return(s(t)?r:i)(t,o(n))}},25234:(t,n,e)=>{var r=e(11453),i=e(43519),o=e(14399);t.exports=function(t,n){return null==t?t:r(t,i(n),o)}},9229:(t,n,e)=>{var r=e(28829);t.exports=function(t,n,e){var i=null==t?void 0:r(t,n);return void 0===i?e:i}},3009:(t,n,e)=>{var r=e(63),i=e(32889);t.exports=function(t,n){return null!=t&&i(t,n,r)}},86717:(t,n,e)=>{var r=e(13233),i=e(32889);t.exports=function(t,n){return null!=t&&i(t,n,r)}},19568:t=>{t.exports=function(t){return t}},27987:(t,n,e)=>{var r=e(70621),i=e(17734),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return i(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=u},69546:t=>{var n=Array.isArray;t.exports=n},46387:(t,n,e)=>{var r=e(93331),i=e(80459);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},70071:(t,n,e)=>{var r=e(46387),i=e(17734);t.exports=function(t){return i(t)&&r(t)}},80758:(t,n,e)=>{t=e.nmd(t);var r=e(9649),i=e(68854),o=n&&!n.nodeType&&n,s=o&&t&&!t.nodeType&&t,a=s&&s.exports===o?r.Buffer:void 0,u=(a?a.isBuffer:void 0)||i;t.exports=u},96368:(t,n,e)=>{var r=e(59011),i=e(11970),o=e(27987),s=e(69546),a=e(46387),u=e(80758),c=e(46358),l=e(65739),h=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(a(t)&&(s(t)||"string"==typeof t||"function"==typeof t.splice||u(t)||l(t)||o(t)))return!t.length;var n=i(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(c(t))return!r(t).length;for(var e in t)if(h.call(t,e))return!1;return!0}},15608:(t,n,e)=>{var r=e(89107);t.exports=function(t,n){return r(t,n)}},93331:(t,n,e)=>{var r=e(28247),i=e(12289);t.exports=function(t){if(!i(t))return!1;var n=r(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},80459:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},1880:(t,n,e)=>{var r=e(4605),i=e(99199),o=e(59214),s=o&&o.isMap,a=s?i(s):r;t.exports=a},12289:t=>{t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},17734:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},65128:(t,n,e)=>{var r=e(28247),i=e(65506),o=e(17734),s=Function.prototype,a=Object.prototype,u=s.toString,c=a.hasOwnProperty,l=u.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var n=i(t);if(null===n)return!0;var e=c.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&u.call(e)==l}},65603:(t,n,e)=>{var r=e(45608),i=e(99199),o=e(59214),s=o&&o.isSet,a=s?i(s):r;t.exports=a},98689:(t,n,e)=>{var r=e(28247),i=e(69546),o=e(17734);t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==r(t)}},42008:(t,n,e)=>{var r=e(28247),i=e(17734);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},65739:(t,n,e)=>{var r=e(89278),i=e(99199),o=e(59214),s=o&&o.isTypedArray,a=s?i(s):r;t.exports=a},51865:t=>{t.exports=function(t){return void 0===t}},25961:(t,n,e)=>{var r=e(17296),i=e(59011),o=e(46387);t.exports=function(t){return o(t)?r(t):i(t)}},14399:(t,n,e)=>{var r=e(17296),i=e(56827),o=e(46387);t.exports=function(t){return o(t)?r(t,!0):i(t)}},76292:t=>{t.exports=function(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}},40180:function(t,n,e){var r;t=e.nmd(t),function(){var i,o="Expected a function",s="__lodash_hash_undefined__",a="__lodash_placeholder__",u=32,c=128,l=1/0,h=9007199254740991,f=NaN,d=4294967295,_=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",u],["partialRight",64],["rearg",256]],p="[object Arguments]",v="[object Array]",g="[object Boolean]",m="[object Date]",y="[object Error]",w="[object Function]",b="[object GeneratorFunction]",x="[object Map]",k="[object Number]",S="[object Object]",C="[object Promise]",$="[object RegExp]",E="[object Set]",M="[object String]",z="[object Symbol]",T="[object WeakMap]",j="[object ArrayBuffer]",A="[object DataView]",q="[object Float32Array]",P="[object Float64Array]",R="[object Int8Array]",L="[object Int16Array]",O="[object Int32Array]",I="[object Uint8Array]",D="[object Uint8ClampedArray]",N="[object Uint16Array]",B="[object Uint32Array]",F=/\b__p \+= '';/g,U=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,W=/[&<>"']/g,V=RegExp(G.source),Z=RegExp(W.source),X=/<%-([\s\S]+?)%>/g,Y=/<%([\s\S]+?)%>/g,K=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nt=/[\\^$.*+?()[\]{}|]/g,et=RegExp(nt.source),rt=/^\s+/,it=/\s/,ot=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,st=/\{\n\/\* \[wrapped with (.+)\] \*/,at=/,? & /,ut=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ct=/[()=,{}\[\]\/\s]/,lt=/\\(\\)?/g,ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ft=/\w*$/,dt=/^[-+]0x[0-9a-f]+$/i,_t=/^0b[01]+$/i,pt=/^\[object .+?Constructor\]$/,vt=/^0o[0-7]+$/i,gt=/^(?:0|[1-9]\d*)$/,mt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,yt=/($^)/,wt=/['\n\r\u2028\u2029\\]/g,bt="\\ud800-\\udfff",xt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",kt="\\u2700-\\u27bf",St="a-z\\xdf-\\xf6\\xf8-\\xff",Ct="A-Z\\xc0-\\xd6\\xd8-\\xde",$t="\\ufe0e\\ufe0f",Et="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Mt="["+bt+"]",zt="["+Et+"]",Tt="["+xt+"]",jt="\\d+",At="["+kt+"]",qt="["+St+"]",Pt="[^"+bt+Et+jt+kt+St+Ct+"]",Rt="\\ud83c[\\udffb-\\udfff]",Lt="[^"+bt+"]",Ot="(?:\\ud83c[\\udde6-\\uddff]){2}",It="[\\ud800-\\udbff][\\udc00-\\udfff]",Dt="["+Ct+"]",Nt="\\u200d",Bt="(?:"+qt+"|"+Pt+")",Ft="(?:"+Dt+"|"+Pt+")",Ut="(?:['’](?:d|ll|m|re|s|t|ve))?",Ht="(?:['’](?:D|LL|M|RE|S|T|VE))?",Gt="(?:"+Tt+"|"+Rt+")?",Wt="["+$t+"]?",Vt=Wt+Gt+"(?:"+Nt+"(?:"+[Lt,Ot,It].join("|")+")"+Wt+Gt+")*",Zt="(?:"+[At,Ot,It].join("|")+")"+Vt,Xt="(?:"+[Lt+Tt+"?",Tt,Ot,It,Mt].join("|")+")",Yt=RegExp("['’]","g"),Kt=RegExp(Tt,"g"),Jt=RegExp(Rt+"(?="+Rt+")|"+Xt+Vt,"g"),Qt=RegExp([Dt+"?"+qt+"+"+Ut+"(?="+[zt,Dt,"$"].join("|")+")",Ft+"+"+Ht+"(?="+[zt,Dt+Bt,"$"].join("|")+")",Dt+"?"+Bt+"+"+Ut,Dt+"+"+Ht,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",jt,Zt].join("|"),"g"),tn=RegExp("["+Nt+bt+xt+$t+"]"),nn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,en=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rn=-1,on={};on[q]=on[P]=on[R]=on[L]=on[O]=on[I]=on[D]=on[N]=on[B]=!0,on[p]=on[v]=on[j]=on[g]=on[A]=on[m]=on[y]=on[w]=on[x]=on[k]=on[S]=on[$]=on[E]=on[M]=on[T]=!1;var sn={};sn[p]=sn[v]=sn[j]=sn[A]=sn[g]=sn[m]=sn[q]=sn[P]=sn[R]=sn[L]=sn[O]=sn[x]=sn[k]=sn[S]=sn[$]=sn[E]=sn[M]=sn[z]=sn[I]=sn[D]=sn[N]=sn[B]=!0,sn[y]=sn[w]=sn[T]=!1;var an={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},un=parseFloat,cn=parseInt,ln="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g,hn="object"==typeof self&&self&&self.Object===Object&&self,fn=ln||hn||Function("return this")(),dn=n&&!n.nodeType&&n,_n=dn&&t&&!t.nodeType&&t,pn=_n&&_n.exports===dn,vn=pn&&ln.process,gn=function(){try{return _n&&_n.require&&_n.require("util").types||vn&&vn.binding&&vn.binding("util")}catch(t){}}(),mn=gn&&gn.isArrayBuffer,yn=gn&&gn.isDate,wn=gn&&gn.isMap,bn=gn&&gn.isRegExp,xn=gn&&gn.isSet,kn=gn&&gn.isTypedArray;function Sn(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}function Cn(t,n,e,r){for(var i=-1,o=null==t?0:t.length;++i-1}function jn(t,n,e){for(var r=-1,i=null==t?0:t.length;++r-1;);return e}function te(t,n){for(var e=t.length;e--&&Nn(n,t[e],0)>-1;);return e}var ne=Gn({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),ee=Gn({"&":"&","<":"<",">":">",'"':""","'":"'"});function re(t){return"\\"+an[t]}function ie(t){return tn.test(t)}function oe(t){var n=-1,e=Array(t.size);return t.forEach((function(t,r){e[++n]=[r,t]})),e}function se(t,n){return function(e){return t(n(e))}}function ae(t,n){for(var e=-1,r=t.length,i=0,o=[];++e",""":'"',"'":"'"}),_e=function t(n){var e,r=(n=null==n?fn:_e.defaults(fn.Object(),n,_e.pick(fn,en))).Array,it=n.Date,bt=n.Error,xt=n.Function,kt=n.Math,St=n.Object,Ct=n.RegExp,$t=n.String,Et=n.TypeError,Mt=r.prototype,zt=xt.prototype,Tt=St.prototype,jt=n["__core-js_shared__"],At=zt.toString,qt=Tt.hasOwnProperty,Pt=0,Rt=(e=/[^.]+$/.exec(jt&&jt.keys&&jt.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"",Lt=Tt.toString,Ot=At.call(St),It=fn._,Dt=Ct("^"+At.call(qt).replace(nt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Nt=pn?n.Buffer:i,Bt=n.Symbol,Ft=n.Uint8Array,Ut=Nt?Nt.allocUnsafe:i,Ht=se(St.getPrototypeOf,St),Gt=St.create,Wt=Tt.propertyIsEnumerable,Vt=Mt.splice,Zt=Bt?Bt.isConcatSpreadable:i,Xt=Bt?Bt.iterator:i,Jt=Bt?Bt.toStringTag:i,tn=function(){try{var t=uo(St,"defineProperty");return t({},"",{}),t}catch(t){}}(),an=n.clearTimeout!==fn.clearTimeout&&n.clearTimeout,ln=it&&it.now!==fn.Date.now&&it.now,hn=n.setTimeout!==fn.setTimeout&&n.setTimeout,dn=kt.ceil,_n=kt.floor,vn=St.getOwnPropertySymbols,gn=Nt?Nt.isBuffer:i,On=n.isFinite,Gn=Mt.join,pe=se(St.keys,St),ve=kt.max,ge=kt.min,me=it.now,ye=n.parseInt,we=kt.random,be=Mt.reverse,xe=uo(n,"DataView"),ke=uo(n,"Map"),Se=uo(n,"Promise"),Ce=uo(n,"Set"),$e=uo(n,"WeakMap"),Ee=uo(St,"create"),Me=$e&&new $e,ze={},Te=Oo(xe),je=Oo(ke),Ae=Oo(Se),qe=Oo(Ce),Pe=Oo($e),Re=Bt?Bt.prototype:i,Le=Re?Re.valueOf:i,Oe=Re?Re.toString:i;function Ie(t){if(ta(t)&&!Us(t)&&!(t instanceof Fe)){if(t instanceof Be)return t;if(qt.call(t,"__wrapped__"))return Io(t)}return new Be(t)}var De=function(){function t(){}return function(n){if(!Qs(n))return{};if(Gt)return Gt(n);t.prototype=n;var e=new t;return t.prototype=i,e}}();function Ne(){}function Be(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=i}function Fe(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=d,this.__views__=[]}function Ue(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n=n?t:n)),t}function sr(t,n,e,r,o,s){var a,u=1&n,c=2&n,l=4&n;if(e&&(a=o?e(t,r,o,s):e(t)),a!==i)return a;if(!Qs(t))return t;var h=Us(t);if(h){if(a=function(t){var n=t.length,e=new t.constructor(n);return n&&"string"==typeof t[0]&&qt.call(t,"index")&&(e.index=t.index,e.input=t.input),e}(t),!u)return $i(t,a)}else{var f=ho(t),d=f==w||f==b;if(Vs(t))return wi(t,u);if(f==S||f==p||d&&!o){if(a=c||d?{}:_o(t),!u)return c?function(t,n){return Ei(t,lo(t),n)}(t,function(t,n){return t&&Ei(n,ja(n),t)}(a,t)):function(t,n){return Ei(t,co(t),n)}(t,er(a,t))}else{if(!sn[f])return o?t:{};a=function(t,n,e){var r,i=t.constructor;switch(n){case j:return bi(t);case g:case m:return new i(+t);case A:return function(t,n){var e=n?bi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}(t,e);case q:case P:case R:case L:case O:case I:case D:case N:case B:return xi(t,e);case x:return new i;case k:case M:return new i(t);case $:return function(t){var n=new t.constructor(t.source,ft.exec(t));return n.lastIndex=t.lastIndex,n}(t);case E:return new i;case z:return r=t,Le?St(Le.call(r)):{}}}(t,f,u)}}s||(s=new Ve);var _=s.get(t);if(_)return _;s.set(t,a),oa(t)?t.forEach((function(r){a.add(sr(r,n,e,r,t,s))})):na(t)&&t.forEach((function(r,i){a.set(i,sr(r,n,e,i,t,s))}));var v=h?i:(l?c?no:to:c?ja:Ta)(t);return $n(v||t,(function(r,i){v&&(r=t[i=r]),Qe(a,i,sr(r,n,e,i,t,s))})),a}function ar(t,n,e){var r=e.length;if(null==t)return!r;for(t=St(t);r--;){var o=e[r],s=n[o],a=t[o];if(a===i&&!(o in t)||!s(a))return!1}return!0}function ur(t,n,e){if("function"!=typeof t)throw new Et(o);return Mo((function(){t.apply(i,e)}),n)}function cr(t,n,e,r){var i=-1,o=Tn,s=!0,a=t.length,u=[],c=n.length;if(!a)return u;e&&(n=An(n,Yn(e))),r?(o=jn,s=!1):n.length>=200&&(o=Jn,s=!1,n=new We(n));t:for(;++i-1},He.prototype.set=function(t,n){var e=this.__data__,r=tr(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this},Ge.prototype.clear=function(){this.size=0,this.__data__={hash:new Ue,map:new(ke||He),string:new Ue}},Ge.prototype.delete=function(t){var n=so(this,t).delete(t);return this.size-=n?1:0,n},Ge.prototype.get=function(t){return so(this,t).get(t)},Ge.prototype.has=function(t){return so(this,t).has(t)},Ge.prototype.set=function(t,n){var e=so(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this},We.prototype.add=We.prototype.push=function(t){return this.__data__.set(t,s),this},We.prototype.has=function(t){return this.__data__.has(t)},Ve.prototype.clear=function(){this.__data__=new He,this.size=0},Ve.prototype.delete=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e},Ve.prototype.get=function(t){return this.__data__.get(t)},Ve.prototype.has=function(t){return this.__data__.has(t)},Ve.prototype.set=function(t,n){var e=this.__data__;if(e instanceof He){var r=e.__data__;if(!ke||r.length<199)return r.push([t,n]),this.size=++e.size,this;e=this.__data__=new Ge(r)}return e.set(t,n),this.size=e.size,this};var lr=Ti(mr),hr=Ti(yr,!0);function fr(t,n){var e=!0;return lr(t,(function(t,r,i){return e=!!n(t,r,i)})),e}function dr(t,n,e){for(var r=-1,o=t.length;++r0&&e(a)?n>1?pr(a,n-1,e,r,i):qn(i,a):r||(i[i.length]=a)}return i}var vr=ji(),gr=ji(!0);function mr(t,n){return t&&vr(t,n,Ta)}function yr(t,n){return t&&gr(t,n,Ta)}function wr(t,n){return zn(n,(function(n){return Ys(t[n])}))}function br(t,n){for(var e=0,r=(n=vi(n,t)).length;null!=t&&en}function Cr(t,n){return null!=t&&qt.call(t,n)}function $r(t,n){return null!=t&&n in St(t)}function Er(t,n,e){for(var o=e?jn:Tn,s=t[0].length,a=t.length,u=a,c=r(a),l=1/0,h=[];u--;){var f=t[u];u&&n&&(f=An(f,Yn(n))),l=ge(f.length,l),c[u]=!e&&(n||s>=120&&f.length>=120)?new We(u&&f):i}f=t[0];var d=-1,_=c[0];t:for(;++d=a?u:u*("desc"==e[r]?-1:1)}return t.index-n.index}(t,n,e)}));r--;)t[r]=t[r].value;return t}(i)}function Fr(t,n,e){for(var r=-1,i=n.length,o={};++r-1;)a!==t&&Vt.call(a,u,1),Vt.call(t,u,1);return t}function Hr(t,n){for(var e=t?n.length:0,r=e-1;e--;){var i=n[e];if(e==r||i!==o){var o=i;vo(i)?Vt.call(t,i,1):ui(t,i)}}return t}function Gr(t,n){return t+_n(we()*(n-t+1))}function Wr(t,n){var e="";if(!t||n<1||n>h)return e;do{n%2&&(e+=t),(n=_n(n/2))&&(t+=t)}while(n);return e}function Vr(t,n){return zo(So(t,n,eu),t+"")}function Zr(t){return Xe(Da(t))}function Xr(t,n){var e=Da(t);return Ao(e,or(n,0,e.length))}function Yr(t,n,e,r){if(!Qs(t))return t;for(var o=-1,s=(n=vi(n,t)).length,a=s-1,u=t;null!=u&&++oo?0:o+n),(e=e>o?o:e)<0&&(e+=o),o=n>e?0:e-n>>>0,n>>>=0;for(var s=r(o);++i>>1,s=t[o];null!==s&&!aa(s)&&(e?s<=n:s=200){var c=n?null:Wi(t);if(c)return ue(c);s=!1,i=Jn,u=new We}else u=n?[]:a;t:for(;++r=r?t:ti(t,n,e)}var yi=an||function(t){return fn.clearTimeout(t)};function wi(t,n){if(n)return t.slice();var e=t.length,r=Ut?Ut(e):new t.constructor(e);return t.copy(r),r}function bi(t){var n=new t.constructor(t.byteLength);return new Ft(n).set(new Ft(t)),n}function xi(t,n){var e=n?bi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}function ki(t,n){if(t!==n){var e=t!==i,r=null===t,o=t==t,s=aa(t),a=n!==i,u=null===n,c=n==n,l=aa(n);if(!u&&!l&&!s&&t>n||s&&a&&c&&!u&&!l||r&&a&&c||!e&&c||!o)return 1;if(!r&&!s&&!l&&t1?e[o-1]:i,a=o>2?e[2]:i;for(s=t.length>3&&"function"==typeof s?(o--,s):i,a&&go(e[0],e[1],a)&&(s=o<3?i:s,o=1),n=St(n);++r-1?o[s?n[a]:a]:i}}function Li(t){return Qi((function(n){var e=n.length,r=e,s=Be.prototype.thru;for(t&&n.reverse();r--;){var a=n[r];if("function"!=typeof a)throw new Et(o);if(s&&!u&&"wrapper"==ro(a))var u=new Be([],!0)}for(r=u?r:e;++r1&&w.reverse(),d&&hu))return!1;var l=s.get(t),h=s.get(n);if(l&&h)return l==n&&h==t;var f=-1,d=!0,_=2&e?new We:i;for(s.set(t,n),s.set(n,t);++f-1&&t%1==0&&t1?"& ":"")+n[r],n=n.join(e>2?", ":" "),t.replace(ot,"{\n/* [wrapped with "+n+"] */\n")}(r,function(t,n){return $n(_,(function(e){var r="_."+e[0];n&e[1]&&!Tn(t,r)&&t.push(r)})),t.sort()}(function(t){var n=t.match(st);return n?n[1].split(at):[]}(r),e)))}function jo(t){var n=0,e=0;return function(){var r=me(),o=16-(r-e);if(e=r,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(i,arguments)}}function Ao(t,n){var e=-1,r=t.length,o=r-1;for(n=n===i?r:n;++e1?t[n-1]:i;return e="function"==typeof e?(t.pop(),e):i,is(t,e)}));function hs(t){var n=Ie(t);return n.__chain__=!0,n}function fs(t,n){return n(t)}var ds=Qi((function(t){var n=t.length,e=n?t[0]:0,r=this.__wrapped__,o=function(n){return ir(n,t)};return!(n>1||this.__actions__.length)&&r instanceof Fe&&vo(e)?((r=r.slice(e,+e+(n?1:0))).__actions__.push({func:fs,args:[o],thisArg:i}),new Be(r,this.__chain__).thru((function(t){return n&&!t.length&&t.push(i),t}))):this.thru(o)})),_s=Mi((function(t,n,e){qt.call(t,e)?++t[e]:rr(t,e,1)})),ps=Ri(Fo),vs=Ri(Uo);function gs(t,n){return(Us(t)?$n:lr)(t,oo(n,3))}function ms(t,n){return(Us(t)?En:hr)(t,oo(n,3))}var ys=Mi((function(t,n,e){qt.call(t,e)?t[e].push(n):rr(t,e,[n])})),ws=Vr((function(t,n,e){var i=-1,o="function"==typeof n,s=Gs(t)?r(t.length):[];return lr(t,(function(t){s[++i]=o?Sn(n,t,e):Mr(t,n,e)})),s})),bs=Mi((function(t,n,e){rr(t,e,n)}));function xs(t,n){return(Us(t)?An:Lr)(t,oo(n,3))}var ks=Mi((function(t,n,e){t[e?0:1].push(n)}),(function(){return[[],[]]})),Ss=Vr((function(t,n){if(null==t)return[];var e=n.length;return e>1&&go(t,n[0],n[1])?n=[]:e>2&&go(n[0],n[1],n[2])&&(n=[n[0]]),Br(t,pr(n,1),[])})),Cs=ln||function(){return fn.Date.now()};function $s(t,n,e){return n=e?i:n,n=t&&null==n?t.length:n,Zi(t,c,i,i,i,i,n)}function Es(t,n){var e;if("function"!=typeof n)throw new Et(o);return t=da(t),function(){return--t>0&&(e=n.apply(this,arguments)),t<=1&&(n=i),e}}var Ms=Vr((function(t,n,e){var r=1;if(e.length){var i=ae(e,io(Ms));r|=u}return Zi(t,r,n,e,i)})),zs=Vr((function(t,n,e){var r=3;if(e.length){var i=ae(e,io(zs));r|=u}return Zi(n,r,t,e,i)}));function Ts(t,n,e){var r,s,a,u,c,l,h=0,f=!1,d=!1,_=!0;if("function"!=typeof t)throw new Et(o);function p(n){var e=r,o=s;return r=s=i,h=n,u=t.apply(o,e)}function v(t){var e=t-l;return l===i||e>=n||e<0||d&&t-h>=a}function g(){var t=Cs();if(v(t))return m(t);c=Mo(g,function(t){var e=n-(t-l);return d?ge(e,a-(t-h)):e}(t))}function m(t){return c=i,_&&r?p(t):(r=s=i,u)}function y(){var t=Cs(),e=v(t);if(r=arguments,s=this,l=t,e){if(c===i)return function(t){return h=t,c=Mo(g,n),f?p(t):u}(l);if(d)return yi(c),c=Mo(g,n),p(l)}return c===i&&(c=Mo(g,n)),u}return n=pa(n)||0,Qs(e)&&(f=!!e.leading,a=(d="maxWait"in e)?ve(pa(e.maxWait)||0,n):a,_="trailing"in e?!!e.trailing:_),y.cancel=function(){c!==i&&yi(c),h=0,r=l=s=c=i},y.flush=function(){return c===i?u:m(Cs())},y}var js=Vr((function(t,n){return ur(t,1,n)})),As=Vr((function(t,n,e){return ur(t,pa(n)||0,e)}));function qs(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new Et(o);var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return e.cache=o.set(i,s)||o,s};return e.cache=new(qs.Cache||Ge),e}function Ps(t){if("function"!=typeof t)throw new Et(o);return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}qs.Cache=Ge;var Rs=gi((function(t,n){var e=(n=1==n.length&&Us(n[0])?An(n[0],Yn(oo())):An(pr(n,1),Yn(oo()))).length;return Vr((function(r){for(var i=-1,o=ge(r.length,e);++i=n})),Fs=zr(function(){return arguments}())?zr:function(t){return ta(t)&&qt.call(t,"callee")&&!Wt.call(t,"callee")},Us=r.isArray,Hs=mn?Yn(mn):function(t){return ta(t)&&kr(t)==j};function Gs(t){return null!=t&&Js(t.length)&&!Ys(t)}function Ws(t){return ta(t)&&Gs(t)}var Vs=gn||pu,Zs=yn?Yn(yn):function(t){return ta(t)&&kr(t)==m};function Xs(t){if(!ta(t))return!1;var n=kr(t);return n==y||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!ra(t)}function Ys(t){if(!Qs(t))return!1;var n=kr(t);return n==w||n==b||"[object AsyncFunction]"==n||"[object Proxy]"==n}function Ks(t){return"number"==typeof t&&t==da(t)}function Js(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=h}function Qs(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function ta(t){return null!=t&&"object"==typeof t}var na=wn?Yn(wn):function(t){return ta(t)&&ho(t)==x};function ea(t){return"number"==typeof t||ta(t)&&kr(t)==k}function ra(t){if(!ta(t)||kr(t)!=S)return!1;var n=Ht(t);if(null===n)return!0;var e=qt.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&At.call(e)==Ot}var ia=bn?Yn(bn):function(t){return ta(t)&&kr(t)==$},oa=xn?Yn(xn):function(t){return ta(t)&&ho(t)==E};function sa(t){return"string"==typeof t||!Us(t)&&ta(t)&&kr(t)==M}function aa(t){return"symbol"==typeof t||ta(t)&&kr(t)==z}var ua=kn?Yn(kn):function(t){return ta(t)&&Js(t.length)&&!!on[kr(t)]},ca=Ui(Rr),la=Ui((function(t,n){return t<=n}));function ha(t){if(!t)return[];if(Gs(t))return sa(t)?he(t):$i(t);if(Xt&&t[Xt])return function(t){for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}(t[Xt]());var n=ho(t);return(n==x?oe:n==E?ue:Da)(t)}function fa(t){return t?(t=pa(t))===l||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function da(t){var n=fa(t),e=n%1;return n==n?e?n-e:n:0}function _a(t){return t?or(da(t),0,d):0}function pa(t){if("number"==typeof t)return t;if(aa(t))return f;if(Qs(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=Qs(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=Xn(t);var e=_t.test(t);return e||vt.test(t)?cn(t.slice(2),e?2:8):dt.test(t)?f:+t}function va(t){return Ei(t,ja(t))}function ga(t){return null==t?"":si(t)}var ma=zi((function(t,n){if(bo(n)||Gs(n))Ei(n,Ta(n),t);else for(var e in n)qt.call(n,e)&&Qe(t,e,n[e])})),ya=zi((function(t,n){Ei(n,ja(n),t)})),wa=zi((function(t,n,e,r){Ei(n,ja(n),t,r)})),ba=zi((function(t,n,e,r){Ei(n,Ta(n),t,r)})),xa=Qi(ir),ka=Vr((function(t,n){t=St(t);var e=-1,r=n.length,o=r>2?n[2]:i;for(o&&go(n[0],n[1],o)&&(r=1);++e1),n})),Ei(t,no(t),e),r&&(e=sr(e,7,Ki));for(var i=n.length;i--;)ui(e,n[i]);return e})),Ra=Qi((function(t,n){return null==t?{}:function(t,n){return Fr(t,n,(function(n,e){return $a(t,e)}))}(t,n)}));function La(t,n){if(null==t)return{};var e=An(no(t),(function(t){return[t]}));return n=oo(n),Fr(t,e,(function(t,e){return n(t,e[0])}))}var Oa=Vi(Ta),Ia=Vi(ja);function Da(t){return null==t?[]:Kn(t,Ta(t))}var Na=qi((function(t,n,e){return n=n.toLowerCase(),t+(e?Ba(n):n)}));function Ba(t){return Xa(ga(t).toLowerCase())}function Fa(t){return(t=ga(t))&&t.replace(mt,ne).replace(Kt,"")}var Ua=qi((function(t,n,e){return t+(e?"-":"")+n.toLowerCase()})),Ha=qi((function(t,n,e){return t+(e?" ":"")+n.toLowerCase()})),Ga=Ai("toLowerCase"),Wa=qi((function(t,n,e){return t+(e?"_":"")+n.toLowerCase()})),Va=qi((function(t,n,e){return t+(e?" ":"")+Xa(n)})),Za=qi((function(t,n,e){return t+(e?" ":"")+n.toUpperCase()})),Xa=Ai("toUpperCase");function Ya(t,n,e){return t=ga(t),(n=e?i:n)===i?function(t){return nn.test(t)}(t)?function(t){return t.match(Qt)||[]}(t):function(t){return t.match(ut)||[]}(t):t.match(n)||[]}var Ka=Vr((function(t,n){try{return Sn(t,i,n)}catch(t){return Xs(t)?t:new bt(t)}})),Ja=Qi((function(t,n){return $n(n,(function(n){n=Lo(n),rr(t,n,Ms(t[n],t))})),t}));function Qa(t){return function(){return t}}var tu=Li(),nu=Li(!0);function eu(t){return t}function ru(t){return qr("function"==typeof t?t:sr(t,1))}var iu=Vr((function(t,n){return function(e){return Mr(e,t,n)}})),ou=Vr((function(t,n){return function(e){return Mr(t,e,n)}}));function su(t,n,e){var r=Ta(n),i=wr(n,r);null!=e||Qs(n)&&(i.length||!r.length)||(e=n,n=t,t=this,i=wr(n,Ta(n)));var o=!(Qs(e)&&"chain"in e&&!e.chain),s=Ys(t);return $n(i,(function(e){var r=n[e];t[e]=r,s&&(t.prototype[e]=function(){var n=this.__chain__;if(o||n){var e=t(this.__wrapped__);return(e.__actions__=$i(this.__actions__)).push({func:r,args:arguments,thisArg:t}),e.__chain__=n,e}return r.apply(t,qn([this.value()],arguments))})})),t}function au(){}var uu=Ni(An),cu=Ni(Mn),lu=Ni(Ln);function hu(t){return mo(t)?Hn(Lo(t)):function(t){return function(n){return br(n,t)}}(t)}var fu=Fi(),du=Fi(!0);function _u(){return[]}function pu(){return!1}var vu,gu=Di((function(t,n){return t+n}),0),mu=Gi("ceil"),yu=Di((function(t,n){return t/n}),1),wu=Gi("floor"),bu=Di((function(t,n){return t*n}),1),xu=Gi("round"),ku=Di((function(t,n){return t-n}),0);return Ie.after=function(t,n){if("function"!=typeof n)throw new Et(o);return t=da(t),function(){if(--t<1)return n.apply(this,arguments)}},Ie.ary=$s,Ie.assign=ma,Ie.assignIn=ya,Ie.assignInWith=wa,Ie.assignWith=ba,Ie.at=xa,Ie.before=Es,Ie.bind=Ms,Ie.bindAll=Ja,Ie.bindKey=zs,Ie.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Us(t)?t:[t]},Ie.chain=hs,Ie.chunk=function(t,n,e){n=(e?go(t,n,e):n===i)?1:ve(da(n),0);var o=null==t?0:t.length;if(!o||n<1)return[];for(var s=0,a=0,u=r(dn(o/n));so?0:o+e),(r=r===i||r>o?o:da(r))<0&&(r+=o),r=e>r?0:_a(r);e>>0)?(t=ga(t))&&("string"==typeof n||null!=n&&!ia(n))&&!(n=si(n))&&ie(t)?mi(he(t),0,e):t.split(n,e):[]},Ie.spread=function(t,n){if("function"!=typeof t)throw new Et(o);return n=null==n?0:ve(da(n),0),Vr((function(e){var r=e[n],i=mi(e,0,n);return r&&qn(i,r),Sn(t,this,i)}))},Ie.tail=function(t){var n=null==t?0:t.length;return n?ti(t,1,n):[]},Ie.take=function(t,n,e){return t&&t.length?ti(t,0,(n=e||n===i?1:da(n))<0?0:n):[]},Ie.takeRight=function(t,n,e){var r=null==t?0:t.length;return r?ti(t,(n=r-(n=e||n===i?1:da(n)))<0?0:n,r):[]},Ie.takeRightWhile=function(t,n){return t&&t.length?li(t,oo(n,3),!1,!0):[]},Ie.takeWhile=function(t,n){return t&&t.length?li(t,oo(n,3)):[]},Ie.tap=function(t,n){return n(t),t},Ie.throttle=function(t,n,e){var r=!0,i=!0;if("function"!=typeof t)throw new Et(o);return Qs(e)&&(r="leading"in e?!!e.leading:r,i="trailing"in e?!!e.trailing:i),Ts(t,n,{leading:r,maxWait:n,trailing:i})},Ie.thru=fs,Ie.toArray=ha,Ie.toPairs=Oa,Ie.toPairsIn=Ia,Ie.toPath=function(t){return Us(t)?An(t,Lo):aa(t)?[t]:$i(Ro(ga(t)))},Ie.toPlainObject=va,Ie.transform=function(t,n,e){var r=Us(t),i=r||Vs(t)||ua(t);if(n=oo(n,4),null==e){var o=t&&t.constructor;e=i?r?new o:[]:Qs(t)&&Ys(o)?De(Ht(t)):{}}return(i?$n:mr)(t,(function(t,r,i){return n(e,t,r,i)})),e},Ie.unary=function(t){return $s(t,1)},Ie.union=ts,Ie.unionBy=ns,Ie.unionWith=es,Ie.uniq=function(t){return t&&t.length?ai(t):[]},Ie.uniqBy=function(t,n){return t&&t.length?ai(t,oo(n,2)):[]},Ie.uniqWith=function(t,n){return n="function"==typeof n?n:i,t&&t.length?ai(t,i,n):[]},Ie.unset=function(t,n){return null==t||ui(t,n)},Ie.unzip=rs,Ie.unzipWith=is,Ie.update=function(t,n,e){return null==t?t:ci(t,n,pi(e))},Ie.updateWith=function(t,n,e,r){return r="function"==typeof r?r:i,null==t?t:ci(t,n,pi(e),r)},Ie.values=Da,Ie.valuesIn=function(t){return null==t?[]:Kn(t,ja(t))},Ie.without=os,Ie.words=Ya,Ie.wrap=function(t,n){return Ls(pi(n),t)},Ie.xor=ss,Ie.xorBy=as,Ie.xorWith=us,Ie.zip=cs,Ie.zipObject=function(t,n){return di(t||[],n||[],Qe)},Ie.zipObjectDeep=function(t,n){return di(t||[],n||[],Yr)},Ie.zipWith=ls,Ie.entries=Oa,Ie.entriesIn=Ia,Ie.extend=ya,Ie.extendWith=wa,su(Ie,Ie),Ie.add=gu,Ie.attempt=Ka,Ie.camelCase=Na,Ie.capitalize=Ba,Ie.ceil=mu,Ie.clamp=function(t,n,e){return e===i&&(e=n,n=i),e!==i&&(e=(e=pa(e))==e?e:0),n!==i&&(n=(n=pa(n))==n?n:0),or(pa(t),n,e)},Ie.clone=function(t){return sr(t,4)},Ie.cloneDeep=function(t){return sr(t,5)},Ie.cloneDeepWith=function(t,n){return sr(t,5,n="function"==typeof n?n:i)},Ie.cloneWith=function(t,n){return sr(t,4,n="function"==typeof n?n:i)},Ie.conformsTo=function(t,n){return null==n||ar(t,n,Ta(n))},Ie.deburr=Fa,Ie.defaultTo=function(t,n){return null==t||t!=t?n:t},Ie.divide=yu,Ie.endsWith=function(t,n,e){t=ga(t),n=si(n);var r=t.length,o=e=e===i?r:or(da(e),0,r);return(e-=n.length)>=0&&t.slice(e,o)==n},Ie.eq=Ds,Ie.escape=function(t){return(t=ga(t))&&Z.test(t)?t.replace(W,ee):t},Ie.escapeRegExp=function(t){return(t=ga(t))&&et.test(t)?t.replace(nt,"\\$&"):t},Ie.every=function(t,n,e){var r=Us(t)?Mn:fr;return e&&go(t,n,e)&&(n=i),r(t,oo(n,3))},Ie.find=ps,Ie.findIndex=Fo,Ie.findKey=function(t,n){return In(t,oo(n,3),mr)},Ie.findLast=vs,Ie.findLastIndex=Uo,Ie.findLastKey=function(t,n){return In(t,oo(n,3),yr)},Ie.floor=wu,Ie.forEach=gs,Ie.forEachRight=ms,Ie.forIn=function(t,n){return null==t?t:vr(t,oo(n,3),ja)},Ie.forInRight=function(t,n){return null==t?t:gr(t,oo(n,3),ja)},Ie.forOwn=function(t,n){return t&&mr(t,oo(n,3))},Ie.forOwnRight=function(t,n){return t&&yr(t,oo(n,3))},Ie.get=Ca,Ie.gt=Ns,Ie.gte=Bs,Ie.has=function(t,n){return null!=t&&fo(t,n,Cr)},Ie.hasIn=$a,Ie.head=Go,Ie.identity=eu,Ie.includes=function(t,n,e,r){t=Gs(t)?t:Da(t),e=e&&!r?da(e):0;var i=t.length;return e<0&&(e=ve(i+e,0)),sa(t)?e<=i&&t.indexOf(n,e)>-1:!!i&&Nn(t,n,e)>-1},Ie.indexOf=function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var i=null==e?0:da(e);return i<0&&(i=ve(r+i,0)),Nn(t,n,i)},Ie.inRange=function(t,n,e){return n=fa(n),e===i?(e=n,n=0):e=fa(e),function(t,n,e){return t>=ge(n,e)&&t=-9007199254740991&&t<=h},Ie.isSet=oa,Ie.isString=sa,Ie.isSymbol=aa,Ie.isTypedArray=ua,Ie.isUndefined=function(t){return t===i},Ie.isWeakMap=function(t){return ta(t)&&ho(t)==T},Ie.isWeakSet=function(t){return ta(t)&&"[object WeakSet]"==kr(t)},Ie.join=function(t,n){return null==t?"":Gn.call(t,n)},Ie.kebabCase=Ua,Ie.last=Xo,Ie.lastIndexOf=function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var o=r;return e!==i&&(o=(o=da(e))<0?ve(r+o,0):ge(o,r-1)),n==n?function(t,n,e){for(var r=e+1;r--;)if(t[r]===n)return r;return r}(t,n,o):Dn(t,Fn,o,!0)},Ie.lowerCase=Ha,Ie.lowerFirst=Ga,Ie.lt=ca,Ie.lte=la,Ie.max=function(t){return t&&t.length?dr(t,eu,Sr):i},Ie.maxBy=function(t,n){return t&&t.length?dr(t,oo(n,2),Sr):i},Ie.mean=function(t){return Un(t,eu)},Ie.meanBy=function(t,n){return Un(t,oo(n,2))},Ie.min=function(t){return t&&t.length?dr(t,eu,Rr):i},Ie.minBy=function(t,n){return t&&t.length?dr(t,oo(n,2),Rr):i},Ie.stubArray=_u,Ie.stubFalse=pu,Ie.stubObject=function(){return{}},Ie.stubString=function(){return""},Ie.stubTrue=function(){return!0},Ie.multiply=bu,Ie.nth=function(t,n){return t&&t.length?Nr(t,da(n)):i},Ie.noConflict=function(){return fn._===this&&(fn._=It),this},Ie.noop=au,Ie.now=Cs,Ie.pad=function(t,n,e){t=ga(t);var r=(n=da(n))?le(t):0;if(!n||r>=n)return t;var i=(n-r)/2;return Bi(_n(i),e)+t+Bi(dn(i),e)},Ie.padEnd=function(t,n,e){t=ga(t);var r=(n=da(n))?le(t):0;return n&&rn){var r=t;t=n,n=r}if(e||t%1||n%1){var o=we();return ge(t+o*(n-t+un("1e-"+((o+"").length-1))),n)}return Gr(t,n)},Ie.reduce=function(t,n,e){var r=Us(t)?Pn:Wn,i=arguments.length<3;return r(t,oo(n,4),e,i,lr)},Ie.reduceRight=function(t,n,e){var r=Us(t)?Rn:Wn,i=arguments.length<3;return r(t,oo(n,4),e,i,hr)},Ie.repeat=function(t,n,e){return n=(e?go(t,n,e):n===i)?1:da(n),Wr(ga(t),n)},Ie.replace=function(){var t=arguments,n=ga(t[0]);return t.length<3?n:n.replace(t[1],t[2])},Ie.result=function(t,n,e){var r=-1,o=(n=vi(n,t)).length;for(o||(o=1,t=i);++rh)return[];var e=d,r=ge(t,d);n=oo(n),t-=d;for(var i=Zn(r,n);++e=s)return t;var u=e-le(r);if(u<1)return r;var c=a?mi(a,0,u).join(""):t.slice(0,u);if(o===i)return c+r;if(a&&(u+=c.length-u),ia(o)){if(t.slice(u).search(o)){var l,h=c;for(o.global||(o=Ct(o.source,ga(ft.exec(o))+"g")),o.lastIndex=0;l=o.exec(h);)var f=l.index;c=c.slice(0,f===i?u:f)}}else if(t.indexOf(si(o),u)!=u){var d=c.lastIndexOf(o);d>-1&&(c=c.slice(0,d))}return c+r},Ie.unescape=function(t){return(t=ga(t))&&V.test(t)?t.replace(G,de):t},Ie.uniqueId=function(t){var n=++Pt;return ga(t)+n},Ie.upperCase=Za,Ie.upperFirst=Xa,Ie.each=gs,Ie.eachRight=ms,Ie.first=Go,su(Ie,(vu={},mr(Ie,(function(t,n){qt.call(Ie.prototype,n)||(vu[n]=t)})),vu),{chain:!1}),Ie.VERSION="4.17.21",$n(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Ie[t].placeholder=Ie})),$n(["drop","take"],(function(t,n){Fe.prototype[t]=function(e){e=e===i?1:ve(da(e),0);var r=this.__filtered__&&!n?new Fe(this):this.clone();return r.__filtered__?r.__takeCount__=ge(e,r.__takeCount__):r.__views__.push({size:ge(e,d),type:t+(r.__dir__<0?"Right":"")}),r},Fe.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),$n(["filter","map","takeWhile"],(function(t,n){var e=n+1,r=1==e||3==e;Fe.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:oo(t,3),type:e}),n.__filtered__=n.__filtered__||r,n}})),$n(["head","last"],(function(t,n){var e="take"+(n?"Right":"");Fe.prototype[t]=function(){return this[e](1).value()[0]}})),$n(["initial","tail"],(function(t,n){var e="drop"+(n?"":"Right");Fe.prototype[t]=function(){return this.__filtered__?new Fe(this):this[e](1)}})),Fe.prototype.compact=function(){return this.filter(eu)},Fe.prototype.find=function(t){return this.filter(t).head()},Fe.prototype.findLast=function(t){return this.reverse().find(t)},Fe.prototype.invokeMap=Vr((function(t,n){return"function"==typeof t?new Fe(this):this.map((function(e){return Mr(e,t,n)}))})),Fe.prototype.reject=function(t){return this.filter(Ps(oo(t)))},Fe.prototype.slice=function(t,n){t=da(t);var e=this;return e.__filtered__&&(t>0||n<0)?new Fe(e):(t<0?e=e.takeRight(-t):t&&(e=e.drop(t)),n!==i&&(e=(n=da(n))<0?e.dropRight(-n):e.take(n-t)),e)},Fe.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Fe.prototype.toArray=function(){return this.take(d)},mr(Fe.prototype,(function(t,n){var e=/^(?:filter|find|map|reject)|While$/.test(n),r=/^(?:head|last)$/.test(n),o=Ie[r?"take"+("last"==n?"Right":""):n],s=r||/^find/.test(n);o&&(Ie.prototype[n]=function(){var n=this.__wrapped__,a=r?[1]:arguments,u=n instanceof Fe,c=a[0],l=u||Us(n),h=function(t){var n=o.apply(Ie,qn([t],a));return r&&f?n[0]:n};l&&e&&"function"==typeof c&&1!=c.length&&(u=l=!1);var f=this.__chain__,d=!!this.__actions__.length,_=s&&!f,p=u&&!d;if(!s&&l){n=p?n:new Fe(this);var v=t.apply(n,a);return v.__actions__.push({func:fs,args:[h],thisArg:i}),new Be(v,f)}return _&&p?t.apply(this,a):(v=this.thru(h),_?r?v.value()[0]:v.value():v)})})),$n(["pop","push","shift","sort","splice","unshift"],(function(t){var n=Mt[t],e=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Ie.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return n.apply(Us(i)?i:[],t)}return this[e]((function(e){return n.apply(Us(e)?e:[],t)}))}})),mr(Fe.prototype,(function(t,n){var e=Ie[n];if(e){var r=e.name+"";qt.call(ze,r)||(ze[r]=[]),ze[r].push({name:n,func:e})}})),ze[Oi(i,2).name]=[{name:"wrapper",func:i}],Fe.prototype.clone=function(){var t=new Fe(this.__wrapped__);return t.__actions__=$i(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=$i(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=$i(this.__views__),t},Fe.prototype.reverse=function(){if(this.__filtered__){var t=new Fe(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Fe.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,e=Us(t),r=n<0,i=e?t.length:0,o=function(t,n,e){for(var r=-1,i=e.length;++r=this.__values__.length;return{done:t,value:t?i:this.__values__[this.__index__++]}},Ie.prototype.plant=function(t){for(var n,e=this;e instanceof Ne;){var r=Io(e);r.__index__=0,r.__values__=i,n?o.__wrapped__=r:n=r;var o=r;e=e.__wrapped__}return o.__wrapped__=t,n},Ie.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Fe){var n=t;return this.__actions__.length&&(n=new Fe(this)),(n=n.reverse()).__actions__.push({func:fs,args:[Qo],thisArg:i}),new Be(n,this.__chain__)}return this.thru(Qo)},Ie.prototype.toJSON=Ie.prototype.valueOf=Ie.prototype.value=function(){return hi(this.__wrapped__,this.__actions__)},Ie.prototype.first=Ie.prototype.head,Xt&&(Ie.prototype[Xt]=function(){return this}),Ie}();fn._=_e,(r=function(){return _e}.call(n,e,n,t))===i||(t.exports=r)}.call(this)},82856:(t,n,e)=>{var r=e(81078),i=e(55615),o=e(91996),s=e(69546);t.exports=function(t,n){return(s(t)?r:o)(t,i(n,3))}},3234:(t,n,e)=>{var r=e(32618),i=e(17623),o=e(55615);t.exports=function(t,n){var e={};return n=o(n,3),i(t,(function(t,i,o){r(e,i,n(t,i,o))})),e}},86295:(t,n,e)=>{var r=e(35817),i=e(78713),o=e(19568);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},2520:(t,n,e)=>{var r=e(52290);function i(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return e.cache=o.set(i,s)||o,s};return e.cache=new(i.Cache||r),e}i.Cache=r,t.exports=i},39488:(t,n,e)=>{var r=e(663),i=e(96921)((function(t,n,e){r(t,n,e)}));t.exports=i},74620:(t,n,e)=>{var r=e(35817),i=e(11856),o=e(19568);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},30257:(t,n,e)=>{var r=e(35817),i=e(55615),o=e(11856);t.exports=function(t,n){return t&&t.length?r(t,i(n,2),o):void 0}},5152:t=>{t.exports=function(){}},97127:(t,n,e)=>{var r=e(9649);t.exports=function(){return r.Date.now()}},82052:(t,n,e)=>{var r=e(72141),i=e(62722)((function(t,n){return null==t?{}:r(t,n)}));t.exports=i},36432:(t,n,e)=>{var r=e(81078),i=e(55615),o=e(33092),s=e(10478);t.exports=function(t,n){if(null==t)return{};var e=r(s(t),(function(t){return[t]}));return n=i(n),o(t,e,(function(t,e){return n(t,e[0])}))}},96730:(t,n,e)=>{var r=e(74430),i=e(12257),o=e(65677),s=e(25618);t.exports=function(t){return o(t)?r(s(t)):i(t)}},84769:(t,n,e)=>{var r=e(13694)();t.exports=r},97994:(t,n,e)=>{var r=e(4101),i=e(60836),o=e(55615),s=e(29501),a=e(69546);t.exports=function(t,n,e){var u=a(t)?r:s,c=arguments.length<3;return u(t,o(n,4),e,c,i)}},83236:(t,n,e)=>{var r=e(17338);t.exports=function(t,n,e){return null==t?t:r(t,n,e)}},16334:(t,n,e)=>{var r=e(59011),i=e(11970),o=e(46387),s=e(98689),a=e(68437);t.exports=function(t){if(null==t)return 0;if(o(t))return s(t)?a(t):t.length;var n=i(t);return"[object Map]"==n||"[object Set]"==n?t.size:r(t).length}},50449:(t,n,e)=>{var r=e(33169),i=e(14933),o=e(6359),s=e(51599),a=o((function(t,n){if(null==t)return[];var e=n.length;return e>1&&s(t,n[0],n[1])?n=[]:e>2&&s(n[0],n[1],n[2])&&(n=[n[0]]),i(t,r(n,1),[])}));t.exports=a},41258:t=>{t.exports=function(){return[]}},68854:t=>{t.exports=function(){return!1}},82675:(t,n,e)=>{var r=e(21795),i=e(34254);t.exports=function(t,n,e){return t&&t.length?(n=e||void 0===n?1:i(n),r(t,0,n<0?0:n)):[]}},52197:(t,n,e)=>{var r=e(72408),i=e(12289);t.exports=function(t,n,e){var o=!0,s=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return i(e)&&(o="leading"in e?!!e.leading:o,s="trailing"in e?!!e.trailing:s),r(t,n,{leading:o,maxWait:n,trailing:s})}},30510:(t,n,e)=>{var r=e(81696);t.exports=function(t){return t?Infinity===(t=r(t))||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},34254:(t,n,e)=>{var r=e(30510);t.exports=function(t){var n=r(t),e=n%1;return n==n?e?n-e:n:0}},81696:(t,n,e)=>{var r=e(56532),i=e(12289),o=e(42008),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(i(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=i(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var e=a.test(t);return e||u.test(t)?c(t.slice(2),e?2:8):s.test(t)?NaN:+t}},17602:(t,n,e)=>{var r=e(20322),i=e(14399);t.exports=function(t){return r(t,i(t))}},39244:(t,n,e)=>{var r=e(7874);t.exports=function(t){return null==t?"":r(t)}},52224:(t,n,e)=>{var r=e(78769),i=e(29395),o=e(17623),s=e(55615),a=e(65506),u=e(69546),c=e(80758),l=e(93331),h=e(12289),f=e(65739);t.exports=function(t,n,e){var d=u(t),_=d||c(t)||f(t);if(n=s(n,4),null==e){var p=t&&t.constructor;e=_?d?new p:[]:h(t)&&l(p)?i(a(t)):{}}return(_?r:o)(t,(function(t,r,i){return n(e,t,r,i)})),e}},27516:(t,n,e)=>{var r=e(33169),i=e(6359),o=e(92052),s=e(70071),a=i((function(t){return o(r(t,1,s,!0))}));t.exports=a},73967:(t,n,e)=>{var r=e(39244),i=0;t.exports=function(t){var n=++i;return r(t)+n}},72058:(t,n,e)=>{var r=e(12254),i=e(25961);t.exports=function(t){return null==t?[]:r(t,i(t))}},97652:(t,n,e)=>{var r=e(88902),i=e(1536);t.exports=function(t,n){return i(t||[],n||[],r)}},11467:(t,n,e)=>{"use strict";t.exports=e(91136)},7527:(t,n,e)=>{"use strict";t.exports=e(72059)},21134:t=>{"use strict";t.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","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},51970:t=>{"use strict";var n="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",e="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",r=new RegExp("^(?:"+n+"|"+e+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)"),i=new RegExp("^(?:"+n+"|"+e+")");t.exports.n=r,t.exports.q=i},97190:(t,n,e)=>{"use strict";var r=Object.prototype.hasOwnProperty;function i(t,n){return r.call(t,n)}function o(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||65535==(65535&t)||65534==(65535&t)||t>=0&&t<=8||11===t||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function s(t){if(t>65535){var n=55296+((t-=65536)>>10),e=56320+(1023&t);return String.fromCharCode(n,e)}return String.fromCharCode(t)}var a=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=new RegExp(a.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,l=e(7527),h=/[&<>"]/,f=/[&<>"]/g,d={"&":"&","<":"<",">":">",'"':"""};function _(t){return d[t]}var p=/[.?*+^$[\]\\(){}|-]/g,v=e(57104);n.lib={},n.lib.mdurl=e(60802),n.lib.ucmicro=e(54062),n.assign=function(t){return Array.prototype.slice.call(arguments,1).forEach((function(n){if(n){if("object"!=typeof n)throw new TypeError(n+"must be object");Object.keys(n).forEach((function(e){t[e]=n[e]}))}})),t},n.isString=function(t){return"[object String]"===function(t){return Object.prototype.toString.call(t)}(t)},n.has=i,n.unescapeMd=function(t){return t.indexOf("\\")<0?t:t.replace(a,"$1")},n.unescapeAll=function(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(u,(function(t,n,e){return n||function(t,n){var e=0;return i(l,n)?l[n]:35===n.charCodeAt(0)&&c.test(n)&&o(e="x"===n[1].toLowerCase()?parseInt(n.slice(2),16):parseInt(n.slice(1),10))?s(e):t}(t,e)}))},n.isValidEntityCode=o,n.fromCodePoint=s,n.escapeHtml=function(t){return h.test(t)?t.replace(f,_):t},n.arrayReplaceAt=function(t,n,e){return[].concat(t.slice(0,n),e,t.slice(n+1))},n.isSpace=function(t){switch(t){case 9:case 32:return!0}return!1},n.isWhiteSpace=function(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},n.isMdAsciiPunct=function(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},n.isPunctChar=function(t){return v.test(t)},n.escapeRE=function(t){return t.replace(p,"\\$&")},n.normalizeReference=function(t){return t=t.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}},75176:(t,n,e)=>{"use strict";n.parseLinkLabel=e(45940),n.parseLinkDestination=e(89213),n.parseLinkTitle=e(2593)},89213:(t,n,e)=>{"use strict";var r=e(97190).unescapeAll;t.exports=function(t,n,e){var i,o,s=n,a={ok:!1,pos:0,lines:0,str:""};if(60===t.charCodeAt(n)){for(n++;n{"use strict";t.exports=function(t,n,e){var r,i,o,s,a=-1,u=t.posMax,c=t.pos;for(t.pos=n+1,r=1;t.pos{"use strict";var r=e(97190).unescapeAll;t.exports=function(t,n,e){var i,o,s=0,a=n,u={ok:!1,pos:0,lines:0,str:""};if(n>=e)return u;if(34!==(o=t.charCodeAt(n))&&39!==o&&40!==o)return u;for(n++,40===o&&(o=41);n{"use strict";var r=e(97190),i=e(75176),o=e(3030),s=e(53376),a=e(61025),u=e(67328),c=e(62901),l=e(60802),h=e(7736),f={default:e(54493),zero:e(74836),commonmark:e(33015)},d=/^(vbscript|javascript|file|data):/,_=/^data:image\/(gif|png|jpeg|webp);/;function p(t){var n=t.trim().toLowerCase();return!d.test(n)||!!_.test(n)}var v=["http:","https:","mailto:"];function g(t){var n=l.parse(t,!0);if(n.hostname&&(!n.protocol||v.indexOf(n.protocol)>=0))try{n.hostname=h.toASCII(n.hostname)}catch(t){}return l.encode(l.format(n))}function m(t){var n=l.parse(t,!0);if(n.hostname&&(!n.protocol||v.indexOf(n.protocol)>=0))try{n.hostname=h.toUnicode(n.hostname)}catch(t){}return l.decode(l.format(n))}function y(t,n){if(!(this instanceof y))return new y(t,n);n||r.isString(t)||(n=t||{},t="default"),this.inline=new u,this.block=new a,this.core=new s,this.renderer=new o,this.linkify=new c,this.validateLink=p,this.normalizeLink=g,this.normalizeLinkText=m,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(t),n&&this.set(n)}y.prototype.set=function(t){return r.assign(this.options,t),this},y.prototype.configure=function(t){var n,e=this;if(r.isString(t)&&!(t=f[n=t]))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach((function(n){t.components[n].rules&&e[n].ruler.enableOnly(t.components[n].rules),t.components[n].rules2&&e[n].ruler2.enableOnly(t.components[n].rules2)})),this},y.prototype.enable=function(t,n){var e=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(n){e=e.concat(this[n].ruler.enable(t,!0))}),this),e=e.concat(this.inline.ruler2.enable(t,!0));var r=t.filter((function(t){return e.indexOf(t)<0}));if(r.length&&!n)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},y.prototype.disable=function(t,n){var e=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(n){e=e.concat(this[n].ruler.disable(t,!0))}),this),e=e.concat(this.inline.ruler2.disable(t,!0));var r=t.filter((function(t){return e.indexOf(t)<0}));if(r.length&&!n)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},y.prototype.use=function(t){var n=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,n),this},y.prototype.parse=function(t,n){if("string"!=typeof t)throw new Error("Input data should be a String");var e=new this.core.State(t,this,n);return this.core.process(e),e.tokens},y.prototype.render=function(t,n){return n=n||{},this.renderer.render(this.parse(t,n),this.options,n)},y.prototype.parseInline=function(t,n){var e=new this.core.State(t,this,n);return e.inlineMode=!0,this.core.process(e),e.tokens},y.prototype.renderInline=function(t,n){return n=n||{},this.renderer.render(this.parseInline(t,n),this.options,n)},t.exports=y},61025:(t,n,e)=>{"use strict";var r=e(63299),i=[["table",e(15891),["paragraph","reference"]],["code",e(89911)],["fence",e(9255),["paragraph","reference","blockquote","list"]],["blockquote",e(41961),["paragraph","reference","blockquote","list"]],["hr",e(6895),["paragraph","reference","blockquote","list"]],["list",e(51199),["paragraph","reference","blockquote"]],["reference",e(33943)],["heading",e(10690),["paragraph","reference","blockquote"]],["lheading",e(1781)],["html_block",e(71371),["paragraph","reference","blockquote"]],["paragraph",e(66599)]];function o(){this.ruler=new r;for(var t=0;t=e))&&!(t.sCount[s]=u){t.line=e;break}for(r=0;r{"use strict";var r=e(63299),i=[["normalize",e(80913)],["block",e(88938)],["inline",e(52717)],["linkify",e(58425)],["replacements",e(36125)],["smartquotes",e(17584)]];function o(){this.ruler=new r;for(var t=0;t{"use strict";var r=e(63299),i=[["text",e(15747)],["newline",e(48162)],["escape",e(38607)],["backticks",e(29112)],["strikethrough",e(16264).w],["emphasis",e(48303).w],["link",e(70438)],["image",e(9257)],["autolink",e(76754)],["html_inline",e(62853)],["entity",e(21645)]],o=[["balance_pairs",e(59202)],["strikethrough",e(16264).g],["emphasis",e(48303).g],["text_collapse",e(8324)]];function s(){var t;for(this.ruler=new r,t=0;t=o)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},s.prototype.parse=function(t,n,e,r){var i,o,s,a=new this.State(t,n,e,r);for(this.tokenize(a),s=(o=this.ruler2.getRules("")).length,i=0;i{"use strict";t.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},54493:t=>{"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},74836:t=>{"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},3030:(t,n,e)=>{"use strict";var r=e(97190).assign,i=e(97190).unescapeAll,o=e(97190).escapeHtml,s={};function a(){this.rules=r({},s)}s.code_inline=function(t,n,e,r,i){var s=t[n];return""+o(t[n].content)+""},s.code_block=function(t,n,e,r,i){var s=t[n];return""+o(t[n].content)+"\n"},s.fence=function(t,n,e,r,s){var a,u,c,l,h=t[n],f=h.info?i(h.info).trim():"",d="";return f&&(d=f.split(/\s+/g)[0]),0===(a=e.highlight&&e.highlight(h.content,d)||o(h.content)).indexOf(""+a+"\n"):"
"+a+"
\n"},s.image=function(t,n,e,r,i){var o=t[n];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,e,r),i.renderToken(t,n,e)},s.hardbreak=function(t,n,e){return e.xhtmlOut?"
\n":"
\n"},s.softbreak=function(t,n,e){return e.breaks?e.xhtmlOut?"
\n":"
\n":"\n"},s.text=function(t,n){return o(t[n].content)},s.html_block=function(t,n){return t[n].content},s.html_inline=function(t,n){return t[n].content},a.prototype.renderAttrs=function(t){var n,e,r;if(!t.attrs)return"";for(r="",n=0,e=t.attrs.length;n\n":">")},a.prototype.renderInline=function(t,n,e){for(var r,i="",o=this.rules,s=0,a=t.length;s{"use strict";function n(){this.__rules__=[],this.__cache__=null}n.prototype.__find__=function(t){for(var n=0;n{"use strict";var r=e(97190).isSpace;t.exports=function(t,n,e,i){var o,s,a,u,c,l,h,f,d,_,p,v,g,m,y,w,b,x,k,S,C=t.lineMax,$=t.bMarks[n]+t.tShift[n],E=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4)return!1;if(62!==t.src.charCodeAt($++))return!1;if(i)return!0;for(u=d=t.sCount[n]+1,32===t.src.charCodeAt($)?($++,u++,d++,o=!1,w=!0):9===t.src.charCodeAt($)?(w=!0,(t.bsCount[n]+d)%4==3?($++,u++,d++,o=!1):o=!0):w=!1,_=[t.bMarks[n]],t.bMarks[n]=$;$=E,m=[t.sCount[n]],t.sCount[n]=d-u,y=[t.tShift[n]],t.tShift[n]=$-t.bMarks[n],x=t.md.block.ruler.getRules("blockquote"),g=t.parentType,t.parentType="blockquote",f=n+1;f=(E=t.eMarks[f])));f++)if(62!==t.src.charCodeAt($++)||S){if(l)break;for(b=!1,a=0,c=x.length;a=E,p.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(w?1:0),m.push(t.sCount[f]),t.sCount[f]=d-u,y.push(t.tShift[f]),t.tShift[f]=$-t.bMarks[f]}for(v=t.blkIndent,t.blkIndent=0,(k=t.push("blockquote_open","blockquote",1)).markup=">",k.map=h=[n,0],t.md.block.tokenize(t,n,f),(k=t.push("blockquote_close","blockquote",-1)).markup=">",t.lineMax=C,t.parentType=g,h[1]=t.line,a=0;a{"use strict";t.exports=function(t,n,e){var r,i,o;if(t.sCount[n]-t.blkIndent<4)return!1;for(i=r=n+1;r=4))break;i=++r}return t.line=i,(o=t.push("code_block","code",0)).content=t.getLines(n,i,4+t.blkIndent,!0),o.map=[n,t.line],!0}},9255:t=>{"use strict";t.exports=function(t,n,e,r){var i,o,s,a,u,c,l,h=!1,f=t.bMarks[n]+t.tShift[n],d=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4)return!1;if(f+3>d)return!1;if(126!==(i=t.src.charCodeAt(f))&&96!==i)return!1;if(u=f,(o=(f=t.skipChars(f,i))-u)<3)return!1;if(l=t.src.slice(u,f),s=t.src.slice(f,d),96===i&&s.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(a=n;!(++a>=e||(f=u=t.bMarks[a]+t.tShift[a])<(d=t.eMarks[a])&&t.sCount[a]=4||(f=t.skipChars(f,i))-u{"use strict";var r=e(97190).isSpace;t.exports=function(t,n,e,i){var o,s,a,u,c=t.bMarks[n]+t.tShift[n],l=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4)return!1;if(35!==(o=t.src.charCodeAt(c))||c>=l)return!1;for(s=1,o=t.src.charCodeAt(++c);35===o&&c6||cc&&r(t.src.charCodeAt(a-1))&&(l=a),t.line=n+1,(u=t.push("heading_open","h"+String(s),1)).markup="########".slice(0,s),u.map=[n,t.line],(u=t.push("inline","",0)).content=t.src.slice(c,l).trim(),u.map=[n,t.line],u.children=[],(u=t.push("heading_close","h"+String(s),-1)).markup="########".slice(0,s)),0))}},6895:(t,n,e)=>{"use strict";var r=e(97190).isSpace;t.exports=function(t,n,e,i){var o,s,a,u,c=t.bMarks[n]+t.tShift[n],l=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4)return!1;if(42!==(o=t.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(s=1;c{"use strict";var r=e(21134),i=e(51970).q,o=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(t,n,e,r){var i,s,a,u,c=t.bMarks[n]+t.tShift[n],l=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4)return!1;if(!t.md.options.html)return!1;if(60!==t.src.charCodeAt(c))return!1;for(u=t.src.slice(c,l),i=0;i{"use strict";t.exports=function(t,n,e){var r,i,o,s,a,u,c,l,h,f,d=n+1,_=t.md.block.ruler.getRules("paragraph");if(t.sCount[n]-t.blkIndent>=4)return!1;for(f=t.parentType,t.parentType="paragraph";d3)){if(t.sCount[d]>=t.blkIndent&&(u=t.bMarks[d]+t.tShift[d])<(c=t.eMarks[d])&&(45===(h=t.src.charCodeAt(u))||61===h)&&(u=t.skipChars(u,h),(u=t.skipSpaces(u))>=c)){l=61===h?1:2;break}if(!(t.sCount[d]<0)){for(i=!1,o=0,s=_.length;o{"use strict";var r=e(97190).isSpace;function i(t,n){var e,i,o,s;return i=t.bMarks[n]+t.tShift[n],o=t.eMarks[n],42!==(e=t.src.charCodeAt(i++))&&45!==e&&43!==e||i=s)return-1;if((e=t.src.charCodeAt(o++))<48||e>57)return-1;for(;;){if(o>=s)return-1;if(!((e=t.src.charCodeAt(o++))>=48&&e<=57)){if(41===e||46===e)break;return-1}if(o-i>=10)return-1}return o=4)return!1;if(t.listIndent>=0&&t.sCount[n]-t.listIndent>=4&&t.sCount[n]=t.blkIndent&&(P=!0),(M=o(t,n))>=0){if(f=!0,T=t.bMarks[n]+t.tShift[n],m=Number(t.src.substr(T,M-T-1)),P&&1!==m)return!1}else{if(!((M=i(t,n))>=0))return!1;f=!1}if(P&&t.skipSpaces(M)>=t.eMarks[n])return!1;if(g=t.src.charCodeAt(M-1),r)return!0;for(v=t.tokens.length,f?(q=t.push("ordered_list_open","ol",1),1!==m&&(q.attrs=[["start",m]])):q=t.push("bullet_list_open","ul",1),q.map=p=[n,0],q.markup=String.fromCharCode(g),w=n,z=!1,A=t.md.block.ruler.getRules("list"),k=t.parentType,t.parentType="list";w=y?1:b-h)>4&&(l=1),c=h+l,(q=t.push("list_item_open","li",1)).markup=String.fromCharCode(g),q.map=d=[n,0],$=t.tight,C=t.tShift[n],S=t.sCount[n],x=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=c,t.tight=!0,t.tShift[n]=a-t.bMarks[n],t.sCount[n]=b,a>=y&&t.isEmpty(n+1)?t.line=Math.min(t.line+2,e):t.md.block.tokenize(t,n,e,!0),t.tight&&!z||(R=!1),z=t.line-n>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=x,t.tShift[n]=C,t.sCount[n]=S,t.tight=$,(q=t.push("list_item_close","li",-1)).markup=String.fromCharCode(g),w=n=t.line,d[1]=w,a=t.bMarks[n],w>=e)break;if(t.sCount[w]=4)break;for(j=!1,u=0,_=A.length;u<_;u++)if(A[u](t,w,e,!0)){j=!0;break}if(j)break;if(f){if((M=o(t,w))<0)break}else if((M=i(t,w))<0)break;if(g!==t.src.charCodeAt(M-1))break}return(q=f?t.push("ordered_list_close","ol",-1):t.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(g),p[1]=w,t.line=w,t.parentType=k,R&&function(t,n){var e,r,i=t.level+2;for(e=n+2,r=t.tokens.length-2;e{"use strict";t.exports=function(t,n){var e,r,i,o,s,a,u=n+1,c=t.md.block.ruler.getRules("paragraph"),l=t.lineMax;for(a=t.parentType,t.parentType="paragraph";u3||t.sCount[u]<0)){for(r=!1,i=0,o=c.length;i{"use strict";var r=e(97190).normalizeReference,i=e(97190).isSpace;t.exports=function(t,n,e,o){var s,a,u,c,l,h,f,d,_,p,v,g,m,y,w,b,x=0,k=t.bMarks[n]+t.tShift[n],S=t.eMarks[n],C=n+1;if(t.sCount[n]-t.blkIndent>=4)return!1;if(91!==t.src.charCodeAt(k))return!1;for(;++k3||t.sCount[C]<0)){for(y=!1,h=0,f=w.length;h{"use strict";var r=e(94667),i=e(97190).isSpace;function o(t,n,e,r){var o,s,a,u,c,l,h,f;for(this.src=t,this.md=n,this.env=e,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",f=!1,a=u=l=h=0,c=(s=this.src).length;u0&&this.level++,this.tokens.push(i),i},o.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},o.prototype.skipEmptyLines=function(t){for(var n=this.lineMax;tn;)if(!i(this.src.charCodeAt(--t)))return t+1;return t},o.prototype.skipChars=function(t,n){for(var e=this.src.length;te;)if(n!==this.src.charCodeAt(--t))return t+1;return t},o.prototype.getLines=function(t,n,e,r){var o,s,a,u,c,l,h,f=t;if(t>=n)return"";for(l=new Array(n-t),o=0;fe?new Array(s-e+1).join(" ")+this.src.slice(u,c):this.src.slice(u,c)}return l.join("")},o.prototype.Token=r,t.exports=o},15891:(t,n,e)=>{"use strict";var r=e(97190).isSpace;function i(t,n){var e=t.bMarks[n]+t.blkIndent,r=t.eMarks[n];return t.src.substr(e,r-e)}function o(t){var n,e=[],r=0,i=t.length,o=0,s=0,a=!1,u=0;for(n=t.charCodeAt(r);re)return!1;if(h=n+1,t.sCount[h]=4)return!1;if((c=t.bMarks[h]+t.tShift[h])>=t.eMarks[h])return!1;if(124!==(a=t.src.charCodeAt(c++))&&45!==a&&58!==a)return!1;for(;c=4)return!1;if((d=(f=o(u.replace(/^\||\|$/g,""))).length)>p.length)return!1;if(s)return!0;for((_=t.push("table_open","table",1)).map=g=[n,0],(_=t.push("thead_open","thead",1)).map=[n,n+1],(_=t.push("tr_open","tr",1)).map=[n,n+1],l=0;l=4);h++){for(f=o(u.replace(/^\||\|$/g,"")),_=t.push("tr_open","tr",1),l=0;l{"use strict";t.exports=function(t){var n;t.inlineMode?((n=new t.Token("inline","",0)).content=t.src,n.map=[0,1],n.children=[],t.tokens.push(n)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}},52717:t=>{"use strict";t.exports=function(t){var n,e,r,i=t.tokens;for(e=0,r=i.length;e{"use strict";var r=e(97190).arrayReplaceAt;function i(t){return/^<\/a\s*>/i.test(t)}t.exports=function(t){var n,e,o,s,a,u,c,l,h,f,d,_,p,v,g,m,y,w,b=t.tokens;if(t.md.options.linkify)for(e=0,o=b.length;e=0;n--)if("link_close"!==(u=s[n]).type){if("html_inline"===u.type&&(w=u.content,/^\s]/i.test(w)&&p>0&&p--,i(u.content)&&p++),!(p>0)&&"text"===u.type&&t.md.linkify.test(u.content)){for(h=u.content,y=t.md.linkify.match(h),c=[],_=u.level,d=0,l=0;ld&&((a=new t.Token("text","",0)).content=h.slice(d,f),a.level=_,c.push(a)),(a=new t.Token("link_open","a",1)).attrs=[["href",g]],a.level=_++,a.markup="linkify",a.info="auto",c.push(a),(a=new t.Token("text","",0)).content=m,a.level=_,c.push(a),(a=new t.Token("link_close","a",-1)).level=--_,a.markup="linkify",a.info="auto",c.push(a),d=y[l].lastIndex);d{"use strict";var n=/\r\n?|\n/g,e=/\0/g;t.exports=function(t){var r;r=(r=t.src.replace(n,"\n")).replace(e,"�"),t.src=r}},36125:t=>{"use strict";var n=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,e=/\((c|tm|r|p)\)/i,r=/\((c|tm|r|p)\)/gi,i={c:"©",r:"®",p:"§",tm:"™"};function o(t,n){return i[n.toLowerCase()]}function s(t){var n,e,i=0;for(n=t.length-1;n>=0;n--)"text"!==(e=t[n]).type||i||(e.content=e.content.replace(r,o)),"link_open"===e.type&&"auto"===e.info&&i--,"link_close"===e.type&&"auto"===e.info&&i++}function a(t){var e,r,i=0;for(e=t.length-1;e>=0;e--)"text"!==(r=t[e]).type||i||n.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&i--,"link_close"===r.type&&"auto"===r.info&&i++}t.exports=function(t){var r;if(t.md.options.typographer)for(r=t.tokens.length-1;r>=0;r--)"inline"===t.tokens[r].type&&(e.test(t.tokens[r].content)&&s(t.tokens[r].children),n.test(t.tokens[r].content)&&a(t.tokens[r].children))}},17584:(t,n,e)=>{"use strict";var r=e(97190).isWhiteSpace,i=e(97190).isPunctChar,o=e(97190).isMdAsciiPunct,s=/['"]/,a=/['"]/g;function u(t,n,e){return t.substr(0,n)+e+t.substr(n+1)}function c(t,n){var e,s,c,l,h,f,d,_,p,v,g,m,y,w,b,x,k,S,C,$,E;for(C=[],e=0;e=0&&!(C[k].level<=d);k--);if(C.length=k+1,"text"===s.type){h=0,f=(c=s.content).length;t:for(;h=0)p=c.charCodeAt(l.index-1);else for(k=e-1;k>=0&&"softbreak"!==t[k].type&&"hardbreak"!==t[k].type;k--)if(t[k].content){p=t[k].content.charCodeAt(t[k].content.length-1);break}if(v=32,h=48&&p<=57&&(x=b=!1),b&&x&&(b=g,x=m),b||x){if(x)for(k=C.length-1;k>=0&&(_=C[k],!(C[k].level=0;n--)"inline"===t.tokens[n].type&&s.test(t.tokens[n].content)&&c(t.tokens[n].children,t)}},64693:(t,n,e)=>{"use strict";var r=e(94667);function i(t,n,e){this.src=t,this.env=e,this.tokens=[],this.inlineMode=!1,this.md=n}i.prototype.Token=r,t.exports=i},76754:t=>{"use strict";var n=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,e=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(t,r){var i,o,s,a,u,c,l=t.pos;return!(60!==t.src.charCodeAt(l)||(i=t.src.slice(l)).indexOf(">")<0||(e.test(i)?(a=(o=i.match(e))[0].slice(1,-1),u=t.md.normalizeLink(a),!t.md.validateLink(u)||(r||((c=t.push("link_open","a",1)).attrs=[["href",u]],c.markup="autolink",c.info="auto",(c=t.push("text","",0)).content=t.md.normalizeLinkText(a),(c=t.push("link_close","a",-1)).markup="autolink",c.info="auto"),t.pos+=o[0].length,0)):!n.test(i)||(a=(s=i.match(n))[0].slice(1,-1),u=t.md.normalizeLink("mailto:"+a),!t.md.validateLink(u)||(r||((c=t.push("link_open","a",1)).attrs=[["href",u]],c.markup="autolink",c.info="auto",(c=t.push("text","",0)).content=t.md.normalizeLinkText(a),(c=t.push("link_close","a",-1)).markup="autolink",c.info="auto"),t.pos+=s[0].length,0))))}},29112:t=>{"use strict";t.exports=function(t,n){var e,r,i,o,s,a,u=t.pos;if(96!==t.src.charCodeAt(u))return!1;for(e=u,u++,r=t.posMax;u{"use strict";function n(t,n){var e,r,i,o,s,a,u,c,l={},h=n.length;for(e=0;es;r-=o.jump+1)if((o=n[r]).marker===i.marker&&(-1===a&&(a=r),o.open&&o.end<0&&(u=!1,(o.close||i.open)&&(o.length+i.length)%3==0&&(o.length%3==0&&i.length%3==0||(u=!0)),!u))){c=r>0&&!n[r-1].open?n[r-1].jump+1:0,i.jump=e-r+c,i.open=!1,o.end=e,o.jump=c,o.close=!1,a=-1;break}-1!==a&&(l[i.marker][(i.length||0)%3]=a)}}t.exports=function(t){var e,r=t.tokens_meta,i=t.tokens_meta.length;for(n(0,t.delimiters),e=0;e{"use strict";function n(t,n){var e,r,i,o,s,a;for(e=n.length-1;e>=0;e--)95!==(r=n[e]).marker&&42!==r.marker||-1!==r.end&&(i=n[r.end],a=e>0&&n[e-1].end===r.end+1&&n[e-1].token===r.token-1&&n[r.end+1].token===i.token+1&&n[e-1].marker===r.marker,s=String.fromCharCode(r.marker),(o=t.tokens[r.token]).type=a?"strong_open":"em_open",o.tag=a?"strong":"em",o.nesting=1,o.markup=a?s+s:s,o.content="",(o=t.tokens[i.token]).type=a?"strong_close":"em_close",o.tag=a?"strong":"em",o.nesting=-1,o.markup=a?s+s:s,o.content="",a&&(t.tokens[n[e-1].token].content="",t.tokens[n[r.end+1].token].content="",e--))}t.exports.w=function(t,n){var e,r,i=t.pos,o=t.src.charCodeAt(i);if(n)return!1;if(95!==o&&42!==o)return!1;for(r=t.scanDelims(t.pos,42===o),e=0;e{"use strict";var r=e(7527),i=e(97190).has,o=e(97190).isValidEntityCode,s=e(97190).fromCodePoint,a=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,u=/^&([a-z][a-z0-9]{1,31});/i;t.exports=function(t,n){var e,c,l=t.pos,h=t.posMax;if(38!==t.src.charCodeAt(l))return!1;if(l+1{"use strict";for(var r=e(97190).isSpace,i=[],o=0;o<256;o++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(t){i[t.charCodeAt(0)]=1})),t.exports=function(t,n){var e,o=t.pos,s=t.posMax;if(92!==t.src.charCodeAt(o))return!1;if(++o{"use strict";var r=e(51970).n;t.exports=function(t,n){var e,i,o,s=t.pos;return!(!t.md.options.html||(o=t.posMax,60!==t.src.charCodeAt(s)||s+2>=o||33!==(e=t.src.charCodeAt(s+1))&&63!==e&&47!==e&&!function(t){var n=32|t;return n>=97&&n<=122}(e)||!(i=t.src.slice(s).match(r))||(n||(t.push("html_inline","",0).content=t.src.slice(s,s+i[0].length)),t.pos+=i[0].length,0)))}},9257:(t,n,e)=>{"use strict";var r=e(97190).normalizeReference,i=e(97190).isSpace;t.exports=function(t,n){var e,o,s,a,u,c,l,h,f,d,_,p,v,g="",m=t.pos,y=t.posMax;if(33!==t.src.charCodeAt(t.pos))return!1;if(91!==t.src.charCodeAt(t.pos+1))return!1;if(c=t.pos+2,(u=t.md.helpers.parseLinkLabel(t,t.pos+1,!1))<0)return!1;if((l=u+1)=y)return!1;for(v=l,(f=t.md.helpers.parseLinkDestination(t.src,l,t.posMax)).ok&&(g=t.md.normalizeLink(f.str),t.md.validateLink(g)?l=f.pos:g=""),v=l;l=y||41!==t.src.charCodeAt(l))return t.pos=m,!1;l++}else{if(void 0===t.env.references)return!1;if(l=0?a=t.src.slice(v,l++):l=u+1):l=u+1,a||(a=t.src.slice(c,u)),!(h=t.env.references[r(a)]))return t.pos=m,!1;g=h.href,d=h.title}return n||(s=t.src.slice(c,u),t.md.inline.parse(s,t.md,t.env,p=[]),(_=t.push("image","img",0)).attrs=e=[["src",g],["alt",""]],_.children=p,_.content=s,d&&e.push(["title",d])),t.pos=l,t.posMax=y,!0}},70438:(t,n,e)=>{"use strict";var r=e(97190).normalizeReference,i=e(97190).isSpace;t.exports=function(t,n){var e,o,s,a,u,c,l,h,f,d="",_=t.pos,p=t.posMax,v=t.pos,g=!0;if(91!==t.src.charCodeAt(t.pos))return!1;if(u=t.pos+1,(a=t.md.helpers.parseLinkLabel(t,t.pos,!0))<0)return!1;if((c=a+1)=p)return!1;for(v=c,(l=t.md.helpers.parseLinkDestination(t.src,c,t.posMax)).ok&&(d=t.md.normalizeLink(l.str),t.md.validateLink(d)?c=l.pos:d=""),v=c;c=p||41!==t.src.charCodeAt(c))&&(g=!0),c++}if(g){if(void 0===t.env.references)return!1;if(c=0?s=t.src.slice(v,c++):c=a+1):c=a+1,s||(s=t.src.slice(u,a)),!(h=t.env.references[r(s)]))return t.pos=_,!1;d=h.href,f=h.title}return n||(t.pos=u,t.posMax=a,t.push("link_open","a",1).attrs=e=[["href",d]],f&&e.push(["title",f]),t.md.inline.tokenize(t),t.push("link_close","a",-1)),t.pos=c,t.posMax=p,!0}},48162:(t,n,e)=>{"use strict";var r=e(97190).isSpace;t.exports=function(t,n){var e,i,o=t.pos;if(10!==t.src.charCodeAt(o))return!1;for(e=t.pending.length-1,i=t.posMax,n||(e>=0&&32===t.pending.charCodeAt(e)?e>=1&&32===t.pending.charCodeAt(e-1)?(t.pending=t.pending.replace(/ +$/,""),t.push("hardbreak","br",0)):(t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0)):t.push("softbreak","br",0)),o++;o{"use strict";var r=e(94667),i=e(97190).isWhiteSpace,o=e(97190).isPunctChar,s=e(97190).isMdAsciiPunct;function a(t,n,e,r){this.src=t,this.env=e,this.md=n,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[]}a.prototype.pushPending=function(){var t=new r("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},a.prototype.push=function(t,n,e){this.pending&&this.pushPending();var i=new r(t,n,e),o=null;return e<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,e>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(o),i},a.prototype.scanDelims=function(t,n){var e,r,a,u,c,l,h,f,d,_=t,p=!0,v=!0,g=this.posMax,m=this.src.charCodeAt(t);for(e=t>0?this.src.charCodeAt(t-1):32;_{"use strict";function n(t,n){var e,r,i,o,s,a=[],u=n.length;for(e=0;e{"use strict";function n(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}t.exports=function(t,e){for(var r=t.pos;r{"use strict";t.exports=function(t){var n,e,r=0,i=t.tokens,o=t.tokens.length;for(n=e=0;n0&&r++,"text"===i[n].type&&n+1{"use strict";function n(t,n,e){this.type=t,this.tag=n,this.attrs=null,this.map=null,this.nesting=e,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}n.prototype.attrIndex=function(t){var n,e,r;if(!this.attrs)return-1;for(e=0,r=(n=this.attrs).length;e=0&&(e=this.attrs[n][1]),e},n.prototype.attrJoin=function(t,n){var e=this.attrIndex(t);e<0?this.attrPush([t,n]):this.attrs[e][1]=this.attrs[e][1]+" "+n},t.exports=n},97038:t=>{"use strict";var n={};function e(t,r){var i;return"string"!=typeof r&&(r=e.defaultChars),i=function(t){var e,r,i=n[t];if(i)return i;for(i=n[t]=[],e=0;e<128;e++)r=String.fromCharCode(e),i.push(r);for(e=0;e=55296&&u<=57343?"���":String.fromCharCode(u),n+=6):240==(248&r)&&n+91114111?c+="����":(u-=65536,c+=String.fromCharCode(55296+(u>>10),56320+(1023&u))),n+=9):c+="�";return c}))}e.defaultChars=";/?:@&=+$,#",e.componentChars="",t.exports=e},94046:t=>{"use strict";var n={};function e(t,r,i){var o,s,a,u,c,l="";for("string"!=typeof r&&(i=r,r=e.defaultChars),void 0===i&&(i=!0),c=function(t){var e,r,i=n[t];if(i)return i;for(i=n[t]=[],e=0;e<128;e++)r=String.fromCharCode(e),/^[0-9a-z]$/i.test(r)?i.push(r):i.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e=55296&&a<=57343){if(a>=55296&&a<=56319&&o+1=56320&&u<=57343){l+=encodeURIComponent(t[o]+t[o+1]),o++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(t[o]);return l}e.defaultChars=";/?:@&=+$,-_.!~*'()#",e.componentChars="-_.!~*'()",t.exports=e},84521:t=>{"use strict";t.exports=function(t){var n="";return n+=t.protocol||"",n+=t.slashes?"//":"",n+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?n+="["+t.hostname+"]":n+=t.hostname||"",n+=t.port?":"+t.port:"",n+=t.pathname||"",(n+=t.search||"")+(t.hash||"")}},60802:(t,n,e)=>{"use strict";t.exports.encode=e(94046),t.exports.decode=e(97038),t.exports.format=e(84521),t.exports.parse=e(845)},845:t=>{"use strict";function n(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var e=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,i=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(o),a=["%","/","?",";","#"].concat(s),u=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,l=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};n.prototype.parse=function(t,n){var r,o,s,d,_,p=t;if(p=p.trim(),!n&&1===t.split("#").length){var v=i.exec(p);if(v)return this.pathname=v[1],v[2]&&(this.search=v[2]),this}var g=e.exec(p);if(g&&(s=(g=g[0]).toLowerCase(),this.protocol=g,p=p.substr(g.length)),(n||g||p.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(_="//"===p.substr(0,2))||g&&h[g]||(p=p.substr(2),this.slashes=!0)),!h[g]&&(_||g&&!f[g])){var m,y,w=-1;for(r=0;r127?C+="x":C+=S[$];if(!C.match(c)){var M=k.slice(0,r),z=k.slice(r+1),T=S.match(l);T&&(M.push(T[1]),z.unshift(T[2])),z.length&&(p=z.join(".")+p),this.hostname=M.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var j=p.indexOf("#");-1!==j&&(this.hash=p.substr(j),p=p.slice(0,j));var A=p.indexOf("?");return-1!==A&&(this.search=p.substr(A),p=p.slice(0,A)),p&&(this.pathname=p),f[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},n.prototype.parseHost=function(t){var n=r.exec(t);n&&(":"!==(n=n[0])&&(this.port=n.substr(1)),t=t.substr(0,t.length-n.length)),t&&(this.hostname=t)},t.exports=function(t,e){if(t&&t instanceof n)return t;var r=new n;return r.parse(t,e),r}},57730:(t,n,e)=>{"use strict";var r=e(12017);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,n,e,i,o,s){if(s!==r){var a=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 a.name="Invariant Violation",a}}function n(){return t}t.isRequired=t;var e={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:n,element:t,elementType:t,instanceOf:n,node:t,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:o,resetWarningCache:i};return e.PropTypes=e,e}},97641:(t,n,e)=>{t.exports=e(57730)()},12017:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7736:(t,n,e)=>{"use strict";e.r(n),e.d(n,{decode:()=>g,default:()=>b,encode:()=>m,toASCII:()=>w,toUnicode:()=>y,ucs2decode:()=>d,ucs2encode:()=>_});const r=2147483647,i=36,o=/^xn--/,s=/[^\0-\x7E]/,a=/[\x2E\u3002\uFF0E\uFF61]/g,u={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,l=String.fromCharCode;function h(t){throw new RangeError(u[t])}function f(t,n){const e=t.split("@");let r="";e.length>1&&(r=e[0]+"@",t=e[1]);const i=function(t,n){const e=[];let r=t.length;for(;r--;)e[r]=n(t[r]);return e}((t=t.replace(a,".")).split("."),n).join(".");return r+i}function d(t){const n=[];let e=0;const r=t.length;for(;e=55296&&i<=56319&&eString.fromCodePoint(...t),p=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},v=function(t,n,e){let r=0;for(t=e?c(t/700):t>>1,t+=c(t/n);t>455;r+=i)t=c(t/35);return c(r+36*t/(t+38))},g=function(t){const n=[],e=t.length;let o=0,s=128,a=72,u=t.lastIndexOf("-");u<0&&(u=0);for(let e=0;e=128&&h("not-basic"),n.push(t.charCodeAt(e));for(let f=u>0?u+1:0;f=e&&h("invalid-input");const u=(l=t.charCodeAt(f++))-48<10?l-22:l-65<26?l-65:l-97<26?l-97:i;(u>=i||u>c((r-o)/n))&&h("overflow"),o+=u*n;const d=s<=a?1:s>=a+26?26:s-a;if(uc(r/_)&&h("overflow"),n*=_}const d=n.length+1;a=v(o-u,d,0==u),c(o/d)>r-s&&h("overflow"),s+=c(o/d),o%=d,n.splice(o++,0,s)}var l;return String.fromCodePoint(...n)},m=function(t){const n=[];let e=(t=d(t)).length,o=128,s=0,a=72;for(const e of t)e<128&&n.push(l(e));let u=n.length,f=u;for(u&&n.push("-");f=o&&nc((r-s)/d)&&h("overflow"),s+=(e-o)*d,o=e;for(const e of t)if(er&&h("overflow"),e==o){let t=s;for(let e=i;;e+=i){const r=e<=a?1:e>=a+26?26:e-a;if(t0&&this.handleMarkers(x);var $=this.editor.$options;l.editorOptions.forEach((function(n){$.hasOwnProperty(n)?t.editor.setOption(n,t.props[n]):t.props[n]&&console.warn("ReactAce: editor option "+n+" was activated but not found. Did you need to import a related tool or did you possibly mispell the option?")})),this.handleOptions(this.props),Array.isArray(w)&&w.forEach((function(n){"string"==typeof n.exec?t.editor.commands.bindKey(n.bindKey,n.exec):t.editor.commands.addCommand(n)})),m&&this.editor.setKeyboardHandler("ace/keyboard/"+m),e&&(this.refEditor.className+=" "+e),y&&y(this.editor),this.editor.resize(),s&&this.editor.focus()},n.prototype.componentDidUpdate=function(t){for(var n=t,e=this.props,r=0;r{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getAceInstance=n.debounce=n.editorEvents=n.editorOptions=void 0,n.editorOptions=["minLines","maxLines","readOnly","highlightActiveLine","tabSize","enableBasicAutocompletion","enableLiveAutocompletion","enableSnippets"],n.editorEvents=["onChange","onFocus","onInput","onBlur","onCopy","onPaste","onSelectionChange","onCursorChange","onScroll","handleOptions","updateRef"],n.getAceInstance=function(){var t;return"undefined"==typeof window?(e.g.window={},t=e(33127),delete e.g.window):window.ace?(t=window.ace).acequire=window.ace.require||window.ace.acequire:t=e(33127),t},n.debounce=function(t,n){var e=null;return function(){var r=this,i=arguments;clearTimeout(e),e=setTimeout((function(){t.apply(r,i)}),n)}}},40674:(t,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.diff=n.split=void 0;var r=e(19668),i=e(32091);n.diff=i.default;var o=e(52922);n.split=o.default,n.default=r.default},52922:function(t,n,e){"use strict";var r,i=this&&this.__extends||(r=function(t,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},r(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}),o=this&&this.__assign||function(){return o=Object.assign||function(t){for(var n,e=1,r=arguments.length;e0&&t.handleMarkers(b,n),r=0;r{"use strict";var r=e(67113);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,n,e,i,o,s){if(s!==r){var a=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 a.name="Invariant Violation",a}}function n(){return t}t.isRequired=t;var e={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:n,element:t,elementType:t,instanceOf:n,node:t,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:o,resetWarningCache:i};return e.PropTypes=e,e}},66491:(t,n,e)=>{t.exports=e(97462)()},67113:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6713:(t,n,e)=>{"use strict";e.r(n),e.d(n,{Handles:()=>O,Rail:()=>L,Slider:()=>Z,Ticks:()=>N,Tracks:()=>F,mode1:()=>j,mode2:()=>A,mode3:()=>q});var r=e(66204),i=e(92879),o=e.n(i),s=Math.sqrt(50),a=Math.sqrt(10),u=Math.sqrt(2);function c(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function l(t,n){for(var e=0;et.length)&&(n=t.length);for(var e=0,r=new Array(n);e0&&void 0!==arguments[0]&&arguments[0];return function(n,e){return n.val>e.val?t?-1:1:e.val>n.val?t?1:-1:0}}function $(t,n,e){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=t.findIndex((function(t){return t.key===n}));if(-1!==i){var o=t[i],s=o.key;return o.val===e?t:[].concat(b(t.slice(0,i)),[{key:s,val:e}],b(t.slice(i+1))).sort(C(r))}return t}function E(t,n){if(!t)return[0,0];var e=t.getBoundingClientRect();return[n?e.top:e.left,n?e.bottom:e.right]}function M(t){var n=t.type,e=void 0===n?"":n,r=t.touches;return!r||r.length>1||"touchend"===e.toLowerCase()&&r.length>0}function z(t,n){return t?n.touches[0].clientY:n.touches[0].pageX}function T(){var t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,e=arguments.length>3?arguments[3]:void 0,r=0;return{handles:(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(t){var i=n.getValue(t);return t!==i&&(r+=1,o()(!e,"".concat(S," Invalid value encountered. Changing ").concat(t," to ").concat(i,"."))),i})).map((function(t,n){return{key:"$$-".concat(n),val:t}})).sort(C(t)),changes:r}}function j(t,n){return n}function A(t,n){for(var e=0;e0)}if(-1===o)return t;for(var l=s?e:-e,h=0;h0&&void 0!==arguments[0]?arguments[0]:{},e=t.props,r=e.emitMouse,i=e.emitTouch;return _(_({},n),{},{onMouseDown:P(n&&n.onMouseDown,r),onTouchStart:P(n&&n.onTouchStart,i)})},t}return h(e,[{key:"render",value:function(){var t=this.getRailProps,n=this.props,e=n.getEventData,i=n.activeHandleID,o=void 0===i?"":i,s=(0,n.children)({getEventData:e||R,activeHandleID:o,getRailProps:t});return s&&r.Children.only(s)}}]),e}(r.Component),O=function(t){p(e,t);var n=y(e);function e(){var t;c(this,e);for(var r=arguments.length,i=new Array(r),o=0;o1&&void 0!==arguments[1]?arguments[1]:{},r=t.props,i=r.emitKeyboard,o=r.emitMouse,s=r.emitTouch;return _(_({},e),{},{onKeyDown:P(e&&e.onKeyDown,(function(t){return i&&i(t,n)})),onMouseDown:P(e&&e.onMouseDown,t.autofocus,(function(t){return o&&o(t,n)})),onTouchStart:P(e&&e.onTouchStart,(function(t){return s&&s(t,n)}))})},t}return h(e,[{key:"render",value:function(){var t=this.getHandleProps,n=this.props,e=n.activeHandleID,i=void 0===e?"":e,o=n.children,s=n.handles,a=o({handles:void 0===s?[]:s,activeHandleID:i,getHandleProps:t});return a&&r.Children.only(a)}}]),e}(r.Component),I=function(){function t(){c(this,t),this.interpolator=void 0,this.domain=[0,1],this.range=[0,1],this.domain=[0,1],this.range=[0,1],this.interpolator=null}return h(t,[{key:"createInterpolator",value:function(t,n){var e=this,r=t[0],i=t[1],o=n[0],s=n[1];return i0)return[t];if((r=n=0?(o>=s?10:o>=a?5:o>=u?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=s?10:o>=a?5:o>=u?2:1)}(t,n,e))||!isFinite(c))return[];if(c>0){let e=Math.round(t/c),r=Math.round(n/c);for(e*cn&&--r,o=new Array(i=r-e+1);++ln&&--r,o=new Array(i=r-e+1);++ls?a:s)}},G="undefined"!=typeof window&&"undefined"!=typeof document,W=function(){},V=[0,100],Z=function(t){p(e,t);var n=y(e);function e(){var t;c(this,e);for(var i=arguments.length,o=new Array(i),s=0;s1&&void 0!==arguments[1]&&arguments[1],e=this.props,r=e.mode,i=void 0===r?1:r,s=e.step,a=void 0===s?.1:s,u=e.onUpdate,c=void 0===u?W:u,l=e.onChange,h=void 0===l?W:l,f=e.reversed,d=void 0!==f&&f,_=this.state.valueToStep.getValue;this.setState((function(e){var r=e.handles,s=[];if("function"==typeof i)s=i(r,t,a,d,_),o()(Array.isArray(s),"Custom mode function did not return an array.");else switch(i){case 1:s=j(0,t);break;case 2:s=A(r,t);break;case 3:s=q(r,t,a,d,_);break;default:s=t,o()(!1,"".concat(S," Invalid mode value."))}return c(s.map((function(t){return t.val}))),n&&h(s.map((function(t){return t.val}))),{handles:s}}))}},{key:"render",value:function(){var t=this,n=this.state,e=n.handles,i=n.valueToPerc,o=n.activeHandleID,s=this.props,a=s.className,u=s.rootStyle,c=void 0===u?{}:u,l=s.rootProps,h=void 0===l?{}:l,f=s.component,d=void 0===f?"div":f,p=s.disabled,v=void 0!==p&&p,g=s.flatten,m=void 0!==g&&g,y=e.map((function(t){var n=t.key,e=t.val;return{id:n,value:e,percent:i.getValue(e)}})),w=r.Children.map(this.props.children,(function(n){return!0===function(t){if(!(0,r.isValidElement)(t))return!1;var n=t.type,e=n?n.name:"";return e===O.name||e===L.name||e===N.name||e===F.name}(n)?r.cloneElement(n,{scale:i,handles:y,activeHandleID:o,getEventData:t.getEventData,emitKeyboard:v?W:t.onKeyDown,emitMouse:v?W:t.onMouseDown,emitTouch:v?W:t.onTouchStart}):n}));return m?r.createElement(r.Fragment,null,r.createElement(d,_(_({},h),{},{style:c,className:a,ref:this.slider})),w):r.createElement(r.Fragment,null,r.createElement(d,_(_({},h),{},{style:c,className:a,ref:this.slider}),w))}}],[{key:"getDerivedStateFromProps",value:function(t,n){var e,r,i=t.step,s=void 0===i?.1:i,a=t.values,u=t.domain,c=void 0===u?V:u,l=t.reversed,h=void 0!==l&&l,f=t.onUpdate,d=void 0===f?W:f,_=t.onChange,p=void 0===_?W:_,v=t.warnOnChanges,g=void 0!==v&&v,m=n.valueToPerc,y=n.valueToStep,x=n.pixelToStep,k={};if(m&&y&&x||(m=new I,y=new H,x=new H,k.valueToPerc=m,k.valueToStep=y,k.pixelToStep=x),n.domain===V||null===n.step||null===n.domain||null===n.reversed||s!==n.step||c[0]!==n.domain[0]||c[1]!==n.domain[1]||h!==n.reversed){var C=w(c,2),$=C[0],E=C[1];y.setStep(s).setRange([$,E]).setDomain([$,E]),!0===h?(m.setDomain([$,E]).setRange([100,0]),x.setStep(s).setRange([E,$])):(m.setDomain([$,E]).setRange([0,100]),x.setStep(s).setRange([$,E])),o()(E>$,"".concat(S," Max must be greater than min (even if reversed). Max is ").concat(E,". Min is ").concat($,"."));var M=T(a||n.values,h,y,g),z=M.handles;(M.changes||void 0===a||a===n.values)&&(d(z.map((function(t){return t.val}))),p(z.map((function(t){return t.val})))),k.step=s,k.values=a,k.domain=c===V?b(c):c,k.handles=z,k.reversed=h}else if(!((e=a)===(r=n.values)||e.length===r.length&&e.reduce(function(t){return function(n,e,r){return n&&t[r]===e}}(r),!0))){var j=T(a,h,y,g),A=j.handles;j.changes&&(d(A.map((function(t){return t.val}))),p(A.map((function(t){return t.val})))),k.values=a,k.handles=A}return Object.keys(k).length?k:null}}]),e}(r.PureComponent)},77946:(t,n,e)=>{"use strict";e.r(n),e.d(n,{HTML5Backend:()=>I,NativeTypes:()=>r,getEmptyImage:()=>O});var r={};function i(t){var n=null;return function(){return null==n&&(n=t()),n}}function o(t,n){for(var e=0;eg,HTML:()=>w,TEXT:()=>y,URL:()=>m});var a=function(){function t(n){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,"entered",[]),s(this,"isNodeInDocument",void 0),this.isNodeInDocument=n}var n,e;return n=t,(e=[{key:"enter",value:function(t){var n=this,e=this.entered.length;return this.entered=function(t,n){var e=new Set,r=function(t){return e.add(t)};t.forEach(r),n.forEach(r);var i=[];return e.forEach((function(t){return i.push(t)})),i}(this.entered.filter((function(e){return n.isNodeInDocument(e)&&(!e.contains||e.contains(t))})),[t]),0===e&&this.entered.length>0}},{key:"leave",value:function(t){var n,e,r=this.entered.length;return this.entered=(n=this.entered.filter(this.isNodeInDocument),e=t,n.filter((function(t){return t!==e}))),r>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}])&&o(n.prototype,e),t}(),u=i((function(){return/firefox/i.test(navigator.userAgent)})),c=i((function(){return Boolean(window.safari)}));function l(t,n){for(var e=0;et))return e[a];c=a-1}}var h=t-n[s=Math.max(0,c)],f=h*h;return e[s]+r[s]*h+i[s]*f+o[s]*h*f}}])&&l(n.prototype,e),t}(),d=1;function _(t){var n=t.nodeType===d?t:t.parentElement;if(!n)return null;var e=n.getBoundingClientRect(),r=e.top;return{x:e.left,y:r}}function p(t){return{x:t.clientX,y:t.clientY}}var v,g="__NATIVE_FILE__",m="__NATIVE_URL__",y="__NATIVE_TEXT__",w="__NATIVE_HTML__";function b(t,n,e){var r=n.reduce((function(n,e){return n||t.getData(e)}),"");return null!=r?r:e}function x(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var k=(x(v={},g,{exposeProperties:{files:function(t){return Array.prototype.slice.call(t.files)},items:function(t){return t.items},dataTransfer:function(t){return t}},matchesTypes:["Files"]}),x(v,w,{exposeProperties:{html:function(t,n){return b(t,n,"")},dataTransfer:function(t){return t}},matchesTypes:["Html","text/html"]}),x(v,m,{exposeProperties:{urls:function(t,n){return b(t,n,"").split("\n")},dataTransfer:function(t){return t}},matchesTypes:["Url","text/uri-list"]}),x(v,y,{exposeProperties:{text:function(t,n){return b(t,n,"")},dataTransfer:function(t){return t}},matchesTypes:["Text","text/plain"]}),v);function S(t,n){for(var e=0;e-1}))}))[0]||null}function M(t,n){for(var e=0;e0&&i.actions.hover(n,{clientOffset:p(t)}),n.some((function(t){return i.monitor.canDropOnTarget(t)}))&&(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect=i.getCurrentDropEffect())))})),P(this,"handleTopDragOverCapture",(function(){i.dragOverTargetIds=[]})),P(this,"handleTopDragOver",(function(t){var n=i.dragOverTargetIds;if(i.dragOverTargetIds=[],!i.monitor.isDragging())return t.preventDefault(),void(t.dataTransfer&&(t.dataTransfer.dropEffect="none"));i.altKeyPressed=t.altKey,i.lastClientOffset=p(t),null===i.hoverRafId&&"undefined"!=typeof requestAnimationFrame&&(i.hoverRafId=requestAnimationFrame((function(){i.monitor.isDragging()&&i.actions.hover(n||[],{clientOffset:i.lastClientOffset}),i.hoverRafId=null}))),(n||[]).some((function(t){return i.monitor.canDropOnTarget(t)}))?(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect=i.getCurrentDropEffect())):i.isDraggingNativeItem()?t.preventDefault():(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect="none"))})),P(this,"handleTopDragLeaveCapture",(function(t){i.isDraggingNativeItem()&&t.preventDefault(),i.enterLeaveCounter.leave(t.target)&&i.isDraggingNativeItem()&&setTimeout((function(){return i.endDragNativeItem()}),0)})),P(this,"handleTopDropCapture",(function(t){var n;i.dropTargetIds=[],i.isDraggingNativeItem()?(t.preventDefault(),null===(n=i.currentNativeSource)||void 0===n||n.loadDataTransfer(t.dataTransfer)):E(t.dataTransfer)&&t.preventDefault(),i.enterLeaveCounter.reset()})),P(this,"handleTopDrop",(function(t){var n=i.dropTargetIds;i.dropTargetIds=[],i.actions.hover(n,{clientOffset:p(t)}),i.actions.drop({dropEffect:i.getCurrentDropEffect()}),i.isDraggingNativeItem()?i.endDragNativeItem():i.monitor.isDragging()&&i.actions.endDrag()})),P(this,"handleSelectStart",(function(t){var n=t.target;"function"==typeof n.dragDrop&&("INPUT"===n.tagName||"SELECT"===n.tagName||"TEXTAREA"===n.tagName||n.isContentEditable||(t.preventDefault(),n.dragDrop()))})),this.options=new T(e,r),this.actions=n.getActions(),this.monitor=n.getMonitor(),this.registry=n.getRegistry(),this.enterLeaveCounter=new a(this.isNodeInDocument)}var n,e;return n=t,(e=[{key:"profile",value:function(){var t,n;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:(null===(t=this.dragStartSourceIds)||void 0===t?void 0:t.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:(null===(n=this.dragOverTargetIds)||void 0===n?void 0:n.length)||0}}},{key:"window",get:function(){return this.options.window}},{key:"document",get:function(){return this.options.document}},{key:"rootElement",get:function(){return this.options.rootElement}},{key:"setup",value:function(){var t=this.rootElement;if(void 0!==t){if(t.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");t.__isReactDndBackendSetUp=!0,this.addEventListeners(t)}}},{key:"teardown",value:function(){var t,n=this.rootElement;void 0!==n&&(n.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&(null===(t=this.window)||void 0===t||t.cancelAnimationFrame(this.asyncEndDragFrameId)))}},{key:"connectDragPreview",value:function(t,n,e){var r=this;return this.sourcePreviewNodeOptions.set(t,e),this.sourcePreviewNodes.set(t,n),function(){r.sourcePreviewNodes.delete(t),r.sourcePreviewNodeOptions.delete(t)}}},{key:"connectDragSource",value:function(t,n,e){var r=this;this.sourceNodes.set(t,n),this.sourceNodeOptions.set(t,e);var i=function(n){return r.handleDragStart(n,t)},o=function(t){return r.handleSelectStart(t)};return n.setAttribute("draggable","true"),n.addEventListener("dragstart",i),n.addEventListener("selectstart",o),function(){r.sourceNodes.delete(t),r.sourceNodeOptions.delete(t),n.removeEventListener("dragstart",i),n.removeEventListener("selectstart",o),n.setAttribute("draggable","false")}}},{key:"connectDropTarget",value:function(t,n){var e=this,r=function(n){return e.handleDragEnter(n,t)},i=function(n){return e.handleDragOver(n,t)},o=function(n){return e.handleDrop(n,t)};return n.addEventListener("dragenter",r),n.addEventListener("dragover",i),n.addEventListener("drop",o),function(){n.removeEventListener("dragenter",r),n.removeEventListener("dragover",i),n.removeEventListener("drop",o)}}},{key:"addEventListeners",value:function(t){t.addEventListener&&(t.addEventListener("dragstart",this.handleTopDragStart),t.addEventListener("dragstart",this.handleTopDragStartCapture,!0),t.addEventListener("dragend",this.handleTopDragEndCapture,!0),t.addEventListener("dragenter",this.handleTopDragEnter),t.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.addEventListener("dragover",this.handleTopDragOver),t.addEventListener("dragover",this.handleTopDragOverCapture,!0),t.addEventListener("drop",this.handleTopDrop),t.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(t){t.removeEventListener&&(t.removeEventListener("dragstart",this.handleTopDragStart),t.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),t.removeEventListener("dragend",this.handleTopDragEndCapture,!0),t.removeEventListener("dragenter",this.handleTopDragEnter),t.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.removeEventListener("dragover",this.handleTopDragOver),t.removeEventListener("dragover",this.handleTopDragOverCapture,!0),t.removeEventListener("drop",this.handleTopDrop),t.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"getCurrentSourceNodeOptions",value:function(){var t=this.monitor.getSourceId(),n=this.sourceNodeOptions.get(t);return A({dropEffect:this.altKeyPressed?"copy":"move"},n||{})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var t=this.monitor.getSourceId();return A({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(t)||{})}},{key:"isDraggingNativeItem",value:function(){var t=this.monitor.getItemType();return Object.keys(r).some((function(n){return r[n]===t}))}},{key:"beginDragNativeItem",value:function(t,n){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(t,n){var e=new $(k[t]);return e.loadDataTransfer(n),e}(t,n),this.currentNativeHandle=this.registry.addSource(t,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"setCurrentDragSourceNode",value:function(t){var n=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=t,this.mouseMoveTimeoutTimer=setTimeout((function(){var t;return null===(t=n.rootElement)||void 0===t?void 0:t.addEventListener("mousemove",n.endDragIfSourceWasRemovedFromDOM,!0)}),1e3)}},{key:"clearCurrentDragSourceNode",value:function(){var t;return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.rootElement&&(null===(t=this.window)||void 0===t||t.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)),this.mouseMoveTimeoutTimer=null,!0)}},{key:"handleDragStart",value:function(t,n){t.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(n))}},{key:"handleDragEnter",value:function(t,n){this.dragEnterTargetIds.unshift(n)}},{key:"handleDragOver",value:function(t,n){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(n)}},{key:"handleDrop",value:function(t,n){this.dropTargetIds.unshift(n)}}])&&q(n.prototype,e),t}();function O(){return R||((R=new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),R}var I=function(t,n,e){return new L(t,n,e)}},47014:(t,n,e)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=e(77946),i=e(82704),o=e(95992),s={backends:[{backend:r.HTML5Backend,transition:o.MouseTransition},{backend:i.TouchBackend,options:{enableMouseEvents:!0},preview:!0,transition:o.TouchTransition}]};n.default=s},5027:(t,n,e)=>{"use strict";e.r(n),e.d(n,{DndProvider:()=>l,HTML5DragTransition:()=>r.HTML5DragTransition,MouseTransition:()=>r.MouseTransition,Preview:()=>x,PreviewContext:()=>v,TouchTransition:()=>r.TouchTransition,createTransition:()=>r.createTransition,default:()=>r.default,usePreview:()=>k});var r=e(95992),i=e(66204),o=e(14043),s=e.n(o),a=e(31545);function u(){return u=Object.assign||function(t){for(var n=1;n=0||(i[e]=t[e]);return i}(t,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(i[e]=t[e])}return i}(e,["display"]);return r?(n=t.children&&"function"==typeof t.children?t.children(o):t.children?t.children:t.generator(o),i.createElement(v.Provider,{value:o},n)):null};g.propTypes={generator:d().func,children:d().oneOfType([d().node,d().func])};const m=g;var y=e(65174);function w(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e{"use strict";var r=e(25887);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,n,e,i,o,s){if(s!==r){var a=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 a.name="Invariant Violation",a}}function n(){return t}t.isRequired=t;var e={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:n,element:t,elementType:t,instanceOf:n,node:t,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:o,resetWarningCache:i};return e.PropTypes=e,e}},14043:(t,n,e)=>{t.exports=e(99649)()},25887:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},76746:(t,n,e)=>{"use strict";var r=e(57140);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,n,e,i,o,s){if(s!==r){var a=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 a.name="Invariant Violation",a}}function n(){return t}t.isRequired=t;var e={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:n,element:t,elementType:t,instanceOf:n,node:t,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:o,resetWarningCache:i};return e.PropTypes=e,e}},59680:(t,n,e)=>{t.exports=e(76746)()},57140:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},82704:(t,n,e)=>{"use strict";e.r(n),e.d(n,{ListenerType:()=>r,TouchBackend:()=>g,TouchBackendImpl:()=>v});var r,i=e(63285);!function(t){t.mouse="mouse",t.touch="touch",t.keyboard="keyboard"}(r||(r={}));function o(t){return void 0===t.button||0===t.button}function s(t){return!!t.targetTouches}function a(t,n){return s(t)?function(t,n){return 1===t.targetTouches.length?a(t.targetTouches[0]):n&&1===t.touches.length&&t.touches[0].target===n.target?a(t.touches[0]):void 0}(t,n):{x:t.clientX,y:t.clientY}}var u=function(){var t=!1;try{addEventListener("test",(function(){}),Object.defineProperty({},"passive",{get:function(){return t=!0,!0}}))}catch(t){}return t}();function c(t,n){for(var e=0;e=i[s].start)&&(null==i[s].end||o<=i[s].end))return!0;return!1}(u._mouseClientOffset.x||0,u._mouseClientOffset.y||0,l.x,l.y,u.options.scrollAngleRanges))u._isScrolling=!0;else if(!u.monitor.isDragging()&&u._mouseClientOffset.hasOwnProperty("x")&&o&&(n=u._mouseClientOffset.x||0,e=u._mouseClientOffset.y||0,r=l.x,i=l.y,Math.sqrt(Math.pow(Math.abs(r-n),2)+Math.pow(Math.abs(i-e),2))>(u.options.touchSlop?u.options.touchSlop:0))&&(u.moveStartSourceIds=void 0,u.actions.beginDrag(o,{clientOffset:u._mouseClientOffset,getSourceClientOffset:u.getSourceClientOffset,publishSource:!1})),u.monitor.isDragging()){var h=u.sourceNodes.get(u.monitor.getSourceId());u.installSourceNodeRemovalObserver(h),u.actions.publishDragSource(),t.cancelable&&t.preventDefault();var f=(s||[]).map((function(t){return u.targetNodes.get(t)})).filter((function(t){return!!t})),d=u.options.getDropTargetElementsAtPoint?u.options.getDropTargetElementsAtPoint(l.x,l.y,f):u.document.elementsFromPoint(l.x,l.y),_=[];for(var p in d)if(d.hasOwnProperty(p)){var v=d[p];for(_.push(v);v;)(v=v.parentElement)&&-1===_.indexOf(v)&&_.push(v)}var g=_.filter((function(t){return f.indexOf(t)>-1})).map((function(t){return u._getDropTargetId(t)})).filter((function(t){return!!t})).filter((function(t,n,e){return e.indexOf(t)===n}));if(c)for(var m in u.targetNodes){var y=u.targetNodes.get(m);if(h&&y&&y.contains(h)&&-1===g.indexOf(m)){g.unshift(m);break}}g.reverse(),u.actions.hover(g,{clientOffset:l})}}})),_(this,"_getDropTargetId",(function(t){for(var n=u.targetNodes.keys(),e=n.next();!1===e.done;){var r=e.value;if(t===u.targetNodes.get(r))return r;e=n.next()}})),_(this,"handleTopMoveEndCapture",(function(t){u._isScrolling=!1,u.lastTargetTouchFallback=void 0,function(t){return void 0===t.buttons||0==(1&t.buttons)}(t)&&(u.monitor.isDragging()&&!u.monitor.didDrop()?(t.cancelable&&t.preventDefault(),u._mouseClientOffset={},u.uninstallSourceNodeRemovalObserver(),u.actions.drop(),u.actions.endDrag()):u.moveStartSourceIds=void 0)})),_(this,"handleCancelOnEscape",(function(t){"Escape"===t.key&&u.monitor.isDragging()&&(u._mouseClientOffset={},u.uninstallSourceNodeRemovalObserver(),u.actions.endDrag())})),this.options=new f(i,e),this.actions=n.getActions(),this.monitor=n.getMonitor(),this.sourceNodes=new Map,this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.targetNodes=new Map,this.listenerTypes=[],this._mouseClientOffset={},this._isScrolling=!1,this.options.enableMouseEvents&&this.listenerTypes.push(r.mouse),this.options.enableTouchEvents&&this.listenerTypes.push(r.touch),this.options.enableKeyboardEvents&&this.listenerTypes.push(r.keyboard)}var n,e;return n=t,(e=[{key:"profile",value:function(){var t;return{sourceNodes:this.sourceNodes.size,sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,targetNodes:this.targetNodes.size,dragOverTargetIds:(null===(t=this.dragOverTargetIds)||void 0===t?void 0:t.length)||0}}},{key:"document",get:function(){return this.options.document}},{key:"setup",value:function(){var n=this.options.rootElement;n&&((0,i.k)(!t.isSetUp,"Cannot have two Touch backends at the same time."),t.isSetUp=!0,this.addEventListener(n,"start",this.getTopMoveStartHandler()),this.addEventListener(n,"start",this.handleTopMoveStartCapture,!0),this.addEventListener(n,"move",this.handleTopMove),this.addEventListener(n,"move",this.handleTopMoveCapture,!0),this.addEventListener(n,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.addEventListener(n,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.addEventListener(n,"keydown",this.handleCancelOnEscape,!0))}},{key:"teardown",value:function(){var n=this.options.rootElement;n&&(t.isSetUp=!1,this._mouseClientOffset={},this.removeEventListener(n,"start",this.handleTopMoveStartCapture,!0),this.removeEventListener(n,"start",this.handleTopMoveStart),this.removeEventListener(n,"move",this.handleTopMoveCapture,!0),this.removeEventListener(n,"move",this.handleTopMove),this.removeEventListener(n,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.removeEventListener(n,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.removeEventListener(n,"keydown",this.handleCancelOnEscape,!0),this.uninstallSourceNodeRemovalObserver())}},{key:"addEventListener",value:function(t,n,e,r){var i=u?{capture:r,passive:!1}:r;this.listenerTypes.forEach((function(r){var o=p[r][n];o&&t.addEventListener(o,e,i)}))}},{key:"removeEventListener",value:function(t,n,e,r){var i=u?{capture:r,passive:!1}:r;this.listenerTypes.forEach((function(r){var o=p[r][n];o&&t.removeEventListener(o,e,i)}))}},{key:"connectDragSource",value:function(t,n){var e=this,r=this.handleMoveStart.bind(this,t);return this.sourceNodes.set(t,n),this.addEventListener(n,"start",r),function(){e.sourceNodes.delete(t),e.removeEventListener(n,"start",r)}}},{key:"connectDragPreview",value:function(t,n,e){var r=this;return this.sourcePreviewNodeOptions.set(t,e),this.sourcePreviewNodes.set(t,n),function(){r.sourcePreviewNodes.delete(t),r.sourcePreviewNodeOptions.delete(t)}}},{key:"connectDropTarget",value:function(t,n){var e=this,r=this.options.rootElement;if(!this.document||!r)return function(){};var i=function(i){if(e.document&&r&&e.monitor.isDragging()){var o;switch(i.type){case p.mouse.move:o={x:i.clientX,y:i.clientY};break;case p.touch.move:o={x:i.touches[0].clientX,y:i.touches[0].clientY}}var s=null!=o?e.document.elementFromPoint(o.x,o.y):void 0,a=s&&n.contains(s);return s===n||a?e.handleMove(i,t):void 0}};return this.addEventListener(this.document.body,"move",i),this.targetNodes.set(t,n),function(){e.document&&(e.targetNodes.delete(t),e.removeEventListener(e.document.body,"move",i))}}},{key:"getTopMoveStartHandler",value:function(){return this.options.delayTouchStart||this.options.delayMouseStart?this.handleTopMoveStartDelay:this.handleTopMoveStart}},{key:"installSourceNodeRemovalObserver",value:function(t){var n=this;this.uninstallSourceNodeRemovalObserver(),this.draggedSourceNode=t,this.draggedSourceNodeRemovalObserver=new MutationObserver((function(){t&&!t.parentElement&&(n.resurrectSourceNode(),n.uninstallSourceNodeRemovalObserver())})),t&&t.parentElement&&this.draggedSourceNodeRemovalObserver.observe(t.parentElement,{childList:!0})}},{key:"resurrectSourceNode",value:function(){this.document&&this.draggedSourceNode&&(this.draggedSourceNode.style.display="none",this.draggedSourceNode.removeAttribute("data-reactid"),this.document.body.appendChild(this.draggedSourceNode))}},{key:"uninstallSourceNodeRemovalObserver",value:function(){this.draggedSourceNodeRemovalObserver&&this.draggedSourceNodeRemovalObserver.disconnect(),this.draggedSourceNodeRemovalObserver=void 0,this.draggedSourceNode=void 0}}])&&d(n.prototype,e),t}();_(v,"isSetUp",void 0);var g=function(t){return new v(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})}},65174:(t,n,e)=>{"use strict";e.d(n,{L:()=>r});var r=(0,e(66204).createContext)({dragDropManager:void 0})},31545:(t,n,e)=>{"use strict";e.d(n,{W:()=>Dt});var r=e(43188),i=e(66204),o=e(63285),s="dnd-core/INIT_COORDS",a="dnd-core/BEGIN_DRAG",u="dnd-core/PUBLISH_DRAG_SOURCE",c="dnd-core/HOVER",l="dnd-core/DROP",h="dnd-core/END_DRAG";function f(t,n){return{type:s,payload:{sourceClientOffset:n||null,clientOffset:t||null}}}function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function _(t){return"object"===d(t)}var p={type:s,payload:{clientOffset:null,sourceClientOffset:null}};function v(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0},r=e.publishSource,i=void 0===r||r,s=e.clientOffset,u=e.getSourceClientOffset,c=t.getMonitor(),l=t.getRegistry();t.dispatch(f(s)),function(t,n,e){(0,o.k)(!n.isDragging(),"Cannot call beginDrag while dragging."),t.forEach((function(t){(0,o.k)(e.getSource(t),"Expected sourceIds to be registered.")}))}(n,c,l);var h=function(t,n){for(var e=null,r=t.length-1;r>=0;r--)if(n.canDragSource(t[r])){e=t[r];break}return e}(n,c);if(null!==h){var d=null;if(s){if(!u)throw new Error("getSourceClientOffset must be defined");!function(t){(0,o.k)("function"==typeof t,"When clientOffset is provided, getSourceClientOffset must be a function.")}(u),d=u(h)}t.dispatch(f(s,d));var v=l.getSource(h).beginDrag(c,h);if(null!=v){!function(t){(0,o.k)(_(t),"Item must be an object.")}(v),l.pinSource(h);var g=l.getSourceType(h);return{type:a,payload:{itemType:g,item:v,sourceId:h,clientOffset:s||null,sourceClientOffset:d||null,isSourcePublic:!!i}}}}else t.dispatch(p)}}function g(t){return function(){if(t.getMonitor().isDragging())return{type:u}}}function m(t,n){return null===n?null===t:Array.isArray(t)?t.some((function(t){return t===n})):t===n}function y(t){return function(n){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).clientOffset;!function(t){(0,o.k)(Array.isArray(t),"Expected targetIds to be an array.")}(n);var r=n.slice(0),i=t.getMonitor(),s=t.getRegistry();return function(t,n,e){(0,o.k)(n.isDragging(),"Cannot call hover while not dragging."),(0,o.k)(!n.didDrop(),"Cannot call hover after drop.");for(var r=0;r=0;r--){var i=t[r];m(n.getTargetType(i),e)||t.splice(r,1)}}(r,s,i.getItemType()),function(t,n,e){t.forEach((function(t){e.getTarget(t).hover(n,t)}))}(r,i,s),{type:c,payload:{targetIds:r,clientOffset:e||null}}}}function w(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function b(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{},e=t.getMonitor(),r=t.getRegistry();!function(t){(0,o.k)(t.isDragging(),"Cannot call drop while not dragging."),(0,o.k)(!t.didDrop(),"Cannot call drop twice during one drag operation.")}(e);var i=function(t){var n=t.getTargetIds().filter(t.canDropOnTarget,t);return n.reverse(),n}(e);i.forEach((function(i,s){var a=function(t,n,e,r){var i=e.getTarget(t),s=i?i.drop(r,t):void 0;return function(t){(0,o.k)(void 0===t||_(t),"Drop result must either be an object or undefined.")}(s),void 0===s&&(s=0===n?{}:r.getDropResult()),s}(i,s,r,e),u={type:l,payload:{dropResult:b(b({},n),a)}};t.dispatch(u)}))}}function S(t){return function(){var n=t.getMonitor(),e=t.getRegistry();!function(t){(0,o.k)(t.isDragging(),"Cannot call endDrag while not dragging.")}(n);var r=n.getSourceId();return null!=r&&(e.getSource(r,!0).endDrag(n,r),e.unpinSource()),{type:h}}}function C(t,n){for(var e=0;e0;r.backend&&(t&&!r.isSetUp?(r.backend.setup(),r.isSetUp=!0):!t&&r.isSetUp&&(r.backend.teardown(),r.isSetUp=!1))})),this.store=n,this.monitor=e,n.subscribe(this.handleRefCountChange)}var n,e;return n=t,e=[{key:"receiveBackend",value:function(t){this.backend=t}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.monitor.registry}},{key:"getActions",value:function(){var t=this,n=this.store.dispatch,e=function(t){return{beginDrag:v(t),publishDragSource:g(t),hover:y(t),drop:k(t),endDrag:S(t)}}(this);return Object.keys(e).reduce((function(r,i){var o,s=e[i];return r[i]=(o=s,function(){for(var e=arguments.length,r=new Array(e),i=0;i0&&void 0!==arguments[0]?arguments[0]:O,r=arguments.length>1?arguments[1]:void 0,i=r.payload;switch(r.type){case s:case a:return{initialSourceClientOffset:i.sourceClientOffset,initialClientOffset:i.clientOffset,clientOffset:i.clientOffset};case c:return t=e.clientOffset,n=i.clientOffset,!t&&!n||t&&n&&t.x===n.x&&t.y===n.y?e:R(R({},e),{},{clientOffset:i.clientOffset});case h:case l:return O;default:return e}}var D="dnd-core/ADD_SOURCE",N="dnd-core/ADD_TARGET",B="dnd-core/REMOVE_SOURCE",F="dnd-core/REMOVE_TARGET";function U(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function H(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:W,r=arguments.length>1?arguments[1]:void 0,i=r.payload;switch(r.type){case a:return H(H({},e),{},{itemType:i.itemType,item:i.item,sourceId:i.sourceId,isSourcePublic:i.isSourcePublic,dropResult:null,didDrop:!1});case u:return H(H({},e),{},{isSourcePublic:!0});case c:return H(H({},e),{},{targetIds:i.targetIds});case F:return-1===e.targetIds.indexOf(i.targetId)?e:H(H({},e),{},{targetIds:(t=e.targetIds,n=i.targetId,t.filter((function(t){return t!==n})))});case l:return H(H({},e),{},{dropResult:i.dropResult,didDrop:!0,targetIds:[]});case h:return H(H({},e),{},{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}function Z(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;switch((arguments.length>1?arguments[1]:void 0).type){case D:case N:return t+1;case B:case F:return t-1;default:return t}}var X=[],Y=[];function K(){var t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c:break;case D:case N:case F:case B:return X;default:return Y}var n=t.payload,e=n.targetIds,r=void 0===e?[]:e,i=n.prevTargetIds,o=void 0===i?[]:i,s=function(t,n){var e=new Map,r=function(t){e.set(t,e.has(t)?e.get(t)+1:1)};t.forEach(r),n.forEach(r);var i=[];return e.forEach((function(t,n){1===t&&i.push(n)})),i}(r,o),a=s.length>0||!function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:q;if(t.length!==n.length)return!1;for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:0)+1}function Q(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function tt(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:K(e.dirtyHandlerIds,{type:r.type,payload:tt(tt({},r.payload),{},{prevTargetIds:(t=e,"dragOperation.targetIds",n=[],"dragOperation.targetIds".split(".").reduce((function(t,e){return t&&t[e]?t[e]:n||null}),t))})}),dragOffset:I(e.dragOffset,r),refCount:Z(e.refCount,r),dragOperation:V(e.dragOperation,r),stateId:J(e.stateId)}}function rt(t,n){return{x:t.x-n.x,y:t.y-n.y}}function it(t,n){for(var e=0;e1&&void 0!==arguments[1]?arguments[1]:{handlerIds:void 0}).handlerIds;(0,o.k)("function"==typeof t,"listener must be a function."),(0,o.k)(void 0===e||Array.isArray(e),"handlerIds, when specified, must be an array of strings.");var r=this.store.getState().stateId;return this.store.subscribe((function(){var i=n.store.getState(),o=i.stateId;try{var s=o===r||o===r+1&&!function(t,n){return t!==X&&(t===Y||void 0===n||(e=t,n.filter((function(t){return e.indexOf(t)>-1}))).length>0);var e}(i.dirtyHandlerIds,e);s||t()}finally{r=o}}))}},{key:"subscribeToOffsetChange",value:function(t){var n=this;(0,o.k)("function"==typeof t,"listener must be a function.");var e=this.store.getState().dragOffset;return this.store.subscribe((function(){var r=n.store.getState().dragOffset;r!==e&&(e=r,t())}))}},{key:"canDragSource",value:function(t){if(!t)return!1;var n=this.registry.getSource(t);return(0,o.k)(n,"Expected to find a valid source. sourceId=".concat(t)),!this.isDragging()&&n.canDrag(this,t)}},{key:"canDropOnTarget",value:function(t){if(!t)return!1;var n=this.registry.getTarget(t);return(0,o.k)(n,"Expected to find a valid target. targetId=".concat(t)),!(!this.isDragging()||this.didDrop())&&m(this.registry.getTargetType(t),this.getItemType())&&n.canDrop(this,t)}},{key:"isDragging",value:function(){return Boolean(this.getItemType())}},{key:"isDraggingSource",value:function(t){if(!t)return!1;var n=this.registry.getSource(t,!0);return(0,o.k)(n,"Expected to find a valid source. sourceId=".concat(t)),!(!this.isDragging()||!this.isSourcePublic())&&this.registry.getSourceType(t)===this.getItemType()&&n.isDragging(this,t)}},{key:"isOverTarget",value:function(t){if(!t)return!1;var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1}).shallow;if(!this.isDragging())return!1;var e=this.registry.getTargetType(t),r=this.getItemType();if(r&&!m(e,r))return!1;var i=this.getTargetIds();if(!i.length)return!1;var o=i.indexOf(t);return n?o===i.length-1:o>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return Boolean(this.store.getState().dragOperation.isSourcePublic)}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return r=(t=this.store.getState().dragOffset).clientOffset,i=t.initialClientOffset,o=t.initialSourceClientOffset,r&&i&&o?rt((e=o,{x:(n=r).x+e.x,y:n.y+e.y}),i):null;var t,n,e,r,i,o}},{key:"getDifferenceFromInitialOffset",value:function(){return n=(t=this.store.getState().dragOffset).clientOffset,e=t.initialClientOffset,n&&e?rt(n,e):null;var t,n,e}}],e&&it(n.prototype,e),t}(),ut=0;function ct(t){return ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ct(t)}function lt(t,n){n&&Array.isArray(t)?t.forEach((function(t){return lt(t,!1)})):(0,o.k)("string"==typeof t||"symbol"===ct(t),n?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}function ht(t){dt.length||ft(),dt[dt.length]=t}!function(t){t.SOURCE="SOURCE",t.TARGET="TARGET"}(st||(st={}));var ft,dt=[],_t=0;function pt(){for(;_t1024){for(var n=0,e=dt.length-_t;nt.length)&&(n=t.length);for(var e=0,r=new Array(n);e1&&void 0!==arguments[1]&&arguments[1];return(0,o.k)(this.isSourceId(t),"Expected a valid source ID."),n&&t===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(t)}},{key:"getTarget",value:function(t){return(0,o.k)(this.isTargetId(t),"Expected a valid target ID."),this.dropTargets.get(t)}},{key:"getSourceType",value:function(t){return(0,o.k)(this.isSourceId(t),"Expected a valid source ID."),this.types.get(t)}},{key:"getTargetType",value:function(t){return(0,o.k)(this.isTargetId(t),"Expected a valid target ID."),this.types.get(t)}},{key:"isSourceId",value:function(t){return Tt(t)===st.SOURCE}},{key:"isTargetId",value:function(t){return Tt(t)===st.TARGET}},{key:"removeSource",value:function(t){var n=this;(0,o.k)(this.getSource(t),"Expected an existing source."),this.store.dispatch(function(t){return{type:B,payload:{sourceId:t}}}(t)),Ct((function(){n.dragSources.delete(t),n.types.delete(t)}))}},{key:"removeTarget",value:function(t){(0,o.k)(this.getTarget(t),"Expected an existing target."),this.store.dispatch(function(t){return{type:F,payload:{targetId:t}}}(t)),this.dropTargets.delete(t),this.types.delete(t)}},{key:"pinSource",value:function(t){var n=this.getSource(t);(0,o.k)(n,"Expected an existing source."),this.pinnedSourceId=t,this.pinnedSource=n}},{key:"unpinSource",value:function(){(0,o.k)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}},{key:"addHandler",value:function(t,n,e){var r=function(t){var n=(ut++).toString();switch(t){case st.SOURCE:return"S".concat(n);case st.TARGET:return"T".concat(n);default:throw new Error("Unknown Handler Role: ".concat(t))}}(t);return this.types.set(r,n),t===st.SOURCE?this.dragSources.set(r,e):t===st.TARGET&&this.dropTargets.set(r,e),r}}],e&&Et(n.prototype,e),t}();function qt(t){var n,e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],e="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__,A(et,n&&e&&e({name:"dnd-core",instanceId:"dnd-core"}))),s=new at(o,new At(o)),a=new E(o,s),u=t(a,r,i);return a.receiveBackend(u),a}var Pt=e(65174),Rt=["children"];function Lt(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e1&&void 0!==arguments[1]?arguments[1]:Nt(),e=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=n;return i[It]||(i[It]={dragDropManager:qt(t,n,e,r)}),i[It]}(t.backend,t.context,t.options,t.debugMode);return[n,!t.context]}(function(t,n){if(null==t)return{};var e,r,i=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r=0||(i[e]=t[e]);return i}(t,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(i[e]=t[e])}return i}(t,Rt)),a=(e=2,function(t){if(Array.isArray(t))return t}(n=s)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o=[],s=!0,a=!1;try{for(e=e.call(t);!(s=(r=e.next()).done)&&(o.push(r.value),!n||o.length!==n);s=!0);}catch(t){a=!0,i=t}finally{try{s||null==e.return||e.return()}finally{if(a)throw i}}return o}}(n,e)||function(t,n){if(t){if("string"==typeof t)return Lt(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Lt(t,n):void 0}}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=a[0],c=a[1];return(0,i.useEffect)((function(){if(c){var t=Nt();return++Ot,function(){0==--Ot&&(t[It]=null)}}}),[]),(0,r.jsx)(Pt.L.Provider,Object.assign({value:u},{children:o}),void 0)}));function Nt(){return void 0!==e.g?e.g:window}},44678:(t,n,e)=>{"use strict";e.d(n,{r:()=>u});var r=e(28926),i=e.n(r),o=e(66204),s=e(69603);function a(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e{"use strict";e.d(n,{N:()=>s});var r=e(66204),i=e(63285),o=e(65174);function s(){var t=(0,r.useContext)(o.L).dragDropManager;return(0,i.k)(null!=t,"Expected drag drop context"),t}},2346:(t,n,e)=>{"use strict";e.d(n,{f:()=>a});var r=e(66204),i=e(5655),o=e(44678);function s(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e{"use strict";e.d(n,{L:()=>i});var r=e(66204),i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},42225:(t,n,e)=>{"use strict";e.r(n),e.d(n,{DndContext:()=>r.L,DndProvider:()=>i.W,DragLayer:()=>mt,DragPreviewImage:()=>s,DragSource:()=>Q,DropTarget:()=>ht,useDrag:()=>Pt,useDragDropManager:()=>St.N,useDragLayer:()=>Ft.f,useDrop:()=>Bt});var r=e(65174),i=e(31545),o=e(66204),s=(0,o.memo)((function(t){var n=t.connect,e=t.src;return(0,o.useEffect)((function(){if("undefined"!=typeof Image){var t=!1,r=new Image;return r.src=e,r.onload=function(){n(r),t=!0},function(){t&&n(null)}}})),null})),a=e(63285);function u(t,n,e){var r=e.getRegistry(),i=r.addTarget(t,n);return[i,function(){return r.removeTarget(i)}]}function c(t,n,e){var r=e.getRegistry(),i=r.addSource(t,n);return[i,function(){return r.removeSource(i)}]}function l(t){var n={};return Object.keys(t).forEach((function(e){var r=t[e];if(e.endsWith("Ref"))n[e]=t[e];else{var i=function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(0,o.isValidElement)(n)){var r=n;return t(r,e),r}var i=n;!function(t){if("string"!=typeof t.type){var n=t.type.displayName||t.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+"You can either wrap ".concat(n," into a
, or turn it into a ")+"drag source or a drop target itself.")}}(i);var s=e?function(n){return t(n,e)}:t;return function(t,n){var e=t.ref;return(0,a.k)("string"!=typeof e,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a or
. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),e?(0,o.cloneElement)(t,{ref:function(t){h(e,t),h(n,t)}}):(0,o.cloneElement)(t,{ref:n})}(i,s)}}(r);n[e]=function(){return i}}})),n}function h(t,n){"function"==typeof t?t(n):t.current=n}function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function d(t){return null!==t&&"object"===f(t)&&Object.prototype.hasOwnProperty.call(t,"current")}function _(t,n,e,r){var i=e?e.call(r,t,n):void 0;if(void 0!==i)return!!i;if(t===n)return!0;if("object"!=typeof t||!t||"object"!=typeof n||!n)return!1;var o=Object.keys(t),s=Object.keys(n);if(o.length!==s.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(n),u=0;ut.length)&&(n=t.length);for(var e=0,r=new Array(n);e3&&void 0!==arguments[3]?arguments[3]:{},i=t;"function"!=typeof t&&((0,a.k)(z(t),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',t),i=function(){return t}),(0,a.k)(M(n),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',n);var o=function(t){return Object.keys(t).forEach((function(n){(0,a.k)(Y.indexOf(n)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',Y.join(", "),n),(0,a.k)("function"==typeof t[n],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source",n,n,t[n])})),K.forEach((function(n){(0,a.k)("function"==typeof t[n],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source",n,n,t[n])})),function(n,e){return new J(t,n,e)}}(n);return(0,a.k)("function"==typeof e,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',e),(0,a.k)(M(r),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source',e),function(t){return V({containerDisplayName:"DragSource",createHandler:o,registerHandler:c,createConnector:function(t){return new g(t)},createMonitor:function(t){return new x(t)},DecoratedComponent:t,getType:i,collect:e,options:r})}}function tt(t,n){for(var e=0;e3&&void 0!==arguments[3]?arguments[3]:{},i=t;"function"!=typeof t&&((0,a.k)(z(t,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',t),i=function(){return t}),(0,a.k)(M(n),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',n);var o=function(t){return Object.keys(t).forEach((function(n){(0,a.k)(ct.indexOf(n)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',ct.join(", "),n),(0,a.k)("function"==typeof t[n],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target",n,n,t[n])})),function(n,e){return new lt(t,n,e)}}(n);return(0,a.k)("function"==typeof e,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',e),(0,a.k)(M(r),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target',e),function(t){return V({containerDisplayName:"DropTarget",createHandler:o,registerHandler:u,createMonitor:function(t){return new rt(t)},createConnector:function(t){return new st(t)},DecoratedComponent:t,getType:i,collect:e,options:r})}}function ft(t){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(t)}function dt(t,n){for(var e=0;e1&&void 0!==arguments[1]?arguments[1]:{};return(0,a.k)("function"==typeof t,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-layer",t),(0,a.k)(M(n),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-layer',n),function(e){var i=e,s=n.arePropsEqual,u=void 0===s?_:s,c=i.displayName||i.name||"Component",l=function(n){!function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&_t(t,n)}(d,n);var e,s,l,h,f=(l=d,h=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=vt(l);if(h){var e=vt(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return function(t,n){if(n&&("object"===ft(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return pt(t)}(this,t)});function d(){var t;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,d);for(var n=arguments.length,e=new Array(n),r=0;rt.length)&&(n=t.length);for(var e=0,r=new Array(n);et.length)&&(n=t.length);for(var e=0,r=new Array(n);et.length)&&(n=t.length);for(var e=0,r=new Array(n);et.length)&&(n=t.length);for(var e=0,r=new Array(n);e{"use strict";var r=e(66204),i=e(46489);function o(t){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+t,e=1;e