!function(e){function t(t){for(var n,r,o=t[0],a=t[1],s=0,c=[];s=0;){if(o=a+r,(0===a||32===n.charCodeAt(a-1))&&32===n.charCodeAt(o))return this._lastStart=a,void(this._lastEnd=o+1);if(a>0&&32===n.charCodeAt(a-1)&&o===i)return this._lastStart=a-1,void(this._lastEnd=o);if(0===a&&o===i)return this._lastStart=0,void(this._lastEnd=o)}this._lastStart=-1}else this._lastStart=-1}else this._lastStart=-1},e.prototype.hasClass=function(e,t){return this._findClassName(e,t),-1!==this._lastStart},e.prototype.addClasses=function(e){for(var t=this,n=[],i=1;i0;)W.sort(G.sort),W.shift().execute();z=!1},H=function(e,t){void 0===t&&(t=0);var n,i=new G(e,t);return V.push(i),Y||(Y=!0,n=q,U||(U=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||function(e){return setTimeout((function(){return e((new Date).getTime())}),0)}),U.call(self,n)),i},B=function(e,t){if(z){var n=new G(e,t);return W.push(n),n}return H(e,t)};var K=function(e,t){return t},Q=function(e){function t(t,n,i,r,o){void 0===r&&(r=K),void 0===o&&(o=16);var a=e.call(this)||this,s=null,c=0,u=a._register(new l.e),d=function(){c=(new Date).getTime(),i(s),s=null};return a._register(A(t,n,(function(e){s=r(s,e);var t=(new Date).getTime()-c;t>=o?(u.cancel(),d()):u.setIfNotSet(d,o-t)}))),a}return g(t,e),t}(d.a);function Z(e,t,n,i,r){return new Q(e,t,n,i,r)}function X(e){return document.defaultView.getComputedStyle(e,null)}var J=function(){function e(){}return e.convertToPixels=function(e,t){return parseFloat(t)||0},e.getDimension=function(t,n,i){var r=X(t),o="0";return r&&(o=r.getPropertyValue?r.getPropertyValue(n):r.getAttribute(i)),e.convertToPixels(t,o)},e.getBorderLeftWidth=function(t){return e.getDimension(t,"border-left-width","borderLeftWidth")},e.getBorderRightWidth=function(t){return e.getDimension(t,"border-right-width","borderRightWidth")},e.getBorderTopWidth=function(t){return e.getDimension(t,"border-top-width","borderTopWidth")},e.getBorderBottomWidth=function(t){return e.getDimension(t,"border-bottom-width","borderBottomWidth")},e.getPaddingLeft=function(t){return e.getDimension(t,"padding-left","paddingLeft")},e.getPaddingRight=function(t){return e.getDimension(t,"padding-right","paddingRight")},e.getPaddingTop=function(t){return e.getDimension(t,"padding-top","paddingTop")},e.getPaddingBottom=function(t){return e.getDimension(t,"padding-bottom","paddingBottom")},e.getMarginLeft=function(t){return e.getDimension(t,"margin-left","marginLeft")},e.getMarginTop=function(t){return e.getDimension(t,"margin-top","marginTop")},e.getMarginRight=function(t){return e.getDimension(t,"margin-right","marginRight")},e.getMarginBottom=function(t){return e.getDimension(t,"margin-bottom","marginBottom")},e}(),ee=function(e,t){this.width=e,this.height=t};function te(e){for(var t=e.offsetParent,n=e.offsetTop,i=e.offsetLeft;null!==(e=e.parentNode)&&e!==document.body&&e!==document.documentElement;){n-=e.scrollTop;var r=X(e);r&&(i-="rtl"!==r.direction?e.scrollLeft:-e.scrollLeft),e===t&&(i+=J.getBorderLeftWidth(e),n+=J.getBorderTopWidth(e),n+=e.offsetTop,i+=e.offsetLeft,t=e.offsetParent)}return{left:i,top:n}}function ne(e){var t=e.getBoundingClientRect();return{left:t.left+ie.scrollX,top:t.top+ie.scrollY,width:t.width,height:t.height}}var ie=new(function(){function e(){}return Object.defineProperty(e.prototype,"scrollX",{get:function(){return"number"==typeof window.scrollX?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollY",{get:function(){return"number"==typeof window.scrollY?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop},enumerable:!0,configurable:!0}),e}());function re(e){var t=J.getMarginLeft(e)+J.getMarginRight(e);return e.offsetWidth+t}function oe(e){var t=J.getBorderLeftWidth(e)+J.getBorderRightWidth(e),n=J.getPaddingLeft(e)+J.getPaddingRight(e);return e.offsetWidth-t-n}function ae(e){var t=J.getBorderTopWidth(e)+J.getBorderBottomWidth(e),n=J.getPaddingTop(e)+J.getPaddingBottom(e);return e.offsetHeight-t-n}function se(e){var t=J.getMarginTop(e)+J.getMarginBottom(e);return e.offsetHeight+t}function le(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function ce(e,t,n){for(;e;){if(k(e,t))return e;if(n)if("string"==typeof n){if(k(e,n))return null}else if(e===n)return null;e=e.parentNode}return null}function ue(e){void 0===e&&(e=document.getElementsByTagName("head")[0]);var t=document.createElement("style");return t.type="text/css",t.media="screen",e.appendChild(t),t}var de=null;function pe(){return de||(de=ue()),de}function he(e,t,n){void 0===n&&(n=pe()),n&&t&&n.sheet.insertRule(e+"{"+t+"}",0)}function me(e,t){if(void 0===t&&(t=pe()),t){for(var n=function(e){return e&&e.sheet&&e.sheet.rules?e.sheet.rules:e&&e.sheet&&e.sheet.cssRules?e.sheet.cssRules:[]}(t),i=[],r=0;r=0;r--)t.sheet.deleteRule(i[r])}}function fe(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&1===e.nodeType&&"string"==typeof e.nodeName}var ge={CLICK:"click",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:r.m?"webkitAnimationStart":"animationstart",ANIMATION_END:r.m?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:r.m?"webkitAnimationIteration":"animationiteration"},_e={stop:function(e,t){e.preventDefault?e.preventDefault():e.returnValue=!1,t&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)}};function ve(e){for(var t=[],n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)t[n]=e.scrollTop,e=e.parentNode;return t}function ye(e,t){for(var n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)e.scrollTop!==t[n]&&(e.scrollTop=t[n]),e=e.parentNode}var be=function(e){function t(t){var n=e.call(this)||this;n._onDidFocus=n._register(new u.a),n.onDidFocus=n._onDidFocus.event,n._onDidBlur=n._register(new u.a),n.onDidBlur=n._onDidBlur.event;var i=le(document.activeElement,t),r=!1,a=function(){r=!1,i||(i=!0,n._onDidFocus.fire())},s=function(){i&&(r=!0,window.setTimeout((function(){r&&(r=!1,i=!1,n._onDidBlur.fire())}),0))};return n._refreshStateHandler=function(){le(document.activeElement,t)!==i&&(i?s():a())},n._register(Object(o.a)(t,ge.FOCUS,!0)(a)),n._register(Object(o.a)(t,ge.BLUR,!0)(s)),n}return g(t,e),t}(d.a);function we(e){return new be(e)}function Se(e){for(var t=[],n=1;nn||e===n&&t>i?(this.startLineNumber=n,this.startColumn=i,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=i)}return e.prototype.isEmpty=function(){return e.isEmpty(this)},e.isEmpty=function(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn},e.prototype.containsPosition=function(t){return e.containsPosition(this,t)},e.containsPosition=function(e,t){return!(t.lineNumbere.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.columne.endColumn))},e.prototype.containsRange=function(t){return e.containsRange(this,t)},e.containsRange=function(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumne.endColumn)))},e.prototype.strictContainsRange=function(t){return e.strictContainsRange(this,t)},e.strictContainsRange=function(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))},e.prototype.plusRange=function(t){return e.plusRange(this,t)},e.plusRange=function(t,n){var i,r,o,a;return n.startLineNumbert.endLineNumber?(o=n.endLineNumber,a=n.endColumn):n.endLineNumber===t.endLineNumber?(o=n.endLineNumber,a=Math.max(n.endColumn,t.endColumn)):(o=t.endLineNumber,a=t.endColumn),new e(i,r,o,a)},e.prototype.intersectRanges=function(t){return e.intersectRanges(this,t)},e.intersectRanges=function(t,n){var i=t.startLineNumber,r=t.startColumn,o=t.endLineNumber,a=t.endColumn,s=n.startLineNumber,l=n.startColumn,c=n.endLineNumber,u=n.endColumn;return ic?(o=c,a=u):o===c&&(a=Math.min(a,u)),i>o||i===o&&r>a?null:new e(i,r,o,a)},e.prototype.equalsRange=function(t){return e.equalsRange(this,t)},e.equalsRange=function(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn},e.prototype.getEndPosition=function(){return new i.a(this.endLineNumber,this.endColumn)},e.prototype.getStartPosition=function(){return new i.a(this.startLineNumber,this.startColumn)},e.prototype.toString=function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"},e.prototype.setEndPosition=function(t,n){return new e(this.startLineNumber,this.startColumn,t,n)},e.prototype.setStartPosition=function(t,n){return new e(t,n,this.endLineNumber,this.endColumn)},e.prototype.collapseToStart=function(){return e.collapseToStart(this)},e.collapseToStart=function(t){return new e(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)},e.fromPositions=function(t,n){return void 0===n&&(n=t),new e(t.lineNumber,t.column,n.lineNumber,n.column)},e.lift=function(t){return t?new e(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null},e.isIRange=function(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn},e.areIntersectingOrTouching=function(e,t){return!(e.endLineNumbere.startLineNumber},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"Tb",(function(){return d})),n.d(t,"W",(function(){return m})),n.d(t,"U",(function(){return f})),n.d(t,"V",(function(){return g})),n.d(t,"e",(function(){return _})),n.d(t,"b",(function(){return v})),n.d(t,"ec",(function(){return y})),n.d(t,"dc",(function(){return b})),n.d(t,"gc",(function(){return w})),n.d(t,"Z",(function(){return S})),n.d(t,"bb",(function(){return C})),n.d(t,"ab",(function(){return E})),n.d(t,"Y",(function(){return k})),n.d(t,"X",(function(){return T})),n.d(t,"fb",(function(){return x})),n.d(t,"hb",(function(){return O})),n.d(t,"gb",(function(){return D})),n.d(t,"ib",(function(){return N})),n.d(t,"kb",(function(){return M})),n.d(t,"jb",(function(){return A})),n.d(t,"cb",(function(){return L})),n.d(t,"eb",(function(){return I})),n.d(t,"db",(function(){return R})),n.d(t,"Ob",(function(){return F})),n.d(t,"Nb",(function(){return $})),n.d(t,"c",(function(){return B})),n.d(t,"d",(function(){return H})),n.d(t,"Vb",(function(){return U})),n.d(t,"Xb",(function(){return V})),n.d(t,"Yb",(function(){return W})),n.d(t,"Wb",(function(){return Y})),n.d(t,"Sb",(function(){return z})),n.d(t,"q",(function(){return q})),n.d(t,"p",(function(){return G})),n.d(t,"P",(function(){return K})),n.d(t,"O",(function(){return Q})),n.d(t,"H",(function(){return Z})),n.d(t,"G",(function(){return X})),n.d(t,"z",(function(){return J})),n.d(t,"y",(function(){return ee})),n.d(t,"o",(function(){return te})),n.d(t,"x",(function(){return ne})),n.d(t,"Q",(function(){return ie})),n.d(t,"S",(function(){return re})),n.d(t,"R",(function(){return oe})),n.d(t,"T",(function(){return ae})),n.d(t,"K",(function(){return se})),n.d(t,"L",(function(){return le})),n.d(t,"F",(function(){return ce})),n.d(t,"M",(function(){return ue})),n.d(t,"N",(function(){return de})),n.d(t,"r",(function(){return pe})),n.d(t,"t",(function(){return he})),n.d(t,"v",(function(){return me})),n.d(t,"s",(function(){return fe})),n.d(t,"u",(function(){return ge})),n.d(t,"w",(function(){return _e})),n.d(t,"D",(function(){return ve})),n.d(t,"A",(function(){return ye})),n.d(t,"C",(function(){return be})),n.d(t,"B",(function(){return we})),n.d(t,"E",(function(){return Se})),n.d(t,"n",(function(){return Ce})),n.d(t,"J",(function(){return Ee})),n.d(t,"I",(function(){return ke})),n.d(t,"g",(function(){return Te})),n.d(t,"h",(function(){return xe})),n.d(t,"j",(function(){return Oe})),n.d(t,"l",(function(){return De})),n.d(t,"k",(function(){return Ne})),n.d(t,"m",(function(){return Me})),n.d(t,"i",(function(){return Ae})),n.d(t,"rb",(function(){return Le})),n.d(t,"sb",(function(){return Ie})),n.d(t,"lb",(function(){return Re})),n.d(t,"mb",(function(){return Pe})),n.d(t,"xb",(function(){return je})),n.d(t,"yb",(function(){return Fe})),n.d(t,"wb",(function(){return $e})),n.d(t,"ub",(function(){return Be})),n.d(t,"vb",(function(){return He})),n.d(t,"nb",(function(){return Ue})),n.d(t,"tb",(function(){return Ve})),n.d(t,"ob",(function(){return We})),n.d(t,"qb",(function(){return Ye})),n.d(t,"pb",(function(){return ze})),n.d(t,"fc",(function(){return qe})),n.d(t,"Ab",(function(){return Ge})),n.d(t,"Bb",(function(){return Ke})),n.d(t,"zb",(function(){return Qe})),n.d(t,"Eb",(function(){return Ze})),n.d(t,"Cb",(function(){return Xe})),n.d(t,"Db",(function(){return Je})),n.d(t,"Fb",(function(){return et})),n.d(t,"bc",(function(){return tt})),n.d(t,"cc",(function(){return nt})),n.d(t,"Zb",(function(){return it})),n.d(t,"ac",(function(){return rt})),n.d(t,"Lb",(function(){return ot})),n.d(t,"Mb",(function(){return at})),n.d(t,"Hb",(function(){return st})),n.d(t,"Ib",(function(){return lt})),n.d(t,"Gb",(function(){return ct})),n.d(t,"Jb",(function(){return ut})),n.d(t,"Pb",(function(){return dt})),n.d(t,"Rb",(function(){return pt})),n.d(t,"Qb",(function(){return ht})),n.d(t,"f",(function(){return mt})),n.d(t,"Kb",(function(){return gt})),n.d(t,"Ub",(function(){return vt}));var i=n(69),r=n(16),o=n(6),a=n(0),s=n(219),l=n(20),c={ColorContribution:"base.contributions.colors"},u=new(function(){function e(){this._onDidChangeSchema=new o.a,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}return e.prototype.registerColor=function(e,t,n,i,r){void 0===i&&(i=!1);var o={id:e,description:n,defaults:t,needsTransparency:i,deprecationMessage:r};this.colorsById[e]=o;var a={type:"string",description:n,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return r&&(a.deprecationMessage=r),this.colorSchema.properties[e]=a,this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(n),this._onDidChangeSchema.fire(),e},e.prototype.resolveDefaultColor=function(e,t){var n=this.colorsById[e];if(n&&n.defaults)return vt(n.defaults[t.type],t)},e.prototype.getColorSchema=function(){return this.colorSchema},e.prototype.toString=function(){var e=this;return Object.keys(this.colorsById).sort((function(e,t){var n=-1===e.indexOf(".")?0:1,i=-1===t.indexOf(".")?0:1;return n!==i?n-i:e.localeCompare(t)})).map((function(t){return"- `"+t+"`: "+e.colorsById[t].description})).join("\n")},e}());function d(e,t,n,i,r){return u.registerColor(e,t,n,i,r)}i.a.add(c.ColorContribution,u);var p,h,m=d("foreground",{dark:"#CCCCCC",light:"#616161",hc:"#FFFFFF"},a.a("foreground","Overall foreground color. This color is only used if not overridden by a component.")),f=d("errorForeground",{dark:"#F48771",light:"#A1260D",hc:"#F48771"},a.a("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),g=d("focusBorder",{dark:r.a.fromHex("#0E639C").transparent(.8),light:r.a.fromHex("#007ACC").transparent(.4),hc:"#F38518"},a.a("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),_=d("contrastBorder",{light:null,dark:null,hc:"#6FC3DF"},a.a("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),v=d("contrastActiveBorder",{light:null,dark:null,hc:g},a.a("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),y=d("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},a.a("textLinkForeground","Foreground color for links in text.")),b=d("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hc:r.a.black},a.a("textCodeBlockBackground","Background color for code blocks in text.")),w=d("widget.shadow",{dark:"#000000",light:"#A8A8A8",hc:null},a.a("widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),S=d("input.background",{dark:"#3C3C3C",light:r.a.white,hc:r.a.black},a.a("inputBoxBackground","Input box background.")),C=d("input.foreground",{dark:m,light:m,hc:m},a.a("inputBoxForeground","Input box foreground.")),E=d("input.border",{dark:null,light:null,hc:_},a.a("inputBoxBorder","Input box border.")),k=d("inputOption.activeBorder",{dark:"#007ACC00",light:"#007ACC00",hc:_},a.a("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),T=d("inputOption.activeBackground",{dark:ft(g,.5),light:ft(g,.3),hc:null},a.a("inputOption.activeBackground","Background color of activated options in input fields.")),x=d("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:r.a.black},a.a("inputValidationInfoBackground","Input validation background color for information severity.")),O=d("inputValidation.infoForeground",{dark:null,light:null,hc:null},a.a("inputValidationInfoForeground","Input validation foreground color for information severity.")),D=d("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:_},a.a("inputValidationInfoBorder","Input validation border color for information severity.")),N=d("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:r.a.black},a.a("inputValidationWarningBackground","Input validation background color for warning severity.")),M=d("inputValidation.warningForeground",{dark:null,light:null,hc:null},a.a("inputValidationWarningForeground","Input validation foreground color for warning severity.")),A=d("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hc:_},a.a("inputValidationWarningBorder","Input validation border color for warning severity.")),L=d("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:r.a.black},a.a("inputValidationErrorBackground","Input validation background color for error severity.")),I=d("inputValidation.errorForeground",{dark:null,light:null,hc:null},a.a("inputValidationErrorForeground","Input validation foreground color for error severity.")),R=d("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hc:_},a.a("inputValidationErrorBorder","Input validation border color for error severity.")),P=d("dropdown.background",{dark:"#3C3C3C",light:r.a.white,hc:r.a.black},a.a("dropdownBackground","Dropdown background.")),j=d("dropdown.foreground",{dark:"#F0F0F0",light:null,hc:r.a.white},a.a("dropdownForeground","Dropdown foreground.")),F=d("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hc:r.a.white},a.a("pickerGroupForeground","Quick picker color for grouping labels.")),$=d("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hc:r.a.white},a.a("pickerGroupBorder","Quick picker color for grouping borders.")),B=d("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hc:r.a.black},a.a("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),H=d("badge.foreground",{dark:r.a.white,light:"#333",hc:r.a.white},a.a("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),U=d("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},a.a("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),V=d("scrollbarSlider.background",{dark:r.a.fromHex("#797979").transparent(.4),light:r.a.fromHex("#646464").transparent(.4),hc:ft(_,.6)},a.a("scrollbarSliderBackground","Scrollbar slider background color.")),W=d("scrollbarSlider.hoverBackground",{dark:r.a.fromHex("#646464").transparent(.7),light:r.a.fromHex("#646464").transparent(.7),hc:ft(_,.8)},a.a("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),Y=d("scrollbarSlider.activeBackground",{dark:r.a.fromHex("#BFBFBF").transparent(.4),light:r.a.fromHex("#000000").transparent(.6),hc:_},a.a("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),z=d("progressBar.background",{dark:r.a.fromHex("#0E70C0"),light:r.a.fromHex("#0E70C0"),hc:_},a.a("progressBarBackground","Background color of the progress bar that can show for long running operations.")),q=d("editorError.foreground",{dark:"#F48771",light:"#E51400",hc:null},a.a("editorError.foreground","Foreground color of error squigglies in the editor.")),G=d("editorError.border",{dark:null,light:null,hc:r.a.fromHex("#E47777").transparent(.8)},a.a("errorBorder","Border color of error boxes in the editor.")),K=d("editorWarning.foreground",{dark:"#CCA700",light:"#E9A700",hc:null},a.a("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),Q=d("editorWarning.border",{dark:null,light:null,hc:r.a.fromHex("#FFCC00").transparent(.8)},a.a("warningBorder","Border color of warning boxes in the editor.")),Z=d("editorInfo.foreground",{dark:"#75BEFF",light:"#75BEFF",hc:null},a.a("editorInfo.foreground","Foreground color of info squigglies in the editor.")),X=d("editorInfo.border",{dark:null,light:null,hc:r.a.fromHex("#75BEFF").transparent(.8)},a.a("infoBorder","Border color of info boxes in the editor.")),J=d("editorHint.foreground",{dark:r.a.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hc:null},a.a("editorHint.foreground","Foreground color of hint squigglies in the editor.")),ee=d("editorHint.border",{dark:null,light:null,hc:r.a.fromHex("#eeeeee").transparent(.8)},a.a("hintBorder","Border color of hint boxes in the editor.")),te=d("editor.background",{light:"#fffffe",dark:"#1E1E1E",hc:r.a.black},a.a("editorBackground","Editor background color.")),ne=d("editor.foreground",{light:"#333333",dark:"#BBBBBB",hc:r.a.white},a.a("editorForeground","Editor default foreground color.")),ie=d("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hc:"#0C141F"},a.a("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),re=d("editorWidget.foreground",{dark:m,light:m,hc:m},a.a("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),oe=d("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hc:_},a.a("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),ae=d("editorWidget.resizeBorder",{light:null,dark:null,hc:null},a.a("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),se=d("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hc:"#f3f518"},a.a("editorSelectionBackground","Color of the editor selection.")),le=d("editor.selectionForeground",{light:null,dark:null,hc:"#000000"},a.a("editorSelectionForeground","Color of the selected text for high contrast.")),ce=d("editor.inactiveSelectionBackground",{light:ft(se,.5),dark:ft(se,.5),hc:ft(se,.5)},a.a("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),ue=d("editor.selectionHighlightBackground",{light:_t(se,te,.3,.6),dark:_t(se,te,.3,.6),hc:null},a.a("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),de=d("editor.selectionHighlightBorder",{light:null,dark:null,hc:v},a.a("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),pe=d("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hc:null},a.a("editorFindMatch","Color of the current search match.")),he=d("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hc:null},a.a("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),me=d("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hc:null},a.a("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),fe=d("editor.findMatchBorder",{light:null,dark:null,hc:v},a.a("editorFindMatchBorder","Border color of the current search match.")),ge=d("editor.findMatchHighlightBorder",{light:null,dark:null,hc:v},a.a("findMatchHighlightBorder","Border color of the other search matches.")),_e=d("editor.findRangeHighlightBorder",{dark:null,light:null,hc:ft(v,.4)},a.a("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),ve=d("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hc:"#ADD6FF26"},a.a("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0),ye=d("editorHoverWidget.background",{light:ie,dark:ie,hc:ie},a.a("hoverBackground","Background color of the editor hover.")),be=d("editorHoverWidget.foreground",{light:re,dark:re,hc:re},a.a("hoverForeground","Foreground color of the editor hover.")),we=d("editorHoverWidget.border",{light:oe,dark:oe,hc:oe},a.a("hoverBorder","Border color of the editor hover.")),Se=d("editorHoverWidget.statusBarBackground",{dark:(p=ye,h=.2,function(e){var t=vt(p,e);if(t)return t.lighten(h)}),light:mt(ye,.05),hc:ie},a.a("statusBarBackground","Background color of the editor hover status bar.")),Ce=d("editorLink.activeForeground",{dark:"#4E94CE",light:r.a.blue,hc:r.a.cyan},a.a("activeLinkForeground","Color of active links.")),Ee=d("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hc:"#FFCC00"},a.a("editorLightBulbForeground","The color used for the lightbulb actions icon.")),ke=d("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},a.a("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),Te=new r.a(new r.c(155,185,85,.2)),xe=new r.a(new r.c(255,0,0,.2)),Oe=d("diffEditor.insertedTextBackground",{dark:Te,light:Te,hc:null},a.a("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),De=d("diffEditor.removedTextBackground",{dark:xe,light:xe,hc:null},a.a("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),Ne=d("diffEditor.insertedTextBorder",{dark:null,light:null,hc:"#33ff2eff"},a.a("diffEditorInsertedOutline","Outline color for the text that got inserted.")),Me=d("diffEditor.removedTextBorder",{dark:null,light:null,hc:"#FF008F"},a.a("diffEditorRemovedOutline","Outline color for text that got removed.")),Ae=d("diffEditor.border",{dark:null,light:null,hc:_},a.a("diffEditorBorder","Border color between the two text editors.")),Le=d("list.focusBackground",{dark:"#062F4A",light:"#D6EBFF",hc:null},a.a("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Ie=d("list.focusForeground",{dark:null,light:null,hc:null},a.a("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Re=d("list.activeSelectionBackground",{dark:"#094771",light:"#0074E8",hc:null},a.a("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Pe=d("list.activeSelectionForeground",{dark:r.a.white,light:r.a.white,hc:null},a.a("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),je=d("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hc:null},a.a("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Fe=d("list.inactiveSelectionForeground",{dark:null,light:null,hc:null},a.a("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),$e=d("list.inactiveFocusBackground",{dark:null,light:null,hc:null},a.a("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Be=d("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hc:null},a.a("listHoverBackground","List/Tree background when hovering over items using the mouse.")),He=d("list.hoverForeground",{dark:null,light:null,hc:null},a.a("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),Ue=d("list.dropBackground",{dark:Le,light:Le,hc:null},a.a("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),Ve=d("list.highlightForeground",{dark:"#0097fb",light:"#0066BF",hc:g},a.a("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),We=d("listFilterWidget.background",{light:"#efc1ad",dark:"#653723",hc:r.a.black},a.a("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),Ye=d("listFilterWidget.outline",{dark:r.a.transparent,light:r.a.transparent,hc:"#f38518"},a.a("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),ze=d("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hc:_},a.a("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),qe=d("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hc:"#a9a9a9"},a.a("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),Ge=d("menu.border",{dark:null,light:null,hc:_},a.a("menuBorder","Border color of menus.")),Ke=d("menu.foreground",{dark:j,light:m,hc:j},a.a("menuForeground","Foreground color of menu items.")),Qe=d("menu.background",{dark:P,light:P,hc:P},a.a("menuBackground","Background color of menu items.")),Ze=d("menu.selectionForeground",{dark:Pe,light:Pe,hc:Pe},a.a("menuSelectionForeground","Foreground color of the selected menu item in menus.")),Xe=d("menu.selectionBackground",{dark:Re,light:Re,hc:Re},a.a("menuSelectionBackground","Background color of the selected menu item in menus.")),Je=d("menu.selectionBorder",{dark:null,light:null,hc:v},a.a("menuSelectionBorder","Border color of the selected menu item in menus.")),et=d("menu.separatorBackground",{dark:"#BBBBBB",light:"#888888",hc:_},a.a("menuSeparatorBackground","Color of a separator menu item in menus.")),tt=d("editor.snippetTabstopHighlightBackground",{dark:new r.a(new r.c(124,124,124,.3)),light:new r.a(new r.c(10,50,100,.2)),hc:new r.a(new r.c(124,124,124,.3))},a.a("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),nt=d("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hc:null},a.a("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),it=d("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hc:null},a.a("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),rt=d("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new r.a(new r.c(10,50,100,.5)),hc:"#525252"},a.a("snippetFinalTabstopHighlightBorder","Highlight border color of the final stabstop of a snippet.")),ot=d("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hc:"#AB5A00"},a.a("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),at=d("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},a.a("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),st=d("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hc:"#AB5A00"},a.a("minimapFindMatchHighlight","Minimap marker color for find matches."),!0),lt=d("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hc:"#ffffff"},a.a("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),ct=d("minimap.errorHighlight",{dark:new r.a(new r.c(255,18,18,.7)),light:new r.a(new r.c(255,18,18,.7)),hc:new r.a(new r.c(255,50,50,1))},a.a("minimapError","Minimap marker color for errors.")),ut=d("minimap.warningHighlight",{dark:K,light:K,hc:Q},a.a("overviewRuleWarning","Minimap marker color for warnings.")),dt=d("problemsErrorIcon.foreground",{dark:q,light:q,hc:q},a.a("problemsErrorIconForeground","The color used for the problems error icon.")),pt=d("problemsWarningIcon.foreground",{dark:K,light:K,hc:K},a.a("problemsWarningIconForeground","The color used for the problems warning icon.")),ht=d("problemsInfoIcon.foreground",{dark:Z,light:Z,hc:Z},a.a("problemsInfoIconForeground","The color used for the problems info icon."));function mt(e,t){return function(n){var i=vt(e,n);if(i)return i.darken(t)}}function ft(e,t){return function(n){var i=vt(e,n);if(i)return i.transparent(t)}}function gt(){for(var e=[],t=0;t=0}))},e.getDiffEditorContributions=function(){return O.INSTANCE.getDiffEditorContributions()}}(r||(r={}));var O=function(){function e(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}return e.prototype.registerEditorContribution=function(e,t){this.editorContributions.push({id:e,ctor:t})},e.prototype.getEditorContributions=function(){return this.editorContributions.slice(0)},e.prototype.getDiffEditorContributions=function(){return this.diffEditorContributions.slice(0)},e.prototype.registerEditorAction=function(e){e.register(),this.editorActions.push(e)},e.prototype.getEditorActions=function(){return this.editorActions.slice(0)},e.prototype.registerEditorCommand=function(e){e.register(),this.editorCommands[e.id]=e},e.prototype.getEditorCommand=function(e){return this.editorCommands[e]||null},e.INSTANCE=new e,e}();f.a.add("editor.contributions",O.INSTANCE)},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return u})),n.d(t,"e",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return h})),n.d(t,"f",(function(){return m}));var i,r,o=n(15),a=n(144),s=n(2),l=n(101),c=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});!function(e){function t(e){return function(t,n,i){void 0===n&&(n=null);var r,o=!1;return r=e((function(e){if(!o)return r?r.dispose():o=!0,t.call(n,e)}),null,i),o&&r.dispose(),r}}function n(e,t){return a((function(n,i,r){return void 0===i&&(i=null),e((function(e){return n.call(i,t(e))}),null,r)}))}function i(e,t){return a((function(n,i,r){return void 0===i&&(i=null),e((function(e){t(e),n.call(i,e)}),null,r)}))}function r(e,t){return a((function(n,i,r){return void 0===i&&(i=null),e((function(e){return t(e)&&n.call(i,e)}),null,r)}))}function o(e,t,i){var r=i;return n(e,(function(e){return r=t(r,e)}))}function a(e){var t,n=new u({onFirstListenerAdd:function(){t=e(n.fire,n)},onLastListenerRemove:function(){t.dispose()}});return n.event}function l(e,t,n,i,r){var o;void 0===n&&(n=100),void 0===i&&(i=!1);var a=void 0,s=void 0,l=0,c=new u({leakWarningThreshold:r,onFirstListenerAdd:function(){o=e((function(e){l++,a=t(a,e),i&&!s&&c.fire(a),clearTimeout(s),s=setTimeout((function(){var e=a;a=void 0,s=void 0,(!i||l>1)&&c.fire(e),l=0}),n)}))},onLastListenerRemove:function(){o.dispose()}});return c.event}function c(e){var t,n=!0;return r(e,(function(e){var i=n||e!==t;return n=!1,t=e,i}))}e.None=function(){return s.a.None},e.once=t,e.map=n,e.forEach=i,e.filter=r,e.signal=function(e){return e},e.any=function(){for(var e=[],t=0;t0;){var i=this._deliveryQueue.shift(),r=i[0],a=i[1];try{"function"==typeof r?r.call(void 0,a):r[0].call(r[1],a)}catch(n){Object(o.e)(n)}}}},e.prototype.dispose=function(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0},e._noop=function(){},e}(),d=function(e){function t(t){var n=e.call(this,t)||this;return n._isPaused=0,n._eventQueue=new l.a,n._mergeFn=t&&t.merge,n}return c(t,e),t.prototype.pause=function(){this._isPaused++},t.prototype.resume=function(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){var t=this._eventQueue.toArray();this._eventQueue.clear(),e.prototype.fire.call(this,this._mergeFn(t))}else for(;!this._isPaused&&0!==this._eventQueue.size;)e.prototype.fire.call(this,this._eventQueue.shift())},t.prototype.fire=function(t){this._listeners&&(0!==this._isPaused?this._eventQueue.push(t):e.prototype.fire.call(this,t))},t}(u),p=function(){function e(){var e=this;this.hasListeners=!1,this.events=[],this.emitter=new u({onFirstListenerAdd:function(){return e.onFirstListenerAdd()},onLastListenerRemove:function(){return e.onLastListenerRemove()}})}return Object.defineProperty(e.prototype,"event",{get:function(){return this.emitter.event},enumerable:!0,configurable:!0}),e.prototype.add=function(e){var t=this,n={event:e,listener:null};this.events.push(n),this.hasListeners&&this.hook(n);return Object(s.h)(Object(a.a)((function(){t.hasListeners&&t.unhook(n);var e=t.events.indexOf(n);t.events.splice(e,1)})))},e.prototype.onFirstListenerAdd=function(){var e=this;this.hasListeners=!0,this.events.forEach((function(t){return e.hook(t)}))},e.prototype.onLastListenerRemove=function(){var e=this;this.hasListeners=!1,this.events.forEach((function(t){return e.unhook(t)}))},e.prototype.hook=function(e){var t=this;e.listener=e.event((function(e){return t.emitter.fire(e)}))},e.prototype.unhook=function(e){e.listener&&e.listener.dispose(),e.listener=null},e.prototype.dispose=function(){this.emitter.dispose()},e}(),h=function(){function e(){this.buffers=[]}return e.prototype.wrapEvent=function(e){var t=this;return function(n,i,r){return e((function(e){var r=t.buffers[t.buffers.length-1];r?r.push((function(){return n.call(i,e)})):n.call(i,e)}),void 0,r)}},e.prototype.bufferEvents=function(e){var t=[];this.buffers.push(t);var n=e();return this.buffers.pop(),t.forEach((function(e){return e()})),n},e}(),m=function(){function e(){var e=this;this.listening=!1,this.inputEvent=r.None,this.inputEventListener=s.a.None,this.emitter=new u({onFirstListenerDidAdd:function(){e.listening=!0,e.inputEventListener=e.inputEvent(e.emitter.fire,e.emitter)},onLastListenerRemove:function(){e.listening=!1,e.inputEventListener.dispose()}}),this.event=this.emitter.event}return Object.defineProperty(e.prototype,"input",{set:function(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.inputEventListener.dispose(),this.emitter.dispose()},e}()},function(e,t,n){"use strict";n.d(t,"q",(function(){return l})),n.d(t,"T",(function(){return o})),n.d(t,"W",(function(){return s})),n.d(t,"Z",(function(){return d})),n.d(t,"qb",(function(){return a})),n.d(t,"wb",(function(){return p})),n.d(t,"a",(function(){return Pn})),n.d(t,"b",(function(){return Ur})),n.d(t,"c",(function(){return Qt})),n.d(t,"d",(function(){return ir})),n.d(t,"e",(function(){return Mi})),n.d(t,"f",(function(){return ar})),n.d(t,"g",(function(){return zn})),n.d(t,"h",(function(){return Bn})),n.d(t,"i",(function(){return ri})),n.d(t,"j",(function(){return Fr})),n.d(t,"k",(function(){return Br})),n.d(t,"l",(function(){return mr})),n.d(t,"m",(function(){return gr})),n.d(t,"n",(function(){return _r})),n.d(t,"o",(function(){return Oi})),n.d(t,"p",(function(){return Lr})),n.d(t,"r",(function(){return Gr})),n.d(t,"s",(function(){return Pr})),n.d(t,"t",(function(){return pr})),n.d(t,"u",(function(){return Dn})),n.d(t,"v",(function(){return Sr})),n.d(t,"w",(function(){return Yn})),n.d(t,"x",(function(){return Ui})),n.d(t,"y",(function(){return Ar})),n.d(t,"z",(function(){return vr})),n.d(t,"A",(function(){return _n})),n.d(t,"B",(function(){return Ir})),n.d(t,"C",(function(){return Ln})),n.d(t,"D",(function(){return Jn})),n.d(t,"E",(function(){return Wr})),n.d(t,"F",(function(){return R})),n.d(t,"G",(function(){return pe})),n.d(t,"H",(function(){return I})),n.d(t,"I",(function(){return y})),n.d(t,"J",(function(){return fe})),n.d(t,"K",(function(){return Gi})),n.d(t,"L",(function(){return Wi})),n.d(t,"M",(function(){return It})),n.d(t,"N",(function(){return ve})),n.d(t,"O",(function(){return Cn})),n.d(t,"P",(function(){return At})),n.d(t,"Q",(function(){return Zr})),n.d(t,"R",(function(){return E})),n.d(t,"S",(function(){return ue})),n.d(t,"U",(function(){return Fe})),n.d(t,"V",(function(){return Hn})),n.d(t,"X",(function(){return F})),n.d(t,"Y",(function(){return j})),n.d(t,"ab",(function(){return be})),n.d(t,"bb",(function(){return Vi})),n.d(t,"cb",(function(){return Rt})),n.d(t,"db",(function(){return Lt})),n.d(t,"eb",(function(){return Mr})),n.d(t,"fb",(function(){return Nr})),n.d(t,"gb",(function(){return S})),n.d(t,"hb",(function(){return Yi})),n.d(t,"ib",(function(){return St})),n.d(t,"jb",(function(){return vt})),n.d(t,"kb",(function(){return zi})),n.d(t,"lb",(function(){return Se})),n.d(t,"mb",(function(){return ne})),n.d(t,"nb",(function(){return Ce})),n.d(t,"ob",(function(){return he})),n.d(t,"pb",(function(){return bt})),n.d(t,"rb",(function(){return Hr})),n.d(t,"sb",(function(){return Dr})),n.d(t,"tb",(function(){return $n})),n.d(t,"ub",(function(){return xt})),n.d(t,"vb",(function(){return B})),n.d(t,"xb",(function(){return ge}));n(425);var i=n(10);if("undefined"==typeof FullCalendarVDom)throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var r=FullCalendarVDom.Component,o=FullCalendarVDom.createElement,a=FullCalendarVDom.render,s=FullCalendarVDom.createRef,l=FullCalendarVDom.Fragment,c=FullCalendarVDom.createContext,u=FullCalendarVDom.createPortal,d=FullCalendarVDom.flushSync,p=FullCalendarVDom.unmountComponentAtNode,h=function(){function e(e,t){this.context=e,this.internalEventSource=t}return e.prototype.remove=function(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},e.prototype.refetch=function(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})},Object.defineProperty(e.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"format",{get:function(){return this.internalEventSource.meta.format},enumerable:!1,configurable:!0}),e}();function m(e){e.parentNode&&e.parentNode.removeChild(e)}function f(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(g(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}function g(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}var _=/(top|left|right|bottom|width|height)$/i;function v(e,t){for(var n in t)y(e,n,t[n])}function y(e,t,n){null==n?e.style[t]="":"number"==typeof n&&_.test(t)?e.style[t]=n+"px":e.style[t]=n}function b(e){var t,n;return null!==(n=null===(t=e.composedPath)||void 0===t?void 0:t.call(e)[0])&&void 0!==n?n:e.target}var w=0;function S(){return"fc-dom-"+(w+=1)}function C(e,t,n,i){var r=function(e,t){return function(n){var i=f(n.target,e);i&&t.call(i,n,i)}}(n,i);return e.addEventListener(t,r),function(){e.removeEventListener(t,r)}}function E(e){return Object(i.a)({onClick:e},k(e))}function k(e){return{tabIndex:0,onKeyDown:function(t){"Enter"!==t.key&&" "!==t.key||(e(t),t.preventDefault())}}}var T=0;function x(){return String(T+=1)}function O(e,t,n){return n.func?n.func(e,t):function(e,t){if(!e&&!t)return 0;if(null==t)return-1;if(null==e)return 1;if("string"==typeof e||"string"==typeof t)return String(e).localeCompare(String(t));return e-t}(e[n.field],t[n.field])*(n.order||1)}function D(e,t){var n=String(e);return"000".substr(0,t-n.length)+n}function N(e,t,n){return"function"==typeof e?e.apply(void 0,t):"string"==typeof e?t.reduce((function(e,t,n){return e.replace("$"+n,t||"")}),e):n}function M(e){return e%1==0}function A(e){var t=e.querySelector(".fc-scrollgrid-shrink-frame"),n=e.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return e.getBoundingClientRect().width-t.getBoundingClientRect().width+n.getBoundingClientRect().width}var L=["sun","mon","tue","wed","thu","fri","sat"];function I(e,t){var n=Y(e);return n[2]+=7*t,z(n)}function R(e,t){var n=Y(e);return n[2]+=t,z(n)}function P(e,t){var n=Y(e);return n[6]+=t,z(n)}function j(e,t){return F(e,t)/7}function F(e,t){return(t.valueOf()-e.valueOf())/864e5}function $(e,t){return G(e)===G(t)?Math.round(F(e,t)):null}function B(e){return z([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function H(e,t,n,i){var r=z([t,0,1+U(t,n,i)]),o=B(e),a=Math.round(F(r,o));return Math.floor(a/7)+1}function U(e,t,n){var i=7+t-n;return-((7+z([e,0,i]).getUTCDay()-t)%7)+i-1}function V(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function W(e){return new Date(e[0],e[1]||0,null==e[2]?1:e[2],e[3]||0,e[4]||0,e[5]||0)}function Y(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function z(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,e))}function q(e){return!isNaN(e.valueOf())}function G(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function K(e,t,n,i){return{instanceId:x(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==i?null:i}}var Q=Object.prototype.hasOwnProperty;function Z(e,t){var n={};if(t)for(var i in t){for(var r=[],o=e.length-1;o>=0;o-=1){var a=e[o][i];if("object"==typeof a&&a)r.unshift(a);else if(void 0!==a){n[i]=a;break}}r.length&&(n[i]=Z(r))}for(o=e.length-1;o>=0;o-=1){var s=e[o];for(var l in s)l in n||(n[l]=s[l])}return n}function X(e,t){var n={};for(var i in e)t(e[i],i)&&(n[i]=e[i]);return n}function J(e,t){var n={};for(var i in e)n[i]=t(e[i],i);return n}function ee(e){for(var t={},n=0,i=e;n10&&(null==t?i=i.replace("Z",""):0!==t&&(i=i.replace("Z",we(t,!0)))),i}function ye(e){return e.toISOString().replace(/T.*$/,"")}function be(e){return D(e.getUTCHours(),2)+":"+D(e.getUTCMinutes(),2)+":"+D(e.getUTCSeconds(),2)}function we(e,t){void 0===t&&(t=!1);var n=e<0?"-":"+",i=Math.abs(e),r=Math.floor(i/60),o=Math.round(i%60);return t?n+D(r,2)+":"+D(o,2):"GMT"+n+r+(o?":"+D(o,2):"")}function Se(e,t,n){if(e===t)return!0;var i,r=e.length;if(r!==t.length)return!1;for(i=0;i1)||"numeric"!==r.year&&"2-digit"!==r.year||"numeric"!==r.month&&"2-digit"!==r.month||"numeric"!==r.day&&"2-digit"!==r.day||(s=1);var l=this.format(e,n),c=this.format(t,n);if(l===c)return l;var u=Le(function(e,t){var n={};for(var i in e)(!(i in Te)||Te[i]<=t)&&(n[i]=e[i]);return n}(r,s),o,n),d=u(e),p=u(t),h=function(e,t,n,i){var r=0;for(;r=fe(t)&&(i=R(i,1))}return e.start&&(n=B(e.start),i&&i<=n&&(i=R(n,1))),{start:n,end:i}}function ft(e,t,n,i){return"year"===i?ue(n.diffWholeYears(e,t),"year"):"month"===i?ue(n.diffWholeMonths(e,t),"month"):(o=t,a=B(r=e),s=B(o),{years:0,months:0,days:Math.round(F(a,s)),milliseconds:o.valueOf()-s.valueOf()-(r.valueOf()-a.valueOf())});var r,o,a,s}function gt(e,t){var n,i,r=[],o=t.start;for(e.sort(_t),n=0;no&&r.push({start:o,end:i.start}),i.end>o&&(o=i.end);return ot.start)&&(null===e.start||null===t.end||e.start=e.start)&&(null===e.end||t=(n||t.end),isToday:t&&bt(t,i.start)}}function It(e){return e.instance?e.instance.instanceId:e.def.defId+":"+e.range.start.toISOString()}function Rt(e,t){var n=e.eventRange,i=n.def,r=n.instance,o=i.url;if(o)return{href:o};var a=t.emitter,s=t.options.eventInteractive;return null==s&&null==(s=i.interactive)&&(s=Boolean(a.hasHandlers("eventClick"))),s?k((function(e){a.trigger("eventClick",{el:e.target,event:new Zt(t,i,r),jsEvent:e,view:t.viewApi})})):{}}var Pt={start:Ge,end:Ge,allDay:Boolean};function jt(e,t,n){var r=function(e,t){var n=qe(e,Pt),r=n.refined,o=n.extra,a=r.start?t.createMarkerMeta(r.start):null,s=r.end?t.createMarkerMeta(r.end):null,l=r.allDay;null==l&&(l=a&&a.isTimeUnspecified&&(!s||s.isTimeUnspecified));return Object(i.a)({range:{start:a?a.marker:null,end:s?s.marker:null},allDay:l},o)}(e,t),o=r.range;if(!o.start)return null;if(!o.end){if(null==n)return null;o.end=t.add(o.start,n)}return r}function Ft(e,t,n){return Object(i.a)(Object(i.a)({},$t(e,t,n)),{timeZone:t.timeZone})}function $t(e,t,n){return{start:t.toDate(e.start),end:t.toDate(e.end),startStr:t.formatIso(e.start,{omitTime:n}),endStr:t.formatIso(e.end,{omitTime:n})}}function Bt(e,t,n){var i=ut({editable:!1},n),r=pt(i.refined,i.extra,"",e.allDay,!0,n);return{def:r,ui:Tt(r,t),instance:K(r.defId,e.range),range:e.range,isStart:!0,isEnd:!0}}function Ht(e,t){for(var n,r,o={},a=0,s=t.pluginHooks.dateSpanTransforms;a=0;i-=1){var r=n[i].parseMeta(e);if(r)return{sourceDefId:i,meta:r}}return null}(o,t);if(s)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:o.defaultAllDay,eventDataTransform:o.eventDataTransform,success:o.success,failure:o.failure,publicId:o.id||"",sourceId:x(),sourceDefId:s.sourceDefId,meta:s.meta,ui:it(o,t),extendedProps:a}}return null}function Gt(e){return Object(i.a)(Object(i.a)(Object(i.a)({},tt),zt),e.pluginHooks.eventSourceRefiners)}function Kt(e,t){return"function"==typeof e&&(e=e()),null==e?t.createNowMarker():t.createMarker(e)}var Qt=function(){function e(){}return e.prototype.getCurrentData=function(){return this.currentDataManager.getCurrentData()},e.prototype.dispatch=function(e){return this.currentDataManager.dispatch(e)},Object.defineProperty(e.prototype,"view",{get:function(){return this.getCurrentData().viewApi},enumerable:!1,configurable:!0}),e.prototype.batchRendering=function(e){e()},e.prototype.updateSize=function(){this.trigger("_resize",!0)},e.prototype.setOption=function(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})},e.prototype.getOption=function(e){return this.currentDataManager.currentCalendarOptionsInput[e]},e.prototype.getAvailableLocaleCodes=function(){return Object.keys(this.getCurrentData().availableRawLocales)},e.prototype.on=function(e,t){var n=this.currentDataManager;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn("Unknown listener name '"+e+"'")},e.prototype.off=function(e,t){this.currentDataManager.emitter.off(e,t)},e.prototype.trigger=function(e){for(var t,n=[],r=1;r=1?Math.min(r,o):r}(e,this.weekDow,this.weekDoy)},e.prototype.format=function(e,t,n){return void 0===n&&(n={}),t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)},e.prototype.formatRange=function(e,t,n,i){return void 0===i&&(i={}),i.isEndExclusive&&(t=P(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=i.forcedStartTzo?i.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=i.forcedEndTzo?i.forcedEndTzo:this.offsetForMarker(t)},this,i.defaultSeparator)},e.prototype.formatIso=function(e,t){void 0===t&&(t={});var n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),ve(e,n,t.omitTime)},e.prototype.timestampToMarker=function(e){return"local"===this.timeZone?z(V(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?z(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)},e.prototype.offsetForMarker=function(e){return"local"===this.timeZone?-W(Y(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(Y(e)):null},e.prototype.toDate=function(e,t){return"local"===this.timeZone?W(Y(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(Y(e))*60):new Date(e.valueOf()-(t||0))},e}(),an=[],sn={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},ln=Object(i.a)(Object(i.a)({},sn),{buttonHints:{prev:"Previous $0",next:"Next $0",today:function(e,t){return"day"===t?"Today":"This "+e}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:function(e){return"Show "+e+" more event"+(1===e?"":"s")}});function cn(e){for(var t=e.length>0?e[0].code:"en",n=an.concat(e),i={en:ln},r=0,o=n;r0;r-=1){var o=i.slice(0,r).join("-");if(t[o])return t[o]}return null}(n,t)||ln;return dn(e,n,i)}(e,t):dn(e.code,[e.code],e)}function dn(e,t,n){var i=Z([sn,n],["buttonText"]);delete i.code;var r=i.week;return delete i.week,{codeArg:e,codes:t,week:r,simpleNumberFormat:new Intl.NumberFormat(e),options:i}}var pn,hn={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function mn(e,t){return Ke(function(e){var t;t=!0===e?[{}]:Array.isArray(e)?e.filter((function(e){return e.daysOfWeek})):"object"==typeof e&&e?[e]:[];return t=t.map((function(e){return Object(i.a)(Object(i.a)({},hn),e)}))}(e),null,t)}function fn(){return null==pn&&(pn=function(){if("undefined"==typeof document)return!0;var e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.innerHTML="
",e.querySelector("table").style.height="100px",e.querySelector("div").style.height="100%",document.body.appendChild(e);var t=e.querySelector("div").offsetHeight>0;return document.body.removeChild(e),t}()),pn}var gn={defs:{},instances:{}},_n=function(){function e(){this.getKeysForEventDefs=Ce(this._getKeysForEventDefs),this.splitDateSelection=Ce(this._splitDateSpan),this.splitEventStore=Ce(this._splitEventStore),this.splitIndividualUi=Ce(this._splitIndividualUi),this.splitEventDrag=Ce(this._splitInteraction),this.splitEventResize=Ce(this._splitInteraction),this.eventUiBuilders={}}return e.prototype.splitProps=function(e){var t=this,n=this.getKeyInfo(e),i=this.getKeysForEventDefs(e.eventStore),r=this.splitDateSelection(e.dateSelection),o=this.splitIndividualUi(e.eventUiBases,i),a=this.splitEventStore(e.eventStore,i),s=this.splitEventDrag(e.eventDrag),l=this.splitEventResize(e.eventResize),c={};for(var u in this.eventUiBuilders=J(n,(function(e,n){return t.eventUiBuilders[n]||Ce(vn)})),n){var d=n[u],p=a[u]||gn,h=this.eventUiBuilders[u];c[u]={businessHours:d.businessHours||e.businessHours,dateSelection:r[u]||null,eventStore:p,eventUiBases:h(e.eventUiBases[""],d.ui,o[u]),eventSelection:p.instances[e.eventSelection]?e.eventSelection:"",eventDrag:s[u]||null,eventResize:l[u]||null}}return c},e.prototype._splitDateSpan=function(e){var t={};if(e)for(var n=0,i=this.getKeysForDateSpan(e);nn:!!t&&e>=t.end)}}function bn(e,t){var n=["fc-day","fc-day-"+L[e.dow]];return e.isDisabled?n.push("fc-day-disabled"):(e.isToday&&(n.push("fc-day-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-day-past"),e.isFuture&&n.push("fc-day-future"),e.isOther&&n.push("fc-day-other")),n}var wn=Fe({year:"numeric",month:"long",day:"numeric"}),Sn=Fe({week:"long"});function Cn(e,t,n,r){void 0===n&&(n="day"),void 0===r&&(r=!0);var o=e.dateEnv,a=e.options,s=e.calendarApi,l=o.format(t,"week"===n?Sn:wn);if(a.navLinks){var c=o.toDate(t),u=function(e){var i="day"===n?a.navLinkDayClick:"week"===n?a.navLinkWeekClick:null;"function"==typeof i?i.call(s,o.toDate(t),e):("string"==typeof i&&(n=i),s.zoomTo(t,n))};return Object(i.a)({title:N(a.navLinkHint,[l,c],l),"data-navlink":""},r?E(u):{onClick:u})}return{"aria-label":l}}var En;function kn(){return En||(En=function(){var e=document.createElement("div");e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",e.style.left="-9999px",document.body.appendChild(e);var t=Tn(e);return document.body.removeChild(e),t}()),En}function Tn(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function xn(e){for(var t,n,i,r=function(e){var t=[];for(;e instanceof HTMLElement;){var n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}(e),o=e.getBoundingClientRect(),a=0,s=r;a=n[t]&&e=n[t]&&e0},e.prototype.canScrollHorizontally=function(){return this.getMaxScrollLeft()>0},e.prototype.canScrollUp=function(){return this.getScrollTop()>0},e.prototype.canScrollDown=function(){return this.getScrollTop()0},e.prototype.canScrollRight=function(){return this.getScrollLeft()=u.end?new Date(u.end.valueOf()-1):c),r=this.buildCurrentRangeInfo(e,t),o=/^(year|month|week|day)$/.test(r.unit),a=this.buildRenderRange(this.trimHiddenDays(r.range),r.unit,o),s=a=this.trimHiddenDays(a),d.showNonCurrentDates||(s=vt(s,r.range)),s=vt(s=this.adjustActiveRange(s),i),l=yt(r.range,i),{validRange:i,currentRange:r.range,currentRangeUnit:r.unit,isRangeAllDay:o,activeRange:s,renderRange:a,slotMinTime:d.slotMinTime,slotMaxTime:d.slotMaxTime,isValid:l,dateIncrement:this.buildDateIncrement(r.duration)}},e.prototype.buildValidRange=function(){var e=this.props.validRangeInput,t="function"==typeof e?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(t)||{start:null,end:null}},e.prototype.buildCurrentRangeInfo=function(e,t){var n,i=this.props,r=null,o=null,a=null;return i.duration?(r=i.duration,o=i.durationUnit,a=this.buildRangeFromDuration(e,t,r,o)):(n=this.props.dayCount)?(o="day",a=this.buildRangeFromDayCount(e,t,n)):(a=this.buildCustomVisibleRange(e))?o=i.dateEnv.greatestWholeUnit(a.start,a.end).unit:(o=_e(r=this.getFallbackDuration()).unit,a=this.buildRangeFromDuration(e,t,r,o)),{duration:r,unit:o,range:a}},e.prototype.getFallbackDuration=function(){return ue({day:1})},e.prototype.adjustActiveRange=function(e){var t=this.props,n=t.dateEnv,i=t.usesMinMaxTime,r=t.slotMinTime,o=t.slotMaxTime,a=e.start,s=e.end;return i&&(me(r)<0&&(a=B(a),a=n.add(a,r)),me(o)>1&&(s=R(s=B(s),-1),s=n.add(s,o))),{start:a,end:s}},e.prototype.buildRangeFromDuration=function(e,t,n,i){var r,o,a,s=this.props,l=s.dateEnv,c=s.dateAlignment;if(!c){var u=this.props.dateIncrement;c=u&&fe(u)e.fetchRange.end}(e,t,n)})),t,!1,n)}function ui(e,t,n,i,r){var o={};for(var a in e){var s=e[a];t[a]?o[a]=di(s,n,i,r):o[a]=s}return o}function di(e,t,n,r){var o=r.options,a=r.calendarApi,s=r.pluginHooks.eventSourceDefs[e.sourceDefId],l=x();return s.fetch({eventSource:e,range:t,isRefetch:n,context:r},(function(n){var i=n.rawEvents;o.eventSourceSuccess&&(i=o.eventSourceSuccess.call(a,i,n.xhr)||i),e.success&&(i=e.success.call(a,i,n.xhr)||i),r.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:l,fetchRange:t,rawEvents:i})}),(function(n){console.warn(n.message,n),o.eventSourceFailure&&o.eventSourceFailure.call(a,n),e.failure&&e.failure(n),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:l,fetchRange:t,error:n})})),Object(i.a)(Object(i.a)({},e),{isFetching:!0,latestFetchId:l})}function pi(e,t){return X(e,(function(e){return hi(e,t)}))}function hi(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function mi(e,t,n,i,r){switch(t.type){case"RECEIVE_EVENTS":return function(e,t,n,i,r,o){if(t&&n===t.latestFetchId){var a=Ke(function(e,t,n){var i=n.options.eventDataTransform,r=t?t.eventDataTransform:null;r&&(e=fi(e,r));i&&(e=fi(e,i));return e}(r,t,o),t,o);return i&&(a=ae(a,i,o)),Xe(gi(e,t.sourceId),a)}return e}(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,r);case"ADD_EVENTS":return function(e,t,n,i){n&&(t=ae(t,n,i));return Xe(e,t)}(e,t.eventStore,i?i.activeRange:null,r);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return Xe(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return i?ae(e,i.activeRange,r):e;case"REMOVE_EVENTS":return function(e,t){var n=e.defs,i=e.instances,r={},o={};for(var a in n)t.defs[a]||(r[a]=n[a]);for(var s in i)!t.instances[s]&&r[i[s].defId]&&(o[s]=i[s]);return{defs:r,instances:o}}(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return gi(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return Je(e,(function(e){return!e.sourceId}));case"REMOVE_ALL_EVENTS":return{defs:{},instances:{}};default:return e}}function fi(e,t){var n;if(t){n=[];for(var i=0,r=e;i=200&&a.status<400){var e=!1,t=void 0;try{t=JSON.parse(a.responseText),e=!0}catch(e){}e?i(t,a):r("Failure parsing JSON",a)}else r("Request failed",a)},a.onerror=function(){r("Request failed",a)},a.send(o)}function ki(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}function Ti(e,t){for(var n=te(t.getCurrentData().eventSources),i=[],r=0,o=e;r1)return{year:"numeric",month:"short",day:"numeric"};return{year:"numeric",month:"long",day:"numeric"}}(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}var Mi=function(){function e(e){var t=this;this.computeOptionsData=Ce(this._computeOptionsData),this.computeCurrentViewData=Ce(this._computeCurrentViewData),this.organizeRawLocales=Ce(cn),this.buildLocale=Ce(un),this.buildPluginHooks=Un(),this.buildDateEnv=Ce(Ai),this.buildTheme=Ce(Li),this.parseToolbars=Ce(wi),this.buildViewSpecs=Ce(ni),this.buildDateProfileGenerator=Ee(Ii),this.buildViewApi=Ce(Ri),this.buildViewUiProps=Ee(Fi),this.buildEventUiBySource=Ce(Pi,ne),this.buildEventUiBases=Ce(ji),this.parseContextBusinessHours=Ee(Bi),this.buildTitle=Ce(Ni),this.emitter=new On,this.actionRunner=new Di(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.getCurrentData=function(){return t.data},this.dispatch=function(e){t.actionRunner.request(e)},this.props=e,this.actionRunner.pause();var n={},r=this.computeOptionsData(e.optionOverrides,n,e.calendarApi),o=r.calendarOptions.initialView||r.pluginHooks.initialView,a=this.computeCurrentViewData(o,r,e.optionOverrides,n);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(a.options);var s,l,c,u=(s=r.calendarOptions,l=r.dateEnv,null!=(c=s.initialDate)?l.createMarker(c):Kt(s.now,l)),d=a.dateProfileGenerator.build(u);bt(d.activeRange,u)||(u=d.currentRange.start);for(var p={dateEnv:r.dateEnv,options:r.calendarOptions,pluginHooks:r.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},h=0,m=r.pluginHooks.contextInit;hs.end&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:s.end,end:a.end}},o)),r?(n.push.apply(n,Object(i.c)([{index:e.index,thickness:e.thickness,span:zi(s,a)}],o)),r):(n.push(e),0)},e.prototype.insertEntryAt=function(e,t){var n=this.entriesByLevel,i=this.levelCoords;-1===t.lateral?(qi(i,t.level,t.levelCoord),qi(n,t.level,[e])):qi(n[t.level],t.lateral,e),this.stackCnts[Wi(e)]=t.stackCnt},e.prototype.findInsertion=function(e){for(var t=this.levelCoords,n=this.entriesByLevel,i=this.strictOrder,r=this.stackCnts,o=t.length,a=0,s=-1,l=-1,c=null,u=0,d=0;d=a+e.thickness)break;for(var h=n[d],m=void 0,f=Gi(h,e.span.start,Vi),g=f[0]+f[1];(m=h[g])&&m.span.starta&&(a=_,c=m,s=d,l=g),_===a&&(u=Math.max(u,r[Wi(m)]+1)),g+=1}}var v=0;if(c)for(v=s+1;vn(e[r-1]))return[r,0];for(;ia))return[o,1];i=o+1}}return[i,0]}var Ki=function(){function e(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}return e.prototype.destroy=function(){},e}();function Qi(e,t){return{component:e,el:t.el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null}}var Zi={};(function(){function e(e,t){this.emitter=new On}e.prototype.destroy=function(){},e.prototype.setMirrorIsVisible=function(e){},e.prototype.setMirrorNeedsRevert=function(e){},e.prototype.setAutoScrollEnabled=function(e){}})(),Boolean;var Xi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t.prototype.render=function(){var e=this,t=this.props.widgetGroups.map((function(t){return e.renderWidgetGroup(t)}));return o.apply(void 0,Object(i.c)(["div",{className:"fc-toolbar-chunk"}],t))},t.prototype.renderWidgetGroup=function(e){for(var t=this.props,n=this.context.theme,r=[],a=!0,s=0,l=e;s1){var v=a&&n.getClass("buttonGroup")||"";return o.apply(void 0,Object(i.c)(["div",{className:v}],r))}return r[0]},t}(Pn),Ji=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t.prototype.render=function(){var e,t,n=this.props,i=n.model,r=n.extraClassName,a=!1,s=i.sectionWidgets,l=s.center;return s.left?(a=!0,e=s.left):e=s.start,s.right?(a=!0,t=s.right):t=s.end,o("div",{className:[r||"","fc-toolbar",a?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",e||[]),this.renderSection("center",l||[]),this.renderSection("end",t||[]))},t.prototype.renderSection=function(e,t){var n=this.props;return o(Xi,{key:e,widgetGroups:t,title:n.title,navUnit:n.navUnit,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled,titleId:n.titleId})},t}(Pn),er=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={availableWidth:null},t.handleEl=function(e){t.el=e,$n(t.props.elRef,e),t.updateAvailableWidth()},t.handleResize=function(){t.updateAvailableWidth()},t}return Object(i.b)(t,e),t.prototype.render=function(){var e=this.props,t=this.state,n=e.aspectRatio,i=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],r="",a="";return n?null!==t.availableWidth?r=t.availableWidth/n:a=1/n*100+"%":r=e.height||"",o("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:i.join(" "),style:{height:r,paddingBottom:a}},e.children)},t.prototype.componentDidMount=function(){this.context.addResizeHandler(this.handleResize)},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleResize)},t.prototype.updateAvailableWidth=function(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})},t}(Pn),tr=function(e){function t(t){var n=e.call(this,t)||this;return n.handleSegClick=function(e,t){var i=n.component,r=i.context,o=Et(t);if(o&&i.isValidSegDownEl(e.target)){var a=f(e.target,".fc-event-forced-url"),s=a?a.querySelector("a[href]").href:"";r.emitter.trigger("eventClick",{el:t,event:new Zt(i.context,o.eventRange.def,o.eventRange.instance),jsEvent:e,view:r.viewApi}),s&&!e.defaultPrevented&&(window.location.href=s)}},n.destroy=C(t.el,"click",".fc-event",n.handleSegClick),n}return Object(i.b)(t,e),t}(Ki),nr=function(e){function t(t){var n,i,r,o,a,s=e.call(this,t)||this;return s.handleEventElRemove=function(e){e===s.currentSegEl&&s.handleSegLeave(null,s.currentSegEl)},s.handleSegEnter=function(e,t){Et(t)&&(s.currentSegEl=t,s.triggerEvent("eventMouseEnter",e,t))},s.handleSegLeave=function(e,t){s.currentSegEl&&(s.currentSegEl=null,s.triggerEvent("eventMouseLeave",e,t))},s.removeHoverListeners=(n=t.el,i=".fc-event",r=s.handleSegEnter,o=s.handleSegLeave,C(n,"mouseover",i,(function(e,t){if(t!==a){a=t,r(e,t);var n=function(e){a=null,o(e,t),t.removeEventListener("mouseleave",n)};t.addEventListener("mouseleave",n)}}))),s}return Object(i.b)(t,e),t.prototype.destroy=function(){this.removeHoverListeners()},t.prototype.triggerEvent=function(e,t,n){var i=this.component,r=i.context,o=Et(n);t&&!i.isValidSegDownEl(t.target)||r.emitter.trigger(e,{el:n,event:new Zt(r,o.eventRange.def,o.eventRange.instance),jsEvent:t,view:r.viewApi})},t}(Ki),ir=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildViewContext=Ce(In),t.buildViewPropTransformers=Ce(or),t.buildToolbarProps=Ce(rr),t.headerRef=s(),t.footerRef=s(),t.interactionsStore={},t.state={viewLabelId:S()},t.registerInteractiveComponent=function(e,n){var i=Qi(e,n),r=[tr,nr].concat(t.props.pluginHooks.componentInteractions).map((function(e){return new e(i)}));t.interactionsStore[e.uid]=r,Zi[e.uid]=i},t.unregisterInteractiveComponent=function(e){var n=t.interactionsStore[e.uid];if(n){for(var i=0,r=n;i1?Cn(this.context,l):{},m=Object(i.a)(Object(i.a)(Object(i.a)({date:t.toDate(l),view:a},s.extraHookProps),{text:p}),u);return o(Yn,{hookProps:m,classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:lr,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},(function(e,t,n,r){return o("th",Object(i.a)({ref:e,role:"columnheader",className:d.concat(t).join(" "),"data-date":u.isDisabled?void 0:ye(l),colSpan:s.colSpan},s.extraDataAttrs),o("div",{className:"fc-scrollgrid-sync-inner"},!u.isDisabled&&o("a",Object(i.a)({ref:n,className:["fc-col-header-cell-cushion",s.isSticky?"fc-sticky":""].join(" ")},h),r)))}))},t}(Pn),ur=Fe({weekday:"long"}),dr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.dateEnv,r=t.theme,a=t.viewApi,s=t.options,l=R(new Date(2592e5),e.dow),c={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},u=[sr].concat(bn(c,r),e.extraClassNames||[]),d=n.format(l,e.dayHeaderFormat),p=Object(i.a)(Object(i.a)(Object(i.a)(Object(i.a)({date:l},c),{view:a}),e.extraHookProps),{text:d});return o(Yn,{hookProps:p,classNames:s.dayHeaderClassNames,content:s.dayHeaderContent,defaultContent:lr,didMount:s.dayHeaderDidMount,willUnmount:s.dayHeaderWillUnmount},(function(t,r,a,s){return o("th",Object(i.a)({ref:t,role:"columnheader",className:u.concat(r).join(" "),colSpan:e.colSpan},e.extraDataAttrs),o("div",{className:"fc-scrollgrid-sync-inner"},o("a",{"aria-label":n.format(l,ur),className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":""].join(" "),ref:a},s)))}))},t}(Pn),pr=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.initialNowDate=Kt(n.options.now,n.dateEnv),i.initialNowQueriedMs=(new Date).valueOf(),i.state=i.computeTiming().currentState,i}return Object(i.b)(t,e),t.prototype.render=function(){var e=this.props,t=this.state;return e.children(t.nowDate,t.todayRange)},t.prototype.componentDidMount=function(){this.setTimeout()},t.prototype.componentDidUpdate=function(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())},t.prototype.componentWillUnmount=function(){this.clearTimeout()},t.prototype.computeTiming=function(){var e=this.props,t=this.context,n=P(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),i=t.dateEnv.startOf(n,e.unit),r=t.dateEnv.add(i,ue(1,e.unit)),o=r.valueOf()-n.valueOf();return o=Math.min(864e5,o),{currentState:{nowDate:i,todayRange:hr(i)},nextState:{nowDate:r,todayRange:hr(r)},waitMs:o}},t.prototype.setTimeout=function(){var e=this,t=this.computeTiming(),n=t.nextState,i=t.waitMs;this.timeoutId=setTimeout((function(){e.setState(n,(function(){e.setTimeout()}))}),i)},t.prototype.clearTimeout=function(){this.timeoutId&&clearTimeout(this.timeoutId)},t.contextType=Ln,t}(r);function hr(e){var t=B(e);return{start:t,end:R(t,1)}}var mr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.createDayHeaderFormatter=Ce(fr),t}return Object(i.b)(t,e),t.prototype.render=function(){var e=this.context,t=this.props,n=t.dates,i=t.dateProfile,r=t.datesRepDistinctDays,a=t.renderIntro,s=this.createDayHeaderFormatter(e.options.dayHeaderFormat,r,n.length);return o(pr,{unit:"day"},(function(e,t){return o("tr",{role:"row"},a&&a("day"),n.map((function(e){return r?o(cr,{key:e.toISOString(),date:e,dateProfile:i,todayRange:t,colCnt:n.length,dayHeaderFormat:s}):o(dr,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:s})})))}))},t}(Pn);function fr(e,t,n){return e||function(e,t){return Fe(!e||t>10?{weekday:"short"}:t>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}(t,n)}var gr=function(){function e(e,t){for(var n=e.start,i=e.end,r=[],o=[],a=-1;n=t.length?t[t.length-1]+1:t[n]},e}(),_r=function(){function e(e,t){var n,i,r,o=e.dates;if(t){for(i=o[0].getUTCDay(),n=1;nt)return!0}return!1},t.prototype.needsYScrolling=function(){if(br.test(this.props.overflowY))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),n=e.children,i=0;it)return!0}return!1},t.prototype.getXScrollbarWidth=function(){return br.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},t.prototype.getYScrollbarWidth=function(){return br.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},t}(Pn),Sr=function(){function e(e){var t=this;this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=function(e,n){var i=t,r=i.depths,o=i.currentMap,a=!1,s=!1;null!==e?(a=n in o,o[n]=e,r[n]=(r[n]||0)+1,s=!0):(r[n]-=1,r[n]||(delete o[n],delete t.callbackMap[n],a=!0)),t.masterCallback&&(a&&t.masterCallback(null,String(n)),s&&t.masterCallback(e,String(n)))}}return e.prototype.createRef=function(e){var t=this,n=this.callbackMap[e];return n||(n=this.callbackMap[e]=function(n){t.handleValue(n,String(e))}),n},e.prototype.collect=function(e,t,n){return function(e,t,n,i){void 0===t&&(t=0),void 0===i&&(i=1);var r=[];null==n&&(n=Object.keys(e).length);for(var o=t;o=0&&e=0&&tt.eventRange.range.end?e:t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i,r=n(12);!function(e){e.editorTextFocus=new r.d("editorTextFocus",!1),e.focus=new r.d("editorFocus",!1),e.textInputFocus=new r.d("textInputFocus",!1),e.readOnly=new r.d("editorReadonly",!1),e.writable=e.readOnly.toNegated(),e.hasNonEmptySelection=new r.d("editorHasSelection",!1),e.hasOnlyEmptySelection=e.hasNonEmptySelection.toNegated(),e.hasMultipleSelections=new r.d("editorHasMultipleSelections",!1),e.hasSingleSelection=e.hasMultipleSelections.toNegated(),e.tabMovesFocus=new r.d("editorTabMovesFocus",!1),e.tabDoesNotMoveFocus=e.tabMovesFocus.toNegated(),e.isInEmbeddedEditor=new r.d("isInEmbeddedEditor",!1),e.canUndo=new r.d("canUndo",!1),e.canRedo=new r.d("canRedo",!1),e.languageId=new r.d("editorLangId",""),e.hasCompletionItemProvider=new r.d("editorHasCompletionItemProvider",!1),e.hasCodeActionsProvider=new r.d("editorHasCodeActionsProvider",!1),e.hasCodeLensProvider=new r.d("editorHasCodeLensProvider",!1),e.hasDefinitionProvider=new r.d("editorHasDefinitionProvider",!1),e.hasDeclarationProvider=new r.d("editorHasDeclarationProvider",!1),e.hasImplementationProvider=new r.d("editorHasImplementationProvider",!1),e.hasTypeDefinitionProvider=new r.d("editorHasTypeDefinitionProvider",!1),e.hasHoverProvider=new r.d("editorHasHoverProvider",!1),e.hasDocumentHighlightProvider=new r.d("editorHasDocumentHighlightProvider",!1),e.hasDocumentSymbolProvider=new r.d("editorHasDocumentSymbolProvider",!1),e.hasReferenceProvider=new r.d("editorHasReferenceProvider",!1),e.hasRenameProvider=new r.d("editorHasRenameProvider",!1),e.hasSignatureHelpProvider=new r.d("editorHasSignatureHelpProvider",!1),e.hasDocumentFormattingProvider=new r.d("editorHasDocumentFormattingProvider",!1),e.hasDocumentSelectionFormattingProvider=new r.d("editorHasDocumentSelectionFormattingProvider",!1),e.hasMultipleDocumentFormattingProvider=new r.d("editorHasMultipleDocumentFormattingProvider",!1),e.hasMultipleDocumentSelectionFormattingProvider=new r.d("editorHasMultipleDocumentSelectionFormattingProvider",!1)}(i||(i={}))},function(e,t,n){"use strict";function i(e){return!e||"string"!=typeof e||0===e.trim().length}function r(e,t,n){void 0===n&&(n="0");for(var i=""+e,r=[i],o=i.length;o=t.length?e:t[i]}))}function s(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function l(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function c(e,t){return void 0===t&&(t=" "),u(function(e,t){if(!e||!t)return e;var n=t.length;if(0===n||0===e.length)return e;var i=0;for(;e.indexOf(t,i)===i;)i+=n;return e.substring(i)}(e,t),t)}function u(e,t){if(!e||!t)return e;var n=t.length,i=e.length;if(0===n||0===i)return e;for(var r=i,o=-1;-1!==(o=e.lastIndexOf(t,r-1))&&o+n===r;){if(0===o)return"";r=o}return e.substring(0,r)}function d(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function p(e,t){if(e.length0?e.indexOf(t,n)===n:0===n&&e===t}function m(e,t,n){if(void 0===n&&(n={}),!e)throw new Error("Cannot create regex from empty string");t||(e=l(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));var i="";return n.global&&(i+="g"),n.matchCase||(i+="i"),n.multiline&&(i+="m"),n.unicode&&(i+="u"),new RegExp(e,i)}function f(e){return"^"!==e.source&&"^$"!==e.source&&"$"!==e.source&&"^\\s*$"!==e.source&&!(!e.exec("")||0!==e.lastIndex)}function g(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function _(e){for(var t=0,n=e.length;t=0;n--){var i=e.charCodeAt(n);if(32!==i&&9!==i)return n}return-1}function b(e,t){return et?1:0}function w(e,t){for(var n=Math.min(e.length,t.length),i=0;it.length?1:0}function S(e){return e>=97&&e<=122}function C(e){return e>=65&&e<=90}function E(e){return S(e)||C(e)}function k(e,t){return e.length===t.length&&T(e,t)}function T(e,t,n){void 0===n&&(n=e.length);for(var i=0;ie.length)&&T(e,t,n)}function O(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n1){var i=e.charCodeAt(t-2);if(N(i))return n-56320+(i-55296<<10)+65536}return n}function I(e,t){var n=te.getInstance(),i=t,r=e.length,o=A(e,r,t);t+=o>=65536?2:1;for(var a=n.getGraphemeBreakType(o);t=65536?2:1,a=l}return t-i}function R(e,t){var n=te.getInstance(),i=t,r=L(e,t);t-=r>=65536?2:1;for(var o=n.getGraphemeBreakType(r);t>0;){var a=L(e,t),s=n.getGraphemeBreakType(a);if(ee(s,o))break;t-=a>=65536?2:1,o=s}return i-t}function P(e,t){var n=te.getInstance(),i=e.length,r=t,o=A(e,i,t),a=n.getGraphemeBreakType(o);t+=o>=65536?2:1;for(var s=a;t=65536?2:1,s=c}var u=t;for(t=r,s=a;t>0;){var d=L(e,t),p=n.getGraphemeBreakType(d);if(ee(p,s))break;t-=d>=65536?2:1,s=p}return[t,u]}function j(e,t){return t>0&&M(e.charCodeAt(t))?P(e,t-1):P(e,t)}var F=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function $(e){return F.test(e)}var B=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function H(e){return B.test(e)}var U=/^[\t\n\r\x20-\x7E]*$/;function V(e){return U.test(e)}function W(e){for(var t=0,n=e.length;t=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function z(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}var q=String.fromCharCode(65279);function G(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function K(e){return btoa(encodeURIComponent(e))}function Q(e,t){for(var n="",i=0;it[3*i+1]))return t[3*i+2];i=2*i+1}return 0},e._INSTANCE=null,e}()},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a}));var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0){var n=e.split("!=");return d.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("==")>=0){n=e.split("==");return u.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("=~")>=0){n=e.split("=~");return h.create(n[0].trim(),this._deserializeRegexValue(n[1],t))}return/^\!\s*/.test(e)?p.create(e.substr(1).trim()):c.create(e)},e._deserializeValue=function(e,t){if("true"===(e=e.trim()))return!0;if("false"===e)return!1;var n=/^'([^']*)'$/.exec(e);return n?n[1].trim():e},e._deserializeRegexValue=function(e,t){if(Object(r.y)(e)){if(t)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}var n=e.indexOf("/"),i=e.lastIndexOf("/");if(n===i||n<0){if(t)throw new Error("bad regexp-value '"+e+"', missing /-enclosure");return console.warn("bad regexp-value '"+e+"', missing /-enclosure"),null}var o=e.slice(n+1,i),a="i"===e[i+1]?"i":"";try{return new RegExp(o,a)}catch(n){if(t)throw new Error("bad regexp-value '"+e+"', parse error: "+n);return console.warn("bad regexp-value '"+e+"', parse error: "+n),null}},e}();function l(e,t){var n=e.getType(),i=t.getType();if(n!==i)return n-i;switch(n){case 1:case 2:case 3:case 4:case 6:case 7:case 5:return e.cmp(t);default:throw new Error("Unknown ContextKeyExpr!")}}var c=function(){function e(e){this.key=e}return e.create=function(t){return new e(t)},e.prototype.getType=function(){return 1},e.prototype.cmp=function(e){return this.keye.key?1:0},e.prototype.equals=function(t){return t instanceof e&&this.key===t.key},e.prototype.evaluate=function(e){return!!e.getValue(this.key)},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return p.create(this.key)},e}(),u=function(){function e(e,t){this.key=e,this.value=t}return e.create=function(t,n){return"boolean"==typeof n?n?c.create(t):p.create(t):new e(t,n)},e.prototype.getType=function(){return 3},e.prototype.cmp=function(e){return this.keye.key?1:this.valuee.value?1:0},e.prototype.equals=function(t){return t instanceof e&&(this.key===t.key&&this.value===t.value)},e.prototype.evaluate=function(e){return e.getValue(this.key)==this.value},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return d.create(this.key,this.value)},e}(),d=function(){function e(e,t){this.key=e,this.value=t}return e.create=function(t,n){return"boolean"==typeof n?n?p.create(t):c.create(t):new e(t,n)},e.prototype.getType=function(){return 4},e.prototype.cmp=function(e){return this.keye.key?1:this.valuee.value?1:0},e.prototype.equals=function(t){return t instanceof e&&(this.key===t.key&&this.value===t.value)},e.prototype.evaluate=function(e){return e.getValue(this.key)!=this.value},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return u.create(this.key,this.value)},e}(),p=function(){function e(e){this.key=e}return e.create=function(t){return new e(t)},e.prototype.getType=function(){return 2},e.prototype.cmp=function(e){return this.keye.key?1:0},e.prototype.equals=function(t){return t instanceof e&&this.key===t.key},e.prototype.evaluate=function(e){return!e.getValue(this.key)},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return c.create(this.key)},e}(),h=function(){function e(e,t){this.key=e,this.regexp=t}return e.create=function(t,n){return new e(t,n)},e.prototype.getType=function(){return 6},e.prototype.cmp=function(e){if(this.keye.key)return 1;var t=this.regexp?this.regexp.source:"",n=e.regexp?e.regexp.source:"";return tn?1:0},e.prototype.equals=function(t){if(t instanceof e){var n=this.regexp?this.regexp.source:"",i=t.regexp?t.regexp.source:"";return this.key===t.key&&n===i}return!1},e.prototype.evaluate=function(e){var t=e.getValue(this.key);return!!this.regexp&&this.regexp.test(t)},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return m.create(this)},e}(),m=function(){function e(e){this._actual=e}return e.create=function(t){return new e(t)},e.prototype.getType=function(){return 7},e.prototype.cmp=function(e){return this._actual.cmp(e._actual)},e.prototype.equals=function(t){return t instanceof e&&this._actual.equals(t._actual)},e.prototype.evaluate=function(e){return!this._actual.evaluate(e)},e.prototype.keys=function(){return this._actual.keys()},e.prototype.negate=function(){return this._actual},e}(),f=function(){function e(e){this.expr=e}return e.create=function(t){var n=e._normalizeArr(t);if(0!==n.length)return 1===n.length?n[0]:new e(n)},e.prototype.getType=function(){return 5},e.prototype.cmp=function(e){if(this.expr.lengthe.expr.length)return 1;for(var t=0,n=this.expr.length;t1;){for(var a=t.shift(),l=t.shift(),c=[],u=0,d=o(a);ur&&(r=s)}return r}if("string"==typeof e)return i?"*"===e?5:e===n?10:0:0;if(e){var u=e.language,d=e.pattern,p=e.scheme,h=e.hasAccessToAllModels;if(!i&&!h)return 0;r=0;if(p)if(p===t.scheme)r=10;else{if("*"!==p)return 0;r=5}if(u)if(u===n)r=10;else{if("*"!==u)return 0;r=Math.max(r,5)}if(d){if(d!==t.fsPath&&!Object(l.a)(d,t.fsPath))return 0;r=10}return r}return 0}var u=n(68);function d(e){return"string"!=typeof e&&(Array.isArray(e)?e.every(d):!!e.exclusive)}var p,h,m,f,g=function(){function e(){this._clock=0,this._entries=[],this._onDidChange=new a.a}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),e.prototype.register=function(e,t){var n=this,i={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(i),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),Object(s.h)((function(){if(i){var e=n._entries.indexOf(i);e>=0&&(n._entries.splice(e,1),n._lastCandidate=void 0,n._onDidChange.fire(n._entries.length),i=void 0)}}))},e.prototype.has=function(e){return this.all(e).length>0},e.prototype.all=function(e){if(!e)return[];this._updateScores(e);for(var t=[],n=0,i=this._entries;n0&&t.push(r.provider)}return t},e.prototype.ordered=function(e){var t=[];return this._orderedForEach(e,(function(e){return t.push(e.provider)})),t},e.prototype.orderedGroups=function(e){var t,n,i=[];return this._orderedForEach(e,(function(e){t&&n===e._score?t.push(e.provider):(n=e._score,t=[e.provider],i.push(t))})),i},e.prototype._orderedForEach=function(e,t){if(e){this._updateScores(e);for(var n=0,i=this._entries;n0&&t(r)}}},e.prototype._updateScores=function(t){var n={uri:t.uri.toString(),language:t.getLanguageIdentifier().language};if(!this._lastCandidate||this._lastCandidate.language!==n.language||this._lastCandidate.uri!==n.uri){this._lastCandidate=n;for(var i=0,r=this._entries;i0){for(var a=0,s=this._entries;at._score?-1:e._timet._time?-1:0},e}(),_=n(59),v=function(){function e(){this._map=new Map,this._promises=new Map,this._onDidChange=new a.a,this.onDidChange=this._onDidChange.event,this._colorMap=null}return e.prototype.fire=function(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})},e.prototype.register=function(e,t){var n=this;return this._map.set(e,t),this.fire([e]),Object(s.h)((function(){n._map.get(e)===t&&(n._map.delete(e),n.fire([e]))}))},e.prototype.registerPromise=function(e,t){var n=this,i=null,r=!1;return this._promises.set(e,t.then((function(t){n._promises.delete(e),!r&&t&&(i=n.register(e,t))}))),Object(s.h)((function(){r=!0,i&&i.dispose()}))},e.prototype.getPromise=function(e){var t=this,n=this.get(e);if(n)return Promise.resolve(n);var i=this._promises.get(e);return i?i.then((function(n){return t.get(e)})):null},e.prototype.get=function(e){return Object(i.o)(this._map.get(e))},e.prototype.setColorMap=function(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Object(_.d)(this._map),changedColorMap:!0})},e.prototype.getColorMap=function(){return this._colorMap},e.prototype.getDefaultBackground=function(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null},e}(),y=function(e,t){this.language=e,this.id=t},b=function(){function e(){}return e.getLanguageId=function(e){return(255&e)>>>0},e.getTokenType=function(e){return(1792&e)>>>8},e.getFontStyle=function(e){return(14336&e)>>>11},e.getForeground=function(e){return(8372224&e)>>>14},e.getBackground=function(e){return(4286578688&e)>>>23},e.getClassNameFromMetadata=function(e){var t="mtk"+this.getForeground(e),n=this.getFontStyle(e);return 1&n&&(t+=" mtki"),2&n&&(t+=" mtkb"),4&n&&(t+=" mtku"),t},e.getInlineStyleFromMetadata=function(e,t){var n=this.getForeground(e),i=this.getFontStyle(e),r="color: "+t[n]+";";return 1&i&&(r+="font-style: italic;"),2&i&&(r+="font-weight: bold;"),4&i&&(r+="text-decoration: underline;"),r},e}(),w=((p=Object.create(null))[0]="method",p[1]="function",p[2]="constructor",p[3]="field",p[4]="variable",p[5]="class",p[6]="struct",p[7]="interface",p[8]="module",p[9]="property",p[10]="event",p[11]="operator",p[12]="unit",p[13]="value",p[14]="constant",p[15]="enum",p[16]="enum-member",p[17]="keyword",p[25]="snippet",p[18]="text",p[19]="color",p[20]="file",p[21]="reference",p[22]="customcolor",p[23]="folder",p[24]="type-parameter",function(e){return p[e]||"property"}),S=function(){var e=Object.create(null);return e.method=0,e.function=1,e.constructor=2,e.field=3,e.variable=4,e.class=5,e.struct=6,e.interface=7,e.module=8,e.property=9,e.event=10,e.operator=11,e.unit=12,e.value=13,e.constant=14,e.enum=15,e["enum-member"]=16,e.enumMember=16,e.keyword=17,e.snippet=25,e.text=18,e.color=19,e.file=20,e.reference=21,e.customcolor=22,e.folder=23,e["type-parameter"]=24,e.typeParameter=24,function(t,n){var i=e[t];return void 0!==i||n||(i=9),i}}();function C(e){return e&&r.a.isUri(e.uri)&&o.a.isIRange(e.range)&&(o.a.isIRange(e.originSelectionRange)||o.a.isIRange(e.targetSelectionRange))}!function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(h||(h={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(m||(m={})),function(e){var t=new Map;t.set("file",0),t.set("module",1),t.set("namespace",2),t.set("package",3),t.set("class",4),t.set("method",5),t.set("property",6),t.set("field",7),t.set("constructor",8),t.set("enum",9),t.set("interface",10),t.set("function",11),t.set("variable",12),t.set("constant",13),t.set("string",14),t.set("number",15),t.set("boolean",16),t.set("array",17),t.set("object",18),t.set("key",19),t.set("null",20),t.set("enum-member",21),t.set("struct",22),t.set("event",23),t.set("operator",24),t.set("type-parameter",25);var n=new Map;n.set(0,"file"),n.set(1,"module"),n.set(2,"namespace"),n.set(3,"package"),n.set(4,"class"),n.set(5,"method"),n.set(6,"property"),n.set(7,"field"),n.set(8,"constructor"),n.set(9,"enum"),n.set(10,"interface"),n.set(11,"function"),n.set(12,"variable"),n.set(13,"constant"),n.set(14,"string"),n.set(15,"number"),n.set(16,"boolean"),n.set(17,"array"),n.set(18,"object"),n.set(19,"key"),n.set(20,"null"),n.set(21,"enum-member"),n.set(22,"struct"),n.set(23,"event"),n.set(24,"operator"),n.set(25,"type-parameter"),e.fromString=function(e){return t.get(e)},e.toString=function(e){return n.get(e)},e.toCssClassName=function(e,t){return"codicon "+(t?"inline":"block")+" codicon-symbol-"+(n.get(e)||"property")}}(f||(f={}));var E=function(){function e(e){this.value=e}return e.Comment=new e("comment"),e.Imports=new e("imports"),e.Region=new e("region"),e}();function k(e){return Object(i.i)(e)&&e.resource&&Array.isArray(e.edits)}var T=new g,x=new g,O=new g,D=new g,N=new g,M=new g,A=new g,L=new g,I=new g,R=new g,P=new g,j=new g,F=new g,$=new g,B=new g,H=new g,U=new g,V=new g,W=new g,Y=new g,z=new g,q=new v},function(e,t,n){n(535),e.exports=angular},function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return u}));var i=new(function(){function e(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((function(){if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e}),0)}}return e.prototype.emit=function(e){this.listeners.forEach((function(t){t(e)}))},e.prototype.onUnexpectedError=function(e){this.unexpectedErrorHandler(e),this.emit(e)},e.prototype.onUnexpectedExternalError=function(e){this.unexpectedErrorHandler(e)},e}());function r(e){s(e)||i.onUnexpectedError(e)}function o(e){s(e)||i.onUnexpectedExternalError(e)}function a(e){return e instanceof Error?{$isError:!0,name:e.name,message:e.message,stack:e.stacktrace||e.stack}:e}function s(e){return e instanceof Error&&"Canceled"===e.name&&"Canceled"===e.message}function l(){var e=new Error("Canceled");return e.name=e.message,e}function c(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function u(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}},function(e,t,n){"use strict";function i(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var r=function(){function e(e,t,n,r){void 0===r&&(r=1),this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,n)),this.a=i(Math.max(Math.min(1,r),0),3)}return e.equals=function(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a},e}(),o=function(){function e(e,t,n,r){this.h=0|Math.max(Math.min(360,e),0),this.s=i(Math.max(Math.min(1,t),0),3),this.l=i(Math.max(Math.min(1,n),0),3),this.a=i(Math.max(Math.min(1,r),0),3)}return e.equals=function(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a},e.fromRGBA=function(t){var n=t.r/255,i=t.g/255,r=t.b/255,o=t.a,a=Math.max(n,i,r),s=Math.min(n,i,r),l=0,c=0,u=(s+a)/2,d=a-s;if(d>0){switch(c=Math.min(u<=.5?d/(2*u):d/(2-2*u),1),a){case n:l=(i-r)/d+(i1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e},e.toRGBA=function(t){var n,i,o,a=t.h/360,s=t.s,l=t.l,c=t.a;if(0===s)n=i=o=l;else{var u=l<.5?l*(1+s):l+s-l*s,d=2*l-u;n=e._hue2rgb(d,u,a+1/3),i=e._hue2rgb(d,u,a),o=e._hue2rgb(d,u,a-1/3)}return new r(Math.round(255*n),Math.round(255*i),Math.round(255*o),c)},e}(),a=function(){function e(e,t,n,r){this.h=0|Math.max(Math.min(360,e),0),this.s=i(Math.max(Math.min(1,t),0),3),this.v=i(Math.max(Math.min(1,n),0),3),this.a=i(Math.max(Math.min(1,r),0),3)}return e.equals=function(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a},e.fromRGBA=function(t){var n,i=t.r/255,r=t.g/255,o=t.b/255,a=Math.max(i,r,o),s=a-Math.min(i,r,o),l=0===a?0:s/a;return n=0===s?0:a===i?((r-o)/s%6+6)%6:a===r?(o-i)/s+2:(i-r)/s+4,new e(Math.round(60*n),l,a,t.a)},e.toRGBA=function(e){var t=e.h,n=e.s,i=e.v,o=e.a,a=i*n,s=a*(1-Math.abs(t/60%2-1)),l=i-a,c=[0,0,0],u=c[0],d=c[1],p=c[2];return t<60?(u=a,d=s):t<120?(u=s,d=a):t<180?(d=a,p=s):t<240?(d=s,p=a):t<300?(u=s,p=a):t<360&&(u=a,p=s),u=Math.round(255*(u+l)),d=Math.round(255*(d+l)),p=Math.round(255*(p+l)),new r(u,d,p,o)},e}(),s=function(){function e(e){if(!e)throw new Error("Color needs a value");if(e instanceof r)this.rgba=e;else if(e instanceof o)this._hsla=e,this.rgba=o.toRGBA(e);else{if(!(e instanceof a))throw new Error("Invalid color ctor argument");this._hsva=e,this.rgba=a.toRGBA(e)}}return e.fromHex=function(t){return e.Format.CSS.parseHex(t)||e.red},Object.defineProperty(e.prototype,"hsla",{get:function(){return this._hsla?this._hsla:o.fromRGBA(this.rgba)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hsva",{get:function(){return this._hsva?this._hsva:a.fromRGBA(this.rgba)},enumerable:!0,configurable:!0}),e.prototype.equals=function(e){return!!e&&r.equals(this.rgba,e.rgba)&&o.equals(this.hsla,e.hsla)&&a.equals(this.hsva,e.hsva)},e.prototype.getRelativeLuminance=function(){return i(.2126*e._relativeLuminanceForComponent(this.rgba.r)+.7152*e._relativeLuminanceForComponent(this.rgba.g)+.0722*e._relativeLuminanceForComponent(this.rgba.b),4)},e._relativeLuminanceForComponent=function(e){var t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)},e.prototype.isLighter=function(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128},e.prototype.isLighterThan=function(e){return this.getRelativeLuminance()>e.getRelativeLuminance()},e.prototype.isDarkerThan=function(e){return this.getRelativeLuminance()=0,o=u.indexOf("Macintosh")>=0,c=u.indexOf("Macintosh")>=0&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,a=u.indexOf("Linux")>=0,l=!0,navigator.language;var f=r,g=o,_=a,v=s,y=l,b=c,w="object"==typeof self?self:"object"==typeof i?i:{},S=function(){if(w.setImmediate)return w.setImmediate.bind(w);if("function"==typeof w.postMessage&&!w.importScripts){var t=[];w.addEventListener("message",(function(e){if(e.data&&e.data.vscodeSetImmediateId)for(var n=0,i=t.length;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var A=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,L=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},R={};function P(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(R[e]=r),t&&(R[t[0]]=function(){return M(r.apply(this,arguments),t[1],t[2])}),n&&(R[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function j(e,t){return e.isValid()?(t=F(t,e.localeData()),I[t]=I[t]||function(e){var t,n,i,r=e.match(A);for(t=0,n=r.length;t=0&&L.test(e);)e=e.replace(L,i),L.lastIndex=0,n-=1;return e}var $={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function B(e){return"string"==typeof e?$[e]||$[e.toLowerCase()]:void 0}function H(e){var t,n,i={};for(n in e)s(e,n)&&(t=B(n))&&(i[t]=e[n]);return i}var U,V={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},W=/\d/,Y=/\d\d/,z=/\d{3}/,q=/\d{4}/,G=/[+-]?\d{6}/,K=/\d\d?/,Q=/\d\d\d\d?/,Z=/\d\d\d\d\d\d?/,X=/\d{1,3}/,J=/\d{1,4}/,ee=/[+-]?\d{1,6}/,te=/\d+/,ne=/[+-]?\d+/,ie=/Z|[+-]\d\d:?\d\d/gi,re=/Z|[+-]\d\d(?::?\d\d)?/gi,oe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ae=/^[1-9]\d?/,se=/^([1-9]\d|\d)/;function le(e,t,n){U[e]=O(t)?t:function(e,i){return e&&n?n:t}}function ce(e,t){return s(U,e)?U[e](t._strict,t._locale):new RegExp(ue(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,i,r){return t||n||i||r}))))}function ue(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function de(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function pe(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=de(t)),n}U={};var he={};function me(e,t){var n,i,r=t;for("string"==typeof e&&(e=[e]),u(t)&&(r=function(e,n){n[t]=pe(e)}),i=e.length,n=0;n68?1900:2e3)};var ye,be=we("FullYear",!0);function we(e,t){return function(n){return null!=n?(Ce(this,e,n),r.updateOffset(this,t),this):Se(this,e)}}function Se(e,t){if(!e.isValid())return NaN;var n=e._d,i=e._isUTC;switch(t){case"Milliseconds":return i?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return i?n.getUTCSeconds():n.getSeconds();case"Minutes":return i?n.getUTCMinutes():n.getMinutes();case"Hours":return i?n.getUTCHours():n.getHours();case"Date":return i?n.getUTCDate():n.getDate();case"Day":return i?n.getUTCDay():n.getDay();case"Month":return i?n.getUTCMonth():n.getMonth();case"FullYear":return i?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Ce(e,t,n){var i,r,o,a,s;if(e.isValid()&&!isNaN(n)){switch(i=e._d,r=e._isUTC,t){case"Milliseconds":return void(r?i.setUTCMilliseconds(n):i.setMilliseconds(n));case"Seconds":return void(r?i.setUTCSeconds(n):i.setSeconds(n));case"Minutes":return void(r?i.setUTCMinutes(n):i.setMinutes(n));case"Hours":return void(r?i.setUTCHours(n):i.setHours(n));case"Date":return void(r?i.setUTCDate(n):i.setDate(n));case"FullYear":break;default:return}o=n,a=e.month(),s=29!==(s=e.date())||1!==a||_e(o)?s:28,r?i.setUTCFullYear(o,a,s):i.setFullYear(o,a,s)}}function Ee(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,i=(t%(n=12)+n)%n;return e+=(t-i)/12,1===i?_e(e)?29:28:31-i%7%2}ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0?(s=new Date(e+400,t,n,i,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,o,a),s}function Re(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Pe(e,t,n){var i=7+t-n;return-(7+Re(e,0,i).getUTCDay()-t)%7+i-1}function je(e,t,n,i,r){var o,a,s=1+7*(t-1)+(7+n-i)%7+Pe(e,i,r);return s<=0?a=ve(o=e-1)+s:s>ve(e)?(o=e+1,a=s-ve(e)):(o=e,a=s),{year:o,dayOfYear:a}}function Fe(e,t,n){var i,r,o=Pe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?i=a+$e(r=e.year()-1,t,n):a>$e(e.year(),t,n)?(i=a-$e(e.year(),t,n),r=e.year()+1):(r=e.year(),i=a),{week:i,year:r}}function $e(e,t,n){var i=Pe(e,t,n),r=Pe(e+1,t,n);return(ve(e)-i+r)/7}function Be(e,t){return e.slice(t,7).concat(e.slice(0,t))}P("w",["ww",2],"wo","week"),P("W",["WW",2],"Wo","isoWeek"),le("w",K,ae),le("ww",K,Y),le("W",K,ae),le("WW",K,Y),fe(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=pe(e)})),P("d",0,"do","day"),P("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),P("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),P("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),P("e",0,0,"weekday"),P("E",0,0,"isoWeekday"),le("d",K),le("e",K),le("E",K),le("dd",(function(e,t){return t.weekdaysMinRegex(e)})),le("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),le("dddd",(function(e,t){return t.weekdaysRegex(e)})),fe(["dd","ddd","dddd"],(function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:f(n).invalidWeekday=e})),fe(["d","e","E"],(function(e,t,n,i){t[i]=pe(e)}));var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ue="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ve="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),We=oe,Ye=oe,ze=oe;function qe(e,t,n){var i,r,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=m([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=ye.call(this._weekdaysParse,a))?r:null:"ddd"===t?-1!==(r=ye.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=ye.call(this._minWeekdaysParse,a))?r:null:"dddd"===t?-1!==(r=ye.call(this._weekdaysParse,a))||-1!==(r=ye.call(this._shortWeekdaysParse,a))||-1!==(r=ye.call(this._minWeekdaysParse,a))?r:null:"ddd"===t?-1!==(r=ye.call(this._shortWeekdaysParse,a))||-1!==(r=ye.call(this._weekdaysParse,a))||-1!==(r=ye.call(this._minWeekdaysParse,a))?r:null:-1!==(r=ye.call(this._minWeekdaysParse,a))||-1!==(r=ye.call(this._weekdaysParse,a))||-1!==(r=ye.call(this._shortWeekdaysParse,a))?r:null}function Ge(){function e(e,t){return t.length-e.length}var t,n,i,r,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),i=ue(this.weekdaysMin(n,"")),r=ue(this.weekdaysShort(n,"")),o=ue(this.weekdays(n,"")),a.push(i),s.push(r),l.push(o),c.push(i),c.push(r),c.push(o);a.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ke(){return this.hours()%12||12}function Qe(e,t){P(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ze(e,t){return t._meridiemParse}P("H",["HH",2],0,"hour"),P("h",["hh",2],0,Ke),P("k",["kk",2],0,(function(){return this.hours()||24})),P("hmm",0,0,(function(){return""+Ke.apply(this)+M(this.minutes(),2)})),P("hmmss",0,0,(function(){return""+Ke.apply(this)+M(this.minutes(),2)+M(this.seconds(),2)})),P("Hmm",0,0,(function(){return""+this.hours()+M(this.minutes(),2)})),P("Hmmss",0,0,(function(){return""+this.hours()+M(this.minutes(),2)+M(this.seconds(),2)})),Qe("a",!0),Qe("A",!1),le("a",Ze),le("A",Ze),le("H",K,se),le("h",K,ae),le("k",K,ae),le("HH",K,Y),le("hh",K,Y),le("kk",K,Y),le("hmm",Q),le("hmmss",Z),le("Hmm",Q),le("Hmmss",Z),me(["H","HH"],3),me(["k","kk"],(function(e,t,n){var i=pe(e);t[3]=24===i?0:i})),me(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),me(["h","hh"],(function(e,t,n){t[3]=pe(e),f(n).bigHour=!0})),me("hmm",(function(e,t,n){var i=e.length-2;t[3]=pe(e.substr(0,i)),t[4]=pe(e.substr(i)),f(n).bigHour=!0})),me("hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=pe(e.substr(0,i)),t[4]=pe(e.substr(i,2)),t[5]=pe(e.substr(r)),f(n).bigHour=!0})),me("Hmm",(function(e,t,n){var i=e.length-2;t[3]=pe(e.substr(0,i)),t[4]=pe(e.substr(i))})),me("Hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=pe(e.substr(0,i)),t[4]=pe(e.substr(i,2)),t[5]=pe(e.substr(r))}));var Xe,Je=we("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ke,monthsShort:Te,week:{dow:0,doy:6},weekdays:He,weekdaysMin:Ve,weekdaysShort:Ue,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function it(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n0;){if(i=ot(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&it(r,n)>=t-1)break;t--}o++}return Xe}(e)}function ct(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Ee(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,f(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),f(e)._overflowWeeks&&-1===t&&(t=7),f(e)._overflowWeekday&&-1===t&&(t=8),f(e).overflow=t),e}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pt=/Z|[+-]\d\d(?::?\d\d)?/,ht=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],mt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ft=/^\/?Date\((-?\d+)/i,gt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,_t={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function vt(e){var t,n,i,r,o,a,s=e._i,l=ut.exec(s)||dt.exec(s),c=ht.length,u=mt.length;if(l){for(f(e).iso=!0,t=0,n=c;t7)&&(l=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,c=Fe(Tt(),o,a),n=wt(t.gg,e._a[0],c.year),i=wt(t.w,c.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+o,(t.e<0||t.e>6)&&(l=!0)):r=o),i<1||i>$e(n,o,a)?f(e)._overflowWeeks=!0:null!=l?f(e)._overflowWeekday=!0:(s=je(n,i,r,o,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=wt(e._a[0],i[0]),(e._dayOfYear>ve(a)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),n=Re(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Re:Ie).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(f(e).weekdayMismatch=!0)}}function Ct(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],f(e).empty=!0;var t,n,i,o,a,s,l,c=""+e._i,u=c.length,d=0;for(l=(i=F(e._f,e._locale).match(A)||[]).length,t=0;t0&&f(e).unusedInput.push(a),c=c.slice(c.indexOf(n)+n.length),d+=n.length),R[o]?(n?f(e).empty=!1:f(e).unusedTokens.push(o),ge(o,n,e)):e._strict&&!n&&f(e).unusedTokens.push(o);f(e).charsLeftOver=u-d,c.length>0&&f(e).unusedInput.push(c),e._a[3]<=12&&!0===f(e).bigHour&&e._a[3]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=f(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),St(e),ct(e)}else bt(e);else vt(e)}function Et(e){var t=e._i,n=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===n&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),S(t)?new w(ct(t)):(d(t)?e._d=t:o(n)?function(e){var t,n,i,r,o,a,s=!1,l=e._f.length;if(0===l)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;rthis?this:e:_()}));function Dt(e,t){var n,i;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Tt();for(n=t[0],i=1;i=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function on(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function sn(){var e,t,n,i,r,o=[],a=[],s=[],l=[],c=this.eras();for(e=0,t=c.length;e(o=$e(e,i,r))&&(t=o),un.call(this,e,t,n,i,r))}function un(e,t,n,i,r){var o=je(e,t,n,i,r),a=Re(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}P("N",0,0,"eraAbbr"),P("NN",0,0,"eraAbbr"),P("NNN",0,0,"eraAbbr"),P("NNNN",0,0,"eraName"),P("NNNNN",0,0,"eraNarrow"),P("y",["y",1],"yo","eraYear"),P("y",["yy",2],0,"eraYear"),P("y",["yyy",3],0,"eraYear"),P("y",["yyyy",4],0,"eraYear"),le("N",an),le("NN",an),le("NNN",an),le("NNNN",(function(e,t){return t.erasNameRegex(e)})),le("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),me(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,i){var r=n._locale.erasParse(e,i,n._strict);r?f(n).era=r:f(n).invalidEra=e})),le("y",te),le("yy",te),le("yyy",te),le("yyyy",te),le("yo",(function(e,t){return t._eraYearOrdinalRegex||te})),me(["y","yy","yyy","yyyy"],0),me(["yo"],(function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,r):t[0]=parseInt(e,10)})),P(0,["gg",2],0,(function(){return this.weekYear()%100})),P(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),le("G",ne),le("g",ne),le("GG",K,Y),le("gg",K,Y),le("GGGG",J,q),le("gggg",J,q),le("GGGGG",ee,G),le("ggggg",ee,G),fe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=pe(e)})),fe(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),P("Q",0,"Qo","quarter"),le("Q",W),me("Q",(function(e,t){t[1]=3*(pe(e)-1)})),P("D",["DD",2],"Do","date"),le("D",K,ae),le("DD",K,Y),le("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),me(["D","DD"],2),me("Do",(function(e,t){t[2]=pe(e.match(K)[0])}));var dn=we("Date",!0);P("DDD",["DDDD",3],"DDDo","dayOfYear"),le("DDD",X),le("DDDD",z),me(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=pe(e)})),P("m",["mm",2],0,"minute"),le("m",K,se),le("mm",K,Y),me(["m","mm"],4);var pn=we("Minutes",!1);P("s",["ss",2],0,"second"),le("s",K,se),le("ss",K,Y),me(["s","ss"],5);var hn,mn,fn=we("Seconds",!1);for(P("S",0,0,(function(){return~~(this.millisecond()/100)})),P(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),P(0,["SSS",3],0,"millisecond"),P(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),P(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),P(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),P(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),P(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),P(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),le("S",X,W),le("SS",X,Y),le("SSS",X,z),hn="SSSS";hn.length<=9;hn+="S")le(hn,te);function gn(e,t){t[6]=pe(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")me(hn,gn);mn=we("Milliseconds",!1),P("z",0,0,"zoneAbbr"),P("zz",0,0,"zoneName");var _n=w.prototype;function vn(e){return e}_n.add=qt,_n.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):Zt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Tt(),i=jt(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",a=t&&(O(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,Tt(n)))},_n.clone=function(){return new w(this)},_n.diff=function(e,t,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=jt(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=B(t)){case"year":o=Xt(this,i)/12;break;case"month":o=Xt(this,i);break;case"quarter":o=Xt(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:de(o)},_n.endOf=function(e){var t,n;if(void 0===(e=B(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?on:rn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},_n.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=j(this,e);return this.localeData().postformat(t)},_n.from=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Tt(e).isValid())?Ut({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},_n.fromNow=function(e){return this.from(Tt(),e)},_n.to=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Tt(e).isValid())?Ut({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},_n.toNow=function(e){return this.to(Tt(),e)},_n.get=function(e){return O(this[e=B(e)])?this[e]():this},_n.invalidAt=function(){return f(this).overflow},_n.isAfter=function(e,t){var n=S(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=B(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?j(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",j(n,"Z")):j(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},_n.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,i="moment",r="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=r+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(_n[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),_n.toJSON=function(){return this.isValid()?this.toISOString():null},_n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},_n.unix=function(){return Math.floor(this.valueOf()/1e3)},_n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},_n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},_n.eraName=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},_n.isLocal=function(){return!!this.isValid()&&!this._isUTC},_n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},_n.isUtc=$t,_n.isUTC=$t,_n.zoneAbbr=function(){return this._isUTC?"UTC":""},_n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},_n.dates=E("dates accessor is deprecated. Use date instead.",dn),_n.months=E("months accessor is deprecated. Use month instead",Ae),_n.years=E("years accessor is deprecated. Use year instead",be),_n.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),_n.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=Et(t))._a?(e=t._isUTC?m(t._a):Tt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var i,r=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(i=0;i0):this._isDSTShifted=!1,this._isDSTShifted}));var yn=N.prototype;function bn(e,t,n,i){var r=lt(),o=m().set(i,t);return r[n](o,e)}function wn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return bn(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=bn(e,i,n,"month");return r}function Sn(e,t,n,i){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var r,o=lt(),a=e?o._week.dow:0,s=[];if(null!=n)return bn(t,(n+a)%7,i,"day");for(r=0;r<7;r++)s[r]=bn(t,(r+a)%7,i,"day");return s}yn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return O(i)?i.call(t,n):i},yn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(A).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},yn.invalidDate=function(){return this._invalidDate},yn.ordinal=function(e){return this._ordinal.replace("%d",e)},yn.preparse=vn,yn.postformat=vn,yn.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return O(r)?r(e,t,n,i):r.replace(/%d/i,e)},yn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return O(n)?n(t):n.replace(/%s/i,t)},yn.set=function(e){var t,n;for(n in e)s(e,n)&&(O(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},yn.eras=function(e,t){var n,i,o,a=this._eras||lt("en")._eras;for(n=0,i=a.length;n=0)return l[i]},yn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n},yn.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},yn.erasNameRegex=function(e){return s(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},yn.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},yn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||xe).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},yn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[xe.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},yn.monthsParse=function(e,t,n){var i,r,o;if(this._monthsParseExact)return Ne.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=m([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},yn.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Le.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=De),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},yn.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Le.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Oe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},yn.week=function(e){return Fe(e,this._week.dow,this._week.doy).week},yn.firstDayOfYear=function(){return this._week.doy},yn.firstDayOfWeek=function(){return this._week.dow},yn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Be(n,this._week.dow):e?n[e.day()]:n},yn.weekdaysMin=function(e){return!0===e?Be(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},yn.weekdaysShort=function(e){return!0===e?Be(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},yn.weekdaysParse=function(e,t,n){var i,r,o;if(this._weekdaysParseExact)return qe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=m([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},yn.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=We),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},yn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ye),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},yn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ze),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},yn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},yn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},at("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===pe(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=E("moment.lang is deprecated. Use moment.locale instead.",at),r.langData=E("moment.langData is deprecated. Use moment.localeData instead.",lt);var Cn=Math.abs;function En(e,t,n,i){var r=Ut(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function kn(e){return e<0?Math.floor(e):Math.ceil(e)}function Tn(e){return 4800*e/146097}function xn(e){return 146097*e/4800}function On(e){return function(){return this.as(e)}}var Dn=On("ms"),Nn=On("s"),Mn=On("m"),An=On("h"),Ln=On("d"),In=On("w"),Rn=On("M"),Pn=On("Q"),jn=On("y"),Fn=Dn;function $n(e){return function(){return this.isValid()?this._data[e]:NaN}}var Bn=$n("milliseconds"),Hn=$n("seconds"),Un=$n("minutes"),Vn=$n("hours"),Wn=$n("days"),Yn=$n("months"),zn=$n("years"),qn=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Kn(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}var Qn=Math.abs;function Zn(e){return(e>0)-(e<0)||+e}function Xn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,o,a,s,l=Qn(this._milliseconds)/1e3,c=Qn(this._days),u=Qn(this._months),d=this.asSeconds();return d?(e=de(l/60),t=de(e/60),l%=60,e%=60,n=de(u/12),u%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",o=Zn(this._months)!==Zn(d)?"-":"",a=Zn(this._days)!==Zn(d)?"-":"",s=Zn(this._milliseconds)!==Zn(d)?"-":"",r+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+i+"S":"")):"P0D"}var Jn=Mt.prototype;return Jn.isValid=function(){return this._isValid},Jn.abs=function(){var e=this._data;return this._milliseconds=Cn(this._milliseconds),this._days=Cn(this._days),this._months=Cn(this._months),e.milliseconds=Cn(e.milliseconds),e.seconds=Cn(e.seconds),e.minutes=Cn(e.minutes),e.hours=Cn(e.hours),e.months=Cn(e.months),e.years=Cn(e.years),this},Jn.add=function(e,t){return En(this,e,t,1)},Jn.subtract=function(e,t){return En(this,e,t,-1)},Jn.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=B(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+Tn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(xn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},Jn.asMilliseconds=Dn,Jn.asSeconds=Nn,Jn.asMinutes=Mn,Jn.asHours=An,Jn.asDays=Ln,Jn.asWeeks=In,Jn.asMonths=Rn,Jn.asQuarters=Pn,Jn.asYears=jn,Jn.valueOf=Fn,Jn._bubble=function(){var e,t,n,i,r,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*kn(xn(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=de(o/1e3),l.seconds=e%60,t=de(e/60),l.minutes=t%60,n=de(t/60),l.hours=n%24,a+=de(n/24),r=de(Tn(a)),s+=r,a-=kn(xn(r)),i=de(s/12),s%=12,l.days=a,l.months=s,l.years=i,this},Jn.clone=function(){return Ut(this)},Jn.get=function(e){return e=B(e),this.isValid()?this[e+"s"]():NaN},Jn.milliseconds=Bn,Jn.seconds=Hn,Jn.minutes=Un,Jn.hours=Vn,Jn.days=Wn,Jn.weeks=function(){return de(this.days()/7)},Jn.months=Yn,Jn.years=zn,Jn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,o=Gn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(o=Object.assign({},Gn,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),i=function(e,t,n,i){var r=Ut(e).abs(),o=qn(r.as("s")),a=qn(r.as("m")),s=qn(r.as("h")),l=qn(r.as("d")),c=qn(r.as("M")),u=qn(r.as("w")),d=qn(r.as("y")),p=o<=n.ss&&["s",o]||o0,p[4]=i,Kn.apply(null,p)}(this,!r,o,n),r&&(i=n.pastFuture(+this,i)),n.postformat(i)},Jn.toISOString=Xn,Jn.toString=Xn,Jn.toJSON=Xn,Jn.locale=Jt,Jn.localeData=tn,Jn.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Xn),Jn.lang=en,P("X",0,0,"unix"),P("x",0,0,"valueOf"),le("x",ne),le("X",/[+-]?\d+(\.\d{1,3})?/),me("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),me("x",(function(e,t,n){n._d=new Date(pe(e))})), //! moment.js r.version="2.30.1",t=Tt,r.fn=_n,r.min=function(){var e=[].slice.call(arguments,0);return Dt("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return Dt("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=m,r.unix=function(e){return Tt(1e3*e)},r.months=function(e,t){return wn(e,t,"months")},r.isDate=d,r.locale=at,r.invalid=_,r.duration=Ut,r.isMoment=S,r.weekdays=function(e,t,n){return Sn(e,t,n,"weekdays")},r.parseZone=function(){return Tt.apply(null,arguments).parseZone()},r.localeData=lt,r.isDuration=At,r.monthsShort=function(e,t){return wn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return Sn(e,t,n,"weekdaysMin")},r.defineLocale=st,r.updateLocale=function(e,t){if(null!=t){var n,i,r=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(D(tt[e]._config,t)):(null!=(i=ot(e))&&(r=i._config),t=D(r,t),null==i&&(t.abbr=e),(n=new N(t)).parentLocale=tt[e],tt[e]=n),at(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===at()&&at(e)):null!=tt[e]&&delete tt[e]);return tt[e]},r.locales=function(){return k(tt)},r.weekdaysShort=function(e,t,n){return Sn(e,t,n,"weekdaysShort")},r.normalizeUnits=B,r.relativeTimeRounding=function(e){return void 0===e?qn:"function"==typeof e&&(qn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Gn[e]&&(void 0===t?Gn[e]:(Gn[e]=t,"s"===e&&(Gn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=_n,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n(287)(e))},function(e,t,n){"use strict";function i(e,t){return void 0===t&&(t=0),e[e.length-(1+t)]}function r(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function o(e,t,n){if(void 0===n&&(n=function(e,t){return e===t}),e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(var i=0,r=e.length;i0))return o;r=o-1}}return-(i+1)}function s(e,t){var n=0,i=e.length;if(0===i)return 0;for(;ni?e[l]=o[s++]:s>r?e[l]=o[a++]:t(o[s],o[a])<0?e[l]=o[s++]:e[l]=o[a++]}(t,n,i,a,r,o)}(e,t,0,e.length-1,[]),e}function c(e,t){for(var n=[],i=void 0,r=0,o=l(e.slice(0),t);r0}function h(e,t){if(!t)return e.filter((function(t,n){return e.indexOf(t)===n}));var n=Object.create(null);return e.filter((function(e){var i=t(e);return!n[i]&&(n[i]=!0,!0)}))}function m(e){var t=new Set;return e.filter((function(e){return!t.has(e)&&(t.add(e),!0)}))}function f(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}function g(e,t){for(var n=0;n0?e[0]:t}function y(e){var t;return(t=[]).concat.apply(t,e)}function b(e,t){var n="number"==typeof t?e:0;"number"==typeof t?n=e:(n=0,t=e);var i=[];if(n<=t)for(var r=n;rt;r--)i.push(r);return i}function w(e,t,n){var i=e.slice(0,t),r=e.slice(t);return i.concat(n,r)}function S(e,t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function C(e,t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function E(e,t){for(var n=0;n=r)return Promise.resolve(n);var a=e[i++];return Promise.resolve(a()).then((function(e){return t(e)?Promise.resolve(e):o()}))};return o()}var h,m=function(){function e(e,t){this._token=-1,"function"==typeof e&&"number"==typeof t&&this.setIfNotSet(e,t)}return e.prototype.dispose=function(){this.cancel()},e.prototype.cancel=function(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)},e.prototype.cancelAndSet=function(e,t){var n=this;this.cancel(),this._token=setTimeout((function(){n._token=-1,e()}),t)},e.prototype.setIfNotSet=function(e,t){var n=this;-1===this._token&&(this._token=setTimeout((function(){n._token=-1,e()}),t))},e}(),f=function(){function e(){this._token=-1}return e.prototype.dispose=function(){this.cancel()},e.prototype.cancel=function(){-1!==this._token&&(clearInterval(this._token),this._token=-1)},e.prototype.cancelAndSet=function(e,t){this.cancel(),this._token=setInterval((function(){e()}),t)},e}(),g=function(){function e(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}return e.prototype.dispose=function(){this.cancel(),this.runner=null},e.prototype.cancel=function(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)},e.prototype.schedule=function(e){void 0===e&&(e=this.timeout),this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)},e.prototype.isScheduled=function(){return-1!==this.timeoutToken},e.prototype.onTimeout=function(){this.timeoutToken=-1,this.runner&&this.doRun()},e.prototype.doRun=function(){this.runner&&this.runner()},e}();!function(){if("function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback){var e=Object.freeze({didTimeout:!0,timeRemaining:function(){return 15}});h=function(t){var n=setTimeout((function(){return t(e)})),i=!1;return{dispose:function(){i||(i=!0,clearTimeout(n))}}}}else h=function(e,t){var n=requestIdleCallback(e,"number"==typeof t?{timeout:t}:void 0),i=!1;return{dispose:function(){i||(i=!0,cancelIdleCallback(n))}}}}();var _=function(){function e(e){var t=this;this._didRun=!1,this._executor=function(){try{t._value=e()}catch(e){t._error=e}finally{t._didRun=!0}},this._handle=h((function(){return t._executor()}))}return e.prototype.dispose=function(){this._handle.dispose()},e.prototype.getValue=function(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value},e}()},function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"e",(function(){return h}));var i=n(22),r=n(2),o=n(69),a=n(6),s=Object(i.c)("themeService");function l(e){return{id:e}}var c="hc";function u(e){switch(e){case"dark":return"vs-dark";case c:return"hc-black";default:return"vs"}}var d={ThemingContribution:"base.contributions.theming"},p=new(function(){function e(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new a.a}return e.prototype.onThemeChange=function(e){var t=this;return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),Object(r.h)((function(){var n=t.themingParticipants.indexOf(e);t.themingParticipants.splice(n,1)}))},e.prototype.getThemingParticipants=function(){return this.themingParticipants},e}());function h(e){return p.onThemeChange(e)}o.a.add(d.ThemingContribution,p)},function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return s})),function(e){e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=function(t){return t[e.DI_DEPENDENCIES]||[]}}(i||(i={}));var r=a("instantiationService");function o(e,t,n,r){t[i.DI_TARGET]===t?t[i.DI_DEPENDENCIES].push({id:e,index:n,optional:r}):(t[i.DI_DEPENDENCIES]=[{id:e,index:n,optional:r}],t[i.DI_TARGET]=t)}function a(e){if(i.serviceIds.has(e))return i.serviceIds.get(e);var t=function(e,n,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");o(t,e,i,!1)};return t.toString=function(){return e},i.serviceIds.set(e,t),t}function s(e){return function(t,n,i){if(3!==arguments.length)throw new Error("@optional-decorator can only be used to decorate a parameter");o(e,t,i,!0)}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"f",(function(){return f})),n.d(t,"c",(function(){return g})),n.d(t,"d",(function(){return y})),n.d(t,"e",(function(){return b})),n.d(t,"a",(function(){return w})),n.d(t,"g",(function(){return S}));var i=n(15),r=n(9),o=n(11),a=n(3),s=n(26),l=n(31),c=n(34),u=function(){return!0},d=function(){return!1},p=function(e){return" "===e||"\t"===e};function h(e,t,n){e.has(t)?e.get(t).push(n):e.set(t,[n])}var m=function(){function e(t,n,i){this._languageIdentifier=t;var r=i.options,o=r.get(103);this.readOnly=r.get(65),this.tabSize=n.tabSize,this.indentSize=n.indentSize,this.insertSpaces=n.insertSpaces,this.lineHeight=r.get(47),this.pageSize=Math.max(1,Math.floor(o.height/this.lineHeight)-2),this.useTabStops=r.get(91),this.wordSeparators=r.get(92),this.emptySelectionClipboard=r.get(24),this.copyWithSyntaxHighlighting=r.get(14),this.multiCursorMergeOverlapping=r.get(56),this.multiCursorPaste=r.get(58),this.autoClosingBrackets=r.get(5),this.autoClosingQuotes=r.get(7),this.autoClosingOvertype=r.get(6),this.autoSurround=r.get(10),this.autoIndent=r.get(8),this.autoClosingPairsOpen2=new Map,this.autoClosingPairsClose2=new Map,this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:e._getShouldAutoClose(t,this.autoClosingQuotes),bracket:e._getShouldAutoClose(t,this.autoClosingBrackets)};var a=e._getAutoClosingPairs(t);if(a)for(var s=0,l=a;s=65536?2:1,9===c)s=e.nextRenderTabStop(s,i);else{for(var u=r.t(c);l=65536?2:1,u=p}r.z(c)||r.x(c)?s+=2:s+=1}}return s},e.visibleColumnFromColumn2=function(e,t,n){return this.visibleColumnFromColumn(t.getLineContent(n.lineNumber),n.column,e.tabSize)},e.columnFromVisibleColumn=function(t,n,i){if(n<=0)return 1;for(var o=t.length,a=0,s=1,l=0;l=65536?2:1;var u=void 0;if(9===c)u=e.nextRenderTabStop(a,i);else{for(var d=r.t(c);l=65536?2:1,d=h}u=r.z(c)||r.x(c)?a+2:a+1}var m=l+1;if(u>=n)return u-na?a:r},e.nextRenderTabStop=function(e,t){return e+t-e%t},e.nextIndentTabStop=function(e,t){return e+t-e%t},e.prevRenderTabStop=function(e,t){return e-1-(e-1)%t},e.prevIndentTabStop=function(e,t){return e-1-(e-1)%t},e}();function S(e){return"'"===e||'"'===e||"`"===e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i="undefined"==typeof monaco?self.monaco:monaco,r={},o={},a=function(){function e(e){var t=this;this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((function(e,n){t._lazyLoadPromiseResolve=e,t._lazyLoadPromiseReject=n}))}return e.getOrCreate=function(t){return o[t]||(o[t]=new e(t)),o[t]},e.prototype.whenLoaded=function(){return this._lazyLoadPromise},e.prototype.load=function(){var e=this;return this._loadingTriggered||(this._loadingTriggered=!0,r[this._languageId].loader().then((function(t){return e._lazyLoadPromiseResolve(t)}),(function(t){return e._lazyLoadPromiseReject(t)}))),this._lazyLoadPromise},e}();function s(e){var t=e.id;r[t]=e,i.languages.register(e);var n=a.getOrCreate(t);i.languages.setMonarchTokensProvider(t,n.whenLoaded().then((function(e){return e.language}))),i.languages.onLanguage(t,(function(){n.load().then((function(e){i.languages.setLanguageConfiguration(t,e.conf)}))}))}},function(e,t,n){"use strict";n.d(t,"d",(function(){return l})),n.d(t,"j",(function(){return c})),n.d(t,"i",(function(){return u})),n.d(t,"h",(function(){return d})),n.d(t,"e",(function(){return p})),n.d(t,"k",(function(){return h})),n.d(t,"l",(function(){return m})),n.d(t,"a",(function(){return f})),n.d(t,"f",(function(){return _})),n.d(t,"g",(function(){return v})),n.d(t,"m",(function(){return y})),n.d(t,"c",(function(){return w})),n.d(t,"b",(function(){return S})),n.d(t,"n",(function(){return C})),n.d(t,"o",(function(){return E}));var i="number",r="string",o="undefined",a="object",s="function";function l(e){return Array.isArray?Array.isArray(e):!(!e||typeof e.length!==i||e.constructor!==Array)}function c(e){return typeof e===r||e instanceof String}function u(e){return!(typeof e!==a||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function d(e){return(typeof e===i||e instanceof Number)&&!isNaN(e)}function p(e){return!0===e||!1===e}function h(e){return typeof e===o}function m(e){return h(e)||null===e}function f(e,t){if(!e)throw new Error(t?"Unexpected type, expected '"+t+"'":"Unexpected type")}var g=Object.prototype.hasOwnProperty;function _(e){if(!u(e))return!1;for(var t in e)if(g.call(e,t))return!1;return!0}function v(e){return typeof e===s}function y(e,t){for(var n=Math.min(e.length,t.length),i=0;i "+this.positionLineNumber+","+this.positionColumn+"]"},t.prototype.equalsSelection=function(e){return t.selectionsEqual(this,e)},t.selectionsEqual=function(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn},t.prototype.getDirection=function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1},t.prototype.setEndPosition=function(e,n){return 0===this.getDirection()?new t(this.startLineNumber,this.startColumn,e,n):new t(e,n,this.startLineNumber,this.startColumn)},t.prototype.getPosition=function(){return new r.a(this.positionLineNumber,this.positionColumn)},t.prototype.setStartPosition=function(e,n){return 0===this.getDirection()?new t(e,n,this.endLineNumber,this.endColumn):new t(this.endLineNumber,this.endColumn,e,n)},t.fromPositions=function(e,n){return void 0===n&&(n=e),new t(e.lineNumber,e.column,n.lineNumber,n.column)},t.liftSelection=function(e){return new t(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)},t.selectionsArrEqual=function(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(var n=0,i=e.length;n=0,d=c.indexOf("Edge/")>=0,p=u||d,h=c.indexOf("Firefox")>=0,m=c.indexOf("AppleWebKit")>=0,f=c.indexOf("Chrome")>=0,g=!f&&c.indexOf("Safari")>=0,_=!f&&!g&&m,v=c.indexOf("iPad")>=0,y=d&&c.indexOf("WebView/")>=0,b=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i,r,o=n(17),a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=/^\w[\w\d+.-]*$/,l=/^\//,c=/^\/\//;var u="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,p=function(){function e(e,t,n,i,r,o){void 0===o&&(o=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,t){return e||t?e:"file"}(e,o),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==u&&(t=u+t):t=u}return t}(this.scheme,n||""),this.query=i||"",this.fragment=r||"",function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!s.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!l.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(c.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,o))}return e.isUri=function(t){return t instanceof e||!!t&&("string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return v(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,i=e.path,r=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===i?i=this.path:null===i&&(i=""),void 0===r?r=this.query:null===r&&(r=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&i===this.path&&r===this.query&&o===this.fragment?this:new m(t,n,i,r,o)},e.parse=function(e,t){void 0===t&&(t=!1);var n=d.exec(e);return n?new m(n[2]||"",w(n[4]||""),w(n[5]||""),w(n[7]||""),w(n[9]||""),t):new m("","","","","")},e.file=function(e){var t="";if(o.h&&(e=e.replace(/\\/g,u)),e[0]===u&&e[1]===u){var n=e.indexOf(u,2);-1===n?(t=e.substring(2),e=u):(t=e.substring(2,n),e=e.substring(n)||u)}return new m("file",t,e,"","")},e.from=function(e){return new m(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),y(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new m(t);return n._formatted=t.external,n._fsPath=t._sep===h?t.fsPath:null,n}return t},e}(),h=o.h?1:void 0,m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return a(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=v(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?y(this,!0):(this._formatted||(this._formatted=y(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=h),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(p),f=((r={})[58]="%3A",r[47]="%2F",r[63]="%3F",r[35]="%23",r[91]="%5B",r[93]="%5D",r[64]="%40",r[33]="%21",r[36]="%24",r[38]="%26",r[39]="%27",r[40]="%28",r[41]="%29",r[42]="%2A",r[43]="%2B",r[44]="%2C",r[59]="%3B",r[61]="%3D",r[32]="%20",r);function g(e,t){for(var n=void 0,i=-1,r=0;r=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),void 0!==n&&(n+=e.charAt(r));else{void 0===n&&(n=e.substr(0,r));var a=f[o];void 0!==a?(-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),n+=a):-1===i&&(i=r)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function _(e){for(var t=void 0,n=0;n1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?e.path[1].toLowerCase()+e.path.substr(2):e.path,o.h&&(t=t.replace(/\//g,"\\")),t}function y(e,t){var n=t?_:g,i="",r=e.scheme,o=e.authority,a=e.path,s=e.query,l=e.fragment;if(r&&(i+=r,i+=":"),(o||"file"===r)&&(i+=u,i+=u),o){var c=o.indexOf("@");if(-1!==c){var d=o.substr(0,c);o=o.substr(c+1),-1===(c=d.indexOf(":"))?i+=n(d,!1):(i+=n(d.substr(0,c),!1),i+=":",i+=n(d.substr(c+1),!1)),i+="@"}-1===(c=(o=o.toLowerCase()).indexOf(":"))?i+=n(o,!1):(i+=n(o.substr(0,c),!1),i+=o.substr(c))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2))(p=a.charCodeAt(1))>=65&&p<=90&&(a="/"+String.fromCharCode(p+32)+":"+a.substr(3));else if(a.length>=2&&58===a.charCodeAt(1)){var p;(p=a.charCodeAt(0))>=65&&p<=90&&(a=String.fromCharCode(p+32)+":"+a.substr(2))}i+=n(a,!0)}return s&&(i+="?",i+=n(s,!1)),l&&(i+="#",i+=t?l:g(l,!1)),i}var b=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function w(e){return e.match(b)?e.replace(b,(function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)})):e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var i=n(1),r=function(){function e(e){this.domNode=e,this._maxWidth=-1,this._width=-1,this._height=-1,this._top=-1,this._left=-1,this._bottom=-1,this._right=-1,this._fontFamily="",this._fontWeight="",this._fontSize=-1,this._fontFeatureSettings="",this._lineHeight=-1,this._letterSpacing=-100,this._className="",this._display="",this._position="",this._visibility="",this._layerHint=!1,this._contain="none"}return e.prototype.setMaxWidth=function(e){this._maxWidth!==e&&(this._maxWidth=e,this.domNode.style.maxWidth=this._maxWidth+"px")},e.prototype.setWidth=function(e){this._width!==e&&(this._width=e,this.domNode.style.width=this._width+"px")},e.prototype.setHeight=function(e){this._height!==e&&(this._height=e,this.domNode.style.height=this._height+"px")},e.prototype.setTop=function(e){this._top!==e&&(this._top=e,this.domNode.style.top=this._top+"px")},e.prototype.unsetTop=function(){-1!==this._top&&(this._top=-1,this.domNode.style.top="")},e.prototype.setLeft=function(e){this._left!==e&&(this._left=e,this.domNode.style.left=this._left+"px")},e.prototype.setBottom=function(e){this._bottom!==e&&(this._bottom=e,this.domNode.style.bottom=this._bottom+"px")},e.prototype.setRight=function(e){this._right!==e&&(this._right=e,this.domNode.style.right=this._right+"px")},e.prototype.setFontFamily=function(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)},e.prototype.setFontWeight=function(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)},e.prototype.setFontSize=function(e){this._fontSize!==e&&(this._fontSize=e,this.domNode.style.fontSize=this._fontSize+"px")},e.prototype.setFontFeatureSettings=function(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)},e.prototype.setLineHeight=function(e){this._lineHeight!==e&&(this._lineHeight=e,this.domNode.style.lineHeight=this._lineHeight+"px")},e.prototype.setLetterSpacing=function(e){this._letterSpacing!==e&&(this._letterSpacing=e,this.domNode.style.letterSpacing=this._letterSpacing+"px")},e.prototype.setClassName=function(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)},e.prototype.toggleClassName=function(e,t){i.V(this.domNode,e,t),this._className=this.domNode.className},e.prototype.setDisplay=function(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)},e.prototype.setPosition=function(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)},e.prototype.setVisibility=function(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)},e.prototype.setLayerHinting=function(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")},e.prototype.setContain=function(e){this._contain!==e&&(this._contain=e,this.domNode.style.contain=this._contain)},e.prototype.setAttribute=function(e,t){this.domNode.setAttribute(e,t)},e.prototype.removeAttribute=function(e){this.domNode.removeAttribute(e)},e.prototype.appendChild=function(e){this.domNode.appendChild(e.domNode)},e.prototype.removeChild=function(e){this.domNode.removeChild(e.domNode)},e}();function o(e){return new r(e)}},function(e,t,n){"use strict";n.d(t,"f",(function(){return c})),n.d(t,"a",(function(){return u})),n.d(t,"h",(function(){return d})),n.d(t,"g",(function(){return w})),n.d(t,"d",(function(){return T})),n.d(t,"b",(function(){return Y})),n.d(t,"c",(function(){return z})),n.d(t,"i",(function(){return q})),n.d(t,"e",(function(){return K}));var i,r=n(0),o=n(17),a=n(123),s=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=function(){return(l=Object.assign||function(e){for(var t,n=1,i=arguments.length;nn?n:e},t.float=function(e,t){if("number"==typeof e)return e;if(void 0===e)return t;var n=parseFloat(e);return isNaN(n)?t:n},t.prototype.validate=function(e){return this.validationFn(t.float(e,this.defaultValue))},t}(m),v=function(e){function t(t,n,i,r){void 0===r&&(r=void 0);return void 0!==r&&(r.type="string",r.default=i),e.call(this,t,n,i,r)||this}return s(t,e),t.string=function(e,t){return"string"!=typeof e?t:e},t.prototype.validate=function(e){return t.string(e,this.defaultValue)},t}(m),y=function(e){function t(t,n,i,r,o){void 0===o&&(o=void 0);var a=this;return void 0!==o&&(o.type="string",o.enum=r,o.default=i),(a=e.call(this,t,n,i,o)||this)._allowedValues=r,a}return s(t,e),t.stringSet=function(e,t,n){return"string"!=typeof e||-1===n.indexOf(e)?t:e},t.prototype.validate=function(e){return t.stringSet(e,this.defaultValue,this._allowedValues)},t}(m),b=function(e){function t(t,n,i,r,o,a,s){void 0===s&&(s=void 0);var l=this;return void 0!==s&&(s.type="string",s.enum=o,s.default=r),(l=e.call(this,t,n,i,s)||this)._allowedValues=o,l._convert=a,l}return s(t,e),t.prototype.validate=function(e){return"string"!=typeof e||-1===this._allowedValues.indexOf(e)?this.defaultValue:this._convert(e)},t}(p);var w,S=function(e){function t(){return e.call(this,2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[r.a("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),r.a("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader."),r.a("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:r.a("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers.")})||this}return s(t,e),t.prototype.validate=function(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue},t.prototype.compute=function(e,t,n){return 0===n?e.accessibilitySupport:n},t}(p);!function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(w||(w={}));var C=function(e){function t(){return e.call(this,100,[53,25])||this}return s(t,e),t.prototype.compute=function(e,t,n){var i="monaco-editor";return t.get(25)&&(i+=" "+t.get(25)),e.extraEditorClassName&&(i+=" "+e.extraEditorClassName),"default"===t.get(53)?i+=" mouse-default":"copy"===t.get(53)&&(i+=" mouse-copy"),t.get(81)&&(i+=" showUnused"),i},t}(h),E=function(e){function t(){return e.call(this,24,"emptySelectionClipboard",!0,{description:r.a("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})||this}return s(t,e),t.prototype.compute=function(e,t,n){return n&&e.emptySelectionClipboard},t}(f),k=function(e){function t(){var t={seedSearchStringFromSelection:!0,autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0};return e.call(this,27,"find",t,{"editor.find.seedSearchStringFromSelection":{type:"boolean",default:t.seedSearchStringFromSelection,description:r.a("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:t.autoFindInSelection,enumDescriptions:[r.a("editor.find.autoFindInSelection.never","Never turn on Find in selection automatically (default)"),r.a("editor.find.autoFindInSelection.always","Always turn on Find in selection automatically"),r.a("editor.find.autoFindInSelection.multiline","Turn on Find in selection automatically when multiple lines of content are selected.")],description:r.a("find.autoFindInSelection","Controls whether the find operation is carried out on selected text or the entire file in the editor.")},"editor.find.globalFindClipboard":{type:"boolean",default:t.globalFindClipboard,description:r.a("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:o.e},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:t.addExtraSpaceOnTop,description:r.a("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")}})||this}return s(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{seedSearchStringFromSelection:f.boolean(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection),autoFindInSelection:"boolean"==typeof e.autoFindInSelection?e.autoFindInSelection?"always":"never":y.stringSet(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:f.boolean(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:f.boolean(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop)}},t}(p),T=function(e){function t(){return e.call(this,33,"fontLigatures",t.OFF,{anyOf:[{type:"boolean",description:r.a("fontLigatures","Enables/Disables font ligatures.")},{type:"string",description:r.a("fontFeatureSettings","Explicit font-feature-settings.")}],description:r.a("fontLigaturesGeneral","Configures font ligatures."),default:!1})||this}return s(t,e),t.prototype.validate=function(e){return void 0===e?this.defaultValue:"string"==typeof e?"false"===e?t.OFF:"true"===e?t.ON:e:Boolean(e)?t.ON:t.OFF},t.OFF='"liga" off, "calt" off',t.ON='"liga" on, "calt" on',t}(p),x=function(e){function t(){return e.call(this,32)||this}return s(t,e),t.prototype.compute=function(e,t,n){return e.fontInfo},t}(h),O=function(e){function t(){return e.call(this,34,"fontSize",Y.fontSize,{type:"number",minimum:6,maximum:100,default:Y.fontSize,description:r.a("fontSize","Controls the font size in pixels.")})||this}return s(t,e),t.prototype.validate=function(e){var t=_.float(e,this.defaultValue);return 0===t?Y.fontSize:_.clamp(t,6,100)},t.prototype.compute=function(e,t,n){return e.fontInfo.fontSize},t}(m),D=function(e){function t(){var t={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},n={type:"string",enum:["peek","gotoAndPeek","goto"],default:t.multiple,enumDescriptions:[r.a("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),r.a("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),r.a("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]};return e.call(this,39,"gotoLocation",t,{"editor.gotoLocation.multiple":{deprecationMessage:r.a("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":l({description:r.a("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},n),"editor.gotoLocation.multipleTypeDefinitions":l({description:r.a("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},n),"editor.gotoLocation.multipleDeclarations":l({description:r.a("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},n),"editor.gotoLocation.multipleImplementations":l({description:r.a("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},n),"editor.gotoLocation.multipleReferences":l({description:r.a("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},n),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:t.alternativeDefinitionCommand,description:r.a("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:t.alternativeTypeDefinitionCommand,description:r.a("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:t.alternativeDeclarationCommand,description:r.a("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:t.alternativeImplementationCommand,description:r.a("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:t.alternativeReferenceCommand,description:r.a("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})||this}return s(t,e),t.prototype.validate=function(e){var t,n,i,r,o;if("object"!=typeof e)return this.defaultValue;var a=e;return{multiple:y.stringSet(a.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(t=a.multipleDefinitions,null!=t?t:y.stringSet(a.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"])),multipleTypeDefinitions:(n=a.multipleTypeDefinitions,null!=n?n:y.stringSet(a.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"])),multipleDeclarations:(i=a.multipleDeclarations,null!=i?i:y.stringSet(a.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"])),multipleImplementations:(r=a.multipleImplementations,null!=r?r:y.stringSet(a.multipleImplementations,"peek",["peek","gotoAndPeek","goto"])),multipleReferences:(o=a.multipleReferences,null!=o?o:y.stringSet(a.multipleReferences,"peek",["peek","gotoAndPeek","goto"])),alternativeDefinitionCommand:v.string(a.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:v.string(a.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:v.string(a.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:v.string(a.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:v.string(a.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}},t}(p),N=function(e){function t(){var t={enabled:!0,delay:300,sticky:!0};return e.call(this,42,"hover",t,{"editor.hover.enabled":{type:"boolean",default:t.enabled,description:r.a("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:t.delay,description:r.a("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:t.sticky,description:r.a("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")}})||this}return s(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{enabled:f.boolean(t.enabled,this.defaultValue.enabled),delay:g.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:f.boolean(t.sticky,this.defaultValue.sticky)}},t}(p),M=function(e){function t(){return e.call(this,103,[38,46,29,52,74,48])||this}return s(t,e),t.prototype.compute=function(e,n,i){return t.computeLayout(n,{outerWidth:e.outerWidth,outerHeight:e.outerHeight,lineHeight:e.fontInfo.lineHeight,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio})},t.computeLayout=function(e,t){var n,i=0|t.outerWidth,r=0|t.outerHeight,o=0|t.lineHeight,a=0|t.lineNumbersDigitCount,s=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,u=t.pixelRatio,d=e.get(38),p=0!==e.get(48).renderType,h=0|e.get(49),m=e.get(52),f=m.enabled,_=m.side,v=m.renderCharacters,y=u>=2?Math.round(2*m.scale):m.scale,b=0|m.maxColumn,w=e.get(74),S=0|w.verticalScrollbarSize,C=w.verticalHasArrows,E=0|w.arrowSize,k=0|w.horizontalScrollbarSize,T=e.get(46),x=e.get(29);if("string"==typeof T&&/^\d+(\.\d+)?ch$/.test(T)){var O=parseFloat(T.substr(0,T.length-2));n=g.clampedInt(O*s,0,0,1e3)}else n=g.clampedInt(T,0,0,1e3);x&&(n+=16);var D=0;if(p){var N=Math.max(a,h);D=Math.round(N*l)}var M=0;d&&(M=o);var A,L,I,R,P=0,j=P+M,F=j+D,$=F+n,B=i-M-D-n;if(f){var H=y/u;A=v?1:2,(I=Math.max(0,Math.floor((B-S-2)*H/(s+H)))+c)/H>b&&(I=Math.floor(b*H)),R=B-I,"left"===_?(L=0,P+=I,j+=I,F+=I,$+=I):L=i-I-S}else L=0,I=0,A=0,R=B;var U=C?E:0;return{width:i,height:r,glyphMarginLeft:P,glyphMarginWidth:M,glyphMarginHeight:r,lineNumbersLeft:j,lineNumbersWidth:D,lineNumbersHeight:r,decorationsLeft:F,decorationsWidth:n,decorationsHeight:r,contentLeft:$,contentWidth:R,contentHeight:r,renderMinimap:A,minimapLeft:L,minimapWidth:I,viewportColumn:Math.max(1,Math.floor((R-S-2)/s)),verticalScrollbarWidth:S,horizontalScrollbarHeight:k,overviewRuler:{top:U,width:S,height:r-2*U,right:0}}},t}(h),A=function(e){function t(){var t={enabled:!0};return e.call(this,45,"lightbulb",t,{"editor.lightbulb.enabled":{type:"boolean",default:t.enabled,description:r.a("codeActions","Enables the code action lightbulb in the editor.")}})||this}return s(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{enabled:f.boolean(t.enabled,this.defaultValue.enabled)}},t}(p),L=function(e){function t(){return e.call(this,47,"lineHeight",Y.lineHeight,0,150,{description:r.a("lineHeight","Controls the line height. Use 0 to compute the line height from the font size.")})||this}return s(t,e),t.prototype.compute=function(e,t,n){return e.fontInfo.lineHeight},t}(g),I=function(e){function t(){var t={enabled:!0,side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};return e.call(this,52,"minimap",t,{"editor.minimap.enabled":{type:"boolean",default:t.enabled,description:r.a("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:t.side,description:r.a("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:t.showSlider,description:r.a("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:t.scale,minimum:1,maximum:3,description:r.a("minimap.scale","Scale of content drawn in the minimap.")},"editor.minimap.renderCharacters":{type:"boolean",default:t.renderCharacters,description:r.a("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:t.maxColumn,description:r.a("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})||this}return s(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{enabled:f.boolean(t.enabled,this.defaultValue.enabled),side:y.stringSet(t.side,this.defaultValue.side,["right","left"]),showSlider:y.stringSet(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:f.boolean(t.renderCharacters,this.defaultValue.renderCharacters),scale:g.clampedInt(t.scale,1,1,3),maxColumn:g.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4)}},t}(p);var R=function(e){function t(){var t={enabled:!0,cycle:!1};return e.call(this,62,"parameterHints",t,{"editor.parameterHints.enabled":{type:"boolean",default:t.enabled,description:r.a("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:t.cycle,description:r.a("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})||this}return s(t,e),t.prototype.validate=function(e){if("object"!=typeof e)return this.defaultValue;var t=e;return{enabled:f.boolean(t.enabled,this.defaultValue.enabled),cycle:f.boolean(t.cycle,this.defaultValue.cycle)}},t}(p),P=function(e){function t(){return e.call(this,101)||this}return s(t,e),t.prototype.compute=function(e,t,n){return e.pixelRatio},t}(h),j=function(e){function t(){var t=this,n={other:!0,comments:!1,strings:!1};return(t=e.call(this,63,"quickSuggestions",n,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:n.strings,description:r.a("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:n.comments,description:r.a("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:n.other,description:r.a("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:n,description:r.a("quickSuggestions","Controls whether suggestions should automatically show up while typing.")})||this).defaultValue=n,t}return s(t,e),t.prototype.validate=function(e){if("boolean"==typeof e)return e;if("object"==typeof e){var t=e,n={other:f.boolean(t.other,this.defaultValue.other),comments:f.boolean(t.comments,this.defaultValue.comments),strings:f.boolean(t.strings,this.defaultValue.strings)};return!!(n.other&&n.comments&&n.strings)||!!(n.other||n.comments||n.strings)&&n}return this.defaultValue},t}(p),F=function(e){function t(){return e.call(this,48,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[r.a("lineNumbers.off","Line numbers are not rendered."),r.a("lineNumbers.on","Line numbers are rendered as absolute number."),r.a("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),r.a("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:r.a("lineNumbers","Controls the display of line numbers.")})||this}return s(t,e),t.prototype.validate=function(e){var t=this.defaultValue.renderType,n=this.defaultValue.renderFn;return void 0!==e&&("function"==typeof e?(t=4,n=e):t="interval"===e?3:"relative"===e?2:"on"===e?1:0),{renderType:t,renderFn:n}},t}(p),$=function(e){function t(){var t=[];return e.call(this,73,"rulers",t,{type:"array",items:{type:"number"},default:t,description:r.a("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})||this}return s(t,e),t.prototype.validate=function(e){if(Array.isArray(e)){for(var t=[],n=0,i=e;n