All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ber-security.graylog.graylog-plugin-correlation-count.6.0.0.source-code.bf9ab447-802.39aba3741f48ac8801d9.js Maven / Gradle / Ivy

There is a newer version: 6.1.0
Show newest version
(()=>{(self.webpackChunkCorrelationCount=self.webpackChunkCorrelationCount||[]).push([["bf9ab447-802"],{"TFdHK+vd":(h,M,s)=>{h=s.nmd(h),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(L,T,I){"use strict";var m=L("../lib/oop"),y=L("./text_highlight_rules").TextHighlightRules,p=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"punctuation.operator",regex:/[,]/},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};m.inherits(p,y),T.JsonHighlightRules=p}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(L,T,I){"use strict";var m=L("../range").Range,y=function(){};(function(){this.checkOutdent=function(p,l){return/^\s+$/.test(p)?/^\s*\}/.test(l):!1},this.autoOutdent=function(p,l){var c=p.getLine(l),r=c.match(/^(\s*\})/);if(!r)return 0;var i=r[1].length,n=p.findMatchingBracket({row:l,column:i});if(!n||n.row==l)return 0;var e=this.$getIndent(p.getLine(n.row));p.replace(new m(l,0,l,i-1),e)},this.$getIndent=function(p){return p.match(/^\s*/)[0]}}).call(y.prototype),T.MatchingBraceOutdent=y}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(L,T,I){"use strict";var m=L("../../lib/oop"),y=L("../../range").Range,p=L("./fold_mode").FoldMode,l=T.FoldMode=function(c){c&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+c.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+c.end)))};m.inherits(l,p),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(c,r,i){var n=c.getLine(i);if(this.singleLineBlockCommentRe.test(n)&&!this.startRegionRe.test(n)&&!this.tripleStarBlockCommentRe.test(n))return"";var e=this._getFoldWidgetBase(c,r,i);return!e&&this.startRegionRe.test(n)?"start":e},this.getFoldWidgetRange=function(c,r,i,n){var e=c.getLine(i);if(this.startRegionRe.test(e))return this.getCommentRegionBlock(c,e,i);var a=e.match(this.foldingStartMarker);if(a){var t=a.index;if(a[1])return this.openingBracketBlock(c,a[1],i,t);var o=c.getCommentFoldRange(i,t+a[0].length,1);return o&&!o.isMultiLine()&&(n?o=this.getSectionRange(c,i):r!="all"&&(o=null)),o}if(r!=="markbegin"){var a=e.match(this.foldingStopMarker);if(a){var t=a.index+a[0].length;return a[1]?this.closingBracketBlock(c,a[1],i,t):c.getCommentFoldRange(i,t,-1)}}},this.getSectionRange=function(c,r){var i=c.getLine(r),n=i.search(/\S/),e=r,t=i.length;r+=1;for(var o=r,a=c.getLength();++ru)break;var d=this.getFoldWidgetRange(c,"all",r);if(d){if(d.start.row<=e)break;if(d.isMultiLine())r=d.end.row;else if(n==u)break}o=r}}return new y(e,t,o,c.getLine(o).length)},this.getCommentRegionBlock=function(c,r,i){for(var n=r.search(/\s*$/),e=c.getLength(),t=i,o=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,a=1;++it)return new y(t,n,d,r.length)}}.call(l.prototype)}),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle","ace/worker/worker_client"],function(L,T,I){"use strict";var m=L("../lib/oop"),y=L("./text").Mode,p=L("./json_highlight_rules").JsonHighlightRules,l=L("./matching_brace_outdent").MatchingBraceOutdent,c=L("./folding/cstyle").FoldMode,r=L("../worker/worker_client").WorkerClient,i=function(){this.HighlightRules=p,this.$outdent=new l,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new c};m.inherits(i,y),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(n,e,t){var o=this.$getIndent(e);if(n=="start"){var a=e.match(/^.*[\{\(\[]\s*$/);a&&(o+=t)}return o},this.checkOutdent=function(n,e,t){return this.$outdent.checkOutdent(e,t)},this.autoOutdent=function(n,e,t){this.$outdent.autoOutdent(e,t)},this.createWorker=function(n){var e=new r(["ace"],"ace/mode/json_worker","JsonWorker");return e.attachToDocument(n.getDocument()),e.on("annotate",function(t){n.setAnnotations(t.data)}),e.on("terminate",function(){n.clearAnnotations()}),e},this.$id="ace/mode/json"}.call(i.prototype),T.Mode=i}),function(){ace.require(["ace/mode/json"],function(L){h&&(h.exports=L)})}()},"QUUNCm+s":(h,M,s)=>{h=s.nmd(h),ace.define("ace/mode/lua_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(L,T,I){"use strict";var m=L("../lib/oop"),y=L("./text_highlight_rules").TextHighlightRules,p=function(){var l="break|do|else|elseif|end|for|function|if|in|local|repeat|return|then|until|while|or|and|not",c="true|false|nil|_G|_VERSION",r="string|xpcall|package|tostring|print|os|unpack|require|getfenv|setmetatable|next|assert|tonumber|io|rawequal|collectgarbage|getmetatable|module|rawset|math|debug|pcall|table|newproxy|type|coroutine|_G|select|gcinfo|pairs|rawget|loadstring|ipairs|_VERSION|dofile|setfenv|load|error|loadfile|sub|upper|len|gfind|rep|find|match|char|dump|gmatch|reverse|byte|format|gsub|lower|preload|loadlib|loaded|loaders|cpath|config|path|seeall|exit|setlocale|date|getenv|difftime|remove|time|clock|tmpname|rename|execute|lines|write|close|flush|open|output|type|read|stderr|stdin|input|stdout|popen|tmpfile|log|max|acos|huge|ldexp|pi|cos|tanh|pow|deg|tan|cosh|sinh|random|randomseed|frexp|ceil|floor|rad|abs|sqrt|modf|asin|min|mod|fmod|log10|atan2|exp|sin|atan|getupvalue|debug|sethook|getmetatable|gethook|setmetatable|setlocal|traceback|setfenv|getinfo|setupvalue|getlocal|getregistry|getfenv|setn|insert|getn|foreachi|maxn|foreach|concat|sort|remove|resume|yield|status|wrap|create|running|__add|__sub|__mod|__unm|__concat|__lt|__index|__call|__gc|__metatable|__mul|__div|__pow|__len|__eq|__le|__newindex|__tostring|__mode|__tonumber",i="string|package|os|io|math|debug|table|coroutine",n="setn|foreach|foreachi|gcinfo|log10|maxn",e=this.createKeywordMapper({keyword:l,"support.function":r,"keyword.deprecated":n,"constant.library":i,"constant.language":c,"variable.language":"self"},"identifier"),t="(?:(?:[1-9]\\d*)|(?:0))",o="(?:0[xX][\\dA-Fa-f]+)",a="(?:"+t+"|"+o+")",u="(?:\\.\\d+)",d="(?:\\d+)",b="(?:(?:"+d+"?"+u+")|(?:"+d+"\\.))",v="(?:"+b+")";this.$rules={start:[{stateName:"bracketedComment",onMatch:function(C,k,f){return f.unshift(this.next,C.length-2,k),"comment"},regex:/\-\-\[=*\[/,next:[{onMatch:function(C,k,f){return C.length==f[1]?(f.shift(),f.shift(),this.next=f.shift()):this.next="","comment"},regex:/\]=*\]/,next:"start"},{defaultToken:"comment"}]},{token:"comment",regex:"\\-\\-.*$"},{stateName:"bracketedString",onMatch:function(C,k,f){return f.unshift(this.next,C.length,k),"string.start"},regex:/\[=*\[/,next:[{onMatch:function(C,k,f){return C.length==f[1]?(f.shift(),f.shift(),this.next=f.shift()):this.next="","string.end"},regex:/\]=*\]/,next:"start"},{defaultToken:"string"}]},{token:"string",regex:'"(?:[^\\\\]|\\\\.)*?"'},{token:"string",regex:"'(?:[^\\\\]|\\\\.)*?'"},{token:"constant.numeric",regex:v},{token:"constant.numeric",regex:a+"\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\*|\\/|%|\\#|\\^|~|<|>|<=|=>|==|~=|=|\\:|\\.\\.\\.|\\.\\."},{token:"paren.lparen",regex:"[\\[\\(\\{]"},{token:"paren.rparen",regex:"[\\]\\)\\}]"},{token:"text",regex:"\\s+|\\w+"}]},this.normalizeRules()};m.inherits(p,y),T.LuaHighlightRules=p}),ace.define("ace/mode/folding/lua",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range","ace/token_iterator"],function(L,T,I){"use strict";var m=L("../../lib/oop"),y=L("./fold_mode").FoldMode,p=L("../../range").Range,l=L("../../token_iterator").TokenIterator,c=T.FoldMode=function(){};m.inherits(c,y),function(){this.foldingStartMarker=/\b(function|then|do|repeat)\b|{\s*$|(\[=*\[)/,this.foldingStopMarker=/\bend\b|^\s*}|\]=*\]/,this.getFoldWidget=function(r,i,n){var e=r.getLine(n),t=this.foldingStartMarker.test(e),o=this.foldingStopMarker.test(e);if(t&&!o){var u=e.match(this.foldingStartMarker);if(u[1]=="then"&&/\belseif\b/.test(e))return;if(u[1]){if(r.getTokenAt(n,u.index+1).type==="keyword")return"start"}else{if(!u[2])return"start";var a=r.bgTokenizer.getState(n)||"";if(a[0]=="bracketedComment"||a[0]=="bracketedString")return"start"}}if(i!="markbeginend"||!o||t&&o)return"";var u=e.match(this.foldingStopMarker);if(u[0]==="end"){if(r.getTokenAt(n,u.index+1).type==="keyword")return"end"}else{if(u[0][0]!=="]")return"end";var a=r.bgTokenizer.getState(n-1)||"";if(a[0]=="bracketedComment"||a[0]=="bracketedString")return"end"}},this.getFoldWidgetRange=function(r,i,n){var e=r.doc.getLine(n),t=this.foldingStartMarker.exec(e);if(t)return t[1]?this.luaBlock(r,n,t.index+1):t[2]?r.getCommentFoldRange(n,t.index+1):this.openingBracketBlock(r,"{",n,t.index);var t=this.foldingStopMarker.exec(e);if(t)return t[0]==="end"&&r.getTokenAt(n,t.index+1).type==="keyword"?this.luaBlock(r,n,t.index+1):t[0][0]==="]"?r.getCommentFoldRange(n,t.index+1):this.closingBracketBlock(r,"}",n,t.index+t[0].length)},this.luaBlock=function(r,f,n,e){var t=new l(r,f,n),o={function:1,do:1,then:1,elseif:-1,end:-1,repeat:1,until:-1},a=t.getCurrentToken();if(!(!a||a.type!="keyword")){var u=a.value,d=[u],b=o[u];if(b){var v=b===-1?t.getCurrentTokenColumn():r.getLine(f).length,C=f;for(t.step=b===-1?t.stepBackward:t.stepForward;a=t.step();)if(a.type==="keyword"){var k=b*o[a.value];if(k>0)d.unshift(a.value);else if(k<=0){if(d.shift(),!d.length&&a.value!="elseif")break;k===0&&d.unshift(a.value)}}if(!a)return null;if(e)return t.getCurrentTokenRange();var f=t.getCurrentTokenRow();return b===-1?new p(f,r.getLine(f).length,C,v):new p(C,v,f,t.getCurrentTokenColumn())}}}}.call(c.prototype)}),ace.define("ace/mode/lua",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/lua_highlight_rules","ace/mode/folding/lua","ace/range","ace/worker/worker_client"],function(L,T,I){"use strict";var m=L("../lib/oop"),y=L("./text").Mode,p=L("./lua_highlight_rules").LuaHighlightRules,l=L("./folding/lua").FoldMode,c=L("../range").Range,r=L("../worker/worker_client").WorkerClient,i=function(){this.HighlightRules=p,this.foldingRules=new l,this.$behaviour=this.$defaultBehaviour};m.inherits(i,y),function(){function n(o){for(var a=0,u=0;u0?1:0}this.lineCommentStart="--",this.blockComment={start:"--[[",end:"--]]"};var e={function:1,then:1,do:1,else:1,elseif:1,repeat:1,end:-1,until:-1},t=["else","elseif","end","until"];this.getNextLineIndent=function(o,a,u){var d=this.$getIndent(a),b=0,v=this.getTokenizer().getLineTokens(a,o),C=v.tokens;return o=="start"&&(b=n(C)),b>0?d+u:b<0&&d.substr(d.length-u.length)==u&&!this.checkOutdent(o,a,`
`)?d.substr(0,d.length-u.length):d},this.checkOutdent=function(o,a,u){if(u!=`
`&&u!="\r"&&u!=`\r
`)return!1;if(a.match(/^\s*[\)\}\]]$/))return!0;var d=this.getTokenizer().getLineTokens(a.trim(),o).tokens;return!d||!d.length?!1:d[0].type=="keyword"&&t.indexOf(d[0].value)!=-1},this.getMatching=function(o,a,u){if(a==null){var d=o.selection.lead;u=d.column,a=d.row}var b=o.getTokenAt(a,u);if(b&&b.value in e)return this.foldingRules.luaBlock(o,a,u,!0)},this.autoOutdent=function(o,a,u){var d=a.getLine(u),b=d.match(/^\s*/)[0].length;if(!(!b||!u)){var v=this.getMatching(a,u,b+1);if(!(!v||v.start.row==u)){var C=this.$getIndent(a.getLine(v.start.row));C.length!=b&&(a.replace(new c(u,0,u,b),C),a.outdentRows(new c(u+1,0,u+1,0)))}}},this.createWorker=function(o){var a=new r(["ace"],"ace/mode/lua_worker","Worker");return a.attachToDocument(o.getDocument()),a.on("annotate",function(u){o.setAnnotations(u.data)}),a.on("terminate",function(){o.clearAnnotations()}),a},this.$id="ace/mode/lua",this.snippetFileId="ace/snippets/lua"}.call(i.prototype),T.Mode=i}),function(){ace.require(["ace/mode/lua"],function(L){h&&(h.exports=L)})}()},KBBAgaWt:(h,M,s)=>{h=s.nmd(h),ace.define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"],function(L,T,I){"use strict";var m=L("../lib/oop"),y=L("../lib/lang"),p=L("./text_highlight_rules").TextHighlightRules,l=T.supportType="align-content|align-items|align-self|all|animation|animation-delay|animation-direction|animation-duration|animation-fill-mode|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|backface-visibility|background|background-attachment|background-blend-mode|background-clip|background-color|background-image|background-origin|background-position|background-repeat|background-size|border|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius|border-bottom-style|border-bottom-width|border-collapse|border-color|border-image|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-left|border-left-color|border-left-style|border-left-width|border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style|border-top-width|border-width|bottom|box-shadow|box-sizing|caption-side|clear|clip|color|column-count|column-fill|column-gap|column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|content|counter-increment|counter-reset|cursor|direction|display|empty-cells|filter|flex|flex-basis|flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|font|font-family|font-size|font-size-adjust|font-stretch|font-style|font-variant|font-weight|hanging-punctuation|height|justify-content|left|letter-spacing|line-height|list-style|list-style-image|list-style-position|list-style-type|margin|margin-bottom|margin-left|margin-right|margin-top|max-height|max-width|max-zoom|min-height|min-width|min-zoom|nav-down|nav-index|nav-left|nav-right|nav-up|opacity|order|outline|outline-color|outline-offset|outline-style|outline-width|overflow|overflow-x|overflow-y|padding|padding-bottom|padding-left|padding-right|padding-top|page-break-after|page-break-before|page-break-inside|perspective|perspective-origin|position|quotes|resize|right|tab-size|table-layout|text-align|text-align-last|text-decoration|text-decoration-color|text-decoration-line|text-decoration-style|text-indent|text-justify|text-overflow|text-shadow|text-transform|top|transform|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function|unicode-bidi|user-select|user-zoom|vertical-align|visibility|white-space|width|word-break|word-spacing|word-wrap|z-index",c=T.supportFunction="rgb|rgba|url|attr|counter|counters",r=T.supportConstant="absolute|after-edge|after|all-scroll|all|alphabetic|always|antialiased|armenian|auto|avoid-column|avoid-page|avoid|balance|baseline|before-edge|before|below|bidi-override|block-line-height|block|bold|bolder|border-box|both|bottom|box|break-all|break-word|capitalize|caps-height|caption|center|central|char|circle|cjk-ideographic|clone|close-quote|col-resize|collapse|column|consider-shifts|contain|content-box|cover|crosshair|cubic-bezier|dashed|decimal-leading-zero|decimal|default|disabled|disc|disregard-shifts|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ease-in|ease-in-out|ease-out|ease|ellipsis|end|exclude-ruby|flex-end|flex-start|fill|fixed|georgian|glyphs|grid-height|groove|hand|hanging|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|ideographic|inactive|include-ruby|inherit|initial|inline-block|inline-box|inline-line-height|inline-table|inline|inset|inside|inter-ideograph|inter-word|invert|italic|justify|katakana-iroha|katakana|keep-all|last|left|lighter|line-edge|line-through|line|linear|list-item|local|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|mathematical|max-height|max-size|medium|menu|message-box|middle|move|n-resize|ne-resize|newspaper|no-change|no-close-quote|no-drop|no-open-quote|no-repeat|none|normal|not-allowed|nowrap|nw-resize|oblique|open-quote|outset|outside|overline|padding-box|page|pointer|pre-line|pre-wrap|pre|preserve-3d|progress|relative|repeat-x|repeat-y|repeat|replaced|reset-size|ridge|right|round|row-resize|rtl|s-resize|scroll|se-resize|separate|slice|small-caps|small-caption|solid|space|square|start|static|status-bar|step-end|step-start|steps|stretch|strict|sub|super|sw-resize|table-caption|table-cell|table-column-group|table-column|table-footer-group|table-header-group|table-row-group|table-row|table|tb-rl|text-after-edge|text-before-edge|text-bottom|text-size|text-top|text|thick|thin|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|use-script|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|z-index|zero|zoom",i=T.supportConstantColor="aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen",n=T.supportConstantFonts="arial|century|comic|courier|cursive|fantasy|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace",e=T.numRe="\\-?(?:(?:[0-9]+(?:\\.[0-9]+)?)|(?:\\.[0-9]+))",t=T.pseudoElements="(\\:+)\\b(after|before|first-letter|first-line|moz-selection|selection)\\b",o=T.pseudoClasses="(:)\\b(active|checked|disabled|empty|enabled|first-child|first-of-type|focus|hover|indeterminate|invalid|last-child|last-of-type|link|not|nth-child|nth-last-child|nth-last-of-type|nth-of-type|only-child|only-of-type|required|root|target|valid|visited)\\b",a=function(){var u=this.createKeywordMapper({"support.function":c,"support.constant":r,"support.type":l,"support.constant.color":i,"support.constant.fonts":n},"text",!0);this.$rules={start:[{include:["strings","url","comments"]},{token:"paren.lparen",regex:"\\{",next:"ruleset"},{token:"paren.rparen",regex:"\\}"},{token:"string",regex:"@(?!viewport)",next:"media"},{token:"keyword",regex:"#[a-z0-9-_]+"},{token:"keyword",regex:"%"},{token:"variable",regex:"\\.[a-z0-9-_]+"},{token:"string",regex:":[a-z0-9-_]+"},{token:"constant.numeric",regex:e},{token:"constant",regex:"[a-z0-9-_]+"},{caseInsensitive:!0}],media:[{include:["strings","url","comments"]},{token:"paren.lparen",regex:"\\{",next:"start"},{token:"paren.rparen",regex:"\\}",next:"start"},{token:"string",regex:";",next:"start"},{token:"keyword",regex:"(?:media|supports|document|charset|import|namespace|media|supports|document|page|font|keyframes|viewport|counter-style|font-feature-values|swash|ornaments|annotation|stylistic|styleset|character-variant)"}],comments:[{token:"comment",regex:"\\/\\*",push:[{token:"comment",regex:"\\*\\/",next:"pop"},{defaultToken:"comment"}]}],ruleset:[{regex:"-(webkit|ms|moz|o)-",token:"text"},{token:"punctuation.operator",regex:"[:;]"},{token:"paren.rparen",regex:"\\}",next:"start"},{include:["strings","url","comments"]},{token:["constant.numeric","keyword"],regex:"("+e+")(ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vm|vw|%)"},{token:"constant.numeric",regex:e},{token:"constant.numeric",regex:"#[a-f0-9]{6}"},{token:"constant.numeric",regex:"#[a-f0-9]{3}"},{token:["punctuation","entity.other.attribute-name.pseudo-element.css"],regex:t},{token:["punctuation","entity.other.attribute-name.pseudo-class.css"],regex:o},{include:"url"},{token:u,regex:"\\-?[a-zA-Z_][a-zA-Z0-9_\\-]*"},{caseInsensitive:!0}],url:[{token:"support.function",regex:"(?:url(:?-prefix)?|domain|regexp)\\(",push:[{token:"support.function",regex:"\\)",next:"pop"},{defaultToken:"string"}]}],strings:[{token:"string.start",regex:"'",push:[{token:"string.end",regex:"'|$",next:"pop"},{include:"escapes"},{token:"constant.language.escape",regex:/\\$/,consumeLineEnd:!0},{defaultToken:"string"}]},{token:"string.start",regex:'"',push:[{token:"string.end",regex:'"|$',next:"pop"},{include:"escapes"},{token:"constant.language.escape",regex:/\\$/,consumeLineEnd:!0},{defaultToken:"string"}]}],escapes:[{token:"constant.language.escape",regex:/\\([a-fA-F\d]{1,6}|[^a-fA-F\d])/}]},this.normalizeRules()};m.inherits(a,p),T.CssHighlightRules=a}),ace.define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(L,T,I){"use strict";var m=L("../lib/oop"),y=L("./text_highlight_rules").TextHighlightRules,p=function(){this.$rules={start:[{token:["comment.doc.tag","comment.doc.text","lparen.doc"],regex:"(@(?:param|member|typedef|property|namespace|var|const|callback))(\\s*)({)",push:[{token:"lparen.doc",regex:"{",push:[{include:"doc-syntax"},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"}]},{token:["rparen.doc","text.doc","variable.parameter.doc","lparen.doc","variable.parameter.doc","rparen.doc"],regex:/(})(\s*)(?:([\w=:\/\.]+)|(?:(\[)([\w=:\/\.]+)(\])))/,next:"pop"},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"},{include:"doc-syntax"},{defaultToken:"text.doc"}]},{token:["comment.doc.tag","text.doc","lparen.doc"],regex:"(@(?:returns?|yields|type|this|suppress|public|protected|private|package|modifies|implements|external|exception|throws|enum|define|extends))(\\s*)({)",push:[{token:"lparen.doc",regex:"{",push:[{include:"doc-syntax"},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"}]},{token:"rparen.doc",regex:"}|(?=$)",next:"pop"},{include:"doc-syntax"},{defaultToken:"text.doc"}]},{token:["comment.doc.tag","text.doc","variable.parameter.doc"],regex:'(@(?:alias|memberof|instance|module|name|lends|namespace|external|this|template|requires|param|implements|function|extends|typedef|mixes|constructor|var|memberof\\!|event|listens|exports|class|constructs|interface|emits|fires|throws|const|callback|borrows|augments))(\\s+)(\\w[\\w#.:/~"\\-]*)?'},{token:["comment.doc.tag","text.doc","variable.parameter.doc"],regex:"(@method)(\\s+)(\\w[\\w.\\(\\)]*)"},{token:"comment.doc.tag",regex:"@access\\s+(?:private|public|protected)"},{token:"comment.doc.tag",regex:"@kind\\s+(?:class|constant|event|external|file|function|member|mixin|module|namespace|typedef)"},{token:"comment.doc.tag",regex:"@\\w+(?=\\s|$)"},p.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}],"doc-syntax":[{token:"operator.doc",regex:/[|:]/},{token:"paren.doc",regex:/[\[\]]/}]},this.normalizeRules()};m.inherits(p,y),p.getTagRule=function(l){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},p.getStartRule=function(l){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:l}},p.getEndRule=function(l){return{token:"comment.doc",regex:"\\*\\/",next:l}},T.JsDocCommentHighlightRules=p}),ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/jsdoc_comment_highlight_rules","ace/mode/text_highlight_rules"],function(L,T,I){"use strict";function m(){var n=r.replace("\\d","\\d\\-"),e={onMatch:function(o,a,u){var d=o.charAt(1)=="/"?2:1;return d==1?(a!=this.nextState?u.unshift(this.next,this.nextState,0):u.unshift(this.next),u[2]++):d==2&&a==this.nextState&&(u[1]--,(!u[1]||u[1]<0)&&(u.shift(),u.shift())),[{type:"meta.tag.punctuation."+(d==1?"":"end-")+"tag-open.xml",value:o.slice(0,d)},{type:"meta.tag.tag-name.xml",value:o.substr(d)}]},regex:"",onMatch:function(o,a,u){return a==u[0]&&u.shift(),o.length==2&&(u[0]==this.nextState&&u[1]--,(!u[1]||u[1]<0)&&u.splice(0,2)),this.next=u[0]||"start",[{type:this.token,value:o}]},nextState:"jsx"},t,y("jsxAttributes"),{token:"entity.other.attribute-name.xml",regex:n},{token:"keyword.operator.attribute-equals.xml",regex:"="},{token:"text.tag-whitespace.xml",regex:"\\s+"},{token:"string.attribute-value.xml",regex:"'",stateName:"jsx_attr_q",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',stateName:"jsx_attr_qq",push:[{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},e],this.$rules.reference=[{token:"constant.language.escape.reference.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}]}function y(n){return[{token:"comment",regex:/\/\*/,next:[l.getTagRule(),{token:"comment",regex:"\\*\\/",next:n||"pop"},{defaultToken:"comment",caseInsensitive:!0}]},{token:"comment",regex:"\\/\\/",next:[l.getTagRule(),{token:"comment",regex:"$|^",next:n||"pop"},{defaultToken:"comment",caseInsensitive:!0}]}]}var p=L("../lib/oop"),l=L("./jsdoc_comment_highlight_rules").JsDocCommentHighlightRules,c=L("./text_highlight_rules").TextHighlightRules,r="[a-zA-Z\\$_\xA1-\uFFFF][a-zA-Z\\d\\$_\xA1-\uFFFF]*",i=function(n){var e=this.createKeywordMapper({"variable.language":"Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Symbol|Namespace|QName|XML|XMLList|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|JSON|Math|this|arguments|prototype|window|document",keyword:"const|yield|import|get|set|async|await|break|case|catch|continue|default|delete|do|else|finally|for|function|if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|__parent__|__count__|escape|unescape|with|__proto__|class|enum|extends|super|export|implements|private|public|interface|package|protected|static|constructor","storage.type":"const|let|var|function","constant.language":"null|Infinity|NaN|undefined","support.function":"alert","constant.language.boolean":"true|false"},"identifier"),t="case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void",o="\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|u{[0-9a-fA-F]{1,6}}|[0-2][0-7]{0,2}|3[0-7][0-7]?|[4-7][0-7]?|.)";this.$rules={no_regex:[l.getStartRule("doc-start"),y("no_regex"),{token:"string",regex:"'(?=.)",next:"qstring"},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/},{token:["storage.type","punctuation.operator","support.function","punctuation.operator","entity.name.function","text","keyword.operator"],regex:"("+r+")(\\.)(prototype)(\\.)("+r+")(\\s*)(=)",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+r+")(\\.)("+r+")(\\s*)(=)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+r+")(\\s*)(=)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+r+")(\\.)("+r+")(\\s*)(=)(\\s*)(function\\*?)(\\s+)(\\w+)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","entity.name.function","text","paren.lparen"],regex:"(function\\*?)(\\s+)("+r+")(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","punctuation.operator","text","storage.type","text","paren.lparen"],regex:"("+r+")(\\s*)(:)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["text","text","storage.type","text","paren.lparen"],regex:"(:)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:"keyword",regex:`from(?=\\s*('|"))`},{token:"keyword",regex:"(?:"+t+")\\b",next:"start"},{token:"support.constant",regex:/that\b/},{token:["storage.type","punctuation.operator","support.function.firebug"],regex:/(console)(\.)(warn|info|log|error|debug|time|trace|timeEnd|assert)\b/},{token:e,regex:r},{token:"punctuation.operator",regex:/[.](?![.])/,next:"property"},{token:"storage.type",regex:/=>/,next:"start"},{token:"keyword.operator",regex:/--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,next:"start"},{token:"punctuation.operator",regex:/[?:,;.]/,next:"start"},{token:"paren.lparen",regex:/[\[({]/,next:"start"},{token:"paren.rparen",regex:/[\])}]/},{token:"comment",regex:/^#!.*$/}],property:[{token:"text",regex:"\\s+"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+r+")(\\.)("+r+")(\\s*)(=)(\\s*)(function\\*?)(?:(\\s+)(\\w+))?(\\s*)(\\()",next:"function_arguments"},{token:"punctuation.operator",regex:/[.](?![.])/},{token:"support.function",regex:/(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|lter|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward|rEach)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/},{token:"support.function.dom",regex:/(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/},{token:"support.constant",regex:/(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/},{token:"identifier",regex:r},{regex:"",token:"empty",next:"no_regex"}],start:[l.getStartRule("doc-start"),y("start"),{token:"string.regexp",regex:"\\/",next:"regex"},{token:"text",regex:"\\s+|^$",next:"start"},{token:"empty",regex:"",next:"no_regex"}],regex:[{token:"regexp.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"string.regexp",regex:"/[sxngimy]*",next:"no_regex"},{token:"invalid",regex:/\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/},{token:"constant.language.escape",regex:/\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/},{token:"constant.language.delimiter",regex:/\|/},{token:"constant.language.escape",regex:/\[\^?/,next:"regex_character_class"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp"}],regex_character_class:[{token:"regexp.charclass.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"constant.language.escape",regex:"]",next:"regex"},{token:"constant.language.escape",regex:"-"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp.charachterclass"}],default_parameter:[{token:"string",regex:"'(?=.)",push:[{token:"string",regex:"'|$",next:"pop"},{include:"qstring"}]},{token:"string",regex:'"(?=.)',push:[{token:"string",regex:'"|$',next:"pop"},{include:"qqstring"}]},{token:"constant.language",regex:"null|Infinity|NaN|undefined"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/},{token:"punctuation.operator",regex:",",next:"function_arguments"},{token:"text",regex:"\\s+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],function_arguments:[y("function_arguments"),{token:"variable.parameter",regex:r},{token:"punctuation.operator",regex:","},{token:"text",regex:"\\s+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],qqstring:[{token:"constant.language.escape",regex:o},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:'"|$',next:"no_regex"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:o},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:"'|$",next:"no_regex"},{defaultToken:"string"}]},(!n||!n.noES6)&&(this.$rules.no_regex.unshift({regex:"[{}]",onMatch:function(a,u,d){if(this.next=a=="{"?this.nextState:"",a=="{"&&d.length)d.unshift("start",u);else if(a=="}"&&d.length&&(d.shift(),this.next=d.shift(),this.next.indexOf("string")!=-1||this.next.indexOf("jsx")!=-1))return"paren.quasi.end";return a=="{"?"paren.lparen":"paren.rparen"},nextState:"start"},{token:"string.quasi.start",regex:/`/,push:[{token:"constant.language.escape",regex:o},{token:"paren.quasi.start",regex:/\${/,push:"start"},{token:"string.quasi.end",regex:/`/,next:"pop"},{defaultToken:"string.quasi"}]},{token:["variable.parameter","text"],regex:"("+r+")(\\s*)(?=\\=>)"},{token:"paren.lparen",regex:"(\\()(?=.+\\s*=>)",next:"function_arguments"},{token:"variable.language",regex:"(?:(?:(?:Weak)?(?:Set|Map))|Promise)\\b"}),this.$rules.function_arguments.unshift({token:"keyword.operator",regex:"=",next:"default_parameter"},{token:"keyword.operator",regex:"\\.{3}"}),this.$rules.property.unshift({token:"support.function",regex:"(findIndex|repeat|startsWith|endsWith|includes|isSafeInteger|trunc|cbrt|log2|log10|sign|then|catch|finally|resolve|reject|race|any|all|allSettled|keys|entries|isInteger)\\b(?=\\()"},{token:"constant.language",regex:"(?:MAX_SAFE_INTEGER|MIN_SAFE_INTEGER|EPSILON)\\b"}),(!n||n.jsx!=0)&&m.call(this)),this.embedRules(l,"doc-",[l.getEndRule("no_regex")]),this.normalizeRules()};p.inherits(i,c),T.JavaScriptHighlightRules=i}),ace.define("ace/mode/xml_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(L,T,I){"use strict";var m=L("../lib/oop"),y=L("./text_highlight_rules").TextHighlightRules,p=function(l){var c="[_:a-zA-Z\xC0-\uFFFF][-_:.a-zA-Z0-9\xC0-\uFFFF]*";this.$rules={start:[{token:"string.cdata.xml",regex:"<\\!\\[CDATA\\[",next:"cdata"},{token:["punctuation.instruction.xml","keyword.instruction.xml"],regex:"(<\\?)("+c+")",next:"processing_instruction"},{token:"comment.start.xml",regex:"<\\!--",next:"comment"},{token:["xml-pe.doctype.xml","xml-pe.doctype.xml"],regex:"(<\\!)(DOCTYPE)(?=[\\s])",next:"doctype",caseInsensitive:!0},{include:"tag"},{token:"text.end-tag-open.xml",regex:"",next:"start"}],doctype:[{include:"whitespace"},{include:"string"},{token:"xml-pe.doctype.xml",regex:">",next:"start"},{token:"xml-pe.xml",regex:"[-_a-zA-Z0-9:]+"},{token:"punctuation.int-subset",regex:"\\[",push:"int_subset"}],int_subset:[{token:"text.xml",regex:"\\s+"},{token:"punctuation.int-subset.xml",regex:"]",next:"pop"},{token:["punctuation.markup-decl.xml","keyword.markup-decl.xml"],regex:"(<\\!)("+c+")",push:[{token:"text",regex:"\\s+"},{token:"punctuation.markup-decl.xml",regex:">",next:"pop"},{include:"string"}]}],cdata:[{token:"string.cdata.xml",regex:"\\]\\]>",next:"start"},{token:"text.xml",regex:"\\s+"},{token:"text.xml",regex:"(?:[^\\]]|\\](?!\\]>))+"}],comment:[{token:"comment.end.xml",regex:"-->",next:"start"},{defaultToken:"comment.xml"}],reference:[{token:"constant.language.escape.reference.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}],attr_reference:[{token:"constant.language.escape.reference.attribute-value.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}],tag:[{token:["meta.tag.punctuation.tag-open.xml","meta.tag.punctuation.end-tag-open.xml","meta.tag.tag-name.xml"],regex:"(?:(<)|(",next:"start"}]}],tag_whitespace:[{token:"text.tag-whitespace.xml",regex:"\\s+"}],whitespace:[{token:"text.whitespace.xml",regex:"\\s+"}],string:[{token:"string.xml",regex:"'",push:[{token:"string.xml",regex:"'",next:"pop"},{defaultToken:"string.xml"}]},{token:"string.xml",regex:'"',push:[{token:"string.xml",regex:'"',next:"pop"},{defaultToken:"string.xml"}]}],attributes:[{token:"entity.other.attribute-name.xml",regex:c},{token:"keyword.operator.attribute-equals.xml",regex:"="},{include:"tag_whitespace"},{include:"attribute_value"}],attribute_value:[{token:"string.attribute-value.xml",regex:"'",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},{include:"attr_reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',push:[{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"attr_reference"},{defaultToken:"string.attribute-value.xml"}]}]},this.constructor===p&&this.normalizeRules()};(function(){this.embedTagRules=function(l,c,r){this.$rules.tag.unshift({token:["meta.tag.punctuation.tag-open.xml","meta.tag."+r+".tag-name.xml"],regex:"(<)("+r+"(?=\\s|>|$))",next:[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:c+"start"}]}),this.$rules[r+"-end"]=[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:"start",onMatch:function(i,n,e){return e.splice(0),this.token}}],this.embedRules(l,c,[{token:["meta.tag.punctuation.end-tag-open.xml","meta.tag."+r+".tag-name.xml"],regex:"(|$))",next:r+"-end"},{token:"string.cdata.xml",regex:"<\\!\\[CDATA\\["},{token:"string.cdata.xml",regex:"\\]\\]>"}])}}).call(y.prototype),m.inherits(p,y),T.XmlHighlightRules=p}),ace.define("ace/mode/html_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/css_highlight_rules","ace/mode/javascript_highlight_rules","ace/mode/xml_highlight_rules"],function(L,T,I){"use strict";var m=L("../lib/oop"),y=L("../lib/lang"),p=L("./css_highlight_rules").CssHighlightRules,l=L("./javascript_highlight_rules").JavaScriptHighlightRules,c=L("./xml_highlight_rules").XmlHighlightRules,r=y.createMap({a:"anchor",button:"form",form:"form",img:"image",input:"form",label:"form",option:"form",script:"script",select:"form",textarea:"form",style:"style",table:"table",tbody:"table",td:"table",tfoot:"table",th:"table",tr:"table"}),i=function(){c.call(this),this.addRules({attributes:[{include:"tag_whitespace"},{token:"entity.other.attribute-name.xml",regex:"[-_a-zA-Z0-9:.]+"},{token:"keyword.operator.attribute-equals.xml",regex:"=",push:[{include:"tag_whitespace"},{token:"string.unquoted.attribute-value.html",regex:"[^<>='\"`\\s]+",next:"pop"},{token:"empty",regex:"",next:"pop"}]},{include:"attribute_value"}],tag:[{token:function(n,e){var t=r[e];return["meta.tag.punctuation."+(n=="<"?"":"end-")+"tag-open.xml","meta.tag"+(t?"."+t:"")+".tag-name.xml"]},regex:"(",next:"start"}]}),this.embedTagRules(p,"css-","style"),this.embedTagRules(new l({jsx:!1}).getRules(),"js-","script"),this.constructor===i&&this.normalizeRules()};m.inherits(i,c),T.HtmlHighlightRules=i}),ace.define("ace/mode/markdown_highlight_rules",["require","exports","module","ace/config","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules","ace/mode/html_highlight_rules"],function(L,T,I){"use strict";var m=L("../config").$modes,y=L("../lib/oop"),p=L("../lib/lang"),l=L("./text_highlight_rules").TextHighlightRules,c=L("./html_highlight_rules").HtmlHighlightRules,r=function(n){return"(?:[^"+p.escapeRegExp(n)+"\\\\]|\\\\.)*"},i=function(){c.call(this);var n={token:"support.function",regex:/^\s*(```+[^`]*|~~~+[^~]*)$/,onMatch:function(t,o,a,u){var d=t.match(/^(\s*)([`~]+)(.*)/),b=/[\w-]+|$/.exec(d[3])[0];return m[b]||(b=""),a.unshift("githubblock",[],[d[1],d[2],b],o),this.token},next:"githubblock"},e=[{token:"support.function",regex:".*",onMatch:function(t,o,a,u){var d=a[1],b=a[2][0],v=a[2][1],C=a[2][2],k=/^(\s*)(`+|~+)\s*$/.exec(t);if(k&&k[1].length=v.length&&k[2][0]==v[0])return a.splice(0,3),this.next=a.shift(),this.token;if(this.next="",C&&m[C]){var f=m[C].getTokenizer().getLineTokens(t,d.slice(0));return a[1]=f.state,f.tokens}return this.token}}];this.$rules.start.unshift({token:"empty_line",regex:"^$",next:"allowBlock"},{token:"markup.heading.1",regex:"^=+(?=\\s*$)"},{token:"markup.heading.2",regex:"^\\-+(?=\\s*$)"},{token:function(t){return"markup.heading."+t.length},regex:/^#{1,6}(?=\s|$)/,next:"header"},n,{token:"string.blockquote",regex:"^\\s*>\\s*(?:[*+-]|\\d+\\.)?\\s+",next:"blockquote"},{token:"constant",regex:"^ {0,3}(?:(?:\\* ?){3,}|(?:\\- ?){3,}|(?:\\_ ?){3,})\\s*$",next:"allowBlock"},{token:"markup.list",regex:"^\\s{0,3}(?:[*+-]|\\d+\\.)\\s+",next:"listblock-start"},{include:"basic"}),this.addRules({basic:[{token:"constant.language.escape",regex:/\\[\\`*_{}\[\]()#+\-.!]/},{token:"support.function",regex:"(`+)(.*?[^`])(\\1)"},{token:["text","constant","text","url","string","text"],regex:'^([ ]{0,3}\\[)([^\\]]+)(\\]:\\s*)([^ ]+)(\\s*(?:["][^"]+["])?(\\s*))$'},{token:["text","string","text","constant","text"],regex:"(\\[)("+r("]")+")(\\]\\s*\\[)("+r("]")+")(\\])"},{token:["text","string","text","markup.underline","string","text"],regex:"(\\!?\\[)("+r("]")+')(\\]\\()((?:[^\\)\\s\\\\]|\\\\.|\\s(?=[^"]))*)(\\s*"'+r('"')+'"\\s*)?(\\))'},{token:"string.strong",regex:"([*]{2}|[_]{2}(?=\\S))(.*?\\S[*_]*)(\\1)"},{token:"string.emphasis",regex:"([*]|[_](?=\\S))(.*?\\S[*_]*)(\\1)"},{token:["text","url","text"],regex:`(<)((?:https?|ftp|dict):[^'">\\s]+|(?:mailto:)?[-.\\w]+\\@[-a-z0-9]+(?:\\.[-a-z0-9]+)*\\.[a-z]+)(>)`}],allowBlock:[{token:"support.function",regex:"^ {4}.+",next:"allowBlock"},{token:"empty_line",regex:"^$",next:"allowBlock"},{token:"empty",regex:"",next:"start"}],header:[{regex:"$",next:"start"},{include:"basic"},{defaultToken:"heading"}],"listblock-start":[{token:"support.variable",regex:/(?:\[[ x]\])?/,next:"listblock"}],listblock:[{token:"empty_line",regex:"^$",next:"start"},{token:"markup.list",regex:"^\\s{0,3}(?:[*+-]|\\d+\\.)\\s+",next:"listblock-start"},{include:"basic",noEscape:!0},n,{defaultToken:"list"}],blockquote:[{token:"empty_line",regex:"^\\s*$",next:"start"},{token:"string.blockquote",regex:"^\\s*>\\s*(?:[*+-]|\\d+\\.)?\\s+",next:"blockquote"},{include:"basic",noEscape:!0},{defaultToken:"string.blockquote"}],githubblock:e}),this.normalizeRules()};y.inherits(i,l),T.MarkdownHighlightRules=i}),ace.define("ace/mode/folding/markdown",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(L,T,I){"use strict";var m=L("../../lib/oop"),y=L("./fold_mode").FoldMode,p=L("../../range").Range,l=T.FoldMode=function(){};m.inherits(l,y),function(){this.foldingStartMarker=/^(?:[=-]+\s*$|#{1,6} |`{3})/,this.getFoldWidget=function(c,r,i){var n=c.getLine(i);return this.foldingStartMarker.test(n)?n[0]=="`"&&c.bgTokenizer.getState(i)=="start"?"end":"start":""},this.getFoldWidgetRange=function(c,r,i){function n(x){return b=c.getTokens(x)[0],b&&b.type.lastIndexOf(v,0)===0}function e(){var x=b.value[0];return x=="="?6:x=="-"?5:7-b.value.search(/[^#]|$/)}var t=c.getLine(i),o=t.length,a=c.getLength(),u=i,d=i;if(t.match(this.foldingStartMarker)){if(t[0]=="`"){if(c.bgTokenizer.getState(i)!=="start"){for(;++i0&&(t=c.getLine(i),!(t[0]=="`"&t.substring(0,3)=="```")););return new p(i,t.length,u,0)}var b,v="markup.heading";if(n(i)){for(var C=e();++i=C)break}if(d=i-(!b||["=","-"].indexOf(b.value[0])==-1?1:2),d>u)for(;d>u&&/^\s*$/.test(c.getLine(d));)d--;if(d>u){var f=c.getLine(d).length;return new p(u,o,d,f)}}}}}.call(l.prototype)}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(L,T,I){"use strict";var m=L("../range").Range,y=function(){};(function(){this.checkOutdent=function(p,l){return/^\s+$/.test(p)?/^\s*\}/.test(l):!1},this.autoOutdent=function(p,l){var c=p.getLine(l),r=c.match(/^(\s*\})/);if(!r)return 0;var i=r[1].length,n=p.findMatchingBracket({row:l,column:i});if(!n||n.row==l)return 0;var e=this.$getIndent(p.getLine(n.row));p.replace(new m(l,0,l,i-1),e)},this.$getIndent=function(p){return p.match(/^\s*/)[0]}}).call(y.prototype),T.MatchingBraceOutdent=y}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(L,T,I){"use strict";var m=L("../../lib/oop"),y=L("../../range").Range,p=L("./fold_mode").FoldMode,l=T.FoldMode=function(c){c&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+c.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+c.end)))};m.inherits(l,p),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(c,r,i){var n=c.getLine(i);if(this.singleLineBlockCommentRe.test(n)&&!this.startRegionRe.test(n)&&!this.tripleStarBlockCommentRe.test(n))return"";var e=this._getFoldWidgetBase(c,r,i);return!e&&this.startRegionRe.test(n)?"start":e},this.getFoldWidgetRange=function(c,r,i,n){var e=c.getLine(i);if(this.startRegionRe.test(e))return this.getCommentRegionBlock(c,e,i);var a=e.match(this.foldingStartMarker);if(a){var t=a.index;if(a[1])return this.openingBracketBlock(c,a[1],i,t);var o=c.getCommentFoldRange(i,t+a[0].length,1);return o&&!o.isMultiLine()&&(n?o=this.getSectionRange(c,i):r!="all"&&(o=null)),o}if(r!=="markbegin"){var a=e.match(this.foldingStopMarker);if(a){var t=a.index+a[0].length;return a[1]?this.closingBracketBlock(c,a[1],i,t):c.getCommentFoldRange(i,t,-1)}}},this.getSectionRange=function(c,r){var i=c.getLine(r),n=i.search(/\S/),e=r,t=i.length;r+=1;for(var o=r,a=c.getLength();++ru)break;var d=this.getFoldWidgetRange(c,"all",r);if(d){if(d.start.row<=e)break;if(d.isMultiLine())r=d.end.row;else if(n==u)break}o=r}}return new y(e,t,o,c.getLine(o).length)},this.getCommentRegionBlock=function(c,r,i){for(var n=r.search(/\s*$/),e=c.getLength(),t=i,o=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,a=1;++it)return new y(t,n,d,r.length)}}.call(l.prototype)}),ace.define("ace/mode/javascript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/javascript_highlight_rules","ace/mode/matching_brace_outdent","ace/worker/worker_client","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"],function(L,T,I){"use strict";var m=L("../lib/oop"),y=L("./text").Mode,p=L("./javascript_highlight_rules").JavaScriptHighlightRules,l=L("./matching_brace_outdent").MatchingBraceOutdent,c=L("../worker/worker_client").WorkerClient,r=L("./behaviour/cstyle").CstyleBehaviour,i=L("./folding/cstyle").FoldMode,n=function(){this.HighlightRules=p,this.$outdent=new l,this.$behaviour=new r,this.foldingRules=new i};m.inherits(n,y),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.$quotes={'"':'"',"'":"'","`":"`"},this.$pairQuotesAfter={"`":/\w/},this.getNextLineIndent=function(e,t,o){var a=this.$getIndent(t),u=this.getTokenizer().getLineTokens(t,e),d=u.tokens,b=u.state;if(d.length&&d[d.length-1].type=="comment")return a;if(e=="start"||e=="no_regex"){var v=t.match(/^.*(?:\bcase\b.*:|[\{\(\[])\s*$/);v&&(a+=o)}else if(e=="doc-start"){if(b=="start"||b=="no_regex")return"";var v=t.match(/^\s*(\/?)\*/);v&&(v[1]&&(a+=" "),a+="* ")}return a},this.checkOutdent=function(e,t,o){return this.$outdent.checkOutdent(t,o)},this.autoOutdent=function(e,t,o){this.$outdent.autoOutdent(t,o)},this.createWorker=function(e){var t=new c(["ace"],"ace/mode/javascript_worker","JavaScriptWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",function(o){e.setAnnotations(o.data)}),t.on("terminate",function(){e.clearAnnotations()}),t},this.$id="ace/mode/javascript",this.snippetFileId="ace/snippets/javascript"}.call(n.prototype),T.Mode=n}),ace.define("ace/mode/css_completions",["require","exports","module"],function(L,T,I){"use strict";var m={background:{"#$0":1},"background-color":{"#$0":1,transparent:1,fixed:1},"background-image":{"url('/$0')":1},"background-repeat":{repeat:1,"repeat-x":1,"repeat-y":1,"no-repeat":1,inherit:1},"background-position":{bottom:2,center:2,left:2,right:2,top:2,inherit:2},"background-attachment":{scroll:1,fixed:1},"background-size":{cover:1,contain:1},"background-clip":{"border-box":1,"padding-box":1,"content-box":1},"background-origin":{"border-box":1,"padding-box":1,"content-box":1},border:{"solid $0":1,"dashed $0":1,"dotted $0":1,"#$0":1},"border-color":{"#$0":1},"border-style":{solid:2,dashed:2,dotted:2,double:2,groove:2,hidden:2,inherit:2,inset:2,none:2,outset:2,ridged:2},"border-collapse":{collapse:1,separate:1},bottom:{px:1,em:1,"%":1},clear:{left:1,right:1,both:1,none:1},color:{"#$0":1,"rgb(#$00,0,0)":1},cursor:{default:1,pointer:1,move:1,text:1,wait:1,help:1,progress:1,"n-resize":1,"ne-resize":1,"e-resize":1,"se-resize":1,"s-resize":1,"sw-resize":1,"w-resize":1,"nw-resize":1},display:{none:1,block:1,inline:1,"inline-block":1,"table-cell":1},"empty-cells":{show:1,hide:1},float:{left:1,right:1,none:1},"font-family":{Arial:2,"Comic Sans MS":2,Consolas:2,"Courier New":2,Courier:2,Georgia:2,Monospace:2,"Sans-Serif":2,"Segoe UI":2,Tahoma:2,"Times New Roman":2,"Trebuchet MS":2,Verdana:1},"font-size":{px:1,em:1,"%":1},"font-weight":{bold:1,normal:1},"font-style":{italic:1,normal:1},"font-variant":{normal:1,"small-caps":1},height:{px:1,em:1,"%":1},left:{px:1,em:1,"%":1},"letter-spacing":{normal:1},"line-height":{normal:1},"list-style-type":{none:1,disc:1,circle:1,square:1,decimal:1,"decimal-leading-zero":1,"lower-roman":1,"upper-roman":1,"lower-greek":1,"lower-latin":1,"upper-latin":1,georgian:1,"lower-alpha":1,"upper-alpha":1},margin:{px:1,em:1,"%":1},"margin-right":{px:1,em:1,"%":1},"margin-left":{px:1,em:1,"%":1},"margin-top":{px:1,em:1,"%":1},"margin-bottom":{px:1,em:1,"%":1},"max-height":{px:1,em:1,"%":1},"max-width":{px:1,em:1,"%":1},"min-height":{px:1,em:1,"%":1},"min-width":{px:1,em:1,"%":1},overflow:{hidden:1,visible:1,auto:1,scroll:1},"overflow-x":{hidden:1,visible:1,auto:1,scroll:1},"overflow-y":{hidden:1,visible:1,auto:1,scroll:1},padding:{px:1,em:1,"%":1},"padding-top":{px:1,em:1,"%":1},"padding-right":{px:1,em:1,"%":1},"padding-bottom":{px:1,em:1,"%":1},"padding-left":{px:1,em:1,"%":1},"page-break-after":{auto:1,always:1,avoid:1,left:1,right:1},"page-break-before":{auto:1,always:1,avoid:1,left:1,right:1},position:{absolute:1,relative:1,fixed:1,static:1},right:{px:1,em:1,"%":1},"table-layout":{fixed:1,auto:1},"text-decoration":{none:1,underline:1,"line-through":1,blink:1},"text-align":{left:1,right:1,center:1,justify:1},"text-transform":{capitalize:1,uppercase:1,lowercase:1,none:1},top:{px:1,em:1,"%":1},"vertical-align":{top:1,bottom:1},visibility:{hidden:1,visible:1},"white-space":{nowrap:1,normal:1,pre:1,"pre-line":1,"pre-wrap":1},width:{px:1,em:1,"%":1},"word-spacing":{normal:1},filter:{"alpha(opacity=$0100)":1},"text-shadow":{"$02px 2px 2px #777":1},"text-overflow":{"ellipsis-word":1,clip:1,ellipsis:1},"-moz-border-radius":1,"-moz-border-radius-topright":1,"-moz-border-radius-bottomright":1,"-moz-border-radius-topleft":1,"-moz-border-radius-bottomleft":1,"-webkit-border-radius":1,"-webkit-border-top-right-radius":1,"-webkit-border-top-left-radius":1,"-webkit-border-bottom-right-radius":1,"-webkit-border-bottom-left-radius":1,"-moz-box-shadow":1,"-webkit-box-shadow":1,transform:{"rotate($00deg)":1,"skew($00deg)":1},"-moz-transform":{"rotate($00deg)":1,"skew($00deg)":1},"-webkit-transform":{"rotate($00deg)":1,"skew($00deg)":1}},y=function(){};(function(){this.completionsDefined=!1,this.defineCompletions=function(){if(document){var p=document.createElement("c").style;for(var l in p)if(typeof p[l]=="string"){var c=l.replace(/[A-Z]/g,function(r){return"-"+r.toLowerCase()});m.hasOwnProperty(c)||(m[c]=1)}}this.completionsDefined=!0},this.getCompletions=function(p,l,c,r){if(this.completionsDefined||this.defineCompletions(),p==="ruleset"||l.$mode.$id=="ace/mode/scss"){var i=l.getLine(c.row).substr(0,c.column),n=/\([^)]*$/.test(i);return n&&(i=i.substr(i.lastIndexOf("(")+1)),/:[^;]+$/.test(i)?(/([\w\-]+):[^:]*$/.test(i),this.getPropertyValueCompletions(p,l,c,r)):this.getPropertyCompletions(p,l,c,r,n)}return[]},this.getPropertyCompletions=function(p,l,c,r,i){i=i||!1;var n=Object.keys(m);return n.map(function(e){return{caption:e,snippet:e+": $0"+(i?"":";"),meta:"property",score:1e6}})},this.getPropertyValueCompletions=function(p,l,c,r){var i=l.getLine(c.row).substr(0,c.column),n=(/([\w\-]+):[^:]*$/.exec(i)||{})[1];if(!n)return[];var e=[];return n in m&&typeof m[n]=="object"&&(e=Object.keys(m[n])),e.map(function(t){return{caption:t,snippet:t,meta:"property value",score:1e6}})}}).call(y.prototype),T.CssCompletions=y}),ace.define("ace/mode/behaviour/css",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/mode/behaviour/cstyle","ace/token_iterator"],function(L,T,I){"use strict";var m=L("../../lib/oop"),y=L("../behaviour").Behaviour,p=L("./cstyle").CstyleBehaviour,l=L("../../token_iterator").TokenIterator,c=function(){this.inherit(p),this.add("colon","insertion",function(r,i,n,e,t){if(t===":"&&n.selection.isEmpty()){var o=n.getCursorPosition(),a=new l(e,o.row,o.column),u=a.getCurrentToken();if(u&&u.value.match(/\s+/)&&(u=a.stepBackward()),u&&u.type==="support.type"){var d=e.doc.getLine(o.row),b=d.substring(o.column,o.column+1);if(b===":")return{text:"",selection:[1,1]};if(/^(\s+[^;]|\s*$)/.test(d.substring(o.column)))return{text:":;",selection:[1,1]}}}}),this.add("colon","deletion",function(r,i,n,e,t){var o=e.doc.getTextRange(t);if(!t.isMultiLine()&&o===":"){var a=n.getCursorPosition(),u=new l(e,a.row,a.column),d=u.getCurrentToken();if(d&&d.value.match(/\s+/)&&(d=u.stepBackward()),d&&d.type==="support.type"){var b=e.doc.getLine(t.start.row),v=b.substring(t.end.column,t.end.column+1);if(v===";")return t.end.column++,t}}}),this.add("semicolon","insertion",function(r,i,n,e,t){if(t===";"&&n.selection.isEmpty()){var o=n.getCursorPosition(),a=e.doc.getLine(o.row),u=a.substring(o.column,o.column+1);if(u===";")return{text:"",selection:[1,1]}}}),this.add("!important","insertion",function(r,i,n,e,t){if(t==="!"&&n.selection.isEmpty()){var o=n.getCursorPosition(),a=e.doc.getLine(o.row);if(/^\s*(;|}|$)/.test(a.substring(o.column)))return{text:"!important",selection:[10,10]}}})};m.inherits(c,p),T.CssBehaviour=c}),ace.define("ace/mode/css",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/css_highlight_rules","ace/mode/matching_brace_outdent","ace/worker/worker_client","ace/mode/css_completions","ace/mode/behaviour/css","ace/mode/folding/cstyle"],function(L,T,I){"use strict";var m=L("../lib/oop"),y=L("./text").Mode,p=L("./css_highlight_rules").CssHighlightRules,l=L("./matching_brace_outdent").MatchingBraceOutdent,c=L("../worker/worker_client").WorkerClient,r=L("./css_completions").CssCompletions,i=L("./behaviour/css").CssBehaviour,n=L("./folding/cstyle").FoldMode,e=function(){this.HighlightRules=p,this.$outdent=new l,this.$behaviour=new i,this.$completer=new r,this.foldingRules=new n};m.inherits(e,y),function(){this.foldingRules="cStyle",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(t,o,a){var u=this.$getIndent(o),d=this.getTokenizer().getLineTokens(o,t).tokens;if(d.length&&d[d.length-1].type=="comment")return u;var b=o.match(/^.*\{\s*$/);return b&&(u+=a),u},this.checkOutdent=function(t,o,a){return this.$outdent.checkOutdent(o,a)},this.autoOutdent=function(t,o,a){this.$outdent.autoOutdent(o,a)},this.getCompletions=function(t,o,a,u){return this.$completer.getCompletions(t,o,a,u)},this.createWorker=function(t){var o=new c(["ace"],"ace/mode/css_worker","Worker");return o.attachToDocument(t.getDocument()),o.on("annotate",function(a){t.setAnnotations(a.data)}),o.on("terminate",function(){t.clearAnnotations()}),o},this.$id="ace/mode/css",this.snippetFileId="ace/snippets/css"}.call(e.prototype),T.Mode=e}),ace.define("ace/mode/behaviour/xml",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(L,T,I){"use strict";function m(i,n){return i&&i.type.lastIndexOf(n+".xml")>-1}var y=L("../../lib/oop"),p=L("../behaviour").Behaviour,l=L("../../token_iterator").TokenIterator,c=L("../../lib/lang"),r=function(){this.add("string_dquotes","insertion",function(i,n,e,t,o){if(o=='"'||o=="'"){var a=o,u=t.doc.getTextRange(e.getSelectionRange());if(u!==""&&u!=="'"&&u!='"'&&e.getWrapBehavioursEnabled())return{text:a+u+a,selection:!1};var d=e.getCursorPosition(),b=t.doc.getLine(d.row),v=b.substring(d.column,d.column+1),C=new l(t,d.row,d.column),k=C.getCurrentToken();if(v==a&&(m(k,"attribute-value")||m(k,"string")))return{text:"",selection:[1,1]};if(k||(k=C.stepBackward()),!k)return;for(;m(k,"tag-whitespace")||m(k,"whitespace");)k=C.stepBackward();var f=!v||v.match(/\s/);if(m(k,"attribute-equals")&&(f||v==">")||m(k,"decl-attribute-equals")&&(f||v=="?"))return{text:a+a,selection:[1,1]}}}),this.add("string_dquotes","deletion",function(i,n,e,t,o){var a=t.doc.getTextRange(o);if(!o.isMultiLine()&&(a=='"'||a=="'")){var u=t.doc.getLine(o.start.row),d=u.substring(o.start.column+1,o.start.column+2);if(d==a)return o.end.column++,o}}),this.add("autoclosing","insertion",function(i,n,e,t,o){if(o==">"){var a=e.getSelectionRange().start,u=new l(t,a.row,a.column),d=u.getCurrentToken()||u.stepBackward();if(!d||!(m(d,"tag-name")||m(d,"tag-whitespace")||m(d,"attribute-name")||m(d,"attribute-equals")||m(d,"attribute-value"))||m(d,"reference.attribute-value"))return;if(m(d,"attribute-value")){var b=u.getCurrentTokenColumn()+d.value.length;if(a.column/.test(t.getLine(a.row).slice(a.column)))return;for(;!m(d,"tag-name");)if(d=u.stepBackward(),d.value=="<"){d=u.stepForward();break}var C=u.getCurrentTokenRow(),k=u.getCurrentTokenColumn();if(m(u.stepBackward(),"end-tag-open"))return;var f=d.value;return C==a.row&&(f=f.substring(0,a.column-k)),this.voidElements.hasOwnProperty(f.toLowerCase())?void 0:{text:">",selection:[1,1]}}}),this.add("autoindent","insertion",function(i,n,e,t,o){if(o==`
`){var a=e.getCursorPosition(),u=t.getLine(a.row),d=new l(t,a.row,a.column),b=d.getCurrentToken();if(b&&b.type.indexOf("tag-close")!==-1){if(b.value=="/>")return;for(;b&&b.type.indexOf("tag-name")===-1;)b=d.stepBackward();if(!b)return;var v=b.value,C=d.getCurrentTokenRow();if(b=d.stepBackward(),!b||b.type.indexOf("end-tag")!==-1)return;if(this.voidElements&&!this.voidElements[v]){var k=t.getTokenAt(a.row,a.column+1),u=t.getLine(C),f=this.$getIndent(u),x=f+t.getTabString();return k&&k.value==="-1}var y=L("../../lib/oop"),p=L("../../range").Range,l=L("./fold_mode").FoldMode,c=T.FoldMode=function(i,n){l.call(this),this.voidElements=i||{},this.optionalEndTags=y.mixin({},this.voidElements),n&&y.mixin(this.optionalEndTags,n)};y.inherits(c,l);var r=function(){this.tagName="",this.closing=!1,this.selfClosing=!1,this.start={row:0,column:0},this.end={row:0,column:0}};(function(){this.getFoldWidget=function(i,n,e){var t=this._getFirstTagInLine(i,e);return t?t.closing||!t.tagName&&t.selfClosing?n==="markbeginend"?"end":"":!t.tagName||t.selfClosing||this.voidElements.hasOwnProperty(t.tagName.toLowerCase())||this._findEndTagInLine(i,e,t.tagName,t.end.column)?"":"start":this.getCommentFoldWidget(i,e)},this.getCommentFoldWidget=function(i,n){return/comment/.test(i.getState(n))&&/";break}return t}if(m(a,"tag-close"))return t.selfClosing=a.value=="/>",t;t.start.column+=a.value.length}return null},this._findEndTagInLine=function(i,n,e,t){for(var o=i.getTokens(n),a=0,u=0;u-1}function y(o,a){for(var u=new l(o,a.row,a.column),d=u.getCurrentToken();d&&!m(d,"tag-name");)d=u.stepBackward();if(d)return d.value}function p(o,a){for(var u=new l(o,a.row,a.column),d=u.getCurrentToken();d&&!m(d,"attribute-name");)d=u.stepBackward();if(d)return d.value}var l=L("../token_iterator").TokenIterator,c=["accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","inert","itemid","itemprop","itemref","itemscope","itemtype","lang","spellcheck","style","tabindex","title","translate"],r=["onabort","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncuechange","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onmousewheel","onpause","onplay","onplaying","onprogress","onratechange","onreset","onscroll","onseeked","onseeking","onselect","onshow","onstalled","onsubmit","onsuspend","ontimeupdate","onvolumechange","onwaiting"],i=c.concat(r),n={a:{href:1,target:{_blank:1,top:1},ping:1,rel:{nofollow:1,alternate:1,author:1,bookmark:1,help:1,license:1,next:1,noreferrer:1,prefetch:1,prev:1,search:1,tag:1},media:1,hreflang:1,type:1},abbr:{},address:{},area:{shape:1,coords:1,href:1,hreflang:1,alt:1,target:1,media:1,rel:1,ping:1,type:1},article:{pubdate:1},aside:{},audio:{src:1,autobuffer:1,autoplay:{autoplay:1},loop:{loop:1},controls:{controls:1},muted:{muted:1},preload:{auto:1,metadata:1,none:1}},b:{},base:{href:1,target:1},bdi:{},bdo:{},blockquote:{cite:1},body:{onafterprint:1,onbeforeprint:1,onbeforeunload:1,onhashchange:1,onmessage:1,onoffline:1,onpopstate:1,onredo:1,onresize:1,onstorage:1,onundo:1,onunload:1},br:{},button:{autofocus:1,disabled:{disabled:1},form:1,formaction:1,formenctype:1,formmethod:1,formnovalidate:1,formtarget:1,name:1,value:1,type:{button:1,submit:1}},canvas:{width:1,height:1},caption:{},cite:{},code:{},col:{span:1},colgroup:{span:1},command:{type:1,label:1,icon:1,disabled:1,checked:1,radiogroup:1,command:1},data:{},datalist:{},dd:{},del:{cite:1,datetime:1},details:{open:1},dfn:{},dialog:{open:1},div:{},dl:{},dt:{},em:{},embed:{src:1,height:1,width:1,type:1},fieldset:{disabled:1,form:1,name:1},figcaption:{},figure:{},footer:{},form:{"accept-charset":1,action:1,autocomplete:1,enctype:{"multipart/form-data":1,"application/x-www-form-urlencoded":1},method:{get:1,post:1},name:1,novalidate:1,target:{_blank:1,top:1}},h1:{},h2:{},h3:{},h4:{},h5:{},h6:{},head:{},header:{},hr:{},html:{manifest:1},i:{},iframe:{name:1,src:1,height:1,width:1,sandbox:{"allow-same-origin":1,"allow-top-navigation":1,"allow-forms":1,"allow-scripts":1},seamless:{seamless:1}},img:{alt:1,src:1,height:1,width:1,usemap:1,ismap:1},input:{type:{text:1,password:1,hidden:1,checkbox:1,submit:1,radio:1,file:1,button:1,reset:1,image:31,color:1,date:1,datetime:1,"datetime-local":1,email:1,month:1,number:1,range:1,search:1,tel:1,time:1,url:1,week:1},accept:1,alt:1,autocomplete:{on:1,off:1},autofocus:{autofocus:1},checked:{checked:1},disabled:{disabled:1},form:1,formaction:1,formenctype:{"application/x-www-form-urlencoded":1,"multipart/form-data":1,"text/plain":1},formmethod:{get:1,post:1},formnovalidate:{formnovalidate:1},formtarget:{_blank:1,_self:1,_parent:1,_top:1},height:1,list:1,max:1,maxlength:1,min:1,multiple:{multiple:1},name:1,pattern:1,placeholder:1,readonly:{readonly:1},required:{required:1},size:1,src:1,step:1,width:1,files:1,value:1},ins:{cite:1,datetime:1},kbd:{},keygen:{autofocus:1,challenge:{challenge:1},disabled:{disabled:1},form:1,keytype:{rsa:1,dsa:1,ec:1},name:1},label:{form:1,for:1},legend:{},li:{value:1},link:{href:1,hreflang:1,rel:{stylesheet:1,icon:1},media:{all:1,screen:1,print:1},type:{"text/css":1,"image/png":1,"image/jpeg":1,"image/gif":1},sizes:1},main:{},map:{name:1},mark:{},math:{},menu:{type:1,label:1},meta:{"http-equiv":{"content-type":1},name:{description:1,keywords:1},content:{"text/html; charset=UTF-8":1},charset:1},meter:{value:1,min:1,max:1,low:1,high:1,optimum:1},nav:{},noscript:{href:1},object:{param:1,data:1,type:1,height:1,width:1,usemap:1,name:1,form:1,classid:1},ol:{start:1,reversed:1},optgroup:{disabled:1,label:1},option:{disabled:1,selected:1,label:1,value:1},output:{for:1,form:1,name:1},p:{},param:{name:1,value:1},pre:{},progress:{value:1,max:1},q:{cite:1},rp:{},rt:{},ruby:{},s:{},samp:{},script:{charset:1,type:{"text/javascript":1},src:1,defer:1,async:1},select:{autofocus:1,disabled:1,form:1,multiple:{multiple:1},name:1,size:1,readonly:{readonly:1}},small:{},source:{src:1,type:1,media:1},span:{},strong:{},style:{type:1,media:{all:1,screen:1,print:1},scoped:1},sub:{},sup:{},svg:{},table:{summary:1},tbody:{},td:{headers:1,rowspan:1,colspan:1},textarea:{autofocus:{autofocus:1},disabled:{disabled:1},form:1,maxlength:1,name:1,placeholder:1,readonly:{readonly:1},required:{required:1},rows:1,cols:1,wrap:{on:1,off:1,hard:1,soft:1}},tfoot:{},th:{headers:1,rowspan:1,colspan:1,scope:1},thead:{},time:{datetime:1},title:{},tr:{},track:{kind:1,src:1,srclang:1,label:1,default:1},section:{},summary:{},u:{},ul:{},var:{},video:{src:1,autobuffer:1,autoplay:{autoplay:1},loop:{loop:1},controls:{controls:1},width:1,height:1,poster:1,muted:{muted:1},preload:{auto:1,metadata:1,none:1}},wbr:{}},e=Object.keys(n),t=function(){};(function(){this.getCompletions=function(o,a,u,d){var b=a.getTokenAt(u.row,u.column);if(!b)return[];if(m(b,"tag-name")||m(b,"tag-open")||m(b,"end-tag-open"))return this.getTagCompletions(o,a,u,d);if(m(b,"tag-whitespace")||m(b,"attribute-name"))return this.getAttributeCompletions(o,a,u,d);if(m(b,"attribute-value"))return this.getAttributeValueCompletions(o,a,u,d);var v=a.getLine(u.row).substr(0,u.column);return/&[a-z]*$/i.test(v)?this.getHTMLEntityCompletions(o,a,u,d):[]},this.getTagCompletions=function(o,a,u,d){return e.map(function(b){return{value:b,meta:"tag",score:1e6}})},this.getAttributeCompletions=function(o,a,u,d){var b=y(a,u);if(!b)return[];var v=i;return b in n&&(v=v.concat(Object.keys(n[b]))),v.map(function(C){return{caption:C,snippet:C+'="$0"',meta:"attribute",score:1e6}})},this.getAttributeValueCompletions=function(o,a,u,d){var b=y(a,u),v=p(a,u);if(!b)return[];var C=[];return b in n&&v in n[b]&&typeof n[b][v]=="object"&&(C=Object.keys(n[b][v])),C.map(function(k){return{caption:k,snippet:k,meta:"attribute value",score:1e6}})},this.getHTMLEntityCompletions=function(o,a,u,d){var b=["Aacute;","aacute;","Acirc;","acirc;","acute;","AElig;","aelig;","Agrave;","agrave;","alefsym;","Alpha;","alpha;","amp;","and;","ang;","Aring;","aring;","asymp;","Atilde;","atilde;","Auml;","auml;","bdquo;","Beta;","beta;","brvbar;","bull;","cap;","Ccedil;","ccedil;","cedil;","cent;","Chi;","chi;","circ;","clubs;","cong;","copy;","crarr;","cup;","curren;","Dagger;","dagger;","dArr;","darr;","deg;","Delta;","delta;","diams;","divide;","Eacute;","eacute;","Ecirc;","ecirc;","Egrave;","egrave;","empty;","emsp;","ensp;","Epsilon;","epsilon;","equiv;","Eta;","eta;","ETH;","eth;","Euml;","euml;","euro;","exist;","fnof;","forall;","frac12;","frac14;","frac34;","frasl;","Gamma;","gamma;","ge;","gt;","hArr;","harr;","hearts;","hellip;","Iacute;","iacute;","Icirc;","icirc;","iexcl;","Igrave;","igrave;","image;","infin;","int;","Iota;","iota;","iquest;","isin;","Iuml;","iuml;","Kappa;","kappa;","Lambda;","lambda;","lang;","laquo;","lArr;","larr;","lceil;","ldquo;","le;","lfloor;","lowast;","loz;","lrm;","lsaquo;","lsquo;","lt;","macr;","mdash;","micro;","middot;","minus;","Mu;","mu;","nabla;","nbsp;","ndash;","ne;","ni;","not;","notin;","nsub;","Ntilde;","ntilde;","Nu;","nu;","Oacute;","oacute;","Ocirc;","ocirc;","OElig;","oelig;","Ograve;","ograve;","oline;","Omega;","omega;","Omicron;","omicron;","oplus;","or;","ordf;","ordm;","Oslash;","oslash;","Otilde;","otilde;","otimes;","Ouml;","ouml;","para;","part;","permil;","perp;","Phi;","phi;","Pi;","pi;","piv;","plusmn;","pound;","Prime;","prime;","prod;","prop;","Psi;","psi;","quot;","radic;","rang;","raquo;","rArr;","rarr;","rceil;","rdquo;","real;","reg;","rfloor;","Rho;","rho;","rlm;","rsaquo;","rsquo;","sbquo;","Scaron;","scaron;","sdot;","sect;","shy;","Sigma;","sigma;","sigmaf;","sim;","spades;","sub;","sube;","sum;","sup;","sup1;","sup2;","sup3;","supe;","szlig;","Tau;","tau;","there4;","Theta;","theta;","thetasym;","thinsp;","THORN;","thorn;","tilde;","times;","trade;","Uacute;","uacute;","uArr;","uarr;","Ucirc;","ucirc;","Ugrave;","ugrave;","uml;","upsih;","Upsilon;","upsilon;","Uuml;","uuml;","weierp;","Xi;","xi;","Yacute;","yacute;","yen;","Yuml;","yuml;","Zeta;","zeta;","zwj;","zwnj;"];return b.map(function(v){return{caption:v,snippet:v,meta:"html entity",score:1e6}})}}).call(t.prototype),T.HtmlCompletions=t}),ace.define("ace/mode/html",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text","ace/mode/javascript","ace/mode/css","ace/mode/html_highlight_rules","ace/mode/behaviour/xml","ace/mode/folding/html","ace/mode/html_completions","ace/worker/worker_client"],function(L,T,I){"use strict";var m=L("../lib/oop"),y=L("../lib/lang"),p=L("./text").Mode,l=L("./javascript").Mode,c=L("./css").Mode,r=L("./html_highlight_rules").HtmlHighlightRules,i=L("./behaviour/xml").XmlBehaviour,n=L("./folding/html").FoldMode,e=L("./html_completions").HtmlCompletions,t=L("../worker/worker_client").WorkerClient,o=["area","base","br","col","embed","hr","img","input","keygen","link","meta","menuitem","param","source","track","wbr"],a=["li","dt","dd","p","rt","rp","optgroup","option","colgroup","td","th"],u=function(d){this.fragmentContext=d&&d.fragmentContext,this.HighlightRules=r,this.$behaviour=new i,this.$completer=new e,this.createModeDelegates({"js-":l,"css-":c}),this.foldingRules=new n(this.voidElements,y.arrayToMap(a))};m.inherits(u,p),function(){this.blockComment={start:""},this.voidElements=y.arrayToMap(o),this.getNextLineIndent=function(d,b,v){return this.$getIndent(b)},this.checkOutdent=function(d,b,v){return!1},this.getCompletions=function(d,b,v,C){return this.$completer.getCompletions(d,b,v,C)},this.createWorker=function(d){if(this.constructor==u){var b=new t(["ace"],"ace/mode/html_worker","Worker");return b.attachToDocument(d.getDocument()),this.fragmentContext&&b.call("setOptions",[{context:this.fragmentContext}]),b.on("error",function(v){d.setAnnotations(v.data)}),b.on("terminate",function(){d.clearAnnotations()}),b}},this.$id="ace/mode/html",this.snippetFileId="ace/snippets/html"}.call(u.prototype),T.Mode=u}),ace.define("ace/mode/sh_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(L,T,I){"use strict";var m=L("../lib/oop"),y=L("./text_highlight_rules").TextHighlightRules,p=T.reservedKeywords="!|{|}|case|do|done|elif|else|esac|fi|for|if|in|then|until|while|&|;|export|local|read|typeset|unset|elif|select|set|function|declare|readonly",l=T.languageConstructs="[|]|alias|bg|bind|break|builtin|cd|command|compgen|complete|continue|dirs|disown|echo|enable|eval|exec|exit|fc|fg|getopts|hash|help|history|jobs|kill|let|logout|popd|printf|pushd|pwd|return|set|shift|shopt|source|suspend|test|times|trap|type|ulimit|umask|unalias|wait",c=function(){var r=this.createKeywordMapper({keyword:p,"support.function.builtin":l,"invalid.deprecated":"debugger"},"identifier"),i="(?:(?:[1-9]\\d*)|(?:0))",n="(?:\\.\\d+)",e="(?:\\d+)",t="(?:(?:"+e+"?"+n+")|(?:"+e+"\\.))",o="(?:(?:"+t+"|"+e+"))",a="(?:"+o+"|"+t+")",u="(?:&"+e+")",d="[a-zA-Z_][a-zA-Z0-9_]*",b="(?:"+d+"(?==))",v="(?:\\$(?:SHLVL|\\$|\\!|\\?))",C="(?:"+d+"\\s*\\(\\))";this.$rules={start:[{token:"constant",regex:/\\./},{token:["text","comment"],regex:/(^|\s)(#.*)$/},{token:"string.start",regex:'"',push:[{token:"constant.language.escape",regex:/\\(?:[$`"\\]|$)/},{include:"variables"},{token:"keyword.operator",regex:/`/},{token:"string.end",regex:'"',next:"pop"},{defaultToken:"string"}]},{token:"string",regex:"\\$'",push:[{token:"constant.language.escape",regex:/\\(?:[abeEfnrtv\\'"]|x[a-fA-F\d]{1,2}|u[a-fA-F\d]{4}([a-fA-F\d]{4})?|c.|\d{1,3})/},{token:"string",regex:"'",next:"pop"},{defaultToken:"string"}]},{regex:"<<<",token:"keyword.operator"},{stateName:"heredoc",regex:"(<<-?)(\\s*)(['\"`]?)([\\w\\-]+)(['\"`]?)",onMatch:function(k,f,x){var A=k[2]=="-"?"indentedHeredoc":"heredoc",R=k.split(this.splitRegex);return x.push(A,R[4]),[{type:"constant",value:R[1]},{type:"text",value:R[2]},{type:"string",value:R[3]},{type:"support.class",value:R[4]},{type:"string",value:R[5]}]},rules:{heredoc:[{onMatch:function(k,f,x){return k===x[1]?(x.shift(),x.shift(),this.next=x[0]||"start","support.class"):(this.next="","string")},regex:".*$",next:"start"}],indentedHeredoc:[{token:"string",regex:"^	+"},{onMatch:function(k,f,x){return k===x[1]?(x.shift(),x.shift(),this.next=x[0]||"start","support.class"):(this.next="","string")},regex:".*$",next:"start"}]}},{regex:"$",token:"empty",next:function(k,f){return f[0]==="heredoc"||f[0]==="indentedHeredoc"?f[0]:k}},{token:["keyword","text","text","text","variable"],regex:/(declare|local|readonly)(\s+)(?:(-[fixar]+)(\s+))?([a-zA-Z_][a-zA-Z0-9_]*\b)/},{token:"variable.language",regex:v},{token:"variable",regex:b},{include:"variables"},{token:"support.function",regex:C},{token:"support.function",regex:u},{token:"string",start:"'",end:"'"},{token:"constant.numeric",regex:a},{token:"constant.numeric",regex:i+"\\b"},{token:r,regex:"[a-zA-Z_][a-zA-Z0-9_]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\*|\\*\\*|\\/|\\/\\/|~|<|>|<=|=>|=|!=|[%&|`]"},{token:"punctuation.operator",regex:";"},{token:"paren.lparen",regex:"[\\[\\(\\{]"},{token:"paren.rparen",regex:"[\\]]"},{token:"paren.rparen",regex:"[\\)\\}]",next:"pop"}],variables:[{token:"variable",regex:/(\$)(\w+)/},{token:["variable","paren.lparen"],regex:/(\$)(\()/,push:"start"},{token:["variable","paren.lparen","keyword.operator","variable","keyword.operator"],regex:/(\$)(\{)([#!]?)(\w+|[*@#?\-$!0_])(:[?+\-=]?|##?|%%?|,,?\/|\^\^?)?/,push:"start"},{token:"variable",regex:/\$[*@#?\-$!0_]/},{token:["variable","paren.lparen"],regex:/(\$)(\{)/,push:"start"}]},this.normalizeRules()};m.inherits(c,y),T.ShHighlightRules=c}),ace.define("ace/mode/sh",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/sh_highlight_rules","ace/range","ace/mode/folding/cstyle"],function(L,T,I){"use strict";var m=L("../lib/oop"),y=L("./text").Mode,p=L("./sh_highlight_rules").ShHighlightRules,l=L("../range").Range,c=L("./folding/cstyle").FoldMode,r=function(){this.HighlightRules=p,this.foldingRules=new c,this.$behaviour=this.$defaultBehaviour};m.inherits(r,y),function(){this.lineCommentStart="#",this.getNextLineIndent=function(n,e,t){var o=this.$getIndent(e),a=this.getTokenizer().getLineTokens(e,n),u=a.tokens;if(u.length&&u[u.length-1].type=="comment")return o;if(n=="start"){var d=e.match(/^.*[\{\(\[:]\s*$/);d&&(o+=t)}return o};var i={pass:1,return:1,raise:1,break:1,continue:1};this.checkOutdent=function(n,e,t){if(t!==`\r
`&&t!=="\r"&&t!==`
`)return!1;var o=this.getTokenizer().getLineTokens(e.trim(),n).tokens;if(!o)return!1;do var a=o.pop();while(a&&(a.type=="comment"||a.type=="text"&&a.value.match(/^\s+$/)));return a?a.type=="keyword"&&i[a.value]:!1},this.autoOutdent=function(n,e,t){t+=1;var o=this.$getIndent(e.getLine(t)),a=e.getTabString();o.slice(-a.length)==a&&e.remove(new l(t,o.length-a.length,t,o.length))},this.$id="ace/mode/sh",this.snippetFileId="ace/snippets/sh"}.call(r.prototype),T.Mode=r}),ace.define("ace/mode/xml",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text","ace/mode/xml_highlight_rules","ace/mode/behaviour/xml","ace/mode/folding/xml","ace/worker/worker_client"],function(L,T,I){"use strict";var m=L("../lib/oop"),y=L("../lib/lang"),p=L("./text").Mode,l=L("./xml_highlight_rules").XmlHighlightRules,c=L("./behaviour/xml").XmlBehaviour,r=L("./folding/xml").FoldMode,i=L("../worker/worker_client").WorkerClient,n=function(){this.HighlightRules=l,this.$behaviour=new c,this.foldingRules=new r};m.inherits(n,p),function(){this.voidElements=y.arrayToMap([]),this.blockComment={start:""},this.createWorker=function(e){var t=new i(["ace"],"ace/mode/xml_worker","Worker");return t.attachToDocument(e.getDocument()),t.on("error",function(o){e.setAnnotations(o.data)}),t.on("terminate",function(){e.clearAnnotations()}),t},this.$id="ace/mode/xml"}.call(n.prototype),T.Mode=n}),ace.define("ace/mode/markdown",["require","exports","module","ace/lib/oop","ace/mode/behaviour/cstyle","ace/mode/text","ace/mode/markdown_highlight_rules","ace/mode/folding/markdown","ace/mode/javascript","ace/mode/html","ace/mode/sh","ace/mode/sh","ace/mode/xml","ace/mode/css"],function(L,T,I){"use strict";var m=L("../lib/oop"),y=L("./behaviour/cstyle").CstyleBehaviour,p=L("./text").Mode,l=L("./markdown_highlight_rules").MarkdownHighlightRules,c=L("./folding/markdown").FoldMode,r=function(){this.HighlightRules=l,this.createModeDelegates({javascript:L("./javascript").Mode,html:L("./html").Mode,bash:L("./sh").Mode,sh:L("./sh").Mode,xml:L("./xml").Mode,css:L("./css").Mode}),this.foldingRules=new c,this.$behaviour=new y({braces:!0})};m.inherits(r,p),function(){this.type="text",this.blockComment={start:""},this.$quotes={'"':'"',"`":"`"},this.getNextLineIndent=function(i,n,e){if(i=="listblock"){var t=/^(\s*)(?:([-+*])|(\d+)\.)(\s+)/.exec(n);if(!t)return"";var o=t[2];return o||(o=parseInt(t[3],10)+1+"."),t[1]+o+t[4]}return this.$getIndent(n)},this.$id="ace/mode/markdown",this.snippetFileId="ace/snippets/markdown"}.call(r.prototype),T.Mode=r}),function(){ace.require(["ace/mode/markdown"],function(L){h&&(h.exports=L)})}()},MSzkZIna:(h,M,s)=>{h=s.nmd(h),function(){ace.require(["ace/mode/text"],function(L){h&&(h.exports=L)})}()},"46egSNnb":(h,M,s)=>{h=s.nmd(h),ace.define("ace/mode/yaml_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(L,T,I){"use strict";var m=L("../lib/oop"),y=L("./text_highlight_rules").TextHighlightRules,p=function(){this.$rules={start:[{token:"comment",regex:"#.*$"},{token:"list.markup",regex:/^(?:-{3}|\.{3})\s*(?=#|$)/},{token:"list.markup",regex:/^\s*[\-?](?:$|\s)/},{token:"constant",regex:"!![\\w//]+"},{token:"constant.language",regex:"[&\\*][a-zA-Z0-9-_]+"},{token:["meta.tag","keyword"],regex:/^(\s*\w[^\s:]*?)(:(?=\s|$))/},{token:["meta.tag","keyword"],regex:/(\w[^\s:]*?)(\s*:(?=\s|$))/},{token:"keyword.operator",regex:"<<\\w*:\\w*"},{token:"keyword.operator",regex:"-\\s*(?=[{])"},{token:"string",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"string",regex:/[|>][-+\d]*(?:$|\s+(?:$|#))/,onMatch:function(l,c,r,i){i=i.replace(/ #.*/,"");var n=/^ *((:\s*)?-(\s*[^|>])?)?/.exec(i)[0].replace(/\S\s*$/,"").length,e=parseInt(/\d+[\s+-]*$/.exec(i));return e?(n+=e-1,this.next="mlString"):this.next="mlStringPre",r.length?(r[0]=this.next,r[1]=n):(r.push(this.next),r.push(n)),this.token},next:"mlString"},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"constant.numeric",regex:/(\b|[+\-\.])[\d_]+(?:(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)(?=[^\d-\w]|$)$/},{token:"constant.numeric",regex:/[+\-]?\.inf\b|NaN\b|0x[\dA-Fa-f_]+|0b[10_]+/},{token:"constant.language.boolean",regex:"\\b(?:true|false|TRUE|FALSE|True|False|yes|no)\\b"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:/[^\s,:\[\]\{\}]+/}],mlStringPre:[{token:"indent",regex:/^ *$/},{token:"indent",regex:/^ */,onMatch:function(l,c,r){var i=r[1];return i>=l.length?(this.next="start",r.shift(),r.shift()):(r[1]=l.length-1,this.next=r[0]="mlString"),this.token},next:"mlString"},{defaultToken:"string"}],mlString:[{token:"indent",regex:/^ *$/},{token:"indent",regex:/^ */,onMatch:function(l,c,r){var i=r[1];return i>=l.length?(this.next="start",r.splice(0)):this.next="mlString",this.token},next:"mlString"},{token:"string",regex:".+"}]},this.normalizeRules()};m.inherits(p,y),T.YamlHighlightRules=p}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(L,T,I){"use strict";var m=L("../range").Range,y=function(){};(function(){this.checkOutdent=function(p,l){return/^\s+$/.test(p)?/^\s*\}/.test(l):!1},this.autoOutdent=function(p,l){var c=p.getLine(l),r=c.match(/^(\s*\})/);if(!r)return 0;var i=r[1].length,n=p.findMatchingBracket({row:l,column:i});if(!n||n.row==l)return 0;var e=this.$getIndent(p.getLine(n.row));p.replace(new m(l,0,l,i-1),e)},this.$getIndent=function(p){return p.match(/^\s*/)[0]}}).call(y.prototype),T.MatchingBraceOutdent=y}),ace.define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(L,T,I){"use strict";var m=L("../../lib/oop"),y=L("./fold_mode").FoldMode,p=L("../../range").Range,l=T.FoldMode=function(){};m.inherits(l,y),function(){this.commentBlock=function(c,r){var i=/\S/,n=c.getLine(r),e=n.search(i);if(!(e==-1||n[e]!="#")){for(var t=n.length,o=c.getLength(),a=r,u=r;++ra){var b=c.getLine(u).length;return new p(a,t,u,b)}}},this.getFoldWidgetRange=function(c,r,i){var n=this.indentationBlock(c,i);if(n||(n=this.commentBlock(c,i),n))return n},this.getFoldWidget=function(c,r,i){var n=c.getLine(i),e=n.search(/\S/),t=c.getLine(i+1),o=c.getLine(i-1),a=o.search(/\S/),u=t.search(/\S/);if(e==-1)return c.foldWidgets[i-1]=a!=-1&&ab){var x=c.getLine(v).length;return new p(b,u,v,x)}}},this.getFoldWidget=function(c,r,i){var n=c.getLine(i),e=n.search(/\S/),t=c.getLine(i+1),o=c.getLine(i-1),a=o.search(/\S/),u=t.search(/\S/),d=n[e]==="-";if(e==-1)return c.foldWidgets[i-1]=a!=-1&&a{h=s.nmd(h),function(){var L="ace",T=function(){return this}();if(!T&&typeof window<"u"&&(T=window),!L&&typeof requirejs<"u")return;var I=function(r,i,n){if(typeof r!="string"){I.original?I.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(n=i),I.modules[r]||(I.payloads[r]=n,I.modules[r]=null)};I.modules={},I.payloads={};var m=function(r,i,n){if(typeof i=="string"){var e=l(r,i);if(e!=null)return n&&n(),e}else if(Object.prototype.toString.call(i)==="[object Array]"){for(var t=[],o=0,a=i.length;ol.length)&&(p=l.length),p-=y.length;var c=l.indexOf(y,p);return c!==-1&&c===p}),String.prototype.repeat||m(String.prototype,"repeat",function(y){for(var p="",l=this;y>0;)y&1&&(p+=l),(y>>=1)&&(l+=l);return p}),String.prototype.includes||m(String.prototype,"includes",function(y,p){return this.indexOf(y,p)!=-1}),Object.assign||(Object.assign=function(y){if(y==null)throw new TypeError("Cannot convert undefined or null to object");for(var p=Object(y),l=1;l>>0,c=arguments[1],r=c>>0,i=r<0?Math.max(l+r,0):Math.min(r,l),n=arguments[2],e=n===void 0?l:n>>0,t=e<0?Math.max(l+e,0):Math.min(e,l);i0;)l&1&&(c+=p),(l>>=1)&&(p+=p);return c};var m=/^\s\s*/,y=/\s\s*$/;T.stringTrimLeft=function(p){return p.replace(m,"")},T.stringTrimRight=function(p){return p.replace(y,"")},T.copyObject=function(p){var l={};for(var c in p)l[c]=p[c];return l},T.copyArray=function(p){for(var l=[],c=0,r=p.length;c65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(L,T,I){"use strict";T.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},T.getOS=function(){return T.isMac?T.OS.MAC:T.isLinux?T.OS.LINUX:T.OS.WINDOWS};var m=typeof navigator=="object"?navigator:{},y=(/mac|win|linux/i.exec(m.platform)||["other"])[0].toLowerCase(),p=m.userAgent||"",l=m.appName||"";T.isWin=y=="win",T.isMac=y=="mac",T.isLinux=y=="linux",T.isIE=l=="Microsoft Internet Explorer"||l.indexOf("MSAppHost")>=0?parseFloat((p.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((p.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),T.isOldIE=T.isIE&&T.isIE<9,T.isGecko=T.isMozilla=p.match(/ Gecko\/\d+/),T.isOpera=typeof opera=="object"&&Object.prototype.toString.call(window.opera)=="[object Opera]",T.isWebKit=parseFloat(p.split("WebKit/")[1])||void 0,T.isChrome=parseFloat(p.split(" Chrome/")[1])||void 0,T.isSafari=parseFloat(p.split(" Safari/")[1])&&!T.isChrome||void 0,T.isEdge=parseFloat(p.split(" Edge/")[1])||void 0,T.isAIR=p.indexOf("AdobeAIR")>=0,T.isAndroid=p.indexOf("Android")>=0,T.isChromeOS=p.indexOf(" CrOS ")>=0,T.isIOS=/iPad|iPhone|iPod/.test(p)&&!window.MSStream,T.isIOS&&(T.isMac=!0),T.isMobile=T.isIOS||T.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(L,T,I){"use strict";var m=L("./useragent"),y="http://www.w3.org/1999/xhtml";T.buildDom=function n(e,t,o){if(typeof e=="string"&&e){var a=document.createTextNode(e);return t&&t.appendChild(a),a}if(!Array.isArray(e))return e&&e.appendChild&&t&&t.appendChild(e),e;if(typeof e[0]!="string"||!e[0]){for(var u=[],d=0;d"u")){if(l){if(t)c();else if(t===!1)return l.push([n,e])}if(!p){var o=t;!t||!t.getRootNode?o=document:(o=t.getRootNode(),(!o||o==t)&&(o=document));var a=o.ownerDocument||o;if(e&&T.hasCssString(e,o))return null;e&&(n+=`
/*# sourceURL=ace/css/`+e+" */");var u=T.createElement("style");u.appendChild(a.createTextNode(n)),e&&(u.id=e),o==a&&(o=T.getDocumentHead(a)),o.insertBefore(u,o.firstChild)}}}if(T.importCssString=r,T.importCssStylsheet=function(n,e){T.buildDom(["link",{rel:"stylesheet",href:n}],T.getDocumentHead(e))},T.scrollbarWidth=function(n){var e=T.createElement("ace_inner");e.style.width="100%",e.style.minWidth="0px",e.style.height="200px",e.style.display="block";var t=T.createElement("ace_outer"),o=t.style;o.position="absolute",o.left="-10000px",o.overflow="hidden",o.width="200px",o.minWidth="0px",o.height="150px",o.display="block",t.appendChild(e);var a=n&&n.documentElement||document&&document.documentElement;if(!a)return 0;a.appendChild(t);var u=e.offsetWidth;o.overflow="scroll";var d=e.offsetWidth;return u===d&&(d=t.clientWidth),a.removeChild(t),u-d},T.computedStyle=function(n,e){return window.getComputedStyle(n,"")||{}},T.setStyle=function(n,e,t){n[e]!==t&&(n[e]=t)},T.HAS_CSS_ANIMATION=!1,T.HAS_CSS_TRANSFORMS=!1,T.HI_DPI=m.isWin?typeof window<"u"&&window.devicePixelRatio>=1.5:!0,m.isChromeOS&&(T.HI_DPI=!1),typeof document<"u"){var i=document.createElement("div");T.HI_DPI&&i.style.transform!==void 0&&(T.HAS_CSS_TRANSFORMS=!0),!m.isEdge&&typeof i.style.animationName<"u"&&(T.HAS_CSS_ANIMATION=!0),i=null}T.HAS_CSS_TRANSFORMS?T.translate=function(n,e,t){n.style.transform="translate("+Math.round(e)+"px, "+Math.round(t)+"px)"}:T.translate=function(n,e,t){n.style.top=Math.round(t)+"px",n.style.left=Math.round(e)+"px"}}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(L,T,I){/*
* based on code from:
*
* @license RequireJS text 0.25.0 Copyright (c) 2010-2011, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/"use strict";var m=L("./dom");T.get=function(y,p){var l=new XMLHttpRequest;l.open("GET",y,!0),l.onreadystatechange=function(){l.readyState===4&&p(l.responseText)},l.send(null)},T.loadScript=function(y,p){var l=m.getDocumentHead(),c=document.createElement("script");c.src=y,l.appendChild(c),c.onload=c.onreadystatechange=function(r,i){(i||!c.readyState||c.readyState=="loaded"||c.readyState=="complete")&&(c=c.onload=c.onreadystatechange=null,i||p())}},T.qualifyURL=function(y){var p=document.createElement("a");return p.href=y,p.href}}),ace.define("ace/lib/oop",["require","exports","module"],function(L,T,I){"use strict";T.inherits=function(m,y){m.super_=y,m.prototype=Object.create(y.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}})},T.mixin=function(m,y){for(var p in y)m[p]=y[p];return m},T.implement=function(m,y){T.mixin(m,y)}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(L,T,I){"use strict";var m={},y=function(){this.propagationStopped=!0},p=function(){this.defaultPrevented=!0};m._emit=m._dispatchEvent=function(l,c){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var r=this._eventRegistry[l]||[],i=this._defaultHandlers[l];if(!(!r.length&&!i)){(typeof c!="object"||!c)&&(c={}),c.type||(c.type=l),c.stopPropagation||(c.stopPropagation=y),c.preventDefault||(c.preventDefault=p),r=r.slice();for(var n=0;n1&&(u=o[o.length-2]);var b=c[t+"Path"];return b==null?b=c.basePath:a=="/"&&(t=a=""),b&&b.slice(-1)!="/"&&(b+="/"),b+t+a+u+this.get("suffix")},T.setModuleUrl=function(e,t){return c.$moduleUrls[e]=t};var r=function(e,t){if(e==="ace/theme/textmate"||e==="./theme/textmate")return t(null,L("./theme/textmate"));if(i)return i(e,t);console.error("loader is not configured")},i;T.setLoader=function(e){i=e},T.dynamicModules=Object.create(null),T.$loading={},T.$loaded={},T.loadModule=function(e,t){var o;if(Array.isArray(e))var a=e[0],u=e[1];else if(typeof e=="string")var u=e;var d=function(b){if(b&&!T.$loading[u])return t&&t(b);if(T.$loading[u]||(T.$loading[u]=[]),T.$loading[u].push(t),!(T.$loading[u].length>1)){var v=function(){r(u,function(C,k){k&&(T.$loaded[u]=k),T._emit("load.module",{name:u,module:k});var f=T.$loading[u];T.$loading[u]=null,f.forEach(function(x){x&&x(k)})})};if(!T.get("packaged"))return v();y.loadScript(T.moduleUrl(u,a),v),n()}};if(T.dynamicModules[u])T.dynamicModules[u]().then(function(b){b.default?d(b.default):d(b)});else{try{o=this.$require(u)}catch{}d(o||T.$loaded[u])}},T.$require=function(e){if(typeof I.require=="function"){var t="require";return I[t](e)}},T.setModuleLoader=function(e,t){T.dynamicModules[e]=t};var n=function(){!c.basePath&&!c.workerPath&&!c.modePath&&!c.themePath&&!Object.keys(c.$moduleUrls).length&&(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),n=function(){})};T.version="1.32.7"}),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],function(L,T,I){"use strict";L("./lib/fixoldbrowsers");var m=L("./config");m.setLoader(function(c,r){L([c],function(i){r(null,i)})});var y=function(){return this||typeof window<"u"&&window}();I.exports=function(c){m.init=p,m.$require=L,c.require=L,c.define=s.amdD},p(!0);function p(c){if(!(!y||!y.document)){m.set("packaged",c||L.packaged||I.packaged||y.define&&s.amdD.packaged);var r={},i="",n=document.currentScript||document._currentScript,e=n&&n.ownerDocument||document;n&&n.src&&(i=n.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var t=e.getElementsByTagName("script"),o=0;o ["+this.end.row+"/"+this.end.column+"]"},y.prototype.contains=function(p,l){return this.compare(p,l)==0},y.prototype.compareRange=function(p){var l,c=p.end,r=p.start;return l=this.compare(c.row,c.column),l==1?(l=this.compare(r.row,r.column),l==1?2:l==0?1:0):l==-1?-2:(l=this.compare(r.row,r.column),l==-1?-1:l==1?42:0)},y.prototype.comparePoint=function(p){return this.compare(p.row,p.column)},y.prototype.containsRange=function(p){return this.comparePoint(p.start)==0&&this.comparePoint(p.end)==0},y.prototype.intersects=function(p){var l=this.compareRange(p);return l==-1||l==0||l==1},y.prototype.isEnd=function(p,l){return this.end.row==p&&this.end.column==l},y.prototype.isStart=function(p,l){return this.start.row==p&&this.start.column==l},y.prototype.setStart=function(p,l){typeof p=="object"?(this.start.column=p.column,this.start.row=p.row):(this.start.row=p,this.start.column=l)},y.prototype.setEnd=function(p,l){typeof p=="object"?(this.end.column=p.column,this.end.row=p.row):(this.end.row=p,this.end.column=l)},y.prototype.inside=function(p,l){return this.compare(p,l)==0?!(this.isEnd(p,l)||this.isStart(p,l)):!1},y.prototype.insideStart=function(p,l){return this.compare(p,l)==0?!this.isEnd(p,l):!1},y.prototype.insideEnd=function(p,l){return this.compare(p,l)==0?!this.isStart(p,l):!1},y.prototype.compare=function(p,l){return!this.isMultiLine()&&p===this.start.row?lthis.end.column?1:0:pthis.end.row?1:this.start.row===p?l>=this.start.column?0:-1:this.end.row===p?l<=this.end.column?0:1:0},y.prototype.compareStart=function(p,l){return this.start.row==p&&this.start.column==l?-1:this.compare(p,l)},y.prototype.compareEnd=function(p,l){return this.end.row==p&&this.end.column==l?1:this.compare(p,l)},y.prototype.compareInside=function(p,l){return this.end.row==p&&this.end.column==l?1:this.start.row==p&&this.start.column==l?-1:this.compare(p,l)},y.prototype.clipRows=function(p,l){if(this.end.row>l)var c={row:l+1,column:0};else if(this.end.rowl)var r={row:l+1,column:0};else if(this.start.row1?(x++,x>4&&(x=1)):x=1,y.isIE){var E=Math.abs(g.clientX-A)>5||Math.abs(g.clientY-R)>5;(!$||E)&&(x=1),$&&clearTimeout($),$=setTimeout(function(){$=null},v[x-1]||600),x==1&&(A=g.clientX,R=g.clientY)}if(g._clicks=x,C[k]("mousedown",g),x>4)x=0;else if(x>1)return C[k](S[x],g)}Array.isArray(b)||(b=[b]),b.forEach(function(g){e(g,"mousedown",w,f)})};function o(b){return 0|(b.ctrlKey?1:0)|(b.altKey?2:0)|(b.shiftKey?4:0)|(b.metaKey?8:0)}T.getModifierString=function(b){return m.KEY_MODS[o(b)]};function a(b,v,C){var k=o(v);if(!y.isMac&&p){if(v.getModifierState&&(v.getModifierState("OS")||v.getModifierState("Win"))&&(k|=8),p.altGr)if((3&k)!=3)p.altGr=0;else return;if(C===18||C===17){var f=v.location;if(C===17&&f===1)p[C]==1&&(l=v.timeStamp);else if(C===18&&k===3&&f===2){var x=v.timeStamp-l;x<50&&(p.altGr=!0)}}}if(C in m.MODIFIER_KEYS&&(C=-1),!(!k&&C===13&&v.location===3&&(b(v,k,-C),v.defaultPrevented))){if(y.isChromeOS&&k&8){if(b(v,k,C),v.defaultPrevented)return;k&=-9}return!k&&!(C in m.FUNCTION_KEYS)&&!(C in m.PRINTABLE_KEYS)?!1:b(v,k,C)}}T.addCommandKeyListener=function(b,v,C){var k=null;e(b,"keydown",function(f){p[f.keyCode]=(p[f.keyCode]||0)+1;var x=a(v,f,f.keyCode);return k=f.defaultPrevented,x},C),e(b,"keypress",function(f){k&&(f.ctrlKey||f.altKey||f.shiftKey||f.metaKey)&&(T.stopEvent(f),k=null)},C),e(b,"keyup",function(f){p[f.keyCode]=null},C),p||(u(),e(window,"focus",u))};function u(){p=Object.create(null)}if(typeof window=="object"&&window.postMessage&&!y.isOldIE){var d=1;T.nextTick=function(b,v){v=v||window;var C="zero-timeout-message-"+d++,k=function(f){f.data==C&&(T.stopPropagation(f),t(v,"message",k),b())};e(v,"message",k),v.postMessage(C,"*")}}T.$idleBlocked=!1,T.onIdle=function(b,v){return setTimeout(function C(){T.$idleBlocked?setTimeout(C,100):b()},v)},T.$idleBlockId=null,T.blockIdle=function(b){T.$idleBlockId&&clearTimeout(T.$idleBlockId),T.$idleBlocked=!0,T.$idleBlockId=setTimeout(function(){T.$idleBlocked=!1},b||100)},T.nextFrame=typeof window=="object"&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),T.nextFrame?T.nextFrame=T.nextFrame.bind(window):T.nextFrame=function(b){setTimeout(b,17)}}),ace.define("ace/clipboard",["require","exports","module"],function(L,T,I){"use strict";var m;I.exports={lineMode:!1,pasteCancelled:function(){return m&&m>Date.now()-50?!0:m=!1},cancel:function(){m=Date.now()}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],function(L,T,I){"use strict";var m=L("../lib/event"),y=L("../config").nls,p=L("../lib/useragent"),l=L("../lib/dom"),c=L("../lib/lang"),r=L("../clipboard"),i=p.isChrome<18,n=p.isIE,e=p.isChrome>63,t=400,o=L("../lib/keys"),a=o.KEY_MODS,u=p.isIOS,d=u?/\s/:/\n/,b=p.isMobile,v;v=function(C,k){var f=l.createElement("textarea");f.className="ace_text-input",f.setAttribute("wrap","off"),f.setAttribute("autocorrect","off"),f.setAttribute("autocapitalize","off"),f.setAttribute("spellcheck","false"),f.style.opacity="0",C.insertBefore(f,C.firstChild);var x=!1,A=!1,R=!1,$=!1,S="";b||(f.style.fontSize="1px");var w=!1,g=!1,E="",_=0,O=0,F=0,D=Number.MAX_SAFE_INTEGER,W=Number.MIN_SAFE_INTEGER,j=0;try{var H=document.activeElement===f}catch{}this.setNumberOfExtraLines=function(G){if(D=Number.MAX_SAFE_INTEGER,W=Number.MIN_SAFE_INTEGER,G<0){j=0;return}j=G},this.setAriaOptions=function(G){if(G.activeDescendant?(f.setAttribute("aria-haspopup","true"),f.setAttribute("aria-autocomplete",G.inline?"both":"list"),f.setAttribute("aria-activedescendant",G.activeDescendant)):(f.setAttribute("aria-haspopup","false"),f.setAttribute("aria-autocomplete","both"),f.removeAttribute("aria-activedescendant")),G.role&&f.setAttribute("role",G.role),G.setLabel&&(f.setAttribute("aria-roledescription",y("editor")),k.session)){var ne=k.session.selection.cursor.row;f.setAttribute("aria-label",y("Cursor at row $0",[ne+1]))}},this.setAriaOptions({role:"textbox"}),m.addListener(f,"blur",function(G){g||(k.onBlur(G),H=!1)},k),m.addListener(f,"focus",function(G){if(!g){if(H=!0,p.isEdge)try{if(!document.hasFocus())return}catch{}k.onFocus(G),p.isEdge?setTimeout(z):z()}},k),this.$focusScroll=!1,this.focus=function(){if(this.setAriaOptions({setLabel:k.renderer.enableKeyboardAccessibility}),S||e||this.$focusScroll=="browser")return f.focus({preventScroll:!0});var G=f.style.top;f.style.position="fixed",f.style.top="0px";try{var ne=f.getBoundingClientRect().top!=0}catch{return}var re=[];if(ne)for(var ue=f.parentElement;ue&&ue.nodeType==1;)re.push(ue),ue.setAttribute("ace_nocontext","true"),!ue.parentElement&&ue.getRootNode?ue=ue.getRootNode().host:ue=ue.parentElement;f.focus({preventScroll:!0}),ne&&re.forEach(function(ae){ae.removeAttribute("ace_nocontext")}),setTimeout(function(){f.style.position="",f.style.top=="0px"&&(f.style.top=G)},0)},this.blur=function(){f.blur()},this.isFocused=function(){return H},k.on("beforeEndOperation",function(){var G=k.curOp,ne=G&&G.command&&G.command.name;if(ne!="insertstring"){var re=ne&&(G.docChanged||G.selectionChanged);R&&re&&(E=f.value="",Te()),z()}});var P=function(G,ne){for(var re=ne,ue=1;ue<=G-D&&ue<2*j+1;ue++)re+=k.session.getLine(G-ue).length+1;return re},z=u?function(G){if(!(!H||x&&!G||$)){G||(G="");var ne=`
 ab`+G+`cde fg
`;ne!=f.value&&(f.value=E=ne);var re=4,ue=4+(G.length||(k.selection.isEmpty()?0:1));(_!=re||O!=ue)&&f.setSelectionRange(re,ue),_=re,O=ue}}:function(){if(!(R||$)&&!(!H&&!q)){R=!0;var G=0,ne=0,re="";if(k.session){var ue=k.selection,ae=ue.getRange(),me=ue.cursor.row;me===W+1?(D=W+1,W=D+2*j):me===D-1?(W=D-1,D=W-2*j):(meW+1)&&(D=me>j?me-j:0,W=me>j?me+j:2*j);for(var be=[],ye=D;ye<=W;ye++)be.push(k.session.getLine(ye));if(re=be.join(`
`),G=P(ae.start.row,ae.start.column),ne=P(ae.end.row,ae.end.column),ae.start.rowW){var de=k.session.getLine(W+1);ne=ae.end.row>W+1?de.length:ae.end.column,ne+=re.length+1,re=re+`
`+de}else b&&me>0&&(re=`
`+re,ne+=1,G+=1);re.length>t&&(G=E.length&&G.value===E&&E&&G.selectionEnd!==O},X=function(G){R||(x?x=!1:B(f)?(k.selectAll(),z()):b&&f.selectionStart!=_&&z())},Z=null;this.setInputHandler=function(G){Z=G},this.getInputHandler=function(){return Z};var q=!1,Q=function(G,ne){if(q&&(q=!1),A)return z(),G&&k.onPaste(G),A=!1,"";for(var re=f.selectionStart,ue=f.selectionEnd,ae=_,me=E.length-O,be=G,ye=G.length-re,ge=G.length-ue,de=0;ae>0&&E[de]==G[de];)de++,ae--;for(be=be.slice(de),de=1;me>0&&E.length-de>_-1&&E[E.length-de]==G[G.length-de];)de++,me--;ye-=de-1,ge-=de-1;var Ce=be.length-de+1;if(Ce<0&&(ae=-Ce,Ce=0),be=be.slice(0,Ce),!ne&&!be&&!ye&&!ae&&!me&&!ge)return"";$=!0;var We=!1;return p.isAndroid&&be==". "&&(be="  ",We=!0),be&&!ae&&!me&&!ye&&!ge||w?k.onTextInput(be):k.onTextInput(be,{extendLeft:ae,extendRight:me,restoreStart:ye,restoreEnd:ge}),$=!1,E=G,_=re,O=ue,F=ge,We?`
`:be},ee=function(G){if(R)return pe();if(G&&G.inputType){if(G.inputType=="historyUndo")return k.execCommand("undo");if(G.inputType=="historyRedo")return k.execCommand("redo")}var ne=f.value,re=Q(ne,!0);(ne.length>t+100||d.test(re)||b&&_<1&&_==O)&&z()},te=function(G,ne,re){var ue=G.clipboardData||window.clipboardData;if(!(!ue||i)){var ae=n||re?"Text":"text/plain";try{return ne?ue.setData(ae,ne)!==!1:ue.getData(ae)}catch(me){if(!re)return te(me,ne,!0)}}},J=function(G,ne){var re=k.getCopyText();if(!re)return m.preventDefault(G);te(G,re)?(u&&(z(re),x=re,setTimeout(function(){x=!1},10)),ne?k.onCut():k.onCopy(),m.preventDefault(G)):(x=!0,f.value=re,f.select(),setTimeout(function(){x=!1,z(),ne?k.onCut():k.onCopy()}))},le=function(G){J(G,!0)},he=function(G){J(G,!1)},fe=function(G){var ne=te(G);r.pasteCancelled()||(typeof ne=="string"?(ne&&k.onPaste(ne,G),p.isIE&&setTimeout(z),m.preventDefault(G)):(f.value="",A=!0))};m.addCommandKeyListener(f,function(G,ne,re){if(!R)return k.onCommandKey(G,ne,re)},k),m.addListener(f,"select",X,k),m.addListener(f,"input",ee,k),m.addListener(f,"cut",le,k),m.addListener(f,"copy",he,k),m.addListener(f,"paste",fe,k),(!("oncut"in f)||!("oncopy"in f)||!("onpaste"in f))&&m.addListener(C,"keydown",function(G){if(!(p.isMac&&!G.metaKey||!G.ctrlKey))switch(G.keyCode){case 67:he(G);break;case 86:fe(G);break;case 88:le(G);break}},k);var se=function(G){if(!(R||!k.onCompositionStart||k.$readOnly)&&(R={},!w)){G.data&&(R.useTextareaForIME=!1),setTimeout(pe,0),k._signal("compositionStart"),k.on("mousedown",_e);var ne=k.getSelectionRange();ne.end.row=ne.start.row,ne.end.column=ne.start.column,R.markerRange=ne,R.selectionStart=_,k.onCompositionStart(R),R.useTextareaForIME?(E=f.value="",_=0,O=0):(f.msGetInputContext&&(R.context=f.msGetInputContext()),f.getInputContext&&(R.context=f.getInputContext()))}},pe=function(){if(!(!R||!k.onCompositionUpdate||k.$readOnly)){if(w)return _e();if(R.useTextareaForIME)k.onCompositionUpdate(f.value);else{var G=f.value;Q(G),R.markerRange&&(R.context&&(R.markerRange.start.column=R.selectionStart=R.context.compositionStartOffset),R.markerRange.end.column=R.markerRange.start.column+O-R.selectionStart+F)}}},Te=function(G){!k.onCompositionEnd||k.$readOnly||(R=!1,k.onCompositionEnd(),k.off("mousedown",_e),G&&ee())};function _e(){g=!0,f.blur(),f.focus(),g=!1}var Ee=c.delayedCall(pe,50).schedule.bind(null,null);function we(G){G.keyCode==27&&f.value.lengthO&&E[ge]==`
`?de=o.end:ye<_&&E[ye-1]==" "?(de=o.left,Ce=a.option):ye<_||ye==_&&O!=_&&ye==ge?de=o.left:ge>O&&E.slice(0,ge).split(`
`).length>2?de=o.down:ge>O&&E[ge-1]==" "?(de=o.right,Ce=a.option):(ge>O||ge==O&&O!=_&&ye==ge)&&(de=o.right),ye!==ge&&(Ce|=a.shift),de){var We=ne.onCommandKey({},Ce,de);if(!We&&ne.commands){de=o.keyCodeToString(de);var Xe=ne.commands.findKeyCommand(Ce,de);Xe&&ne.execCommand(Xe)}_=ye,O=ge,z("")}}};document.addEventListener("selectionchange",me),ne.on("destroy",function(){document.removeEventListener("selectionchange",me)})}this.destroy=function(){f.parentElement&&f.parentElement.removeChild(f)}},T.TextInput=v,T.$setUserAgentForTests=function(C,k){b=C,u=k}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],function(L,T,I){"use strict";var m=L("../lib/useragent"),y=0,p=550,l=function(){function i(n){n.$clickSelection=null;var e=n.editor;e.setDefaultHandler("mousedown",this.onMouseDown.bind(n)),e.setDefaultHandler("dblclick",this.onDoubleClick.bind(n)),e.setDefaultHandler("tripleclick",this.onTripleClick.bind(n)),e.setDefaultHandler("quadclick",this.onQuadClick.bind(n)),e.setDefaultHandler("mousewheel",this.onMouseWheel.bind(n));var t=["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"];t.forEach(function(o){n[o]=this[o]},this),n.selectByLines=this.extendSelectionBy.bind(n,"getLineRange"),n.selectByWords=this.extendSelectionBy.bind(n,"getWordRange")}return i.prototype.onMouseDown=function(n){var e=n.inSelection(),t=n.getDocumentPosition();this.mousedownEvent=n;var o=this.editor,a=n.getButton();if(a!==0){var u=o.getSelectionRange(),d=u.isEmpty();(d||a==1)&&o.selection.moveToPosition(t),a==2&&(o.textInput.onContextMenu(n.domEvent),m.isMozilla||n.preventDefault());return}if(this.mousedownEvent.time=Date.now(),e&&!o.isFocused()&&(o.focus(),this.$focusTimeout&&!this.$clickSelection&&!o.inMultiSelectMode)){this.setState("focusWait"),this.captureMouse(n);return}return this.captureMouse(n),this.startSelect(t,n.domEvent._clicks>1),n.preventDefault()},i.prototype.startSelect=function(n,e){n=n||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var t=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?t.selection.selectToPosition(n):e||t.selection.moveToPosition(n),e||this.select(),t.setStyle("ace_selecting"),this.setState("select"))},i.prototype.select=function(){var n,e=this.editor,t=e.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var o=this.$clickSelection.comparePoint(t);if(o==-1)n=this.$clickSelection.end;else if(o==1)n=this.$clickSelection.start;else{var a=r(this.$clickSelection,t);t=a.cursor,n=a.anchor}e.selection.setSelectionAnchor(n.row,n.column)}e.selection.selectToPosition(t),e.renderer.scrollCursorIntoView()},i.prototype.extendSelectionBy=function(n){var e,t=this.editor,o=t.renderer.screenToTextCoordinates(this.x,this.y),a=t.selection[n](o.row,o.column);if(this.$clickSelection){var u=this.$clickSelection.comparePoint(a.start),d=this.$clickSelection.comparePoint(a.end);if(u==-1&&d<=0)e=this.$clickSelection.end,(a.end.row!=o.row||a.end.column!=o.column)&&(o=a.start);else if(d==1&&u>=0)e=this.$clickSelection.start,(a.start.row!=o.row||a.start.column!=o.column)&&(o=a.end);else if(u==-1&&d==1)o=a.end,e=a.start;else{var b=r(this.$clickSelection,o);o=b.cursor,e=b.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(o),t.renderer.scrollCursorIntoView()},i.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},i.prototype.focusWait=function(){var n=c(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),e=Date.now();(n>y||e-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},i.prototype.onDoubleClick=function(n){var e=n.getDocumentPosition(),t=this.editor,o=t.session,a=o.getBracketRange(e);a?(a.isEmpty()&&(a.start.column--,a.end.column++),this.setState("select")):(a=t.selection.getWordRange(e.row,e.column),this.setState("selectByWords")),this.$clickSelection=a,this.select()},i.prototype.onTripleClick=function(n){var e=n.getDocumentPosition(),t=this.editor;this.setState("selectByLines");var o=t.getSelectionRange();o.isMultiLine()&&o.contains(e.row,e.column)?(this.$clickSelection=t.selection.getLineRange(o.start.row),this.$clickSelection.end=t.selection.getLineRange(o.end.row).end):this.$clickSelection=t.selection.getLineRange(e.row),this.select()},i.prototype.onQuadClick=function(n){var e=this.editor;e.selectAll(),this.$clickSelection=e.getSelectionRange(),this.setState("selectAll")},i.prototype.onMouseWheel=function(n){if(!n.getAccelKey()){n.getShiftKey()&&n.wheelY&&!n.wheelX&&(n.wheelX=n.wheelY,n.wheelY=0);var e=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var t=this.$lastScroll,o=n.domEvent.timeStamp,a=o-t.t,u=a?n.wheelX/a:t.vx,d=a?n.wheelY/a:t.vy;a=1&&e.renderer.isScrollableBy(n.wheelX*n.speed,0)&&(v=!0),b<=1&&e.renderer.isScrollableBy(0,n.wheelY*n.speed)&&(v=!0),v)t.allowed=o;else if(o-t.allowedp.clientHeight;l||y.preventDefault()}}),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],function(L,T,I){"use strict";var m=this&&this.__extends||function(){var a=function(u,d){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,v){b.__proto__=v}||function(b,v){for(var C in v)Object.prototype.hasOwnProperty.call(v,C)&&(b[C]=v[C])},a(u,d)};return function(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");a(u,d);function b(){this.constructor=u}u.prototype=d===null?Object.create(d):(b.prototype=d.prototype,new b)}}(),y=this&&this.__values||function(a){var u=typeof Symbol=="function"&&Symbol.iterator,d=u&&a[u],b=0;if(d)return d.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&b>=a.length&&(a=void 0),{value:a&&a[b++],done:!a}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")},p=L("./lib/dom"),l=L("./lib/event"),c=L("./range").Range,r=L("./lib/scroll").preventParentScroll,i="ace_tooltip",n=function(){function a(u){this.isOpen=!1,this.$element=null,this.$parentNode=u}return a.prototype.$init=function(){return this.$element=p.createElement("div"),this.$element.className=i,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},a.prototype.getElement=function(){return this.$element||this.$init()},a.prototype.setText=function(u){this.getElement().textContent=u},a.prototype.setHtml=function(u){this.getElement().innerHTML=u},a.prototype.setPosition=function(u,d){this.getElement().style.left=u+"px",this.getElement().style.top=d+"px"},a.prototype.setClassName=function(u){p.addCssClass(this.getElement(),u)},a.prototype.setTheme=function(u){this.$element.className=i+" "+(u.isDark?"ace_dark ":"")+(u.cssClass||"")},a.prototype.show=function(u,d,b){u!=null&&this.setText(u),d!=null&&b!=null&&this.setPosition(d,b),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},a.prototype.hide=function(u){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=i,this.isOpen=!1)},a.prototype.getHeight=function(){return this.getElement().offsetHeight},a.prototype.getWidth=function(){return this.getElement().offsetWidth},a.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},a}(),e=function(){function a(){this.popups=[]}return a.prototype.addPopup=function(u){this.popups.push(u),this.updatePopups()},a.prototype.removePopup=function(u){var d=this.popups.indexOf(u);d!==-1&&(this.popups.splice(d,1),this.updatePopups())},a.prototype.updatePopups=function(){var u,d,b,v;this.popups.sort(function(w,g){return g.priority-w.priority});var C=[];try{for(var k=y(this.popups),f=k.next();!f.done;f=k.next()){var x=f.value,A=!0;try{for(var R=(b=void 0,y(C)),$=R.next();!$.done;$=R.next()){var S=$.value;if(this.doPopupsOverlap(S,x)){A=!1;break}}}catch(w){b={error:w}}finally{try{$&&!$.done&&(v=R.return)&&v.call(R)}finally{if(b)throw b.error}}A?C.push(x):x.hide()}}catch(w){u={error:w}}finally{try{f&&!f.done&&(d=k.return)&&d.call(k)}finally{if(u)throw u.error}}},a.prototype.doPopupsOverlap=function(u,d){var b=u.getElement().getBoundingClientRect(),v=d.getElement().getBoundingClientRect();return b.leftv.left&&b.topv.top},a}(),t=new e;T.popupManager=t,T.Tooltip=n;var o=function(a){m(u,a);function u(d){d===void 0&&(d=document.body);var b=a.call(this,d)||this;b.timeout=void 0,b.lastT=0,b.idleTime=350,b.lastEvent=void 0,b.onMouseOut=b.onMouseOut.bind(b),b.onMouseMove=b.onMouseMove.bind(b),b.waitForHover=b.waitForHover.bind(b),b.hide=b.hide.bind(b);var v=b.getElement();return v.style.whiteSpace="pre-wrap",v.style.pointerEvents="auto",v.addEventListener("mouseout",b.onMouseOut),v.tabIndex=-1,v.addEventListener("blur",function(){v.contains(document.activeElement)||this.hide()}.bind(b)),v.addEventListener("wheel",r),b}return u.prototype.addToEditor=function(d){d.on("mousemove",this.onMouseMove),d.on("mousedown",this.hide),d.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},u.prototype.removeFromEditor=function(d){d.off("mousemove",this.onMouseMove),d.off("mousedown",this.hide),d.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},u.prototype.onMouseMove=function(d,b){this.lastEvent=d,this.lastT=Date.now();var v=b.$mouseHandler.isMousePressed;if(this.isOpen){var C=this.lastEvent&&this.lastEvent.getDocumentPosition();(!this.range||!this.range.contains(C.row,C.column)||v||this.isOutsideOfText(this.lastEvent))&&this.hide()}this.timeout||v||(this.lastEvent=d,this.timeout=setTimeout(this.waitForHover,this.idleTime))},u.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var d=Date.now()-this.lastT;if(this.idleTime-d>10){this.timeout=setTimeout(this.waitForHover,this.idleTime-d);return}this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor)},u.prototype.isOutsideOfText=function(d){var b=d.editor,v=d.getDocumentPosition(),C=b.session.getLine(v.row);if(v.column==C.length){var k=b.renderer.pixelToScreenCoordinates(d.clientX,d.clientY),f=b.session.documentToScreenPosition(v.row,v.column);if(f.column!=k.column||f.row!=k.row)return!0}return!1},u.prototype.setDataProvider=function(d){this.$gatherData=d},u.prototype.showForRange=function(d,b,v,C){var k=10;if(!(C&&C!=this.lastEvent)&&!(this.isOpen&&document.activeElement==this.getElement())){var f=d.renderer;this.isOpen||(t.addPopup(this),this.$registerCloseEvents(),this.setTheme(f.theme)),this.isOpen=!0,this.addMarker(b,d.session),this.range=c.fromPoints(b.start,b.end);var x=f.textToScreenCoordinates(b.start.row,b.start.column),A=f.scroller.getBoundingClientRect();x.pageX=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},p=L("../lib/dom"),l=L("../lib/event"),c=L("../tooltip").Tooltip,r=L("../config").nls;function i(e){var t=e.editor,o=t.renderer.$gutterLayer,a=new n(t);e.editor.setDefaultHandler("guttermousedown",function(k){if(!(!t.isFocused()||k.getButton()!=0)){var f=o.getRegion(k);if(f!="foldWidgets"){var x=k.getDocumentPosition().row,A=t.session.selection;if(k.getShiftKey())A.selectTo(x,0);else{if(k.domEvent.detail==2)return t.selectAll(),k.preventDefault();e.$clickSelection=t.selection.getLineRange(x)}return e.setState("selectByLines"),e.captureMouse(k),k.preventDefault()}}});var u,d;function b(){var k=d.getDocumentPosition().row,f=t.session.getLength();if(k==f){var x=t.renderer.pixelToScreenCoordinates(0,d.y).row,A=d.$pos;if(x>t.session.documentToScreenRow(A.row,A.column))return v()}if(a.showTooltip(k),!!a.isOpen)if(t.on("mousewheel",v),e.$tooltipFollowsMouse)C(d);else{var R=d.getGutterRow(),$=o.$lines.get(R);if($){var S=$.element.querySelector(".ace_gutter_annotation"),w=S.getBoundingClientRect(),g=a.getElement().style;g.left=w.right+"px",g.top=w.bottom+"px"}else C(d)}}function v(){u&&(u=clearTimeout(u)),a.isOpen&&(a.hideTooltip(),t.off("mousewheel",v))}function C(k){a.setPosition(k.x,k.y)}e.editor.setDefaultHandler("guttermousemove",function(k){var f=k.domEvent.target||k.domEvent.srcElement;if(p.hasCssClass(f,"ace_fold-widget"))return v();a.isOpen&&e.$tooltipFollowsMouse&&C(k),d=k,!u&&(u=setTimeout(function(){u=null,d&&!e.isMousePressed?b():v()},50))}),l.addListener(t.renderer.$gutter,"mouseout",function(k){d=null,!(!a.isOpen||u)&&(u=setTimeout(function(){u=null,v()},50))},t),t.on("changeSession",v),t.on("input",v)}T.GutterHandler=i;var n=function(e){m(t,e);function t(o){var a=e.call(this,o.container)||this;return a.editor=o,a}return t.prototype.setPosition=function(o,a){var u=window.innerWidth||document.documentElement.clientWidth,d=window.innerHeight||document.documentElement.clientHeight,b=this.getWidth(),v=this.getHeight();o+=15,a+=15,o+b>u&&(o-=o+b-u),a+v>d&&(a-=20+v),c.prototype.setPosition.call(this,o,a)},Object.defineProperty(t,"annotationLabels",{get:function(){return{error:{singular:r("error"),plural:r("errors")},warning:{singular:r("warning"),plural:r("warnings")},info:{singular:r("information message"),plural:r("information messages")}}},enumerable:!1,configurable:!0}),t.prototype.showTooltip=function(o){var a=this.editor.renderer.$gutterLayer,u=a.$annotations[o],d;u?d={text:Array.from(u.text),type:Array.from(u.type)}:d={text:[],type:[]};var b=a.session.getFoldLine(o);if(b&&a.$showFoldedAnnotations){for(var v={error:[],warning:[],info:[]},C,k=o+1;k<=b.end.row;k++)if(a.$annotations[k])for(var f=0;f  ").concat(d.text[k]);R[d.type[k].replace("_fold","")].push(S)}var w=[].concat(R.error,R.warning,R.info).join("
");this.setHtml(w),this.$element.setAttribute("aria-live","polite"),this.isOpen||(this.setTheme(this.editor.renderer.theme),this.setClassName("ace_gutter-tooltip")),this.show(),this.editor._signal("showGutterTooltip",this)},t.prototype.hideTooltip=function(){this.$element.removeAttribute("aria-live"),this.hide(),this.editor._signal("hideGutterTooltip",this)},t.annotationsToSummaryString=function(o){var a,u,d=[],b=["error","warning","info"];try{for(var v=y(b),C=v.next();!C.done;C=v.next()){var k=C.value;if(o[k].length){var f=o[k].length===1?t.annotationLabels[k].singular:t.annotationLabels[k].plural;d.push("".concat(o[k].length," ").concat(f))}}}catch(x){a={error:x}}finally{try{C&&!C.done&&(u=v.return)&&u.call(v)}finally{if(a)throw a.error}}return d.join(", ")},t}(c);T.GutterTooltip=n}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(L,T,I){"use strict";var m=L("../lib/event"),y=L("../lib/useragent"),p=function(){function l(c,r){this.speed,this.wheelX,this.wheelY,this.domEvent=c,this.editor=r,this.x=this.clientX=c.clientX,this.y=this.clientY=c.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1}return l.prototype.stopPropagation=function(){m.stopPropagation(this.domEvent),this.propagationStopped=!0},l.prototype.preventDefault=function(){m.preventDefault(this.domEvent),this.defaultPrevented=!0},l.prototype.stop=function(){this.stopPropagation(),this.preventDefault()},l.prototype.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},l.prototype.getGutterRow=function(){var c=this.getDocumentPosition().row,r=this.editor.session.documentToScreenRow(c,0),i=this.editor.session.documentToScreenRow(this.editor.renderer.$gutterLayer.$lines.get(0).row,0);return r-i},l.prototype.inSelection=function(){if(this.$inSelection!==null)return this.$inSelection;var c=this.editor,r=c.getSelectionRange();if(r.isEmpty())this.$inSelection=!1;else{var i=this.getDocumentPosition();this.$inSelection=r.contains(i.row,i.column)}return this.$inSelection},l.prototype.getButton=function(){return m.getButton(this.domEvent)},l.prototype.getShiftKey=function(){return this.domEvent.shiftKey},l.prototype.getAccelKey=function(){return y.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},l}();T.MouseEvent=p}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(L,T,I){"use strict";var m=L("../lib/dom"),y=L("../lib/event"),p=L("../lib/useragent"),l=200,c=200,r=5;function i(e){var t=e.editor,o=m.createElement("div");o.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",o.textContent="\xA0";var a=["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"];a.forEach(function(P){e[P]=this[P]},this),t.on("mousedown",this.onMouseDown.bind(e));var u=t.container,d,b,v,C,k,f,x=0,A,R,$,S,w;this.onDragStart=function(P){if(this.cancelDrag||!u.draggable){var z=this;return setTimeout(function(){z.startSelect(),z.captureMouse(P)},0),P.preventDefault()}k=t.getSelectionRange();var B=P.dataTransfer;B.effectAllowed=t.getReadOnly()?"copy":"copyMove",t.container.appendChild(o),B.setDragImage&&B.setDragImage(o,0,0),setTimeout(function(){t.container.removeChild(o)}),B.clearData(),B.setData("Text",t.session.getTextRange()),R=!0,this.setState("drag")},this.onDragEnd=function(P){if(u.draggable=!1,R=!1,this.setState(null),!t.getReadOnly()){var z=P.dataTransfer.dropEffect;!A&&z=="move"&&t.session.remove(t.getSelectionRange()),t.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(P){if(!(t.getReadOnly()||!j(P.dataTransfer)))return b=P.clientX,v=P.clientY,d||O(),x++,P.dataTransfer.dropEffect=A=H(P),y.preventDefault(P)},this.onDragOver=function(P){if(!(t.getReadOnly()||!j(P.dataTransfer)))return b=P.clientX,v=P.clientY,d||(O(),x++),D!==null&&(D=null),P.dataTransfer.dropEffect=A=H(P),y.preventDefault(P)},this.onDragLeave=function(P){if(x--,x<=0&&d)return F(),A=null,y.preventDefault(P)},this.onDrop=function(P){if(f){var z=P.dataTransfer;if(R)switch(A){case"move":k.contains(f.row,f.column)?k={start:f,end:f}:k=t.moveText(k,f);break;case"copy":k=t.moveText(k,f,!0);break}else{var B=z.getData("Text");k={start:f,end:t.session.insert(f,B)},t.focus(),A=null}return F(),y.preventDefault(P)}},y.addListener(u,"dragstart",this.onDragStart.bind(e),t),y.addListener(u,"dragend",this.onDragEnd.bind(e),t),y.addListener(u,"dragenter",this.onDragEnter.bind(e),t),y.addListener(u,"dragover",this.onDragOver.bind(e),t),y.addListener(u,"dragleave",this.onDragLeave.bind(e),t),y.addListener(u,"drop",this.onDrop.bind(e),t);function g(P,z){var B=Date.now(),X=!z||P.row!=z.row,Z=!z||P.column!=z.column;if(!S||X||Z)t.moveCursorToPosition(P),S=B,w={x:b,y:v};else{var q=n(w.x,w.y,b,v);q>r?S=null:B-S>=c&&(t.renderer.scrollCursorIntoView(),S=null)}}function E(P,z){var B=Date.now(),X=t.renderer.layerConfig.lineHeight,Z=t.renderer.layerConfig.characterWidth,q=t.renderer.scroller.getBoundingClientRect(),Q={x:{left:b-q.left,right:q.right-b},y:{top:v-q.top,bottom:q.bottom-v}},ee=Math.min(Q.x.left,Q.x.right),te=Math.min(Q.y.top,Q.y.bottom),J={row:P.row,column:P.column};ee/Z<=2&&(J.column+=Q.x.left=l&&t.renderer.scrollCursorIntoView(J):$=B:$=null}function _(){var P=f;f=t.renderer.screenToTextCoordinates(b,v),g(f,P),E(f,P)}function O(){k=t.selection.toOrientedRange(),d=t.session.addMarker(k,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(C),_(),C=setInterval(_,20),x=0,y.addListener(document,"mousemove",W)}function F(){clearInterval(C),t.session.removeMarker(d),d=null,t.selection.fromOrientedRange(k),t.isFocused()&&!R&&t.$resetCursorStyle(),k=null,f=null,x=0,$=null,S=null,y.removeListener(document,"mousemove",W)}var D=null;function W(){D==null&&(D=setTimeout(function(){D!=null&&d&&F()},20))}function j(P){var z=P.types;return!z||Array.prototype.some.call(z,function(B){return B=="text/plain"||B=="Text"})}function H(P){var z=["copy","copymove","all","uninitialized"],B=["move","copymove","linkmove","all","uninitialized"],X=p.isMac?P.altKey:P.ctrlKey,Z="uninitialized";try{Z=P.dataTransfer.effectAllowed.toLowerCase()}catch{}var q="none";return X&&z.indexOf(Z)>=0?q="copy":B.indexOf(Z)>=0?q="move":z.indexOf(Z)>=0&&(q="copy"),q}}(function(){this.dragWait=function(){var e=Date.now()-this.mousedownEvent.time;e>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var e=this.editor.container;e.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor,t=e.container;t.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging");var o=p.isWin?"default":"move";e.renderer.setCursorStyle(o),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;if(p.isIE&&this.state=="dragReady"){var o=n(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);o>3&&t.dragDrop()}if(this.state==="dragWait"){var o=n(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);o>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))}},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,o=e.inSelection(),a=e.getButton(),u=e.domEvent.detail||1;if(u===1&&a===0&&o){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var d=e.domEvent.target||e.domEvent.srcElement;if("unselectable"in d&&(d.unselectable="on"),t.getDragDelay()){if(p.isWebKit){this.cancelDrag=!0;var b=t.container;b.draggable=!0}this.setState("dragWait")}else this.startDrag();this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(i.prototype);function n(e,t,o,a){return Math.sqrt(Math.pow(o-e,2)+Math.pow(a-t,2))}T.DragdropHandler=i}),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],function(L,T,I){"use strict";var m=L("./mouse_event").MouseEvent,y=L("../lib/event"),p=L("../lib/dom");T.addTouchListeners=function(l,c){var r="scroll",i,n,e,t,o,a,u=0,d,b=0,v=0,C=0,k,f;function x(){var g=window.navigator&&window.navigator.clipboard,E=!1,_=function(){var F=c.getCopyText(),D=c.session.getUndoManager().hasUndo();f.replaceChild(p.buildDom(E?["span",!F&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],F&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],F&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],g&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],D&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],["span",{class:"ace_mobile-button",action:"find"},"Find"],["span",{class:"ace_mobile-button",action:"openCommandPalette"},"Palette"]]:["span"]),f.firstChild)},O=function(F){var D=F.target.getAttribute("action");if(D=="more"||!E)return E=!E,_();D=="paste"?g.readText().then(function(W){c.execCommand(D,W)}):D&&((D=="cut"||D=="copy")&&(g?g.writeText(c.getCopyText()):document.execCommand("copy")),c.execCommand(D)),f.firstChild.style.display="none",E=!1,D!="openCommandPalette"&&c.focus()};f=p.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(F){r="menu",F.stopPropagation(),F.preventDefault(),c.textInput.focus()},ontouchend:function(F){F.stopPropagation(),F.preventDefault(),O(F)},onclick:O},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],c.container)}function A(){f||x();var g=c.selection.cursor,E=c.renderer.textToScreenCoordinates(g.row,g.column),_=c.renderer.textToScreenCoordinates(0,0).pageX,O=c.renderer.scrollLeft,F=c.container.getBoundingClientRect();f.style.top=E.pageY-F.top-3+"px",E.pageX-F.left=2?c.selection.getLineRange(d.row):c.session.getBracketRange(d);g&&!g.isEmpty()?c.selection.setRange(g):c.selection.selectWord(),r="wait"}y.addListener(l,"contextmenu",function(g){if(k){var E=c.textInput.getElement();E.focus()}},c),y.addListener(l,"touchstart",function(g){var E=g.touches;if(o||E.length>1){clearTimeout(o),o=null,e=-1,r="zoom";return}k=c.$mouseHandler.isMousePressed=!0;var _=c.renderer.layerConfig.lineHeight,O=c.renderer.layerConfig.lineHeight,F=g.timeStamp;t=F;var D=E[0],W=D.clientX,j=D.clientY;Math.abs(i-W)+Math.abs(n-j)>_&&(e=-1),i=g.clientX=W,n=g.clientY=j,v=C=0;var H=new m(g,c);if(d=H.getDocumentPosition(),F-e<500&&E.length==1&&!u)b++,g.preventDefault(),g.button=0,S();else{b=0;var P=c.selection.cursor,z=c.selection.isEmpty()?P:c.selection.anchor,B=c.renderer.$cursorLayer.getPixelPosition(P,!0),X=c.renderer.$cursorLayer.getPixelPosition(z,!0),Z=c.renderer.scroller.getBoundingClientRect(),q=c.renderer.layerConfig.offset,Q=c.renderer.scrollLeft,ee=function(le,he){return le=le/O,he=he/_-.75,le*le+he*he};if(g.clientXJ?"cursor":"anchor"),J<3.5?r="anchor":te<3.5?r="cursor":r="scroll",o=setTimeout($,450)}e=F},c),y.addListener(l,"touchend",function(g){k=c.$mouseHandler.isMousePressed=!1,a&&clearInterval(a),r=="zoom"?(r="",u=0):o?(c.selection.moveToPosition(d),u=0,A()):r=="scroll"?(w(),R()):A(),clearTimeout(o),o=null},c),y.addListener(l,"touchmove",function(g){o&&(clearTimeout(o),o=null);var E=g.touches;if(!(E.length>1||r=="zoom")){var _=E[0],O=i-_.clientX,F=n-_.clientY;if(r=="wait")if(O*O+F*F>4)r="cursor";else return g.preventDefault();i=_.clientX,n=_.clientY,g.clientX=_.clientX,g.clientY=_.clientY;var D=g.timeStamp,W=D-t;if(t=D,r=="scroll"){var j=new m(g,c);j.speed=1,j.wheelX=O,j.wheelY=F,10*Math.abs(O)0)if(Te==16){for(we=Ee;we<$e;we++)ee[we]=1;Ee=-1}else Ee=-1;if(_e=le[pe][6],_e)Ee==-1&&(Ee=$e);else if(Ee>-1){for(we=Ee;we<$e;we++)ee[we]=se;Ee=-1}J[$e]==x&&(ee[$e]=0),l|=se}if(n){for(we=0;we=0&&J[Oe]==$;Oe--)ee[Oe]=p}}}function B(Q,ee,te){if(!(l=Q){for(he=le+1;he=Q;)he++;for(fe=le,se=he-1;fe=ee.length||(he=te[J-1])!=C&&he!=k||(fe=ee[J+1])!=C&&fe!=k?f:(c&&(fe=k),fe==he?fe:f);case w:return he=J>0?te[J-1]:x,he==C&&J+10&&te[J-1]==C)return C;if(c)return f;for(pe=J+1,se=ee.length;pe=1425&&Te<=2303||Te==64286;if(he=ee[pe],_e&&(he==v||he==R))return v}return J<1||(he=ee[J-1])==x?f:te[J-1];case x:return c=!1,i=!0,p;case A:return n=!0,f;case _:case O:case D:case W:case F:c=!1;case j:return f}}function Z(Q){var ee=Q.charCodeAt(0),te=ee>>8;return te==0?ee>191?b:H[ee]:te==5?/[\u0591-\u05f4]/.test(Q)?v:b:te==6?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(Q)?E:/[\u0660-\u0669\u066b-\u066c]/.test(Q)?k:ee==1642?g:/[\u06f0-\u06f9]/.test(Q)?C:R:te==32&&ee<=8287?P[ee&255]:te==254&&ee>=65136?R:f}function q(Q){return Q>="\u064B"&&Q<="\u0655"}T.L=b,T.R=v,T.EN=C,T.ON_R=3,T.AN=4,T.R_H=5,T.B=6,T.RLE=7,T.DOT="\xB7",T.doBidiReorder=function(Q,ee,te){if(Q.length<2)return{};var J=Q.split(""),le=new Array(J.length),he=new Array(J.length),fe=[];p=te?d:u,z(J,fe,J.length,ee);for(var se=0;seR&&ee[se]<_||ee[se]===f||ee[se]===j)?fe[se]=T.ON_R:se>0&&J[se-1]==="\u0644"&&/\u0622|\u0623|\u0625|\u0627/.test(J[se])&&(fe[se-1]=fe[se]=T.R_H,se++);J[J.length-1]===T.DOT&&(fe[J.length-1]=T.B),J[0]==="\u202B"&&(fe[0]=T.RLE);for(var se=0;se=0&&(r=this.session.$docRowCache[n])}return r},c.prototype.getSplitIndex=function(){var r=0,i=this.session.$screenRowCache;if(i.length)for(var n,e=this.session.$getRowCacheIndex(i,this.currentRow);this.currentRow-r>0&&(n=this.session.$getRowCacheIndex(i,this.currentRow-r-1),n===e);)e=n,r++;else r=this.currentRow;return r},c.prototype.updateRowLine=function(r,i){r===void 0&&(r=this.getDocumentRow());var n=r===this.session.getLength()-1,e=n?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(r),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var t=this.session.$wrapData[r];t&&(i===void 0&&(i=this.getSplitIndex()),i>0&&t.length?(this.wrapIndent=t.indent,this.wrapOffset=this.wrapIndent*this.charWidths[m.L],this.line=ii?this.session.getOverwrite()?r:r-1:i,e=m.getVisualFromLogicalIdx(n,this.bidiMap),t=this.bidiMap.bidiLevels,o=0;!this.session.getOverwrite()&&r<=i&&t[e]%2!==0&&e++;for(var a=0;ai&&t[e]%2===0&&(o+=this.charWidths[t[e]]),this.wrapIndent&&(o+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(o+=this.rtlLineOffset),o},c.prototype.getSelections=function(r,i){var n=this.bidiMap,e=n.bidiLevels,t,o=[],a=0,u=Math.min(r,i)-this.wrapIndent,d=Math.max(r,i)-this.wrapIndent,b=!1,v=!1,C=0;this.wrapIndent&&(a+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var k,f=0;f=u&&ke+a/2;){if(e+=a,t===o.length-1){a=0;break}a=this.charWidths[o[++t]]}return t>0&&o[t-1]%2!==0&&o[t]%2===0?(n0&&o[t-1]%2===0&&o[t]%2!==0?i=1+(n>e?this.bidiMap.logicalFromVisual[t]:this.bidiMap.logicalFromVisual[t-1]):this.isRtlDir&&t===o.length-1&&a===0&&o[t-1]%2===0||!this.isRtlDir&&t===0&&o[t]%2!==0?i=1+this.bidiMap.logicalFromVisual[t]:(t>0&&o[t-1]%2!==0&&a!==0&&t--,i=this.bidiMap.logicalFromVisual[t]),i===0&&this.isRtlDir&&i++,i+this.wrapIndent},c}();T.BidiHandler=l}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(L,T,I){"use strict";var m=L("./lib/oop"),y=L("./lib/lang"),p=L("./lib/event_emitter").EventEmitter,l=L("./range").Range,c=function(){function r(i){this.session=i,this.doc=i.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var n=this;this.cursor.on("change",function(e){n.$cursorChanged=!0,n.$silent||n._emit("changeCursor"),!n.$isEmpty&&!n.$silent&&n._emit("changeSelection"),!n.$keepDesiredColumnOnChange&&e.old.column!=e.value.column&&(n.$desiredColumn=null)}),this.anchor.on("change",function(){n.$anchorChanged=!0,!n.$isEmpty&&!n.$silent&&n._emit("changeSelection")})}return r.prototype.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},r.prototype.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},r.prototype.getCursor=function(){return this.lead.getPosition()},r.prototype.setAnchor=function(i,n){this.$isEmpty=!1,this.anchor.setPosition(i,n)},r.prototype.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},r.prototype.getSelectionLead=function(){return this.lead.getPosition()},r.prototype.isBackwards=function(){var i=this.anchor,n=this.lead;return i.row>n.row||i.row==n.row&&i.column>n.column},r.prototype.getRange=function(){var i=this.anchor,n=this.lead;return this.$isEmpty?l.fromPoints(n,n):this.isBackwards()?l.fromPoints(n,i):l.fromPoints(i,n)},r.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},r.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},r.prototype.setRange=function(i,n){var e=n?i.end:i.start,t=n?i.start:i.end;this.$setSelection(e.row,e.column,t.row,t.column)},r.prototype.$setSelection=function(i,n,e,t){if(!this.$silent){var o=this.$isEmpty,a=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(i,n),this.cursor.setPosition(e,t),this.$isEmpty=!l.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||o!=this.$isEmpty||a)&&this._emit("changeSelection")}},r.prototype.$moveSelection=function(i){var n=this.lead;this.$isEmpty&&this.setSelectionAnchor(n.row,n.column),i.call(this)},r.prototype.selectTo=function(i,n){this.$moveSelection(function(){this.moveCursorTo(i,n)})},r.prototype.selectToPosition=function(i){this.$moveSelection(function(){this.moveCursorToPosition(i)})},r.prototype.moveTo=function(i,n){this.clearSelection(),this.moveCursorTo(i,n)},r.prototype.moveToPosition=function(i){this.clearSelection(),this.moveCursorToPosition(i)},r.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},r.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},r.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},r.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},r.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},r.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},r.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},r.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},r.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},r.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},r.prototype.getWordRange=function(i,n){if(typeof n>"u"){var e=i||this.lead;i=e.row,n=e.column}return this.session.getWordRange(i,n)},r.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},r.prototype.selectAWord=function(){var i=this.getCursor(),n=this.session.getAWordRange(i.row,i.column);this.setSelectionRange(n)},r.prototype.getLineRange=function(i,n){var e=typeof i=="number"?i:this.lead.row,t,o=this.session.getFoldLine(e);return o?(e=o.start.row,t=o.end.row):t=e,n===!0?new l(e,0,t,this.session.getLine(t).length):new l(e,0,t+1,0)},r.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},r.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},r.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},r.prototype.wouldMoveIntoSoftTab=function(i,n,e){var t=i.column,o=i.column+n;return e<0&&(t=i.column-n,o=i.column),this.session.isTabStop(i)&&this.doc.getLine(i.row).slice(t,o).split(" ").length-1==n},r.prototype.moveCursorLeft=function(){var i=this.lead.getPosition(),n;if(n=this.session.getFoldAt(i.row,i.column,-1))this.moveCursorTo(n.start.row,n.start.column);else if(i.column===0)i.row>0&&this.moveCursorTo(i.row-1,this.doc.getLine(i.row-1).length);else{var e=this.session.getTabSize();this.wouldMoveIntoSoftTab(i,e,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-e):this.moveCursorBy(0,-1)}},r.prototype.moveCursorRight=function(){var i=this.lead.getPosition(),n;if(n=this.session.getFoldAt(i.row,i.column,1))this.moveCursorTo(n.end.row,n.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(n.column=t)}}this.moveCursorTo(n.row,n.column)},r.prototype.moveCursorFileEnd=function(){var i=this.doc.getLength()-1,n=this.doc.getLine(i).length;this.moveCursorTo(i,n)},r.prototype.moveCursorFileStart=function(){this.moveCursorTo(0,0)},r.prototype.moveCursorLongWordRight=function(){var i=this.lead.row,n=this.lead.column,e=this.doc.getLine(i),t=e.substring(n);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var o=this.session.getFoldAt(i,n,1);if(o){this.moveCursorTo(o.end.row,o.end.column);return}if(this.session.nonTokenRe.exec(t)&&(n+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,t=e.substring(n)),n>=e.length){this.moveCursorTo(i,e.length),this.moveCursorRight(),i0&&this.moveCursorWordLeft();return}this.session.tokenRe.exec(o)&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(i,n)},r.prototype.$shortWordEndIndex=function(i){var n=0,e,t=/\s/,o=this.session.tokenRe;if(o.lastIndex=0,this.session.tokenRe.exec(i))n=this.session.tokenRe.lastIndex;else{for(;(e=i[n])&&t.test(e);)n++;if(n<1){for(o.lastIndex=0;(e=i[n])&&!o.test(e);)if(o.lastIndex=0,n++,t.test(e))if(n>2){n--;break}else{for(;(e=i[n])&&t.test(e);)n++;if(n>2)break}}}return o.lastIndex=0,n},r.prototype.moveCursorShortWordRight=function(){var i=this.lead.row,n=this.lead.column,e=this.doc.getLine(i),t=e.substring(n),o=this.session.getFoldAt(i,n,1);if(o)return this.moveCursorTo(o.end.row,o.end.column);if(n==e.length){var a=this.doc.getLength();do i++,t=this.doc.getLine(i);while(i0&&/^\s*$/.test(t));n=t.length,/\s+$/.test(t)||(t="")}var o=y.stringReverse(t),a=this.$shortWordEndIndex(o);return this.moveCursorTo(i,n-a)},r.prototype.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},r.prototype.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},r.prototype.moveCursorBy=function(i,n){var e=this.session.documentToScreenPosition(this.lead.row,this.lead.column),t;if(n===0&&(i!==0&&(this.session.$bidiHandler.isBidiRow(e.row,this.lead.row)?(t=this.session.$bidiHandler.getPosLeft(e.column),e.column=Math.round(t/this.session.$bidiHandler.charWidths[0])):t=e.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?e.column=this.$desiredColumn:this.$desiredColumn=e.column),i!=0&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var o=this.session.lineWidgets[this.lead.row];i<0?i-=o.rowsAbove||0:i>0&&(i+=o.rowCount-(o.rowsAbove||0))}var a=this.session.screenToDocumentPosition(e.row+i,e.column,t);i!==0&&n===0&&a.row===this.lead.row&&(a.column,this.lead.column),this.moveCursorTo(a.row,a.column+n,n===0)},r.prototype.moveCursorToPosition=function(i){this.moveCursorTo(i.row,i.column)},r.prototype.moveCursorTo=function(i,n,e){var t=this.session.getFoldAt(i,n,1);t&&(i=t.start.row,n=t.start.column),this.$keepDesiredColumnOnChange=!0;var o=this.session.getLine(i);/[\uDC00-\uDFFF]/.test(o.charAt(n))&&o.charAt(n-1)&&(this.lead.row==i&&this.lead.column==n+1?n=n-1:n=n+1),this.lead.setPosition(i,n),this.$keepDesiredColumnOnChange=!1,e||(this.$desiredColumn=null)},r.prototype.moveCursorToScreen=function(i,n,e){var t=this.session.screenToDocumentPosition(i,n);this.moveCursorTo(t.row,t.column,e)},r.prototype.detach=function(){this.lead.detach(),this.anchor.detach()},r.prototype.fromOrientedRange=function(i){this.setSelectionRange(i,i.cursor==i.start),this.$desiredColumn=i.desiredColumn||this.$desiredColumn},r.prototype.toOrientedRange=function(i){var n=this.getRange();return i?(i.start.column=n.start.column,i.start.row=n.start.row,i.end.column=n.end.column,i.end.row=n.end.row):i=n,i.cursor=this.isBackwards()?i.start:i.end,i.desiredColumn=this.$desiredColumn,i},r.prototype.getRangeOfMovements=function(i){var n=this.getCursor();try{i(this);var e=this.getCursor();return l.fromPoints(n,e)}catch{return l.fromPoints(n,n)}finally{this.moveCursorToPosition(n)}},r.prototype.toJSON=function(){if(this.rangeCount)var i=this.ranges.map(function(n){var e=n.clone();return e.isBackwards=n.cursor==n.start,e});else{var i=this.getRange();i.isBackwards=this.isBackwards()}return i},r.prototype.fromJSON=function(i){if(i.start==null)if(this.rangeList&&i.length>1){this.toSingleRange(i[0]);for(var n=i.length;n--;){var e=l.fromPoints(i[n].start,i[n].end);i[n].isBackwards&&(e.cursor=e.start),this.addRange(e,!0)}return}else i=i[0];this.rangeList&&this.toSingleRange(i),this.setSelectionRange(i,i.isBackwards)},r.prototype.isEqual=function(i){if((i.length||this.rangeCount)&&i.length!=this.rangeCount)return!1;if(!i.length||!this.ranges)return this.getRange().isEqual(i);for(var n=this.ranges.length;n--;)if(!this.ranges[n].isEqual(i[n]))return!1;return!0},r}();c.prototype.setSelectionAnchor=c.prototype.setAnchor,c.prototype.getSelectionAnchor=c.prototype.getAnchor,c.prototype.setSelectionRange=c.prototype.setRange,m.implement(c.prototype,p),T.Selection=c}),ace.define("ace/tokenizer",["require","exports","module","ace/lib/report_error"],function(L,T,I){"use strict";var m=L("./lib/report_error").reportError,y=2e3,p=function(){function l(c){this.splitRegex,this.states=c,this.regExps={},this.matchMappings={};for(var r in this.states){for(var i=this.states[r],n=[],e=0,t=this.matchMappings[r]={defaultToken:"text"},o="g",a=[],u=0;u1?d.onMatch=this.$applyToken:d.onMatch=d.token),v>1&&(/\\\d/.test(d.regex)?b=d.regex.replace(/\\([0-9]+)/g,function(C,k){return"\\"+(parseInt(k,10)+e+1)}):(v=1,b=this.removeCapturingGroups(d.regex)),!d.splitRegex&&typeof d.token!="string"&&a.push(d)),t[e]=u,e+=v,n.push(b),d.onMatch||(d.onMatch=null)}}n.length||(t[0]=0,n.push("$")),a.forEach(function(C){C.splitRegex=this.createSplitterRegexp(C.regex,o)},this),this.regExps[r]=new RegExp("("+n.join(")|(")+")|($)",o)}}return l.prototype.$setMaxTokenCount=function(c){y=c|0},l.prototype.$applyToken=function(c){var r=this.splitRegex.exec(c).slice(1),i=this.token.apply(this,r);if(typeof i=="string")return[{type:i,value:c}];for(var n=[],e=0,t=i.length;ed){var A=c.substring(d,x-f.length);v.type==C?v.value+=A:(v.type&&u.push(v),v={type:C,value:A})}for(var R=0;Ry){for(b>2*c.length&&this.reportError("infinite loop with in ace tokenizer",{startState:r,line:c});d1&&i[0]!==n&&i.unshift("#tmp",n),{tokens:u,state:i.length?i:n}},l}();p.prototype.reportError=m,T.Tokenizer=p}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],function(L,T,I){"use strict";var m=L("../lib/deep_copy").deepCopy,y;y=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}},function(){this.addRules=function(c,r){if(!r){for(var i in c)this.$rules[i]=c[i];return}for(var i in c){for(var n=c[i],e=0;e=this.$rowTokens.length;){if(this.$row+=1,l||(l=this.$session.getLength()),this.$row>=l)return this.$row=l-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},p.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},p.prototype.getCurrentTokenRow=function(){return this.$row},p.prototype.getCurrentTokenColumn=function(){var l=this.$rowTokens,c=this.$tokenIndex,r=l[c].start;if(r!==void 0)return r;for(r=0;c>0;)c-=1,r+=l[c].value.length;return r},p.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},p.prototype.getCurrentTokenRange=function(){var l=this.$rowTokens[this.$tokenIndex],c=this.getCurrentTokenColumn();return new m(this.$row,c,this.$row,c+l.value.length)},p}();T.TokenIterator=y}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(L,T,I){"use strict";var m=L("../../lib/oop"),y=L("../behaviour").Behaviour,p=L("../../token_iterator").TokenIterator,l=L("../../lib/lang"),c=["text","paren.rparen","rparen","paren","punctuation.operator"],r=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],i,n={},e={'"':'"',"'":"'"},t=function(u){var d=-1;if(u.multiSelect&&(d=u.selection.index,n.rangeCount!=u.multiSelect.rangeCount&&(n={rangeCount:u.multiSelect.rangeCount})),n[d])return i=n[d];i=n[d]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},o=function(u,d,b,v){var C=u.end.row-u.start.row;return{text:b+d+v,selection:[0,u.start.column+1,C,u.end.column+(C?0:1)]}},a;a=function(u){u=u||{},this.add("braces","insertion",function(d,b,v,C,k){var f=v.getCursorPosition(),x=C.doc.getLine(f.row);if(k=="{"){t(v);var A=v.getSelectionRange(),R=C.doc.getTextRange(A);if(R!==""&&R!=="{"&&v.getWrapBehavioursEnabled())return o(A,R,"{","}");if(a.isSaneInsertion(v,C))return/[\]\}\)]/.test(x[f.column])||v.inMultiSelectMode||u.braces?(a.recordAutoInsert(v,C,"}"),{text:"{}",selection:[1,1]}):(a.recordMaybeInsert(v,C,"{"),{text:"{",selection:[1,1]})}else if(k=="}"){t(v);var $=x.substring(f.column,f.column+1);if($=="}"){var S=C.$findOpeningBracket("}",{column:f.column+1,row:f.row});if(S!==null&&a.isAutoInsertedClosing(f,x,k))return a.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}else if(k==` `||k==`\r `){t(v);var w="";a.isMaybeInsertedClosing(f,x)&&(w=l.stringRepeat("}",i.maybeInsertedBrackets),a.clearMaybeInsertedClosing());var $=x.substring(f.column,f.column+1);if($==="}"){var g=C.findMatchingBracket({row:f.row,column:f.column+1},"}");if(!g)return null;var E=this.$getIndent(C.getLine(g.row))}else if(w)var E=this.$getIndent(x);else{a.clearMaybeInsertedClosing();return}var _=E+C.getTabString();return{text:` `+_+` `+E+w,selection:[1,_.length,1,_.length]}}else a.clearMaybeInsertedClosing()}),this.add("braces","deletion",function(d,b,v,C,k){var f=C.doc.getTextRange(k);if(!k.isMultiLine()&&f=="{"){t(v);var x=C.doc.getLine(k.start.row),A=x.substring(k.end.column,k.end.column+1);if(A=="}")return k.end.column++,k;i.maybeInsertedBrackets--}}),this.add("parens","insertion",function(d,b,v,C,k){if(k=="("){t(v);var f=v.getSelectionRange(),x=C.doc.getTextRange(f);if(x!==""&&v.getWrapBehavioursEnabled())return o(f,x,"(",")");if(a.isSaneInsertion(v,C))return a.recordAutoInsert(v,C,")"),{text:"()",selection:[1,1]}}else if(k==")"){t(v);var A=v.getCursorPosition(),R=C.doc.getLine(A.row),$=R.substring(A.column,A.column+1);if($==")"){var S=C.$findOpeningBracket(")",{column:A.column+1,row:A.row});if(S!==null&&a.isAutoInsertedClosing(A,R,k))return a.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("parens","deletion",function(d,b,v,C,k){var f=C.doc.getTextRange(k);if(!k.isMultiLine()&&f=="("){t(v);var x=C.doc.getLine(k.start.row),A=x.substring(k.start.column+1,k.start.column+2);if(A==")")return k.end.column++,k}}),this.add("brackets","insertion",function(d,b,v,C,k){if(k=="["){t(v);var f=v.getSelectionRange(),x=C.doc.getTextRange(f);if(x!==""&&v.getWrapBehavioursEnabled())return o(f,x,"[","]");if(a.isSaneInsertion(v,C))return a.recordAutoInsert(v,C,"]"),{text:"[]",selection:[1,1]}}else if(k=="]"){t(v);var A=v.getCursorPosition(),R=C.doc.getLine(A.row),$=R.substring(A.column,A.column+1);if($=="]"){var S=C.$findOpeningBracket("]",{column:A.column+1,row:A.row});if(S!==null&&a.isAutoInsertedClosing(A,R,k))return a.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("brackets","deletion",function(d,b,v,C,k){var f=C.doc.getTextRange(k);if(!k.isMultiLine()&&f=="["){t(v);var x=C.doc.getLine(k.start.row),A=x.substring(k.start.column+1,k.start.column+2);if(A=="]")return k.end.column++,k}}),this.add("string_dquotes","insertion",function(d,b,v,C,k){var f=C.$mode.$quotes||e;if(k.length==1&&f[k]){if(this.lineCommentStart&&this.lineCommentStart.indexOf(k)!=-1)return;t(v);var x=k,A=v.getSelectionRange(),R=C.doc.getTextRange(A);if(R!==""&&(R.length!=1||!f[R])&&v.getWrapBehavioursEnabled())return o(A,R,x,x);if(!R){var $=v.getCursorPosition(),S=C.doc.getLine($.row),w=S.substring($.column-1,$.column),g=S.substring($.column,$.column+1),E=C.getTokenAt($.row,$.column),_=C.getTokenAt($.row,$.column+1);if(w=="\\"&&E&&/escape/.test(E.type))return null;var O=E&&/string|escape/.test(E.type),F=!_||/string|escape/.test(_.type),D;if(g==x)D=O!==F,D&&/string\.end/.test(_.type)&&(D=!1);else{if(O&&!F||O&&F)return null;var W=C.$mode.tokenRe;W.lastIndex=0;var j=W.test(w);W.lastIndex=0;var H=W.test(g),P=C.$mode.$pairQuotesAfter,z=P&&P[x]&&P[x].test(w);if(!z&&j||H||g&&!/[\s;,.})\]\\]/.test(g))return null;var B=S[$.column-2];if(w==x&&(B==x||W.test(B)))return null;D=!0}return{text:D?x+x:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(d,b,v,C,k){var f=C.$mode.$quotes||e,x=C.doc.getTextRange(k);if(!k.isMultiLine()&&f.hasOwnProperty(x)){t(v);var A=C.doc.getLine(k.start.row),R=A.substring(k.start.column+1,k.start.column+2);if(R==x)return k.end.column++,k}}),u.closeDocComment!==!1&&this.add("doc comment end","insertion",function(d,b,v,C,k){if(d==="doc-start"&&(k===` `||k===`\r `)&&v.selection.isEmpty()){var f=v.getCursorPosition(),x=C.doc.getLine(f.row),A=C.doc.getLine(f.row+1),R=this.$getIndent(x);if(/\s*\*/.test(A))return/^\s*\*/.test(x)?{text:k+R+"* ",selection:[1,3+R.length,1,3+R.length]}:{text:k+R+" * ",selection:[1,3+R.length,1,3+R.length]};if(/\/\*\*/.test(x.substring(0,f.column)))return{text:k+R+" * "+k+" "+R+"*/",selection:[1,4+R.length,1,4+R.length]}}})},a.isSaneInsertion=function(u,d){var b=u.getCursorPosition(),v=new p(d,b.row,b.column);if(!this.$matchTokenType(v.getCurrentToken()||"text",c)){if(/[)}\]]/.test(u.session.getLine(b.row)[b.column]))return!0;var C=new p(d,b.row,b.column+1);if(!this.$matchTokenType(C.getCurrentToken()||"text",c))return!1}return v.stepForward(),v.getCurrentTokenRow()!==b.row||this.$matchTokenType(v.getCurrentToken()||"text",r)},a.$matchTokenType=function(u,d){return d.indexOf(u.type||u)>-1},a.recordAutoInsert=function(u,d,b){var v=u.getCursorPosition(),C=d.doc.getLine(v.row);this.isAutoInsertedClosing(v,C,i.autoInsertedLineEnd[0])||(i.autoInsertedBrackets=0),i.autoInsertedRow=v.row,i.autoInsertedLineEnd=b+C.substr(v.column),i.autoInsertedBrackets++},a.recordMaybeInsert=function(u,d,b){var v=u.getCursorPosition(),C=d.doc.getLine(v.row);this.isMaybeInsertedClosing(v,C)||(i.maybeInsertedBrackets=0),i.maybeInsertedRow=v.row,i.maybeInsertedLineStart=C.substr(0,v.column)+b,i.maybeInsertedLineEnd=C.substr(v.column),i.maybeInsertedBrackets++},a.isAutoInsertedClosing=function(u,d,b){return i.autoInsertedBrackets>0&&u.row===i.autoInsertedRow&&b===i.autoInsertedLineEnd[0]&&d.substr(u.column)===i.autoInsertedLineEnd},a.isMaybeInsertedClosing=function(u,d){return i.maybeInsertedBrackets>0&&u.row===i.maybeInsertedRow&&d.substr(u.column)===i.maybeInsertedLineEnd&&d.substr(0,u.column)==i.maybeInsertedLineStart},a.popAutoInsertedClosing=function(){i.autoInsertedLineEnd=i.autoInsertedLineEnd.substr(1),i.autoInsertedBrackets--},a.clearMaybeInsertedClosing=function(){i&&(i.maybeInsertedBrackets=0,i.maybeInsertedRow=-1)},m.inherits(a,y),T.CstyleBehaviour=a}),ace.define("ace/unicode",["require","exports","module"],function(L,T,I){"use strict";for(var m=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],y=0,p=[],l=0;l2?B%k!=k-1:B%k==0}}else{if(!this.blockComment)return!1;var x=this.blockComment.start,A=this.blockComment.end,R=new RegExp("^(\\s*)(?:"+r.escapeRegExp(x)+")"),$=new RegExp("(?:"+r.escapeRegExp(A)+")\\s*$"),S=function(D,W){g(D,W)||(!b||/\S/.test(D))&&(d.insertInLine({row:W,column:D.length},A),d.insertInLine({row:W,column:C},x))},w=function(D,W){var j;(j=D.match($))&&d.removeInLine(W,D.length-j[0].length,D.length),(j=D.match(R))&&d.removeInLine(W,j[1].length,j[0].length)},g=function(D,W){if(R.test(D))return!0;for(var j=o.getTokens(W),H=0;HD.length&&(F=D.length)}),C==1/0&&(C=F,b=!1,v=!1),f&&C%k!=0&&(C=Math.floor(C/k)*k),O(v?w:S)},this.toggleBlockComment=function(t,o,a,u){var d=this.blockComment;if(d){!d.start&&d[0]&&(d=d[0]);var b=new i(o,u.row,u.column),v=b.getCurrentToken(),C=o.selection,k=o.selection.toOrientedRange(),f,x;if(v&&/comment/.test(v.type)){for(var A,R;v&&/comment/.test(v.type);){var $=v.value.indexOf(d.start);if($!=-1){var S=b.getCurrentTokenRow(),w=b.getCurrentTokenColumn()+$;A=new n(S,w,S,w+d.start.length);break}v=b.stepBackward()}for(var b=new i(o,u.row,u.column),v=b.getCurrentToken();v&&/comment/.test(v.type);){var $=v.value.indexOf(d.end);if($!=-1){var S=b.getCurrentTokenRow(),w=b.getCurrentTokenColumn()+$;R=new n(S,w,S,w+d.end.length);break}v=b.stepForward()}R&&o.remove(R),A&&(o.remove(A),f=A.start.row,x=-d.start.length)}else x=d.start.length,f=a.start.row,o.insert(a.end,d.end),o.insert(a.start,d.start);k.start.row==f&&(k.start.column+=x),k.end.row==f&&(k.end.column+=x),o.selection.fromOrientedRange(k)}},this.getNextLineIndent=function(t,o,a){return this.$getIndent(o)},this.checkOutdent=function(t,o,a){return!1},this.autoOutdent=function(t,o,a){},this.$getIndent=function(t){return t.match(/^\s*/)[0]},this.createWorker=function(t){return null},this.createModeDelegates=function(t){this.$embeds=[],this.$modes={};for(var o in t)if(t[o]){var a=t[o],u=a.prototype.$id,d=m.$modes[u];d||(m.$modes[u]=d=new a),m.$modes[o]||(m.$modes[o]=d),this.$embeds.push(o),this.$modes[o]=d}for(var b=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],v=function(k){(function(f){var x=b[k],A=f[x];f[b[k]]=function(){return this.$delegator(x,arguments,A)}})(C)},C=this,o=0;o=0&&c.row=0&&c.column<=l[c.row].length}function p(l,c){c.action!="insert"&&c.action!="remove"&&m(c,"delta.action must be 'insert' or 'remove'"),c.lines instanceof Array||m(c,"delta.lines must be an Array"),(!c.start||!c.end)&&m(c,"delta.start/end must be an present");var r=c.start;y(l,c.start)||m(c,"delta.start must be contained in document");var i=c.end;c.action=="remove"&&!y(l,i)&&m(c,"delta.end must contained in document for 'remove' actions");var n=i.row-r.row,e=i.column-(n==0?r.column:0);(n!=c.lines.length-1||c.lines[n].length!=e)&&m(c,"delta.range must match delta lines")}T.applyDelta=function(l,c,r){var i=c.start.row,n=c.start.column,e=l[i]||"";switch(c.action){case"insert":var t=c.lines;if(t.length===1)l[i]=e.substring(0,n)+c.lines[0]+e.substring(n);else{var o=[i,1].concat(c.lines);l.splice.apply(l,o),l[i]=e.substring(0,n)+l[i],l[i+c.lines.length-1]+=e.substring(n)}break;case"remove":var a=c.end.column,u=c.end.row;i===u?l[i]=e.substring(0,n)+e.substring(a):l.splice(i,u-i+1,e.substring(0,n)+l[u].substring(a));break}}}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(L,T,I){"use strict";var m=L("./lib/oop"),y=L("./lib/event_emitter").EventEmitter,p=function(){function r(i,n,e){this.$onChange=this.onChange.bind(this),this.attach(i),typeof n!="number"?this.setPosition(n.row,n.column):this.setPosition(n,e)}return r.prototype.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},r.prototype.getDocument=function(){return this.document},r.prototype.onChange=function(i){if(!(i.start.row==i.end.row&&i.start.row!=this.row)&&!(i.start.row>this.row)){var n=c(i,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},r.prototype.setPosition=function(i,n,e){var t;if(e?t={row:i,column:n}:t=this.$clipPositionToDocument(i,n),!(this.row==t.row&&this.column==t.column)){var o={row:this.row,column:this.column};this.row=t.row,this.column=t.column,this._signal("change",{old:o,value:t})}},r.prototype.detach=function(){this.document.off("change",this.$onChange)},r.prototype.attach=function(i){this.document=i||this.document,this.document.on("change",this.$onChange)},r.prototype.$clipPositionToDocument=function(i,n){var e={};return i>=this.document.getLength()?(e.row=Math.max(0,this.document.getLength()-1),e.column=this.document.getLine(e.row).length):i<0?(e.row=0,e.column=0):(e.row=i,e.column=Math.min(this.document.getLine(e.row).length,Math.max(0,n))),n<0&&(e.column=0),e},r}();p.prototype.$insertRight=!1,m.implement(p.prototype,y);function l(r,i,n){var e=n?r.column<=i.column:r.column=t&&(n=t-1,e=void 0);var o=this.getLine(n);return e==null&&(e=o.length),e=Math.min(Math.max(e,0),o.length),{row:n,column:e}},i.prototype.clonePos=function(n){return{row:n.row,column:n.column}},i.prototype.pos=function(n,e){return{row:n,column:e}},i.prototype.$clipPosition=function(n){var e=this.getLength();return n.row>=e?(n.row=Math.max(0,e-1),n.column=this.getLine(e-1).length):(n.row=Math.max(0,n.row),n.column=Math.min(Math.max(n.column,0),this.getLine(n.row).length)),n},i.prototype.insertFullLines=function(n,e){n=Math.min(Math.max(n,0),this.getLength());var t=0;n0,o=e=0&&this.applyDelta({start:this.pos(n,this.getLine(n).length),end:this.pos(n+1,0),action:"remove",lines:["",""]})},i.prototype.replace=function(n,e){if(n instanceof l||(n=l.fromPoints(n.start,n.end)),e.length===0&&n.isEmpty())return n.start;if(e==this.getTextRange(n))return n.end;this.remove(n);var t;return e?t=this.insert(n.start,e):t=n.start,t},i.prototype.applyDeltas=function(n){for(var e=0;e=0;e--)this.revertDelta(n[e])},i.prototype.applyDelta=function(n,e){var t=n.action=="insert";(t?n.lines.length<=1&&!n.lines[0]:!l.comparePoints(n.start,n.end))||(t&&n.lines.length>2e4?this.$splitAndapplyLargeDelta(n,2e4):(y(this.$lines,n,e),this._signal("change",n)))},i.prototype.$safeApplyDelta=function(n){var e=this.$lines.length;(n.action=="remove"&&n.start.row20){i.running=setTimeout(i.$worker,20);break}}i.currentLine=e,t==-1&&(t=e),a<=t&&i.fireUpdateEvent(a,t)}}}return l.prototype.setTokenizer=function(c){this.tokenizer=c,this.lines=[],this.states=[],this.start(0)},l.prototype.setDocument=function(c){this.doc=c,this.lines=[],this.states=[],this.stop()},l.prototype.fireUpdateEvent=function(c,r){var i={first:c,last:r};this._signal("update",{data:i})},l.prototype.start=function(c){this.currentLine=Math.min(c||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},l.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},l.prototype.$updateOnChange=function(c){var r=c.start.row,i=c.end.row-r;if(i===0)this.lines[r]=null;else if(c.action=="remove")this.lines.splice(r,i+1,null),this.states.splice(r,i+1,null);else{var n=Array(i+1);n.unshift(r,1),this.lines.splice.apply(this.lines,n),this.states.splice.apply(this.states,n)}this.currentLine=Math.min(r,this.currentLine,this.doc.getLength()),this.stop()},l.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},l.prototype.getTokens=function(c){return this.lines[c]||this.$tokenizeRow(c)},l.prototype.getState=function(c){return this.currentLine==c&&this.$tokenizeRow(c),this.states[c]||"start"},l.prototype.$tokenizeRow=function(c){var r=this.doc.getLine(c),i=this.states[c-1],n=this.tokenizer.getLineTokens(r,i,c);return this.states[c]+""!=n.state+""?(this.states[c]=n.state,this.lines[c+1]=null,this.currentLine>c+1&&(this.currentLine=c+1)):this.currentLine==c&&(this.currentLine=c+1),this.lines[c]=n.tokens},l.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},l}();m.implement(p.prototype,y),T.BackgroundTokenizer=p}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],function(L,T,I){"use strict";var m=L("./lib/lang"),y=L("./range").Range,p=function(){function l(c,r,i){i===void 0&&(i="text"),this.setRegexp(c),this.clazz=r,this.type=i}return l.prototype.setRegexp=function(c){this.regExp+""!=c+""&&(this.regExp=c,this.cache=[])},l.prototype.update=function(c,r,i,n){if(this.regExp)for(var e=n.firstRow,t=n.lastRow,o={},a=e;a<=t;a++){var u=this.cache[a];u==null&&(u=m.getMatchOffsets(i.getLine(a),this.regExp),u.length>this.MAX_RANGES&&(u=u.slice(0,this.MAX_RANGES)),u=u.map(function(C){return new y(a,C.offset,a,C.offset+C.length)}),this.cache[a]=u.length?u:"");for(var d=u.length;d--;){var b=u[d].toScreenRange(i),v=b.toString();o[v]||(o[v]=!0,r.drawSingleLineMarker(c,b,this.clazz,n))}}},l}();p.prototype.MAX_RANGES=500,T.SearchHighlight=p}),ace.define("ace/undomanager",["require","exports","module","ace/range"],function(L,T,I){"use strict";var m=function(){function f(){this.$keepRedoStack,this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return f.prototype.addSession=function(x){this.$session=x},f.prototype.add=function(x,A,R){if(!this.$fromUndo&&x!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),A===!1||!this.lastDeltas){this.lastDeltas=[];var $=this.$undoStack.length;$>this.$undoDepth-1&&this.$undoStack.splice(0,$-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),x.id=this.$rev=++this.$maxRev}(x.action=="remove"||x.action=="insert")&&(this.$lastDelta=x),this.lastDeltas.push(x)}},f.prototype.addSelection=function(x,A){this.selections.push({value:x,rev:A||this.$rev})},f.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},f.prototype.markIgnored=function(x,A){A==null&&(A=this.$rev+1);for(var R=this.$undoStack,$=R.length;$--;){var S=R[$][0];if(S.id<=x)break;S.id0},f.prototype.canRedo=function(){return this.$redoStack.length>0},f.prototype.bookmark=function(x){x==null&&(x=this.$rev),this.mark=x},f.prototype.isAtBookmark=function(){return this.$rev===this.mark},f.prototype.toJSON=function(){return{$redoStack:this.$redoStack,$undoStack:this.$undoStack}},f.prototype.fromJSON=function(x){this.reset(),this.$undoStack=x.$undoStack,this.$redoStack=x.$redoStack},f.prototype.$prettyPrint=function(x){return x?e(x):e(this.$undoStack)+` --- `+e(this.$redoStack)},f}();m.prototype.hasUndo=m.prototype.canUndo,m.prototype.hasRedo=m.prototype.canRedo,m.prototype.isClean=m.prototype.isAtBookmark,m.prototype.markClean=m.prototype.bookmark;function y(f,x){for(var A=x;A--;){var R=f[A];if(R&&!R[0].ignore){for(;A0){g.row+=$,g.column+=g.row==R.row?S:0;continue}!x&&_<=0&&(g.row=A.row,g.column=A.column,_===0&&(g.bias=1))}}}function i(f){return{row:f.row,column:f.column}}function n(f){return{start:i(f.start),end:i(f.end),action:f.action,lines:f.lines.slice()}}function e(f){if(f=f||this,Array.isArray(f))return f.map(e).join(` `);var x="";return f.action?(x=f.action=="insert"?"+":"-",x+="["+f.lines+"]"):f.value&&(Array.isArray(f.value)?x=f.value.map(t).join(` `):x=t(f.value)),f.start&&(x+=t(f)),(f.id||f.rev)&&(x+=" ("+(f.id||f.rev)+")"),x}function t(f){return f.start.row+":"+f.start.column+"=>"+f.end.row+":"+f.end.column}function o(f,x){var A=f.action=="insert",R=x.action=="insert";if(A&&R)if(l(x.start,f.end)>=0)d(x,f,-1);else if(l(x.start,f.start)<=0)d(f,x,1);else return null;else if(A&&!R)if(l(x.start,f.end)>=0)d(x,f,-1);else if(l(x.end,f.start)<=0)d(f,x,-1);else return null;else if(!A&&R)if(l(x.start,f.start)>=0)d(x,f,1);else if(l(x.start,f.start)<=0)d(f,x,1);else return null;else if(!A&&!R)if(l(x.start,f.start)>=0)d(x,f,1);else if(l(x.end,f.start)<=0)d(f,x,-1);else return null;return[x,f]}function a(f,x){for(var A=f.length;A--;)for(var R=0;R=0?d(f,x,-1):(l(f.start,x.start)<=0||d(f,p.fromPoints(x.start,f.start),-1),d(x,f,1));else if(!A&&R)l(x.start,f.end)>=0?d(x,f,-1):(l(x.start,f.start)<=0||d(x,p.fromPoints(f.start,x.start),-1),d(f,x,1));else if(!A&&!R)if(l(x.start,f.end)>=0)d(x,f,-1);else if(l(x.end,f.start)<=0)d(f,x,-1);else{var $,S;return l(f.start,x.start)<0&&($=f,f=v(f,x.start)),l(f.end,x.end)>0&&(S=v(f,x.end)),b(x.end,f.start,f.end,-1),S&&!$&&(f.lines=S.lines,f.start=S.start,f.end=S.end,S=f),[x,$,S].filter(Boolean)}return[x,f]}function d(f,x,A){b(f.start,x.start,x.end,A),b(f.end,x.start,x.end,A)}function b(f,x,A,R){f.row==(R==1?x:A).row&&(f.column+=R*(A.column-x.column)),f.row+=R*(A.row-x.row)}function v(f,x){var A=f.lines,R=f.end;f.end=i(x);var $=f.end.row-f.start.row,S=A.splice($,A.length),w=$?x.column:x.column-f.start.column;A.push(S[0].substring(0,w)),S[0]=S[0].substr(w);var g={start:i(x),end:R,lines:S,action:f.action};return g}function C(f,x){x=n(x);for(var A=f.length;A--;){for(var R=f[A],$=0;$this.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(l),this.folds.sort(function(c,r){return-c.range.compareEnd(r.start.row,r.start.column)}),this.range.compareEnd(l.start.row,l.start.column)>0?(this.end.row=l.end.row,this.end.column=l.end.column):this.range.compareStart(l.end.row,l.end.column)<0&&(this.start.row=l.start.row,this.start.column=l.start.column)}else if(l.start.row==this.end.row)this.folds.push(l),this.end.row=l.end.row,this.end.column=l.end.column;else if(l.end.row==this.start.row)this.folds.unshift(l),this.start.row=l.start.row,this.start.column=l.start.column;else throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");l.foldLine=this},p.prototype.containsRow=function(l){return l>=this.start.row&&l<=this.end.row},p.prototype.walk=function(l,c,r){var i=0,n=this.folds,e,t,o,a=!0;c==null&&(c=this.end.row,r=this.end.column);for(var u=0;u0)){var a=y(c,t.start);return o===0?r&&a!==0?-e-2:e:a>0||a===0&&!r?e:-e-1}}return-e-1},l.prototype.add=function(c){var r=!c.isEmpty(),i=this.pointIndex(c.start,r);i<0&&(i=-i-1);var n=this.pointIndex(c.end,r,i);return n<0?n=-n-1:n++,this.ranges.splice(i,n-i,c)},l.prototype.addList=function(c){for(var r=[],i=c.length;i--;)r.push.apply(r,this.add(c[i]));return r},l.prototype.substractPoint=function(c){var r=this.pointIndex(c);if(r>=0)return this.ranges.splice(r,1)},l.prototype.merge=function(){var c=[],r=this.ranges;r=r.sort(function(o,a){return y(o.start,a.start)});for(var i=r[0],n,e=1;e=0},l.prototype.containsPoint=function(c){return this.pointIndex(c)>=0},l.prototype.rangeAtPoint=function(c){var r=this.pointIndex(c);if(r>=0)return this.ranges[r]},l.prototype.clipRows=function(c,r){var i=this.ranges;if(i[0].start.row>r||i[i.length-1].start.row=n)break}if(c.action=="insert")for(var d=e-n,b=-r.column+i.column;on)break;if(u.start.row==n&&u.start.column>=r.column&&(u.start.column==r.column&&this.$bias<=0||(u.start.column+=b,u.start.row+=d)),u.end.row==n&&u.end.column>=r.column){if(u.end.column==r.column&&this.$bias<0)continue;u.end.column==r.column&&b>0&&ou.start.column&&u.end.column==t[o+1].start.column&&(u.end.column-=b),u.end.column+=b,u.end.row+=d}}else for(var d=n-e,b=r.column-i.column;oe)break;u.end.rowr.column)&&(u.end.column=r.column,u.end.row=r.row):(u.end.column+=b,u.end.row+=d):u.end.row>e&&(u.end.row+=d),u.start.rowr.column)&&(u.start.column=r.column,u.start.row=r.row):(u.start.column+=b,u.start.row+=d):u.start.row>e&&(u.start.row+=d)}if(d!=0&&o=i)return o;if(o.end.row>i)return null}return null},this.getNextFoldLine=function(i,n){var e=this.$foldData,t=0;for(n&&(t=e.indexOf(n)),t==-1&&(t=0),t;t=i)return o}return null},this.getFoldedRowCount=function(i,n){for(var e=this.$foldData,t=n-i+1,o=0;o=n){d=i?t-=n-d:t=0);break}else u>=i&&(d>=i?t-=u-d:t-=u-i+1)}return t},this.$addFoldLine=function(i){return this.$foldData.push(i),this.$foldData.sort(function(n,e){return n.start.row-e.start.row}),i},this.addFold=function(i,n){var e=this.$foldData,t=!1,o;i instanceof p?o=i:(o=new p(n,i),o.collapseChildren=n.collapseChildren),this.$clipRangeToDocument(o.range);var a=o.start.row,u=o.start.column,d=o.end.row,b=o.end.column,v=this.getFoldAt(a,u,1),C=this.getFoldAt(d,b,-1);if(v&&C==v)return v.addSubFold(o);v&&!v.range.isStart(a,u)&&this.removeFold(v),C&&!C.range.isEnd(d,b)&&this.removeFold(C);var k=this.getFoldsInRange(o.range);k.length>0&&(this.removeFolds(k),o.collapseChildren||k.forEach(function(R){o.addSubFold(R)}));for(var f=0;f0&&this.foldAll(i.start.row+1,i.end.row,i.collapseChildren-1),i.subFolds=[]},this.expandFolds=function(i){i.forEach(function(n){this.expandFold(n)},this)},this.unfold=function(i,n){var e,t;if(i==null)e=new m(0,0,this.getLength(),0),n==null&&(n=!0);else if(typeof i=="number")e=new m(i,0,i,this.getLine(i).length);else if("row"in i)e=m.fromPoints(i,i);else{if(Array.isArray(i))return t=[],i.forEach(function(a){t=t.concat(this.unfold(a))},this),t;e=i}t=this.getFoldsInRangeList(e);for(var o=t;t.length==1&&m.comparePoints(t[0].start,e.start)<0&&m.comparePoints(t[0].end,e.end)>0;)this.expandFolds(t),t=this.getFoldsInRangeList(e);if(n!=!1?this.removeFolds(t):this.expandFolds(t),o.length)return o},this.isRowFolded=function(i,n){return!!this.getFoldLine(i,n)},this.getRowFoldEnd=function(i,n){var e=this.getFoldLine(i,n);return e?e.end.row:i},this.getRowFoldStart=function(i,n){var e=this.getFoldLine(i,n);return e?e.start.row:i},this.getFoldDisplayLine=function(i,n,e,t,o){t==null&&(t=i.start.row),o==null&&(o=0),n==null&&(n=i.end.row),e==null&&(e=this.getLine(n).length);var a=this.doc,u="";return i.walk(function(d,b,v,C){if(!(bb)break;while(o&&u.test(o.type)&&!/^comment.start/.test(o.type));o=t.stepBackward()}else o=t.getCurrentToken();return d.end.row=t.getCurrentTokenRow(),d.end.column=t.getCurrentTokenColumn(),/^comment.end/.test(o.type)||(d.end.column+=o.value.length-2),d}},this.foldAll=function(i,n,e,t){e==null&&(e=1e5);var o=this.foldWidgets;if(o){n=n||this.getLength(),i=i||0;for(var a=i;a=i&&(a=u.end.row,u.collapseChildren=e,this.addFold("...",u))}}},this.foldToLevel=function(i){for(this.foldAll();i-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var i=this;this.foldAll(null,null,null,function(n){for(var e=i.getTokens(n),t=0;t=0;){var a=e[t];if(a==null&&(a=e[t]=this.getFoldWidget(t)),a=="start"){var u=this.getFoldWidgetRange(t);if(o||(o=u),u&&u.end.row>=i)break}t--}return{range:t!==-1&&u,firstRange:o}},this.onFoldWidgetClick=function(i,n){n instanceof c&&(n=n.domEvent);var e={children:n.shiftKey,all:n.ctrlKey||n.metaKey,siblings:n.altKey},t=this.$toggleFoldWidget(i,e);if(!t){var o=n.target||n.srcElement;o&&/ace_fold-widget/.test(o.className)&&(o.className+=" ace_invalid")}},this.$toggleFoldWidget=function(i,n){if(this.getFoldWidget){var e=this.getFoldWidget(i),t=this.getLine(i),o=e==="end"?-1:1,a=this.getFoldAt(i,o===-1?0:t.length,o);if(a)return n.children||n.all?this.removeFold(a):this.expandFold(a),a;var u=this.getFoldWidgetRange(i,!0);if(u&&!u.isMultiLine()&&(a=this.getFoldAt(u.start.row,u.start.column,1),a&&u.isEqual(a.range)))return this.removeFold(a),a;if(n.siblings){var d=this.getParentFoldRangeData(i);if(d.range)var b=d.range.start.row+1,v=d.range.end.row;this.foldAll(b,v,n.all?1e4:0)}else n.children?(v=u?u.end.row:this.getLength(),this.foldAll(i+1,v,n.all?1e4:0)):u&&(n.all&&(u.collapseChildren=1e4),this.addFold("...",u));return u}},this.toggleFoldWidget=function(i){var n=this.selection.getCursor().row;n=this.getRowFoldStart(n);var e=this.$toggleFoldWidget(n,{});if(!e){var t=this.getParentFoldRangeData(n,!0);if(e=t.range||t.firstRange,e){n=e.start.row;var o=this.getFoldAt(n,this.getLine(n).length,1);o?this.removeFold(o):this.addFold("...",e)}}},this.updateFoldWidgets=function(i){var n=i.start.row,e=i.end.row-n;if(e===0)this.foldWidgets[n]=null;else if(i.action=="remove")this.foldWidgets.splice(n,e+1,null);else{var t=Array(e+1);t.unshift(n,1),this.foldWidgets.splice.apply(this.foldWidgets,t)}},this.tokenizerUpdateFoldWidgets=function(i){var n=i.data;n.first!=n.last&&this.foldWidgets.length>n.first&&this.foldWidgets.splice(n.first,this.foldWidgets.length)}}T.Folding=r}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(L,T,I){"use strict";var m=L("../token_iterator").TokenIterator,y=L("../range").Range;function p(){this.findMatchingBracket=function(l,c){if(l.column==0)return null;var r=c||this.getLine(l.row).charAt(l.column-1);if(r=="")return null;var i=r.match(/([\(\[\{])|([\)\]\}])/);return i?i[1]?this.$findClosingBracket(i[1],l):this.$findOpeningBracket(i[2],l):null},this.getBracketRange=function(l){var c=this.getLine(l.row),r=!0,i,n=c.charAt(l.column-1),e=n&&n.match(/([\(\[\{])|([\)\]\}])/);if(e||(n=c.charAt(l.column),l={row:l.row,column:l.column+1},e=n&&n.match(/([\(\[\{])|([\)\]\}])/),r=!1),!e)return null;if(e[1]){var t=this.$findClosingBracket(e[1],l);if(!t)return null;i=y.fromPoints(l,t),r||(i.end.column++,i.start.column--),i.cursor=i.end}else{var t=this.$findOpeningBracket(e[2],l);if(!t)return null;i=y.fromPoints(t,l),r||(i.start.column++,i.end.column--),i.cursor=i.start}return i},this.getMatchingBracketRanges=function(l,c){var r=this.getLine(l.row),i=/([\(\[\{])|([\)\]\}])/,n=!c&&r.charAt(l.column-1),e=n&&n.match(i);if(e||(n=(c===void 0||c)&&r.charAt(l.column),l={row:l.row,column:l.column+1},e=n&&n.match(i)),!e)return null;var t=new y(l.row,l.column-1,l.row,l.column),o=e[1]?this.$findClosingBracket(e[1],l):this.$findOpeningBracket(e[2],l);if(!o)return[t];var a=new y(o.row,o.column,o.row,o.column+1);return[t,a]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(l,c,r){var i=this.$brackets[l],n=1,e=new m(this,c.row,c.column),t=e.getCurrentToken();if(t||(t=e.stepForward()),!!t){r||(r=new RegExp("(\\.?"+t.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var o=c.column-e.getCurrentTokenColumn()-2,a=t.value;;){for(;o>=0;){var u=a.charAt(o);if(u==i){if(n-=1,n==0)return{row:e.getCurrentTokenRow(),column:o+e.getCurrentTokenColumn()}}else u==l&&(n+=1);o-=1}do t=e.stepBackward();while(t&&!r.test(t.type));if(t==null)break;a=t.value,o=a.length-1}return null}},this.$findClosingBracket=function(l,c,r){var i=this.$brackets[l],n=1,e=new m(this,c.row,c.column),t=e.getCurrentToken();if(t||(t=e.stepForward()),!!t){r||(r=new RegExp("(\\.?"+t.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var o=c.column-e.getCurrentTokenColumn();;){for(var a=t.value,u=a.length;o"?i=!0:c.type.indexOf("tag-name")!==-1&&(r=!0));while(c&&!r);return c},this.$findClosingTag=function(l,c){var r,i=c.value,n=c.value,e=0,t=new y(l.getCurrentTokenRow(),l.getCurrentTokenColumn(),l.getCurrentTokenRow(),l.getCurrentTokenColumn()+1);c=l.stepForward();var o=new y(l.getCurrentTokenRow(),l.getCurrentTokenColumn(),l.getCurrentTokenRow(),l.getCurrentTokenColumn()+c.value.length),a=!1;do if(r=c,c=l.stepForward(),c){if(c.value===">"&&!a){var u=new y(l.getCurrentTokenRow(),l.getCurrentTokenColumn(),l.getCurrentTokenRow(),l.getCurrentTokenColumn()+1);a=!0}if(c.type.indexOf("tag-name")!==-1){if(i=c.value,n===i){if(r.value==="<")e++;else if(r.value==="")var v=new y(l.getCurrentTokenRow(),l.getCurrentTokenColumn(),l.getCurrentTokenRow(),l.getCurrentTokenColumn()+1);else return}}}else if(n===i&&c.value==="/>"&&(e--,e<0))var d=new y(l.getCurrentTokenRow(),l.getCurrentTokenColumn(),l.getCurrentTokenRow(),l.getCurrentTokenColumn()+2),b=d,v=b,u=new y(o.end.row,o.end.column,o.end.row,o.end.column+1)}while(c&&e>=0);if(t&&u&&d&&v&&o&&b)return{openTag:new y(t.start.row,t.start.column,u.end.row,u.end.column),closeTag:new y(d.start.row,d.start.column,v.end.row,v.end.column),openTagName:o,closeTagName:b}},this.$findOpeningTag=function(l,c){var r=l.getCurrentToken(),i=c.value,n=0,e=l.getCurrentTokenRow(),t=l.getCurrentTokenColumn(),o=t+2,a=new y(e,t,e,o);l.stepForward();var u=new y(l.getCurrentTokenRow(),l.getCurrentTokenColumn(),l.getCurrentTokenRow(),l.getCurrentTokenColumn()+c.value.length);if(c=l.stepForward(),!(!c||c.value!==">")){var d=new y(l.getCurrentTokenRow(),l.getCurrentTokenColumn(),l.getCurrentTokenRow(),l.getCurrentTokenColumn()+1);l.stepBackward(),l.stepBackward();do if(c=r,e=l.getCurrentTokenRow(),t=l.getCurrentTokenColumn(),o=t+c.value.length,r=l.stepBackward(),c){if(c.type.indexOf("tag-name")!==-1){if(i===c.value)if(r.value==="<"){if(n++,n>0){var b=new y(e,t,e,o),v=new y(l.getCurrentTokenRow(),l.getCurrentTokenColumn(),l.getCurrentTokenRow(),l.getCurrentTokenColumn()+1);do c=l.stepForward();while(c&&c.value!==">");var C=new y(l.getCurrentTokenRow(),l.getCurrentTokenColumn(),l.getCurrentTokenRow(),l.getCurrentTokenColumn()+1)}}else r.value===""){for(var k=0,f=r;f;){if(f.type.indexOf("tag-name")!==-1&&f.value===i){n--;break}else if(f.value==="<")break;f=l.stepBackward(),k++}for(var x=0;xg&&(this.$docRowCache.splice(g,w),this.$screenRowCache.splice(g,w))},$.prototype.$getRowCacheIndex=function(S,w){for(var g=0,E=S.length-1;g<=E;){var _=g+E>>1,O=S[_];if(w>O)g=_+1;else if(w=w));O++);return E=g[O],E?(E.index=O,E.start=_-E.value.length,E):null},$.prototype.setUndoManager=function(S){if(this.$undoManager=S,this.$informUndoManager&&this.$informUndoManager.cancel(),S){var w=this;S.addSession(this),this.$syncInformUndoManager=function(){w.$informUndoManager.cancel(),w.mergeUndoDeltas=!1},this.$informUndoManager=y.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},$.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},$.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},$.prototype.getTabString=function(){return this.getUseSoftTabs()?y.stringRepeat(" ",this.getTabSize()):" "},$.prototype.setUseSoftTabs=function(S){this.setOption("useSoftTabs",S)},$.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},$.prototype.setTabSize=function(S){this.setOption("tabSize",S)},$.prototype.getTabSize=function(){return this.$tabSize},$.prototype.isTabStop=function(S){return this.$useSoftTabs&&S.column%this.$tabSize===0},$.prototype.setNavigateWithinSoftTabs=function(S){this.setOption("navigateWithinSoftTabs",S)},$.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},$.prototype.setOverwrite=function(S){this.setOption("overwrite",S)},$.prototype.getOverwrite=function(){return this.$overwrite},$.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},$.prototype.addGutterDecoration=function(S,w){this.$decorations[S]||(this.$decorations[S]=""),this.$decorations[S]+=" "+w,this._signal("changeBreakpoint",{})},$.prototype.removeGutterDecoration=function(S,w){this.$decorations[S]=(this.$decorations[S]||"").replace(" "+w,""),this._signal("changeBreakpoint",{})},$.prototype.getBreakpoints=function(){return this.$breakpoints},$.prototype.setBreakpoints=function(S){this.$breakpoints=[];for(var w=0;w0&&(E=!!g.charAt(w-1).match(this.tokenRe)),E||(E=!!g.charAt(w).match(this.tokenRe)),E)var _=this.tokenRe;else if(/^\s+$/.test(g.slice(w-1,w+1)))var _=/\s/;else var _=this.nonTokenRe;var O=w;if(O>0){do O--;while(O>=0&&g.charAt(O).match(_));O++}for(var F=w;FS&&(S=w.screenWidth)}),this.lineWidgetWidth=S},$.prototype.$computeWidth=function(S){if(this.$modified||S){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var w=this.doc.getAllLines(),g=this.$rowLengthCache,E=0,_=0,O=this.$foldData[_],F=O?O.start.row:1/0,D=w.length,W=0;WF){if(W=O.end.row+1,W>=D)break;O=this.$foldData[_++],F=O?O.start.row:1/0}g[W]==null&&(g[W]=this.$getStringScreenWidth(w[W])[0]),g[W]>E&&(E=g[W])}this.screenWidth=E}},$.prototype.getLine=function(S){return this.doc.getLine(S)},$.prototype.getLines=function(S,w){return this.doc.getLines(S,w)},$.prototype.getLength=function(){return this.doc.getLength()},$.prototype.getTextRange=function(S){return this.doc.getTextRange(S||this.selection.getRange())},$.prototype.insert=function(S,w){return this.doc.insert(S,w)},$.prototype.remove=function(S){return this.doc.remove(S)},$.prototype.removeFullLines=function(S,w){return this.doc.removeFullLines(S,w)},$.prototype.undoChanges=function(S,w){if(S.length){this.$fromUndo=!0;for(var g=S.length-1;g!=-1;g--){var E=S[g];E.action=="insert"||E.action=="remove"?this.doc.revertDelta(E):E.folds&&this.addFolds(E.folds)}!w&&this.$undoSelect&&(S.selectionBefore?this.selection.fromJSON(S.selectionBefore):this.selection.setRange(this.$getUndoSelection(S,!0))),this.$fromUndo=!1}},$.prototype.redoChanges=function(S,w){if(S.length){this.$fromUndo=!0;for(var g=0;gS.end.column&&(O.start.column+=D),O.end.row==S.end.row&&O.end.column>S.end.column&&(O.end.column+=D)),F&&O.start.row>=S.end.row&&(O.start.row+=F,O.end.row+=F)}if(O.end=this.insert(O.start,E),_.length){var W=S.start,j=O.start,F=j.row-W.row,D=j.column-W.column;this.addFolds(_.map(function(z){return z=z.clone(),z.start.row==W.row&&(z.start.column+=D),z.end.row==W.row&&(z.end.column+=D),z.start.row+=F,z.end.row+=F,z}))}return O},$.prototype.indentRows=function(S,w,g){g=g.replace(/\t/g,this.getTabString());for(var E=S;E<=w;E++)this.doc.insertInLine({row:E,column:0},g)},$.prototype.outdentRows=function(S){for(var w=S.collapseRows(),g=new n(0,0,0,0),E=this.getTabSize(),_=w.start.row;_<=w.end.row;++_){var O=this.getLine(_);g.start.row=_,g.end.row=_;for(var F=0;F0){var E=this.getRowFoldEnd(w+g);if(E>this.doc.getLength()-1)return 0;var _=E-w}else{S=this.$clipRowToDocument(S),w=this.$clipRowToDocument(w);var _=w-S+1}var O=new n(S,0,w,Number.MAX_VALUE),F=this.getFoldsInRange(O).map(function(W){return W=W.clone(),W.start.row+=_,W.end.row+=_,W}),D=g==0?this.doc.getLines(S,w):this.doc.removeFullLines(S,w);return this.doc.insertFullLines(S+_,D),F.length&&this.addFolds(F),_},$.prototype.moveLinesUp=function(S,w){return this.$moveLines(S,w,-1)},$.prototype.moveLinesDown=function(S,w){return this.$moveLines(S,w,1)},$.prototype.duplicateLines=function(S,w){return this.$moveLines(S,w,0)},$.prototype.$clipRowToDocument=function(S){return Math.max(0,Math.min(S,this.doc.getLength()-1))},$.prototype.$clipColumnToRow=function(S,w){return w<0?0:Math.min(this.doc.getLine(S).length,w)},$.prototype.$clipPositionToDocument=function(S,w){if(w=Math.max(0,w),S<0)S=0,w=0;else{var g=this.doc.getLength();S>=g?(S=g-1,w=this.doc.getLine(g-1).length):w=Math.min(this.doc.getLine(S).length,w)}return{row:S,column:w}},$.prototype.$clipRangeToDocument=function(S){S.start.row<0?(S.start.row=0,S.start.column=0):S.start.column=this.$clipColumnToRow(S.start.row,S.start.column);var w=this.doc.getLength()-1;return S.end.row>w?(S.end.row=w,S.end.column=this.doc.getLine(w).length):S.end.column=this.$clipColumnToRow(S.end.row,S.end.column),S},$.prototype.setUseWrapMode=function(S){if(S!=this.$useWrapMode){if(this.$useWrapMode=S,this.$modified=!0,this.$resetRowCache(0),S){var w=this.getLength();this.$wrapData=Array(w),this.$updateWrapData(0,w-1)}this._signal("changeWrapMode")}},$.prototype.getUseWrapMode=function(){return this.$useWrapMode},$.prototype.setWrapLimitRange=function(S,w){(this.$wrapLimitRange.min!==S||this.$wrapLimitRange.max!==w)&&(this.$wrapLimitRange={min:S,max:w},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},$.prototype.adjustWrapLimit=function(S,w){var g=this.$wrapLimitRange;g.max<0&&(g={min:w,max:w});var E=this.$constrainWrapLimit(S,g.min,g.max);return E!=this.$wrapLimit&&E>1?(this.$wrapLimit=E,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0):!1},$.prototype.$constrainWrapLimit=function(S,w,g){return w&&(S=Math.max(w,S)),g&&(S=Math.min(g,S)),S},$.prototype.getWrapLimit=function(){return this.$wrapLimit},$.prototype.setWrapLimit=function(S){this.setWrapLimitRange(S,S)},$.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},$.prototype.$updateInternalDataOnChange=function(S){var w=this.$useWrapMode,g=S.action,E=S.start,_=S.end,O=E.row,F=_.row,D=F-O,W=null;if(this.$updating=!0,D!=0)if(g==="remove"){this[w?"$wrapData":"$rowLengthCache"].splice(O,D);var j=this.$foldData;W=this.getFoldsInRange(S),this.removeFolds(W);var H=this.getFoldLine(_.row),P=0;if(H){H.addRemoveChars(_.row,_.column,E.column-_.column),H.shiftRow(-D);var z=this.getFoldLine(O);z&&z!==H&&(z.merge(H),H=z),P=j.indexOf(H)+1}for(P;P=_.row&&H.shiftRow(-D)}F=O}else{var B=Array(D);B.unshift(O,0);var X=w?this.$wrapData:this.$rowLengthCache;X.splice.apply(X,B);var j=this.$foldData,H=this.getFoldLine(O),P=0;if(H){var Z=H.range.compareInside(E.row,E.column);Z==0?(H=H.split(E.row,E.column),H&&(H.shiftRow(D),H.addRemoveChars(F,0,_.column-E.column))):Z==-1&&(H.addRemoveChars(O,0,_.column-E.column),H.shiftRow(D)),P=j.indexOf(H)+1}for(P;P=O&&H.shiftRow(D)}}else{D=Math.abs(S.start.column-S.end.column),g==="remove"&&(W=this.getFoldsInRange(S),this.removeFolds(W),D=-D);var H=this.getFoldLine(O);H&&H.addRemoveChars(O,E.column,D)}return w&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,w?this.$updateWrapData(O,F):this.$updateRowLengthCache(O,F),W},$.prototype.$updateRowLengthCache=function(S,w){this.$rowLengthCache[S]=null,this.$rowLengthCache[w]=null},$.prototype.$updateWrapData=function(S,w){var g=this.doc.getAllLines(),E=this.getTabSize(),_=this.$wrapData,O=this.$wrapLimit,F,D,W=S;for(w=Math.min(w,g.length-1);W<=w;)D=this.getFoldLine(W,D),D?(F=[],D.walk(function(j,H,P,z){var B;if(j!=null){B=this.$getDisplayTokens(j,F.length),B[0]=v;for(var X=1;Xw-z;){var B=O+w-z;if(S[B-1]>=f&&S[B]>=f){P(B);continue}if(S[B]==v||S[B]==C){for(B;B!=O-1&&S[B]!=v;B--);if(B>O){P(B);continue}for(B=O+w,B;B>2)),O-1);B>X&&S[B]X&&S[B]X&&S[B]==k;)B--}else for(;B>X&&S[B]X){P(++B);continue}B=O+w,S[B]==b&&B--,P(B-z)}return E},$.prototype.$getDisplayTokens=function(S,w){var g=[],E;w=w||0;for(var _=0;_39&&O<48||O>57&&O<64?g.push(k):O>=4352&&R(O)?g.push(d,b):g.push(d)}return g},$.prototype.$getStringScreenWidth=function(S,w,g){if(w==0)return[0,0];w==null&&(w=1/0),g=g||0;var E,_;for(_=0;_=4352&&R(E)?g+=2:g+=1,!(g>w));_++);return[g,_]},$.prototype.getRowLength=function(S){var w=1;return this.lineWidgets&&(w+=this.lineWidgets[S]&&this.lineWidgets[S].rowCount||0),!this.$useWrapMode||!this.$wrapData[S]?w:this.$wrapData[S].length+w},$.prototype.getRowLineCount=function(S){return!this.$useWrapMode||!this.$wrapData[S]?1:this.$wrapData[S].length+1},$.prototype.getRowWrapIndent=function(S){if(this.$useWrapMode){var w=this.screenToDocumentPosition(S,Number.MAX_VALUE),g=this.$wrapData[w.row];return g.length&&g[0]=0)var D=j[H],_=this.$docRowCache[H],z=S>j[P-1];else var z=!P;for(var B=this.getLength()-1,X=this.getNextFoldLine(_),Z=X?X.start.row:1/0;D<=S&&(W=this.getRowLength(_),!(D+W>S||_>=B));)D+=W,_++,_>Z&&(_=X.end.row+1,X=this.getNextFoldLine(_,X),Z=X?X.start.row:1/0),z&&(this.$docRowCache.push(_),this.$screenRowCache.push(D));if(X&&X.start.row<=_)E=this.getFoldDisplayLine(X),_=X.start.row;else{if(D+W<=S||_>B)return{row:B,column:this.getLine(B).length};E=this.getLine(_),X=null}var q=0,Q=Math.floor(S-D);if(this.$useWrapMode){var ee=this.$wrapData[_];ee&&(F=ee[Q],Q>0&&ee.length&&(q=ee.indent,O=ee[Q-1]||ee[ee.length-1],E=E.substring(O)))}return g!==void 0&&this.$bidiHandler.isBidiRow(D+Q,_,Q)&&(w=this.$bidiHandler.offsetToCol(g)),O+=this.$getStringScreenWidth(E,w-q)[1],this.$useWrapMode&&O>=F&&(O=F-1),X?X.idxToPosition(O):{row:_,column:O}},$.prototype.documentToScreenPosition=function(S,w){if(typeof w>"u")var g=this.$clipPositionToDocument(S.row,S.column);else g=this.$clipPositionToDocument(S,w);S=g.row,w=g.column;var E=0,_=null,O=null;O=this.getFoldAt(S,w,1),O&&(S=O.start.row,w=O.start.column);var F,D=0,W=this.$docRowCache,j=this.$getRowCacheIndex(W,S),H=W.length;if(H&&j>=0)var D=W[j],E=this.$screenRowCache[j],P=S>W[H-1];else var P=!H;for(var z=this.getNextFoldLine(D),B=z?z.start.row:1/0;D=B){if(F=z.end.row+1,F>S)break;z=this.getNextFoldLine(F,z),B=z?z.start.row:1/0}else F=D+1;E+=this.getRowLength(D),D=F,P&&(this.$docRowCache.push(D),this.$screenRowCache.push(E))}var X="";z&&D>=B?(X=this.getFoldDisplayLine(z,S,w),_=z.start.row):(X=this.getLine(S).substring(0,w),_=S);var Z=0;if(this.$useWrapMode){var q=this.$wrapData[_];if(q){for(var Q=0;X.length>=q[Q];)E++,Q++;X=X.substring(q[Q-1]||0,X.length),Z=Q>0?q.indent:0}}return this.lineWidgets&&this.lineWidgets[D]&&this.lineWidgets[D].rowsAbove&&(E+=this.lineWidgets[D].rowsAbove),{row:E,column:Z+this.$getStringScreenWidth(X)[0]}},$.prototype.documentToScreenColumn=function(S,w){return this.documentToScreenPosition(S,w).column},$.prototype.documentToScreenRow=function(S,w){return this.documentToScreenPosition(S,w).row},$.prototype.getScreenLength=function(){var S=0,w=null;if(this.$useWrapMode)for(var _=this.$wrapData.length,O=0,E=0,w=this.$foldData[E++],F=w?w.start.row:1/0;O<_;){var D=this.$wrapData[O];S+=D?D.length+1:1,O++,O>F&&(O=w.end.row+1,w=this.$foldData[E++],F=w?w.start.row:1/0)}else{S=this.getLength();for(var g=this.$foldData,E=0;Eg));O++);return[E,O]})},$.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},$}();u.$uid=0,u.prototype.$modes=l.$modes,u.prototype.getValue=u.prototype.toString,u.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},u.prototype.$overwrite=!1,u.prototype.$mode=null,u.prototype.$modeId=null,u.prototype.$scrollTop=0,u.prototype.$scrollLeft=0,u.prototype.$wrapLimit=80,u.prototype.$useWrapMode=!1,u.prototype.$wrapLimitRange={min:null,max:null},u.prototype.lineWidgets=null,u.prototype.isFullWidth=R,m.implement(u.prototype,c);var d=1,b=2,v=3,C=4,k=9,f=10,x=11,A=12;function R($){return $<4352?!1:$>=4352&&$<=4447||$>=4515&&$<=4519||$>=4602&&$<=4607||$>=9001&&$<=9002||$>=11904&&$<=11929||$>=11931&&$<=12019||$>=12032&&$<=12245||$>=12272&&$<=12283||$>=12288&&$<=12350||$>=12353&&$<=12438||$>=12441&&$<=12543||$>=12549&&$<=12589||$>=12593&&$<=12686||$>=12688&&$<=12730||$>=12736&&$<=12771||$>=12784&&$<=12830||$>=12832&&$<=12871||$>=12880&&$<=13054||$>=13056&&$<=19903||$>=19968&&$<=42124||$>=42128&&$<=42182||$>=43360&&$<=43388||$>=44032&&$<=55203||$>=55216&&$<=55238||$>=55243&&$<=55291||$>=63744&&$<=64255||$>=65040&&$<=65049||$>=65072&&$<=65106||$>=65108&&$<=65126||$>=65128&&$<=65131||$>=65281&&$<=65376||$>=65504&&$<=65510}L("./edit_session/folding").Folding.call(u.prototype),L("./edit_session/bracket_match").BracketMatch.call(u.prototype),l.defineOptions(u.prototype,"session",{wrap:{set:function($){if(!$||$=="off"?$=!1:$=="free"?$=!0:$=="printMargin"?$=-1:typeof $=="string"&&($=parseInt($,10)||!1),this.$wrap!=$)if(this.$wrap=$,!$)this.setUseWrapMode(!1);else{var S=typeof $=="number"?$:null;this.setWrapLimitRange(S,S),this.setUseWrapMode(!0)}},get:function(){return this.getUseWrapMode()?this.$wrap==-1?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function($){$=$=="auto"?this.$mode.type!="text":$!="text",$!=this.$wrapAsCode&&(this.$wrapAsCode=$,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function($){this.$useWorker=$,this.$stopWorker(),$&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function($){$=parseInt($),$>0&&this.$tabSize!==$&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=$,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function($){this.setFoldStyle($)},handlesSet:!0},overwrite:{set:function($){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function($){this.doc.setNewLineMode($)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function($){this.setMode($)},get:function(){return this.$modeId},handlesSet:!0}}),T.EditSession=u}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(L,T,I){"use strict";var m=L("./lib/lang"),y=L("./lib/oop"),p=L("./range").Range,l=function(){function r(){this.$options={}}return r.prototype.set=function(i){return y.mixin(this.$options,i),this},r.prototype.getOptions=function(){return m.copyObject(this.$options)},r.prototype.setOptions=function(i){this.$options=i},r.prototype.find=function(i){var n=this.$options,e=this.$matchIterator(i,n);if(!e)return!1;var t=null;return e.forEach(function(o,a,u,d){return t=new p(o,a,u,d),a==d&&n.start&&n.start.start&&n.skipCurrent!=!1&&t.isEqual(n.start)?(t=null,!1):!0}),t},r.prototype.findAll=function(i){var n=this.$options;if(!n.needle)return[];this.$assembleRegExp(n);var e=n.range,t=e?i.getLines(e.start.row,e.end.row):i.doc.getAllLines(),o=[],a=n.re;if(n.$isMultiLine){var u=a.length,d=t.length-u,b;e:for(var v=a.offset||0;v<=d;v++){for(var C=0;Cx||(o.push(b=new p(v,x,v+u-1,A)),u>2&&(v=v+u-2))}}else for(var R=0;Rg&&o[C].end.row==E;)C--;for(o=o.slice(R,C+1),R=0,C=o.length;R=b;A--)if(f(A,Number.MAX_VALUE,x))return;if(n.wrap!=!1){for(A=v,b=d.row;A>=b;A--)if(f(A,Number.MAX_VALUE,x))return}}};else var C=function(A){var R=d.row;if(!f(R,d.column,A)){for(R=R+1;R<=v;R++)if(f(R,0,A))return;if(n.wrap!=!1){for(R=b,v=d.row;R<=v;R++)if(f(R,0,A))return}}};if(n.$isMultiLine)var k=e.length,f=function(x,A,R){var $=t?x-k+1:x;if(!($<0||$+k>i.getLength())){var S=i.getLine($),w=S.search(e[0]);if(!(!t&&wA)&&R($,w,$+k-1,E))return!0}}};else if(t)var f=function(A,R,$){var S=i.getLine(A),w=[],g,E=0;for(e.lastIndex=0;g=e.exec(S);){var _=g[0].length;if(E=g.index,!_){if(E>=S.length)break;e.lastIndex=E+=m.skipEmptyMatch(S,E,a)}if(g.index+_>R)break;w.push(g.index,_)}for(var O=w.length-1;O>=0;O-=2){var F=w[O-1],_=w[O];if($(A,F,A,F+_))return!0}};else var f=function(A,R,$){var S=i.getLine(A),w,g;for(e.lastIndex=R;g=e.exec(S);){var E=g[0].length;if(w=g.index,$(A,w,A,w+E))return!0;if(!E&&(e.lastIndex=w+=m.skipEmptyMatch(S,w,a),w>=S.length))return!1}};return{forEach:C}},r}();function c(r,i){var n=m.supportsLookbehind();function e(u,d){d===void 0&&(d=!0);var b=n&&i.$supportsUnicodeFlag?new RegExp("[\\p{L}\\p{N}_]","u"):new RegExp("\\w");return b.test(u)||i.regExp?n&&i.$supportsUnicodeFlag?d?"(?<=^|[^\\p{L}\\p{N}_])":"(?=[^\\p{L}\\p{N}_]|$)":"\\b":""}var t=Array.from(r),o=t[0],a=t[t.length-1];return e(o)+r+e(a,!1)}T.Search=l}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(L,T,I){"use strict";var m=this&&this.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&(o[u]=a[u])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function o(){this.constructor=e}e.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}}(),y=L("../lib/keys"),p=L("../lib/useragent"),l=y.KEY_MODS,c=function(){function n(e,t){this.$init(e,t,!1)}return n.prototype.$init=function(e,t,o){this.platform=t||(p.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=o},n.prototype.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},n.prototype.removeCommand=function(e,t){var o=e&&(typeof e=="string"?e:e.name);e=this.commands[o],t||delete this.commands[o];var a=this.commandKeyBinding;for(var u in a){var d=a[u];if(d==e)delete a[u];else if(Array.isArray(d)){var b=d.indexOf(e);b!=-1&&(d.splice(b,1),d.length==1&&(a[u]=d[0]))}}},n.prototype.bindKey=function(e,t,o){if(typeof e=="object"&&e&&(o==null&&(o=e.position),e=e[this.platform]),!!e){if(typeof t=="function")return this.addCommand({exec:t,bindKey:e,name:t.name||e});e.split("|").forEach(function(a){var u="";if(a.indexOf(" ")!=-1){var d=a.split(/\s+/);a=d.pop(),d.forEach(function(C){var k=this.parseKeys(C),f=l[k.hashId]+k.key;u+=(u?" ":"")+f,this._addCommandToBinding(u,"chainKeys")},this),u+=" "}var b=this.parseKeys(a),v=l[b.hashId]+b.key;this._addCommandToBinding(u+v,t,o)},this)}},n.prototype._addCommandToBinding=function(e,t,o){var a=this.commandKeyBinding,u;if(!t)delete a[e];else if(!a[e]||this.$singleCommand)a[e]=t;else{Array.isArray(a[e])?(u=a[e].indexOf(t))!=-1&&a[e].splice(u,1):a[e]=[a[e]],typeof o!="number"&&(o=r(t));var d=a[e];for(u=0;uo)break}d.splice(u,0,t)}},n.prototype.addCommands=function(e){e&&Object.keys(e).forEach(function(t){var o=e[t];if(o){if(typeof o=="string")return this.bindKey(o,t);typeof o=="function"&&(o={exec:o}),typeof o=="object"&&(o.name||(o.name=t),this.addCommand(o))}},this)},n.prototype.removeCommands=function(e){Object.keys(e).forEach(function(t){this.removeCommand(e[t])},this)},n.prototype.bindKeys=function(e){Object.keys(e).forEach(function(t){this.bindKey(t,e[t])},this)},n.prototype._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},n.prototype.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(v){return v}),o=t.pop(),a=y[o];if(y.FUNCTION_KEYS[a])o=y.FUNCTION_KEYS[a].toLowerCase();else if(t.length){if(t.length==1&&t[0]=="shift")return{key:o.toUpperCase(),hashId:-1}}else return{key:o,hashId:-1};for(var u=0,d=t.length;d--;){var b=y.KEY_MODS[t[d]];if(b==null)return typeof console<"u"&&console.error("invalid modifier "+t[d]+" in "+e),!1;u|=b}return{key:o,hashId:u}},n.prototype.findKeyCommand=function(e,t){var o=l[e]+t;return this.commandKeyBinding[o]},n.prototype.handleKeyboard=function(e,t,o,a){if(!(a<0)){var u=l[t]+o,d=this.commandKeyBinding[u];return e.$keyChain&&(e.$keyChain+=" "+u,d=this.commandKeyBinding[e.$keyChain]||d),d&&(d=="chainKeys"||d[d.length-1]=="chainKeys")?(e.$keyChain=e.$keyChain||u,{command:"null"}):(e.$keyChain&&((!t||t==4)&&o.length==1?e.$keyChain=e.$keyChain.slice(0,-u.length-1):(t==-1||a>0)&&(e.$keyChain="")),{command:d})}},n.prototype.getStatusText=function(e,t){return t.$keyChain||""},n}();function r(n){return typeof n=="object"&&n.bindKey&&n.bindKey.position||(n.isDefault?-100:0)}var i=function(n){m(e,n);function e(t,o){var a=n.call(this,t,o)||this;return a.$singleCommand=!0,a}return e}(c);i.call=function(n,e,t){c.prototype.$init.call(n,e,t,!0)},c.call=function(n,e,t){c.prototype.$init.call(n,e,t,!1)},T.HashHandler=i,T.MultiHashHandler=c}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(L,T,I){"use strict";var m=this&&this.__extends||function(){var r=function(i,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(i,n)};return function(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(i,n);function e(){this.constructor=i}i.prototype=n===null?Object.create(n):(e.prototype=n.prototype,new e)}}(),y=L("../lib/oop"),p=L("../keyboard/hash_handler").MultiHashHandler,l=L("../lib/event_emitter").EventEmitter,c=function(r){m(i,r);function i(n,e){var t=r.call(this,e,n)||this;return t.byName=t.commands,t.setDefaultHandler("exec",function(o){return o.args?o.command.exec(o.editor,o.args,o.event,!1):o.command.exec(o.editor,{},o.event,!0)}),t}return i.prototype.exec=function(n,e,t){if(Array.isArray(n)){for(var o=n.length;o--;)if(this.exec(n[o],e,t))return!0;return!1}if(typeof n=="string"&&(n=this.commands[n]),!n||e&&e.$readOnly&&!n.readOnly||this.$checkCommandState!=!1&&n.isAvailable&&!n.isAvailable(e))return!1;var a={editor:e,command:n,args:t};return a.returnValue=this._emit("exec",a),this._signal("afterExec",a),a.returnValue!==!1},i.prototype.toggleRecording=function(n){if(!this.$inReplay)return n&&n._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(e){this.macro.push([e.command,e.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},i.prototype.replay=function(n){if(!(this.$inReplay||!this.macro)){if(this.recording)return this.toggleRecording(n);try{this.$inReplay=!0,this.macro.forEach(function(e){typeof e=="string"?this.exec(e,n):this.exec(e[0],n,e[1])},this)}finally{this.$inReplay=!1}}},i.prototype.trimMacro=function(n){return n.map(function(e){return typeof e[0]!="string"&&(e[0]=e[0].name),e[1]||(e=e[0]),e})},i}(p);y.implement(c.prototype,l),T.CommandManager=c}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(L,T,I){"use strict";var m=L("../lib/lang"),y=L("../config"),p=L("../range").Range;function l(r,i){return{win:r,mac:i}}T.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:l("Ctrl-,","Command-,"),exec:function(r){y.loadModule("ace/ext/settings_menu",function(i){i.init(r),r.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:l("Alt-E","F4"),exec:function(r){y.loadModule("ace/ext/error_marker",function(i){i.showErrorMarker(r,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:l("Alt-Shift-E","Shift-F4"),exec:function(r){y.loadModule("ace/ext/error_marker",function(i){i.showErrorMarker(r,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:l("Ctrl-A","Command-A"),exec:function(r){r.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:l(null,"Ctrl-L"),exec:function(r){r.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:l("Ctrl-L","Command-L"),exec:function(r,i){typeof i=="number"&&!isNaN(i)&&r.gotoLine(i),r.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:l("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(r){r.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:l("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(r){r.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:l("F2","F2"),exec:function(r){r.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:l("Alt-F2","Alt-F2"),exec:function(r){r.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:l(null,"Ctrl-Command-Option-0"),exec:function(r){r.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:l(null,"Ctrl-Command-Option-0"),exec:function(r){r.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:l("Alt-0","Command-Option-0"),exec:function(r){r.session.foldAll(),r.session.unfold(r.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:l("Alt-Shift-0","Command-Option-Shift-0"),exec:function(r){r.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:l("Ctrl-K","Command-G"),exec:function(r){r.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:l("Ctrl-Shift-K","Command-Shift-G"),exec:function(r){r.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:l("Alt-K","Ctrl-G"),exec:function(r){r.selection.isEmpty()?r.selection.selectWord():r.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:l("Alt-Shift-K","Ctrl-Shift-G"),exec:function(r){r.selection.isEmpty()?r.selection.selectWord():r.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:l("Ctrl-F","Command-F"),exec:function(r){y.loadModule("ace/ext/searchbox",function(i){i.Search(r)})},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(r){r.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:l("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(r){r.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:l("Ctrl-Home","Command-Home|Command-Up"),exec:function(r){r.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:l("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(r){r.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:l("Up","Up|Ctrl-P"),exec:function(r,i){r.navigateUp(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:l("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(r){r.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:l("Ctrl-End","Command-End|Command-Down"),exec:function(r){r.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:l("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(r){r.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:l("Down","Down|Ctrl-N"),exec:function(r,i){r.navigateDown(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:l("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(r){r.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:l("Ctrl-Left","Option-Left"),exec:function(r){r.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:l("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(r){r.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:l("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(r){r.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:l("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(r){r.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:l("Left","Left|Ctrl-B"),exec:function(r,i){r.navigateLeft(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:l("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(r){r.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:l("Ctrl-Right","Option-Right"),exec:function(r){r.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:l("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(r){r.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:l("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(r){r.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:l("Shift-Right","Shift-Right"),exec:function(r){r.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:l("Right","Right|Ctrl-F"),exec:function(r,i){r.navigateRight(i.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(r){r.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:l(null,"Option-PageDown"),exec:function(r){r.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:l("PageDown","PageDown|Ctrl-V"),exec:function(r){r.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(r){r.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:l(null,"Option-PageUp"),exec:function(r){r.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(r){r.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:l("Ctrl-Up",null),exec:function(r){r.renderer.scrollBy(0,-2*r.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:l("Ctrl-Down",null),exec:function(r){r.renderer.scrollBy(0,2*r.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(r){r.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(r){r.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:l("Ctrl-Alt-E","Command-Option-E"),exec:function(r){r.commands.toggleRecording(r)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:l("Ctrl-Shift-E","Command-Shift-E"),exec:function(r){r.commands.replay(r)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:l("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(r){r.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:l("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(r){r.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:l("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(r){r.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:l(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(r){},readOnly:!0},{name:"cut",description:"Cut",exec:function(r){var i=r.$copyWithEmptySelection&&r.selection.isEmpty(),n=i?r.selection.getLineRange():r.selection.getRange();r._emit("cut",n),n.isEmpty()||r.session.remove(n),r.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(r,i){r.$handlePaste(i)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:l("Ctrl-D","Command-D"),exec:function(r){r.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:l("Ctrl-Shift-D","Command-Shift-D"),exec:function(r){r.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:l("Ctrl-Alt-S","Command-Alt-S"),exec:function(r){r.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:l("Ctrl-/","Command-/"),exec:function(r){r.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:l("Ctrl-Shift-/","Command-Shift-/"),exec:function(r){r.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:l("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(r){r.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:l("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(r){r.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:l("Ctrl-H","Command-Option-F"),exec:function(r){y.loadModule("ace/ext/searchbox",function(i){i.Search(r,!0)})}},{name:"undo",description:"Undo",bindKey:l("Ctrl-Z","Command-Z"),exec:function(r){r.undo()}},{name:"redo",description:"Redo",bindKey:l("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(r){r.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:l("Alt-Shift-Up","Command-Option-Up"),exec:function(r){r.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:l("Alt-Up","Option-Up"),exec:function(r){r.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:l("Alt-Shift-Down","Command-Option-Down"),exec:function(r){r.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:l("Alt-Down","Option-Down"),exec:function(r){r.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:l("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(r){r.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:l("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(r){r.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:l("Shift-Delete",null),exec:function(r){if(r.selection.isEmpty())r.remove("left");else return!1},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:l("Alt-Backspace","Command-Backspace"),exec:function(r){r.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:l("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(r){r.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:l("Ctrl-Shift-Backspace",null),exec:function(r){var i=r.selection.getRange();i.start.column=0,r.session.remove(i)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:l("Ctrl-Shift-Delete",null),exec:function(r){var i=r.selection.getRange();i.end.column=Number.MAX_VALUE,r.session.remove(i)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:l("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(r){r.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:l("Ctrl-Delete","Alt-Delete"),exec:function(r){r.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:l("Shift-Tab","Shift-Tab"),exec:function(r){r.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:l("Tab","Tab"),exec:function(r){r.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:l("Ctrl-[","Ctrl-["),exec:function(r){r.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:l("Ctrl-]","Ctrl-]"),exec:function(r){r.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(r,i){r.insert(i)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(r,i){r.insert(m.stringRepeat(i.text||"",i.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:l(null,"Ctrl-O"),exec:function(r){r.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:l("Alt-Shift-X","Ctrl-T"),exec:function(r){r.transposeLetters()},multiSelectAction:function(r){r.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:l("Ctrl-U","Ctrl-U"),exec:function(r){r.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:l("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(r){r.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:l(null,null),exec:function(r){r.autoIndent()},scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:l("Ctrl-Shift-L","Command-Shift-L"),exec:function(r){var i=r.selection.getRange();i.start.column=i.end.column=0,i.end.row++,r.selection.setRange(i,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:l("Ctrl+F3","F3"),exec:function(r){r.openLink()}},{name:"joinlines",description:"Join lines",bindKey:l(null,null),exec:function(r){for(var i=r.selection.isBackwards(),n=i?r.selection.getSelectionLead():r.selection.getSelectionAnchor(),e=i?r.selection.getSelectionAnchor():r.selection.getSelectionLead(),t=r.session.doc.getLine(n.row).length,o=r.session.doc.getTextRange(r.selection.getRange()),a=o.replace(/\n\s*/," ").length,u=r.session.doc.getLine(n.row),d=n.row+1;d<=e.row+1;d++){var b=m.stringTrimLeft(m.stringTrimRight(r.session.doc.getLine(d)));b.length!==0&&(b=" "+b),u+=b}e.row+10?(r.selection.moveCursorTo(n.row,n.column),r.selection.selectTo(n.row,n.column+a)):(t=r.session.doc.getLine(n.row).length>t?t+1:t,r.selection.moveCursorTo(n.row,t))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:l(null,null),exec:function(r){var i=r.session.doc.getLength()-1,n=r.session.doc.getLine(i).length,e=r.selection.rangeList.ranges,t=[];e.length<1&&(e=[r.selection.getRange()]);for(var o=0;oc[r].column&&r++,e.unshift(r,0),c.splice.apply(c,e),this.$updateRows()}}},p.prototype.$updateRows=function(){var l=this.session.lineWidgets;if(l){var c=!0;l.forEach(function(r,i){if(r)for(c=!1,r.row=i;r.$oldWidget;)r.$oldWidget.row=i,r=r.$oldWidget}),c&&(this.session.lineWidgets=null)}},p.prototype.$registerLineWidget=function(l){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var c=this.session.lineWidgets[l.row];return c&&(l.$oldWidget=c,c.el&&c.el.parentNode&&(c.el.parentNode.removeChild(c.el),c._inDocument=!1)),this.session.lineWidgets[l.row]=l,l},p.prototype.addLineWidget=function(l){if(this.$registerLineWidget(l),l.session=this.session,!this.editor)return l;var c=this.editor.renderer;l.html&&!l.el&&(l.el=m.createElement("div"),l.el.innerHTML=l.html),l.text&&!l.el&&(l.el=m.createElement("div"),l.el.textContent=l.text),l.el&&(m.addCssClass(l.el,"ace_lineWidgetContainer"),l.className&&m.addCssClass(l.el,l.className),l.el.style.position="absolute",l.el.style.zIndex="5",c.container.appendChild(l.el),l._inDocument=!0,l.coverGutter||(l.el.style.zIndex="3"),l.pixelHeight==null&&(l.pixelHeight=l.el.offsetHeight)),l.rowCount==null&&(l.rowCount=l.pixelHeight/c.layerConfig.lineHeight);var r=this.session.getFoldAt(l.row,0);if(l.$fold=r,r){var i=this.session.lineWidgets;l.row==r.end.row&&!i[r.start.row]?i[r.start.row]=l:l.hidden=!0}return this.session._emit("changeFold",{data:{start:{row:l.row}}}),this.$updateRows(),this.renderWidgets(null,c),this.onWidgetChanged(l),l},p.prototype.removeLineWidget=function(l){if(l._inDocument=!1,l.session=null,l.el&&l.el.parentNode&&l.el.parentNode.removeChild(l.el),l.editor&&l.editor.destroy)try{l.editor.destroy()}catch{}if(this.session.lineWidgets){var c=this.session.lineWidgets[l.row];if(c==l)this.session.lineWidgets[l.row]=l.$oldWidget,l.$oldWidget&&this.onWidgetChanged(l.$oldWidget);else for(;c;){if(c.$oldWidget==l){c.$oldWidget=l.$oldWidget;break}c=c.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:l.row}}}),this.$updateRows()},p.prototype.getWidgetsAtRow=function(l){for(var c=this.session.lineWidgets,r=c&&c[l],i=[];r;)i.push(r),r=r.$oldWidget;return i},p.prototype.onWidgetChanged=function(l){this.session._changedWidgets.push(l),this.editor&&this.editor.renderer.updateFull()},p.prototype.measureWidgets=function(l,c){var r=this.session._changedWidgets,i=c.layerConfig;if(!(!r||!r.length)){for(var n=1/0,e=0;e0&&!i[n];)n--;this.firstRow=r.firstRow,this.lastRow=r.lastRow,c.$cursorLayer.config=r;for(var t=n;t<=e;t++){var o=i[t];if(!(!o||!o.el)){if(o.hidden){o.el.style.top=-100-(o.pixelHeight||0)+"px";continue}o._inDocument||(o._inDocument=!0,c.container.appendChild(o.el));var a=c.$cursorLayer.getPixelPosition({row:t,column:0},!0).top;o.coverLine||(a+=r.lineHeight*this.session.getRowLineCount(o.row)),o.el.style.top=a-r.offset+"px";var u=o.coverGutter?0:c.gutterWidth;o.fixedWidth||(u-=c.scrollLeft),o.el.style.left=u+"px",o.fullWidth&&o.screenWidth&&(o.el.style.minWidth=r.width+2*r.padding+"px"),o.fixedWidth?o.el.style.right=c.scrollBar.getWidth()+"px":o.el.style.right=""}}}},p}();T.LineWidgets=y}),ace.define("ace/keyboard/gutter_handler",["require","exports","module","ace/lib/keys","ace/mouse/default_gutter_handler"],function(L,T,I){"use strict";var m=L("../lib/keys"),y=L("../mouse/default_gutter_handler").GutterTooltip,p=function(){function c(r){this.editor=r,this.gutterLayer=r.renderer.$gutterLayer,this.element=r.renderer.$gutter,this.lines=r.renderer.$gutterLayer.$lines,this.activeRowIndex=null,this.activeLane=null,this.annotationTooltip=new y(this.editor)}return c.prototype.addListener=function(){this.element.addEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.addEventListener("focusout",this.$blurGutter.bind(this)),this.editor.on("mousewheel",this.$blurGutter.bind(this))},c.prototype.removeListener=function(){this.element.removeEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.removeEventListener("focusout",this.$blurGutter.bind(this)),this.editor.off("mousewheel",this.$blurGutter.bind(this))},c.prototype.$onGutterKeyDown=function(r){if(this.annotationTooltip.isOpen){r.preventDefault(),r.keyCode===m.escape&&this.annotationTooltip.hideTooltip();return}if(r.target===this.element){if(r.keyCode!=m.enter)return;r.preventDefault();var i=this.editor.getCursorPosition().row;this.editor.isRowVisible(i)||this.editor.scrollToLine(i,!0,!0),setTimeout(function(){var n=this.$rowToRowIndex(this.gutterLayer.$cursorCell.row),e=this.$findNearestFoldWidget(n),t=this.$findNearestAnnotation(n);if(!(e===null&&t===null)){if(e===null&&t!==null){this.activeRowIndex=t,this.activeLane="annotation",this.$focusAnnotation(this.activeRowIndex);return}if(e!==null&&t===null){this.activeRowIndex=e,this.activeLane="fold",this.$focusFoldWidget(this.activeRowIndex);return}if(Math.abs(t-n)0||r+i=0&&this.$isFoldWidgetVisible(r-i))return r-i;if(r+i<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(r+i))return r+i}return null},c.prototype.$findNearestAnnotation=function(r){if(this.$isAnnotationVisible(r))return r;for(var i=0;r-i>0||r+i=0&&this.$isAnnotationVisible(r-i))return r-i;if(r+i<=this.lines.getLength()-1&&this.$isAnnotationVisible(r+i))return r+i}return null},c.prototype.$focusFoldWidget=function(r){if(r!=null){var i=this.$getFoldWidget(r);i.classList.add(this.editor.renderer.keyboardFocusClassName),i.focus()}},c.prototype.$focusAnnotation=function(r){if(r!=null){var i=this.$getAnnotation(r);i.classList.add(this.editor.renderer.keyboardFocusClassName),i.focus()}},c.prototype.$blurFoldWidget=function(r){var i=this.$getFoldWidget(r);i.classList.remove(this.editor.renderer.keyboardFocusClassName),i.blur()},c.prototype.$blurAnnotation=function(r){var i=this.$getAnnotation(r);i.classList.remove(this.editor.renderer.keyboardFocusClassName),i.blur()},c.prototype.$moveFoldWidgetUp=function(){for(var r=this.activeRowIndex;r>0;)if(r--,this.$isFoldWidgetVisible(r)){this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=r,this.$focusFoldWidget(this.activeRowIndex);return}},c.prototype.$moveFoldWidgetDown=function(){for(var r=this.activeRowIndex;r0;)if(r--,this.$isAnnotationVisible(r)){this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=r,this.$focusAnnotation(this.activeRowIndex);return}},c.prototype.$moveAnnotationDown=function(){for(var r=this.activeRowIndex;r=w.length&&(w=void 0),{value:w&&w[_++],done:!w}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")},y=L("./lib/oop"),p=L("./lib/dom"),l=L("./lib/lang"),c=L("./lib/useragent"),r=L("./keyboard/textinput").TextInput,i=L("./mouse/mouse_handler").MouseHandler,n=L("./mouse/fold_handler").FoldHandler,e=L("./keyboard/keybinding").KeyBinding,t=L("./edit_session").EditSession,o=L("./search").Search,a=L("./range").Range,u=L("./lib/event_emitter").EventEmitter,d=L("./commands/command_manager").CommandManager,b=L("./commands/default_commands").commands,v=L("./config"),C=L("./token_iterator").TokenIterator,k=L("./line_widgets").LineWidgets,f=L("./keyboard/gutter_handler").GutterKeyboardHandler,x=L("./config").nls,A=L("./clipboard"),R=L("./lib/keys"),$=function(){function w(g,E,_){this.session,this.$toDestroy=[];var O=g.getContainerElement();this.container=O,this.renderer=g,this.id="editor"+ ++w.$uid,this.commands=new d(c.isMac?"mac":"win",b),typeof document=="object"&&(this.textInput=new r(g.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new i(this),new n(this)),this.keyBinding=new e(this),this.$search=new o().set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=l.delayedCall(function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",function(F,D){D._$emitInputEvent.schedule(31)}),this.setSession(E||_&&_.session||new t("")),v.resetOptions(this),_&&this.setOptions(_),v._signal("editor",this)}return w.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=l.delayedCall(this.endOperation.bind(this,!0)),this.on("change",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.selectionChanged=!0}.bind(this),!0)},w.prototype.startOperation=function(g){if(this.curOp){if(!g||this.curOp.command)return;this.prevOp=this.curOp}g||(this.previousCommand=null,g={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:g.command||{},args:g.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},w.prototype.endOperation=function(g){if(this.curOp&&this.session){if(g&&g.returnValue===!1||!this.session)return this.curOp=null;if(g==!0&&this.curOp.command&&this.curOp.command.name=="mouse"||(this._signal("beforeEndOperation"),!this.curOp))return;var E=this.curOp.command,_=E&&E.scrollIntoView;if(_){switch(_){case"center-animate":_="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var O=this.selection.getRange(),F=this.renderer.layerConfig;(O.start.row>=F.lastRow||O.end.row<=F.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead);break;default:break}_=="animate"&&this.renderer.animateScrolling(this.curOp.scrollTop)}var D=this.selection.toJSON();this.curOp.selectionAfter=D,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(D),this.prevOp=this.curOp,this.curOp=null}},w.prototype.$historyTracker=function(g){if(this.$mergeUndoDeltas){var E=this.prevOp,_=this.$mergeableCommands,O=E.command&&g.command.name==E.command.name;if(g.command.name=="insertstring"){var F=g.args;this.mergeNextCommand===void 0&&(this.mergeNextCommand=!0),O=O&&this.mergeNextCommand&&(!/\s/.test(F)||/\s/.test(E.args)),this.mergeNextCommand=!0}else O=O&&_.indexOf(g.command.name)!==-1;this.$mergeUndoDeltas!="always"&&Date.now()-this.sequenceStartTime>2e3&&(O=!1),O?this.session.mergeUndoDeltas=!0:_.indexOf(g.command.name)!==-1&&(this.sequenceStartTime=Date.now())}},w.prototype.setKeyboardHandler=function(g,E){if(g&&typeof g=="string"&&g!="ace"){this.$keybindingId=g;var _=this;v.loadModule(["keybinding",g],function(O){_.$keybindingId==g&&_.keyBinding.setKeyboardHandler(O&&O.handler),E&&E()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(g),E&&E()},w.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},w.prototype.setSession=function(g){if(this.session!=g){this.curOp&&this.endOperation(),this.curOp={};var E=this.session;if(E){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var _=this.session.getSelection();_.off("changeCursor",this.$onCursorChange),_.off("changeSelection",this.$onSelectionChange)}this.session=g,g?(this.$onDocumentChange=this.onDocumentChange.bind(this),g.on("change",this.$onDocumentChange),this.renderer.setSession(g),this.$onChangeMode=this.onChangeMode.bind(this),g.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),g.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),g.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),g.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),g.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),g.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=g.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(g)),this._signal("changeSession",{session:g,oldSession:E}),this.curOp=null,E&&E._signal("changeEditor",{oldEditor:this}),g&&g._signal("changeEditor",{editor:this}),g&&!g.destroyed&&g.bgTokenizer.scheduleStart()}},w.prototype.getSession=function(){return this.session},w.prototype.setValue=function(g,E){return this.session.doc.setValue(g),E?E==1?this.navigateFileEnd():E==-1&&this.navigateFileStart():this.selectAll(),g},w.prototype.getValue=function(){return this.session.getValue()},w.prototype.getSelection=function(){return this.selection},w.prototype.resize=function(g){this.renderer.onResize(g)},w.prototype.setTheme=function(g,E){this.renderer.setTheme(g,E)},w.prototype.getTheme=function(){return this.renderer.getTheme()},w.prototype.setStyle=function(g){this.renderer.setStyle(g)},w.prototype.unsetStyle=function(g){this.renderer.unsetStyle(g)},w.prototype.getFontSize=function(){return this.getOption("fontSize")||p.computedStyle(this.container).fontSize},w.prototype.setFontSize=function(g){this.setOption("fontSize",g)},w.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var g=this;this.$highlightPending=!0,setTimeout(function(){g.$highlightPending=!1;var E=g.session;if(!(!E||E.destroyed)){E.$bracketHighlight&&(E.$bracketHighlight.markerIds.forEach(function(z){E.removeMarker(z)}),E.$bracketHighlight=null);var _=g.getCursorPosition(),O=g.getKeyboardHandler(),F=O&&O.$getDirectionForHighlight&&O.$getDirectionForHighlight(g),D=E.getMatchingBracketRanges(_,F);if(!D){var W=new C(E,_.row,_.column),j=W.getCurrentToken();if(j&&/\b(?:tag-open|tag-name)/.test(j.type)){var H=E.getMatchingTags(_);H&&(D=[H.openTagName,H.closeTagName])}}if(!D&&E.$mode.getMatching&&(D=E.$mode.getMatching(g.session)),!D){g.getHighlightIndentGuides()&&g.renderer.$textLayer.$highlightIndentGuide();return}var P="ace_bracket";Array.isArray(D)?D.length==1&&(P="ace_error_bracket"):D=[D],D.length==2&&(a.comparePoints(D[0].end,D[1].start)==0?D=[a.fromPoints(D[0].start,D[1].end)]:a.comparePoints(D[0].start,D[1].end)==0&&(D=[a.fromPoints(D[1].start,D[0].end)])),E.$bracketHighlight={ranges:D,markerIds:D.map(function(z){return E.addMarker(z,P,"text")})},g.getHighlightIndentGuides()&&g.renderer.$textLayer.$highlightIndentGuide()}},50)}},w.prototype.focus=function(){this.textInput.focus()},w.prototype.isFocused=function(){return this.textInput.isFocused()},w.prototype.blur=function(){this.textInput.blur()},w.prototype.onFocus=function(g){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",g))},w.prototype.onBlur=function(g){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",g))},w.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},w.prototype.onDocumentChange=function(g){var E=this.session.$useWrapMode,_=g.start.row==g.end.row?g.end.row:1/0;this.renderer.updateLines(g.start.row,_,E),this._signal("change",g),this.$cursorChange()},w.prototype.onTokenizerUpdate=function(g){var E=g.data;this.renderer.updateLines(E.first,E.last)},w.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},w.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},w.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},w.prototype.$updateHighlightActiveLine=function(){var g=this.getSession(),E;if(this.$highlightActiveLine&&((this.$selectionStyle!="line"||!this.selection.isMultiLine())&&(E=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(E=!1),this.renderer.$maxLines&&this.session.getLength()===1&&!(this.renderer.$minLines>1)&&(E=!1)),g.$highlightLineMarker&&!E)g.removeMarker(g.$highlightLineMarker.id),g.$highlightLineMarker=null;else if(!g.$highlightLineMarker&&E){var _=new a(E.row,E.column,E.row,1/0);_.id=g.addMarker(_,"ace_active-line","screenLine"),g.$highlightLineMarker=_}else E&&(g.$highlightLineMarker.start.row=E.row,g.$highlightLineMarker.end.row=E.row,g.$highlightLineMarker.start.column=E.column,g._signal("changeBackMarker"))},w.prototype.onSelectionChange=function(g){var E=this.session;if(E.$selectionMarker&&E.removeMarker(E.$selectionMarker),E.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var _=this.selection.getRange(),O=this.getSelectionStyle();E.$selectionMarker=E.addMarker(_,"ace_selection",O)}var F=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(F),this._signal("changeSelection")},w.prototype.$getSelectionHighLightRegexp=function(){var g=this.session,E=this.getSelectionRange();if(!(E.isEmpty()||E.isMultiLine())){var _=E.start.column,O=E.end.column,F=g.getLine(E.start.row),D=F.substring(_,O);if(!(D.length>5e3||!/[\w\d]/.test(D))){var W=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:D}),j=F.substring(_-1,O+1);if(W.test(j))return W}}},w.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},w.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},w.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},w.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},w.prototype.onChangeMode=function(g){this.renderer.updateText(),this._emit("changeMode",g)},w.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},w.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},w.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},w.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},w.prototype.getCopyText=function(){var g=this.getSelectedText(),E=this.session.doc.getNewLineCharacter(),_=!1;if(!g&&this.$copyWithEmptySelection){_=!0;for(var O=this.selection.getAllRanges(),F=0;Fz.search(/\S|$/)){var j=z.substr(F.column).search(/\S|$/);_.doc.removeInLine(F.row,F.column,F.column+j)}}this.clearSelection();var H=F.column,P=_.getState(F.row),z=_.getLine(F.row),B=O.checkOutdent(P,z,g);if(_.insert(F,g),D&&D.selection&&(D.selection.length==2?this.selection.setSelectionRange(new a(F.row,H+D.selection[0],F.row,H+D.selection[1])):this.selection.setSelectionRange(new a(F.row+D.selection[0],D.selection[1],F.row+D.selection[2],D.selection[3]))),this.$enableAutoIndent){if(_.getDocument().isNewLine(g)){var X=O.getNextLineIndent(P,z.slice(0,F.column),_.getTabString());_.insert({row:F.row+1,column:0},X)}B&&O.autoOutdent(P,_,F.row)}},w.prototype.autoIndent=function(){for(var g=this.session,E=g.getMode(),_=this.selection.isEmpty()?[new a(0,0,g.doc.getLength()-1,0)]:this.selection.getAllRanges(),O="",F="",D="",W=g.getTabString(),j=0;j<_.length;j++)for(var H=_[j].start.row,P=_[j].end.row,z=H;z<=P;z++){z>0&&(O=g.getState(z-1),F=g.getLine(z-1),D=E.getNextLineIndent(O,F,W));var B=g.getLine(z),X=E.$getIndent(B);if(D!==X){if(X.length>0){var Z=new a(z,0,z,X.length);g.remove(Z)}D.length>0&&g.insert({row:z,column:0},D)}E.autoOutdent(O,g,z)}},w.prototype.onTextInput=function(g,E){if(!E)return this.keyBinding.onTextInput(g);this.startOperation({command:{name:"insertstring"}});var _=this.applyComposition.bind(this,g,E);this.selection.rangeCount?this.forEachSelection(_):_(),this.endOperation()},w.prototype.applyComposition=function(g,E){if(E.extendLeft||E.extendRight){var _=this.selection.getRange();_.start.column-=E.extendLeft,_.end.column+=E.extendRight,_.start.column<0&&(_.start.row--,_.start.column+=this.session.getLine(_.start.row).length+1),this.selection.setRange(_),!g&&!_.isEmpty()&&this.remove()}if((g||!this.selection.isEmpty())&&this.insert(g,!0),E.restoreStart||E.restoreEnd){var _=this.selection.getRange();_.start.column-=E.restoreStart,_.end.column-=E.restoreEnd,this.selection.setRange(_)}},w.prototype.onCommandKey=function(g,E,_){return this.keyBinding.onCommandKey(g,E,_)},w.prototype.setOverwrite=function(g){this.session.setOverwrite(g)},w.prototype.getOverwrite=function(){return this.session.getOverwrite()},w.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},w.prototype.setScrollSpeed=function(g){this.setOption("scrollSpeed",g)},w.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},w.prototype.setDragDelay=function(g){this.setOption("dragDelay",g)},w.prototype.getDragDelay=function(){return this.getOption("dragDelay")},w.prototype.setSelectionStyle=function(g){this.setOption("selectionStyle",g)},w.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},w.prototype.setHighlightActiveLine=function(g){this.setOption("highlightActiveLine",g)},w.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},w.prototype.setHighlightGutterLine=function(g){this.setOption("highlightGutterLine",g)},w.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},w.prototype.setHighlightSelectedWord=function(g){this.setOption("highlightSelectedWord",g)},w.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},w.prototype.setAnimatedScroll=function(g){this.renderer.setAnimatedScroll(g)},w.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},w.prototype.setShowInvisibles=function(g){this.renderer.setShowInvisibles(g)},w.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},w.prototype.setDisplayIndentGuides=function(g){this.renderer.setDisplayIndentGuides(g)},w.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},w.prototype.setHighlightIndentGuides=function(g){this.renderer.setHighlightIndentGuides(g)},w.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},w.prototype.setShowPrintMargin=function(g){this.renderer.setShowPrintMargin(g)},w.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},w.prototype.setPrintMarginColumn=function(g){this.renderer.setPrintMarginColumn(g)},w.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},w.prototype.setReadOnly=function(g){this.setOption("readOnly",g)},w.prototype.getReadOnly=function(){return this.getOption("readOnly")},w.prototype.setBehavioursEnabled=function(g){this.setOption("behavioursEnabled",g)},w.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},w.prototype.setWrapBehavioursEnabled=function(g){this.setOption("wrapBehavioursEnabled",g)},w.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},w.prototype.setShowFoldWidgets=function(g){this.setOption("showFoldWidgets",g)},w.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},w.prototype.setFadeFoldWidgets=function(g){this.setOption("fadeFoldWidgets",g)},w.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},w.prototype.remove=function(g){this.selection.isEmpty()&&(g=="left"?this.selection.selectLeft():this.selection.selectRight());var E=this.getSelectionRange();if(this.getBehavioursEnabled()){var _=this.session,O=_.getState(E.start.row),F=_.getMode().transformAction(O,"deletion",this,_,E);if(E.end.column===0){var D=_.getTextRange(E);if(D[D.length-1]==` `){var W=_.getLine(E.end.row);/^\s+$/.test(W)&&(E.end.column=W.length)}}F&&(E=F)}this.session.remove(E),this.clearSelection()},w.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},w.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},w.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},w.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var g=this.getSelectionRange();g.start.column==g.end.column&&g.start.row==g.end.row&&(g.end.column=0,g.end.row++),this.session.remove(g),this.clearSelection()},w.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var g=this.getCursorPosition();this.insert(` `),this.moveCursorToPosition(g)},w.prototype.setGhostText=function(g,E){this.session.widgetManager||(this.session.widgetManager=new k(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(g,E)},w.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},w.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var g=this.getCursorPosition(),E=g.column;if(E!==0){var _=this.session.getLine(g.row),O,F;E<_.length?(O=_.charAt(E)+_.charAt(E-1),F=new a(g.row,E-1,g.row,E+1)):(O=_.charAt(E-1)+_.charAt(E-2),F=new a(g.row,E-2,g.row,E)),this.session.replace(F,O),this.session.selection.moveToPosition(F.end)}}},w.prototype.toLowerCase=function(){var g=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var E=this.getSelectionRange(),_=this.session.getTextRange(E);this.session.replace(E,_.toLowerCase()),this.selection.setSelectionRange(g)},w.prototype.toUpperCase=function(){var g=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var E=this.getSelectionRange(),_=this.session.getTextRange(E);this.session.replace(E,_.toUpperCase()),this.selection.setSelectionRange(g)},w.prototype.indent=function(){var g=this.session,E=this.getSelectionRange();if(E.start.rowj.toLowerCase()?1:0});for(var F=new a(0,0,0,0),O=g.first;O<=g.last;O++){var D=E.getLine(O);F.start.row=O,F.end.row=O,F.end.column=D.length,E.replace(F,_[O-g.first])}},w.prototype.toggleCommentLines=function(){var g=this.session.getState(this.getCursorPosition().row),E=this.$getSelectedRows();this.session.getMode().toggleCommentLines(g,this.session,E.first,E.last)},w.prototype.toggleBlockComment=function(){var g=this.getCursorPosition(),E=this.session.getState(g.row),_=this.getSelectionRange();this.session.getMode().toggleBlockComment(E,this.session,_,g)},w.prototype.getNumberAt=function(g,E){var _=/[\-]?[0-9]+(?:\.[0-9]+)?/g;_.lastIndex=0;for(var O=this.session.getLine(g);_.lastIndex=E){var D={value:F[0],start:F.index,end:F.index+F[0].length};return D}}return null},w.prototype.modifyNumber=function(g){var E=this.selection.getCursor().row,_=this.selection.getCursor().column,O=new a(E,_-1,E,_),F=this.session.getTextRange(O);if(!isNaN(parseFloat(F))&&isFinite(F)){var D=this.getNumberAt(E,_);if(D){var W=D.value.indexOf(".")>=0?D.start+D.value.indexOf(".")+1:D.end,j=D.start+D.value.length-W,H=parseFloat(D.value);H*=Math.pow(10,j),W!==D.end&&_=W&&D<=j&&(_=te,H.selection.clearSelection(),H.moveCursorTo(g,W+O),H.selection.selectTo(g,j+O)),W=j});for(var P=this.$toggleWordPairs,z,B=0;B=j&&W<=H&&X.match(/((?:https?|ftp):\/\/[\S]+)/)){P=X.replace(/[\s:.,'";}\]]+$/,"");break}j=H}}catch(Z){_={error:Z}}finally{try{B&&!B.done&&(O=z.return)&&O.call(z)}finally{if(_)throw _.error}}return P},w.prototype.openLink=function(){var g=this.selection.getCursor(),E=this.findLinkAt(g.row,g.column);return E&&window.open(E,"_blank"),E!=null},w.prototype.removeLines=function(){var g=this.$getSelectedRows();this.session.removeFullLines(g.first,g.last),this.clearSelection()},w.prototype.duplicateSelection=function(){var g=this.selection,E=this.session,_=g.getRange(),O=g.isBackwards();if(_.isEmpty()){var F=_.start.row;E.duplicateLines(F,F)}else{var D=O?_.start:_.end,W=E.insert(D,E.getTextRange(_));_.start=D,_.end=W,g.setSelectionRange(_,O)}},w.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},w.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},w.prototype.moveText=function(g,E,_){return this.session.moveText(g,E,_)},w.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},w.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},w.prototype.$moveLines=function(g,E){var _,O,F=this.selection;if(!F.inMultiSelectMode||this.inVirtualSelectionMode){var D=F.toOrientedRange();_=this.$getSelectedRows(D),O=this.session.$moveLines(_.first,_.last,E?0:g),E&&g==-1&&(O=0),D.moveBy(O,0),F.fromOrientedRange(D)}else{var W=F.rangeList.ranges;F.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var j=0,H=0,P=W.length,z=0;zZ+1)break;Z=q.last}for(z--,j=this.session.$moveLines(X,Z,E?0:g),E&&g==-1&&(B=z+1);B<=z;)W[B].moveBy(j,0),B++;E||(j=0),H+=j}F.fromOrientedRange(F.ranges[0]),F.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},w.prototype.$getSelectedRows=function(g){return g=(g||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(g.start.row),last:this.session.getRowFoldEnd(g.end.row)}},w.prototype.onCompositionStart=function(g){this.renderer.showComposition(g)},w.prototype.onCompositionUpdate=function(g){this.renderer.setCompositionText(g)},w.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},w.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},w.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},w.prototype.isRowVisible=function(g){return g>=this.getFirstVisibleRow()&&g<=this.getLastVisibleRow()},w.prototype.isRowFullyVisible=function(g){return g>=this.renderer.getFirstFullyVisibleRow()&&g<=this.renderer.getLastFullyVisibleRow()},w.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},w.prototype.$moveByPage=function(g,E){var _=this.renderer,O=this.renderer.layerConfig,F=g*Math.floor(O.height/O.lineHeight);E===!0?this.selection.$moveSelection(function(){this.moveCursorBy(F,0)}):E===!1&&(this.selection.moveCursorBy(F,0),this.selection.clearSelection());var D=_.scrollTop;_.scrollBy(0,F*O.lineHeight),E!=null&&_.scrollCursorIntoView(null,.5),_.animateScrolling(D)},w.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},w.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},w.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},w.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},w.prototype.scrollPageDown=function(){this.$moveByPage(1)},w.prototype.scrollPageUp=function(){this.$moveByPage(-1)},w.prototype.scrollToRow=function(g){this.renderer.scrollToRow(g)},w.prototype.scrollToLine=function(g,E,_,O){this.renderer.scrollToLine(g,E,_,O)},w.prototype.centerSelection=function(){var g=this.getSelectionRange(),E={row:Math.floor(g.start.row+(g.end.row-g.start.row)/2),column:Math.floor(g.start.column+(g.end.column-g.start.column)/2)};this.renderer.alignCursor(E,.5)},w.prototype.getCursorPosition=function(){return this.selection.getCursor()},w.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},w.prototype.getSelectionRange=function(){return this.selection.getRange()},w.prototype.selectAll=function(){this.selection.selectAll()},w.prototype.clearSelection=function(){this.selection.clearSelection()},w.prototype.moveCursorTo=function(g,E){this.selection.moveCursorTo(g,E)},w.prototype.moveCursorToPosition=function(g){this.selection.moveCursorToPosition(g)},w.prototype.jumpToMatching=function(g,E){var _=this.getCursorPosition(),O=new C(this.session,_.row,_.column),F=O.getCurrentToken(),D=0;F&&F.type.indexOf("tag-name")!==-1&&(F=O.stepBackward());var W=F||O.stepForward();if(W){var j,H=!1,P={},z=_.column-W.start,B,X={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(W.value.match(/[{}()\[\]]/g)){for(;z1?P[W.value]++:F.value==="=0;--D)this.$tryReplace(_[D],g)&&O++;return this.selection.setSelectionRange(F),O},w.prototype.$tryReplace=function(g,E){var _=this.session.getTextRange(g);return E=this.$search.replace(_,E),E!==null?(g.end=this.session.replace(g,E),g):null},w.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},w.prototype.find=function(g,E,_){E||(E={}),typeof g=="string"||g instanceof RegExp?E.needle=g:typeof g=="object"&&y.mixin(E,g);var O=this.selection.getRange();E.needle==null&&(g=this.session.getTextRange(O)||this.$search.$options.needle,g||(O=this.session.getWordRange(O.start.row,O.start.column),g=this.session.getTextRange(O)),this.$search.set({needle:g})),this.$search.set(E),E.start||this.$search.set({start:O});var F=this.$search.find(this.session);if(E.preventScroll)return F;if(F)return this.revealRange(F,_),F;E.backwards?O.start=O.end:O.end=O.start,this.selection.setRange(O)},w.prototype.findNext=function(g,E){this.find({skipCurrent:!0,backwards:!1},g,E)},w.prototype.findPrevious=function(g,E){this.find(g,{skipCurrent:!0,backwards:!0},E)},w.prototype.revealRange=function(g,E){this.session.unfold(g),this.selection.setSelectionRange(g);var _=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(g.start,g.end,.5),E!==!1&&this.renderer.animateScrolling(_)},w.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},w.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},w.prototype.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach(function(g){g.destroy()}),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},w.prototype.setAutoScrollEditorIntoView=function(g){if(g){var E,_=this,O=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var F=this.$scrollAnchor;F.style.cssText="position:absolute",this.container.insertBefore(F,this.container.firstChild);var D=this.on("changeSelection",function(){O=!0}),W=this.renderer.on("beforeRender",function(){O&&(E=_.renderer.container.getBoundingClientRect())}),j=this.renderer.on("afterRender",function(){if(O&&E&&(_.isFocused()||_.searchBox&&_.searchBox.isFocused())){var H=_.renderer,P=H.$cursorLayer.$pixelPos,z=H.layerConfig,B=P.top-z.offset;P.top>=0&&B+E.top<0?O=!0:P.topwindow.innerHeight?O=!1:O=null,O!=null&&(F.style.top=B+"px",F.style.left=P.left+"px",F.style.height=z.lineHeight+"px",F.scrollIntoView(O)),O=E=null}});this.setAutoScrollEditorIntoView=function(H){H||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",D),this.renderer.off("afterRender",j),this.renderer.off("beforeRender",W))}}},w.prototype.$resetCursorStyle=function(){var g=this.$cursorStyle||"ace",E=this.renderer.$cursorLayer;E&&(E.setSmoothBlinking(/smooth/.test(g)),E.isBlinking=!this.$readOnly&&g!="wide",p.setCssClass(E.element,"ace_slim-cursors",/slim/.test(g)))},w.prototype.prompt=function(g,E,_){var O=this;v.loadModule("ace/ext/prompt",function(F){F.prompt(O,g,E,_)})},w}();$.$uid=0,$.prototype.curOp=null,$.prototype.prevOp={},$.prototype.$mergeableCommands=["backspace","del","insertstring"],$.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],y.implement($.prototype,u),v.defineOptions($.prototype,"editor",{selectionStyle:{set:function(w){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:w})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(w){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(w){this.textInput.setReadOnly(w),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(w){this.textInput.setCopyWithEmptySelection(w)},initialValue:!1},cursorStyle:{set:function(w){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(w){this.setAutoScrollEditorIntoView(w)}},keyboardHandler:{set:function(w){this.setKeyboardHandler(w)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(w){this.session.setValue(w)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(w){this.setSession(w)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(w){this.renderer.$gutterLayer.setShowLineNumbers(w),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),w&&this.$relativeLineNumbers?S.attach(this):S.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(w){this.$showLineNumbers&&w?S.attach(this):S.detach(this)}},placeholder:{set:function(w){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var g=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(g&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),p.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(!g&&!this.renderer.placeholderNode){this.renderer.on("afterRender",this.$updatePlaceholder),p.addCssClass(this.container,"ace_hasPlaceholder");var E=p.createElement("div");E.className="ace_placeholder",E.textContent=this.$placeholder||"",this.renderer.placeholderNode=E,this.renderer.content.appendChild(this.renderer.placeholderNode)}else!g&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"")}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(w){var g={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(O){O.blur(),O.renderer.scroller.focus()},readOnly:!0},E=function(O){if(O.target==this.renderer.scroller&&O.keyCode===R.enter){O.preventDefault();var F=this.getCursorPosition().row;this.isRowVisible(F)||this.scrollToLine(F,!0,!0),this.focus()}},_;w?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(c.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",x("editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",x("Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",E.bind(this)),this.commands.addCommand(g),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",x("editor")),this.renderer.$gutter.setAttribute("aria-label",x("Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),_||(_=new f(this)),_.addListener()):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",E.bind(this)),this.commands.removeCommand(g),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),_&&_.removeListener())},initialValue:!1},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var S={getText:function(w,g){return(Math.abs(w.selection.lead.row-g)||g+1+(g<9?"\xB7":""))+""},getWidth:function(w,g,E){return Math.max(g.toString().length,(E.lastRow+1).toString().length,2)*E.characterWidth},update:function(w,g){g.renderer.$loop.schedule(g.renderer.CHANGE_GUTTER)},attach:function(w){w.renderer.$gutterLayer.$renderer=this,w.on("changeSelection",this.update),this.update(null,w)},detach:function(w){w.renderer.$gutterLayer.$renderer==this&&(w.renderer.$gutterLayer.$renderer=null),w.off("changeSelection",this.update),this.update(null,w)}};T.Editor=$}),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],function(L,T,I){"use strict";var m=L("../lib/dom"),y=function(){function p(l,c){this.element=l,this.canvasHeight=c||5e5,this.element.style.height=this.canvasHeight*2+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return p.prototype.moveContainer=function(l){m.translate(this.element,0,-(l.firstRowScreen*l.lineHeight%this.canvasHeight)-l.offset*this.$offsetCoefficient)},p.prototype.pageChanged=function(l,c){return Math.floor(l.firstRowScreen*l.lineHeight/this.canvasHeight)!==Math.floor(c.firstRowScreen*c.lineHeight/this.canvasHeight)},p.prototype.computeLineTop=function(l,c,r){var i=c.firstRowScreen*c.lineHeight,n=Math.floor(i/this.canvasHeight),e=r.documentToScreenRow(l,0)*c.lineHeight;return e-n*this.canvasHeight},p.prototype.computeLineHeight=function(l,c,r){return c.lineHeight*r.getRowLineCount(l)},p.prototype.getLength=function(){return this.cells.length},p.prototype.get=function(l){return this.cells[l]},p.prototype.shift=function(){this.$cacheCell(this.cells.shift())},p.prototype.pop=function(){this.$cacheCell(this.cells.pop())},p.prototype.push=function(l){if(Array.isArray(l)){this.cells.push.apply(this.cells,l);for(var c=m.createFragment(this.element),r=0;rb&&(k=d.end.row+1,d=o.getNextFoldLine(k,d),b=d?d.start.row:1/0),k>u){for(;this.$lines.getLength()>C+1;)this.$lines.pop();break}v=this.$lines.get(++C),v?v.row=k:(v=this.$lines.createCell(k,t,this.session,n),this.$lines.push(v)),this.$renderCell(v,t,d,k),k++}this._signal("afterRender"),this.$updateGutterWidth(t)},e.prototype.$updateGutterWidth=function(t){var o=this.session,a=o.gutterRenderer||this.$renderer,u=o.$firstLineNumber,d=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||o.$useWrapMode)&&(d=o.getLength()+u-1);var b=a?a.getWidth(o,d,t):d.toString().length*t.characterWidth,v=this.$padding||this.$computePadding();b+=v.left+v.right,b!==this.gutterWidth&&!isNaN(b)&&(this.gutterWidth=b,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",b))},e.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var t=this.session.selection.getCursor();this.$cursorRow!==t.row&&(this.$cursorRow=t.row)}},e.prototype.updateLineHighlight=function(){if(this.$highlightGutterLine){var t=this.session.selection.cursor.row;if(this.$cursorRow=t,!(this.$cursorCell&&this.$cursorCell.row==t)){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var o=this.$lines.cells;this.$cursorCell=null;for(var a=0;a=this.$cursorRow){if(u.row>this.$cursorRow){var d=this.session.getFoldLine(this.$cursorRow);if(a>0&&d&&d.start.row==o[a-1].row)u=o[a-1];else break}u.element.className="ace_gutter-active-line "+u.element.className,this.$cursorCell=u;break}}}}},e.prototype.scrollLines=function(t){var o=this.config;if(this.config=t,this.$updateCursorRow(),this.$lines.pageChanged(o,t))return this.update(t);this.$lines.moveContainer(t);var a=Math.min(t.lastRow+t.gutterOffset,this.session.getLength()-1),u=this.oldLastRow;if(this.oldLastRow=a,!o||u0;d--)this.$lines.shift();if(u>a)for(var d=this.session.getFoldedRowCount(a+1,u);d>0;d--)this.$lines.pop();t.firstRowu&&this.$lines.push(this.$renderLines(t,u+1,a)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(t)},e.prototype.$renderLines=function(t,o,a){for(var u=[],d=o,b=this.session.getNextFoldLine(d),v=b?b.start.row:1/0;d>v&&(d=b.end.row+1,b=this.session.getNextFoldLine(d,b),v=b?b.start.row:1/0),!(d>a);){var C=this.$lines.createCell(d,t,this.session,n);this.$renderCell(C,t,b,d),u.push(C),d++}return u},e.prototype.$renderCell=function(t,o,a,u){var d=t.element,b=this.session,v=d.childNodes[0],C=d.childNodes[1],k=d.childNodes[2],f=k.firstChild,x=b.$firstLineNumber,A=b.$breakpoints,R=b.$decorations,$=b.gutterRenderer||this.$renderer,S=this.$showFoldWidgets&&b.foldWidgets,w=a?a.start.row:Number.MAX_VALUE,g=o.lineHeight+"px",E=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",_=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",O=($?$.getText(b,u):u+x).toString();if(this.$highlightGutterLine&&(u==this.$cursorRow||a&&u=w&&this.$cursorRow<=a.end.row)&&(E+="ace_gutter-active-line ",this.$cursorCell!=t&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=t)),A[u]&&(E+=A[u]),R[u]&&(E+=R[u]),this.$annotations[u]&&u!==w&&(E+=this.$annotations[u].className),S){var F=S[u];F==null&&(F=S[u]=b.getFoldWidget(u))}if(F){var D="ace_fold-widget ace_"+F,W=F=="start"&&u==w&&ua.right-o.right)return"foldWidgets"},e}();i.prototype.$fixedWidth=!1,i.prototype.$highlightGutterLine=!0,i.prototype.$renderer="",i.prototype.$showLineNumbers=!0,i.prototype.$showFoldWidgets=!0,y.implement(i.prototype,l);function n(e){var t=document.createTextNode("");e.appendChild(t);var o=m.createElement("span");e.appendChild(o);var a=m.createElement("span");e.appendChild(a);var u=m.createElement("span");return a.appendChild(u),e}T.Gutter=i}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(L,T,I){"use strict";var m=L("../range").Range,y=L("../lib/dom"),p=function(){function c(r){this.element=y.createElement("div"),this.element.className="ace_layer ace_marker-layer",r.appendChild(this.element)}return c.prototype.setPadding=function(r){this.$padding=r},c.prototype.setSession=function(r){this.session=r},c.prototype.setMarkers=function(r){this.markers=r},c.prototype.elt=function(r,i){var n=this.i!=-1&&this.element.childNodes[this.i];n?this.i++:(n=document.createElement("div"),this.element.appendChild(n),this.i=-1),n.style.cssText=i,n.className=r},c.prototype.update=function(r){if(r){this.config=r,this.i=0;var i;for(var n in this.markers){var e=this.markers[n];if(!e.range){e.update(i,this,this.session,r);continue}var t=e.range.clipRows(r.firstRow,r.lastRow);if(!t.isEmpty())if(t=t.toScreenRange(this.session),e.renderer){var o=this.$getTop(t.start.row,r),a=this.$padding+t.start.column*r.characterWidth;e.renderer(i,t,a,o,r)}else e.type=="fullLine"?this.drawFullLineMarker(i,t,e.clazz,r):e.type=="screenLine"?this.drawScreenLineMarker(i,t,e.clazz,r):t.isMultiLine()?e.type=="text"?this.drawTextMarker(i,t,e.clazz,r):this.drawMultiLineMarker(i,t,e.clazz,r):this.drawSingleLineMarker(i,t,e.clazz+" ace_start ace_br15",r)}if(this.i!=-1)for(;this.iC,d==u),e,d==u?0:1,t)},c.prototype.drawMultiLineMarker=function(r,i,n,e,t){var o=this.$padding,a=e.lineHeight,u=this.$getTop(i.start.row,e),d=o+i.start.column*e.characterWidth;if(t=t||"",this.session.$bidiHandler.isBidiRow(i.start.row)){var b=i.clone();b.end.row=b.start.row,b.end.column=this.session.getLine(b.start.row).length,this.drawBidiSingleLineMarker(r,b,n+" ace_br1 ace_start",e,null,t)}else this.elt(n+" ace_br1 ace_start","height:"+a+"px;right:0;top:"+u+"px;left:"+d+"px;"+(t||""));if(this.session.$bidiHandler.isBidiRow(i.end.row)){var b=i.clone();b.start.row=b.end.row,b.start.column=0,this.drawBidiSingleLineMarker(r,b,n+" ace_br12",e,null,t)}else{u=this.$getTop(i.end.row,e);var v=i.end.column*e.characterWidth;this.elt(n+" ace_br12","height:"+a+"px;width:"+v+"px;top:"+u+"px;left:"+o+"px;"+(t||""))}if(a=(i.end.row-i.start.row-1)*e.lineHeight,!(a<=0)){u=this.$getTop(i.start.row+1,e);var C=(i.start.column?1:0)|(i.end.column?0:8);this.elt(n+(C?" ace_br"+C:""),"height:"+a+"px;right:0;top:"+u+"px;left:"+o+"px;"+(t||""))}},c.prototype.drawSingleLineMarker=function(r,i,n,e,t,o){if(this.session.$bidiHandler.isBidiRow(i.start.row))return this.drawBidiSingleLineMarker(r,i,n,e,t,o);var a=e.lineHeight,u=(i.end.column+(t||0)-i.start.column)*e.characterWidth,d=this.$getTop(i.start.row,e),b=this.$padding+i.start.column*e.characterWidth;this.elt(n,"height:"+a+"px;width:"+u+"px;top:"+d+"px;left:"+b+"px;"+(o||""))},c.prototype.drawBidiSingleLineMarker=function(r,i,n,e,t,o){var a=e.lineHeight,u=this.$getTop(i.start.row,e),d=this.$padding,b=this.session.$bidiHandler.getSelections(i.start.column,i.end.column);b.forEach(function(v){this.elt(n,"height:"+a+"px;width:"+(v.width+(t||0))+"px;top:"+u+"px;left:"+(d+v.left)+"px;"+(o||""))},this)},c.prototype.drawFullLineMarker=function(r,i,n,e,t){var o=this.$getTop(i.start.row,e),a=e.lineHeight;i.start.row!=i.end.row&&(a+=this.$getTop(i.end.row,e)-o),this.elt(n,"height:"+a+"px;top:"+o+"px;left:0;right:0;"+(t||""))},c.prototype.drawScreenLineMarker=function(r,i,n,e,t){var o=this.$getTop(i.start.row,e),a=e.lineHeight;this.elt(n,"height:"+a+"px;top:"+o+"px;left:0;right:0;"+(t||""))},c}();p.prototype.$padding=0;function l(c,r,i,n){return(c?1:0)|(r?2:0)|(i?4:0)|(n?8:0)}T.Marker=p}),ace.define("ace/layer/text_util",["require","exports","module"],function(L,T,I){var m=new Set(["text","rparen","lparen"]);T.isTextToken=function(y){return m.has(y)}}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],function(L,T,I){"use strict";var m=L("../lib/oop"),y=L("../lib/dom"),p=L("../lib/lang"),l=L("./lines").Lines,c=L("../lib/event_emitter").EventEmitter,r=L("../config").nls,i=L("./text_util").isTextToken,n=function(){function e(t){this.dom=y,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",t.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new l(this.element)}return e.prototype.$updateEolChar=function(){var t=this.session.doc,o=t.getNewLineCharacter()==` `&&t.getNewLineMode()!="windows",a=o?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=a)return this.EOL_CHAR=a,!0},e.prototype.setPadding=function(t){this.$padding=t,this.element.style.margin="0 "+t+"px"},e.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},e.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},e.prototype.$setFontMetrics=function(t){this.$fontMetrics=t,this.$fontMetrics.on("changeCharacterSize",function(o){this._signal("changeCharacterSize",o)}.bind(this)),this.$pollSizeChanges()},e.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},e.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},e.prototype.setSession=function(t){this.session=t,t&&this.$computeTabString()},e.prototype.setShowInvisibles=function(t){return this.showInvisibles==t?!1:(this.showInvisibles=t,typeof t=="string"?(this.showSpaces=/tab/i.test(t),this.showTabs=/space/i.test(t),this.showEOL=/eol/i.test(t)):this.showSpaces=this.showTabs=this.showEOL=t,this.$computeTabString(),!0)},e.prototype.setDisplayIndentGuides=function(t){return this.displayIndentGuides==t?!1:(this.displayIndentGuides=t,this.$computeTabString(),!0)},e.prototype.setHighlightIndentGuides=function(t){return this.$highlightIndentGuides===t?!1:(this.$highlightIndentGuides=t,t)},e.prototype.$computeTabString=function(){var t=this.session.getTabSize();this.tabSize=t;for(var o=this.$tabStrings=[0],a=1;ax&&(k=f.end.row+1,f=this.session.getNextFoldLine(k,f),x=f?f.start.row:1/0),!(k>d);){var A=b[v++];if(A){this.dom.removeChildren(A),this.$renderLine(A,k,k==x?f:!1),C&&(A.style.top=this.$lines.computeLineTop(k,t,this.session)+"px");var R=t.lineHeight*this.session.getRowLength(k)+"px";A.style.height!=R&&(C=!0,A.style.height=R)}k++}if(C)for(;v0;d--)this.$lines.shift();if(o.lastRow>t.lastRow)for(var d=this.session.getFoldedRowCount(t.lastRow+1,o.lastRow);d>0;d--)this.$lines.pop();t.firstRowo.lastRow&&this.$lines.push(this.$renderLinesFragment(t,o.lastRow+1,t.lastRow)),this.$highlightIndentGuide()},e.prototype.$renderLinesFragment=function(t,o,a){for(var u=[],d=o,b=this.session.getNextFoldLine(d),v=b?b.start.row:1/0;d>v&&(d=b.end.row+1,b=this.session.getNextFoldLine(d,b),v=b?b.start.row:1/0),!(d>a);){var C=this.$lines.createCell(d,t,this.session),k=C.element;this.dom.removeChildren(k),y.setStyle(k.style,"height",this.$lines.computeLineHeight(d,t,this.session)+"px"),y.setStyle(k.style,"top",this.$lines.computeLineTop(d,t,this.session)+"px"),this.$renderLine(k,d,d==v?b:!1),this.$useLineGroups()?k.className="ace_line_group":k.className="ace_line",u.push(C),d++}return u},e.prototype.update=function(t){this.$lines.moveContainer(t),this.config=t;for(var o=t.firstRow,a=t.lastRow,u=this.$lines;u.getLength();)u.pop();u.push(this.$renderLinesFragment(t,o,a))},e.prototype.$renderToken=function(t,o,a,u){for(var d=this,b=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,v=this.dom.createFragment(this.element),C,k=0;C=b.exec(u);){var f=C[1],x=C[2],A=C[3],R=C[4],$=C[5];if(!(!d.showSpaces&&x)){var S=k!=C.index?u.slice(k,C.index):"";if(k=C.index+C[0].length,S&&v.appendChild(this.dom.createTextNode(S,this.element)),f){var w=d.session.getScreenTabSize(o+C.index);v.appendChild(d.$tabStrings[w].cloneNode(!0)),o+=w-1}else if(x)if(d.showSpaces){var g=this.dom.createElement("span");g.className="ace_invisible ace_invisible_space",g.textContent=p.stringRepeat(d.SPACE_CHAR,x.length),v.appendChild(g)}else v.appendChild(this.dom.createTextNode(x,this.element));else if(A){var g=this.dom.createElement("span");g.className="ace_invisible ace_invisible_space ace_invalid",g.textContent=p.stringRepeat(d.SPACE_CHAR,A.length),v.appendChild(g)}else if(R){o+=1;var g=this.dom.createElement("span");g.style.width=d.config.characterWidth*2+"px",g.className=d.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",g.textContent=d.showSpaces?d.SPACE_CHAR:R,v.appendChild(g)}else if($){o+=1;var g=this.dom.createElement("span");g.style.width=d.config.characterWidth*2+"px",g.className="ace_cjk",g.textContent=$,v.appendChild(g)}}}if(v.appendChild(this.dom.createTextNode(k?u.slice(k):u,this.element)),i(a.type))t.appendChild(v);else{var E="ace_"+a.type.replace(/\./g," ace_"),g=this.dom.createElement("span");a.type=="fold"&&(g.style.width=a.value.length*this.config.characterWidth+"px",g.setAttribute("title",r("Unfold code"))),g.className=E,g.appendChild(v),t.appendChild(g)}return o+u.length},e.prototype.renderIndentGuide=function(t,o,a){var u=o.search(this.$indentGuideRe);if(u<=0||u>=a)return o;if(o[0]==" "){u-=u%this.tabSize;for(var d=u/this.tabSize,b=0;bb[v].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}}if(!this.$highlightIndentGuideMarker.end&&t[o.row]!==""&&o.column===t[o.row].length){this.$highlightIndentGuideMarker.dir=1;for(var v=o.row+1;v0){for(var d=0;d=this.$highlightIndentGuideMarker.start+1){if(u.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(u,o)}}else for(var a=t.length-1;a>=0;a--){var u=t[a];if(this.$highlightIndentGuideMarker.end&&u.row=b;)v=this.$renderToken(C,v,f,x.substring(0,b-u)),x=x.substring(b-u),u=b,C=this.$createLineElement(),t.appendChild(C),C.appendChild(this.dom.createTextNode(p.stringRepeat("\xA0",a.indent),this.element)),d++,v=0,b=a[d]||Number.MAX_VALUE;x.length!=0&&(u+=x.length,v=this.$renderToken(C,v,f,x))}}a[a.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(C,v,null,"",!0)},e.prototype.$renderSimpleLine=function(t,o){for(var a=0,u=0;uthis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(t,a,d,b);a=this.$renderToken(t,a,d,b)}}},e.prototype.$renderOverflowMessage=function(t,o,a,u,d){a&&this.$renderToken(t,o,a,u.slice(0,this.MAX_LINE_LENGTH-o));var b=this.dom.createElement("span");b.className="ace_inline_button ace_keyword ace_toggle_wrap",b.textContent=d?"":"",t.appendChild(b)},e.prototype.$renderLine=function(t,o,a){if(!a&&a!=!1&&(a=this.session.getFoldLine(o)),a)var u=this.$getFoldLineTokens(o,a);else var u=this.session.getTokens(o);var d=t;if(u.length){var b=this.session.getRowSplitData(o);if(b&&b.length){this.$renderWrappedLine(t,u,b);var d=t.lastChild}else{var d=t;this.$useLineGroups()&&(d=this.$createLineElement(),t.appendChild(d)),this.$renderSimpleLine(d,u)}}else this.$useLineGroups()&&(d=this.$createLineElement(),t.appendChild(d));if(this.showEOL&&d){a&&(o=a.end.row);var v=this.dom.createElement("span");v.className="ace_invisible ace_invisible_eol",v.textContent=o==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,d.appendChild(v)}},e.prototype.$getFoldLineTokens=function(t,o){var a=this.session,u=[];function d(v,C,k){for(var f=0,x=0;x+v[f].value.lengthk-C&&(A=A.substring(0,k-C)),u.push({type:v[f].type,value:A}),x=C+A.length,f+=1}for(;xk?u.push({type:v[f].type,value:A.substring(0,k-x)}):u.push(v[f]),x+=A.length,f+=1}}var b=a.getTokens(t);return o.walk(function(v,C,k,f,x){v!=null?u.push({type:"fold",value:v}):(x&&(b=a.getTokens(C)),b.length&&d(b,f,k))},o.end.row,this.session.getLine(o.end.row).length),u},e.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},e}();n.prototype.EOF_CHAR="\xB6",n.prototype.EOL_CHAR_LF="\xAC",n.prototype.EOL_CHAR_CRLF="\xA4",n.prototype.EOL_CHAR=n.prototype.EOL_CHAR_LF,n.prototype.TAB_CHAR="\u2014",n.prototype.SPACE_CHAR="\xB7",n.prototype.$padding=0,n.prototype.MAX_LINE_LENGTH=1e4,n.prototype.showInvisibles=!1,n.prototype.showSpaces=!1,n.prototype.showTabs=!1,n.prototype.showEOL=!1,n.prototype.displayIndentGuides=!0,n.prototype.$highlightIndentGuides=!0,n.prototype.$tabStrings=[],n.prototype.destroy={},n.prototype.onChangeTabSize=n.prototype.$computeTabString,m.implement(n.prototype,c),T.Text=n}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(L,T,I){"use strict";var m=L("../lib/dom"),y=function(){function p(l){this.element=m.createElement("div"),this.element.className="ace_layer ace_cursor-layer",l.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),m.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return p.prototype.$updateOpacity=function(l){for(var c=this.cursors,r=c.length;r--;)m.setStyle(c[r].style,"opacity",l?"":"0")},p.prototype.$startCssAnimation=function(){for(var l=this.cursors,c=l.length;c--;)l[c].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&m.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},p.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,m.removeCssClass(this.element,"ace_animate-blinking")},p.prototype.setPadding=function(l){this.$padding=l},p.prototype.setSession=function(l){this.session=l},p.prototype.setBlinking=function(l){l!=this.isBlinking&&(this.isBlinking=l,this.restartTimer())},p.prototype.setBlinkInterval=function(l){l!=this.blinkInterval&&(this.blinkInterval=l,this.restartTimer())},p.prototype.setSmoothBlinking=function(l){l!=this.smoothBlinking&&(this.smoothBlinking=l,m.setCssClass(this.element,"ace_smooth-blinking",l),this.$updateCursors(!0),this.restartTimer())},p.prototype.addCursor=function(){var l=m.createElement("div");return l.className="ace_cursor",this.element.appendChild(l),this.cursors.push(l),l},p.prototype.removeCursor=function(){if(this.cursors.length>1){var l=this.cursors.pop();return l.parentNode.removeChild(l),l}},p.prototype.hideCursor=function(){this.isVisible=!1,m.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},p.prototype.showCursor=function(){this.isVisible=!0,m.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},p.prototype.restartTimer=function(){var l=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,m.removeCssClass(this.element,"ace_smooth-blinking")),l(!0),!this.isBlinking||!this.blinkInterval||!this.isVisible){this.$stopCssAnimation();return}if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&m.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),m.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var c=function(){this.timeoutId=setTimeout(function(){l(!1)},.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){l(!0),c()},this.blinkInterval),c()}},p.prototype.getPixelPosition=function(l,c){if(!this.config||!this.session)return{left:0,top:0};l||(l=this.session.selection.getCursor());var r=this.session.documentToScreenPosition(l),i=this.$padding+(this.session.$bidiHandler.isBidiRow(r.row,l.row)?this.session.$bidiHandler.getPosLeft(r.column):r.column*this.config.characterWidth),n=(r.row-(c?this.config.firstRowScreen:0))*this.config.lineHeight;return{left:i,top:n}},p.prototype.isCursorInView=function(l,c){return l.top>=0&&l.topl.height+l.offset||e.top<0)&&r>1)){var t=this.cursors[i++]||this.addCursor(),o=t.style;this.drawCursor?this.drawCursor(t,e,l,c[r],this.session):this.isCursorInView(e,l)?(m.setStyle(o,"display","block"),m.translate(t,e.left,e.top),m.setStyle(o,"width",Math.round(l.characterWidth)+"px"),m.setStyle(o,"height",l.lineHeight+"px")):m.setStyle(o,"display","none")}}for(;this.cursors.length>i;)this.removeCursor();var a=this.session.getOverwrite();this.$setOverwrite(a),this.$pixelPos=e,this.restartTimer()},p.prototype.$setOverwrite=function(l){l!=this.overwrite&&(this.overwrite=l,l?m.addCssClass(this.element,"ace_overwrite-cursors"):m.removeCssClass(this.element,"ace_overwrite-cursors"))},p.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},p}();y.prototype.$padding=0,y.prototype.drawCursor=null,T.Cursor=y}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(L,T,I){"use strict";var m=this&&this.__extends||function(){var t=function(o,a){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var b in d)Object.prototype.hasOwnProperty.call(d,b)&&(u[b]=d[b])},t(o,a)};return function(o,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");t(o,a);function u(){this.constructor=o}o.prototype=a===null?Object.create(a):(u.prototype=a.prototype,new u)}}(),y=L("./lib/oop"),p=L("./lib/dom"),l=L("./lib/event"),c=L("./lib/event_emitter").EventEmitter,r=32768,i=function(){function t(o,a){this.element=p.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+a,this.inner=p.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent="\xA0",this.element.appendChild(this.inner),o.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,l.addListener(this.element,"scroll",this.onScroll.bind(this)),l.addListener(this.element,"mousedown",l.preventDefault)}return t.prototype.setVisible=function(o){this.element.style.display=o?"":"none",this.isVisible=o,this.coeff=1},t}();y.implement(i.prototype,c);var n=function(t){m(o,t);function o(a,u){var d=t.call(this,a,"-v")||this;return d.scrollTop=0,d.scrollHeight=0,u.$scrollbarWidth=d.width=p.scrollbarWidth(a.ownerDocument),d.inner.style.width=d.element.style.width=(d.width||15)+5+"px",d.$minWidth=0,d}return o.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,this.coeff!=1){var a=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-a)/(this.coeff-a)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},o.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},o.prototype.setHeight=function(a){this.element.style.height=a+"px"},o.prototype.setScrollHeight=function(a){this.scrollHeight=a,a>r?(this.coeff=r/a,a=r):this.coeff!=1&&(this.coeff=1),this.inner.style.height=a+"px"},o.prototype.setScrollTop=function(a){this.scrollTop!=a&&(this.skipEvent=!0,this.scrollTop=a,this.element.scrollTop=a*this.coeff)},o}(i);n.prototype.setInnerHeight=n.prototype.setScrollHeight;var e=function(t){m(o,t);function o(a,u){var d=t.call(this,a,"-h")||this;return d.scrollLeft=0,d.height=u.$scrollbarWidth,d.inner.style.height=d.element.style.height=(d.height||15)+5+"px",d}return o.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},o.prototype.getHeight=function(){return this.isVisible?this.height:0},o.prototype.setWidth=function(a){this.element.style.width=a+"px"},o.prototype.setInnerWidth=function(a){this.inner.style.width=a+"px"},o.prototype.setScrollWidth=function(a){this.inner.style.width=a+"px"},o.prototype.setScrollLeft=function(a){this.scrollLeft!=a&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=a)},o}(i);T.ScrollBar=n,T.ScrollBarV=n,T.ScrollBarH=e,T.VScrollBar=n,T.HScrollBar=e}),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(L,T,I){"use strict";var m=this&&this.__extends||function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,u){a.__proto__=u}||function(a,u){for(var d in u)Object.prototype.hasOwnProperty.call(u,d)&&(a[d]=u[d])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function a(){this.constructor=t}t.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)}}(),y=L("./lib/oop"),p=L("./lib/dom"),l=L("./lib/event"),c=L("./lib/event_emitter").EventEmitter;p.importCssString(`.ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{ position: absolute; background: rgba(128, 128, 128, 0.6); -moz-box-sizing: border-box; box-sizing: border-box; border: 1px solid #bbb; border-radius: 2px; z-index: 8; } .ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h { position: absolute; z-index: 6; background: none; overflow: hidden!important; } .ace_editor>.ace_sb-v { z-index: 6; right: 0; top: 0; width: 12px; } .ace_editor>.ace_sb-v div { z-index: 8; right: 0; width: 100%; } .ace_editor>.ace_sb-h { bottom: 0; left: 0; height: 12px; } .ace_editor>.ace_sb-h div { bottom: 0; height: 100%; } .ace_editor>.ace_sb_grabbed { z-index: 8; background: #000; }`,"ace_scrollbar.css",!1);var r=function(){function e(t,o){this.element=p.createElement("div"),this.element.className="ace_sb"+o,this.inner=p.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,t.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,l.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}return e.prototype.setVisible=function(t){this.element.style.display=t?"":"none",this.isVisible=t,this.coeff=1},e}();y.implement(r.prototype,c);var i=function(e){m(t,e);function t(o,a){var u=e.call(this,o,"-v")||this;return u.scrollTop=0,u.scrollHeight=0,u.parent=o,u.width=u.VScrollWidth,u.renderer=a,u.inner.style.width=u.element.style.width=(u.width||15)+"px",u.$minWidth=0,u}return t.prototype.onMouseDown=function(o,a){if(o==="mousedown"&&!(l.getButton(a)!==0||a.detail===2)){if(a.target===this.inner){var u=this,d=a.clientY,b=function(R){d=R.clientY},v=function(){clearInterval(x)},C=a.clientY,k=this.thumbTop,f=function(){if(d!==void 0){var R=u.scrollTopFromThumbTop(k+d-C);R!==u.scrollTop&&u._emit("scroll",{data:R})}};l.capture(this.inner,b,v);var x=setInterval(f,20);return l.preventDefault(a)}var A=a.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(A)}),l.preventDefault(a)}},t.prototype.getHeight=function(){return this.height},t.prototype.scrollTopFromThumbTop=function(o){var a=o*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return a=a>>0,a<0?a=0:a>this.pageHeight-this.viewHeight&&(a=this.pageHeight-this.viewHeight),a},t.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},t.prototype.setHeight=function(o){this.height=Math.max(0,o),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},t.prototype.setScrollHeight=function(o,a){this.pageHeight===o&&!a||(this.pageHeight=o,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop})))},t.prototype.setScrollTop=function(o){this.scrollTop=o,o<0&&(o=0),this.thumbTop=o*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"},t}(r);i.prototype.setInnerHeight=i.prototype.setScrollHeight;var n=function(e){m(t,e);function t(o,a){var u=e.call(this,o,"-h")||this;return u.scrollLeft=0,u.scrollWidth=0,u.height=u.HScrollHeight,u.inner.style.height=u.element.style.height=(u.height||12)+"px",u.renderer=a,u}return t.prototype.onMouseDown=function(o,a){if(o==="mousedown"&&!(l.getButton(a)!==0||a.detail===2)){if(a.target===this.inner){var u=this,d=a.clientX,b=function(R){d=R.clientX},v=function(){clearInterval(x)},C=a.clientX,k=this.thumbLeft,f=function(){if(d!==void 0){var R=u.scrollLeftFromThumbLeft(k+d-C);R!==u.scrollLeft&&u._emit("scroll",{data:R})}};l.capture(this.inner,b,v);var x=setInterval(f,20);return l.preventDefault(a)}var A=a.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(A)}),l.preventDefault(a)}},t.prototype.getHeight=function(){return this.isVisible?this.height:0},t.prototype.scrollLeftFromThumbLeft=function(o){var a=o*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return a=a>>0,a<0?a=0:a>this.pageWidth-this.viewWidth&&(a=this.pageWidth-this.viewWidth),a},t.prototype.setWidth=function(o){this.width=Math.max(0,o),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},t.prototype.setScrollWidth=function(o,a){this.pageWidth===o&&!a||(this.pageWidth=o,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft})))},t.prototype.setScrollLeft=function(o){this.scrollLeft=o,o<0&&(o=0),this.thumbLeft=o*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"},t}(r);n.prototype.setInnerWidth=n.prototype.setScrollWidth,T.ScrollBar=i,T.ScrollBarV=i,T.ScrollBarH=n,T.VScrollBar=i,T.HScrollBar=n}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(L,T,I){"use strict";var m=L("./lib/event"),y=function(){function p(l,c){this.onRender=l,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=c||window;var r=this;this._flush=function(i){r.pending=!1;var n=r.changes;if(n&&(m.blockIdle(100),r.changes=0,r.onRender(n)),r.changes){if(r.$recursionLimit--<0)return;r.schedule()}else r.$recursionLimit=2}}return p.prototype.schedule=function(l){this.changes=this.changes|l,this.changes&&!this.pending&&(m.nextFrame(this._flush),this.pending=!0)},p.prototype.clear=function(l){var c=this.changes;return this.changes=0,c},p}();T.RenderLoop=y}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],function(L,T,I){var m=L("../lib/oop"),y=L("../lib/dom"),p=L("../lib/lang"),l=L("../lib/event"),c=L("../lib/useragent"),r=L("../lib/event_emitter").EventEmitter,i=512,n=typeof ResizeObserver=="function",e=200,t=function(){function o(a){this.el=y.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=y.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=y.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),a.appendChild(this.el),this.$measureNode.textContent=p.stringRepeat("X",i),this.$characterSize={width:0,height:0},n?this.$addObserver():this.checkForSizeChanges()}return o.prototype.$setMeasureNodeStyles=function(a,u){a.width=a.height="auto",a.left=a.top="0px",a.visibility="hidden",a.position="absolute",a.whiteSpace="pre",c.isIE<8?a["font-family"]="inherit":a.font="inherit",a.overflow=u?"hidden":"visible"},o.prototype.checkForSizeChanges=function(a){if(a===void 0&&(a=this.$measureSizes()),a&&(this.$characterSize.width!==a.width||this.$characterSize.height!==a.height)){this.$measureNode.style.fontWeight="bold";var u=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=a,this.charSizes=Object.create(null),this.allowBoldFonts=u&&u.width===a.width&&u.height===a.height,this._emit("changeCharacterSize",{data:a})}},o.prototype.$addObserver=function(){var a=this;this.$observer=new window.ResizeObserver(function(u){a.checkForSizeChanges()}),this.$observer.observe(this.$measureNode)},o.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var a=this;return this.$pollSizeChangesTimer=l.onIdle(function u(){a.checkForSizeChanges(),l.onIdle(u,500)},500)},o.prototype.setPolling=function(a){a?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},o.prototype.$measureSizes=function(a){var u={height:(a||this.$measureNode).clientHeight,width:(a||this.$measureNode).clientWidth/i};return u.width===0||u.height===0?null:u},o.prototype.$measureCharWidth=function(a){this.$main.textContent=p.stringRepeat(a,i);var u=this.$main.getBoundingClientRect();return u.width/i},o.prototype.getCharacterWidth=function(a){var u=this.charSizes[a];return u===void 0&&(u=this.charSizes[a]=this.$measureCharWidth(a)/this.$characterSize.width),u},o.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},o.prototype.$getZoom=function(a){return!a||!a.parentElement?1:(window.getComputedStyle(a).zoom||1)*this.$getZoom(a.parentElement)},o.prototype.$initTransformMeasureNodes=function(){var a=function(u,d){return["div",{style:"position: absolute;top:"+u+"px;left:"+d+"px;"}]};this.els=y.buildDom([a(0,0),a(e,0),a(0,e),a(e,e)],this.el)},o.prototype.transformCoordinates=function(a,u){if(a){var d=this.$getZoom(this.el);a=k(1/d,a)}function b(W,j,H){var P=W[1]*j[0]-W[0]*j[1];return[(-j[1]*H[0]+j[0]*H[1])/P,(+W[1]*H[0]-W[0]*H[1])/P]}function v(W,j){return[W[0]-j[0],W[1]-j[1]]}function C(W,j){return[W[0]+j[0],W[1]+j[1]]}function k(W,j){return[W*j[0],W*j[1]]}this.els||this.$initTransformMeasureNodes();function f(W){var j=W.getBoundingClientRect();return[j.left,j.top]}var x=f(this.els[0]),A=f(this.els[1]),R=f(this.els[2]),$=f(this.els[3]),S=b(v($,A),v($,R),v(C(A,R),C($,x))),w=k(1+S[0],v(A,x)),g=k(1+S[1],v(R,x));if(u){var E=u,_=S[0]*E[0]/e+S[1]*E[1]/e+1,O=C(k(E[0],w),k(E[1],g));return C(k(1/_/e,O),x)}var F=v(a,x),D=b(v(w,k(S[0],F)),v(g,k(S[1],F)),F);return k(e,D)},o}();t.prototype.$characterSize={width:0,height:0},m.implement(t.prototype,r),T.FontMetrics=t}),ace.define("ace/css/editor-css",["require","exports","module"],function(L,T,I){I.exports=` .ace_br1 {border-top-left-radius : 3px;} .ace_br2 {border-top-right-radius : 3px;} .ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;} .ace_br4 {border-bottom-right-radius: 3px;} .ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;} .ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;} .ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;} .ace_br8 {border-bottom-left-radius : 3px;} .ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;} .ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;} .ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;} .ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;} .ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;} .ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;} .ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;} .ace_editor { position: relative; overflow: hidden; padding: 0; font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Source Code Pro', 'source-code-pro', monospace; direction: ltr; text-align: left; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .ace_scroller { position: absolute; overflow: hidden; top: 0; bottom: 0; background-color: inherit; -ms-user-select: none; -moz-user-select: none; -webkit-user-select: none; user-select: none; cursor: text; } .ace_content { position: absolute; box-sizing: border-box; min-width: 100%; contain: style size layout; font-variant-ligatures: no-common-ligatures; } .ace_keyboard-focus:focus { box-shadow: inset 0 0 0 2px #5E9ED6; outline: none; } .ace_dragging .ace_scroller:before{ position: absolute; top: 0; left: 0; right: 0; bottom: 0; content: ''; background: rgba(250, 250, 250, 0.01); z-index: 1000; } .ace_dragging.ace_dark .ace_scroller:before{ background: rgba(0, 0, 0, 0.01); } .ace_gutter { position: absolute; overflow : hidden; width: auto; top: 0; bottom: 0; left: 0; cursor: default; z-index: 4; -ms-user-select: none; -moz-user-select: none; -webkit-user-select: none; user-select: none; contain: style size layout; } .ace_gutter-active-line { position: absolute; left: 0; right: 0; } .ace_scroller.ace_scroll-left:after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset; pointer-events: none; } .ace_gutter-cell, .ace_gutter-cell_svg-icons { position: absolute; top: 0; left: 0; right: 0; padding-left: 19px; padding-right: 6px; background-repeat: no-repeat; } .ace_gutter-cell_svg-icons .ace_gutter_annotation { margin-left: -14px; float: left; } .ace_gutter-cell .ace_gutter_annotation { margin-left: -19px; float: left; } .ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg=="); background-repeat: no-repeat; background-position: 2px center; } .ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg=="); background-repeat: no-repeat; background-position: 2px center; } .ace_gutter-cell.ace_info, .ace_icon.ace_info { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII="); background-repeat: no-repeat; background-position: 2px center; } .ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC"); } .ace_icon_svg.ace_error { -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJyZWQiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KPGNpcmNsZSBmaWxsPSJub25lIiBjeD0iOCIgY3k9IjgiIHI9IjciIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjExIiB5MT0iNSIgeDI9IjUiIHkyPSIxMSIvPgo8bGluZSB4MT0iMTEiIHkxPSIxMSIgeDI9IjUiIHkyPSI1Ii8+CjwvZz4KPC9zdmc+"); background-color: crimson; } .ace_icon_svg.ace_warning { -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJkYXJrb3JhbmdlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+Cjxwb2x5Z29uIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiIHBvaW50cz0iOCAxIDE1IDE1IDEgMTUgOCAxIi8+CjxyZWN0IHg9IjgiIHk9IjEyIiB3aWR0aD0iMC4wMSIgaGVpZ2h0PSIwLjAxIi8+CjxsaW5lIHgxPSI4IiB5MT0iNiIgeDI9IjgiIHkyPSIxMCIvPgo8L2c+Cjwvc3ZnPg=="); background-color: darkorange; } .ace_icon_svg.ace_info { -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJibHVlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CjxjaXJjbGUgZmlsbD0ibm9uZSIgY3g9IjgiIGN5PSI4IiByPSI3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjggMTEgOCA4Ii8+Cjxwb2x5bGluZSBwb2ludHM9IjkgOCA2IDgiLz4KPGxpbmUgeDE9IjEwIiB5MT0iMTEiIHgyPSI2IiB5Mj0iMTEiLz4KPHJlY3QgeD0iOCIgeT0iNSIgd2lkdGg9IjAuMDEiIGhlaWdodD0iMC4wMSIvPgo8L2c+Cjwvc3ZnPg=="); background-color: royalblue; } .ace_icon_svg.ace_error_fold { -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0ibSAxOC45Mjk4NTEsNy44Mjk4MDc2IGMgMC4xNDYzNTMsNi4zMzc0NjA0IC02LjMyMzE0Nyw3Ljc3Nzg0NDQgLTcuNDc3OTEyLDcuNzc3ODQ0NCAtMi4xMDcyNzI2LC0wLjEyODc1IDUuMTE3Njc4LDAuMzU2MjQ5IDUuMDUxNjk4LC03Ljg3MDA2MTggLTAuNjA0NjcyLC04LjAwMzk3MzQ5IC03LjA3NzI3MDYsLTcuNTYzMTE4OSAtNC44NTczLC03LjQzMDM5NTU2IDEuNjA2LC0wLjExNTE0MjI1IDYuODk3NDg1LDEuMjYyNTQ1OTYgNy4yODM1MTQsNy41MjI2MTI5NiB6IiBmaWxsPSJjcmltc29uIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibSA4LjExNDc1NjIsMi4wNTI5ODI4IGMgMy4zNDkxNjk4LDAgNi4wNjQxMzI4LDIuNjc2ODYyNyA2LjA2NDEzMjgsNS45Nzg5NTMgMCwzLjMwMjExMjIgLTIuNzE0OTYzLDUuOTc4OTIwMiAtNi4wNjQxMzI4LDUuOTc4OTIwMiAtMy4zNDkxNDczLDAgLTYuMDY0MTc3MiwtMi42NzY4MDggLTYuMDY0MTc3MiwtNS45Nzg5MjAyIDAuMDA1MzksLTMuMjk5ODg2MSAyLjcxNzI2NTYsLTUuOTczNjQwOCA2LjA2NDE3NzIsLTUuOTc4OTUzIHogbSAwLC0xLjczNTgyNzE5IGMgLTQuMzIxNDgzNiwwIC03LjgyNDc0MDM4LDMuNDU0MDE4NDkgLTcuODI0NzQwMzgsNy43MTQ3ODAxOSAwLDQuMjYwNzI4MiAzLjUwMzI1Njc4LDcuNzE0NzQ1MiA3LjgyNDc0MDM4LDcuNzE0NzQ1MiA0LjMyMTQ0OTgsMCA3LjgyNDY5OTgsLTMuNDU0MDE3IDcuODI0Njk5OCwtNy43MTQ3NDUyIDAsLTIuMDQ2MDkxNCAtMC44MjQzOTIsLTQuMDA4MzY3MiAtMi4yOTE3NTYsLTUuNDU1MTc0NiBDIDEyLjE4MDIyNSwxLjEyOTk2NDggMTAuMTkwMDEzLDAuMzE3MTU1NjEgOC4xMTQ3NTYyLDAuMzE3MTU1NjEgWiBNIDYuOTM3NDU2Myw4LjI0MDU5ODUgNC42NzE4Njg1LDEwLjQ4NTg1MiA2LjAwODY4MTQsMTEuODc2NzI4IDguMzE3MDAzNSw5LjYwMDc5MTEgMTAuNjI1MzM3LDExLjg3NjcyOCAxMS45NjIxMzgsMTAuNDg1ODUyIDkuNjk2NTUwOCw4LjI0MDU5ODUgMTEuOTYyMTM4LDYuMDA2ODA2NiAxMC41NzMyNDYsNC42Mzc0MzM1IDguMzE3MDAzNSw2Ljg3MzQyOTcgNi4wNjA3NjA3LDQuNjM3NDMzNSA0LjY3MTg2ODUsNi4wMDY4MDY2IFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4="); background-color: crimson; } .ace_icon_svg.ace_warning_fold { -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC43NzY5IDE0LjczMzdMOC42NTE5MiAyLjQ4MzY5QzguMzI5NDYgMS44Mzg3NyA3LjQwOTEzIDEuODM4NzcgNy4wODY2NyAyLjQ4MzY5TDAuOTYxNjY5IDE0LjczMzdDMC42NzA3NzUgMTUuMzE1NSAxLjA5MzgzIDE2IDEuNzQ0MjkgMTZIMTMuOTk0M0MxNC42NDQ4IDE2IDE1LjA2NzggMTUuMzE1NSAxNC43NzY5IDE0LjczMzdaTTMuMTYwMDcgMTQuMjVMNy44NjkyOSA0LjgzMTU2TDEyLjU3ODUgMTQuMjVIMy4xNjAwN1pNOC43NDQyOSAxMS42MjVWMTMuMzc1SDYuOTk0MjlWMTEuNjI1SDguNzQ0MjlaTTYuOTk0MjkgMTAuNzVWNy4yNUg4Ljc0NDI5VjEwLjc1SDYuOTk0MjlaIiBmaWxsPSIjRUM3MjExIi8+CjxwYXRoIGQ9Ik0xMS4xOTkxIDIuOTUyMzhDMTAuODgwOSAyLjMxNDY3IDEwLjM1MzcgMS44MDUyNiA5LjcwNTUgMS41MDlMMTEuMDQxIDEuMDY5NzhDMTEuNjg4MyAwLjk0OTgxNCAxMi4zMzcgMS4yNzI2MyAxMi42MzE3IDEuODYxNDFMMTcuNjEzNiAxMS44MTYxQzE4LjM1MjcgMTMuMjkyOSAxNy41OTM4IDE1LjA4MDQgMTYuMDE4IDE1LjU3NDVDMTYuNDA0NCAxNC40NTA3IDE2LjMyMzEgMTMuMjE4OCAxNS43OTI0IDEyLjE1NTVMMTEuMTk5MSAyLjk1MjM4WiIgZmlsbD0iI0VDNzIxMSIvPgo8L3N2Zz4="); background-color: darkorange; } .ace_scrollbar { contain: strict; position: absolute; right: 0; bottom: 0; z-index: 6; } .ace_scrollbar-inner { position: absolute; cursor: text; left: 0; top: 0; } .ace_scrollbar-v{ overflow-x: hidden; overflow-y: scroll; top: 0; } .ace_scrollbar-h { overflow-x: scroll; overflow-y: hidden; left: 0; } .ace_print-margin { position: absolute; height: 100%; } .ace_text-input { position: absolute; z-index: 0; width: 0.5em; height: 1em; opacity: 0; background: transparent; -moz-appearance: none; appearance: none; border: none; resize: none; outline: none; overflow: hidden; font: inherit; padding: 0 1px; margin: 0 -1px; contain: strict; -ms-user-select: text; -moz-user-select: text; -webkit-user-select: text; user-select: text; /*with \`pre-line\` chrome inserts   instead of space*/ white-space: pre!important; } .ace_text-input.ace_composition { background: transparent; color: inherit; z-index: 1000; opacity: 1; } .ace_composition_placeholder { color: transparent } .ace_composition_marker { border-bottom: 1px solid; position: absolute; border-radius: 0; margin-top: 1px; } [ace_nocontext=true] { transform: none!important; filter: none!important; clip-path: none!important; mask : none!important; contain: none!important; perspective: none!important; mix-blend-mode: initial!important; z-index: auto; } .ace_layer { z-index: 1; position: absolute; overflow: hidden; /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/ word-wrap: normal; white-space: pre; height: 100%; width: 100%; box-sizing: border-box; /* setting pointer-events: auto; on node under the mouse, which changes during scroll, will break mouse wheel scrolling in Safari */ pointer-events: none; } .ace_gutter-layer { position: relative; width: auto; text-align: right; pointer-events: auto; height: 1000000px; contain: style size layout; } .ace_text-layer { font: inherit !important; position: absolute; height: 1000000px; width: 1000000px; contain: style size layout; } .ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group { contain: style size layout; position: absolute; top: 0; left: 0; right: 0; } .ace_hidpi .ace_text-layer, .ace_hidpi .ace_gutter-layer, .ace_hidpi .ace_content, .ace_hidpi .ace_gutter { contain: strict; } .ace_hidpi .ace_text-layer > .ace_line, .ace_hidpi .ace_text-layer > .ace_line_group { contain: strict; } .ace_cjk { display: inline-block; text-align: center; } .ace_cursor-layer { z-index: 4; } .ace_cursor { z-index: 4; position: absolute; box-sizing: border-box; border-left: 2px solid; /* workaround for smooth cursor repaintng whole screen in chrome */ transform: translatez(0); } .ace_multiselect .ace_cursor { border-left-width: 1px; } .ace_slim-cursors .ace_cursor { border-left-width: 1px; } .ace_overwrite-cursors .ace_cursor { border-left-width: 0; border-bottom: 1px solid; } .ace_hidden-cursors .ace_cursor { opacity: 0.2; } .ace_hasPlaceholder .ace_hidden-cursors .ace_cursor { opacity: 0; } .ace_smooth-blinking .ace_cursor { transition: opacity 0.18s; } .ace_animate-blinking .ace_cursor { animation-duration: 1000ms; animation-timing-function: step-end; animation-name: blink-ace-animate; animation-iteration-count: infinite; } .ace_animate-blinking.ace_smooth-blinking .ace_cursor { animation-duration: 1000ms; animation-timing-function: ease-in-out; animation-name: blink-ace-animate-smooth; } @keyframes blink-ace-animate { from, to { opacity: 1; } 60% { opacity: 0; } } @keyframes blink-ace-animate-smooth { from, to { opacity: 1; } 45% { opacity: 1; } 60% { opacity: 0; } 85% { opacity: 0; } } .ace_marker-layer .ace_step, .ace_marker-layer .ace_stack { position: absolute; z-index: 3; } .ace_marker-layer .ace_selection { position: absolute; z-index: 5; } .ace_marker-layer .ace_bracket { position: absolute; z-index: 6; } .ace_marker-layer .ace_error_bracket { position: absolute; border-bottom: 1px solid #DE5555; border-radius: 0; } .ace_marker-layer .ace_active-line { position: absolute; z-index: 2; } .ace_marker-layer .ace_selected-word { position: absolute; z-index: 4; box-sizing: border-box; } .ace_line .ace_fold { box-sizing: border-box; display: inline-block; height: 11px; margin-top: -2px; vertical-align: middle; background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="), url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII="); background-repeat: no-repeat, repeat-x; background-position: center center, top left; color: transparent; border: 1px solid black; border-radius: 2px; cursor: pointer; pointer-events: auto; } .ace_dark .ace_fold { } .ace_fold:hover{ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="), url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC"); } .ace_tooltip { background-color: #f5f5f5; border: 1px solid gray; border-radius: 1px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); color: black; max-width: 100%; padding: 3px 4px; position: fixed; z-index: 999999; box-sizing: border-box; cursor: default; white-space: pre-wrap; word-wrap: break-word; line-height: normal; font-style: normal; font-weight: normal; letter-spacing: normal; pointer-events: none; overflow: auto; max-width: min(60em, 66vw); overscroll-behavior: contain; } .ace_tooltip pre { white-space: pre-wrap; } .ace_tooltip.ace_dark { background-color: #636363; color: #fff; } .ace_tooltip:focus { outline: 1px solid #5E9ED6; } .ace_icon { display: inline-block; width: 18px; vertical-align: top; } .ace_icon_svg { display: inline-block; width: 12px; vertical-align: top; -webkit-mask-repeat: no-repeat; -webkit-mask-size: 12px; -webkit-mask-position: center; } .ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons { padding-right: 13px; } .ace_fold-widget { box-sizing: border-box; margin: 0 -12px 0 1px; display: none; width: 11px; vertical-align: top; background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg=="); background-repeat: no-repeat; background-position: center; border-radius: 3px; border: 1px solid transparent; cursor: pointer; } .ace_folding-enabled .ace_fold-widget { display: inline-block; } .ace_fold-widget.ace_end { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg=="); } .ace_fold-widget.ace_closed { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA=="); } .ace_fold-widget:hover { border: 1px solid rgba(0, 0, 0, 0.3); background-color: rgba(255, 255, 255, 0.2); box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7); } .ace_fold-widget:active { border: 1px solid rgba(0, 0, 0, 0.4); background-color: rgba(0, 0, 0, 0.05); box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8); } /** * Dark version for fold widgets */ .ace_dark .ace_fold-widget { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC"); } .ace_dark .ace_fold-widget.ace_end { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg=="); } .ace_dark .ace_fold-widget.ace_closed { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg=="); } .ace_dark .ace_fold-widget:hover { box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2); background-color: rgba(255, 255, 255, 0.1); } .ace_dark .ace_fold-widget:active { box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2); } .ace_inline_button { border: 1px solid lightgray; display: inline-block; margin: -1px 8px; padding: 0 5px; pointer-events: auto; cursor: pointer; } .ace_inline_button:hover { border-color: gray; background: rgba(200,200,200,0.2); display: inline-block; pointer-events: auto; } .ace_fold-widget.ace_invalid { background-color: #FFB4B4; border-color: #DE5555; } .ace_fade-fold-widgets .ace_fold-widget { transition: opacity 0.4s ease 0.05s; opacity: 0; } .ace_fade-fold-widgets:hover .ace_fold-widget { transition: opacity 0.05s ease 0.05s; opacity:1; } .ace_underline { text-decoration: underline; } .ace_bold { font-weight: bold; } .ace_nobold .ace_bold { font-weight: normal; } .ace_italic { font-style: italic; } .ace_error-marker { background-color: rgba(255, 0, 0,0.2); position: absolute; z-index: 9; } .ace_highlight-marker { background-color: rgba(255, 255, 0,0.2); position: absolute; z-index: 8; } .ace_mobile-menu { position: absolute; line-height: 1.5; border-radius: 4px; -ms-user-select: none; -moz-user-select: none; -webkit-user-select: none; user-select: none; background: white; box-shadow: 1px 3px 2px grey; border: 1px solid #dcdcdc; color: black; } .ace_dark > .ace_mobile-menu { background: #333; color: #ccc; box-shadow: 1px 3px 2px grey; border: 1px solid #444; } .ace_mobile-button { padding: 2px; cursor: pointer; overflow: hidden; } .ace_mobile-button:hover { background-color: #eee; opacity:1; } .ace_mobile-button:active { background-color: #ddd; } .ace_placeholder { font-family: arial; transform: scale(0.9); transform-origin: left; white-space: pre; opacity: 0.7; margin: 0 10px; } .ace_ghost_text { opacity: 0.5; font-style: italic; white-space: pre; } .ace_screenreader-only { position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; }`}),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],function(L,T,I){"use strict";var m=L("../lib/dom"),y=L("../lib/oop"),p=L("../lib/event_emitter").EventEmitter,l=function(){function c(r,i){this.canvas=m.createElement("canvas"),this.renderer=i,this.pixelRatio=1,this.maxHeight=i.layerConfig.maxHeight,this.lineHeight=i.layerConfig.lineHeight,this.canvasHeight=r.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=r.width,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7px",this.canvas.style.position="absolute",this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},r.element.appendChild(this.canvas)}return c.prototype.$updateDecorators=function(r){var i=this.renderer.theme.isDark===!0?this.colors.dark:this.colors.light;if(r){this.maxHeight=r.maxHeight,this.lineHeight=r.lineHeight,this.canvasHeight=r.height;var n=(r.lastRow+1)*this.lineHeight;nS.priority?1:0}var o=this.renderer.session.$annotations;if(e.clearRect(0,0,this.canvas.width,this.canvas.height),o){var a={info:1,warning:2,error:3};o.forEach(function($){$.priority=a[$.type]||null}),o=o.sort(t);for(var u=this.renderer.session.$foldData,d=0;dthis.canvasHeight&&(A=this.canvasHeight-this.halfMinDecorationHeight),k=Math.round(A-this.halfMinDecorationHeight),f=Math.round(A+this.halfMinDecorationHeight)}e.fillStyle=i[o[d].type]||null,e.fillRect(0,C,this.canvasWidth,f-k)}}var R=this.renderer.session.selection.getCursor();if(R){var v=this.compensateFoldRows(R.row,u),C=Math.round((R.row-v)*this.lineHeight*this.heightRatio);e.fillStyle="rgba(0, 0, 0, 0.5)",e.fillRect(0,C,this.canvasWidth,2)}},c.prototype.compensateFoldRows=function(r,i){var n=0;if(i&&i.length>0)for(var e=0;ei[e].start.row&&r=i[e].end.row&&(n+=i[e].end.row-i[e].start.row);return n},c}();y.implement(l.prototype,p),T.Decorator=l}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent"],function(L,T,I){"use strict";var m=L("./lib/oop"),y=L("./lib/dom"),p=L("./lib/lang"),l=L("./config"),c=L("./layer/gutter").Gutter,r=L("./layer/marker").Marker,i=L("./layer/text").Text,n=L("./layer/cursor").Cursor,e=L("./scrollbar").HScrollBar,t=L("./scrollbar").VScrollBar,o=L("./scrollbar_custom").HScrollBar,a=L("./scrollbar_custom").VScrollBar,u=L("./renderloop").RenderLoop,d=L("./layer/font_metrics").FontMetrics,b=L("./lib/event_emitter").EventEmitter,v=L("./css/editor-css"),C=L("./layer/decorators").Decorator,k=L("./lib/useragent");y.importCssString(v,"ace_editor.css",!1);var f=function(){function x(A,R){var $=this;this.container=A||y.createElement("div"),y.addCssClass(this.container,"ace_editor"),y.HI_DPI&&y.addCssClass(this.container,"ace_hidpi"),this.setTheme(R),l.get("useStrictCSP")==null&&l.set("useStrictCSP",!1),this.$gutter=y.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden","true"),this.scroller=y.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=y.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new c(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new r(this.content);var S=this.$textLayer=new i(this.content);this.canvas=S.element,this.$markerFront=new r(this.content),this.$cursorLayer=new n(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new t(this.container,this),this.scrollBarH=new e(this.container,this),this.scrollBarV.on("scroll",function(w){$.$scrollAnimation||$.session.setScrollTop(w.data-$.scrollMargin.top)}),this.scrollBarH.on("scroll",function(w){$.$scrollAnimation||$.session.setScrollLeft(w.data-$.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new d(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",function(w){$.updateCharacterSize(),$.onResize(!0,$.gutterWidth,$.$size.width,$.$size.height),$._signal("changeCharacterSize",w)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!k.isIOS,this.$loop=new u(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),this.$addResizeObserver(),l.resetOptions(this),l._signal("renderer",this)}return x.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),y.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},x.prototype.setSession=function(A){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=A,A&&this.scrollMargin.top&&A.getScrollTop()<=0&&A.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(A),this.$markerBack.setSession(A),this.$markerFront.setSession(A),this.$gutterLayer.setSession(A),this.$textLayer.setSession(A),A&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},x.prototype.updateLines=function(A,R,$){if(R===void 0&&(R=1/0),this.$changedLines?(this.$changedLines.firstRow>A&&(this.$changedLines.firstRow=A),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},x.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},x.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},x.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},x.prototype.updateFull=function(A){A?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},x.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},x.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},x.prototype.onResize=function(A,R,$,S){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=A?1:0;var w=this.container;S||(S=w.clientHeight||w.scrollHeight),$||($=w.clientWidth||w.scrollWidth);var g=this.$updateCachedSize(A,R,$,S);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!$&&!S)return this.resizing=0;A&&(this.$gutterLayer.$padding=null),A?this.$renderChanges(g|this.$changes,!0):this.$loop.schedule(g|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},x.prototype.$updateCachedSize=function(A,R,$,S){S-=this.$extraHeight||0;var w=0,g=this.$size,E={width:g.width,height:g.height,scrollerHeight:g.scrollerHeight,scrollerWidth:g.scrollerWidth};if(S&&(A||g.height!=S)&&(g.height=S,w|=this.CHANGE_SIZE,g.scrollerHeight=g.height,this.$horizScroll&&(g.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(g.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",w=w|this.CHANGE_SCROLL),$&&(A||g.width!=$)){w|=this.CHANGE_SIZE,g.width=$,R==null&&(R=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=R,y.setStyle(this.scrollBarH.element.style,"left",R+"px"),y.setStyle(this.scroller.style,"left",R+this.margin.left+"px"),g.scrollerWidth=Math.max(0,$-R-this.scrollBarV.getWidth()-this.margin.h),y.setStyle(this.$gutter.style,"left",this.margin.left+"px");var _=this.scrollBarV.getWidth()+"px";y.setStyle(this.scrollBarH.element.style,"right",_),y.setStyle(this.scroller.style,"right",_),y.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(g.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||A)&&(w|=this.CHANGE_FULL)}return g.$dirty=!$||!S,w&&this._signal("resize",E),w},x.prototype.onGutterResize=function(A){var R=this.$showGutter?A:0;R!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,R,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},x.prototype.adjustWrapLimit=function(){var A=this.$size.scrollerWidth-this.$padding*2,R=Math.floor(A/this.characterWidth);return this.session.adjustWrapLimit(R,this.$showPrintMargin&&this.$printMarginColumn)},x.prototype.setAnimatedScroll=function(A){this.setOption("animatedScroll",A)},x.prototype.getAnimatedScroll=function(){return this.$animatedScroll},x.prototype.setShowInvisibles=function(A){this.setOption("showInvisibles",A),this.session.$bidiHandler.setShowInvisibles(A)},x.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},x.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},x.prototype.setDisplayIndentGuides=function(A){this.setOption("displayIndentGuides",A)},x.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},x.prototype.setHighlightIndentGuides=function(A){this.setOption("highlightIndentGuides",A)},x.prototype.setShowPrintMargin=function(A){this.setOption("showPrintMargin",A)},x.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},x.prototype.setPrintMarginColumn=function(A){this.setOption("printMarginColumn",A)},x.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},x.prototype.getShowGutter=function(){return this.getOption("showGutter")},x.prototype.setShowGutter=function(A){return this.setOption("showGutter",A)},x.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},x.prototype.setFadeFoldWidgets=function(A){this.setOption("fadeFoldWidgets",A)},x.prototype.setHighlightGutterLine=function(A){this.setOption("highlightGutterLine",A)},x.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},x.prototype.$updatePrintMargin=function(){if(!(!this.$showPrintMargin&&!this.$printMarginEl)){if(!this.$printMarginEl){var A=y.createElement("div");A.className="ace_layer ace_print-margin-layer",this.$printMarginEl=y.createElement("div"),this.$printMarginEl.className="ace_print-margin",A.appendChild(this.$printMarginEl),this.content.insertBefore(A,this.content.firstChild)}var R=this.$printMarginEl.style;R.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",R.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&this.session.$wrap==-1&&this.adjustWrapLimit()}},x.prototype.getContainerElement=function(){return this.container},x.prototype.getMouseEventTarget=function(){return this.scroller},x.prototype.getTextAreaContainer=function(){return this.container},x.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var A=this.textarea.style,R=this.$composition;if(!this.$keepTextAreaAtCursor&&!R){y.translate(this.textarea,-100,0);return}var $=this.$cursorLayer.$pixelPos;if($){R&&R.markerRange&&($=this.$cursorLayer.getPixelPosition(R.markerRange.start,!0));var S=this.layerConfig,w=$.top,g=$.left;w-=S.offset;var E=R&&R.useTextareaForIME||k.isMobile?this.lineHeight:1;if(w<0||w>S.height-E){y.translate(this.textarea,0,0);return}var _=1,O=this.$size.height-E;if(!R)w+=this.lineHeight;else if(R.useTextareaForIME){var F=this.textarea.value;_=this.characterWidth*this.session.$getStringScreenWidth(F)[0]}else w+=this.lineHeight+2;g-=this.scrollLeft,g>this.$size.scrollerWidth-_&&(g=this.$size.scrollerWidth-_),g+=this.gutterWidth+this.margin.left,y.setStyle(A,"height",E+"px"),y.setStyle(A,"width",_+"px"),y.translate(this.textarea,Math.min(g,this.$size.scrollerWidth-_),Math.min(w,O))}}},x.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},x.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(this.layerConfig.offset===0?0:1)},x.prototype.getLastFullyVisibleRow=function(){var A=this.layerConfig,R=A.lastRow,$=this.session.documentToScreenRow(R,0)*A.lineHeight;return $-this.session.getScrollTop()>A.height-A.lineHeight?R-1:R},x.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},x.prototype.setPadding=function(A){this.$padding=A,this.$textLayer.setPadding(A),this.$cursorLayer.setPadding(A),this.$markerFront.setPadding(A),this.$markerBack.setPadding(A),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},x.prototype.setScrollMargin=function(A,R,$,S){var w=this.scrollMargin;w.top=A|0,w.bottom=R|0,w.right=S|0,w.left=$|0,w.v=w.top+w.bottom,w.h=w.left+w.right,w.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-w.top),this.updateFull()},x.prototype.setMargin=function(A,R,$,S){var w=this.margin;w.top=A|0,w.bottom=R|0,w.right=S|0,w.left=$|0,w.v=w.top+w.bottom,w.h=w.left+w.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},x.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},x.prototype.setHScrollBarAlwaysVisible=function(A){this.setOption("hScrollBarAlwaysVisible",A)},x.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},x.prototype.setVScrollBarAlwaysVisible=function(A){this.setOption("vScrollBarAlwaysVisible",A)},x.prototype.$updateScrollBarV=function(){var A=this.layerConfig.maxHeight,R=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(A-=(R-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>A-R&&(A=this.scrollTop+R,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(A+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},x.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},x.prototype.freeze=function(){this.$frozen=!0},x.prototype.unfreeze=function(){this.$frozen=!1},x.prototype.$renderChanges=function(A,R){if(this.$changes&&(A|=this.$changes,this.$changes=0),!this.session||!this.container.offsetWidth||this.$frozen||!A&&!R){this.$changes|=A;return}if(this.$size.$dirty)return this.$changes|=A,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",A),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var $=this.layerConfig;if(A&this.CHANGE_FULL||A&this.CHANGE_SIZE||A&this.CHANGE_TEXT||A&this.CHANGE_LINES||A&this.CHANGE_SCROLL||A&this.CHANGE_H_SCROLL){if(A|=this.$computeLayerConfig()|this.$loop.clear(),$.firstRow!=this.layerConfig.firstRow&&$.firstRowScreen==this.layerConfig.firstRowScreen){var S=this.scrollTop+($.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;S>0&&(this.scrollTop=S,A=A|this.CHANGE_SCROLL,A|=this.$computeLayerConfig()|this.$loop.clear())}$=this.layerConfig,this.$updateScrollBarV(),A&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),y.translate(this.content,-this.scrollLeft,-$.offset);var w=$.width+2*this.$padding+"px",g=$.minHeight+"px";y.setStyle(this.content.style,"width",w),y.setStyle(this.content.style,"height",g)}if(A&this.CHANGE_H_SCROLL&&(y.translate(this.content,-this.scrollLeft,-$.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),A&this.CHANGE_FULL){this.$changedLines=null,this.$textLayer.update($),this.$showGutter&&this.$gutterLayer.update($),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators($),this.$markerBack.update($),this.$markerFront.update($),this.$cursorLayer.update($),this.$moveTextAreaToCursor(),this._signal("afterRender",A);return}if(A&this.CHANGE_SCROLL){this.$changedLines=null,A&this.CHANGE_TEXT||A&this.CHANGE_LINES?this.$textLayer.update($):this.$textLayer.scrollLines($),this.$showGutter&&(A&this.CHANGE_GUTTER||A&this.CHANGE_LINES?this.$gutterLayer.update($):this.$gutterLayer.scrollLines($)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators($),this.$markerBack.update($),this.$markerFront.update($),this.$cursorLayer.update($),this.$moveTextAreaToCursor(),this._signal("afterRender",A);return}A&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update($),this.$showGutter&&this.$gutterLayer.update($),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators($)):A&this.CHANGE_LINES?((this.$updateLines()||A&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update($),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators($)):A&this.CHANGE_TEXT||A&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update($),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators($)):A&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight($),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators($)),A&this.CHANGE_CURSOR&&(this.$cursorLayer.update($),this.$moveTextAreaToCursor()),A&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update($),A&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update($),this._signal("afterRender",A)},x.prototype.$autosize=function(){var A=this.session.getScreenLength()*this.lineHeight,R=this.$maxLines*this.lineHeight,$=Math.min(R,Math.max((this.$minLines||1)*this.lineHeight,A))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&($+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&$>this.$maxPixelHeight&&($=this.$maxPixelHeight);var S=$<=2*this.lineHeight,w=!S&&A>R;if($!=this.desiredHeight||this.$size.height!=this.desiredHeight||w!=this.$vScroll){w!=this.$vScroll&&(this.$vScroll=w,this.scrollBarV.setVisible(w));var g=this.container.clientWidth;this.container.style.height=$+"px",this.$updateCachedSize(!0,this.$gutterWidth,g,$),this.desiredHeight=$,this._signal("autosize")}},x.prototype.$computeLayerConfig=function(){var A=this.session,R=this.$size,$=R.height<=2*this.lineHeight,S=this.session.getScreenLength(),w=S*this.lineHeight,g=this.$getLongestLine(),E=!$&&(this.$hScrollBarAlwaysVisible||R.scrollerWidth-g-2*this.$padding<0),_=this.$horizScroll!==E;_&&(this.$horizScroll=E,this.scrollBarH.setVisible(E));var O=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var F=R.scrollerHeight+this.lineHeight,D=!this.$maxLines&&this.$scrollPastEnd?(R.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;w+=D;var W=this.scrollMargin;this.session.setScrollTop(Math.max(-W.top,Math.min(this.scrollTop,w-R.scrollerHeight+W.bottom))),this.session.setScrollLeft(Math.max(-W.left,Math.min(this.scrollLeft,g+2*this.$padding-R.scrollerWidth+W.right)));var j=!$&&(this.$vScrollBarAlwaysVisible||R.scrollerHeight-w+D<0||this.scrollTop>W.top),H=O!==j;H&&(this.$vScroll=j,this.scrollBarV.setVisible(j));var P=this.scrollTop%this.lineHeight,z=Math.ceil(F/this.lineHeight)-1,B=Math.max(0,Math.round((this.scrollTop-P)/this.lineHeight)),X=B+z,Z,q,Q=this.lineHeight;B=A.screenToDocumentRow(B,0);var ee=A.getFoldLine(B);ee&&(B=ee.start.row),Z=A.documentToScreenRow(B,0),q=A.getRowLength(B)*Q,X=Math.min(A.screenToDocumentRow(X,0),A.getLength()-1),F=R.scrollerHeight+A.getRowLength(X)*Q+q,P=this.scrollTop-Z*Q;var te=0;return(this.layerConfig.width!=g||_)&&(te=this.CHANGE_H_SCROLL),(_||H)&&(te|=this.$updateCachedSize(!0,this.gutterWidth,R.width,R.height),this._signal("scrollbarVisibilityChanged"),H&&(g=this.$getLongestLine())),this.layerConfig={width:g,padding:this.$padding,firstRow:B,firstRowScreen:Z,lastRow:X,lineHeight:Q,characterWidth:this.characterWidth,minHeight:F,maxHeight:w,offset:P,gutterOffset:Q?Math.max(0,Math.ceil((P+R.height-R.scrollerHeight)/Q)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(g-this.$padding),te},x.prototype.$updateLines=function(){if(this.$changedLines){var A=this.$changedLines.firstRow,R=this.$changedLines.lastRow;this.$changedLines=null;var $=this.layerConfig;if(!(A>$.lastRow+1)&&!(R<$.firstRow)){if(R===1/0){this.$showGutter&&this.$gutterLayer.update($),this.$textLayer.update($);return}return this.$textLayer.updateLines($,A,R),!0}}},x.prototype.$getLongestLine=function(){var A=this.session.getScreenWidth();return this.showInvisibles&&!this.session.$useWrapMode&&(A+=1),this.$textLayer&&A>this.$textLayer.MAX_LINE_LENGTH&&(A=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(A*this.characterWidth))},x.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},x.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},x.prototype.addGutterDecoration=function(A,R){this.$gutterLayer.addGutterDecoration(A,R)},x.prototype.removeGutterDecoration=function(A,R){this.$gutterLayer.removeGutterDecoration(A,R)},x.prototype.updateBreakpoints=function(A){this._rows=A,this.$loop.schedule(this.CHANGE_GUTTER)},x.prototype.setAnnotations=function(A){this.$gutterLayer.setAnnotations(A),this.$loop.schedule(this.CHANGE_GUTTER)},x.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},x.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},x.prototype.showCursor=function(){this.$cursorLayer.showCursor()},x.prototype.scrollSelectionIntoView=function(A,R,$){this.scrollCursorIntoView(A,$),this.scrollCursorIntoView(R,$)},x.prototype.scrollCursorIntoView=function(A,R,$){if(this.$size.scrollerHeight!==0){var S=this.$cursorLayer.getPixelPosition(A),w=S.left,g=S.top,E=$&&$.top||0,_=$&&$.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var O=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;O+E>g?(R&&O+E>g+this.lineHeight&&(g-=R*this.$size.scrollerHeight),g===0&&(g=-this.scrollMargin.top),this.session.setScrollTop(g)):O+this.$size.scrollerHeight-_=1-this.scrollMargin.top||R>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||A<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||A>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},x.prototype.pixelToScreenCoordinates=function(A,R){var $;if(this.$hasCssTransforms){$={top:0,left:0};var S=this.$fontMetrics.transformCoordinates([A,R]);A=S[1]-this.gutterWidth-this.margin.left,R=S[0]}else $=this.scroller.getBoundingClientRect();var w=A+this.scrollLeft-$.left-this.$padding,g=w/this.characterWidth,E=Math.floor((R+this.scrollTop-$.top)/this.lineHeight),_=this.$blockCursor?Math.floor(g):Math.round(g);return{row:E,column:_,side:g-_>0?1:-1,offsetX:w}},x.prototype.screenToTextCoordinates=function(A,R){var $;if(this.$hasCssTransforms){$={top:0,left:0};var S=this.$fontMetrics.transformCoordinates([A,R]);A=S[1]-this.gutterWidth-this.margin.left,R=S[0]}else $=this.scroller.getBoundingClientRect();var w=A+this.scrollLeft-$.left-this.$padding,g=w/this.characterWidth,E=this.$blockCursor?Math.floor(g):Math.round(g),_=Math.floor((R+this.scrollTop-$.top)/this.lineHeight);return this.session.screenToDocumentPosition(_,Math.max(E,0),w)},x.prototype.textToScreenCoordinates=function(A,R){var $=this.scroller.getBoundingClientRect(),S=this.session.documentToScreenPosition(A,R),w=this.$padding+(this.session.$bidiHandler.isBidiRow(S.row,A)?this.session.$bidiHandler.getPosLeft(S.column):Math.round(S.column*this.characterWidth)),g=S.row*this.lineHeight;return{pageX:$.left+w-this.scrollLeft,pageY:$.top+g-this.scrollTop}},x.prototype.visualizeFocus=function(){y.addCssClass(this.container,"ace_focus")},x.prototype.visualizeBlur=function(){y.removeCssClass(this.container,"ace_focus")},x.prototype.showComposition=function(A){this.$composition=A,A.cssText||(A.cssText=this.textarea.style.cssText),A.useTextareaForIME==null&&(A.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(y.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):A.markerId=this.session.addMarker(A.markerRange,"ace_composition_marker","text")},x.prototype.setCompositionText=function(A){var R=this.session.selection.cursor;this.addToken(A,"composition_placeholder",R.row,R.column),this.$moveTextAreaToCursor()},x.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),y.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var A=this.session.selection.cursor;this.removeExtraToken(A.row,A.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},x.prototype.setGhostText=function(A,R){var $=this.session.selection.cursor,S=R||{row:$.row,column:$.column};this.removeGhostText();var w=A.split(` `);if(this.addToken(w[0],"ghost_text",S.row,S.column),this.$ghostText={text:A,position:{row:S.row,column:S.column}},w.length>1){this.$ghostTextWidget={text:w.slice(1).join(` `),row:S.row,column:S.column,className:"ace_ghost_text"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var g=this.$cursorLayer.getPixelPosition(S,!0),E=this.container,_=E.getBoundingClientRect().height,O=w.length*this.lineHeight,F=O<_-g.top;if(F)return;O<_?this.scrollBy(0,(w.length-1)*this.lineHeight):this.scrollBy(0,g.top)}},x.prototype.removeGhostText=function(){if(this.$ghostText){var A=this.$ghostText.position;this.removeExtraToken(A.row,A.column),this.$ghostTextWidget&&(this.session.widgetManager.removeLineWidget(this.$ghostTextWidget),this.$ghostTextWidget=null),this.$ghostText=null}},x.prototype.addToken=function(A,R,$,S){var w=this.session;w.bgTokenizer.lines[$]=null;var g={type:R,value:A},E=w.getTokens($);if(S==null||!E.length)E.push(g);else for(var _=0,O=0;O1||Math.abs(A.$size.height-S)>1?A.$resizeTimer.delay():A.$resizeTimer.cancel()}),this.$resizeObserver.observe(this.container)}},x}();f.prototype.CHANGE_CURSOR=1,f.prototype.CHANGE_MARKER=2,f.prototype.CHANGE_GUTTER=4,f.prototype.CHANGE_SCROLL=8,f.prototype.CHANGE_LINES=16,f.prototype.CHANGE_TEXT=32,f.prototype.CHANGE_SIZE=64,f.prototype.CHANGE_MARKER_BACK=128,f.prototype.CHANGE_MARKER_FRONT=256,f.prototype.CHANGE_FULL=512,f.prototype.CHANGE_H_SCROLL=1024,f.prototype.$changes=0,f.prototype.$padding=null,f.prototype.$frozen=!1,f.prototype.STEPS=8,m.implement(f.prototype,b),l.defineOptions(f.prototype,"renderer",{useResizeObserver:{set:function(x){!x&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):x&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(x){this.$textLayer.setShowInvisibles(x)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(x){typeof x=="number"&&(this.$printMarginColumn=x),this.$showPrintMargin=!!x,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(x){this.$gutter.style.display=x?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(x){this.$gutterLayer.$useSvgGutterIcons=x},initialValue:!1},showFoldedAnnotations:{set:function(x){this.$gutterLayer.$showFoldedAnnotations=x},initialValue:!1},fadeFoldWidgets:{set:function(x){y.setCssClass(this.$gutter,"ace_fade-fold-widgets",x)},initialValue:!1},showFoldWidgets:{set:function(x){this.$gutterLayer.setShowFoldWidgets(x),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(x){this.$textLayer.setDisplayIndentGuides(x)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(x){this.$textLayer.setHighlightIndentGuides(x)==!0?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(x){this.$gutterLayer.setHighlightGutterLine(x),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(x){(!this.$hScrollBarAlwaysVisible||!this.$horizScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(x){(!this.$vScrollBarAlwaysVisible||!this.$vScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(x){typeof x=="number"&&(x=x+"px"),this.container.style.fontSize=x,this.updateFontSize()},initialValue:12},fontFamily:{set:function(x){this.container.style.fontFamily=x,this.updateFontSize()}},maxLines:{set:function(x){this.updateFull()}},minLines:{set:function(x){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(x){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(x){x=+x||0,this.$scrollPastEnd!=x&&(this.$scrollPastEnd=x,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(x){this.$gutterLayer.$fixedWidth=!!x,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(x){this.$updateCustomScrollbar(x)},initialValue:!1},theme:{set:function(x){this.setTheme(x)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!k.isMobile&&!k.isIE}}),T.VirtualRenderer=f}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(L,T,I){"use strict";var m=L("../lib/oop"),y=L("../lib/net"),p=L("../lib/event_emitter").EventEmitter,l=L("../config");function c(e){var t="importScripts('"+y.qualifyURL(e)+"');";try{return new Blob([t],{type:"application/javascript"})}catch{var o=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder,a=new o;return a.append(t),a.getBlob("application/javascript")}}function r(e){if(typeof Worker>"u")return{postMessage:function(){},terminate:function(){}};if(l.get("loadWorkerFromBlob")){var t=c(e),o=window.URL||window.webkitURL,a=o.createObjectURL(t);return new Worker(a)}return new Worker(e)}var i=function(e){e.postMessage||(e=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=e,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){m.implement(this,p),this.$createWorkerFromOldConfig=function(e,t,o,a,u){if(L.nameToUrl&&!L.toUrl&&(L.toUrl=L.nameToUrl),l.get("packaged")||!L.toUrl)a=a||l.moduleUrl(t,"worker");else{var d=this.$normalizePath;a=a||d(L.toUrl("ace/worker/worker.js",null,"_"));var b={};e.forEach(function(v){b[v]=d(L.toUrl(v,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}return this.$worker=r(a),u&&this.send("importScripts",u),this.$worker.postMessage({init:!0,tlns:b,module:t,classname:o}),this.$worker},this.onMessage=function(e){var t=e.data;switch(t.type){case"event":this._signal(t.name,{data:t.data});break;case"call":var o=this.callbacks[t.id];o&&(o(t.data),delete this.callbacks[t.id]);break;case"error":this.reportError(t.data);break;case"log":window.console&&console.log&&console.log.apply(console,t.data);break}},this.reportError=function(e){window.console&&console.error&&console.error(e)},this.$normalizePath=function(e){return y.qualifyURL(e)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(e){e.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(e,t){this.$worker.postMessage({command:e,args:t})},this.call=function(e,t,o){if(o){var a=this.callbackId++;this.callbacks[a]=o,t.push(a)}this.send(e,t)},this.emit=function(e,t){try{t.data&&t.data.err&&(t.data.err={message:t.data.err.message,stack:t.data.err.stack,code:t.data.err.code}),this.$worker&&this.$worker.postMessage({event:e,data:{data:t.data}})}catch(o){console.error(o.stack)}},this.attachToDocument=function(e){this.$doc&&this.terminate(),this.$doc=e,this.call("setValue",[e.getValue()]),e.on("change",this.changeListener,!0)},this.changeListener=function(e){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),e.action=="insert"?this.deltaQueue.push(e.start,e.lines):this.deltaQueue.push(e.start,e.end)},this.$sendDeltaQueue=function(){var e=this.deltaQueue;e&&(this.deltaQueue=null,e.length>50&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))}}).call(i.prototype);var n=function(e,t,o){var a=null,u=!1,d=Object.create(p),b=[],v=new i({messageBuffer:b,terminate:function(){},postMessage:function(k){b.push(k),a&&(u?setTimeout(C):C())}});v.setEmitSync=function(k){u=k};var C=function(){var k=b.shift();k.command?a[k.command].apply(a,k.args):k.event&&d._signal(k.event,k.data)};return d.postMessage=function(k){v.onMessage({data:k})},d.callback=function(k,f){this.postMessage({type:"call",id:f,data:k})},d.emit=function(k,f){this.postMessage({type:"event",name:k,data:f})},l.loadModule(["worker",t],function(k){for(a=new k[o](d);b.length;)C()}),v};T.UIWorkerClient=n,T.WorkerClient=i,T.createWorker=r}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(L,T,I){"use strict";var m=L("./range").Range,y=L("./lib/event_emitter").EventEmitter,p=L("./lib/oop"),l=function(){function c(r,i,n,e,t,o){var a=this;this.length=i,this.session=r,this.doc=r.getDocument(),this.mainClass=t,this.othersClass=o,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=e,this.$onCursorChange=function(){setTimeout(function(){a.onCursorChange()})},this.$pos=n;var u=r.getUndoManager().$undoStack||r.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=u.length,this.setup(),r.selection.on("changeCursor",this.$onCursorChange)}return c.prototype.setup=function(){var r=this,i=this.doc,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=i.createAnchor(this.$pos.row,this.$pos.column);var e=this.pos;e.$insertRight=!0,e.detach(),e.markerId=n.addMarker(new m(e.row,e.column,e.row,e.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(t){var o=i.createAnchor(t.row,t.column);o.$insertRight=!0,o.detach(),r.others.push(o)}),n.setUndoSelect(!1)},c.prototype.showOtherMarkers=function(){if(!this.othersActive){var r=this.session,i=this;this.othersActive=!0,this.others.forEach(function(n){n.markerId=r.addMarker(new m(n.row,n.column,n.row,n.column+i.length),i.othersClass,null,!1)})}},c.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var r=0;r=this.pos.column&&i.start.column<=this.pos.column+this.length+1,t=i.start.column-this.pos.column;if(this.updateAnchors(r),e&&(this.length+=n),e&&!this.session.$fromUndo){if(r.action==="insert")for(var o=this.others.length-1;o>=0;o--){var a=this.others[o],u={row:a.row,column:a.column+t};this.doc.insertMergedLines(u,r.lines)}else if(r.action==="remove")for(var o=this.others.length-1;o>=0;o--){var a=this.others[o],u={row:a.row,column:a.column+t};this.doc.remove(new m(u.row,u.column,u.row,u.column-n))}}this.$updating=!1,this.updateMarkers()}},c.prototype.updateAnchors=function(r){this.pos.onChange(r);for(var i=this.others.length;i--;)this.others[i].onChange(r);this.updateMarkers()},c.prototype.updateMarkers=function(){if(!this.$updating){var r=this,i=this.session,n=function(t,o){i.removeMarker(t.markerId),t.markerId=i.addMarker(new m(t.row,t.column,t.row,t.column+r.length),o,null,!1)};n(this.pos,this.mainClass);for(var e=this.others.length;e--;)n(this.others[e],this.othersClass)}},c.prototype.onCursorChange=function(r){if(!(this.$updating||!this.session)){var i=this.session.selection.getCursor();i.row===this.pos.row&&i.column>=this.pos.column&&i.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",r)):(this.hideOtherMarkers(),this._emit("cursorLeave",r))}},c.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},c.prototype.cancel=function(){if(this.$undoStackDepth!==-1){for(var r=this.session.getUndoManager(),i=(r.$undoStack||r.$undostack).length-this.$undoStackDepth,n=0;n1?y.multiSelect.joinSelections():y.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(y){y.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(y){y.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(y){y.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],T.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(y){y.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(y){return y&&y.inMultiSelectMode}}];var m=L("../keyboard/hash_handler").HashHandler;T.keyboardHandler=new m(T.multiSelectCommands)}),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(L,T,I){var m=L("./range_list").RangeList,y=L("./range").Range,p=L("./selection").Selection,l=L("./mouse/multi_select_handler").onMouseDown,c=L("./lib/event"),r=L("./lib/lang"),i=L("./commands/multi_select_commands");T.commands=i.defaultCommands.concat(i.multiSelectCommands);var n=L("./search").Search,e=new n;function t(v,C,k){return e.$options.wrap=!0,e.$options.needle=C,e.$options.backwards=k==-1,e.find(v)}var o=L("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(o.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(v,C){if(v){if(!this.inMultiSelectMode&&this.rangeCount===0){var k=this.toOrientedRange();if(this.rangeList.add(k),this.rangeList.add(v),this.rangeList.ranges.length!=2)return this.rangeList.removeAll(),C||this.fromOrientedRange(v);this.rangeList.removeAll(),this.rangeList.add(k),this.$onAddRange(k)}v.cursor||(v.cursor=v.end);var f=this.rangeList.add(v);return this.$onAddRange(v),f.length&&this.$onRemoveRange(f),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),C||this.fromOrientedRange(v)}},this.toSingleRange=function(v){v=v||this.ranges[0];var C=this.rangeList.removeAll();C.length&&this.$onRemoveRange(C),v&&this.fromOrientedRange(v)},this.substractPoint=function(v){var C=this.rangeList.substractPoint(v);if(C)return this.$onRemoveRange(C),C[0]},this.mergeOverlappingRanges=function(){var v=this.rangeList.merge();v.length&&this.$onRemoveRange(v)},this.$onAddRange=function(v){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(v),this._signal("addRange",{range:v})},this.$onRemoveRange=function(v){if(this.rangeCount=this.rangeList.ranges.length,this.rangeCount==1&&this.inMultiSelectMode){var C=this.rangeList.ranges.pop();v.push(C),this.rangeCount=0}for(var k=v.length;k--;){var f=this.ranges.indexOf(v[k]);this.ranges.splice(f,1)}this._signal("removeRange",{ranges:v}),this.rangeCount===0&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),C=C||this.ranges[0],C&&!C.isEqual(this.getRange())&&this.fromOrientedRange(C)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new m,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var v=this.ranges.length?this.ranges:[this.getRange()],C=[],k=0;k1){var v=this.rangeList.ranges,C=v[v.length-1],k=y.fromPoints(v[0].start,C.end);this.toSingleRange(),this.setSelectionRange(k,C.cursor==C.start)}else{var f=this.session.documentToScreenPosition(this.cursor),x=this.session.documentToScreenPosition(this.anchor),A=this.rectangularRangeBlock(f,x);A.forEach(this.addRange,this)}},this.rectangularRangeBlock=function(v,C,k){var f=[],x=v.column0;)D--;if(D>0)for(var W=0;f[W].isEmpty();)W++;for(var j=D;j>=W;j--)f[j].isEmpty()&&f.splice(j,1)}return f}}.call(p.prototype);var a=L("./editor").Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(v){v.cursor||(v.cursor=v.end);var C=this.getSelectionStyle();return v.marker=this.session.addMarker(v,"ace_selection",C),this.session.$selectionMarkers.push(v),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,v},this.removeSelectionMarker=function(v){if(v.marker){this.session.removeMarker(v.marker);var C=this.session.$selectionMarkers.indexOf(v);C!=-1&&this.session.$selectionMarkers.splice(C,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(v){for(var C=this.session.$selectionMarkers,k=v.length;k--;){var f=v[k];if(f.marker){this.session.removeMarker(f.marker);var x=C.indexOf(f);x!=-1&&C.splice(x,1)}}this.session.selectionMarkerCount=C.length},this.$onAddRange=function(v){this.addSelectionMarker(v.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(v){this.removeSelectionMarkers(v.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(v){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(i.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(v){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(i.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(v){var C=v.command,k=v.editor;if(k.multiSelect){if(C.multiSelectAction)C.multiSelectAction=="forEach"?f=k.forEachSelection(C,v.args):C.multiSelectAction=="forEachLine"?f=k.forEachSelection(C,v.args,!0):C.multiSelectAction=="single"?(k.exitMultiSelectMode(),f=C.exec(k,v.args||{})):f=C.multiSelectAction(k,v.args||{});else{var f=C.exec(k,v.args||{});k.multiSelect.addRange(k.multiSelect.toOrientedRange()),k.multiSelect.mergeOverlappingRanges()}return f}},this.forEachSelection=function(v,C,k){if(!this.inVirtualSelectionMode){var f=k&&k.keepOrder,x=k==!0||k&&k.$byLines,A=this.session,R=this.selection,$=R.rangeList,S=(f?R:$).ranges,w;if(!S.length)return v.exec?v.exec(this,C||{}):v(this,C||{});var g=R._eventRegistry;R._eventRegistry={};var E=new p(A);this.inVirtualSelectionMode=!0;for(var _=S.length;_--;){if(x)for(;_>0&&S[_].start.row==S[_-1].end.row;)_--;E.fromOrientedRange(S[_]),E.index=_,this.selection=A.selection=E;var O=v.exec?v.exec(this,C||{}):v(this,C||{});!w&&O!==void 0&&(w=O),E.toOrientedRange(S[_])}E.detach(),this.selection=A.selection=R,this.inVirtualSelectionMode=!1,R._eventRegistry=g,R.mergeOverlappingRanges(),R.ranges[0]&&R.fromOrientedRange(R.ranges[0]);var F=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),F&&F.from==F.to&&this.renderer.animateScrolling(F.from),w}},this.exitMultiSelectMode=function(){!this.inMultiSelectMode||this.inVirtualSelectionMode||this.multiSelect.toSingleRange()},this.getSelectedText=function(){var v="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var C=this.multiSelect.rangeList.ranges,k=[],f=0;f0);R<0&&(R=0),$>=w&&($=w-1)}var E=this.session.removeFullLines(R,$);E=this.$reAlignText(E,S),this.session.insert({row:R,column:0},E.join(` `)+` `),S||(A.start.column=0,A.end.column=E[E.length-1].length),this.selection.setRange(A)}else{x.forEach(function(D){C.substractPoint(D.cursor)});var _=0,O=1/0,F=k.map(function(D){var W=D.cursor,j=v.getLine(W.row),H=j.substr(W.column).search(/\S/g);return H==-1&&(H=0),W.column>_&&(_=W.column),HP?v.insert(j,r.stringRepeat(" ",H-P)):v.remove(new y(j.row,j.column,j.row,j.column-H+P)),D.start.column=D.end.column=_,D.start.row=D.end.row=j.row,D.cursor=D.end}),C.fromOrientedRange(k[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}},this.$reAlignText=function(v,C){var k=!0,f=!0,x,A,R;return v.map(function(E){var _=E.match(/(\s*)(.*?)(\s*)([=:].*)/);return _?x==null?(x=_[1].length,A=_[2].length,R=_[3].length,_):(x+A+R!=_[1].length+_[2].length+_[3].length&&(f=!1),x!=_[1].length&&(k=!1),x>_[1].length&&(x=_[1].length),A<_[2].length&&(A=_[2].length),R>_[3].length&&(R=_[3].length),_):[E]}).map(C?S:k?f?w:S:g);function $(E){return r.stringRepeat(" ",E)}function S(E){return E[2]?$(x)+E[2]+$(A-E[2].length+R)+E[4].replace(/^([=:])\s+/,"$1 "):E[0]}function w(E){return E[2]?$(x+A-E[2].length)+E[2]+$(R)+E[4].replace(/^([=:])\s+/,"$1 "):E[0]}function g(E){return E[2]?$(x)+E[2]+$(R)+E[4].replace(/^([=:])\s+/,"$1 "):E[0]}}}).call(a.prototype);function u(v,C){return v.row==C.row&&v.column==C.column}T.onSessionChange=function(v){var C=v.session;C&&!C.multiSelect&&(C.$selectionMarkers=[],C.selection.$initRangeList(),C.multiSelect=C.selection),this.multiSelect=C&&C.multiSelect;var k=v.oldSession;k&&(k.multiSelect.off("addRange",this.$onAddRange),k.multiSelect.off("removeRange",this.$onRemoveRange),k.multiSelect.off("multiSelect",this.$onMultiSelect),k.multiSelect.off("singleSelect",this.$onSingleSelect),k.multiSelect.lead.off("change",this.$checkMultiselectChange),k.multiSelect.anchor.off("change",this.$checkMultiselectChange)),C&&(C.multiSelect.on("addRange",this.$onAddRange),C.multiSelect.on("removeRange",this.$onRemoveRange),C.multiSelect.on("multiSelect",this.$onMultiSelect),C.multiSelect.on("singleSelect",this.$onSingleSelect),C.multiSelect.lead.on("change",this.$checkMultiselectChange),C.multiSelect.anchor.on("change",this.$checkMultiselectChange)),C&&this.inMultiSelectMode!=C.selection.inMultiSelectMode&&(C.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())};function d(v){v.$multiselectOnSessionChange||(v.$onAddRange=v.$onAddRange.bind(v),v.$onRemoveRange=v.$onRemoveRange.bind(v),v.$onMultiSelect=v.$onMultiSelect.bind(v),v.$onSingleSelect=v.$onSingleSelect.bind(v),v.$multiselectOnSessionChange=T.onSessionChange.bind(v),v.$checkMultiselectChange=v.$checkMultiselectChange.bind(v),v.$multiselectOnSessionChange(v),v.on("changeSession",v.$multiselectOnSessionChange),v.on("mousedown",l),v.commands.addCommands(i.defaultCommands),b(v))}function b(v){if(!v.textInput)return;var C=v.textInput.getElement(),k=!1;c.addListener(C,"keydown",function(x){var A=x.keyCode==18&&!(x.ctrlKey||x.shiftKey||x.metaKey);v.$blockSelectEnabled&&A?k||(v.renderer.setMouseCursor("crosshair"),k=!0):k&&f()},v),c.addListener(C,"keyup",f,v),c.addListener(C,"blur",f,v);function f(x){k&&(v.renderer.setMouseCursor(""),k=!1)}}T.MultiSelect=d,L("./config").defineOptions(a.prototype,"editor",{enableMultiselect:{set:function(v){d(this),v?this.on("mousedown",l):this.off("mousedown",l)},value:!0},enableBlockSelect:{set:function(v){this.$blockSelectEnabled=v},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(L,T,I){"use strict";var m=L("../../range").Range,y=T.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(p,l,c){var r=p.getLine(c);return this.foldingStartMarker.test(r)?"start":l=="markbeginend"&&this.foldingStopMarker&&this.foldingStopMarker.test(r)?"end":""},this.getFoldWidgetRange=function(p,l,c){return null},this.indentationBlock=function(p,l,c){var r=/\S/,i=p.getLine(l),n=i.search(r);if(n!=-1){for(var e=c||i.length,t=p.getLength(),o=l,a=l;++lo){var b=p.getLine(a).length;return new m(o,e,a,b)}}},this.openingBracketBlock=function(p,l,c,r,i){var n={row:c,column:r+1},e=p.$findClosingBracket(l,n,i);if(e){var t=p.foldWidgets[e.row];return t==null&&(t=p.getFoldWidget(e.row)),t=="start"&&e.row>n.row&&(e.row--,e.column=p.getLine(e.row).length),m.fromPoints(n,e)}},this.closingBracketBlock=function(p,l,c,r,i){var n={row:c,column:r},e=p.$findOpeningBracket(l,n);if(e)return e.column++,n.column--,m.fromPoints(e,n)}}).call(y.prototype)}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],function(L,T,I){"use strict";var m=L("../line_widgets").LineWidgets,y=L("../lib/dom"),p=L("../range").Range,l=L("../config").nls;function c(i,n,e){for(var t=0,o=i.length-1;t<=o;){var a=t+o>>1,u=e(n,i[a]);if(u>0)t=a+1;else if(u<0)o=a-1;else return a}return-(t+1)}function r(i,n,e){var t=i.getAnnotations().sort(p.comparePoints);if(t.length){var o=c(t,{row:n,column:-1},p.comparePoints);o<0&&(o=-o-1),o>=t.length?o=e>0?0:t.length-1:o===0&&e<0&&(o=t.length-1);var a=t[o];if(!(!a||!e)){if(a.row===n){do a=t[o+=e];while(a&&a.row===n);if(!a)return t.slice()}var u=[];n=a.row;do u[e<0?"unshift":"push"](a),a=t[o+=e];while(a&&a.row==n);return u.length&&u}}}T.showErrorMarker=function(i,n){var e=i.session;e.widgetManager||(e.widgetManager=new m(e),e.widgetManager.attach(i));var t=i.getCursorPosition(),o=t.row,a=e.widgetManager.getWidgetsAtRow(o).filter(function(A){return A.type=="errorMarker"})[0];a?a.destroy():o-=n;var u=r(e,o,n),d;if(u){var b=u[0];t.column=(b.pos&&typeof b.column!="number"?b.pos.sc:b.column)||0,t.row=b.row,d=i.renderer.$gutterLayer.$annotations[t.row]}else{if(a)return;d={text:[l("Looks good!")],className:"ace_ok"}}i.session.unfold(t.row),i.selection.moveToPosition(t);var v={row:t.row,fixedWidth:!0,coverGutter:!0,el:y.createElement("div"),type:"errorMarker"},C=v.el.appendChild(y.createElement("div")),k=v.el.appendChild(y.createElement("div"));k.className="error_widget_arrow "+d.className;var f=i.renderer.$cursorLayer.getPixelPosition(t).left;k.style.left=f+i.renderer.gutterWidth-5+"px",v.el.className="error_widget_wrapper",C.className="error_widget "+d.className,C.innerHTML=d.text.join("
"),C.appendChild(y.createElement("div"));var x=function(A,R,$){if(R===0&&($==="esc"||$==="return"))return v.destroy(),{command:"null"}};v.destroy=function(){i.$mouseHandler.isMousePressed||(i.keyBinding.removeKeyboardHandler(x),e.widgetManager.removeLineWidget(v),i.off("changeSelection",v.destroy),i.off("changeSession",v.destroy),i.off("mouseup",v.destroy),i.off("change",v.destroy))},i.keyBinding.addKeyboardHandler(x),i.on("changeSelection",v.destroy),i.on("changeSession",v.destroy),i.on("mouseup",v.destroy),i.on("change",v.destroy),i.session.widgetManager.addLineWidget(v),v.el.onmousedown=i.focus.bind(i),i.renderer.scrollCursorIntoView(null,.5,{bottom:v.el.offsetHeight})},y.importCssString(` .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; } `,"error_marker.css",!1)}),ace.define("ace/ace",["require","exports","module","ace/lib/dom","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config","ace/loader_build"],function(L,T,I){"use strict";L("./loader_build")(T);var m=L("./lib/dom"),y=L("./range").Range,p=L("./editor").Editor,l=L("./edit_session").EditSession,c=L("./undomanager").UndoManager,r=L("./virtual_renderer").VirtualRenderer;L("./worker/worker_client"),L("./keyboard/hash_handler"),L("./placeholder"),L("./multi_select"),L("./mode/folding/fold_mode"),L("./theme/textmate"),L("./ext/error_marker"),T.config=L("./config"),T.edit=function(i,n){if(typeof i=="string"){var e=i;if(i=document.getElementById(e),!i)throw new Error("ace.edit can't find div #"+e)}if(i&&i.env&&i.env.editor instanceof p)return i.env.editor;var t="";if(i&&/input|textarea/i.test(i.tagName)){var o=i;t=o.value,i=m.createElement("pre"),o.parentNode.replaceChild(i,o)}else i&&(t=i.textContent,i.innerHTML="");var a=T.createEditSession(t),u=new p(new r(i),a,n),d={document:a,editor:u,onResize:u.resize.bind(u,null)};return o&&(d.textarea=o),u.on("destroy",function(){d.editor.container.env=null}),u.container.env=u.env=d,u},T.createEditSession=function(i,n){var e=new l(i,n);return e.setUndoManager(new c),e},T.Range=y,T.Editor=p,T.EditSession=l,T.UndoManager=c,T.VirtualRenderer=r,T.version=T.config.version}),function(){ace.require(["ace/ace"],function(L){L&&(L.config.init(!0),L.define=ace.define);var T=function(){return this}();!T&&typeof window<"u"&&(T=window),!T&&typeof self<"u"&&(T=self),T.ace||(T.ace=L);for(var I in L)L.hasOwnProperty(I)&&(T.ace[I]=L[I]);T.ace.default=T.ace,h&&(h.exports=T.ace)})}()},F48TptDW:(h,M,s)=>{h=s.nmd(h),ace.define("ace/split",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/editor","ace/virtual_renderer","ace/edit_session"],function(L,T,I){"use strict";var m=L("./lib/oop"),y=L("./lib/lang"),p=L("./lib/event_emitter").EventEmitter,l=L("./editor").Editor,c=L("./virtual_renderer").VirtualRenderer,r=L("./edit_session").EditSession,i;i=function(n,e,t){this.BELOW=1,this.BESIDE=0,this.$container=n,this.$theme=e,this.$splits=0,this.$editorCSS="",this.$editors=[],this.$orientation=this.BESIDE,this.setSplits(t||1),this.$cEditor=this.$editors[0],this.on("focus",function(o){this.$cEditor=o}.bind(this))},function(){m.implement(this,p),this.$createEditor=function(){var n=document.createElement("div");n.className=this.$editorCSS,n.style.cssText="position: absolute; top:0px; bottom:0px",this.$container.appendChild(n);var e=new l(new c(n,this.$theme));return e.on("focus",function(){this._emit("focus",e)}.bind(this)),this.$editors.push(e),e.setFontSize(this.$fontSize),e},this.setSplits=function(n){var e;if(n<1)throw"The number of splits have to be > 0!";if(n!=this.$splits){if(n>this.$splits){for(;this.$splitsn;)e=this.$editors[this.$splits-1],this.$container.removeChild(e.container),this.$splits--;this.resize()}},this.getSplits=function(){return this.$splits},this.getEditor=function(n){return this.$editors[n]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(n){this.$editors.forEach(function(e){e.setTheme(n)})},this.setKeyboardHandler=function(n){this.$editors.forEach(function(e){e.setKeyboardHandler(n)})},this.forEach=function(n,e){this.$editors.forEach(n,e)},this.$fontSize="",this.setFontSize=function(n){this.$fontSize=n,this.forEach(function(e){e.setFontSize(n)})},this.$cloneSession=function(n){var e=new r(n.getDocument(),n.getMode()),t=n.getUndoManager();return e.setUndoManager(t),e.setTabSize(n.getTabSize()),e.setUseSoftTabs(n.getUseSoftTabs()),e.setOverwrite(n.getOverwrite()),e.setBreakpoints(n.getBreakpoints()),e.setUseWrapMode(n.getUseWrapMode()),e.setUseWorker(n.getUseWorker()),e.setWrapLimitRange(n.$wrapLimitRange.min,n.$wrapLimitRange.max),e.$foldData=n.$cloneFoldData(),e},this.setSession=function(n,e){var t;e==null?t=this.$cEditor:t=this.$editors[e];var o=this.$editors.some(function(a){return a.session===n});return o&&(n=this.$cloneSession(n)),t.setSession(n),n},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(n){this.$orientation!=n&&(this.$orientation=n,this.resize())},this.resize=function(){var n=this.$container.clientWidth,e=this.$container.clientHeight,t;if(this.$orientation==this.BESIDE)for(var o=n/this.$splits,a=0;a{h=s.nmd(h),ace.define("ace/theme/monokai-css",["require","exports","module"],function(L,T,I){I.exports=`.ace-monokai .ace_gutter { background: #2F3129; color: #8F908A } .ace-monokai .ace_print-margin { width: 1px; background: #555651 } .ace-monokai { background-color: #272822; color: #F8F8F2 } .ace-monokai .ace_cursor { color: #F8F8F0 } .ace-monokai .ace_marker-layer .ace_selection { background: #49483E } .ace-monokai.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #272822; } .ace-monokai .ace_marker-layer .ace_step { background: rgb(102, 82, 0) } .ace-monokai .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; border: 1px solid #49483E } .ace-monokai .ace_marker-layer .ace_active-line { background: #202020 } .ace-monokai .ace_gutter-active-line { background-color: #272727 } .ace-monokai .ace_marker-layer .ace_selected-word { border: 1px solid #49483E } .ace-monokai .ace_invisible { color: #52524d } .ace-monokai .ace_entity.ace_name.ace_tag, .ace-monokai .ace_keyword, .ace-monokai .ace_meta.ace_tag, .ace-monokai .ace_storage { color: #F92672 } .ace-monokai .ace_punctuation, .ace-monokai .ace_punctuation.ace_tag { color: #fff } .ace-monokai .ace_constant.ace_character, .ace-monokai .ace_constant.ace_language, .ace-monokai .ace_constant.ace_numeric, .ace-monokai .ace_constant.ace_other { color: #AE81FF } .ace-monokai .ace_invalid { color: #F8F8F0; background-color: #F92672 } .ace-monokai .ace_invalid.ace_deprecated { color: #F8F8F0; background-color: #AE81FF } .ace-monokai .ace_support.ace_constant, .ace-monokai .ace_support.ace_function { color: #66D9EF } .ace-monokai .ace_fold { background-color: #A6E22E; border-color: #F8F8F2 } .ace-monokai .ace_storage.ace_type, .ace-monokai .ace_support.ace_class, .ace-monokai .ace_support.ace_type { font-style: italic; color: #66D9EF } .ace-monokai .ace_entity.ace_name.ace_function, .ace-monokai .ace_entity.ace_other, .ace-monokai .ace_entity.ace_other.ace_attribute-name, .ace-monokai .ace_variable { color: #A6E22E } .ace-monokai .ace_variable.ace_parameter { font-style: italic; color: #FD971F } .ace-monokai .ace_string { color: #E6DB74 } .ace-monokai .ace_comment { color: #75715E } .ace-monokai .ace_indent-guide { background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y } .ace-monokai .ace_indent-guide-active { background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQIW2PQ1dX9zzBz5sz/ABCcBFFentLlAAAAAElFTkSuQmCC) right repeat-y; } `}),ace.define("ace/theme/monokai",["require","exports","module","ace/theme/monokai-css","ace/lib/dom"],function(L,T,I){T.isDark=!0,T.cssClass="ace-monokai",T.cssText=L("./monokai-css");var m=L("../lib/dom");m.importCssString(T.cssText,T.cssClass,!1)}),function(){ace.require(["ace/theme/monokai"],function(L){h&&(h.exports=L)})}()},m2mdH5bp:(h,M,s)=>{h=s.nmd(h),ace.define("ace/theme/tomorrow-css",["require","exports","module"],function(L,T,I){I.exports=`.ace-tomorrow .ace_gutter { background: #f6f6f6; color: #4D4D4C } .ace-tomorrow .ace_print-margin { width: 1px; background: #f6f6f6 } .ace-tomorrow { background-color: #FFFFFF; color: #4D4D4C } .ace-tomorrow .ace_cursor { color: #AEAFAD } .ace-tomorrow .ace_marker-layer .ace_selection { background: #D6D6D6 } .ace-tomorrow.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #FFFFFF; } .ace-tomorrow .ace_marker-layer .ace_step { background: rgb(255, 255, 0) } .ace-tomorrow .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; border: 1px solid #D1D1D1 } .ace-tomorrow .ace_marker-layer .ace_active-line { background: #EFEFEF } .ace-tomorrow .ace_gutter-active-line { background-color : #dcdcdc } .ace-tomorrow .ace_marker-layer .ace_selected-word { border: 1px solid #D6D6D6 } .ace-tomorrow .ace_invisible { color: #D1D1D1 } .ace-tomorrow .ace_keyword, .ace-tomorrow .ace_meta, .ace-tomorrow .ace_storage, .ace-tomorrow .ace_storage.ace_type, .ace-tomorrow .ace_support.ace_type { color: #8959A8 } .ace-tomorrow .ace_keyword.ace_operator { color: #3E999F } .ace-tomorrow .ace_constant.ace_character, .ace-tomorrow .ace_constant.ace_language, .ace-tomorrow .ace_constant.ace_numeric, .ace-tomorrow .ace_keyword.ace_other.ace_unit, .ace-tomorrow .ace_support.ace_constant, .ace-tomorrow .ace_variable.ace_parameter { color: #F5871F } .ace-tomorrow .ace_constant.ace_other { color: #666969 } .ace-tomorrow .ace_invalid { color: #FFFFFF; background-color: #C82829 } .ace-tomorrow .ace_invalid.ace_deprecated { color: #FFFFFF; background-color: #8959A8 } .ace-tomorrow .ace_fold { background-color: #4271AE; border-color: #4D4D4C } .ace-tomorrow .ace_entity.ace_name.ace_function, .ace-tomorrow .ace_support.ace_function, .ace-tomorrow .ace_variable { color: #4271AE } .ace-tomorrow .ace_support.ace_class, .ace-tomorrow .ace_support.ace_type { color: #C99E00 } .ace-tomorrow .ace_heading, .ace-tomorrow .ace_markup.ace_heading, .ace-tomorrow .ace_string { color: #718C00 } .ace-tomorrow .ace_entity.ace_name.ace_tag, .ace-tomorrow .ace_entity.ace_other.ace_attribute-name, .ace-tomorrow .ace_meta.ace_tag, .ace-tomorrow .ace_string.ace_regexp, .ace-tomorrow .ace_variable { color: #C82829 } .ace-tomorrow .ace_comment { color: #8E908C } .ace-tomorrow .ace_indent-guide { background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bdu3f/BwAlfgctduB85QAAAABJRU5ErkJggg==) right repeat-y } .ace-tomorrow .ace_indent-guide-active { background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAZSURBVHjaYvj///9/hivKyv8BAAAA//8DACLqBhbvk+/eAAAAAElFTkSuQmCC") right repeat-y; } `}),ace.define("ace/theme/tomorrow",["require","exports","module","ace/theme/tomorrow-css","ace/lib/dom"],function(L,T,I){T.isDark=!1,T.cssClass="ace-tomorrow",T.cssText=L("./tomorrow-css");var m=L("../lib/dom");m.importCssString(T.cssText,T.cssClass,!1)}),function(){ace.require(["ace/theme/tomorrow"],function(L){h&&(h.exports=L)})}()},hViWz1AJ:(h,M,s)=>{ace.config.setModuleUrl("ace/ext/beautify",s("KJ7h3pF+")),ace.config.setModuleUrl("ace/ext/code_lens",s("B2w+iJaB")),ace.config.setModuleUrl("ace/ext/command_bar",s("NUHcuyfs")),ace.config.setModuleUrl("ace/ext/elastic_tabstops_lite",s("wR0O36G8")),ace.config.setModuleUrl("ace/ext/emmet",s("mHIQJwee")),ace.config.setModuleUrl("ace/ext/error_marker",s("IiPcyGu1")),ace.config.setModuleUrl("ace/ext/hardwrap",s("PN3wrz79")),ace.config.setModuleUrl("ace/ext/inline_autocomplete",s("fiOGeUQO")),ace.config.setModuleUrl("ace/ext/keyboard_menu",s("JvCZCupa")),ace.config.setModuleUrl("ace/ext/language_tools",s("cljE5Yi3")),ace.config.setModuleUrl("ace/ext/linking",s("EVIIvNP1")),ace.config.setModuleUrl("ace/ext/modelist",s("oIN3Y9Y+")),ace.config.setModuleUrl("ace/ext/options",s("q+fHRtOx")),ace.config.setModuleUrl("ace/ext/prompt",s("QypEdsZr")),ace.config.setModuleUrl("ace/ext/rtl",s("N8a/s2JS")),ace.config.setModuleUrl("ace/ext/searchbox",s("nurdQOvO")),ace.config.setModuleUrl("ace/ext/settings_menu",s("rwFhBhnm")),ace.config.setModuleUrl("ace/ext/simple_tokenizer",s("q91va7hF")),ace.config.setModuleUrl("ace/ext/spellcheck",s("5gaeSbfJ")),ace.config.setModuleUrl("ace/ext/split",s("rhwaacp8")),ace.config.setModuleUrl("ace/ext/static_highlight",s("RSbUIhpb")),ace.config.setModuleUrl("ace/ext/statusbar",s("LMJK8O2y")),ace.config.setModuleUrl("ace/ext/textarea",s("dgljeUWr")),ace.config.setModuleUrl("ace/ext/themelist",s("WgBn9RKV")),ace.config.setModuleUrl("ace/ext/whitespace",s("AxyJJlvS")),ace.config.setModuleUrl("ace/keyboard/emacs",s("RCyuP6sI")),ace.config.setModuleUrl("ace/keyboard/sublime",s("0EoOxFjP")),ace.config.setModuleUrl("ace/keyboard/vim",s("JI23s+Ew")),ace.config.setModuleUrl("ace/keyboard/vscode",s("NFKPcVdi")),ace.config.setModuleUrl("ace/mode/abap",s("f9Q7KjhE")),ace.config.setModuleUrl("ace/mode/abc",s("XhiZ6TMh")),ace.config.setModuleUrl("ace/mode/actionscript",s("Mb+SRHbE")),ace.config.setModuleUrl("ace/mode/ada",s("rgV7qPh1")),ace.config.setModuleUrl("ace/mode/alda",s("7ywyViGB")),ace.config.setModuleUrl("ace/mode/apache_conf",s("aRDpmiz3")),ace.config.setModuleUrl("ace/mode/apex",s("3z+10Qww")),ace.config.setModuleUrl("ace/mode/applescript",s("zDUw687c")),ace.config.setModuleUrl("ace/mode/aql",s("ZA5bJL04")),ace.config.setModuleUrl("ace/mode/asciidoc",s("UJ5VeWm1")),ace.config.setModuleUrl("ace/mode/asl",s("AjKEyyw0")),ace.config.setModuleUrl("ace/mode/assembly_arm32",s("wj/YoLii")),ace.config.setModuleUrl("ace/mode/assembly_x86",s("RoY3kljj")),ace.config.setModuleUrl("ace/mode/astro",s("UMLb/j0b")),ace.config.setModuleUrl("ace/mode/autohotkey",s("bbSMiwHX")),ace.config.setModuleUrl("ace/mode/batchfile",s("6gW+mNVp")),ace.config.setModuleUrl("ace/mode/bibtex",s("CGG2B4Nh")),ace.config.setModuleUrl("ace/mode/c9search",s("dcyoWKsu")),ace.config.setModuleUrl("ace/mode/c_cpp",s("B4nyWlQE")),ace.config.setModuleUrl("ace/mode/cirru",s("39kRP7Gz")),ace.config.setModuleUrl("ace/mode/clojure",s("9l0XtChj")),ace.config.setModuleUrl("ace/mode/cobol",s("cEnPwFgi")),ace.config.setModuleUrl("ace/mode/coffee",s("TsGWTwOG")),ace.config.setModuleUrl("ace/mode/coldfusion",s("WhVMIyF3")),ace.config.setModuleUrl("ace/mode/crystal",s("rwT/30E5")),ace.config.setModuleUrl("ace/mode/csharp",s("l65YTBe6")),ace.config.setModuleUrl("ace/mode/csound_document",s("69el5XK7")),ace.config.setModuleUrl("ace/mode/csound_orchestra",s("ItHIJ0eS")),ace.config.setModuleUrl("ace/mode/csound_score",s("ZEwA1jXv")),ace.config.setModuleUrl("ace/mode/csp",s("c3lQ44gr")),ace.config.setModuleUrl("ace/mode/css",s("Zy5PLfu2")),ace.config.setModuleUrl("ace/mode/curly",s("tB02ZMrV")),ace.config.setModuleUrl("ace/mode/cuttlefish",s("4zZeasVt")),ace.config.setModuleUrl("ace/mode/d",s("UtAR/Nnz")),ace.config.setModuleUrl("ace/mode/dart",s("pp9hmRmR")),ace.config.setModuleUrl("ace/mode/diff",s("TtEonQ3c")),ace.config.setModuleUrl("ace/mode/django",s("FvzVfDpQ")),ace.config.setModuleUrl("ace/mode/dockerfile",s("ZcBizuvF")),ace.config.setModuleUrl("ace/mode/dot",s("FFRdY6+R")),ace.config.setModuleUrl("ace/mode/drools",s("s2J4aKZl")),ace.config.setModuleUrl("ace/mode/edifact",s("qk+K9Bzw")),ace.config.setModuleUrl("ace/mode/eiffel",s("Y06WGWj3")),ace.config.setModuleUrl("ace/mode/ejs",s("fdM/w1OY")),ace.config.setModuleUrl("ace/mode/elixir",s("gW8wQhfm")),ace.config.setModuleUrl("ace/mode/elm",s("4DcnL6V3")),ace.config.setModuleUrl("ace/mode/erlang",s("Q/osO92v")),ace.config.setModuleUrl("ace/mode/flix",s("Z4oDt6yI")),ace.config.setModuleUrl("ace/mode/forth",s("wRYuiDPf")),ace.config.setModuleUrl("ace/mode/fortran",s("w9bn3WmC")),ace.config.setModuleUrl("ace/mode/fsharp",s("CvT/dj26")),ace.config.setModuleUrl("ace/mode/fsl",s("f+ZChAbB")),ace.config.setModuleUrl("ace/mode/ftl",s("aSNr9qDC")),ace.config.setModuleUrl("ace/mode/gcode",s("G+KEVL1w")),ace.config.setModuleUrl("ace/mode/gherkin",s("m2hyIYI9")),ace.config.setModuleUrl("ace/mode/gitignore",s("oIWYaTpo")),ace.config.setModuleUrl("ace/mode/glsl",s("XZoIdHs0")),ace.config.setModuleUrl("ace/mode/gobstones",s("ROcMGP6M")),ace.config.setModuleUrl("ace/mode/golang",s("BS7OfPZr")),ace.config.setModuleUrl("ace/mode/graphqlschema",s("gTxcyPlx")),ace.config.setModuleUrl("ace/mode/groovy",s("5wuiXJtp")),ace.config.setModuleUrl("ace/mode/haml",s("8sUpSktc")),ace.config.setModuleUrl("ace/mode/handlebars",s("E2WBvs6p")),ace.config.setModuleUrl("ace/mode/haskell",s("eWkduJug")),ace.config.setModuleUrl("ace/mode/haskell_cabal",s("lpf+oj3p")),ace.config.setModuleUrl("ace/mode/haxe",s("q+kd1DVF")),ace.config.setModuleUrl("ace/mode/hjson",s("VoHmqoAv")),ace.config.setModuleUrl("ace/mode/html",s("69/8WEWc")),ace.config.setModuleUrl("ace/mode/html_elixir",s("sVY7IdRA")),ace.config.setModuleUrl("ace/mode/html_ruby",s("GdNCG2Ac")),ace.config.setModuleUrl("ace/mode/ini",s("Qsb02umC")),ace.config.setModuleUrl("ace/mode/io",s("MbwhKzfE")),ace.config.setModuleUrl("ace/mode/ion",s("82G3Eh7o")),ace.config.setModuleUrl("ace/mode/jack",s("BWVg9xUM")),ace.config.setModuleUrl("ace/mode/jade",s("5jJQfH1G")),ace.config.setModuleUrl("ace/mode/java",s("SKNPrvj3")),ace.config.setModuleUrl("ace/mode/javascript",s("W+rRzPQ3")),ace.config.setModuleUrl("ace/mode/jexl",s("slnLcnPv")),ace.config.setModuleUrl("ace/mode/json",s("S/S+XPbm")),ace.config.setModuleUrl("ace/mode/json5",s("4Ofed9nk")),ace.config.setModuleUrl("ace/mode/jsoniq",s("2YivyU24")),ace.config.setModuleUrl("ace/mode/jsp",s("QT2u3ERV")),ace.config.setModuleUrl("ace/mode/jssm",s("wOeE8qtP")),ace.config.setModuleUrl("ace/mode/jsx",s("Ko8nu1IK")),ace.config.setModuleUrl("ace/mode/julia",s("4lxwVSe7")),ace.config.setModuleUrl("ace/mode/kotlin",s("wuE3nUfE")),ace.config.setModuleUrl("ace/mode/latex",s("KilHDkrb")),ace.config.setModuleUrl("ace/mode/latte",s("dSNjqeYx")),ace.config.setModuleUrl("ace/mode/less",s("9s0zGrJC")),ace.config.setModuleUrl("ace/mode/liquid",s("lKxe9i7C")),ace.config.setModuleUrl("ace/mode/lisp",s("RhDfJIvJ")),ace.config.setModuleUrl("ace/mode/livescript",s("MetX2Z6a")),ace.config.setModuleUrl("ace/mode/logiql",s("WIs0ZCRn")),ace.config.setModuleUrl("ace/mode/logtalk",s("lPOXAEYo")),ace.config.setModuleUrl("ace/mode/lsl",s("Lj7y0Iiv")),ace.config.setModuleUrl("ace/mode/lua",s("m9gbmgpX")),ace.config.setModuleUrl("ace/mode/luapage",s("y+2Cak43")),ace.config.setModuleUrl("ace/mode/lucene",s("IPW/J58z")),ace.config.setModuleUrl("ace/mode/makefile",s("8UDn0fo/")),ace.config.setModuleUrl("ace/mode/markdown",s("MaW1rtmX")),ace.config.setModuleUrl("ace/mode/mask",s("6DPeZKoT")),ace.config.setModuleUrl("ace/mode/matlab",s("WJdO7a6x")),ace.config.setModuleUrl("ace/mode/maze",s("Ryv5Hs/0")),ace.config.setModuleUrl("ace/mode/mediawiki",s("b3jIjWsp")),ace.config.setModuleUrl("ace/mode/mel",s("g8PbnK2I")),ace.config.setModuleUrl("ace/mode/mips",s("7xtVVdF8")),ace.config.setModuleUrl("ace/mode/mixal",s("Sz82cEdf")),ace.config.setModuleUrl("ace/mode/mushcode",s("kRVSeld2")),ace.config.setModuleUrl("ace/mode/mysql",s("YcAgQIDi")),ace.config.setModuleUrl("ace/mode/nasal",s("a2tQPWwo")),ace.config.setModuleUrl("ace/mode/nginx",s("WzplMpNk")),ace.config.setModuleUrl("ace/mode/nim",s("cEkhK+AE")),ace.config.setModuleUrl("ace/mode/nix",s("YmftNx5B")),ace.config.setModuleUrl("ace/mode/nsis",s("yRL3jNDK")),ace.config.setModuleUrl("ace/mode/nunjucks",s("t8wWwN0E")),ace.config.setModuleUrl("ace/mode/objectivec",s("Jo2d/QyO")),ace.config.setModuleUrl("ace/mode/ocaml",s("O+MHPI4B")),ace.config.setModuleUrl("ace/mode/odin",s("fjrdy3Ar")),ace.config.setModuleUrl("ace/mode/partiql",s("EmkkcrGA")),ace.config.setModuleUrl("ace/mode/pascal",s("UN69KoiI")),ace.config.setModuleUrl("ace/mode/perl",s("XDChci5t")),ace.config.setModuleUrl("ace/mode/pgsql",s("gzGSqjXe")),ace.config.setModuleUrl("ace/mode/php",s("3LFiePQv")),ace.config.setModuleUrl("ace/mode/php_laravel_blade",s("OffvJTpV")),ace.config.setModuleUrl("ace/mode/pig",s("YrxQQ9ic")),ace.config.setModuleUrl("ace/mode/plain_text",s("P5Du0AOV")),ace.config.setModuleUrl("ace/mode/plsql",s("BHNJPC/F")),ace.config.setModuleUrl("ace/mode/powershell",s("gQFTgoKh")),ace.config.setModuleUrl("ace/mode/praat",s("cIA33Uux")),ace.config.setModuleUrl("ace/mode/prisma",s("nvxbpDjX")),ace.config.setModuleUrl("ace/mode/prolog",s("Cv9D60U9")),ace.config.setModuleUrl("ace/mode/properties",s("z787h9SV")),ace.config.setModuleUrl("ace/mode/protobuf",s("JIzEQQOP")),ace.config.setModuleUrl("ace/mode/prql",s("ihr5rwEL")),ace.config.setModuleUrl("ace/mode/puppet",s("eB2Xyp6Q")),ace.config.setModuleUrl("ace/mode/python",s("cZexJJJu")),ace.config.setModuleUrl("ace/mode/qml",s("D7IIxazi")),ace.config.setModuleUrl("ace/mode/r",s("37Ne+x1b")),ace.config.setModuleUrl("ace/mode/raku",s("V3IcoNW6")),ace.config.setModuleUrl("ace/mode/razor",s("+GyvnhH0")),ace.config.setModuleUrl("ace/mode/rdoc",s("wnJQvwxJ")),ace.config.setModuleUrl("ace/mode/red",s("5M3QnVF8")),ace.config.setModuleUrl("ace/mode/redshift",s("uMJskZWQ")),ace.config.setModuleUrl("ace/mode/rhtml",s("jGoRnk1m")),ace.config.setModuleUrl("ace/mode/robot",s("R3UaiYdG")),ace.config.setModuleUrl("ace/mode/rst",s("+21qgRUW")),ace.config.setModuleUrl("ace/mode/ruby",s("rui/SuoT")),ace.config.setModuleUrl("ace/mode/rust",s("ev/jN719")),ace.config.setModuleUrl("ace/mode/sac",s("0cT35Irr")),ace.config.setModuleUrl("ace/mode/sass",s("is3xhf2Z")),ace.config.setModuleUrl("ace/mode/scad",s("uJRJGR5x")),ace.config.setModuleUrl("ace/mode/scala",s("Ej9Mbt41")),ace.config.setModuleUrl("ace/mode/scheme",s("GS2u+uCB")),ace.config.setModuleUrl("ace/mode/scrypt",s("P6XL5j+J")),ace.config.setModuleUrl("ace/mode/scss",s("rb1WeCd3")),ace.config.setModuleUrl("ace/mode/sh",s("mj/X/QpT")),ace.config.setModuleUrl("ace/mode/sjs",s("nPSTcxkM")),ace.config.setModuleUrl("ace/mode/slim",s("rMv34TVG")),ace.config.setModuleUrl("ace/mode/smarty",s("9frdRC+d")),ace.config.setModuleUrl("ace/mode/smithy",s("Dgd6TotM")),ace.config.setModuleUrl("ace/mode/snippets",s("Ee/adM0h")),ace.config.setModuleUrl("ace/mode/soy_template",s("/K+DecFy")),ace.config.setModuleUrl("ace/mode/space",s("mHl7nGoL")),ace.config.setModuleUrl("ace/mode/sparql",s("D/iew0TZ")),ace.config.setModuleUrl("ace/mode/sql",s("2fr/hfKJ")),ace.config.setModuleUrl("ace/mode/sqlserver",s("/HAVoDco")),ace.config.setModuleUrl("ace/mode/stylus",s("uuGmp+oa")),ace.config.setModuleUrl("ace/mode/svg",s("wT9XyTxq")),ace.config.setModuleUrl("ace/mode/swift",s("4spcbJDg")),ace.config.setModuleUrl("ace/mode/tcl",s("81Ub9/Bh")),ace.config.setModuleUrl("ace/mode/terraform",s("kOgJL9KN")),ace.config.setModuleUrl("ace/mode/tex",s("FIgdNmq8")),ace.config.setModuleUrl("ace/mode/text",s("ZA3nFAaf")),ace.config.setModuleUrl("ace/mode/textile",s("qGefSyI+")),ace.config.setModuleUrl("ace/mode/toml",s("fqiXtc88")),ace.config.setModuleUrl("ace/mode/tsx",s("/THIiewk")),ace.config.setModuleUrl("ace/mode/turtle",s("RwWxixsF")),ace.config.setModuleUrl("ace/mode/twig",s("7ZI/55zZ")),ace.config.setModuleUrl("ace/mode/typescript",s("xwm6i9FM")),ace.config.setModuleUrl("ace/mode/vala",s("XjZTha4a")),ace.config.setModuleUrl("ace/mode/vbscript",s("lVzFo0Y4")),ace.config.setModuleUrl("ace/mode/velocity",s("UrD4N1zb")),ace.config.setModuleUrl("ace/mode/verilog",s("CGGEaVCf")),ace.config.setModuleUrl("ace/mode/vhdl",s("v+Lyqq2Z")),ace.config.setModuleUrl("ace/mode/visualforce",s("XY3gE0Rk")),ace.config.setModuleUrl("ace/mode/vue",s("a1M7xZi2")),ace.config.setModuleUrl("ace/mode/wollok",s("xiFOb0Ie")),ace.config.setModuleUrl("ace/mode/xml",s("IpYM2bHn")),ace.config.setModuleUrl("ace/mode/xquery",s("PrNkpak9")),ace.config.setModuleUrl("ace/mode/yaml",s("DVHugB0f")),ace.config.setModuleUrl("ace/mode/zeek",s("B4poQTOL")),ace.config.setModuleUrl("ace/mode/zig",s("mkFUdlQx")),ace.config.setModuleUrl("ace/theme/ambiance",s("l1lYLnFG")),ace.config.setModuleUrl("ace/theme/chaos",s("MVLfkgRO")),ace.config.setModuleUrl("ace/theme/chrome",s("JdNh8gb3")),ace.config.setModuleUrl("ace/theme/cloud9_day",s("v3cIezEl")),ace.config.setModuleUrl("ace/theme/cloud9_night",s("vL/GGtXq")),ace.config.setModuleUrl("ace/theme/cloud9_night_low_color",s("6W0Oybpv")),ace.config.setModuleUrl("ace/theme/cloud_editor",s("QfUg6oxV")),ace.config.setModuleUrl("ace/theme/cloud_editor_dark",s("Beb+QtM5")),ace.config.setModuleUrl("ace/theme/clouds",s("1YT6s9sZ")),ace.config.setModuleUrl("ace/theme/clouds_midnight",s("hDf0rkEI")),ace.config.setModuleUrl("ace/theme/cobalt",s("IcdJB6RT")),ace.config.setModuleUrl("ace/theme/crimson_editor",s("1CcjkTW2")),ace.config.setModuleUrl("ace/theme/dawn",s("qKdFSJM1")),ace.config.setModuleUrl("ace/theme/dracula",s("WcID6jHe")),ace.config.setModuleUrl("ace/theme/dreamweaver",s("UrmhI2yl")),ace.config.setModuleUrl("ace/theme/eclipse",s("adfKiEqr")),ace.config.setModuleUrl("ace/theme/github",s("6JUCKrPp")),ace.config.setModuleUrl("ace/theme/github_dark",s("bna0Sfbu")),ace.config.setModuleUrl("ace/theme/gob",s("ZNs4vcdh")),ace.config.setModuleUrl("ace/theme/gruvbox",s("g00obu5c")),ace.config.setModuleUrl("ace/theme/gruvbox_dark_hard",s("948B1sdC")),ace.config.setModuleUrl("ace/theme/gruvbox_light_hard",s("6f6ywK4X")),ace.config.setModuleUrl("ace/theme/idle_fingers",s("X5lyhFZq")),ace.config.setModuleUrl("ace/theme/iplastic",s("E+BVsWKj")),ace.config.setModuleUrl("ace/theme/katzenmilch",s("NEJeIpSa")),ace.config.setModuleUrl("ace/theme/kr_theme",s("ZhCPcINa")),ace.config.setModuleUrl("ace/theme/kuroir",s("n/YvNmNM")),ace.config.setModuleUrl("ace/theme/merbivore",s("5hr//AML")),ace.config.setModuleUrl("ace/theme/merbivore_soft",s("WLtUVsLt")),ace.config.setModuleUrl("ace/theme/mono_industrial",s("kllLTRgG")),ace.config.setModuleUrl("ace/theme/monokai",s("tvqcW6d4")),ace.config.setModuleUrl("ace/theme/nord_dark",s("vdQ1l0lh")),ace.config.setModuleUrl("ace/theme/one_dark",s("CTxztnCu")),ace.config.setModuleUrl("ace/theme/pastel_on_dark",s("DKVKp6eM")),ace.config.setModuleUrl("ace/theme/solarized_dark",s("2DTlQWKj")),ace.config.setModuleUrl("ace/theme/solarized_light",s("bKl877OY")),ace.config.setModuleUrl("ace/theme/sqlserver",s("yrMd9gTa")),ace.config.setModuleUrl("ace/theme/terminal",s("cYmr97PJ")),ace.config.setModuleUrl("ace/theme/textmate",s("kDa7ZriR")),ace.config.setModuleUrl("ace/theme/tomorrow",s("JE6AtuIa")),ace.config.setModuleUrl("ace/theme/tomorrow_night",s("kHeRLRtP")),ace.config.setModuleUrl("ace/theme/tomorrow_night_blue",s("JKOkCiEx")),ace.config.setModuleUrl("ace/theme/tomorrow_night_bright",s("aEfBTURH")),ace.config.setModuleUrl("ace/theme/tomorrow_night_eighties",s("oa8N11m+")),ace.config.setModuleUrl("ace/theme/twilight",s("TJwQQT13")),ace.config.setModuleUrl("ace/theme/vibrant_ink",s("fCARvF4c")),ace.config.setModuleUrl("ace/theme/xcode",s("SklWCMVA")),ace.config.setModuleUrl("ace/mode/base_worker",s("ceoYkTou")),ace.config.setModuleUrl("ace/mode/coffee_worker",s("51Xq34bu")),ace.config.setModuleUrl("ace/mode/css_worker",s("fKv/I13j")),ace.config.setModuleUrl("ace/mode/html_worker",s("kxLoK35b")),ace.config.setModuleUrl("ace/mode/javascript_worker",s("Z2cYhbxg")),ace.config.setModuleUrl("ace/mode/json_worker",s("ziqewSXn")),ace.config.setModuleUrl("ace/mode/lua_worker",s("hFHpaEZ9")),ace.config.setModuleUrl("ace/mode/php_worker",s("8z5K6nuC")),ace.config.setModuleUrl("ace/mode/xml_worker",s("DW5CTjRI")),ace.config.setModuleUrl("ace/mode/xquery_worker",s("5KKxcDH1")),ace.config.setModuleUrl("ace/mode/yaml_worker",s("GsNPzpn+")),ace.config.setModuleUrl("ace/snippets/abap",s("CUPortIW")),ace.config.setModuleUrl("ace/snippets/abc",s("cBRChpL7")),ace.config.setModuleUrl("ace/snippets/actionscript",s("5O/jQAPE")),ace.config.setModuleUrl("ace/snippets/ada",s("JRv3Q5h0")),ace.config.setModuleUrl("ace/snippets/alda",s("T8wnTgVd")),ace.config.setModuleUrl("ace/snippets/apache_conf",s("D4m/mj+u")),ace.config.setModuleUrl("ace/snippets/apex",s("PfEcizAn")),ace.config.setModuleUrl("ace/snippets/applescript",s("XJIOnCMI")),ace.config.setModuleUrl("ace/snippets/aql",s("bzJRp/fj")),ace.config.setModuleUrl("ace/snippets/asciidoc",s("WGudCwHG")),ace.config.setModuleUrl("ace/snippets/asl",s("Sgt41ziz")),ace.config.setModuleUrl("ace/snippets/assembly_arm32",s("gcbApXfm")),ace.config.setModuleUrl("ace/snippets/assembly_x86",s("5Cd9/Clf")),ace.config.setModuleUrl("ace/snippets/astro",s("CAQ2Dxzi")),ace.config.setModuleUrl("ace/snippets/autohotkey",s("xkdg8c4m")),ace.config.setModuleUrl("ace/snippets/batchfile",s("Pan7UXi6")),ace.config.setModuleUrl("ace/snippets/bibtex",s("5rFUMTo0")),ace.config.setModuleUrl("ace/snippets/c9search",s("5Y51+Vh1")),ace.config.setModuleUrl("ace/snippets/c_cpp",s("xOgV6CkG")),ace.config.setModuleUrl("ace/snippets/cirru",s("CjBhGB0o")),ace.config.setModuleUrl("ace/snippets/clojure",s("VXvdTg0X")),ace.config.setModuleUrl("ace/snippets/cobol",s("W4XoRKK4")),ace.config.setModuleUrl("ace/snippets/coffee",s("Ken8ylxk")),ace.config.setModuleUrl("ace/snippets/coldfusion",s("ewgFOqjw")),ace.config.setModuleUrl("ace/snippets/crystal",s("8/kwZneT")),ace.config.setModuleUrl("ace/snippets/csharp",s("LzhmpIfy")),ace.config.setModuleUrl("ace/snippets/csound_document",s("KS7ndwix")),ace.config.setModuleUrl("ace/snippets/csound_orchestra",s("737WX/BK")),ace.config.setModuleUrl("ace/snippets/csound_score",s("pjcg92Zz")),ace.config.setModuleUrl("ace/snippets/csp",s("7lnPtNAK")),ace.config.setModuleUrl("ace/snippets/css",s("lF6nRVUD")),ace.config.setModuleUrl("ace/snippets/curly",s("Q52XOfEM")),ace.config.setModuleUrl("ace/snippets/cuttlefish",s("ehVK/+AJ")),ace.config.setModuleUrl("ace/snippets/d",s("vnmFDQ0H")),ace.config.setModuleUrl("ace/snippets/dart",s("vhsfk6tw")),ace.config.setModuleUrl("ace/snippets/diff",s("+5E7vsAR")),ace.config.setModuleUrl("ace/snippets/django",s("iYxCCA4j")),ace.config.setModuleUrl("ace/snippets/dockerfile",s("QHbcYkzC")),ace.config.setModuleUrl("ace/snippets/dot",s("G1zdDMr3")),ace.config.setModuleUrl("ace/snippets/drools",s("1vi6P6ZX")),ace.config.setModuleUrl("ace/snippets/edifact",s("0uau5JfL")),ace.config.setModuleUrl("ace/snippets/eiffel",s("Mi1cIhKo")),ace.config.setModuleUrl("ace/snippets/ejs",s("zq0C7U0x")),ace.config.setModuleUrl("ace/snippets/elixir",s("22AtaWbi")),ace.config.setModuleUrl("ace/snippets/elm",s("qURPEew3")),ace.config.setModuleUrl("ace/snippets/erlang",s("Htk+FigO")),ace.config.setModuleUrl("ace/snippets/flix",s("+AKHB2NF")),ace.config.setModuleUrl("ace/snippets/forth",s("ClI35KjP")),ace.config.setModuleUrl("ace/snippets/fortran",s("I831XjCT")),ace.config.setModuleUrl("ace/snippets/fsharp",s("m/z0LwsV")),ace.config.setModuleUrl("ace/snippets/fsl",s("3lcU/Z5b")),ace.config.setModuleUrl("ace/snippets/ftl",s("wqC/KZut")),ace.config.setModuleUrl("ace/snippets/gcode",s("LDaJ9HVy")),ace.config.setModuleUrl("ace/snippets/gherkin",s("7DmFC2co")),ace.config.setModuleUrl("ace/snippets/gitignore",s("3l+1RVa8")),ace.config.setModuleUrl("ace/snippets/glsl",s("/+VYuwMr")),ace.config.setModuleUrl("ace/snippets/gobstones",s("uggWucqH")),ace.config.setModuleUrl("ace/snippets/golang",s("9Hvh6IkR")),ace.config.setModuleUrl("ace/snippets/graphqlschema",s("KeKEOp26")),ace.config.setModuleUrl("ace/snippets/groovy",s("ipFPgOjE")),ace.config.setModuleUrl("ace/snippets/haml",s("/tvpFP6K")),ace.config.setModuleUrl("ace/snippets/handlebars",s("iDkCzcRu")),ace.config.setModuleUrl("ace/snippets/haskell",s("96bhyy2v")),ace.config.setModuleUrl("ace/snippets/haskell_cabal",s("D9w5+Ipp")),ace.config.setModuleUrl("ace/snippets/haxe",s("az9h16It")),ace.config.setModuleUrl("ace/snippets/hjson",s("Xg2jGysL")),ace.config.setModuleUrl("ace/snippets/html",s("3aygTms3")),ace.config.setModuleUrl("ace/snippets/html_elixir",s("OSlsKDry")),ace.config.setModuleUrl("ace/snippets/html_ruby",s("Kue1cIAt")),ace.config.setModuleUrl("ace/snippets/ini",s("nvi5A4UP")),ace.config.setModuleUrl("ace/snippets/io",s("++uZwDHV")),ace.config.setModuleUrl("ace/snippets/ion",s("OFj1V6yW")),ace.config.setModuleUrl("ace/snippets/jack",s("Q556q2nj")),ace.config.setModuleUrl("ace/snippets/jade",s("jpFhRn/K")),ace.config.setModuleUrl("ace/snippets/java",s("6EgliD2x")),ace.config.setModuleUrl("ace/snippets/javascript",s("z1tPbJqk")),ace.config.setModuleUrl("ace/snippets/jexl",s("fOfn4SAq")),ace.config.setModuleUrl("ace/snippets/json",s("cgm9fZ4Z")),ace.config.setModuleUrl("ace/snippets/json5",s("2XNm83HG")),ace.config.setModuleUrl("ace/snippets/jsoniq",s("wwe7Ei82")),ace.config.setModuleUrl("ace/snippets/jsp",s("+3cSePVN")),ace.config.setModuleUrl("ace/snippets/jssm",s("/5sc5LQ/")),ace.config.setModuleUrl("ace/snippets/jsx",s("rmSOybUV")),ace.config.setModuleUrl("ace/snippets/julia",s("p6ZErS+M")),ace.config.setModuleUrl("ace/snippets/kotlin",s("1NaKqGmv")),ace.config.setModuleUrl("ace/snippets/latex",s("ATSx0vyg")),ace.config.setModuleUrl("ace/snippets/latte",s("EwS0GjOe")),ace.config.setModuleUrl("ace/snippets/less",s("mfCekQZK")),ace.config.setModuleUrl("ace/snippets/liquid",s("BDgUyHXA")),ace.config.setModuleUrl("ace/snippets/lisp",s("7x+Vk7mX")),ace.config.setModuleUrl("ace/snippets/livescript",s("C2DxEU3T")),ace.config.setModuleUrl("ace/snippets/logiql",s("JxYJ+kJ2")),ace.config.setModuleUrl("ace/snippets/logtalk",s("W2tFaWWM")),ace.config.setModuleUrl("ace/snippets/lsl",s("USNc1lOU")),ace.config.setModuleUrl("ace/snippets/lua",s("DBpawh0J")),ace.config.setModuleUrl("ace/snippets/luapage",s("HUrZ6Vfz")),ace.config.setModuleUrl("ace/snippets/lucene",s("lfcaaAum")),ace.config.setModuleUrl("ace/snippets/makefile",s("Vt82Sw00")),ace.config.setModuleUrl("ace/snippets/markdown",s("RNjP2RaD")),ace.config.setModuleUrl("ace/snippets/mask",s("qWJarf8E")),ace.config.setModuleUrl("ace/snippets/matlab",s("rGspZ/cs")),ace.config.setModuleUrl("ace/snippets/maze",s("26XcIolH")),ace.config.setModuleUrl("ace/snippets/mediawiki",s("zBuM/LwL")),ace.config.setModuleUrl("ace/snippets/mel",s("htdc/ZfD")),ace.config.setModuleUrl("ace/snippets/mips",s("yTBE18zO")),ace.config.setModuleUrl("ace/snippets/mixal",s("N++oaRnM")),ace.config.setModuleUrl("ace/snippets/mushcode",s("x3yLY1fn")),ace.config.setModuleUrl("ace/snippets/mysql",s("wEhzoJv1")),ace.config.setModuleUrl("ace/snippets/nasal",s("NRJDGPM4")),ace.config.setModuleUrl("ace/snippets/nginx",s("h8BNSlXW")),ace.config.setModuleUrl("ace/snippets/nim",s("vLmH2mZP")),ace.config.setModuleUrl("ace/snippets/nix",s("0y7KfLVv")),ace.config.setModuleUrl("ace/snippets/nsis",s("a5x23qP0")),ace.config.setModuleUrl("ace/snippets/nunjucks",s("FahyREvx")),ace.config.setModuleUrl("ace/snippets/objectivec",s("rN1ibGaQ")),ace.config.setModuleUrl("ace/snippets/ocaml",s("4A0YQKMO")),ace.config.setModuleUrl("ace/snippets/odin",s("LCefLA8c")),ace.config.setModuleUrl("ace/snippets/partiql",s("hb5QFz0Y")),ace.config.setModuleUrl("ace/snippets/pascal",s("cUWDMBw3")),ace.config.setModuleUrl("ace/snippets/perl",s("xMFgkhje")),ace.config.setModuleUrl("ace/snippets/pgsql",s("L6PI+Mm5")),ace.config.setModuleUrl("ace/snippets/php",s("DL7V56rh")),ace.config.setModuleUrl("ace/snippets/php_laravel_blade",s("0iARbyZB")),ace.config.setModuleUrl("ace/snippets/pig",s("oRytI9dk")),ace.config.setModuleUrl("ace/snippets/plain_text",s("9iKdx794")),ace.config.setModuleUrl("ace/snippets/plsql",s("PpoLh//W")),ace.config.setModuleUrl("ace/snippets/powershell",s("DuYlNLYV")),ace.config.setModuleUrl("ace/snippets/praat",s("cjsPdS2M")),ace.config.setModuleUrl("ace/snippets/prisma",s("+qFE+WCe")),ace.config.setModuleUrl("ace/snippets/prolog",s("GcJbFFTo")),ace.config.setModuleUrl("ace/snippets/properties",s("MlK9mbrq")),ace.config.setModuleUrl("ace/snippets/protobuf",s("Qkef5na7")),ace.config.setModuleUrl("ace/snippets/prql",s("34uFwEme")),ace.config.setModuleUrl("ace/snippets/puppet",s("zD4c1kQW")),ace.config.setModuleUrl("ace/snippets/python",s("omLBwaJy")),ace.config.setModuleUrl("ace/snippets/qml",s("kcaebZdw")),ace.config.setModuleUrl("ace/snippets/r",s("pBsbXtsO")),ace.config.setModuleUrl("ace/snippets/raku",s("LHMnpSV1")),ace.config.setModuleUrl("ace/snippets/razor",s("NKoLGt9T")),ace.config.setModuleUrl("ace/snippets/rdoc",s("iuGZVVoh")),ace.config.setModuleUrl("ace/snippets/red",s("ORg80VlQ")),ace.config.setModuleUrl("ace/snippets/redshift",s("lVsY5ZeT")),ace.config.setModuleUrl("ace/snippets/rhtml",s("HtaPVipB")),ace.config.setModuleUrl("ace/snippets/robot",s("n58JWpjf")),ace.config.setModuleUrl("ace/snippets/rst",s("EzVqlTg1")),ace.config.setModuleUrl("ace/snippets/ruby",s("MadJGpfj")),ace.config.setModuleUrl("ace/snippets/rust",s("Mwr+NElN")),ace.config.setModuleUrl("ace/snippets/sac",s("RXUjpE6h")),ace.config.setModuleUrl("ace/snippets/sass",s("FoeSoneJ")),ace.config.setModuleUrl("ace/snippets/scad",s("SBs1G66B")),ace.config.setModuleUrl("ace/snippets/scala",s("f6Heh59i")),ace.config.setModuleUrl("ace/snippets/scheme",s("EN487mEE")),ace.config.setModuleUrl("ace/snippets/scrypt",s("QKaXJArO")),ace.config.setModuleUrl("ace/snippets/scss",s("GqulFKAY")),ace.config.setModuleUrl("ace/snippets/sh",s("WsoryliH")),ace.config.setModuleUrl("ace/snippets/sjs",s("q1ieORLj")),ace.config.setModuleUrl("ace/snippets/slim",s("NrkbQkRf")),ace.config.setModuleUrl("ace/snippets/smarty",s("ZiEE8QSS")),ace.config.setModuleUrl("ace/snippets/smithy",s("9I46VFIs")),ace.config.setModuleUrl("ace/snippets/snippets",s("xPS261pY")),ace.config.setModuleUrl("ace/snippets/soy_template",s("4GlXurRv")),ace.config.setModuleUrl("ace/snippets/space",s("lHOJVCM1")),ace.config.setModuleUrl("ace/snippets/sparql",s("b/a/nMdg")),ace.config.setModuleUrl("ace/snippets/sql",s("CfvDPJNl")),ace.config.setModuleUrl("ace/snippets/sqlserver",s("CAV3BmUD")),ace.config.setModuleUrl("ace/snippets/stylus",s("hRQSEh0H")),ace.config.setModuleUrl("ace/snippets/svg",s("mHfIxAZ3")),ace.config.setModuleUrl("ace/snippets/swift",s("dmMAqt4A")),ace.config.setModuleUrl("ace/snippets/tcl",s("/Ur8doHf")),ace.config.setModuleUrl("ace/snippets/terraform",s("X6nXUfxm")),ace.config.setModuleUrl("ace/snippets/tex",s("OXFOFxv0")),ace.config.setModuleUrl("ace/snippets/text",s("TLoZpwCW")),ace.config.setModuleUrl("ace/snippets/textile",s("gv0ApP2p")),ace.config.setModuleUrl("ace/snippets/toml",s("OKSZ/QaQ")),ace.config.setModuleUrl("ace/snippets/tsx",s("uLfDbZqI")),ace.config.setModuleUrl("ace/snippets/turtle",s("S8h5mCt5")),ace.config.setModuleUrl("ace/snippets/twig",s("F/fWcFaE")),ace.config.setModuleUrl("ace/snippets/typescript",s("VM3ZlZcj")),ace.config.setModuleUrl("ace/snippets/vala",s("K3fci0JP")),ace.config.setModuleUrl("ace/snippets/vbscript",s("d72Ua0Uy")),ace.config.setModuleUrl("ace/snippets/velocity",s("awr1Em0A")),ace.config.setModuleUrl("ace/snippets/verilog",s("nzvD2jUB")),ace.config.setModuleUrl("ace/snippets/vhdl",s("1+B0wZP9")),ace.config.setModuleUrl("ace/snippets/visualforce",s("R6fCfMtF")),ace.config.setModuleUrl("ace/snippets/vue",s("YiqkwuiA")),ace.config.setModuleUrl("ace/snippets/wollok",s("cE8EDZqE")),ace.config.setModuleUrl("ace/snippets/xml",s("VJc5aOjJ")),ace.config.setModuleUrl("ace/snippets/xquery",s("r4yf2FS1")),ace.config.setModuleUrl("ace/snippets/yaml",s("M9wr4wKr")),ace.config.setModuleUrl("ace/snippets/zeek",s("c1/Hszs9")),ace.config.setModuleUrl("ace/snippets/zig",s("6RdvGwTJ"))},"y57+zKqG":h=>{var M=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},s=-1,L=1,T=0;M.Diff=function(I,m){return[I,m]},M.prototype.diff_main=function(I,m,y,p){typeof p>"u"&&(this.Diff_Timeout<=0?p=Number.MAX_VALUE:p=new Date().getTime()+this.Diff_Timeout*1e3);var l=p;if(I==null||m==null)throw new Error("Null input. (diff_main)");if(I==m)return I?[new M.Diff(T,I)]:[];typeof y>"u"&&(y=!0);var c=y,r=this.diff_commonPrefix(I,m),i=I.substring(0,r);I=I.substring(r),m=m.substring(r),r=this.diff_commonSuffix(I,m);var n=I.substring(I.length-r);I=I.substring(0,I.length-r),m=m.substring(0,m.length-r);var e=this.diff_compute_(I,m,c,l);return i&&e.unshift(new M.Diff(T,i)),n&&e.push(new M.Diff(T,n)),this.diff_cleanupMerge(e),e},M.prototype.diff_compute_=function(I,m,y,p){var l;if(!I)return[new M.Diff(L,m)];if(!m)return[new M.Diff(s,I)];var c=I.length>m.length?I:m,r=I.length>m.length?m:I,i=c.indexOf(r);if(i!=-1)return l=[new M.Diff(L,c.substring(0,i)),new M.Diff(T,r),new M.Diff(L,c.substring(i+r.length))],I.length>m.length&&(l[0][0]=l[2][0]=s),l;if(r.length==1)return[new M.Diff(s,I),new M.Diff(L,m)];var n=this.diff_halfMatch_(I,m);if(n){var e=n[0],t=n[1],o=n[2],a=n[3],u=n[4],d=this.diff_main(e,o,y,p),b=this.diff_main(t,a,y,p);return d.concat([new M.Diff(T,u)],b)}return y&&I.length>100&&m.length>100?this.diff_lineMode_(I,m,p):this.diff_bisect_(I,m,p)},M.prototype.diff_lineMode_=function(I,m,y){var p=this.diff_linesToChars_(I,m);I=p.chars1,m=p.chars2;var l=p.lineArray,c=this.diff_main(I,m,!1,y);this.diff_charsToLines_(c,l),this.diff_cleanupSemantic(c),c.push(new M.Diff(T,""));for(var r=0,i=0,n=0,e="",t="";r=1&&n>=1){c.splice(r-i-n,i+n),r=r-i-n;for(var o=this.diff_main(e,t,!1,y),a=o.length-1;a>=0;a--)c.splice(r,0,o[a]);r=r+o.length}n=0,i=0,e="",t="";break}r++}return c.pop(),c},M.prototype.diff_bisect_=function(I,m,y){for(var p=I.length,l=m.length,c=Math.ceil((p+l)/2),r=c,i=2*c,n=new Array(i),e=new Array(i),t=0;ty);C++){for(var k=-C+u;k<=C-d;k+=2){var f=r+k,x;k==-C||k!=C&&n[f-1]p)d+=2;else if(A>l)u+=2;else if(a){var R=r+o-k;if(R>=0&&R=$)return this.diff_bisectSplit_(I,m,x,A,y)}}}for(var S=-C+b;S<=C-v;S+=2){var R=r+S,$;S==-C||S!=C&&e[R-1]p)v+=2;else if(w>l)b+=2;else if(!a){var f=r+o-S;if(f>=0&&f=$)return this.diff_bisectSplit_(I,m,x,A,y)}}}}return[new M.Diff(s,I),new M.Diff(L,m)]},M.prototype.diff_bisectSplit_=function(I,m,y,p,l){var c=I.substring(0,y),r=m.substring(0,p),i=I.substring(y),n=m.substring(p),e=this.diff_main(c,r,!1,l),t=this.diff_main(i,n,!1,l);return e.concat(t)},M.prototype.diff_linesToChars_=function(I,m){var y=[],p={};y[0]="";function l(n){for(var e="",t=0,o=-1,a=y.length;op?I=I.substring(y-p):ym.length?I:m,p=I.length>m.length?m:I;if(y.length<4||p.length*2=d.length?[x,A,R,$,f]:null}var r=c(y,p,Math.ceil(y.length/4)),i=c(y,p,Math.ceil(y.length/2)),n;if(!r&&!i)return null;i?r?n=r[4].length>i[4].length?r:i:n=i:n=r;var e,t,o,a;I.length>m.length?(e=n[0],t=n[1],o=n[2],a=n[3]):(o=n[0],a=n[1],e=n[2],t=n[3]);var u=n[4];return[e,t,o,a,u]},M.prototype.diff_cleanupSemantic=function(I){for(var m=!1,y=[],p=0,l=null,c=0,r=0,i=0,n=0,e=0;c0?y[p-1]:-1,r=0,i=0,n=0,e=0,l=null,m=!0)),c++;for(m&&this.diff_cleanupMerge(I),this.diff_cleanupSemanticLossless(I),c=1;c=u?(a>=t.length/2||a>=o.length/2)&&(I.splice(c,0,new M.Diff(T,o.substring(0,a))),I[c-1][1]=t.substring(0,t.length-a),I[c+1][1]=o.substring(a),c++):(u>=t.length/2||u>=o.length/2)&&(I.splice(c,0,new M.Diff(T,t.substring(0,u))),I[c-1][0]=L,I[c-1][1]=o.substring(0,o.length-u),I[c+1][0]=s,I[c+1][1]=t.substring(u),c++),c++}c++}},M.prototype.diff_cleanupSemanticLossless=function(I){function m(u,d){if(!u||!d)return 6;var b=u.charAt(u.length-1),v=d.charAt(0),C=b.match(M.nonAlphaNumericRegex_),k=v.match(M.nonAlphaNumericRegex_),f=C&&b.match(M.whitespaceRegex_),x=k&&v.match(M.whitespaceRegex_),A=f&&b.match(M.linebreakRegex_),R=x&&v.match(M.linebreakRegex_),$=A&&u.match(M.blanklineEndRegex_),S=R&&d.match(M.blanklineStartRegex_);return $||S?5:A||R?4:C&&!f&&x?3:f||x?2:C||k?1:0}for(var y=1;y=o&&(o=a,n=p,e=l,t=c)}I[y-1][1]!=n&&(n?I[y-1][1]=n:(I.splice(y-1,1),y--),I[y][1]=e,t?I[y+1][1]=t:(I.splice(y+1,1),y--))}y++}},M.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,M.whitespaceRegex_=/\s/,M.linebreakRegex_=/[\r\n]/,M.blanklineEndRegex_=/\n\r?\n$/,M.blanklineStartRegex_=/^\r?\n\r?\n/,M.prototype.diff_cleanupEfficiency=function(I){for(var m=!1,y=[],p=0,l=null,c=0,r=!1,i=!1,n=!1,e=!1;c0?y[p-1]:-1,n=e=!1),m=!0)),c++;m&&this.diff_cleanupMerge(I)},M.prototype.diff_cleanupMerge=function(I){I.push(new M.Diff(T,""));for(var m=0,y=0,p=0,l="",c="",r;m1?(y!==0&&p!==0&&(r=this.diff_commonPrefix(c,l),r!==0&&(m-y-p>0&&I[m-y-p-1][0]==T?I[m-y-p-1][1]+=c.substring(0,r):(I.splice(0,0,new M.Diff(T,c.substring(0,r))),m++),c=c.substring(r),l=l.substring(r)),r=this.diff_commonSuffix(c,l),r!==0&&(I[m][1]=c.substring(c.length-r)+I[m][1],c=c.substring(0,c.length-r),l=l.substring(0,l.length-r))),m-=y+p,I.splice(m,y+p),l.length&&(I.splice(m,0,new M.Diff(s,l)),m++),c.length&&(I.splice(m,0,new M.Diff(L,c)),m++),m++):m!==0&&I[m-1][0]==T?(I[m-1][1]+=I[m][1],I.splice(m,1)):m++,p=0,y=0,l="",c="";break}I[I.length-1][1]===""&&I.pop();var i=!1;for(m=1;mm));r++)l=y,c=p;return I.length!=r&&I[r][0]===s?c:c+(m-l)},M.prototype.diff_prettyHtml=function(I){for(var m=[],y=/&/g,p=//g,c=/\n/g,r=0;r");switch(i){case L:m[r]=''+e+"";break;case s:m[r]=''+e+"";break;case T:m[r]=""+e+"";break}}return m.join("")},M.prototype.diff_text1=function(I){for(var m=[],y=0;ythis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var p=this.match_alphabet_(m),l=this;function c(x,A){var R=x/m.length,$=Math.abs(y-A);return l.Match_Distance?R+$/l.Match_Distance:$?1:R}var r=this.Match_Threshold,i=I.indexOf(m,y);i!=-1&&(r=Math.min(c(0,i),r),i=I.lastIndexOf(m,y+m.length),i!=-1&&(r=Math.min(c(0,i),r)));var n=1<=d;C--){var k=p[I.charAt(C-1)];if(u===0?v[C]=(v[C+1]<<1|1)&k:v[C]=(v[C+1]<<1|1)&k|((a[C+1]|a[C])<<1|1)|a[C+1],v[C]&n){var f=c(u,C-1);if(f<=r)if(r=f,i=C-1,i>y)d=Math.max(1,2*y-i);else break}}if(c(u+1,y)>r)break;a=v}return i},M.prototype.match_alphabet_=function(I){for(var m={},y=0;y"u")p=I,l=this.diff_main(p,m,!0),l.length>2&&(this.diff_cleanupSemantic(l),this.diff_cleanupEfficiency(l));else if(I&&typeof I=="object"&&typeof m>"u"&&typeof y>"u")l=I,p=this.diff_text1(l);else if(typeof I=="string"&&m&&typeof m=="object"&&typeof y>"u")p=I,l=m;else if(typeof I=="string"&&typeof m=="string"&&y&&typeof y=="object")p=I,l=y;else throw new Error("Unknown call format to patch_make.");if(l.length===0)return[];for(var c=[],r=new M.patch_obj,i=0,n=0,e=0,t=p,o=p,a=0;a=2*this.Patch_Margin&&i&&(this.patch_addContext_(r,t),c.push(r),r=new M.patch_obj,i=0,t=o,n=e);break}u!==L&&(n+=d.length),u!==s&&(e+=d.length)}return i&&(this.patch_addContext_(r,t),c.push(r)),c},M.prototype.patch_deepCopy=function(I){for(var m=[],y=0;ythis.Match_MaxBits?(n=this.match_main(m,i.substring(0,this.Match_MaxBits),r),n!=-1&&(e=this.match_main(m,i.substring(i.length-this.Match_MaxBits),r+i.length-this.Match_MaxBits),(e==-1||n>=e)&&(n=-1))):n=this.match_main(m,i,r),n==-1)l[c]=!1,p-=I[c].length2-I[c].length1;else{l[c]=!0,p=n-r;var t;if(e==-1?t=m.substring(n,n+i.length):t=m.substring(n,e+this.Match_MaxBits),i==t)m=m.substring(0,n)+this.diff_text2(I[c].diffs)+m.substring(n+i.length);else{var o=this.diff_main(i,t,!1);if(i.length>this.Match_MaxBits&&this.diff_levenshtein(o)/i.length>this.Patch_DeleteThreshold)l[c]=!1;else{this.diff_cleanupSemanticLossless(o);for(var a=0,u,d=0;dc[0][1].length){var r=m-c[0][1].length;c[0][1]=y.substring(c[0][1].length)+c[0][1],l.start1-=r,l.start2-=r,l.length1+=r,l.length2+=r}if(l=I[I.length-1],c=l.diffs,c.length==0||c[c.length-1][0]!=T)c.push(new M.Diff(T,y)),l.length1+=m,l.length2+=m;else if(m>c[c.length-1][1].length){var r=m-c[c.length-1][1].length;c[c.length-1][1]+=y.substring(0,r),l.length1+=r,l.length2+=r}return y},M.prototype.patch_splitMax=function(I){for(var m=this.Match_MaxBits,y=0;y2*m?(i.length1+=t.length,l+=t.length,n=!1,i.diffs.push(new M.Diff(e,t)),p.diffs.shift()):(t=t.substring(0,m-i.length1-this.Patch_Margin),i.length1+=t.length,l+=t.length,e===T?(i.length2+=t.length,c+=t.length):n=!1,i.diffs.push(new M.Diff(e,t)),t==p.diffs[0][1]?p.diffs.shift():p.diffs[0][1]=p.diffs[0][1].substring(t.length))}r=this.diff_text2(i.diffs),r=r.substring(r.length-this.Patch_Margin);var o=this.diff_text1(p.diffs).substring(0,this.Patch_Margin);o!==""&&(i.length1+=o.length,i.length2+=o.length,i.diffs.length!==0&&i.diffs[i.diffs.length-1][0]===T?i.diffs[i.diffs.length-1][1]+=o:i.diffs.push(new M.Diff(T,o))),n||I.splice(++y,0,i)}}},M.prototype.patch_toText=function(I){for(var m=[],y=0;y{h.exports=s.p+"852f0ecd7b17e3bfd700a821ff438f7e.js"},"B2w+iJaB":(h,M,s)=>{h.exports=s.p+"7d64980faff5b041a461fd0ba3e2f3f5.js"},NUHcuyfs:(h,M,s)=>{h.exports=s.p+"bb1365c0983ce5ad50060b24788b9630.js"},wR0O36G8:(h,M,s)=>{h.exports=s.p+"8b8336037f074d9dcbd20eab535b803f.js"},mHIQJwee:(h,M,s)=>{h.exports=s.p+"c8acc93023012737a3bf8fb767b66838.js"},IiPcyGu1:(h,M,s)=>{h.exports=s.p+"c530988d2b1966fd10a4d99fa3877e1b.js"},PN3wrz79:(h,M,s)=>{h.exports=s.p+"2fe2904fc024afaf81732563cb83e547.js"},fiOGeUQO:(h,M,s)=>{h.exports=s.p+"c19292ad0187d75dd9580319cbfd5688.js"},JvCZCupa:(h,M,s)=>{h.exports=s.p+"f666b5647087bcfdf6623f8b14d56657.js"},cljE5Yi3:(h,M,s)=>{h.exports=s.p+"0cd2349b7f4b6f7013e195c8145d2917.js"},EVIIvNP1:(h,M,s)=>{h.exports=s.p+"fec23c6964d6cf25681d1f3e24b076a4.js"},"oIN3Y9Y+":(h,M,s)=>{h.exports=s.p+"18a469a2f11af88696d750921e25192a.js"},"q+fHRtOx":(h,M,s)=>{h.exports=s.p+"214df38fb17fa6274c150507734f4d59.js"},QypEdsZr:(h,M,s)=>{h.exports=s.p+"b17c9c857280ad767bbcaf6728eb4fb1.js"},"N8a/s2JS":(h,M,s)=>{h.exports=s.p+"07567125b93045706d81f17f7d04e262.js"},nurdQOvO:(h,M,s)=>{h.exports=s.p+"f5655f072ce70050c78fab024d5028a8.js"},rwFhBhnm:(h,M,s)=>{h.exports=s.p+"7c9558a304e8b3331e33a67900720578.js"},q91va7hF:(h,M,s)=>{h.exports=s.p+"f15362a7feef894b2e7f706252e6c510.js"},"5gaeSbfJ":(h,M,s)=>{h.exports=s.p+"2f55cddc8eb85b63ee5b4ce0e5488230.js"},rhwaacp8:(h,M,s)=>{h.exports=s.p+"27846e85433e54a3ec0ab34d62233dc5.js"},RSbUIhpb:(h,M,s)=>{h.exports=s.p+"d7340300249ab98bd9b3f538a767106e.js"},LMJK8O2y:(h,M,s)=>{h.exports=s.p+"d0415105402964718010284fcfa8b2ea.js"},dgljeUWr:(h,M,s)=>{h.exports=s.p+"70efbabef77fb217f904f41dbf7fe8bf.js"},WgBn9RKV:(h,M,s)=>{h.exports=s.p+"e80d5ee40455d0675f8f2a3688071adf.js"},AxyJJlvS:(h,M,s)=>{h.exports=s.p+"2f25a4dc442bc9aebc58cae30c50c3e2.js"},RCyuP6sI:(h,M,s)=>{h.exports=s.p+"c2fa476995041f9982b89a1c483da2b9.js"},"0EoOxFjP":(h,M,s)=>{h.exports=s.p+"3b02cca9e95276a74f3ed2bbc7a64ce6.js"},"JI23s+Ew":(h,M,s)=>{h.exports=s.p+"d09463c099fb2c44719380623a5c68fb.js"},NFKPcVdi:(h,M,s)=>{h.exports=s.p+"88730abfeb4a23e692ac7933882f12eb.js"},f9Q7KjhE:(h,M,s)=>{h.exports=s.p+"34f99cce131bd7aa65e7a924e2456006.js"},XhiZ6TMh:(h,M,s)=>{h.exports=s.p+"bf37de323316c6ae5745fc11fd576b1c.js"},"Mb+SRHbE":(h,M,s)=>{h.exports=s.p+"875ae58e8015a6d08dbc9d0c04e24638.js"},rgV7qPh1:(h,M,s)=>{h.exports=s.p+"210aec2722e6416a0349a987260e14a3.js"},"7ywyViGB":(h,M,s)=>{h.exports=s.p+"d4f1a314cb3668f8e17f24bccf0229b6.js"},aRDpmiz3:(h,M,s)=>{h.exports=s.p+"39fea85ed7dd99d7c6c9e59b7040523f.js"},"3z+10Qww":(h,M,s)=>{h.exports=s.p+"bb1de0986c4fb3ee31c5a413b8f97c94.js"},zDUw687c:(h,M,s)=>{h.exports=s.p+"1383530217ac0068c844902d24e18e08.js"},ZA5bJL04:(h,M,s)=>{h.exports=s.p+"5f5a93ab1249b7cbdb13d9466febd3a0.js"},UJ5VeWm1:(h,M,s)=>{h.exports=s.p+"0b06cbc7edf78b6f2810187262e7630b.js"},AjKEyyw0:(h,M,s)=>{h.exports=s.p+"6130486ae80b103700a2e1eec0bc5cea.js"},"wj/YoLii":(h,M,s)=>{h.exports=s.p+"e00b330413304d60c26e164da7f9fe0c.js"},RoY3kljj:(h,M,s)=>{h.exports=s.p+"9b9578869f378f8e2afbf85a76c0ac72.js"},"UMLb/j0b":(h,M,s)=>{h.exports=s.p+"d4ad4ca9643d85d3990bfefe29cb3bb0.js"},bbSMiwHX:(h,M,s)=>{h.exports=s.p+"fa0c561bb37040fc8145e5c70ea64912.js"},"6gW+mNVp":(h,M,s)=>{h.exports=s.p+"4b692785a8a6340a89e6067274a7583c.js"},CGG2B4Nh:(h,M,s)=>{h.exports=s.p+"5cab33610b8d9c1aee4db4672811cb5f.js"},dcyoWKsu:(h,M,s)=>{h.exports=s.p+"817edb0c6f9d66f9c0027762edb1d797.js"},B4nyWlQE:(h,M,s)=>{h.exports=s.p+"b676b876040015b30352b3cda5e243b7.js"},"39kRP7Gz":(h,M,s)=>{h.exports=s.p+"f15cbf0d23cba4a313f3f2acfef5370c.js"},"9l0XtChj":(h,M,s)=>{h.exports=s.p+"1195816afa4a5e8183857be16a04ae6f.js"},cEnPwFgi:(h,M,s)=>{h.exports=s.p+"5348f3cfbe5a63954e7d984f197bbddb.js"},TsGWTwOG:(h,M,s)=>{h.exports=s.p+"b953ce2f19e7291598cd9c05128133c1.js"},WhVMIyF3:(h,M,s)=>{h.exports=s.p+"105b17c6442efb97c18ca2aef3976b06.js"},"rwT/30E5":(h,M,s)=>{h.exports=s.p+"5106411f7468a5ee5b1ee77aed12c0c7.js"},l65YTBe6:(h,M,s)=>{h.exports=s.p+"c5647f3b9e799d1b9818e80796f8a574.js"},"69el5XK7":(h,M,s)=>{h.exports=s.p+"1e5fe0a75db78dcabbd4f27c2b084e4b.js"},ItHIJ0eS:(h,M,s)=>{h.exports=s.p+"c428d0ff296b8b683347a18896d72015.js"},ZEwA1jXv:(h,M,s)=>{h.exports=s.p+"b992b348ffb6453e4a02a60e71c5304e.js"},c3lQ44gr:(h,M,s)=>{h.exports=s.p+"9b80d1a12acd18c90e41ca92073122a7.js"},Zy5PLfu2:(h,M,s)=>{h.exports=s.p+"1ed6368e8e20628ad5229329eec28baa.js"},tB02ZMrV:(h,M,s)=>{h.exports=s.p+"1dddd8903e00ce9149ded23fb87f6f34.js"},"4zZeasVt":(h,M,s)=>{h.exports=s.p+"880ae94877022f7fb0458ced0825eb4c.js"},"UtAR/Nnz":(h,M,s)=>{h.exports=s.p+"6d0c0aa17d36cb16bafc76d7376b97f7.js"},pp9hmRmR:(h,M,s)=>{h.exports=s.p+"972ea4b6ab9d3baeab6d00057cd5f9d3.js"},TtEonQ3c:(h,M,s)=>{h.exports=s.p+"43139bfbcbce9de597b4985dc1e6a03b.js"},FvzVfDpQ:(h,M,s)=>{h.exports=s.p+"eb08efe1d361a9c5e37e1d4c8100212e.js"},ZcBizuvF:(h,M,s)=>{h.exports=s.p+"3bf96f8eb1859e2724a4b769af3b5f1e.js"},"FFRdY6+R":(h,M,s)=>{h.exports=s.p+"9fa80a5bc14fe8644697fe0dd7b99431.js"},s2J4aKZl:(h,M,s)=>{h.exports=s.p+"47e4cb297b2c3841ef86ce04a7f5584e.js"},"qk+K9Bzw":(h,M,s)=>{h.exports=s.p+"ed88b2c21452a7eaea143e54e27a0879.js"},Y06WGWj3:(h,M,s)=>{h.exports=s.p+"e7f37e0f2b6113039c45a326264c4d36.js"},"fdM/w1OY":(h,M,s)=>{h.exports=s.p+"78632dc7e1875ec8c39416f645e53733.js"},gW8wQhfm:(h,M,s)=>{h.exports=s.p+"7259bceba25ac1476fc775122a63d249.js"},"4DcnL6V3":(h,M,s)=>{h.exports=s.p+"e0fa6a4fe8bff90d50ce812e666957ca.js"},"Q/osO92v":(h,M,s)=>{h.exports=s.p+"262f489eb59166e1215642b60446d123.js"},Z4oDt6yI:(h,M,s)=>{h.exports=s.p+"0416c21cfe088739209926632a360e3b.js"},wRYuiDPf:(h,M,s)=>{h.exports=s.p+"10c464f3f882bfeeefbc0934c2ee9fbe.js"},w9bn3WmC:(h,M,s)=>{h.exports=s.p+"cb9910e014b468ada91393696fcad206.js"},"CvT/dj26":(h,M,s)=>{h.exports=s.p+"135747176621bcc94e9edd0323a81d3c.js"},"f+ZChAbB":(h,M,s)=>{h.exports=s.p+"111d9fdb9864abba36298d1a0807fe6d.js"},aSNr9qDC:(h,M,s)=>{h.exports=s.p+"d9b2daf38414fcbaf89924ad3e10e587.js"},"G+KEVL1w":(h,M,s)=>{h.exports=s.p+"afba1f28f2baa29eae717d6cb03f5464.js"},m2hyIYI9:(h,M,s)=>{h.exports=s.p+"981bd23edacd811f9e4a583d89b544ee.js"},oIWYaTpo:(h,M,s)=>{h.exports=s.p+"c8230f96396f0378d032dce2be3dce66.js"},XZoIdHs0:(h,M,s)=>{h.exports=s.p+"a2b29b879b9e8606085c0d3776f789ca.js"},ROcMGP6M:(h,M,s)=>{h.exports=s.p+"479ec45a8edfe482fae4298d1e9862d2.js"},BS7OfPZr:(h,M,s)=>{h.exports=s.p+"b24bb117549d04501b98ffb66b427e0f.js"},gTxcyPlx:(h,M,s)=>{h.exports=s.p+"363d3bac8dcd9a83332c3758185ce080.js"},"5wuiXJtp":(h,M,s)=>{h.exports=s.p+"3a1227a65a1fc39ca476c295d1a260a4.js"},"8sUpSktc":(h,M,s)=>{h.exports=s.p+"b275e591896df64fa3202d90ae70c583.js"},E2WBvs6p:(h,M,s)=>{h.exports=s.p+"7bc18fc7a7d1323c178aa1846d79fb3c.js"},eWkduJug:(h,M,s)=>{h.exports=s.p+"5df362c9904925cdf574d9506e4be76d.js"},"lpf+oj3p":(h,M,s)=>{h.exports=s.p+"1cc6fc3772824e2f87f10a9c3fad2dae.js"},"q+kd1DVF":(h,M,s)=>{h.exports=s.p+"4bf6763c5956e3bccbf0373068810ded.js"},VoHmqoAv:(h,M,s)=>{h.exports=s.p+"83bd353f98aa901411c82b8af58d1296.js"},"69/8WEWc":(h,M,s)=>{h.exports=s.p+"3834f2acef5a5debb2a21ad919272307.js"},sVY7IdRA:(h,M,s)=>{h.exports=s.p+"aa0417796df2b0398a45c00f93f37ea4.js"},GdNCG2Ac:(h,M,s)=>{h.exports=s.p+"cfaaa83ec3973688a7946b95b597c228.js"},Qsb02umC:(h,M,s)=>{h.exports=s.p+"4d156ee0485ab4b40b090a3cd7b995a9.js"},MbwhKzfE:(h,M,s)=>{h.exports=s.p+"3a6ca6958d003ae67bb7fefc8713ee93.js"},"82G3Eh7o":(h,M,s)=>{h.exports=s.p+"0078b630bed2938ce03f618c2bcd1363.js"},BWVg9xUM:(h,M,s)=>{h.exports=s.p+"b10accbff47791a59b8494225af07025.js"},"5jJQfH1G":(h,M,s)=>{h.exports=s.p+"f4480bd3d93cb0949fc4f3af8eff6531.js"},SKNPrvj3:(h,M,s)=>{h.exports=s.p+"ef6cac9d9a3156e1c19b46cd181863ed.js"},"W+rRzPQ3":(h,M,s)=>{h.exports=s.p+"58e7f91772635a5c59bacc975735da6c.js"},slnLcnPv:(h,M,s)=>{h.exports=s.p+"2aa392a501973ebfcea38239a45ed8e7.js"},"S/S+XPbm":(h,M,s)=>{h.exports=s.p+"8c7616f0adba6a5ac0d2f06ba4ebd696.js"},"4Ofed9nk":(h,M,s)=>{h.exports=s.p+"cb5746e29527a2fdb9f857a121e086ed.js"},"2YivyU24":(h,M,s)=>{h.exports=s.p+"d8f7ecdd496f3caf14f5afbedfff1937.js"},QT2u3ERV:(h,M,s)=>{h.exports=s.p+"70289d3b9b2b851df3286e20e40410a6.js"},wOeE8qtP:(h,M,s)=>{h.exports=s.p+"a4e021a4b5d5d65cc87fee17c1886c3f.js"},Ko8nu1IK:(h,M,s)=>{h.exports=s.p+"b03bc4e99280d8b4dfd1c6cddedfbd76.js"},"4lxwVSe7":(h,M,s)=>{h.exports=s.p+"349237ad9565dc823ce7bcb7527ba7ee.js"},wuE3nUfE:(h,M,s)=>{h.exports=s.p+"622e27eec5f26148f51ccc30315a3deb.js"},KilHDkrb:(h,M,s)=>{h.exports=s.p+"a223748cd69094dd12b486353b22f479.js"},dSNjqeYx:(h,M,s)=>{h.exports=s.p+"3645af9e7e929d3abe3255c739e20e84.js"},"9s0zGrJC":(h,M,s)=>{h.exports=s.p+"a9f61cc92a7407c8ca0a5843b29d7a57.js"},lKxe9i7C:(h,M,s)=>{h.exports=s.p+"827c1cbf746eacfc23ed2037e4d6359d.js"},RhDfJIvJ:(h,M,s)=>{h.exports=s.p+"44599d9b6202ebebfcdd073edf3562e3.js"},MetX2Z6a:(h,M,s)=>{h.exports=s.p+"2ad349208b3a727abb3c9f943865a27c.js"},WIs0ZCRn:(h,M,s)=>{h.exports=s.p+"7222998c10fabd9c824cf8cf540b3b74.js"},lPOXAEYo:(h,M,s)=>{h.exports=s.p+"dc83a73f0eb89665520bbb6672dfa3cb.js"},Lj7y0Iiv:(h,M,s)=>{h.exports=s.p+"c1a1f4ba29aa2d9a0b1a1abe5cfee0c6.js"},m9gbmgpX:(h,M,s)=>{h.exports=s.p+"ac54fd77986affc0a122d325788b34d3.js"},"y+2Cak43":(h,M,s)=>{h.exports=s.p+"f799992a362826cff3c7d1ce9dc9940c.js"},"IPW/J58z":(h,M,s)=>{h.exports=s.p+"de73b4d2a9ed4bcb851f9141e303636d.js"},"8UDn0fo/":(h,M,s)=>{h.exports=s.p+"950a205e91da7e78226dd785fd6d34db.js"},MaW1rtmX:(h,M,s)=>{h.exports=s.p+"669c462287be8fa855e0ac003c145b55.js"},"6DPeZKoT":(h,M,s)=>{h.exports=s.p+"42c556183279bbdaaed3a8a9f9108f58.js"},WJdO7a6x:(h,M,s)=>{h.exports=s.p+"84270e22d4439d15b0d8f392d1338d8e.js"},"Ryv5Hs/0":(h,M,s)=>{h.exports=s.p+"52fd09d1713345d9ee64dc7daea9fd6f.js"},b3jIjWsp:(h,M,s)=>{h.exports=s.p+"d1db2c4677dd2ee7a0c690c58798a013.js"},g8PbnK2I:(h,M,s)=>{h.exports=s.p+"6a851f05f1f4a974e02fe23eac2bad4e.js"},"7xtVVdF8":(h,M,s)=>{h.exports=s.p+"0e67325b9a04863301e36c0c37947069.js"},Sz82cEdf:(h,M,s)=>{h.exports=s.p+"4f683c6881e9f8740f5516a85b9eb9da.js"},kRVSeld2:(h,M,s)=>{h.exports=s.p+"cb0d121a88477f943960f5ad60602c22.js"},YcAgQIDi:(h,M,s)=>{h.exports=s.p+"7aa17a5a81c83c0f455941b3b286d5da.js"},a2tQPWwo:(h,M,s)=>{h.exports=s.p+"318dcae1cdcd4733986a93e7a5fab7b8.js"},WzplMpNk:(h,M,s)=>{h.exports=s.p+"4d6d9020e7e5c8d8dee7a5e374355f05.js"},"cEkhK+AE":(h,M,s)=>{h.exports=s.p+"4430c55f023b72fb5e389cee9351b38c.js"},YmftNx5B:(h,M,s)=>{h.exports=s.p+"88da0e09d486e197aaca5bc3d6350998.js"},yRL3jNDK:(h,M,s)=>{h.exports=s.p+"a496f663a8cf2dc047e12d8a80d76510.js"},t8wWwN0E:(h,M,s)=>{h.exports=s.p+"0fd64c8920c10008be86572dd6830dc1.js"},"Jo2d/QyO":(h,M,s)=>{h.exports=s.p+"275d8f4e0550edce2f3b85b3eaa94e54.js"},"O+MHPI4B":(h,M,s)=>{h.exports=s.p+"65e7cf62ca9df32c18b630f31025a401.js"},fjrdy3Ar:(h,M,s)=>{h.exports=s.p+"f2fb7fcc9bdd849d687150c07a81ffe4.js"},EmkkcrGA:(h,M,s)=>{h.exports=s.p+"e9382a0e67b22188c75e9418de1c9295.js"},UN69KoiI:(h,M,s)=>{h.exports=s.p+"a0e32ba94aa4384823d768802b9486e1.js"},XDChci5t:(h,M,s)=>{h.exports=s.p+"472ba8f81bf8cac86027cb1be4e3b9cd.js"},gzGSqjXe:(h,M,s)=>{h.exports=s.p+"b714a3647ca66ab7685eb0437c9e3a8d.js"},"3LFiePQv":(h,M,s)=>{h.exports=s.p+"757ef1b870d065a77ce3c182a03d93ad.js"},OffvJTpV:(h,M,s)=>{h.exports=s.p+"c93947dfac92c92c3999d1d51fc5b516.js"},YrxQQ9ic:(h,M,s)=>{h.exports=s.p+"764b59bdd3a89e14f88c9d63020551a1.js"},P5Du0AOV:(h,M,s)=>{h.exports=s.p+"843c762c24f7fac628d8c62519a7b308.js"},"BHNJPC/F":(h,M,s)=>{h.exports=s.p+"fb5080213f065f82f0391c551c864434.js"},gQFTgoKh:(h,M,s)=>{h.exports=s.p+"a3dfa410d90c00078f4b015410048f34.js"},cIA33Uux:(h,M,s)=>{h.exports=s.p+"7f9a9efc9ab681fcbf6400e2adb368a9.js"},nvxbpDjX:(h,M,s)=>{h.exports=s.p+"23602ad4c88f0f19e7a0a12454ebf556.js"},Cv9D60U9:(h,M,s)=>{h.exports=s.p+"7f79d4bde67c8013b187889b63e25bce.js"},z787h9SV:(h,M,s)=>{h.exports=s.p+"0144de97a3c256f81447e7e7135780e5.js"},JIzEQQOP:(h,M,s)=>{h.exports=s.p+"c6938ce24c731f9ee703747909cd2aad.js"},ihr5rwEL:(h,M,s)=>{h.exports=s.p+"79455ab9a6cd507f5314141cc965093a.js"},eB2Xyp6Q:(h,M,s)=>{h.exports=s.p+"269732f4c5f6e82ea3246548a9631b47.js"},cZexJJJu:(h,M,s)=>{h.exports=s.p+"03a5f5b2b97a8fc289399d92fba810d0.js"},D7IIxazi:(h,M,s)=>{h.exports=s.p+"31c610efb1d25afc90853b52ba4cb089.js"},"37Ne+x1b":(h,M,s)=>{h.exports=s.p+"16c2e1b50af4ba05edaa03c8c9e9d18c.js"},V3IcoNW6:(h,M,s)=>{h.exports=s.p+"a6eb87af5cd7ae7e4fcba8ec606ec4ba.js"},"+GyvnhH0":(h,M,s)=>{h.exports=s.p+"7648d83718f74149cb2db078b19fb7db.js"},wnJQvwxJ:(h,M,s)=>{h.exports=s.p+"96b8d8b5efd11741639659c63a485c27.js"},"5M3QnVF8":(h,M,s)=>{h.exports=s.p+"5cd4e1282f4409600b942819b7aa4f21.js"},uMJskZWQ:(h,M,s)=>{h.exports=s.p+"4d0849c6c9a868c09130600ac68319b3.js"},jGoRnk1m:(h,M,s)=>{h.exports=s.p+"0dd9fc97c3dee2275f41cd20ffaea059.js"},R3UaiYdG:(h,M,s)=>{h.exports=s.p+"11e3a2a8fb5bcb9d19298a80cafd3f5a.js"},"+21qgRUW":(h,M,s)=>{h.exports=s.p+"0973bb38b2e3efd2a879fd8e81d50fce.js"},"rui/SuoT":(h,M,s)=>{h.exports=s.p+"492e618a031cfde9c83d699c430de2ac.js"},"ev/jN719":(h,M,s)=>{h.exports=s.p+"f18c12f0446bad25ec3732c621d60f88.js"},"0cT35Irr":(h,M,s)=>{h.exports=s.p+"a34efdb6282815cdc27d2f83352b59e0.js"},is3xhf2Z:(h,M,s)=>{h.exports=s.p+"c2f4581864c135dff9056745035d3914.js"},uJRJGR5x:(h,M,s)=>{h.exports=s.p+"ea6edcde22c9fdbb9f7b8d9cf72a062b.js"},Ej9Mbt41:(h,M,s)=>{h.exports=s.p+"cc0de4981277622a9017f137023a6dd5.js"},"GS2u+uCB":(h,M,s)=>{h.exports=s.p+"60190285b6c2243e14184b9e57d48dbb.js"},"P6XL5j+J":(h,M,s)=>{h.exports=s.p+"8646c11c7b2b46a2b2becab0d9e549c7.js"},rb1WeCd3:(h,M,s)=>{h.exports=s.p+"84effdea6b72577c780f6621246d2e82.js"},"mj/X/QpT":(h,M,s)=>{h.exports=s.p+"5a741aab715866cb4d9a55e89dfc8420.js"},nPSTcxkM:(h,M,s)=>{h.exports=s.p+"7f45be8b3fab8d742afc26fc48a23d2e.js"},rMv34TVG:(h,M,s)=>{h.exports=s.p+"d1a1ee70e5eed28571ae9c619f33de7c.js"},"9frdRC+d":(h,M,s)=>{h.exports=s.p+"414cd2c842fa42bf71e155f870619e00.js"},Dgd6TotM:(h,M,s)=>{h.exports=s.p+"5d312b184c1f4565f51247d3c6dbba90.js"},"Ee/adM0h":(h,M,s)=>{h.exports=s.p+"2b5729e073775b8fb827fc8e4725e48a.js"},"/K+DecFy":(h,M,s)=>{h.exports=s.p+"d869a443b727ea4b7cef2de0ff2a6ed8.js"},mHl7nGoL:(h,M,s)=>{h.exports=s.p+"2b1b8f8b9e8f1e423a69afd121fd7da9.js"},"D/iew0TZ":(h,M,s)=>{h.exports=s.p+"069a0d6b093e73e820f6a60a91fa614b.js"},"2fr/hfKJ":(h,M,s)=>{h.exports=s.p+"367def81f25c0a08527f9a4e86e70c56.js"},"/HAVoDco":(h,M,s)=>{h.exports=s.p+"b2d62f22463367ca31dfdbc615637c32.js"},"uuGmp+oa":(h,M,s)=>{h.exports=s.p+"a678d4dedcc646810a379211797d5294.js"},wT9XyTxq:(h,M,s)=>{h.exports=s.p+"03ab996935e5c1a84ac09966ede74fb8.js"},"4spcbJDg":(h,M,s)=>{h.exports=s.p+"7ec97a8161bf26e434d3891f64adb15b.js"},"81Ub9/Bh":(h,M,s)=>{h.exports=s.p+"60ede8d7ffdf4c05f2ce51b6d8d2be68.js"},kOgJL9KN:(h,M,s)=>{h.exports=s.p+"1c24a68cb472146022d0806ea2505cfb.js"},FIgdNmq8:(h,M,s)=>{h.exports=s.p+"24f97ddd76026815674affbc50ad6169.js"},ZA3nFAaf:(h,M,s)=>{h.exports=s.p+"25718a469574ade47e23567d8c543169.js"},"qGefSyI+":(h,M,s)=>{h.exports=s.p+"b934b22e8f8a8b1ba81dbc2cf058b0cd.js"},fqiXtc88:(h,M,s)=>{h.exports=s.p+"9fd3f255cfd09016ec7f4896bc51864c.js"},"/THIiewk":(h,M,s)=>{h.exports=s.p+"2c3ad366cda02f17520d3369cae64c2c.js"},RwWxixsF:(h,M,s)=>{h.exports=s.p+"84abf03cc94d264bb38020b4ac5f76e1.js"},"7ZI/55zZ":(h,M,s)=>{h.exports=s.p+"34b8d1c8a81822685f809c49097b81fc.js"},xwm6i9FM:(h,M,s)=>{h.exports=s.p+"0f2d1162158745e1093693a3a999932a.js"},XjZTha4a:(h,M,s)=>{h.exports=s.p+"57e14488b13e50ebdb5fdfc7880da683.js"},lVzFo0Y4:(h,M,s)=>{h.exports=s.p+"ab237eed5fd16ab99c06f0d28d465edb.js"},UrD4N1zb:(h,M,s)=>{h.exports=s.p+"742afd6665dee8dafd43661093bdda9d.js"},CGGEaVCf:(h,M,s)=>{h.exports=s.p+"90812d89181b698975cbb081adcbbcb0.js"},"v+Lyqq2Z":(h,M,s)=>{h.exports=s.p+"228ca80abf1ae030cbfe7faaec61913f.js"},XY3gE0Rk:(h,M,s)=>{h.exports=s.p+"ab720dd0a0fd070ad82c052263f748e2.js"},a1M7xZi2:(h,M,s)=>{h.exports=s.p+"647830a286b6328796e6bb021f50ba21.js"},xiFOb0Ie:(h,M,s)=>{h.exports=s.p+"99add2656ccb006ff11de385c4219f41.js"},IpYM2bHn:(h,M,s)=>{h.exports=s.p+"e13fc7d468ab9b5797f2a44412ca2f00.js"},PrNkpak9:(h,M,s)=>{h.exports=s.p+"03452373324e7ceaf58e3830eafd1a28.js"},DVHugB0f:(h,M,s)=>{h.exports=s.p+"2302902e10c4afab56e1b864c96070cb.js"},B4poQTOL:(h,M,s)=>{h.exports=s.p+"e37ac12436bcd0536ec98ae8470a1228.js"},mkFUdlQx:(h,M,s)=>{h.exports=s.p+"4c1bdecbedd36a5765de184ac056822a.js"},CUPortIW:(h,M,s)=>{h.exports=s.p+"b02d982ccb1011197a5a24800b178a0a.js"},cBRChpL7:(h,M,s)=>{h.exports=s.p+"879d6bc1ca1dde95a9a98dc7a2ab0d06.js"},"5O/jQAPE":(h,M,s)=>{h.exports=s.p+"b8b6bd460e7da0ba8f3b2218327966ee.js"},JRv3Q5h0:(h,M,s)=>{h.exports=s.p+"2f055ac4066041b9008dd6aebf9df34b.js"},T8wnTgVd:(h,M,s)=>{h.exports=s.p+"d542dda7308361c34af2afb9b70d755a.js"},"D4m/mj+u":(h,M,s)=>{h.exports=s.p+"a4bedde07e392f8ebf64341b61f75df2.js"},PfEcizAn:(h,M,s)=>{h.exports=s.p+"77aaca51c1c32acaf32656d45f4dc017.js"},XJIOnCMI:(h,M,s)=>{h.exports=s.p+"725da29f1643c2263a437c08a1454aea.js"},"bzJRp/fj":(h,M,s)=>{h.exports=s.p+"efc14cdf19554635e477781704353ec2.js"},WGudCwHG:(h,M,s)=>{h.exports=s.p+"eaa55a522fb2cb2f0287711f42344984.js"},Sgt41ziz:(h,M,s)=>{h.exports=s.p+"b808fb222140a85b23ebbe0fffa906d9.js"},gcbApXfm:(h,M,s)=>{h.exports=s.p+"38105097fc2497d628f398be7db5f6e8.js"},"5Cd9/Clf":(h,M,s)=>{h.exports=s.p+"e874d975c9128dc6eb9a513d088bed9f.js"},CAQ2Dxzi:(h,M,s)=>{h.exports=s.p+"b3f1431b9e6d9e6632a93c2cd89f945b.js"},xkdg8c4m:(h,M,s)=>{h.exports=s.p+"e7e1a807af3160b342e0a3550cf8f7c5.js"},Pan7UXi6:(h,M,s)=>{h.exports=s.p+"48e9351c5623d4da657ce7d5d0267ea6.js"},"5rFUMTo0":(h,M,s)=>{h.exports=s.p+"9827973b533de05b338533a0211d97d9.js"},"5Y51+Vh1":(h,M,s)=>{h.exports=s.p+"bb5bab7a675544fe31ddb7f4a77dffb9.js"},xOgV6CkG:(h,M,s)=>{h.exports=s.p+"a2746fc96d535b19c120d4b87dc86ef1.js"},CjBhGB0o:(h,M,s)=>{h.exports=s.p+"23bb1a9f279e7a732bfd405350aab114.js"},VXvdTg0X:(h,M,s)=>{h.exports=s.p+"b1e349371cb9c226905c846706ad8b93.js"},W4XoRKK4:(h,M,s)=>{h.exports=s.p+"1c57b3481f295105588972ffa1305521.js"},Ken8ylxk:(h,M,s)=>{h.exports=s.p+"87bce6f50196688852142c679227b1b9.js"},ewgFOqjw:(h,M,s)=>{h.exports=s.p+"6c67587c2093ac3a19da9f2196e040b7.js"},"8/kwZneT":(h,M,s)=>{h.exports=s.p+"5a496ae20cc576bef1d35972548207cf.js"},LzhmpIfy:(h,M,s)=>{h.exports=s.p+"5e55b301888460bd06c8e26d1011e01a.js"},KS7ndwix:(h,M,s)=>{h.exports=s.p+"003671ee2a876e7614cd94390e2255b3.js"},"737WX/BK":(h,M,s)=>{h.exports=s.p+"3ea020c57c2bbf457a8497df313b2e5c.js"},pjcg92Zz:(h,M,s)=>{h.exports=s.p+"64d6924350bd7706850cdc0dcc76ccf6.js"},"7lnPtNAK":(h,M,s)=>{h.exports=s.p+"b1f3f77a9279cdb38846ebe13c3438bc.js"},lF6nRVUD:(h,M,s)=>{h.exports=s.p+"d5999827bd3af6b813a871de344b109a.js"},Q52XOfEM:(h,M,s)=>{h.exports=s.p+"58598705e7012f4ca1eb1dd21d3c59a5.js"},"ehVK/+AJ":(h,M,s)=>{h.exports=s.p+"6a1c347ab79a93f3ac01b08c8ccfc827.js"},vnmFDQ0H:(h,M,s)=>{h.exports=s.p+"70074e0c785c9a808dea76c7c7d17af3.js"},vhsfk6tw:(h,M,s)=>{h.exports=s.p+"1875ecdf54e78b5f07ff1bd944cf794b.js"},"+5E7vsAR":(h,M,s)=>{h.exports=s.p+"8eede17ae9e4d25c3c17b8a8a7fc3c3d.js"},iYxCCA4j:(h,M,s)=>{h.exports=s.p+"eff4371180dfac54de25ed3a0105d82f.js"},QHbcYkzC:(h,M,s)=>{h.exports=s.p+"06d958315fc6cdbb28576b03e43203aa.js"},G1zdDMr3:(h,M,s)=>{h.exports=s.p+"c51840077c684be0e7e13339f85cd4a9.js"},"1vi6P6ZX":(h,M,s)=>{h.exports=s.p+"c3f345c994392d97785925e790513a9f.js"},"0uau5JfL":(h,M,s)=>{h.exports=s.p+"1495a3d68b15b8622c53f6688b64809f.js"},Mi1cIhKo:(h,M,s)=>{h.exports=s.p+"7e4099fc2d04c7c1cf96892b962ba4ec.js"},zq0C7U0x:(h,M,s)=>{h.exports=s.p+"6c0a75dc5671c3f237a79f6e45b9891c.js"},"22AtaWbi":(h,M,s)=>{h.exports=s.p+"aa5623ec68d23fedb9c9c115c7d99063.js"},qURPEew3:(h,M,s)=>{h.exports=s.p+"4ef80ee74467e0297eec3cc03092da01.js"},"Htk+FigO":(h,M,s)=>{h.exports=s.p+"f6d7091e70dee6c74956acfef2464d08.js"},"+AKHB2NF":(h,M,s)=>{h.exports=s.p+"3f896944a97f002f2146e028ff2eac63.js"},ClI35KjP:(h,M,s)=>{h.exports=s.p+"4bf3bc1fbdd26ac698fef1bdf26e3ff4.js"},I831XjCT:(h,M,s)=>{h.exports=s.p+"70286c33cab463fd576766adecd2d5d9.js"},"m/z0LwsV":(h,M,s)=>{h.exports=s.p+"1533058f0ce13acdaa8d5bdc7d147bef.js"},"3lcU/Z5b":(h,M,s)=>{h.exports=s.p+"724a16861717b5b4f786d24b56b62614.js"},"wqC/KZut":(h,M,s)=>{h.exports=s.p+"03aae8272914723a7bf85b984385032c.js"},LDaJ9HVy:(h,M,s)=>{h.exports=s.p+"029ed9161a8d24a9c2ba97124020989d.js"},"7DmFC2co":(h,M,s)=>{h.exports=s.p+"cb652f200fc3dd740b2e7f678a9272ea.js"},"3l+1RVa8":(h,M,s)=>{h.exports=s.p+"d43ad5f9bad9a042b49b2592c7639c28.js"},"/+VYuwMr":(h,M,s)=>{h.exports=s.p+"d78d3b050ea95b068380d975fd413fd7.js"},uggWucqH:(h,M,s)=>{h.exports=s.p+"4d0ebf4c528cee9b0cdd3e076e06570b.js"},"9Hvh6IkR":(h,M,s)=>{h.exports=s.p+"28785bea435918d49b290d27bf660baa.js"},KeKEOp26:(h,M,s)=>{h.exports=s.p+"38b1d18836e38ee7b4deaeba0c35f7b8.js"},ipFPgOjE:(h,M,s)=>{h.exports=s.p+"2dd82c65030101b60dffccedd8741c6e.js"},"/tvpFP6K":(h,M,s)=>{h.exports=s.p+"47e5776dff3b80ed69ab5947dba33c76.js"},iDkCzcRu:(h,M,s)=>{h.exports=s.p+"e61779df91186b23e7adf2d1968b2708.js"},"96bhyy2v":(h,M,s)=>{h.exports=s.p+"839e3594798c1942d3c92f9acfaa5f0b.js"},"D9w5+Ipp":(h,M,s)=>{h.exports=s.p+"3567d1ea443427e944a6f189a0898819.js"},az9h16It:(h,M,s)=>{h.exports=s.p+"c80e89199aef31e48addb2b35ea96365.js"},Xg2jGysL:(h,M,s)=>{h.exports=s.p+"5b6a626249d0bc43e412fffa6a9ee177.js"},"3aygTms3":(h,M,s)=>{h.exports=s.p+"fd9645aaf1f70c8abc562be41bee25fc.js"},OSlsKDry:(h,M,s)=>{h.exports=s.p+"57f4109bd1f06be4dc2bcb8ff7eaf1e5.js"},Kue1cIAt:(h,M,s)=>{h.exports=s.p+"cd9a17f94a922c7c88000b1b3cdd67df.js"},nvi5A4UP:(h,M,s)=>{h.exports=s.p+"755114145e5b97e5571a160a39e716db.js"},"++uZwDHV":(h,M,s)=>{h.exports=s.p+"5e8a4f4320a07ae4bb1d8a5cd621d955.js"},OFj1V6yW:(h,M,s)=>{h.exports=s.p+"e9c8f7e13e00284ce126890bf7ac46fd.js"},Q556q2nj:(h,M,s)=>{h.exports=s.p+"e0adad8a8579bf99f3e22f7c214a5c64.js"},"jpFhRn/K":(h,M,s)=>{h.exports=s.p+"3b190e5159c72fb7e27271956772bcba.js"},"6EgliD2x":(h,M,s)=>{h.exports=s.p+"62a96977e725e8bc809dc80afe0fedf1.js"},z1tPbJqk:(h,M,s)=>{h.exports=s.p+"8a31266178067a316bb2503147cdb5cb.js"},fOfn4SAq:(h,M,s)=>{h.exports=s.p+"a9cb92db2399f7ac97ad55fe79fe5c20.js"},cgm9fZ4Z:(h,M,s)=>{h.exports=s.p+"6d38cef4a006e6cfe54a6117aba7b600.js"},"2XNm83HG":(h,M,s)=>{h.exports=s.p+"8d9bb1799d9b98db107e84f10132e17f.js"},wwe7Ei82:(h,M,s)=>{h.exports=s.p+"432aff60ba31a74d2120031fdc894775.js"},"+3cSePVN":(h,M,s)=>{h.exports=s.p+"e2fe8f0d4fd950b20b30fabaea96b3f8.js"},"/5sc5LQ/":(h,M,s)=>{h.exports=s.p+"b881dca9d9a80f61d87374b4bd5a2dd5.js"},rmSOybUV:(h,M,s)=>{h.exports=s.p+"ffd3b83e8b5878f4785591ff54b1dfff.js"},"p6ZErS+M":(h,M,s)=>{h.exports=s.p+"88e2feda80ac8cfb28f1dc0ec833b40d.js"},"1NaKqGmv":(h,M,s)=>{h.exports=s.p+"64a5f4d62507d032038dcd76d15188e1.js"},ATSx0vyg:(h,M,s)=>{h.exports=s.p+"aa0eee504d52a12d3a30bbd523afcc34.js"},EwS0GjOe:(h,M,s)=>{h.exports=s.p+"cf26dd07f19bcb5b7efbf057a6cfeb8f.js"},mfCekQZK:(h,M,s)=>{h.exports=s.p+"cbdbd623038183a8c068dd24ecd90682.js"},BDgUyHXA:(h,M,s)=>{h.exports=s.p+"0972f21af3e75388ef55435c0b3b831d.js"},"7x+Vk7mX":(h,M,s)=>{h.exports=s.p+"4d8cb7033879cb7fcc7a43798e2bde22.js"},C2DxEU3T:(h,M,s)=>{h.exports=s.p+"58aab872dbdb5e1607076e1935130e03.js"},"JxYJ+kJ2":(h,M,s)=>{h.exports=s.p+"ecdb4966f685f3e44b1f28fae46827a3.js"},W2tFaWWM:(h,M,s)=>{h.exports=s.p+"5d3314103b00c8ea165c6f9f6757f794.js"},USNc1lOU:(h,M,s)=>{h.exports=s.p+"9b5a6ec07bb0a2daade10189696fc399.js"},DBpawh0J:(h,M,s)=>{h.exports=s.p+"e0c565aadda4787ba4ef4456c0a7ee29.js"},HUrZ6Vfz:(h,M,s)=>{h.exports=s.p+"d5f79987405c2169278f8de37bcc9d05.js"},lfcaaAum:(h,M,s)=>{h.exports=s.p+"de0fd4fd7c2d7a4887cbc99eed91f797.js"},Vt82Sw00:(h,M,s)=>{h.exports=s.p+"17632e1e19e438f431784dfd77e01773.js"},RNjP2RaD:(h,M,s)=>{h.exports=s.p+"663ffb67b9683a2126410325d1a5a152.js"},qWJarf8E:(h,M,s)=>{h.exports=s.p+"e2b38a8393be2cf23f3894ace3efb1c3.js"},"rGspZ/cs":(h,M,s)=>{h.exports=s.p+"27730a0bdc6f430cc85049a46a73a029.js"},"26XcIolH":(h,M,s)=>{h.exports=s.p+"0f147528a6f36ca40c8b3ec796429f58.js"},"zBuM/LwL":(h,M,s)=>{h.exports=s.p+"15f3800d33b854ba476c9daf1b9e0326.js"},"htdc/ZfD":(h,M,s)=>{h.exports=s.p+"211511e7b374f57ad31acaf49dbdccb1.js"},yTBE18zO:(h,M,s)=>{h.exports=s.p+"54560f13b36626237959e93b7771a484.js"},"N++oaRnM":(h,M,s)=>{h.exports=s.p+"582e24f5ba929e358fadfc7be4c18025.js"},x3yLY1fn:(h,M,s)=>{h.exports=s.p+"37ee3b5201ae2e2dc5dc8b1b20ad900e.js"},wEhzoJv1:(h,M,s)=>{h.exports=s.p+"cf3f6b1c74c72cb5d02870022dbc9f94.js"},NRJDGPM4:(h,M,s)=>{h.exports=s.p+"5ce650c06c385f9d15621e54c60457c0.js"},h8BNSlXW:(h,M,s)=>{h.exports=s.p+"9696a4229fb787eeb25b26f1274b75ee.js"},vLmH2mZP:(h,M,s)=>{h.exports=s.p+"cf188b3f83735389d47bb12fc9f7069a.js"},"0y7KfLVv":(h,M,s)=>{h.exports=s.p+"ba6b8b3e06cd9d0aee9c69278ee84647.js"},a5x23qP0:(h,M,s)=>{h.exports=s.p+"130340e2c62b9e858f186dab5f491e55.js"},FahyREvx:(h,M,s)=>{h.exports=s.p+"6faa9e5f2a0122d2333fa450337a09b0.js"},rN1ibGaQ:(h,M,s)=>{h.exports=s.p+"2fc0239242a898632ca8aa451cb930c2.js"},"4A0YQKMO":(h,M,s)=>{h.exports=s.p+"92f4aab5c66f6269c7054c8fbcb3de13.js"},LCefLA8c:(h,M,s)=>{h.exports=s.p+"a569591af2f834ec4b58f43ab7742186.js"},hb5QFz0Y:(h,M,s)=>{h.exports=s.p+"63596b4896732fb322ab0496b4be1e74.js"},cUWDMBw3:(h,M,s)=>{h.exports=s.p+"5352ecd8e5f1a2637b48e18cc406edb1.js"},xMFgkhje:(h,M,s)=>{h.exports=s.p+"07397bd479cbc34bc04576b4f15bdf18.js"},"L6PI+Mm5":(h,M,s)=>{h.exports=s.p+"5fedbf948ed123687f77167fac1faf8b.js"},DL7V56rh:(h,M,s)=>{h.exports=s.p+"a709bba98acec5da3ea6258e245514cb.js"},"0iARbyZB":(h,M,s)=>{h.exports=s.p+"25eda4bb98e40a82cfd5b4bf9fbc06ec.js"},oRytI9dk:(h,M,s)=>{h.exports=s.p+"3b6e7dc98c47eeafd851ca5072db4be6.js"},"9iKdx794":(h,M,s)=>{h.exports=s.p+"cbdc4ca43a8c940a6c3f59a8b6f17df5.js"},"PpoLh//W":(h,M,s)=>{h.exports=s.p+"432a5982ba3ddf958381d780e1e9a8e2.js"},DuYlNLYV:(h,M,s)=>{h.exports=s.p+"3c5b59a666c5d39d9ba9cc054d36a410.js"},cjsPdS2M:(h,M,s)=>{h.exports=s.p+"13eda3507db9cbfb400f46b9b3ff6553.js"},"+qFE+WCe":(h,M,s)=>{h.exports=s.p+"894edcaf39c3c95818e3949d737ed459.js"},GcJbFFTo:(h,M,s)=>{h.exports=s.p+"0a1d9862d917663419ac2dd2e8193267.js"},MlK9mbrq:(h,M,s)=>{h.exports=s.p+"51f903c5ce5284a63196247cffb5ca40.js"},Qkef5na7:(h,M,s)=>{h.exports=s.p+"e4917fa7632b01d28e99304d32d989f7.js"},"34uFwEme":(h,M,s)=>{h.exports=s.p+"2e841e8b77c2a2c00fd71940632bc1e1.js"},zD4c1kQW:(h,M,s)=>{h.exports=s.p+"805cb6232d7a9fa46025d48a43622ecf.js"},omLBwaJy:(h,M,s)=>{h.exports=s.p+"283970c76db99e2d0d90f0e7c45494f9.js"},kcaebZdw:(h,M,s)=>{h.exports=s.p+"10132993df2cf9c9423b53a8a44379ab.js"},pBsbXtsO:(h,M,s)=>{h.exports=s.p+"1736cea368ae85240f34289307fdf67f.js"},LHMnpSV1:(h,M,s)=>{h.exports=s.p+"cf9c7cbfc2b609b9ae59daeab82719c4.js"},NKoLGt9T:(h,M,s)=>{h.exports=s.p+"119f6c45ea400e3c27e1ce172e4c881d.js"},iuGZVVoh:(h,M,s)=>{h.exports=s.p+"d5a6140d581e5c4eb200259ce372f40b.js"},ORg80VlQ:(h,M,s)=>{h.exports=s.p+"a533e643002830be2da76c9527265860.js"},lVsY5ZeT:(h,M,s)=>{h.exports=s.p+"83387cb17a7680f59240e7b399e3ac2b.js"},HtaPVipB:(h,M,s)=>{h.exports=s.p+"37172facd8a534a38f378ca2a9c7c11b.js"},n58JWpjf:(h,M,s)=>{h.exports=s.p+"02174460fe8ff6a6bc19db86543b9600.js"},EzVqlTg1:(h,M,s)=>{h.exports=s.p+"c64d6e1e72024bb5d3d3e9bfc19d183d.js"},MadJGpfj:(h,M,s)=>{h.exports=s.p+"54a10f3bddad1e6da452fee7124fe846.js"},"Mwr+NElN":(h,M,s)=>{h.exports=s.p+"24a3ff38afde257888d755ece9bfd704.js"},RXUjpE6h:(h,M,s)=>{h.exports=s.p+"078dd0bd08c93b1512e3d1b777591b21.js"},FoeSoneJ:(h,M,s)=>{h.exports=s.p+"170487867de05784a96608617bdd544d.js"},SBs1G66B:(h,M,s)=>{h.exports=s.p+"5861dfe4f2c7823623e82d0619c5bf06.js"},f6Heh59i:(h,M,s)=>{h.exports=s.p+"2272c6632c52c3e402ab27b8045ab8f1.js"},EN487mEE:(h,M,s)=>{h.exports=s.p+"03980cb12dacd26148c22bb61fce440f.js"},QKaXJArO:(h,M,s)=>{h.exports=s.p+"58c35e5c73bbc1664bbd67c570342aa0.js"},GqulFKAY:(h,M,s)=>{h.exports=s.p+"fd5bc50b18c9f46380cbe5ec1ac2127b.js"},WsoryliH:(h,M,s)=>{h.exports=s.p+"714763ddd9bd466c95df7b042900bb87.js"},q1ieORLj:(h,M,s)=>{h.exports=s.p+"4e389cce6fb8f78845fab249bce43c0b.js"},NrkbQkRf:(h,M,s)=>{h.exports=s.p+"17dc98279d24649d3ca77cbce8c44e83.js"},ZiEE8QSS:(h,M,s)=>{h.exports=s.p+"a1c8660c5bcc6b6a43a7fb3c351174d9.js"},"9I46VFIs":(h,M,s)=>{h.exports=s.p+"a4d638b976f02f35740be031f996e088.js"},xPS261pY:(h,M,s)=>{h.exports=s.p+"b306285dfd802d091e788de0f96b8cb2.js"},"4GlXurRv":(h,M,s)=>{h.exports=s.p+"ddbc961769cd2ff4d4a7a136168ebf4c.js"},lHOJVCM1:(h,M,s)=>{h.exports=s.p+"3b544bb2c5a4e7b225a4b50235a0fd6d.js"},"b/a/nMdg":(h,M,s)=>{h.exports=s.p+"1034e3807d1bcf55cb564491950237ab.js"},CfvDPJNl:(h,M,s)=>{h.exports=s.p+"d83cda12aee0c87c8b381a1234bf7798.js"},CAV3BmUD:(h,M,s)=>{h.exports=s.p+"9ed8c3550b5c3c1e878d0692f0338cb7.js"},hRQSEh0H:(h,M,s)=>{h.exports=s.p+"5f3ce6efab3c679ec1ad25ab0b3f6b2f.js"},mHfIxAZ3:(h,M,s)=>{h.exports=s.p+"db8ca5cfb6fe4aaef215f116f6991784.js"},dmMAqt4A:(h,M,s)=>{h.exports=s.p+"53e3600928916423671f3388e2d67844.js"},"/Ur8doHf":(h,M,s)=>{h.exports=s.p+"dc8240db39815020378555a4d80571c3.js"},X6nXUfxm:(h,M,s)=>{h.exports=s.p+"1b15b9f88acaf59b96e59c6b5f32da12.js"},OXFOFxv0:(h,M,s)=>{h.exports=s.p+"894052ca1f8f35cc1cf7cfb29ef75027.js"},TLoZpwCW:(h,M,s)=>{h.exports=s.p+"191feb6103c36b202bc01ba262916cdf.js"},gv0ApP2p:(h,M,s)=>{h.exports=s.p+"33b4e371d4983ab56f4db08627119f0b.js"},"OKSZ/QaQ":(h,M,s)=>{h.exports=s.p+"b1170472ae4b50e3b0070eb991e502fe.js"},uLfDbZqI:(h,M,s)=>{h.exports=s.p+"9807cf1e443a7440371904b6525f37eb.js"},S8h5mCt5:(h,M,s)=>{h.exports=s.p+"9b1fd9cf4206cc32e84150c49707d811.js"},"F/fWcFaE":(h,M,s)=>{h.exports=s.p+"d7d616d4aa8fd3f51d681242853dcde9.js"},VM3ZlZcj:(h,M,s)=>{h.exports=s.p+"e6ad50b520736b595970c9e07029c3f1.js"},K3fci0JP:(h,M,s)=>{h.exports=s.p+"49582665262ff6179b9f3a98adf7ed5c.js"},d72Ua0Uy:(h,M,s)=>{h.exports=s.p+"7080d2a1db1608264a6d9d9fbaf2cce8.js"},awr1Em0A:(h,M,s)=>{h.exports=s.p+"ef87482c92662e8b69a21f47588474ea.js"},nzvD2jUB:(h,M,s)=>{h.exports=s.p+"f326f2f263b1498fedbe1d07d7254d10.js"},"1+B0wZP9":(h,M,s)=>{h.exports=s.p+"962969a46fefcace3305abd4d6e14a2e.js"},R6fCfMtF:(h,M,s)=>{h.exports=s.p+"b33ef9b4202539d3690251cb8213a034.js"},YiqkwuiA:(h,M,s)=>{h.exports=s.p+"d85853bab3b213652aee023adecfb690.js"},cE8EDZqE:(h,M,s)=>{h.exports=s.p+"80ddbf4f0fdde4ddba57130e61043017.js"},VJc5aOjJ:(h,M,s)=>{h.exports=s.p+"8ed58ed9c7e1cb1ae1f2830d29011ffb.js"},r4yf2FS1:(h,M,s)=>{h.exports=s.p+"c4e58637b4d14c303e29d3ce4b4a210f.js"},M9wr4wKr:(h,M,s)=>{h.exports=s.p+"59cc05504a1c823b6d4796bf6b430822.js"},"c1/Hszs9":(h,M,s)=>{h.exports=s.p+"b20cd9acf45420fcacfd923754185663.js"},"6RdvGwTJ":(h,M,s)=>{h.exports=s.p+"a41ce517e26d17d855b7224af9ee433b.js"},l1lYLnFG:(h,M,s)=>{h.exports=s.p+"cb4bb785934eeca9b408e892ae6b73b7.js"},MVLfkgRO:(h,M,s)=>{h.exports=s.p+"8ed5aba33ead1f94e97d5c35a5e93434.js"},JdNh8gb3:(h,M,s)=>{h.exports=s.p+"019e34e85139cfc611bf23efa096c980.js"},v3cIezEl:(h,M,s)=>{h.exports=s.p+"0bd45b2d490c48c31619072a4fb0eaea.js"},"vL/GGtXq":(h,M,s)=>{h.exports=s.p+"6b4b87a54f673cfbb82be45329441bef.js"},"6W0Oybpv":(h,M,s)=>{h.exports=s.p+"328cbf598e9711b0a87c19437b02f80d.js"},QfUg6oxV:(h,M,s)=>{h.exports=s.p+"a667e02c62163f630a27d42e7c1d1e8d.js"},"Beb+QtM5":(h,M,s)=>{h.exports=s.p+"f4e0c50b2b6894059b3064423409c5ac.js"},"1YT6s9sZ":(h,M,s)=>{h.exports=s.p+"be75b76e74c78535966ec8aaa7d46bec.js"},hDf0rkEI:(h,M,s)=>{h.exports=s.p+"9920e03a65566d728a73c7bf18bc5741.js"},IcdJB6RT:(h,M,s)=>{h.exports=s.p+"ee5d36473f84db2af26d82efd69a38ec.js"},"1CcjkTW2":(h,M,s)=>{h.exports=s.p+"d4f5981ee5a73d8a6e19112f2ffcb72c.js"},qKdFSJM1:(h,M,s)=>{h.exports=s.p+"cf909ad6e321c2f98750f5c3581556f8.js"},WcID6jHe:(h,M,s)=>{h.exports=s.p+"a52f9ac0e3d582ed7e488aa1dfc33eda.js"},UrmhI2yl:(h,M,s)=>{h.exports=s.p+"1ff1389501159e4846a5133e3b8992d8.js"},adfKiEqr:(h,M,s)=>{h.exports=s.p+"6250c7594cd66ca91184b5beca293e06.js"},"6JUCKrPp":(h,M,s)=>{h.exports=s.p+"0fa30731c46fe8b6a54f9752ad0ed7e0.js"},bna0Sfbu:(h,M,s)=>{h.exports=s.p+"ecff3d4bbf59ef41230960af46098e74.js"},ZNs4vcdh:(h,M,s)=>{h.exports=s.p+"983fccb9f00748c487e889f6c83aa367.js"},g00obu5c:(h,M,s)=>{h.exports=s.p+"8a5127228870aafabfff6111d29313d6.js"},"948B1sdC":(h,M,s)=>{h.exports=s.p+"91beb08737a1bbf071f351fb0acdbf3c.js"},"6f6ywK4X":(h,M,s)=>{h.exports=s.p+"bd309bb3f23f2bfbcf914f2e71474ab5.js"},X5lyhFZq:(h,M,s)=>{h.exports=s.p+"9b4de1346c73ba258736f1a3f00fdc14.js"},"E+BVsWKj":(h,M,s)=>{h.exports=s.p+"fe9499c0a5444f7f42843fa00fb355cb.js"},NEJeIpSa:(h,M,s)=>{h.exports=s.p+"3eefbe1c009cfd730b2ca6f834367c45.js"},ZhCPcINa:(h,M,s)=>{h.exports=s.p+"4bee3a46b8378a7b4ef84492f08abd22.js"},"n/YvNmNM":(h,M,s)=>{h.exports=s.p+"ab0128ab12bcb8729032421b40f5f8dd.js"},"5hr//AML":(h,M,s)=>{h.exports=s.p+"5cebfc2c3495b6294dcb2a99e5174872.js"},WLtUVsLt:(h,M,s)=>{h.exports=s.p+"6490772da5aecc6cb9e4c625abc74a96.js"},kllLTRgG:(h,M,s)=>{h.exports=s.p+"3ac8c7749734990e2d9f81eeca219886.js"},tvqcW6d4:(h,M,s)=>{h.exports=s.p+"cc65d108f0e7cfb200de1d0bcf115005.js"},vdQ1l0lh:(h,M,s)=>{h.exports=s.p+"2d2a75e3d01a74b93d07db04df8abe5e.js"},CTxztnCu:(h,M,s)=>{h.exports=s.p+"90f3dc3c18d447104b63c156cb7fddb5.js"},DKVKp6eM:(h,M,s)=>{h.exports=s.p+"fd3859a700b456e06c65c0cf6b0af05c.js"},"2DTlQWKj":(h,M,s)=>{h.exports=s.p+"81318a3530fb35d5178eb7a4a13a606f.js"},bKl877OY:(h,M,s)=>{h.exports=s.p+"eb0b62e1895dcf7491419aa728f00c38.js"},yrMd9gTa:(h,M,s)=>{h.exports=s.p+"79241f85b016a7332f85bb66667459c2.js"},cYmr97PJ:(h,M,s)=>{h.exports=s.p+"8f9ce72eeabbf31f2d51f4bcfc66d3b0.js"},kDa7ZriR:(h,M,s)=>{h.exports=s.p+"da740c1b29a85b999a6874b59a1baeef.js"},JE6AtuIa:(h,M,s)=>{h.exports=s.p+"2a8394955e047270a2a965ec67843989.js"},kHeRLRtP:(h,M,s)=>{h.exports=s.p+"6bed1b724e74e6bc80688f42bc824d70.js"},JKOkCiEx:(h,M,s)=>{h.exports=s.p+"1ce14f2cad9f3c122cb5ccfcd485ffb4.js"},aEfBTURH:(h,M,s)=>{h.exports=s.p+"42e0ea6351d45d342caab13cb12f9ea4.js"},"oa8N11m+":(h,M,s)=>{h.exports=s.p+"ee41eb1fd1d1c87c45e818b5a8a65cf8.js"},TJwQQT13:(h,M,s)=>{h.exports=s.p+"dc932cde2fbfca8e2901fb693968b131.js"},fCARvF4c:(h,M,s)=>{h.exports=s.p+"1d3796180f854b5d8ab435ab0a1c2c11.js"},SklWCMVA:(h,M,s)=>{h.exports=s.p+"678f5201c1917429f334b88078ca4174.js"},ceoYkTou:(h,M,s)=>{h.exports=s.p+"6e40b726d91e9138d9eaef6fd012c740.js"},"51Xq34bu":(h,M,s)=>{h.exports=s.p+"9ebb9ac2c9c875649c72722bc585d445.js"},"fKv/I13j":(h,M,s)=>{h.exports=s.p+"fb393a7455b47f3d4fc30cf219d5145c.js"},kxLoK35b:(h,M,s)=>{h.exports=s.p+"af6fdb556ee3f9065578bb01f81f6216.js"},Z2cYhbxg:(h,M,s)=>{h.exports=s.p+"6c6d192b6860b4508a14c2d04769a35e.js"},ziqewSXn:(h,M,s)=>{h.exports=s.p+"7b839a5c1f6d89538928c8a29003bbda.js"},hFHpaEZ9:(h,M,s)=>{h.exports=s.p+"af1635b600efd13f6059eb6ac9deae12.js"},"8z5K6nuC":(h,M,s)=>{h.exports=s.p+"c3832579be376308fa819b04e7b0c66f.js"},DW5CTjRI:(h,M,s)=>{h.exports=s.p+"44efcea2f84e80cc4092a89796afe886.js"},"5KKxcDH1":(h,M,s)=>{h.exports=s.p+"5398e3b596fa15df4d84b2aa0464e5c4.js"},"GsNPzpn+":(h,M,s)=>{h.exports=s.p+"fd98f0e48b18e1de428edd5174539c2a.js"},"3CftRekL":(h,M,s)=>{var L="Expected a function",T="__lodash_hash_undefined__",I=1/0,m="[object Function]",y="[object GeneratorFunction]",p="[object Symbol]",l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/,r=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/[\\^$.*+?()[\]{}|]/g,e=/\\(\\)?/g,t=/^\[object .+?Constructor\]$/,o=typeof s.g=="object"&&s.g&&s.g.Object===Object&&s.g,a=typeof self=="object"&&self&&self.Object===Object&&self,u=o||a||Function("return this")();function d(V,Y){return V==null?void 0:V[Y]}function b(V){var Y=!1;if(V!=null&&typeof V.toString!="function")try{Y=!!(V+"")}catch{}return Y}var v=Array.prototype,C=Function.prototype,k=Object.prototype,f=u["__core-js_shared__"],x=function(){var V=/[^.]+$/.exec(f&&f.keys&&f.keys.IE_PROTO||"");return V?"Symbol(src)_1."+V:""}(),A=C.toString,R=k.hasOwnProperty,$=k.toString,S=RegExp("^"+A.call(R).replace(n,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),w=u.Symbol,g=v.splice,E=Ie(u,"Map"),_=Ie(Object,"create"),O=w?w.prototype:void 0,F=O?O.toString:void 0;function D(V){var Y=-1,oe=V?V.length:0;for(this.clear();++Y-1}function ee(V,Y){var oe=this.__data__,ve=pe(oe,V);return ve<0?oe.push([V,Y]):oe[ve][1]=Y,this}B.prototype.clear=X,B.prototype.delete=Z,B.prototype.get=q,B.prototype.has=Q,B.prototype.set=ee;function te(V){var Y=-1,oe=V?V.length:0;for(this.clear();++Y{h=s.nmd(h);var L=200,T="__lodash_hash_undefined__",I=1,m=2,y=9007199254740991,p="[object Arguments]",l="[object Array]",c="[object AsyncFunction]",r="[object Boolean]",i="[object Date]",n="[object Error]",e="[object Function]",t="[object GeneratorFunction]",o="[object Map]",a="[object Number]",u="[object Null]",d="[object Object]",b="[object Promise]",v="[object Proxy]",C="[object RegExp]",k="[object Set]",f="[object String]",x="[object Symbol]",A="[object Undefined]",R="[object WeakMap]",$="[object ArrayBuffer]",S="[object DataView]",w="[object Float32Array]",g="[object Float64Array]",E="[object Int8Array]",_="[object Int16Array]",O="[object Int32Array]",F="[object Uint8Array]",D="[object Uint8ClampedArray]",W="[object Uint16Array]",j="[object Uint32Array]",H=/[\\^$.*+?()[\]{}|]/g,P=/^\[object .+?Constructor\]$/,z=/^(?:0|[1-9]\d*)$/,B={};B[w]=B[g]=B[E]=B[_]=B[O]=B[F]=B[D]=B[W]=B[j]=!0,B[p]=B[l]=B[$]=B[r]=B[S]=B[i]=B[n]=B[e]=B[o]=B[a]=B[d]=B[C]=B[k]=B[f]=B[R]=!1;var X=typeof s.g=="object"&&s.g&&s.g.Object===Object&&s.g,Z=typeof self=="object"&&self&&self.Object===Object&&self,q=X||Z||Function("return this")(),Q=M&&!M.nodeType&&M,ee=Q&&!0&&h&&!h.nodeType&&h,te=ee&&ee.exports===Q,J=te&&X.process,le=function(){try{return J&&J.binding&&J.binding("util")}catch{}}(),he=le&&le.isTypedArray;function fe(U,N){for(var K=-1,ie=U==null?0:U.length,xe=0,ce=[];++K-1}function jt(U,N){var K=this.__data__,ie=rt(K,U);return ie<0?(++this.size,K.push([U,N])):K[ie][1]=N,this}Ne.prototype.clear=Ot,Ne.prototype.delete=Ft,Ne.prototype.get=Dt,Ne.prototype.has=Ut,Ne.prototype.set=jt;function Ke(U){var N=-1,K=U==null?0:U.length;for(this.clear();++NMe))return!1;var ke=ce.get(U);if(ke&&ce.get(N))return ke==N;var Re=-1,je=!0,Le=K&m?new it:void 0;for(ce.set(U,N),ce.set(N,U);++Re-1&&U%1==0&&U-1&&U%1==0&&U<=y}function xt(U){var N=typeof U;return U!=null&&(N=="object"||N=="function")}function nt(U){return U!=null&&typeof U=="object"}var kt=he?_e(he):tn;function mn(U){return pn(U)?Qt(U):nn(U)}function vn(){return[]}function bn(){return!1}h.exports=gn},z4nQ4pZy:(h,M,s)=>{var L=s("RMa3hR3V"),T=L.isFinite;function I(m){return typeof m=="number"&&T(m)}h.exports=I},qB2g08AP:function(h,M,s){"use strict";var L=this&&this.__extends||function(){var i=function(n,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(t[a]=o[a])},i(n,e)};return function(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}}(),T=this&&this.__assign||function(){return T=Object.assign||function(i){for(var n,e=1,t=arguments.length;e0&&this.handleMarkers(O);var j=this.editor.$options;l.editorOptions.forEach(function(H){j.hasOwnProperty(H)?e.editor.setOption(H,e.props[H]):e.props[H]&&console.warn("ReactAce: editor option ".concat(H," was activated but not found. Did you need to import a related tool or did you possibly mispell the option?"))}),this.handleOptions(this.props),Array.isArray(E)&&E.forEach(function(H){typeof H.exec=="string"?e.editor.commands.bindKey(H.bindKey,H.exec):e.editor.commands.addCommand(H)}),w&&this.editor.setKeyboardHandler("ace/keyboard/"+w),o&&(this.refEditor.className+=" "+o),g&&g(this.editor),this.editor.resize(),b&&this.editor.focus()},n.prototype.componentDidUpdate=function(e){for(var t=e,o=this.props,a=0;a{"use strict";Object.defineProperty(M,"__esModule",{value:!0}),M.getAceInstance=M.debounce=M.editorEvents=M.editorOptions=void 0;var L=["minLines","maxLines","readOnly","highlightActiveLine","tabSize","enableBasicAutocompletion","enableLiveAutocompletion","enableSnippets"];M.editorOptions=L;var T=["onChange","onFocus","onInput","onBlur","onCopy","onPaste","onSelectionChange","onCursorChange","onScroll","handleOptions","updateRef"];M.editorEvents=T;var I=function(){var y;return typeof window>"u"?(s.g.window={},y=s("rJZCvzgl"),delete s.g.window):window.ace?(y=window.ace,y.acequire=window.ace.require||window.ace.acequire):y=s("rJZCvzgl"),y};M.getAceInstance=I;var m=function(y,p){var l=null;return function(){var c=this,r=arguments;clearTimeout(l),l=setTimeout(function(){y.apply(c,r)},p)}};M.debounce=m},X6wT4U46:(h,M,s)=>{"use strict";var L;L={value:!0},L=L=void 0;var T=s("qB2g08AP"),I=s("jwwjE/Aq");L=I.default;var m=s("uxzrkUqc");L=m.default,M.Ay=T.default},uxzrkUqc:function(h,M,s){"use strict";var L=this&&this.__extends||function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,u){a.__proto__=u}||function(a,u){for(var d in u)Object.prototype.hasOwnProperty.call(u,d)&&(a[d]=u[d])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function a(){this.constructor=t}t.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)}}(),T=this&&this.__assign||function(){return T=Object.assign||function(e){for(var t,o=1,a=arguments.length;o0&&o.handleMarkers(te,B);for(var Z=0;Z




© 2015 - 2025 Weber Informatics LLC | Privacy Policy