web-interface.assets.4ec6860a76652083d0888330d5581148.js Maven / Gradle / Ivy
"no use strict";(()=>{var br=(M,B)=>()=>(B||M((B={exports:{}}).exports,B),B.exports);var Sr=br(Cn=>{(function(M){if(typeof M.window<"u"&&M.document||M.require&&M.define)return;M.console||(M.console=function(){var P=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:P})},M.console.error=M.console.warn=M.console.log=M.console.trace=M.console),M.window=M,M.ace=M,M.onerror=function(P,c,o,a,u){postMessage({type:"error",data:{message:P,data:u&&u.data,file:c,line:o,col:a,stack:u&&u.stack}})},M.normalizeModule=function(P,c){if(c.indexOf("!")!==-1){var o=c.split("!");return M.normalizeModule(P,o[0])+"!"+M.normalizeModule(P,o[1])}if(c.charAt(0)=="."){var a=P.split("/").slice(0,-1).join("/");for(c=(a?a+"/":"")+c;c.indexOf(".")!==-1&&u!=c;){var u=c;c=c.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return c},M.require=function(c,o){if(o||(o=c,c=null),!o.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");o=M.normalizeModule(c,o);var a=M.require.modules[o];if(a)return a.initialized||(a.initialized=!0,a.exports=a.factory().exports),a.exports;if(!M.require.tlns)return console.log("unable to load "+o);var u=B(o,M.require.tlns);return u.slice(-3)!=".js"&&(u+=".js"),M.require.id=o,M.require.modules[o]={},importScripts(u),M.require(c,o)};function B(P,c){for(var o=P,a="";o;){var u=c[o];if(typeof u=="string")return u+a;if(u)return u.location.replace(/\/*$/,"/")+(a||u.main||u.name);if(u===!1)return"";var t=o.lastIndexOf("/");if(t===-1)break;a=o.substr(t)+a,o=o.slice(0,t)}return P}M.require.modules={},M.require.tlns={},M.define=function(P,c,o){if(arguments.length==2?(o=c,typeof P!="string"&&(c=P,P=M.require.id)):arguments.length==1&&(o=P,c=[],P=M.require.id),typeof o!="function"){M.require.modules[P]={exports:o,initialized:!0};return}c.length||(c=["require","exports","module"]);var a=function(u){return M.require(P,u)};M.require.modules[P]={exports:{},factory:function(){var u=this,t=o.apply(this,c.slice(0,o.length).map(function(i){switch(i){case"require":return a;case"exports":return u.exports;case"module":return u;default:return a(i)}}));return t&&(u.exports=t),u}}},M.define.amd={},M.require.tlns={},M.initBaseUrls=function(c){for(var o in c)this.require.tlns[o]=c[o]},M.initSender=function(){var c=M.require("ace/lib/event_emitter").EventEmitter,o=M.require("ace/lib/oop"),a=function(){};return(function(){o.implement(this,c),this.callback=function(u,t){postMessage({type:"call",id:t,data:u})},this.emit=function(u,t){postMessage({type:"event",name:u,data:t})}}).call(a.prototype),new a};var ne=M.main=null,U=M.sender=null;M.onmessage=function(P){var c=P.data;if(c.event&&U)U._signal(c.event,c.data);else if(c.command)if(ne[c.command])ne[c.command].apply(ne,c.args);else if(M[c.command])M[c.command].apply(M,c.args);else throw new Error("Unknown command:"+c.command);else if(c.init){M.initBaseUrls(c.tlns),U=M.sender=M.initSender();var o=this.require(c.module)[c.classname];ne=M.main=new o(U)}}})(Cn);ace.define("ace/lib/oop",[],function(M,B,ne){"use strict";B.inherits=function(U,P){U.super_=P,U.prototype=Object.create(P.prototype,{constructor:{value:U,enumerable:!1,writable:!0,configurable:!0}})},B.mixin=function(U,P){for(var c in P)U[c]=P[c];return U},B.implement=function(U,P){B.mixin(U,P)}});ace.define("ace/apply_delta",[],function(M,B,ne){"use strict";function U(o,a){throw console.log("Invalid Delta:",o),"Invalid Delta: "+a}function P(o,a){return a.row>=0&&a.row=0&&a.column<=o[a.row].length}function c(o,a){a.action!="insert"&&a.action!="remove"&&U(a,"delta.action must be 'insert' or 'remove'"),a.lines instanceof Array||U(a,"delta.lines must be an Array"),(!a.start||!a.end)&&U(a,"delta.start/end must be an present");var u=a.start;P(o,a.start)||U(a,"delta.start must be contained in document");var t=a.end;a.action=="remove"&&!P(o,t)&&U(a,"delta.end must contained in document for 'remove' actions");var i=t.row-u.row,l=t.column-(i==0?u.column:0);(i!=a.lines.length-1||a.lines[i].length!=l)&&U(a,"delta.range must match delta lines")}B.applyDelta=function(o,a,u){var t=a.start.row,i=a.start.column,l=o[t]||"";switch(a.action){case"insert":var y=a.lines;if(y.length===1)o[t]=l.substring(0,i)+a.lines[0]+l.substring(i);else{var T=[t,1].concat(a.lines);o.splice.apply(o,T),o[t]=l.substring(0,i)+o[t],o[t+a.lines.length-1]+=l.substring(i)}break;case"remove":var L=a.end.column,C=a.end.row;t===C?o[t]=l.substring(0,i)+l.substring(L):o.splice(t,C-t+1,l.substring(0,i)+o[C].substring(L));break}}});ace.define("ace/lib/event_emitter",[],function(M,B,ne){"use strict";var U={},P=function(){this.propagationStopped=!0},c=function(){this.defaultPrevented=!0};U._emit=U._dispatchEvent=function(o,a){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var u=this._eventRegistry[o]||[],t=this._defaultHandlers[o];if(!(!u.length&&!t)){(typeof a!="object"||!a)&&(a={}),a.type||(a.type=o),a.stopPropagation||(a.stopPropagation=P),a.preventDefault||(a.preventDefault=c),u=u.slice();for(var i=0;i ["+this.end.row+"/"+this.end.column+"]"},c.prototype.contains=function(o,a){return this.compare(o,a)==0},c.prototype.compareRange=function(o){var a,u=o.end,t=o.start;return a=this.compare(u.row,u.column),a==1?(a=this.compare(t.row,t.column),a==1?2:a==0?1:0):a==-1?-2:(a=this.compare(t.row,t.column),a==-1?-1:a==1?42:0)},c.prototype.comparePoint=function(o){return this.compare(o.row,o.column)},c.prototype.containsRange=function(o){return this.comparePoint(o.start)==0&&this.comparePoint(o.end)==0},c.prototype.intersects=function(o){var a=this.compareRange(o);return a==-1||a==0||a==1},c.prototype.isEnd=function(o,a){return this.end.row==o&&this.end.column==a},c.prototype.isStart=function(o,a){return this.start.row==o&&this.start.column==a},c.prototype.setStart=function(o,a){typeof o=="object"?(this.start.column=o.column,this.start.row=o.row):(this.start.row=o,this.start.column=a)},c.prototype.setEnd=function(o,a){typeof o=="object"?(this.end.column=o.column,this.end.row=o.row):(this.end.row=o,this.end.column=a)},c.prototype.inside=function(o,a){return this.compare(o,a)==0?!(this.isEnd(o,a)||this.isStart(o,a)):!1},c.prototype.insideStart=function(o,a){return this.compare(o,a)==0?!this.isEnd(o,a):!1},c.prototype.insideEnd=function(o,a){return this.compare(o,a)==0?!this.isStart(o,a):!1},c.prototype.compare=function(o,a){return!this.isMultiLine()&&o===this.start.row?athis.end.column?1:0:othis.end.row?1:this.start.row===o?a>=this.start.column?0:-1:this.end.row===o?a<=this.end.column?0:1:0},c.prototype.compareStart=function(o,a){return this.start.row==o&&this.start.column==a?-1:this.compare(o,a)},c.prototype.compareEnd=function(o,a){return this.end.row==o&&this.end.column==a?1:this.compare(o,a)},c.prototype.compareInside=function(o,a){return this.end.row==o&&this.end.column==a?1:this.start.row==o&&this.start.column==a?-1:this.compare(o,a)},c.prototype.clipRows=function(o,a){if(this.end.row>a)var u={row:a+1,column:0};else if(this.end.rowa)var t={row:a+1,column:0};else if(this.start.row"u"?this.setPosition(i.row,i.column):this.setPosition(i,l)}return u.prototype.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},u.prototype.getDocument=function(){return this.document},u.prototype.onChange=function(t){if(!(t.start.row==t.end.row&&t.start.row!=this.row)&&!(t.start.row>this.row)){var i=a(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(i.row,i.column,!0)}},u.prototype.setPosition=function(t,i,l){var y;if(l?y={row:t,column:i}:y=this.$clipPositionToDocument(t,i),!(this.row==y.row&&this.column==y.column)){var T={row:this.row,column:this.column};this.row=y.row,this.column=y.column,this._signal("change",{old:T,value:y})}},u.prototype.detach=function(){this.document.off("change",this.$onChange)},u.prototype.attach=function(t){this.document=t||this.document,this.document.on("change",this.$onChange)},u.prototype.$clipPositionToDocument=function(t,i){var l={};return t>=this.document.getLength()?(l.row=Math.max(0,this.document.getLength()-1),l.column=this.document.getLine(l.row).length):t<0?(l.row=0,l.column=0):(l.row=t,l.column=Math.min(this.document.getLine(l.row).length,Math.max(0,i))),i<0&&(l.column=0),l},u}();c.prototype.$insertRight=!1,U.implement(c.prototype,P);function o(u,t,i){var l=i?u.column<=t.column:u.column=y&&(i=y-1,l=void 0);var T=this.getLine(i);return l==null&&(l=T.length),l=Math.min(Math.max(l,0),T.length),{row:i,column:l}},t.prototype.clonePos=function(i){return{row:i.row,column:i.column}},t.prototype.pos=function(i,l){return{row:i,column:l}},t.prototype.$clipPosition=function(i){var l=this.getLength();return i.row>=l?(i.row=Math.max(0,l-1),i.column=this.getLine(l-1).length):(i.row=Math.max(0,i.row),i.column=Math.min(Math.max(i.column,0),this.getLine(i.row).length)),i},t.prototype.insertFullLines=function(i,l){i=Math.min(Math.max(i,0),this.getLength());var y=0;i0,T=l=0&&this.applyDelta({start:this.pos(i,this.getLine(i).length),end:this.pos(i+1,0),action:"remove",lines:["",""]})},t.prototype.replace=function(i,l){if(i instanceof o||(i=o.fromPoints(i.start,i.end)),l.length===0&&i.isEmpty())return i.start;if(l==this.getTextRange(i))return i.end;this.remove(i);var y;return l?y=this.insert(i.start,l):y=i.start,y},t.prototype.applyDeltas=function(i){for(var l=0;l=0;l--)this.revertDelta(i[l])},t.prototype.applyDelta=function(i,l){var y=i.action=="insert";(y?i.lines.length<=1&&!i.lines[0]:!o.comparePoints(i.start,i.end))||(y&&i.lines.length>2e4?this.$splitAndapplyLargeDelta(i,2e4):(P(this.$lines,i,l),this._signal("change",i)))},t.prototype.$safeApplyDelta=function(i){var l=this.$lines.length;(i.action=="remove"&&i.start.row0;)o&1&&(a+=c),(o>>=1)&&(c+=c);return a};var U=/^\s\s*/,P=/\s\s*$/;B.stringTrimLeft=function(c){return c.replace(U,"")},B.stringTrimRight=function(c){return c.replace(P,"")},B.copyObject=function(c){var o={};for(var a in c)o[a]=c[a];return o},B.copyArray=function(c){for(var o=[],a=0,u=c.length;a=a.$lines.length)throw L=new Error("Invalid delta"),L.data={path:t.$path,linesLength:a.$lines.length,start:T.start,end:T.end},L;a.applyDelta(T,!0)}if(t.$timeout)return u.schedule(t.$timeout);t.onUpdate()})};(function(){this.$timeout=500,this.setTimeout=function(o){this.$timeout=o},this.setValue=function(o){this.doc.setValue(o),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(o){this.sender.callback(this.doc.getValue(),o)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(c.prototype)});ace.define("ace/mode/yaml/yaml-lint",[],function(M,B,ne){var U={require:M,exports:B,module:ne};B=void 0,ne=void 0;function P(c,o,a){typeof c=="function"&&(a=c,o=["require","exports","module"],c=U.module.id),typeof c!="string"&&(a=o,o=c,c=U.module.id),a||(a=o,o=[]);var u=typeof a=="function"?a.apply(U.module,o.map(function(t){return U[t]||M(t)})):a;u!=null&&(U.module.exports=u)}P.amd=!0,function(c){if(typeof B=="object"&&typeof ne<"u")ne.exports=c();else if(typeof P=="function"&&P.amd)P([],c);else{var o;typeof window<"u"?o=window:typeof global<"u"?o=global:typeof self<"u"?o=self:o=this,o.lint=c()}}(function(){var c,o,a;return function(){function u(t,i,l){function y(C,A){if(!i[C]){if(!t[C]){var _=typeof M=="function"&&M;if(!A&&_)return _(C,!0);if(T)return T(C,!0);var E=new Error("Cannot find module '"+C+"'");throw E.code="MODULE_NOT_FOUND",E}var p=i[C]={exports:{}};t[C][0].call(p.exports,function(m){var w=t[C][1][m];return y(w||m)},p,p.exports,u,t,i,l)}return i[C].exports}for(var T=typeof M=="function"&&M,L=0;L"u"||_===null}function y(_){return typeof _=="object"&&_!==null}function T(_){return Array.isArray(_)?_:l(_)?[]:[_]}function L(_,E){var p,m,w,k;if(E)for(k=Object.keys(E),p=0,m=k.length;p=32&&n<=126||n>=161&&n<=55295&&n!==8232&&n!==8233||n>=57344&&n<=65533&&n!==65279||n>=65536&&n<=1114111}function V(n){return oe(n)&&n!==65279&&n!==pe&&n!==Ne&&n!==ke&&n!==Ee&&n!==be&&n!==te&&n!==k}function Q(n){return oe(n)&&n!==65279&&!Te(n)&&n!==he&&n!==ie&&n!==te&&n!==pe&&n!==Ne&&n!==ke&&n!==Ee&&n!==be&&n!==k&&n!==ee&&n!==X&&n!==m&&n!==ze&&n!==fe&&n!==Y&&n!==w&&n!==j&&n!==de&&n!==Ge}function xe(n){var f=/^\n* /;return f.test(n)}var se=1,Fe=2,Le=3,Oe=4,ge=5;function je(n,f,h,x,v){var F,O,S=!1,R=!1,D=x!==-1,$=-1,W=Q(n.charCodeAt(0))&&!Te(n.charCodeAt(n.length-1));if(f)for(F=0;Fx&&n[$+1]!==" ",$=F);else if(!oe(O))return ge;W=W&&V(O)}R=R||D&&F-$-1>x&&n[$+1]!==" "}return!S&&!R?W&&!v(n)?se:Fe:h>9&&xe(n)?ge:R?Oe:Le}function Me(n,f,h,x){n.dump=function(){if(f.length===0)return"''";if(!n.noCompatMode&&me.indexOf(f)!==-1)return"'"+f+"'";var v=n.indent*Math.max(1,h),F=n.lineWidth===-1?-1:Math.max(Math.min(n.lineWidth,40),n.lineWidth-v),O=x||n.flowLevel>-1&&h>=n.flowLevel;function S(R){return ae(n,R)}switch(je(f,O,n.indent,F,S)){case se:return f;case Fe:return"'"+f.replace(/'/g,"''")+"'";case Le:return"|"+Ue(f,n.indent)+He(ve(f,v));case Oe:return">"+Ue(f,n.indent)+He(ve(We(f,F),v));case ge:return'"'+ye(f,F)+'"';default:throw new y("impossible error: invalid scalar style")}}()}function Ue(n,f){var h=xe(n)?String(f):"",x=n[n.length-1]===`
`,v=x&&(n[n.length-2]===`
`||n===`
`),F=v?"+":x?"":"-";return h+F+`
`}function He(n){return n[n.length-1]===`
`?n.slice(0,-1):n}function We(n,f){for(var h=/(\n+)([^\n]*)/g,x=function(){var D=n.indexOf(`
`);return D=D!==-1?D:n.length,h.lastIndex=D,Be(n.slice(0,D),f)}(),v=n[0]===`
`||n[0]===" ",F,O;O=h.exec(n);){var S=O[1],R=O[2];F=R[0]===" ",x+=S+(!v&&!F&&R!==""?`
`:"")+Be(R,f),v=F}return x}function Be(n,f){if(n===""||n[0]===" ")return n;for(var h=/ [^ ]/g,x,v=0,F,O=0,S=0,R="";x=h.exec(n);)S=x.index,S-v>f&&(F=O>v?O:S,R+=`
`+n.slice(v,F),v=F+1),O=S;return R+=`
`,n.length-v>f&&O>v?R+=n.slice(v,O)+`
`+n.slice(O+1):R+=n.slice(v),R.slice(1)}function ye(n){for(var f="",h,x,v,F=0;F=55296&&h<=56319&&(x=n.charCodeAt(F+1),x>=56320&&x<=57343)){f+=Se((h-55296)*1024+x-56320+65536),F++;continue}v=re[h],f+=!v&&oe(h)?n[F]:v||Se(h)}return f}function De(n,f,h){var x="",v=n.tag,F,O;for(F=0,O=h.length;F1024&&($+="? "),$+=n.dump+(n.condenseFlow?'"':"")+":"+(n.condenseFlow?"":" "),ue(n,f,D,!1,!1)&&($+=n.dump,x+=$));n.tag=v,n.dump="{"+x+"}"}function _e(n,f,h,x){var v="",F=n.tag,O=Object.keys(h),S,R,D,$,W,K;if(n.sortKeys===!0)O.sort();else if(typeof n.sortKeys=="function")O.sort(n.sortKeys);else if(n.sortKeys)throw new y("sortKeys must be a boolean or a function");for(S=0,R=O.length;S1024,W&&(n.dump&&E===n.dump.charCodeAt(0)?K+="?":K+="? "),K+=n.dump,W&&(K+=we(n,f)),ue(n,f+1,$,!0,W)&&(n.dump&&E===n.dump.charCodeAt(0)?K+=":":K+=": ",K+=n.dump,v+=K));n.tag=F,n.dump=v||"{}"}function Ce(n,f,h){var x,v,F,O,S,R;for(v=h?n.explicitTypes:n.implicitTypes,F=0,O=v.length;F tag resolver accepts not "'+R+'" style');n.dump=x}return!0}return!1}function ue(n,f,h,x,v,F){n.tag=null,n.dump=h,Ce(n,h,!1)||Ce(n,h,!0);var O=C.call(n.dump);x&&(x=n.flowLevel<0||n.flowLevel>f);var S=O==="[object Object]"||O==="[object Array]",R,D;if(S&&(R=n.duplicates.indexOf(h),D=R!==-1),(n.tag!==null&&n.tag!=="?"||D||n.indent!==2&&f>0)&&(v=!1),D&&n.usedDuplicates[R])n.dump="*ref_"+R;else{if(S&&D&&!n.usedDuplicates[R]&&(n.usedDuplicates[R]=!0),O==="[object Object]")x&&Object.keys(n.dump).length!==0?(_e(n,f,n.dump,v),D&&(n.dump="&ref_"+R+n.dump)):(Ie(n,f,n.dump),D&&(n.dump="&ref_"+R+" "+n.dump));else if(O==="[object Array]"){var $=n.noArrayIndent&&f>0?f-1:f;x&&n.dump.length!==0?($e(n,$,n.dump,v),D&&(n.dump="&ref_"+R+n.dump)):(De(n,$,n.dump),D&&(n.dump="&ref_"+R+" "+n.dump))}else if(O==="[object String]")n.tag!=="?"&&Me(n,n.dump,f,F);else{if(n.skipInvalid)return!1;throw new y("unacceptable kind of an object to dump "+O)}n.tag!==null&&n.tag!=="?"&&(n.dump="!<"+n.tag+"> "+n.dump)}return!0}function e(n,f){var h=[],x=[],v,F;for(g(n,h,x),v=0,F=x.length;v=48&&e<=57?e-48:(g=e|32,g>=97&&g<=102?g-97+10:-1)}function ke(e){return e===120?2:e===117?4:e===85?8:0}function Ge(e){return e>=48&&e<=57?e-48:-1}function Ee(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
`:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"\x85":e===95?"\xA0":e===76?"\u2028":e===80?"\u2029":""}function ze(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}for(var be=new Array(256),re=new Array(256),me=0;me<256;me++)be[me]=Ee(me)?1:0,re[me]=Ee(me);function Ve(e,g){this.input=e,this.filename=g.filename||null,this.schema=g.schema||C,this.onWarning=g.onWarning||null,this.legacy=g.legacy||!1,this.json=g.json||!1,this.listener=g.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function Se(e,g){return new y(g,new T(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function H(e,g){throw Se(e,g)}function ve(e,g){e.onWarning&&e.onWarning.call(null,Se(e,g))}var we={YAML:function(g,b,I){var n,f,h;g.version!==null&&H(g,"duplication of %YAML directive"),I.length!==1&&H(g,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(I[0]),n===null&&H(g,"ill-formed argument of the YAML directive"),f=parseInt(n[1],10),h=parseInt(n[2],10),f!==1&&H(g,"unacceptable YAML version of the document"),g.version=I[0],g.checkLineBreaks=h<2,h!==1&&h!==2&&ve(g,"unsupported YAML version of the document")},TAG:function(g,b,I){var n,f;I.length!==2&&H(g,"TAG directive accepts exactly two arguments"),n=I[0],f=I[1],pe.test(n)||H(g,"ill-formed tag handle (first argument) of the TAG directive"),A.call(g.tagMap,n)&&H(g,'there is a previously declared suffix for "'+n+'" tag handle'),he.test(f)||H(g,"ill-formed tag prefix (second argument) of the TAG directive"),g.tagMap[n]=f}};function ae(e,g,b,I){var n,f,h,x;if(g=32&&h<=1114111||H(e,"expected valid JSON character");else ee.test(x)&&H(e,"the stream contains non-printable characters");e.result+=x}}function Te(e,g,b,I){var n,f,h,x;for(l.isObject(b)||H(e,"cannot merge mappings; the provided source object is unacceptable"),n=Object.keys(b),h=0,x=n.length;h1&&(e.result+=l.repeat(`
`,g-1))}function Fe(e,g,b){var I,n,f,h,x,v,F,O,S=e.kind,R=e.result,D;if(D=e.input.charCodeAt(e.position),ie(D)||de(D)||D===35||D===38||D===42||D===33||D===124||D===62||D===39||D===34||D===37||D===64||D===96||(D===63||D===45)&&(n=e.input.charCodeAt(e.position+1),ie(n)||b&&de(n)))return!1;for(e.kind="scalar",e.result="",f=h=e.position,x=!1;D!==0;){if(D===58){if(n=e.input.charCodeAt(e.position+1),ie(n)||b&&de(n))break}else if(D===35){if(I=e.input.charCodeAt(e.position-1),ie(I))break}else{if(e.position===e.lineStart&&xe(e)||b&&de(D))break;if(te(D))if(v=e.line,F=e.lineStart,O=e.lineIndent,Q(e,!1,-1),e.lineIndent>=g){x=!0,D=e.input.charCodeAt(e.position);continue}else{e.position=h,e.line=v,e.lineStart=F,e.lineIndent=O;break}}x&&(ae(e,f,h,!1),se(e,e.line-v),f=h=e.position,x=!1),fe(D)||(h=e.position+1),D=e.input.charCodeAt(++e.position)}return ae(e,f,h,!1),e.result?!0:(e.kind=S,e.result=R,!1)}function Le(e,g){var b,I,n;if(b=e.input.charCodeAt(e.position),b!==39)return!1;for(e.kind="scalar",e.result="",e.position++,I=n=e.position;(b=e.input.charCodeAt(e.position))!==0;)if(b===39)if(ae(e,I,e.position,!0),b=e.input.charCodeAt(++e.position),b===39)I=e.position,e.position++,n=e.position;else return!0;else te(b)?(ae(e,I,n,!0),se(e,Q(e,!1,g)),I=n=e.position):e.position===e.lineStart&&xe(e)?H(e,"unexpected end of the document within a single quoted scalar"):(e.position++,n=e.position);H(e,"unexpected end of the stream within a single quoted scalar")}function Oe(e,g){var b,I,n,f,h,x;if(x=e.input.charCodeAt(e.position),x!==34)return!1;for(e.kind="scalar",e.result="",e.position++,b=I=e.position;(x=e.input.charCodeAt(e.position))!==0;){if(x===34)return ae(e,b,e.position,!0),e.position++,!0;if(x===92){if(ae(e,b,e.position,!0),x=e.input.charCodeAt(++e.position),te(x))Q(e,!1,g);else if(x<256&&be[x])e.result+=re[x],e.position++;else if((h=ke(x))>0){for(n=h,f=0;n>0;n--)x=e.input.charCodeAt(++e.position),(h=Ne(x))>=0?f=(f<<4)+h:H(e,"expected hexadecimal character");e.result+=ze(f),e.position++}else H(e,"unknown escape sequence");b=I=e.position}else te(x)?(ae(e,b,I,!0),se(e,Q(e,!1,g)),b=I=e.position):e.position===e.lineStart&&xe(e)?H(e,"unexpected end of the document within a double quoted scalar"):(e.position++,I=e.position)}H(e,"unexpected end of the stream within a double quoted scalar")}function ge(e,g){var b=!0,I,n=e.tag,f,h=e.anchor,x,v,F,O,S,R={},D,$,W,K;if(K=e.input.charCodeAt(e.position),K===91)v=93,S=!1,f=[];else if(K===123)v=125,S=!0,f={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=f),K=e.input.charCodeAt(++e.position);K!==0;){if(Q(e,!0,g),K=e.input.charCodeAt(e.position),K===v)return e.position++,e.tag=n,e.anchor=h,e.kind=S?"mapping":"sequence",e.result=f,!0;b||H(e,"missed comma between flow collection entries"),$=D=W=null,F=O=!1,K===63&&(x=e.input.charCodeAt(e.position+1),ie(x)&&(F=O=!0,e.position++,Q(e,!0,g))),I=e.line,ye(e,g,_,!1,!0),$=e.tag,D=e.result,Q(e,!0,g),K=e.input.charCodeAt(e.position),(O||e.line===I)&&K===58&&(F=!0,K=e.input.charCodeAt(++e.position),Q(e,!0,g),ye(e,g,_,!1,!0),W=e.result),S?oe(e,f,R,$,D,W):F?f.push(oe(e,null,R,$,D,W)):f.push(D),Q(e,!0,g),K=e.input.charCodeAt(e.position),K===44?(b=!0,K=e.input.charCodeAt(++e.position)):b=!1}H(e,"unexpected end of the stream within a flow collection")}function je(e,g){var b,I,n=w,f=!1,h=!1,x=g,v=0,F=!1,O,S;if(S=e.input.charCodeAt(e.position),S===124)I=!1;else if(S===62)I=!0;else return!1;for(e.kind="scalar",e.result="";S!==0;)if(S=e.input.charCodeAt(++e.position),S===43||S===45)w===n?n=S===43?j:k:H(e,"repeat of a chomping mode identifier");else if((O=Ge(S))>=0)O===0?H(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):h?H(e,"repeat of an indentation width identifier"):(x=g+O-1,h=!0);else break;if(fe(S)){do S=e.input.charCodeAt(++e.position);while(fe(S));if(S===35)do S=e.input.charCodeAt(++e.position);while(!te(S)&&S!==0)}for(;S!==0;){for(V(e),e.lineIndent=0,S=e.input.charCodeAt(e.position);(!h||e.lineIndentx&&(x=e.lineIndent),te(S)){v++;continue}if(e.lineIndentg)&&v!==0)H(e,"bad indentation of a sequence entry");else if(e.lineIndentg)&&(ye(e,g,m,!0,n)&&($?R=e.result:D=e.result),$||(oe(e,F,O,S,R,D,f,h),S=R=D=null),Q(e,!0,-1),K=e.input.charCodeAt(e.position)),e.lineIndent>g&&K!==0)H(e,"bad indentation of a mapping entry");else if(e.lineIndentg?v=1:e.lineIndent===g?v=0:e.lineIndentg?v=1:e.lineIndent===g?v=0:e.lineIndent tag; it should be "'+D.kind+'", not "'+e.kind+'"'),D.resolve(e.result)?(e.result=D.construct(e.result),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):H(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):H(e,"unknown tag !<"+e.tag+">");return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||O}function De(e){var g=e.position,b,I,n,f=!1,h;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};(h=e.input.charCodeAt(e.position))!==0&&(Q(e,!0,-1),h=e.input.charCodeAt(e.position),!(e.lineIndent>0||h!==37));){for(f=!0,h=e.input.charCodeAt(++e.position),b=e.position;h!==0&&!ie(h);)h=e.input.charCodeAt(++e.position);for(I=e.input.slice(b,e.position),n=[],I.length<1&&H(e,"directive name must not be less than one character in length");h!==0;){for(;fe(h);)h=e.input.charCodeAt(++e.position);if(h===35){do h=e.input.charCodeAt(++e.position);while(h!==0&&!te(h));break}if(te(h))break;for(b=e.position;h!==0&&!ie(h);)h=e.input.charCodeAt(++e.position);n.push(e.input.slice(b,e.position))}h!==0&&V(e),A.call(we,I)?we[I](e,I,n):ve(e,'unknown document directive "'+I+'"')}if(Q(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,Q(e,!0,-1)):f&&H(e,"directives end mark is expected"),ye(e,e.lineIndent-1,m,!1,!0),Q(e,!0,-1),e.checkLineBreaks&&Y.test(e.input.slice(g,e.position))&&ve(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&xe(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,Q(e,!0,-1));return}if(e.position0&&`\0\r
\x85\u2028\u2029`.indexOf(this.buffer.charAt(_-1))===-1;)if(_-=1,this.position-_>C/2-1){A=" ... ",_+=5;break}for(E="",p=this.position;pC/2-1){E=" ... ",p-=5;break}return m=this.buffer.slice(_,p),l.repeat(" ",L)+A+m+E+`
`+l.repeat(" ",L+this.position-_+A.length)+"^"},y.prototype.toString=function(L){var C,A="";return this.name&&(A+='in "'+this.name+'" '),A+="at line "+(this.line+1)+", column "+(this.column+1),L||(C=this.getSnippet(),C&&(A+=`:
`+C)),A},t.exports=y},{"./common":5}],10:[function(u,t,i){"use strict";var l=u("./common"),y=u("./exception"),T=u("./type");function L(_,E,p){var m=[];return _.include.forEach(function(w){p=L(w,E,p)}),_[E].forEach(function(w){p.forEach(function(k,j){k.tag===w.tag&&k.kind===w.kind&&m.push(j)}),p.push(w)}),p.filter(function(w,k){return m.indexOf(k)===-1})}function C(){var _={scalar:{},sequence:{},mapping:{},fallback:{}},E,p;function m(w){_[w.kind][w.tag]=_.fallback[w.tag]=w}for(E=0,p=arguments.length;E64)){if(m<0)return!1;k+=6}return k%8===0}function A(p){var m,w,k=p.replace(/[\r\n=]/g,""),j=k.length,ee=L,Y=0,X=[];for(m=0;m>16&255),X.push(Y>>8&255),X.push(Y&255)),Y=Y<<6|ee.indexOf(k.charAt(m));return w=j%4*6,w===0?(X.push(Y>>16&255),X.push(Y>>8&255),X.push(Y&255)):w===18?(X.push(Y>>10&255),X.push(Y>>2&255)):w===12&&X.push(Y>>4&255),l?l.from?l.from(X):new l(X):X}function _(p){var m="",w=0,k,j,ee=p.length,Y=L;for(k=0;k>18&63],m+=Y[w>>12&63],m+=Y[w>>6&63],m+=Y[w&63]),w=(w<<8)+p[k];return j=ee%3,j===0?(m+=Y[w>>18&63],m+=Y[w>>12&63],m+=Y[w>>6&63],m+=Y[w&63]):j===2?(m+=Y[w>>10&63],m+=Y[w>>4&63],m+=Y[w<<2&63],m+=Y[64]):j===1&&(m+=Y[w>>2&63],m+=Y[w<<4&63],m+=Y[64],m+=Y[64]),m}function E(p){return l&&l.isBuffer(p)}t.exports=new T("tag:yaml.org,2002:binary",{kind:"scalar",resolve:C,construct:A,predicate:E,represent:_})},{"../type":16}],18:[function(u,t,i){"use strict";var l=u("../type");function y(C){if(C===null)return!1;var A=C.length;return A===4&&(C==="true"||C==="True"||C==="TRUE")||A===5&&(C==="false"||C==="False"||C==="FALSE")}function T(C){return C==="true"||C==="True"||C==="TRUE"}function L(C){return Object.prototype.toString.call(C)==="[object Boolean]"}t.exports=new l("tag:yaml.org,2002:bool",{kind:"scalar",resolve:y,construct:T,predicate:L,represent:{lowercase:function(C){return C?"true":"false"},uppercase:function(C){return C?"TRUE":"FALSE"},camelcase:function(C){return C?"True":"False"}},defaultStyle:"lowercase"})},{"../type":16}],19:[function(u,t,i){"use strict";var l=u("../common"),y=u("../type"),T=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function L(p){return!(p===null||!T.test(p)||p[p.length-1]==="_")}function C(p){var m,w,k,j;return m=p.replace(/_/g,"").toLowerCase(),w=m[0]==="-"?-1:1,j=[],"+-".indexOf(m[0])>=0&&(m=m.slice(1)),m===".inf"?w===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:m===".nan"?NaN:m.indexOf(":")>=0?(m.split(":").forEach(function(ee){j.unshift(parseFloat(ee,10))}),m=0,k=1,j.forEach(function(ee){m+=ee*k,k*=60}),w*m):w*parseFloat(m,10)}var A=/^[-+]?[0-9]+e/;function _(p,m){var w;if(isNaN(p))switch(m){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===p)switch(m){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===p)switch(m){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(l.isNegativeZero(p))return"-0.0";return w=p.toString(10),A.test(w)?w.replace("e",".e"):w}function E(p){return Object.prototype.toString.call(p)==="[object Number]"&&(p%1!==0||l.isNegativeZero(p))}t.exports=new y("tag:yaml.org,2002:float",{kind:"scalar",resolve:L,construct:C,predicate:E,represent:_,defaultStyle:"lowercase"})},{"../common":5,"../type":16}],20:[function(u,t,i){"use strict";var l=u("../common"),y=u("../type");function T(p){return p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102}function L(p){return p>=48&&p<=55}function C(p){return p>=48&&p<=57}function A(p){if(p===null)return!1;var m=p.length,w=0,k=!1,j;if(!m)return!1;if(j=p[w],(j==="-"||j==="+")&&(j=p[++w]),j==="0"){if(w+1===m)return!0;if(j=p[++w],j==="b"){for(w++;w=0?"0b"+p.toString(2):"-0b"+p.toString(2).slice(1)},octal:function(p){return p>=0?"0"+p.toString(8):"-0"+p.toString(8).slice(1)},decimal:function(p){return p.toString(10)},hexadecimal:function(p){return p>=0?"0x"+p.toString(16).toUpperCase():"-0x"+p.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},{"../common":5,"../type":16}],21:[function(u,t,i){"use strict";var l;try{var y=u;l=y("esprima")}catch{typeof window<"u"&&(l=window.esprima)}var T=u("../../type");function L(E){if(E===null)return!1;try{var p="("+E+")",m=l.parse(p,{range:!0});return!(m.type!=="Program"||m.body.length!==1||m.body[0].type!=="ExpressionStatement"||m.body[0].expression.type!=="ArrowFunctionExpression"&&m.body[0].expression.type!=="FunctionExpression")}catch{return!1}}function C(E){var p="("+E+")",m=l.parse(p,{range:!0}),w=[],k;if(m.type!=="Program"||m.body.length!==1||m.body[0].type!=="ExpressionStatement"||m.body[0].expression.type!=="ArrowFunctionExpression"&&m.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return m.body[0].expression.params.forEach(function(j){w.push(j.name)}),k=m.body[0].expression.body.range,m.body[0].expression.body.type==="BlockStatement"?new Function(w,p.slice(k[0]+1,k[1]-1)):new Function(w,"return "+p.slice(k[0],k[1]))}function A(E){return E.toString()}function _(E){return Object.prototype.toString.call(E)==="[object Function]"}t.exports=new T("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:L,construct:C,predicate:_,represent:A})},{"../../type":16}],22:[function(u,t,i){"use strict";var l=u("../../type");function y(A){if(A===null||A.length===0)return!1;var _=A,E=/\/([gim]*)$/.exec(A),p="";return!(_[0]==="/"&&(E&&(p=E[1]),p.length>3||_[_.length-p.length-1]!=="/"))}function T(A){var _=A,E=/\/([gim]*)$/.exec(A),p="";return _[0]==="/"&&(E&&(p=E[1]),_=_.slice(1,_.length-p.length-1)),new RegExp(_,p)}function L(A){var _="/"+A.source+"/";return A.global&&(_+="g"),A.multiline&&(_+="m"),A.ignoreCase&&(_+="i"),_}function C(A){return Object.prototype.toString.call(A)==="[object RegExp]"}t.exports=new l("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:y,construct:T,predicate:C,represent:L})},{"../../type":16}],23:[function(u,t,i){"use strict";var l=u("../../type");function y(){return!0}function T(){}function L(){return""}function C(A){return typeof A>"u"}t.exports=new l("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:y,construct:T,predicate:C,represent:L})},{"../../type":16}],24:[function(u,t,i){"use strict";var l=u("../type");t.exports=new l("tag:yaml.org,2002:map",{kind:"mapping",construct:function(y){return y!==null?y:{}}})},{"../type":16}],25:[function(u,t,i){"use strict";var l=u("../type");function y(T){return T==="<<"||T===null}t.exports=new l("tag:yaml.org,2002:merge",{kind:"scalar",resolve:y})},{"../type":16}],26:[function(u,t,i){"use strict";var l=u("../type");function y(C){if(C===null)return!0;var A=C.length;return A===1&&C==="~"||A===4&&(C==="null"||C==="Null"||C==="NULL")}function T(){return null}function L(C){return C===null}t.exports=new l("tag:yaml.org,2002:null",{kind:"scalar",resolve:y,construct:T,predicate:L,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},{"../type":16}],27:[function(u,t,i){"use strict";var l=u("../type"),y=Object.prototype.hasOwnProperty,T=Object.prototype.toString;function L(A){if(A===null)return!0;var _=[],E,p,m,w,k,j=A;for(E=0,p=j.length;E-1}function Rn(r,s){var d=this.__data__,N=Ze(d,r);return N<0?(++this.size,d.push([r,s])):d[N][1]=s,this}Ae.prototype.clear=Mn,Ae.prototype.delete=Dn,Ae.prototype.get=In,Ae.prototype.has=Pn,Ae.prototype.set=Rn;function Ye(r){var s=-1,d=r==null?0:r.length;for(this.clear();++s1?d[z-1]:void 0,Z=z>2?d[2]:void 0;for(J=r.length>3&&typeof J=="function"?(z--,J):void 0,Z&&cr(d[0],d[1],Z)&&(J=z<3?void 0:J,z=1),s=Object(s);++N-1&&r%1==0&&r0){if(++s>=L)return arguments[0]}else s=0;return r.apply(void 0,arguments)}}function vr(r){if(r!=null){try{return ue.call(r)}catch{}try{return r+""}catch{}}return""}function nn(r,s){return r===s||r!==r&&s!==s}var un=hn(function(){return arguments}())?hn:function(r){return Qe(r)&&e.call(r,"callee")&&!S.call(r,"callee")},ln=Array.isArray;function an(r){return r!=null&&vn(r.length)&&!sn(r)}function xr(r){return Qe(r)&&an(r)}var yn=W||Er;function sn(r){if(!Re(r))return!1;var s=qe(r);return s==j||s==ee||s==p||s==te}function vn(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=A}function Re(r){var s=typeof r;return r!=null&&(s=="object"||s=="function")}function Qe(r){return r!=null&&typeof r=="object"}function _r(r){if(!Qe(r)||qe(r)!=he)return!1;var s=F(r);if(s===null)return!0;var d=e.call(s,"constructor")&&s.constructor;return typeof d=="function"&&d instanceof d&&ue.call(d)==I}var xn=Me?We(Me):Qn;function Ar(r){return or(r,_n(r))}function _n(r){return an(r)?zn(r,!0):Xn(r)}var wr=ur(function(r,s,d){dn(r,s,d)});function Cr(r){return function(){return r}}function An(r){return r}function Er(){return!1}t.exports=wr}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[2])(2)})});ace.define("ace/mode/yaml_worker",[],function(M,B){"use strict";var ne=M("../lib/oop"),U=M("../worker/mirror").Mirror,P=M("./yaml/yaml-lint").lint,c=B.YamlWorker=function(o){U.call(this,o),this.setTimeout(500),this.setOptions()};ne.inherits(c,U),(function(){this.setOptions=function(){this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.changeOptions=function(o){ne.mixin(this.options,o),this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.onUpdate=function(){var o=this,a=this.doc.getValue(),u=[];P(a,{},function(t){if(!t){o.sender.emit("annotate",u);return}u.push({row:t.mark.line,column:t.mark.column,text:t.reason,type:"error",raw:t}),o.sender.emit("annotate",u)})}}).call(c.prototype)})});Sr();})();
//# sourceMappingURL=4ec6860a76652083d0888330d5581148.js.map