!function(e,t){"object"==typeofexports&&"object"==typeofmodule?module.exports=t(require("monaco-editor")):"function"==typeofdefine&&define.amd?define("MonacoMarkdown",["vs/editor/editor.main"],t):"object"==typeofexports?exports.MonacoMarkdown=t(require("monaco-editor")):e.MonacoMarkdown=t(e.monaco)}(window,function(n){returnr=[function(e,t){e.exports=n},function(e,t,n){"use strict";varr,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceofArray&&function(e,t){e.__proto__=t}||function(e,t){for(varnint)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){functionn(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,newn)});Object.defineProperty(t,"__esModule",{value:!0}),t.SnippetString=t.TextEditorSelectionChangeKind=t.TextEditorRevealType=t.WorkspaceEdit=t.TextEdit=t.EndOfLine=t.Selection=t.Range=t.Position=t.values=void0;varo=n(9);functiona(e){vart=[];returne.forEach(function(e){returnt.push(e)}),t}t.values=a;vars=(c.Min=function(){for(vare=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)thrownewTypeError;for(varn=e[0],r=1;r<e.length;r++){vari=e[r];i.isBefore(n)&&(n=i)}returnn},c.Max=function(){for(vare=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)thrownewTypeError;for(varn=e[0],r=1;r<e.length;r++){vari=e[r];i.isAfter(n)&&(n=i)}returnn},c.isPosition=function(e){if(!e)return!1;if(einstanceofc)return!0;vart=e.line,e=e.character;return"number"==typeoft&&"number"==typeofe},Object.defineProperty(c.prototype,"line",{get:function(){returnthis._line},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"character",{get:function(){returnthis._character},enumerable:!1,configurable:!0}),c.prototype.isBefore=function(e){returnthis._line<e._line||!(e._line<this._line)&&this._character<e._character},c.prototype.isBeforeOrEqual=function(e){returnthis._line<e._line||!(e._line<this._line)&&this._character<=e._character},c.prototype.isAfter=function(e){return!this.isBeforeOrEqual(e)},c.prototype.isAfterOrEqual=function(e){return!this.isBefore(e)},c.prototype.isEqual=function(e){returnthis._line===e._line&&this._character===e._character},c.prototype.compareTo=function(e){returnthis._line<e._line?-1:this._line>e.line?1:this._character<e._character?-1:this._character>e._character?1:0},c.prototype.translate=function(e,t){if(void0===t&&(t=0),null===e||null===t)throwo.illegalArgument();varn;returnvoid0===e?n=0:"number"==typeofe?n=e:(n="number"==typeofe.lineDelta?e.lineDelta:0,t="number"==typeofe.characterDelta?e.characterDelta:0),0===n&&0===t?this:newc(this.line+n,this.character+t)},c.prototype.with=function(e,t){if(void0===t&&(t=this.character),null===e||null===t)throwo.illegalArgument();varn;returnvoid0===e?n=this.line:"number"==typeofe?n=e:(n=("number"==typeofe.line?e:this).line,t=("number"==typeofe.character?e:this).character),n===this.line&&t===this.character?this:newc(n,t)},c.prototype.toJSON=function(){return{line:this.line,character:this.character}},c);functionc(e,t){if(e<0)throwo.illegalArgument("line must be non-negative");if(t<0)throwo.illegalArgument("character must be non-negative");this._line=e,this._character=t}t.Position=s;varl=(u.isRange=function(e){returneinstanceofu||!!e&&(s.isPosition(e.start)&&s.isPosition(e.end))},Object.defineProperty(u.prototype,"start",{get:function(){returnthis._start},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"end",{get:function(){returnthis._end},enumerable:!1,configurable:!0}),u.prototype.contains=function(e){returneinstanceofu?this.contains(e._start)&&this.contains(e._end):einstanceofs&&(!e.isBefore(this._start)&&!this._end.isBefore(e))},u.prototype.isEqual=function(e){returnthis._start.isEqual(e._start)&&this._end.isEqual(e._end)},u.prototype.intersection=function(e){vart=s.Max(e.start,this._start),e=s.Min(e.end,this._end);if(!t.isAfter(e))returnnewu(t,e)},u.prototype.union=function(e){returnthis.contains(e)?this:e.contains(this)?e:newu(s.Min(e.start,this._start)