(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[36408],{36408:function(br,Sr,Ze){(function(M){if(typeof M.window!="undefined"&&M.document||M.require&&M.define)return;M.console||(M.console=function(){var j=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:j})},M.console.error=M.console.warn=M.console.log=M.console.trace=M.console),M.window=M,M.ace=M,M.onerror=function(j,c,u,s,o){postMessage({type:"error",data:{message:j,data:o&&o.data,file:c,line:u,col:s,stack:o&&o.stack}})},M.normalizeModule=function(j,c){if(c.indexOf("!")!==-1){var u=c.split("!");return M.normalizeModule(j,u[0])+"!"+M.normalizeModule(j,u[1])}if(c.charAt(0)=="."){var s=j.split("/").slice(0,-1).join("/");for(c=(s?s+"/":"")+c;c.indexOf(".")!==-1&&o!=c;){var o=c;c=c.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return c},M.require=function(c,u){if(u||(u=c,c=null),!u.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");u=M.normalizeModule(c,u);var s=M.require.modules[u];if(s)return s.initialized||(s.initialized=!0,s.exports=s.factory().exports),s.exports;if(!M.require.tlns)return console.log("unable to load "+u);var o=K(u,M.require.tlns);return o.slice(-3)!=".js"&&(o+=".js"),M.require.id=u,M.require.modules[u]={},importScripts(o),M.require(c,u)};function K(j,c){for(var u=j,s="";u;){var o=c[u];if(typeof o=="string")return o+s;if(o)return o.location.replace(/\/*$/,"/")+(s||o.main||o.name);if(o===!1)return"";var t=u.lastIndexOf("/");if(t===-1)break;s=u.substr(t)+s,u=u.slice(0,t)}return j}M.require.modules={},M.require.tlns={},M.define=function(j,c,u){if(arguments.length==2?(u=c,typeof j!="string"&&(c=j,j=M.require.id)):arguments.length==1&&(u=j,c=[],j=M.require.id),typeof u!="function"){M.require.modules[j]={exports:u,initialized:!0};return}c.length||(c=["require","exports","module"]);var s=function(o){return M.require(j,o)};M.require.modules[j]={exports:{},factory:function(){var o=this,t=u.apply(this,c.slice(0,u.length).map(function(i){switch(i){case"require":return s;case"exports":return o.exports;case"module":return o;default:return s(i)}}));return t&&(o.exports=t),o}}},M.define.amd={},M.require.tlns={},M.initBaseUrls=function(c){for(var u in c)this.require.tlns[u]=c[u]},M.initSender=function(){var c=M.require("ace/lib/event_emitter").EventEmitter,u=M.require("ace/lib/oop"),s=function(){};return function(){u.implement(this,c),this.callback=function(o,t){postMessage({type:"call",id:t,data:o})},this.emit=function(o,t){postMessage({type:"event",name:o,data:t})}}.call(s.prototype),new s};var re=M.main=null,U=M.sender=null;M.onmessage=function(j){var c=j.data;if(c.event&&U)U._signal(c.event,c.data);else if(c.command)if(re[c.command])re[c.command].apply(re,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 u=this.require(c.module)[c.classname];re=M.main=new u(U)}}})(this),ace.define("ace/lib/oop",[],function(M,K,re){"use strict";K.inherits=function(U,j){U.super_=j,U.prototype=Object.create(j.prototype,{constructor:{value:U,enumerable:!1,writable:!0,configurable:!0}})},K.mixin=function(U,j){for(var c in j)U[c]=j[c];return U},K.implement=function(U,j){K.mixin(U,j)}}),ace.define("ace/apply_delta",[],function(M,K,re){"use strict";function U(u,s){throw console.log("Invalid Delta:",u),"Invalid Delta: "+s}function j(u,s){return s.row>=0&&s.row=0&&s.column<=u[s.row].length}function c(u,s){s.action!="insert"&&s.action!="remove"&&U(s,"delta.action must be 'insert' or 'remove'"),s.lines instanceof Array||U(s,"delta.lines must be an Array"),(!s.start||!s.end)&&U(s,"delta.start/end must be an present");var o=s.start;j(u,s.start)||U(s,"delta.start must be contained in document");var t=s.end;s.action=="remove"&&!j(u,t)&&U(s,"delta.end must contained in document for 'remove' actions");var i=t.row-o.row,l=t.column-(i==0?o.column:0);(i!=s.lines.length-1||s.lines[i].length!=l)&&U(s,"delta.range must match delta lines")}K.applyDelta=function(u,s,o){var t=s.start.row,i=s.start.column,l=u[t]||"";switch(s.action){case"insert":var y=s.lines;if(y.length===1)u[t]=l.substring(0,i)+s.lines[0]+l.substring(i);else{var T=[t,1].concat(s.lines);u.splice.apply(u,T),u[t]=l.substring(0,i)+u[t],u[t+s.lines.length-1]+=l.substring(i)}break;case"remove":var L=s.end.column,C=s.end.row;t===C?u[t]=l.substring(0,i)+l.substring(L):u.splice(t,C-t+1,l.substring(0,i)+u[C].substring(L));break}}}),ace.define("ace/lib/event_emitter",[],function(M,K,re){"use strict";var U={},j=function(){this.propagationStopped=!0},c=function(){this.defaultPrevented=!0};U._emit=U._dispatchEvent=function(u,s){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var o=this._eventRegistry[u]||[],t=this._defaultHandlers[u];if(!(!o.length&&!t)){(typeof s!="object"||!s)&&(s={}),s.type||(s.type=u),s.stopPropagation||(s.stopPropagation=j),s.preventDefault||(s.preventDefault=c),o=o.slice();for(var i=0;i ["+this.end.row+"/"+this.end.column+"]"},c.prototype.contains=function(u,s){return this.compare(u,s)==0},c.prototype.compareRange=function(u){var s,o=u.end,t=u.start;return s=this.compare(o.row,o.column),s==1?(s=this.compare(t.row,t.column),s==1?2:s==0?1:0):s==-1?-2:(s=this.compare(t.row,t.column),s==-1?-1:s==1?42:0)},c.prototype.comparePoint=function(u){return this.compare(u.row,u.column)},c.prototype.containsRange=function(u){return this.comparePoint(u.start)==0&&this.comparePoint(u.end)==0},c.prototype.intersects=function(u){var s=this.compareRange(u);return s==-1||s==0||s==1},c.prototype.isEnd=function(u,s){return this.end.row==u&&this.end.column==s},c.prototype.isStart=function(u,s){return this.start.row==u&&this.start.column==s},c.prototype.setStart=function(u,s){typeof u=="object"?(this.start.column=u.column,this.start.row=u.row):(this.start.row=u,this.start.column=s)},c.prototype.setEnd=function(u,s){typeof u=="object"?(this.end.column=u.column,this.end.row=u.row):(this.end.row=u,this.end.column=s)},c.prototype.inside=function(u,s){return this.compare(u,s)==0?!(this.isEnd(u,s)||this.isStart(u,s)):!1},c.prototype.insideStart=function(u,s){return this.compare(u,s)==0?!this.isEnd(u,s):!1},c.prototype.insideEnd=function(u,s){return this.compare(u,s)==0?!this.isStart(u,s):!1},c.prototype.compare=function(u,s){return!this.isMultiLine()&&u===this.start.row?sthis.end.column?1:0:uthis.end.row?1:this.start.row===u?s>=this.start.column?0:-1:this.end.row===u?s<=this.end.column?0:1:0},c.prototype.compareStart=function(u,s){return this.start.row==u&&this.start.column==s?-1:this.compare(u,s)},c.prototype.compareEnd=function(u,s){return this.end.row==u&&this.end.column==s?1:this.compare(u,s)},c.prototype.compareInside=function(u,s){return this.end.row==u&&this.end.column==s?1:this.start.row==u&&this.start.column==s?-1:this.compare(u,s)},c.prototype.clipRows=function(u,s){if(this.end.row>s)var o={row:s+1,column:0};else if(this.end.rows)var t={row:s+1,column:0};else if(this.start.rowthis.row)){var i=s(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(i.row,i.column,!0)}},o.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})}},o.prototype.detach=function(){this.document.off("change",this.$onChange)},o.prototype.attach=function(t){this.document=t||this.document,this.document.on("change",this.$onChange)},o.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},o}();c.prototype.$insertRight=!1,U.implement(c.prototype,j);function u(o,t,i){var l=i?o.column<=t.column:o.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 u||(i=u.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]:!u.comparePoints(i.start,i.end))||(y&&i.lines.length>2e4?this.$splitAndapplyLargeDelta(i,2e4):(j(this.$lines,i,l),this._signal("change",i)))},t.prototype.$safeApplyDelta=function(i){var l=this.$lines.length;(i.action=="remove"&&i.start.row0;)u&1&&(s+=c),(u>>=1)&&(c+=c);return s};var U=/^\s\s*/,j=/\s\s*$/;K.stringTrimLeft=function(c){return c.replace(U,"")},K.stringTrimRight=function(c){return c.replace(j,"")},K.copyObject=function(c){var u={};for(var s in c)u[s]=c[s];return u},K.copyArray=function(c){for(var u=[],s=0,o=c.length;s=s.$lines.length)throw L=new Error("Invalid delta"),L.data={path:t.$path,linesLength:s.$lines.length,start:T.start,end:T.end},L;s.applyDelta(T,!0)}if(t.$timeout)return o.schedule(t.$timeout);t.onUpdate()})};(function(){this.$timeout=500,this.setTimeout=function(u){this.$timeout=u},this.setValue=function(u){this.doc.setValue(u),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(u){this.sender.callback(this.doc.getValue(),u)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(c.prototype)}),ace.define("ace/mode/yaml/yaml-lint",[],function(M,K,re){var U={require:M,exports:K,module:re};K=void 0,re=void 0;function j(c,u,s){typeof c=="function"&&(s=c,u=["require","exports","module"],c=U.module.id),typeof c!="string"&&(s=u,u=c,c=U.module.id),s||(s=u,u=[]);var o=typeof s=="function"?s.apply(U.module,u.map(function(t){return U[t]||M(t)})):s;o!=null&&(U.module.exports=o)}j.amd=!0,function(c){if(typeof K=="object"&&typeof re!="undefined")re.exports=c();else if(typeof j=="function"&&j.amd)j([],c);else{var u;typeof window!="undefined"?u=window:typeof Ze.g!="undefined"?u=Ze.g:typeof self!="undefined"?u=self:u=this,u.lint=c()}}(function(){var c,u,s;return function(){function o(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,o,t,i,l)}return i[C].exports}for(var T=typeof M=="function"&&M,L=0;L=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!==Re&&n!==Ee&&n!==be&&n!==te&&n!==N}function Q(n){return oe(n)&&n!==65279&&!Te(n)&&n!==he&&n!==ie&&n!==te&&n!==pe&&n!==Ne&&n!==Re&&n!==Ee&&n!==be&&n!==N&&n!==ee&&n!==X&&n!==m&&n!==ze&&n!==fe&&n!==$&&n!==w&&n!==R&&n!==de&&n!==Ge}function xe(n){var f=/^\n* /;return f.test(n)}var ae=1,Fe=2,Le=3,Oe=4,ge=5;function je(n,f,h,x,v){var F,O,S=!1,P=!1,D=x!==-1,B=-1,W=Q(n.charCodeAt(0))&&!Te(n.charCodeAt(n.length-1));if(f)for(F=0;Fx&&n[B+1]!==" ",B=F);else if(!oe(O))return ge;W=W&&V(O)}P=P||D&&F-B-1>x&&n[B+1]!==" "}return!S&&!P?W&&!v(n)?ae:Fe:h>9&&xe(n)?ge:P?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(P){return se(n,P)}switch(je(f,O,n.indent,F,S)){case ae: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],P=O[2];F=P[0]===" ",x+=S+(!v&&!F&&P!==""?` `:"")+Be(P,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,P="";x=h.exec(n);)S=x.index,S-v>f&&(F=O>v?O:S,P+=` `+n.slice(v,F),v=F+1),O=S;return P+=` `,n.length-v>f&&O>v?P+=n.slice(v,O)+` `+n.slice(O+1):P+=n.slice(v),P.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=ne[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&&(B+="? "),B+=n.dump+(n.condenseFlow?'"':"")+":"+(n.condenseFlow?"":" "),!!ue(n,f,D,!1,!1)&&(B+=n.dump,x+=B));n.tag=v,n.dump="{"+x+"}"}function _e(n,f,h,x){var v="",F=n.tag,O=Object.keys(h),S,P,D,B,W,Y;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,P=O.length;S1024,W&&(n.dump&&E===n.dump.charCodeAt(0)?Y+="?":Y+="? "),Y+=n.dump,W&&(Y+=we(n,f)),!!ue(n,f+1,B,!0,W)&&(n.dump&&E===n.dump.charCodeAt(0)?Y+=":":Y+=": ",Y+=n.dump,v+=Y));n.tag=F,n.dump=v||"{}"}function Ce(n,f,h){var x,v,F,O,S,P;for(v=h?n.explicitTypes:n.implicitTypes,F=0,O=v.length;F tag resolver accepts not "'+P+'" 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]",P,D;if(S&&(P=n.duplicates.indexOf(h),D=P!==-1),(n.tag!==null&&n.tag!=="?"||D||n.indent!==2&&f>0)&&(v=!1),D&&n.usedDuplicates[P])n.dump="*ref_"+P;else{if(S&&D&&!n.usedDuplicates[P]&&(n.usedDuplicates[P]=!0),O==="[object Object]")x&&Object.keys(n.dump).length!==0?(_e(n,f,n.dump,v),D&&(n.dump="&ref_"+P+n.dump)):(Ie(n,f,n.dump),D&&(n.dump="&ref_"+P+" "+n.dump));else if(O==="[object Array]"){var B=n.noArrayIndent&&f>0?f-1:f;x&&n.dump.length!==0?($e(n,B,n.dump,v),D&&(n.dump="&ref_"+P+n.dump)):(De(n,B,n.dump),D&&(n.dump="&ref_"+P+" "+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 Re(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?"":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),ne=new Array(256),me=0;me<256;me++)be[me]=Ee(me)?1:0,ne[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 se(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,P=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&&(se(e,f,h,!1),ae(e,e.line-v),f=h=e.position,x=!1),fe(D)||(h=e.position+1),D=e.input.charCodeAt(++e.position)}return se(e,f,h,!1),e.result?!0:(e.kind=S,e.result=P,!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(se(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)?(se(e,I,n,!0),ae(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 se(e,b,e.position,!0),e.position++,!0;if(x===92){if(se(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+=ne[x],e.position++;else if((h=Re(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)?(se(e,b,I,!0),ae(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,P={},D,B,W,Y;if(Y=e.input.charCodeAt(e.position),Y===91)v=93,S=!1,f=[];else if(Y===123)v=125,S=!0,f={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=f),Y=e.input.charCodeAt(++e.position);Y!==0;){if(Q(e,!0,g),Y=e.input.charCodeAt(e.position),Y===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"),B=D=W=null,F=O=!1,Y===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),B=e.tag,D=e.result,Q(e,!0,g),Y=e.input.charCodeAt(e.position),(O||e.line===I)&&Y===58&&(F=!0,Y=e.input.charCodeAt(++e.position),Q(e,!0,g),ye(e,g,_,!1,!0),W=e.result),S?oe(e,f,P,B,D,W):F?f.push(oe(e,null,P,B,D,W)):f.push(D),Q(e,!0,g),Y=e.input.charCodeAt(e.position),Y===44?(b=!0,Y=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?R:N: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)&&(B?P=e.result:D=e.result),B||(oe(e,F,O,S,P,D,f,h),S=P=D=null),Q(e,!0,-1),Y=e.input.charCodeAt(e.position)),e.lineIndent>g&&Y!==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&&$.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(o,t,i){"use strict";var l=o("./common"),y=o("./exception"),T=o("./type");function L(_,E,p){var m=[];return _.include.forEach(function(w){p=L(w,E,p)}),_[E].forEach(function(w){p.forEach(function(N,R){N.tag===w.tag&&N.kind===w.kind&&m.push(R)}),p.push(w)}),p.filter(function(w,N){return m.indexOf(N)===-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;N+=6}return N%8==0}function A(p){var m,w,N=p.replace(/[\r\n=]/g,""),R=N.length,ee=L,$=0,X=[];for(m=0;m>16&255),X.push($>>8&255),X.push($&255)),$=$<<6|ee.indexOf(N.charAt(m));return w=R%4*6,w===0?(X.push($>>16&255),X.push($>>8&255),X.push($&255)):w===18?(X.push($>>10&255),X.push($>>2&255)):w===12&&X.push($>>4&255),l?l.from?l.from(X):new l(X):X}function _(p){var m="",w=0,N,R,ee=p.length,$=L;for(N=0;N>18&63],m+=$[w>>12&63],m+=$[w>>6&63],m+=$[w&63]),w=(w<<8)+p[N];return R=ee%3,R===0?(m+=$[w>>18&63],m+=$[w>>12&63],m+=$[w>>6&63],m+=$[w&63]):R===2?(m+=$[w>>10&63],m+=$[w>>4&63],m+=$[w<<2&63],m+=$[64]):R===1&&(m+=$[w>>2&63],m+=$[w<<4&63],m+=$[64],m+=$[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(o,t,i){"use strict";var l=o("../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(o,t,i){"use strict";var l=o("../common"),y=o("../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,N,R;return m=p.replace(/_/g,"").toLowerCase(),w=m[0]==="-"?-1:1,R=[],"+-".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){R.unshift(parseFloat(ee,10))}),m=0,N=1,R.forEach(function(ee){m+=ee*N,N*=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(o,t,i){"use strict";var l=o("../common"),y=o("../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,N=!1,R;if(!m)return!1;if(R=p[w],(R==="-"||R==="+")&&(R=p[++w]),R==="0"){if(w+1===m)return!0;if(R=p[++w],R==="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(o,t,i){"use strict";var l;try{var y=o;l=y("esprima")}catch(E){typeof window!="undefined"&&(l=window.esprima)}var T=o("../../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(w){return!1}}function C(E){var p="("+E+")",m=l.parse(p,{range:!0}),w=[],N;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(R){w.push(R.name)}),N=m.body[0].expression.body.range,m.body[0].expression.body.type==="BlockStatement"?new Function(w,p.slice(N[0]+1,N[1]-1)):new Function(w,"return "+p.slice(N[0],N[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(o,t,i){"use strict";var l=o("../../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(o,t,i){"use strict";var l=o("../../type");function y(){return!0}function T(){}function L(){return""}function C(A){return typeof A=="undefined"}t.exports=new l("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:y,construct:T,predicate:C,represent:L})},{"../../type":16}],24:[function(o,t,i){"use strict";var l=o("../type");t.exports=new l("tag:yaml.org,2002:map",{kind:"mapping",construct:function(y){return y!==null?y:{}}})},{"../type":16}],25:[function(o,t,i){"use strict";var l=o("../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(o,t,i){"use strict";var l=o("../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(o,t,i){"use strict";var l=o("../type"),y=Object.prototype.hasOwnProperty,T=Object.prototype.toString;function L(A){if(A===null)return!0;var _=[],E,p,m,w,N,R=A;for(E=0,p=R.length;E-1}function kn(r,a){var d=this.__data__,k=qe(d,r);return k<0?(++this.size,d.push([r,a])):d[k][1]=a,this}Ae.prototype.clear=Mn,Ae.prototype.delete=Dn,Ae.prototype.get=In,Ae.prototype.has=Pn,Ae.prototype.set=kn;function Ye(r){var a=-1,d=r==null?0:r.length;for(this.clear();++a1?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),a=Object(a);++k-1&&r%1==0&&r0){if(++a>=L)return arguments[0]}else a=0;return r.apply(void 0,arguments)}}function vr(r){if(r!=null){try{return ue.call(r)}catch(a){}try{return r+""}catch(a){}}return""}function rn(r,a){return r===a||r!==r&&a!==a}var ln=dn(function(){return arguments}())?dn:function(r){return Qe(r)&&e.call(r,"callee")&&!S.call(r,"callee")},sn=Array.isArray;function an(r){return r!=null&&xn(r.length)&&!cn(r)}function xr(r){return Qe(r)&&an(r)}var vn=W||Er;function cn(r){if(!ke(r))return!1;var a=en(r);return a==R||a==ee||a==p||a==te}function xn(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=A}function ke(r){var a=typeof r;return r!=null&&(a=="object"||a=="function")}function Qe(r){return r!=null&&typeof r=="object"}function _r(r){if(!Qe(r)||en(r)!=he)return!1;var a=F(r);if(a===null)return!0;var d=e.call(a,"constructor")&&a.constructor;return typeof d=="function"&&d instanceof d&&ue.call(d)==I}var _n=Me?We(Me):Qn;function Ar(r){return or(r,An(r))}function An(r){return an(r)?zn(r,!0):Xn(r)}var wr=ur(function(r,a,d){mn(r,a,d)});function Cr(r){return function(){return r}}function wn(r){return r}function Er(){return!1}t.exports=wr}).call(this,typeof Ze.g!="undefined"?Ze.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[2])(2)})}),ace.define("ace/mode/yaml_worker",[],function(M,K){"use strict";var re=M("../lib/oop"),U=M("../worker/mirror").Mirror,j=M("./yaml/yaml-lint").lint,c=K.YamlWorker=function(u){U.call(this,u),this.setTimeout(500),this.setOptions()};re.inherits(c,U),function(){this.setOptions=function(){this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.changeOptions=function(u){re.mixin(this.options,u),this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.onUpdate=function(){var u=this,s=this.doc.getValue(),o=[];j(s,{},function(t){if(!t){u.sender.emit("annotate",o);return}o.push({row:t.mark.line,column:t.mark.column,text:t.reason,type:"error",raw:t}),u.sender.emit("annotate",o)})}}.call(c.prototype)})}}]);