silex-website-builder-goodevent
Version:
Free and easy website builder for everyone.
1 lines • 2.38 MB
JavaScript
!function(e){function t(t){for(var n,o,r=t[0],s=t[1],a=0,c=[];a<r.length;a++)o=r[a],i[o]&&c.push(i[o][0]),i[o]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(u&&u(t);c.length;)c.shift()()}var n={},i={0:0};function o(t){if(n[t])return n[t].exports;var i=n[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.e=function(e){var t=[],n=i[e];if(0!==n)if(n)t.push(n[2]);else{var r=new Promise(function(t,o){n=i[e]=[t,o]});t.push(n[2]=r);var s,a=document.createElement("script");a.charset="utf-8",a.timeout=120,o.nc&&a.setAttribute("nonce",o.nc),a.src=function(e){return o.p+""+e+".monaco-editor.js"}(e);var u=new Error;s=function(t){a.onerror=a.onload=null,clearTimeout(c);var n=i[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+o+": "+r+")",u.type=o,u.request=r,n[1](u)}i[e]=void 0}};var c=setTimeout(function(){s({type:"timeout",target:a})},12e4);a.onerror=a.onload=s,document.head.appendChild(a)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp=window.webpackJsonp||[],s=r.push.bind(r);r.push=t,r=r.slice();for(var a=0;a<r.length;a++)t(r[a]);var u=s;o(o.s=182)}([function(e,t,n){"use strict";function i(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,function(e,n){var i=n[0];return void 0!==t[i]?t[i]:e})}(t,n)}n.d(t,"a",function(){return i})},function(e,t,n){"use strict";n.d(t,"n",function(){return f}),n.d(t,"I",function(){return m}),n.d(t,"E",function(){return v}),n.d(t,"A",function(){return M}),n.d(t,"f",function(){return w}),n.d(t,"g",function(){return C}),n.d(t,"G",function(){return I}),n.d(t,"H",function(){return L}),n.d(t,"P",function(){return N}),n.d(t,"h",function(){return D}),n.d(t,"k",function(){return x}),n.d(t,"i",function(){return j}),n.d(t,"L",function(){return T}),n.d(t,"N",function(){return O}),n.d(t,"j",function(){return Y}),n.d(t,"s",function(){return V}),n.d(t,"b",function(){return U}),n.d(t,"x",function(){return G}),n.d(t,"v",function(){return Q}),n.d(t,"e",function(){return J}),n.d(t,"z",function(){return X}),n.d(t,"u",function(){return K}),n.d(t,"t",function(){return q}),n.d(t,"y",function(){return $}),n.d(t,"C",function(){return ee}),n.d(t,"r",function(){return te}),n.d(t,"q",function(){return ne}),n.d(t,"p",function(){return re}),n.d(t,"F",function(){return se}),n.d(t,"D",function(){return ae}),n.d(t,"d",function(){return ue}),n.d(t,"c",function(){return ce}),n.d(t,"M",function(){return le}),n.d(t,"K",function(){return de}),n.d(t,"Q",function(){return pe}),n.d(t,"m",function(){return ge}),n.d(t,"a",function(){return me}),n.d(t,"O",function(){return ve}),n.d(t,"B",function(){return ye}),n.d(t,"J",function(){return be}),n.d(t,"w",function(){return _e}),n.d(t,"o",function(){return Me}),n.d(t,"R",function(){return we}),n.d(t,"l",function(){return Ce});var i,o=n(22),r=n(34),s=n(44),a=n(39),u=n(15),c=n(12),l=n(5),d=n(4),h=n(14),p=n(17),g=(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 f(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function m(e){e.parentNode&&e.parentNode.removeChild(e)}function v(e){for(;e;){if(e===document.body)return!0;e=e.parentNode}return!1}var y=new(function(){function e(){}return e.prototype._findClassName=function(e,t){var n=e.className;if(n){t=t.trim();var i=n.length,o=t.length;if(0!==o)if(i<o)this._lastStart=-1;else{if(n===t)return this._lastStart=0,void(this._lastEnd=i);for(var r,s=-1;(s=n.indexOf(t,s+1))>=0;){if(r=s+o,(0===s||32===n.charCodeAt(s-1))&&32===n.charCodeAt(r))return this._lastStart=s,void(this._lastEnd=r+1);if(s>0&&32===n.charCodeAt(s-1)&&r===i)return this._lastStart=s-1,void(this._lastEnd=r);if(0===s&&r===i)return this._lastStart=0,void(this._lastEnd=r)}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;i<arguments.length;i++)n[i-1]=arguments[i];n.forEach(function(n){return n.split(" ").forEach(function(n){return t.addClass(e,n)})})},e.prototype.addClass=function(e,t){e.className?(this._findClassName(e,t),-1===this._lastStart&&(e.className=e.className+" "+t)):e.className=t},e.prototype.removeClass=function(e,t){this._findClassName(e,t),-1!==this._lastStart&&(e.className=e.className.substring(0,this._lastStart)+e.className.substring(this._lastEnd))},e.prototype.removeClasses=function(e){for(var t=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];n.forEach(function(n){return n.split(" ").forEach(function(n){return t.removeClass(e,n)})})},e.prototype.toggleClass=function(e,t,n){this._findClassName(e,t),-1===this._lastStart||void 0!==n&&n||this.removeClass(e,t),-1!==this._lastStart||void 0!==n&&!n||this.addClass(e,t)},e}()),b=new(function(){function e(){}return e.prototype.hasClass=function(e,t){return Boolean(t)&&e.classList&&e.classList.contains(t)},e.prototype.addClasses=function(e){for(var t=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];n.forEach(function(n){return n.split(" ").forEach(function(n){return t.addClass(e,n)})})},e.prototype.addClass=function(e,t){t&&e.classList&&e.classList.add(t)},e.prototype.removeClass=function(e,t){t&&e.classList&&e.classList.remove(t)},e.prototype.removeClasses=function(e){for(var t=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];n.forEach(function(n){return n.split(" ").forEach(function(n){return t.removeClass(e,n)})})},e.prototype.toggleClass=function(e,t,n){e.classList&&e.classList.toggle(t,n)},e}()),_=o.j?y:b,M=_.hasClass.bind(_),w=_.addClass.bind(_),C=_.addClasses.bind(_),I=_.removeClass.bind(_),L=_.removeClasses.bind(_),N=_.toggleClass.bind(_),S=function(){function e(e,t,n,i){this._node=e,this._type=t,this._handler=n,this._useCapture=i||!1,this._node.addEventListener(this._type,this._handler,this._useCapture)}return e.prototype.dispose=function(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._useCapture),this._node=null,this._handler=null)},e}();function D(e,t,n,i){return new S(e,t,n,i)}var x=function(e,t,n,i){var o=n;return"click"===t||"mousedown"===t?o=function(e){return function(t){return e(new a.b(t))}}(n):"keydown"!==t&&"keypress"!==t&&"keyup"!==t||(o=function(e){return function(t){return e(new s.a(t))}}(n)),D(e,t,o,i)};function j(e,t){return D(e,"mouseout",function(n){for(var i=n.relatedTarget||n.target;i&&i!==e;)i=i.parentNode;i!==e&&t(n)})}var T,O,k=null;var A,E,P,z,R,W=function(){function e(e,t){void 0===t&&(t=0),this._runner=e,this.priority=t,this._canceled=!1}return e.prototype.dispose=function(){this._canceled=!0},e.prototype.execute=function(){if(!this._canceled)try{this._runner()}catch(e){Object(c.e)(e)}},e.sort=function(e,t){return t.priority-e.priority},e}();A=[],E=null,P=!1,z=!1,R=function(){for(P=!1,E=A,A=[],z=!0;E.length>0;){E.sort(W.sort),E.shift().execute()}z=!1},O=function(e,t){void 0===t&&(t=0);var n,i=new W(e,t);return A.push(i),P||(P=!0,n=R,k||(k=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||function(e){return setTimeout(function(){return e((new Date).getTime())},0)}),k.call(self,n)),i},T=function(e,t){if(z){var n=new W(e,t);return E.push(n),n}return O(e,t)};var F=16,H=function(e,t){return t},B=function(e){function t(t,n,i,o,r){void 0===o&&(o=H),void 0===r&&(r=F);var s=e.call(this)||this,a=null,c=0,l=s._register(new u.e),d=function(){c=(new Date).getTime(),i(a),a=null};return s._register(D(t,n,function(e){a=o(a,e);var t=(new Date).getTime()-c;t>=r?(l.cancel(),d()):l.setIfNotSet(d,r-t)})),s}return g(t,e),t}(d.a);function Y(e,t,n,i,o){return new B(e,t,n,i,o)}function V(e){return document.defaultView.getComputedStyle(e,null)}var Z=function(){function e(){}return e.convertToPixels=function(e,t){return parseFloat(t)||0},e.getDimension=function(t,n,i){var o=V(t),r="0";return o&&(r=o.getPropertyValue?o.getPropertyValue(n):o.getAttribute(i)),e.convertToPixels(t,r)},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}(),U=function(){return function(e,t){this.width=e,this.height=t}}();function G(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 o=V(e);o&&(i-="rtl"!==o.direction?e.scrollLeft:-e.scrollLeft),e===t&&(i+=Z.getBorderLeftWidth(e),n+=Z.getBorderTopWidth(e),n+=e.offsetTop,i+=e.offsetLeft,t=e.offsetParent)}return{left:i,top:n}}function Q(e){var t=e.getBoundingClientRect();return{left:t.left+J.scrollX,top:t.top+J.scrollY,width:t.width,height:t.height}}var J=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 X(e){var t=Z.getMarginLeft(e)+Z.getMarginRight(e);return e.offsetWidth+t}function K(e){var t=Z.getBorderLeftWidth(e)+Z.getBorderRightWidth(e),n=Z.getPaddingLeft(e)+Z.getPaddingRight(e);return e.offsetWidth-t-n}function q(e){var t=Z.getBorderTopWidth(e)+Z.getBorderBottomWidth(e),n=Z.getPaddingTop(e)+Z.getPaddingBottom(e);return e.offsetHeight-t-n}function $(e){var t=Z.getMarginTop(e)+Z.getMarginBottom(e);return e.offsetHeight+t}function ee(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function te(e,t,n){for(;e;){if(M(e,t))return e;if(n)if("string"==typeof n){if(M(e,n))return null}else if(e===n)return null;e=e.parentNode}return null}function ne(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 ie=null;function oe(){return ie||(ie=ne()),ie}function re(e,t,n){void 0===n&&(n=oe()),n&&t&&n.sheet.insertRule(e+"{"+t+"}",0)}function se(e,t){if(void 0===t&&(t=oe()),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=[],o=0;o<n.length;o++){-1!==n[o].selectorText.indexOf(e)&&i.push(o)}for(o=i.length-1;o>=0;o--)t.sheet.deleteRule(i[o])}}function ae(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&1===e.nodeType&&"string"==typeof e.nodeName}var ue={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",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",UNLOAD:"unload",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",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:o.m?"webkitAnimationStart":"animationstart",ANIMATION_END:o.m?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:o.m?"webkitAnimationIteration":"animationiteration"},ce={stop:function(e,t){e.preventDefault?e.preventDefault():e.returnValue=!1,t&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)}};function le(e){for(var t=[],n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)t[n]=e.scrollTop,e=e.parentNode;return t}function de(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 he=function(){function e(e){var t=this;this._onDidFocus=new l.a,this.onDidFocus=this._onDidFocus.event,this._onDidBlur=new l.a,this.onDidBlur=this._onDidBlur.event,this.disposables=[];var n=ee(document.activeElement,e),i=!1;Object(r.a)(e,ue.FOCUS,!0)(function(){i=!1,n||(n=!0,t._onDidFocus.fire())},null,this.disposables),Object(r.a)(e,ue.BLUR,!0)(function(){n&&(i=!0,window.setTimeout(function(){i&&(i=!1,n=!1,t._onDidBlur.fire())},0))},null,this.disposables)}return e.prototype.dispose=function(){this.disposables=Object(d.d)(this.disposables),this._onDidFocus.dispose(),this._onDidBlur.dispose()},e}();function pe(e){return new he(e)}function ge(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.forEach(function(t){return e.appendChild(t)}),t[t.length-1]}var fe=/([\w\-]+)?(#([\w\-]+))?((.([\w\-]+))*)/;function me(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o=fe.exec(e);if(!o)throw new Error("Bad use of emmet");var r=document.createElement(o[1]||"div");return o[3]&&(r.id=o[3]),o[4]&&(r.className=o[4].replace(/\./g," ").trim()),t=t||{},Object.keys(t).forEach(function(e){var n=t[e];/^on\w+$/.test(e)?r[e]=n:"selected"===e?n&&r.setAttribute(e,"true"):r.setAttribute(e,n)}),Object(p.d)(n).forEach(function(e){e instanceof Node?r.appendChild(e):r.appendChild(document.createTextNode(e))}),r}function ve(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,i=e;n<i.length;n++){var o=i[n];o.style.display="",o.removeAttribute("aria-hidden")}}function ye(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,i=e;n<i.length;n++){var o=i[n];o.style.display="none",o.setAttribute("aria-hidden","true")}}function be(e){if(e&&e.hasAttribute("tabIndex")){if(document.activeElement===e){var t=function(e,t){for(;e;){if(e instanceof HTMLElement&&e.hasAttribute(t))return e;e=e.parentNode}return null}(e.parentElement,"tabIndex");t&&t.focus()}e.removeAttribute("tabindex")}}function _e(e){return Array.prototype.slice.call(document.getElementsByTagName(e),0)}function Me(e){var t=window.devicePixelRatio*e;return Math.max(1,Math.floor(t))/window.devicePixelRatio}function we(e){if(h.e||o.h)window.open(e);else{var t=window.open();t&&(t.opener=null,t.location.href=e)}}function Ce(e){var t=function(){e(),n=O(t)},n=O(t);return Object(d.f)(function(){return n.dispose()})}},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n(9),o=function(){function e(e,t,n,i){e>n||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.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))},e.prototype.containsRange=function(t){return e.containsRange(this,t)},e.containsRange=function(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.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,o,r,s;return n.startLineNumber<t.startLineNumber?(i=n.startLineNumber,o=n.startColumn):n.startLineNumber===t.startLineNumber?(i=n.startLineNumber,o=Math.min(n.startColumn,t.startColumn)):(i=t.startLineNumber,o=t.startColumn),n.endLineNumber>t.endLineNumber?(r=n.endLineNumber,s=n.endColumn):n.endLineNumber===t.endLineNumber?(r=n.endLineNumber,s=Math.max(n.endColumn,t.endColumn)):(r=t.endLineNumber,s=t.endColumn),new e(i,o,r,s)},e.prototype.intersectRanges=function(t){return e.intersectRanges(this,t)},e.intersectRanges=function(t,n){var i=t.startLineNumber,o=t.startColumn,r=t.endLineNumber,s=t.endColumn,a=n.startLineNumber,u=n.startColumn,c=n.endLineNumber,l=n.endColumn;return i<a?(i=a,o=u):i===a&&(o=Math.max(o,u)),r>c?(r=c,s=l):r===c&&(s=Math.min(s,l)),i>r?null:i===r&&o>s?null:new e(i,o,r,s)},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.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)},e.areIntersecting=function(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)},e.compareRangesUsingStarts=function(e,t){if(e&&t){var n=0|e.startLineNumber,i=0|t.startLineNumber;if(n===i){var o=0|e.startColumn,r=0|t.startColumn;if(o===r){var s=0|e.endLineNumber,a=0|t.endLineNumber;return s===a?(0|e.endColumn)-(0|t.endColumn):s-a}return o-r}return n-i}return(e?1:0)-(t?1:0)},e.compareRangesUsingEnds=function(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber},e.spansMultipleLines=function(e){return e.endLineNumber>e.startLineNumber},e}()},function(e,t,n){"use strict";n.d(t,"a",function(){return _}),n.d(t,"c",function(){return M}),n.d(t,"b",function(){return w}),n.d(t,"j",function(){return C}),n.d(t,"e",function(){return I}),n.d(t,"g",function(){return L}),n.d(t,"f",function(){return N}),n.d(t,"i",function(){return S}),n.d(t,"h",function(){return D}),n.d(t,"d",function(){return o});var i,o,r=n(12),s=n(28),a=n(36),u=n(9),c=n(56),l=n(98),d=n(59),h=n(32),p=n(11),g=n(87),f=n(57),m=n(116),v=n(20),y=(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)}),b=function(){return(b=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},_=function(){function e(e){this.id=e.id,this.precondition=e.precondition,this._kbOpts=e.kbOpts,this._menubarOpts=e.menubarOpts,this._description=e.description}return e.prototype.register=function(){var e=this;if(this._menubarOpts&&d.c.appendMenuItem(this._menubarOpts.menuId,{group:this._menubarOpts.group,command:{id:this.id,title:this._menubarOpts.title},when:this._menubarOpts.when,order:this._menubarOpts.order}),this._kbOpts){var t=this._kbOpts.kbExpr;this.precondition&&(t=t?p.d.and(t,this.precondition):this.precondition),g.a.registerCommandAndKeybindingRule({id:this.id,handler:function(t,n){return e.runCommand(t,n)},weight:this._kbOpts.weight,when:t,primary:this._kbOpts.primary,secondary:this._kbOpts.secondary,win:this._kbOpts.win,linux:this._kbOpts.linux,mac:this._kbOpts.mac,description:this._description})}else h.a.registerCommand({id:this.id,handler:function(t,n){return e.runCommand(t,n)},description:this._description})},e}(),M=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return y(t,e),t.bindToContribution=function(e){return function(t){function n(e){var n=t.call(this,e)||this;return n._callback=e.handler,n}return y(n,t),n.prototype.runEditorCommand=function(t,n,i){e(n)&&this._callback(e(n),i)},n}(t)},t.prototype.runCommand=function(e,t){var n=this,i=e.get(a.a),o=i.getFocusedCodeEditor()||i.getActiveCodeEditor();if(o)return o.invokeWithinContext(function(e){if(e.get(p.e).contextMatchesRules(Object(v.l)(n.precondition)))return n.runEditorCommand(e,o,t)})},t}(_),w=function(e){function t(t){var n=e.call(this,t)||this;return n.label=t.label,n.alias=t.alias,n.menuOpts=t.menuOpts,n}return y(t,e),t.prototype.register=function(){this.menuOpts&&d.c.appendMenuItem(7,{command:{id:this.id,title:this.label},when:p.d.and(this.precondition,this.menuOpts.when),group:this.menuOpts.group,order:this.menuOpts.order}),e.prototype.register.call(this)},t.prototype.runEditorCommand=function(e,t,n){return this.reportTelemetry(e,t),this.run(e,t,n||{})},t.prototype.reportTelemetry=function(e,t){e.get(m.a).publicLog("editorActionInvoked",b({name:this.label,id:this.id},t.getTelemetryData()))},t}(M);function C(e,t){h.a.registerCommand(e,function(e,n){return t(e,n||{})})}function I(e,t){C(e,function(e,n){var i=n.resource,o=n.position;if(!(i instanceof s.a))throw Object(r.b)("resource");if(!u.a.isIPosition(o))throw Object(r.b)("position");var a=e.get(c.a).getModel(i);if(a){var d=u.a.lift(o);return t(a,d,n)}return e.get(l.a).createModelReference(i).then(function(e){return new Promise(function(i,r){try{i(t(e.object.textEditorModel,u.a.lift(o),n))}catch(e){r(e)}}).finally(function(){e.dispose()})})})}function L(e){return x.INSTANCE.registerEditorCommand(e),e}function N(e){x.INSTANCE.registerEditorAction(new e)}function S(e){x.INSTANCE.registerEditorAction(e)}function D(e){x.INSTANCE.registerEditorContribution(e)}!function(e){e.getEditorCommand=function(e){return x.INSTANCE.getEditorCommand(e)},e.getEditorActions=function(){return x.INSTANCE.getEditorActions()},e.getEditorContributions=function(){return x.INSTANCE.getEditorContributions()}}(o||(o={}));var x=function(){function e(){this.editorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}return e.prototype.registerEditorContribution=function(e){this.editorContributions.push(e)},e.prototype.registerEditorAction=function(e){e.register(),this.editorActions.push(e)},e.prototype.getEditorContributions=function(){return this.editorContributions.slice(0)},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",x.INSTANCE)},function(e,t,n){"use strict";function i(e){return"function"==typeof e.dispose&&0===e.dispose.length}function o(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Array.isArray(e)?(e.forEach(function(e){return e&&e.dispose()}),[]):0===t.length?e?(e.dispose(),e):void 0:(o(e),o(t),[])}function r(e){return{dispose:function(){return o(e)}}}function s(e){return{dispose:function(){e()}}}n.d(t,"e",function(){return i}),n.d(t,"d",function(){return o}),n.d(t,"c",function(){return r}),n.d(t,"f",function(){return s}),n.d(t,"a",function(){return a}),n.d(t,"b",function(){return u});var a=function(){function e(){this._toDispose=[],this._lifecycle_disposable_isDisposed=!1}return e.prototype.dispose=function(){this._lifecycle_disposable_isDisposed=!0,this._toDispose=o(this._toDispose)},e.prototype._register=function(e){return this._lifecycle_disposable_isDisposed?(console.warn("Registering disposable on object that has already been disposed."),e.dispose()):this._toDispose.push(e),e},e.None=Object.freeze({dispose:function(){}}),e}(),u=function(){function e(e){this.object=e}return e.prototype.dispose=function(){},e}()},function(e,t,n){"use strict";var i=n(12);var o=n(4),r=n(102);n.d(t,"b",function(){return a}),n.d(t,"a",function(){return d}),n.d(t,"e",function(){return h}),n.d(t,"d",function(){return p}),n.d(t,"c",function(){return g}),n.d(t,"f",function(){return f});var s,a,u=(s=function(e,t){return(s=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}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});!function(e){var t={dispose:function(){}};function n(e){return function(t,n,i){void 0===n&&(n=null);var o,r=!1;return o=e(function(e){if(!r)return o?o.dispose():r=!0,t.call(n,e)},null,i),r&&o.dispose(),o}}function i(e,t){return u(function(n,i,o){return void 0===i&&(i=null),e(function(e){return n.call(i,t(e))},null,o)})}function r(e,t){return u(function(n,i,o){return void 0===i&&(i=null),e(function(e){t(e),n.call(i,e)},null,o)})}function s(e,t){return u(function(n,i,o){return void 0===i&&(i=null),e(function(e){return t(e)&&n.call(i,e)},null,o)})}function a(e,t,n){var o=n;return i(e,function(e){return o=t(o,e)})}function u(e){var t,n=new d({onFirstListenerAdd:function(){t=e(n.fire,n)},onLastListenerRemove:function(){t.dispose()}});return n.event}function c(e){var t,n=!0;return s(e,function(e){var i=n||e!==t;return n=!1,t=e,i})}e.None=function(){return t},e.once=n,e.map=i,e.forEach=r,e.filter=s,e.signal=function(e){return e},e.any=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t,n,i){return void 0===n&&(n=null),Object(o.c)(e.map(function(e){return e(function(e){return t.call(n,e)},null,i)}))}},e.reduce=a,e.snapshot=u,e.debounce=function(e,t,n,i,o){var r;void 0===n&&(n=100),void 0===i&&(i=!1);var s=void 0,a=void 0,u=0,c=new d({leakWarningThreshold:o,onFirstListenerAdd:function(){r=e(function(e){u++,s=t(s,e),i&&!a&&c.fire(s),clearTimeout(a),a=setTimeout(function(){var e=s;s=void 0,a=void 0,(!i||u>1)&&c.fire(e),u=0},n)})},onLastListenerRemove:function(){r.dispose()}});return c.event},e.stopwatch=function(e){var t=(new Date).getTime();return i(n(e),function(e){return(new Date).getTime()-t})},e.latch=c,e.buffer=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=[]);var i=n.slice(),o=e(function(e){i?i.push(e):s.fire(e)}),r=function(){i&&i.forEach(function(e){return s.fire(e)}),i=null},s=new d({onFirstListenerAdd:function(){o||(o=e(function(e){return s.fire(e)}))},onFirstListenerDidAdd:function(){i&&(t?setTimeout(r):r())},onLastListenerRemove:function(){o&&o.dispose(),o=null}});return s.event};var l=function(){function e(e){this.event=e}return e.prototype.map=function(t){return new e(i(this.event,t))},e.prototype.forEach=function(t){return new e(r(this.event,t))},e.prototype.filter=function(t){return new e(s(this.event,t))},e.prototype.reduce=function(t,n){return new e(a(this.event,t,n))},e.prototype.latch=function(){return new e(c(this.event))},e.prototype.on=function(e,t,n){return this.event(e,t,n)},e.prototype.once=function(e,t,i){return n(this.event)(e,t,i)},e}();e.chain=function(e){return new l(e)},e.fromNodeEventEmitter=function(e,t,n){void 0===n&&(n=function(e){return e});var i=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.fire(n.apply(void 0,e))},o=new d({onFirstListenerAdd:function(){return e.on(t,i)},onLastListenerRemove:function(){return e.removeListener(t,i)}});return o.event},e.fromPromise=function(e){var t=new d,n=!1;return e.then(void 0,function(){return null}).then(function(){n?t.fire(void 0):setTimeout(function(){return t.fire(void 0)},0)}),n=!0,t.event},e.toPromise=function(e){return new Promise(function(t){return n(e)(t)})}}(a||(a={}));var c=-1,l=function(){function e(e,t){void 0===t&&(t=Math.random().toString(18).slice(2,5)),this.customThreshold=e,this.name=t,this._warnCountdown=0}return e.prototype.dispose=function(){this._stacks&&this._stacks.clear()},e.prototype.check=function(e){var t=this,n=c;if("number"==typeof this.customThreshold&&(n=this.customThreshold),!(n<=0||e<n)){this._stacks||(this._stacks=new Map);var i=(new Error).stack.split("\n").slice(3).join("\n"),o=this._stacks.get(i)||0;if(this._stacks.set(i,o+1),this._warnCountdown-=1,this._warnCountdown<=0){var r;this._warnCountdown=.5*n;var s=0;this._stacks.forEach(function(e,t){(!r||s<e)&&(r=t,s=e)}),console.warn("["+this.name+"] potential listener LEAK detected, having "+e+" listeners already. MOST frequent listener ("+s+"):"),console.warn(r)}return function(){var e=t._stacks.get(i)||0;t._stacks.set(i,e-1)}}},e}(),d=function(){function e(e){this._disposed=!1,this._options=e,this._leakageMon=c>0?new l(this._options&&this._options.leakWarningThreshold):void 0}return Object.defineProperty(e.prototype,"event",{get:function(){var t=this;return this._event||(this._event=function(n,i,o){t._listeners||(t._listeners=new r.a);var s=t._listeners.isEmpty();s&&t._options&&t._options.onFirstListenerAdd&&t._options.onFirstListenerAdd(t);var a,u,c=t._listeners.push(i?[n,i]:n);return s&&t._options&&t._options.onFirstListenerDidAdd&&t._options.onFirstListenerDidAdd(t),t._options&&t._options.onListenerDidAdd&&t._options.onListenerDidAdd(t,n,i),t._leakageMon&&(a=t._leakageMon.check(t._listeners.size)),u={dispose:function(){(a&&a(),u.dispose=e._noop,t._disposed)||(c(),t._options&&t._options.onLastListenerRemove&&(t._listeners&&!t._listeners.isEmpty()||t._options.onLastListenerRemove(t)))}},Array.isArray(o)&&o.push(u),u}),this._event},enumerable:!0,configurable:!0}),e.prototype.fire=function(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new r.a);for(var t=this._listeners.iterator(),n=t.next();!n.done;n=t.next())this._deliveryQueue.push([n.value,e]);for(;this._deliveryQueue.size>0;){var o=this._deliveryQueue.shift(),s=o[0],a=o[1];try{"function"==typeof s?s.call(void 0,a):s[0].call(s[1],a)}catch(n){Object(i.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}(),h=function(e){function t(t){var n=e.call(this,t)||this;return n._isPaused=0,n._eventQueue=new r.a,n._mergeFn=t&&t.merge,n}return u(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}(d),p=function(){function e(){var e=this;this.hasListeners=!1,this.events=[],this.emitter=new d({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(o.f)(function(e){var t,n=this,i=!1;return function(){return i?t:(i=!0,t=e.apply(n,arguments))}}(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}(),g=function(){function e(){this.buffers=[]}return e.prototype.wrapEvent=function(e){var t=this;return function(n,i,o){return e(function(e){var o=t.buffers[t.buffers.length-1];o?o.push(function(){return n.call(i,e)}):n.call(i,e)},void 0,o)}},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}(),f=function(){function e(){var e=this;this.listening=!1,this.inputEvent=a.None,this.inputEventListener=o.a.None,this.emitter=new d({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,"a",function(){return i});var i,o=n(11);!function(e){e.editorTextFocus=new o.f("editorTextFocus",!1),e.focus=new o.f("editorFocus",!1),e.textInputFocus=new o.f("textInputFocus",!1),e.readOnly=new o.f("editorReadonly",!1),e.writable=e.readOnly.toNegated(),e.hasNonEmptySelection=new o.f("editorHasSelection",!1),e.hasOnlyEmptySelection=e.hasNonEmptySelection.toNegated(),e.hasMultipleSelections=new o.f("editorHasMultipleSelections",!1),e.hasSingleSelection=e.hasMultipleSelections.toNegated(),e.tabMovesFocus=new o.f("editorTabMovesFocus",!1),e.tabDoesNotMoveFocus=e.tabMovesFocus.toNegated(),e.isInEmbeddedEditor=new o.f("isInEmbeddedEditor",!1),e.canUndo=new o.f("canUndo",!1),e.canRedo=new o.f("canRedo",!1),e.languageId=new o.f("editorLangId",""),e.hasCompletionItemProvider=new o.f("editorHasCompletionItemProvider",!1),e.hasCodeActionsProvider=new o.f("editorHasCodeActionsProvider",!1),e.hasCodeLensProvider=new o.f("editorHasCodeLensProvider",!1),e.hasDefinitionProvider=new o.f("editorHasDefinitionProvider",!1),e.hasDeclarationProvider=new o.f("editorHasDeclarationProvider",!1),e.hasImplementationProvider=new o.f("editorHasImplementationProvider",!1),e.hasTypeDefinitionProvider=new o.f("editorHasTypeDefinitionProvider",!1),e.hasHoverProvider=new o.f("editorHasHoverProvider",!1),e.hasDocumentHighlightProvider=new o.f("editorHasDocumentHighlightProvider",!1),e.hasDocumentSymbolProvider=new o.f("editorHasDocumentSymbolProvider",!1),e.hasReferenceProvider=new o.f("editorHasReferenceProvider",!1),e.hasRenameProvider=new o.f("editorHasRenameProvider",!1),e.hasSignatureHelpProvider=new o.f("editorHasSignatureHelpProvider",!1),e.hasDocumentFormattingProvider=new o.f("editorHasDocumentFormattingProvider",!1),e.hasDocumentSelectionFormattingProvider=new o.f("editorHasDocumentSelectionFormattingProvider",!1),e.hasMultipleDocumentFormattingProvider=new o.f("editorHasMultipleDocumentFormattingProvider",!1),e.hasMultipleDocumentSelectionFormattingProvider=new o.f("editorHasMultipleDocumentSelectionFormattingProvider",!1)}(i||(i={}))},function(e,t,n){"use strict";n.d(t,"j",function(){return i}),n.d(t,"s",function(){return o}),n.d(t,"A",function(){return r}),n.d(t,"p",function(){return a}),n.d(t,"m",function(){return u}),n.d(t,"n",function(){return c}),n.d(t,"J",function(){return l}),n.d(t,"z",function(){return d}),n.d(t,"E",function(){return h}),n.d(t,"h",function(){return p}),n.d(t,"G",function(){return g}),n.d(t,"k",function(){return f}),n.d(t,"i",function(){return m}),n.d(t,"C",function(){return v}),n.d(t,"B",function(){return y}),n.d(t,"o",function(){return b}),n.d(t,"q",function(){return _}),n.d(t,"y",function(){return M}),n.d(t,"d",function(){return w}),n.d(t,"w",function(){return C}),n.d(t,"x",function(){return I}),n.d(t,"l",function(){return N}),n.d(t,"H",function(){return D}),n.d(t,"b",function(){return x}),n.d(t,"c",function(){return j}),n.d(t,"u",function(){return T}),n.d(t,"v",function(){return O}),n.d(t,"g",function(){return A}),n.d(t,"e",function(){return P}),n.d(t,"r",function(){return R}),n.d(t,"f",function(){return W}),n.d(t,"t",function(){return F}),n.d(t,"a",function(){return H}),n.d(t,"I",function(){return B}),n.d(t,"F",function(){return Y}),n.d(t,"D",function(){return V});var i="";function o(e){return!e||"string"!=typeof e||0===e.trim().length}function r(e,t,n){void 0===n&&(n="0");for(var i=""+e,o=[i],r=i.length;r<t;r++)o.push(n);return o.reverse().join("")}var s=/{(\d+)}/g;function a(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return 0===t.length?e:e.replace(s,function(e,n){var i=parseInt(n,10);return isNaN(i)||i<0||i>=t.length?e:t[i]})}function u(e){return e.replace(/[<>&]/g,function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}})}function c(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\[\]\(\)\#]/g,"\\$&")}function l(e,t){return void 0===t&&(t=" "),h(d(e,t),t)}function d(e,t){if(!e||!t)return e;var n=t.length;if(0===n||0===e.length)return e;for(var i=0;e.indexOf(t,i)===i;)i+=n;return e.substring(i)}function h(e,t){if(!e||!t)return e;var n=t.length,i=e.length;if(0===n||0===i)return e;for(var o=i,r=-1;-1!==(r=e.lastIndexOf(t,o-1))&&r+n===o;){if(0===r)return"";o=r}return e.substring(0,o)}function p(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function g(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function f(e,t){var n=e.length-t.length;return n>0?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=c(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 v(e){return"^"!==e.source&&"^$"!==e.source&&"$"!==e.source&&"^\\s*$"!==e.source&&!(!e.exec("")||0!==e.lastIndex)}function y(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function b(e){for(var t=0,n=e.length;t<n;t++){var i=e.charCodeAt(t);if(32!==i&&9!==i)return t}return-1}function _(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length);for(var i=t;i<n;i++){var o=e.charCodeAt(i);if(32!==o&&9!==o)return e.substring(t,i)}return e.substring(t,n)}function M(e,t){void 0===t&&(t=e.length-1);for(var n=t;n>=0;n--){var i=e.charCodeAt(n);if(32!==i&&9!==i)return n}return-1}function w(e,t){return e<t?-1:e>t?1:0}function C(e){return e>=97&&e<=122}function I(e){return e>=65&&e<=90}function L(e){return C(e)||I(e)}function N(e,t){return(e?e.length:0)===(t?t.length:0)&&S(e,t)}function S(e,t,n){if(void 0===n&&(n=e.length),"string"!=typeof e||"string"!=typeof t)return!1;for(var i=0;i<n;i++){var o=e.charCodeAt(i),r=t.charCodeAt(i);if(o!==r)if(L(o)&&L(r)){var s=Math.abs(o-r);if(0!==s&&32!==s)return!1}else if(String.fromCharCode(o).toLowerCase()!==String.fromCharCode(r).toLowerCase())return!1}return!0}function D(e,t){var n=t.length;return!(t.length>e.length)&&S(e,t,n)}function x(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return i}function j(e,t){var n,i=Math.min(e.length,t.length),o=e.length-1,r=t.length-1;for(n=0;n<i;n++)if(e.charCodeAt(o-n)!==t.charCodeAt(r-n))return n;return i}function T(e){return 55296<=e&&e<=56319}function O(e){return 56320<=e&&e<=57343}var k=/(?:[\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 A(e){return k.test(e)}var E=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEF8]|\uD83E[\uDD00-\uDDE6])/;function P(e){return E.test(e)}var z=/^[\t\n\r\x20-\x7E]*$/;function R(e){return z.test(e)}function W(e){for(var t=0,n=e.length;t<n;t++)if(F(e.charCodeAt(t)))return!0;return!1}function F(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}var H=String.fromCharCode(65279);function B(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function Y(e){return btoa(encodeURIComponent(e))}function V(e,t){for(var n="",i=0;i<t;i++)n+=e;return n}},function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"zb",function(){return d}),n.d(t,"K",function(){return g}),n.d(t,"I",function(){return f}),n.d(t,"J",function(){return m}),n.d(t,"e",function(){return v}),n.d(t,"b",function(){return y}),n.d(t,"Jb",function(){return b}),n.d(t,"Ib",function(){return _}),n.d(t,"Kb",function(){return M}),n.d(t,"M",function(){return w}),n.d(t,"O",function(){return C}),n.d(t,"N",function(){return I}),n.d(t,"L",function(){return L}),n.d(t,"S",function(){return N}),n.d(t,"U",function(){return S}),n.d(t,"T",function(){return D}),n.d(t,"V",function(){return x}),n.d(t,"X",function(){return j}),n.d(t,"W",function(){return T}),n.d(t,"P",function(){return O}),n.d(t,"R",function(){return k}),n.d(t,"Q",function(){return A}),n.d(t,"eb",function(){return z}),n.d(t,"fb",function(){return R}),n.d(t,"Y",function(){return W}),n.d(t,"Z",function(){return F}),n.d(t,"kb",function(){return H}),n.d(t,"lb",function(){return B}),n.d(t,"jb",function(){return Y}),n.d(t,"hb",function(){return V}),n.d(t,"ib",function(){return Z}),n.d(t,"ab",function(){return U}),n.d(t,"gb",function(){return G}),n.d(t,"bb",function(){return Q}),n.d(t,"db",function(){return J}),n.d(t,"cb",function(){return X}),n.d(t,"xb",function(){return K}),n.d(t,"wb",function(){return q}),n.d(t,"c",function(){return $}),n.d(t,"d",function(){return ee}),n.d(t,"Ab",function(){return te}),n.d(t,"Cb",function(){return ne}),n.d(t,"Db",function(){return ie}),n.d(t,"Bb",function(){return oe}),n.d(t,"yb",function(){return re}),n.d(t,"nb",function(){return se}),n.d(t,"ob",function(){return ae}),n.d(t,"mb",function(){return ue}),n.d(t,"rb",function(){return ce}),n.d(t,"pb",function(){return le}),n.d(t,"qb",function(){return de}),n.d(t,"sb",function(){return he}),n.d(t,"o",function(){return pe}),n.d(t,"v",function(){return ge}),n.d(t,"F",function(){return fe}),n.d(t,"G",function(){return me}),n.d(t,"H",function(){return ve}),n.d(t,"B",function(){return ye}),n.d(t,"C",function(){return be}),n.d(t,"A",function(){return _e}),n.d(t,"D",function(){return Me}),n.d(t,"E",function(){return we}),n.d(t,"p",function(){return Ce}),n.d(t,"r",function(){return Ie}),n.d(t,"t",function(){return Le}),n.d(t,"q",function(){return Ne}),n.d(t,"s",function(){return Se}),n.d(t,"u",function(){return De}),n.d(t,"y",function(){return xe}),n.d(t,"w",function(){return je}),n.d(t,"x",function(){return Te}),n.d(t,"z",function(){return Oe}),n.d(t,"n",function(){return ke}),n.d(t,"g",function(){return Ae}),n.d(t,"h",function(){return Ee}),n.d(t,"j",function(){return Pe}),n.d(t,"l",function(){return ze}),n.d(t,"k",function(){return Re}),n.d(t,"m",function(){return We}),n.d(t,"i",function(){return Fe}),n.d(t,"Gb",function(){return He}),n.d(t,"Hb",function(){return Be}),n.d(t,"Eb",function(){return Ye}),n.d(t,"Fb",function(){return Ve}),n.d(t,"ub",function(){return Ue}),n.d(t,"vb",function(){return Ge}),n.d(t,"f",function(){return Qe}),n.d(t,"tb",function(){return Xe});var i=n(57),o=n(13),r=n(5),s=n(0),a=n(168),u=n(15),c={ColorContribution:"base.contributions.colors"},l=new(function(){function e(){this._onDidChangeSchema=new r.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,o){void 0===i&&(i=!1);var r={id:e,description:n,defaults:t,needsTransparency:i,deprecationMessage:o};this.colorsById[e]=r;var s={type:"string",description:n,format:"color-hex",default:"#ff0000"};return o&&(s.deprecationMessage=o),this.colorSchema.properties[e]=s,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 qe(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,o){return l.registerColor(e,t,n,i,o)}i.a.add(c.ColorContribution,l);var h,p,g=d("foreground",{dark:"#CCCCCC",light:"#616161",hc:"#FFFFFF"},s.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"},s.a("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),m=d("focusBorder",{dark:o.a.fromHex("#0E639C").transparent(.8),light:o.a.fromHex("#007ACC").transparent(.4),hc:"#F38518"},s.a("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),v=d("contrastBorder",{light:null,dark:null,hc:"#6FC3DF"},s.a("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),y=d("contrastActiveBorder",{light:null,dark:null,hc:m},s.a("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),b=d("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},s.a("textLinkForeground","Foreground color for links in text.")),_=d("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hc:o.a.black},s.a("textCodeBlockBackground","Background color for code blocks in text.")),M=d("widget.shadow",{dark:"#000000",light:"#A8A8A8",hc:null},s.a("widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),w=d("input.background",{dark:"#3C3C3C",light:o.a.white,hc:o.a.black},s.a("inputBoxBackground","Input box background.")),C=d("input.foreground",{dark:g,light:g,hc:g},s.a("inputBoxForeground","Input box foreground.")),I=d("input.border",{dark:null,light:null,hc:v},s.a("inputBoxBorder","Input box border.")),L=d("inputOption.activeBorder",{dark:"#007ACC",light:"#007ACC",hc:y},s.a("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),N=d("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:o.a.black},s.a("inputValidationInfoBackground","Input validation background color for information severity.")),S=d("inputValidation.infoForeground",{dark:null,light:null,hc:null},s.a("inputValidationInfoForeground","Input validation foreground color for information severity.")),D=d("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:v},s.a("inputValidationInfoBorder","Input validation border color for information severity.")),x=d("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:o.a.black},s.a("inputValidationWarningBackground","Input validation background color for warning severity.")),j=d("inputVa