(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[84743],{84743:function(p,b,v){p=v.nmd(p),ace.define("ace/mode/terraform_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(n,d,k){"use strict";var h=n("../lib/oop"),g=n("./text_highlight_rules").TextHighlightRules,o=function(){this.$rules={start:[{token:["storage.function.terraform"],regex:"\\b(output|resource|data|variable|module|export)\\b"},{token:"variable.terraform",regex:"\\$\\s",push:[{token:"keyword.terraform",regex:"(-var-file|-var)"},{token:"variable.terraform",regex:"\\n|$",next:"pop"},{include:"strings"},{include:"variables"},{include:"operators"},{defaultToken:"text"}]},{token:"language.support.class",regex:"\\b(timeouts|provider|connection|provisioner|lifecycleprovider|atlas)\\b"},{token:"singleline.comment.terraform",regex:"#.*$"},{token:"singleline.comment.terraform",regex:"//.*$"},{token:"multiline.comment.begin.terraform",regex:/\/\*/,push:"blockComment"},{token:"storage.function.terraform",regex:"^\\s*(locals|terraform)\\s*{"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{include:"constants"},{include:"strings"},{include:"operators"},{include:"variables"}],blockComment:[{regex:/\*\//,token:"multiline.comment.end.terraform",next:"pop"},{defaultToken:"comment"}],constants:[{token:"constant.language.terraform",regex:"\\b(true|false|yes|no|on|off|EOF)\\b"},{token:"constant.numeric.terraform",regex:"(\\b([0-9]+)([kKmMgG]b?)?\\b)|(\\b(0x[0-9A-Fa-f]+)([kKmMgG]b?)?\\b)"}],variables:[{token:["variable.assignment.terraform","keyword.operator"],regex:"\\b([a-zA-Z_]+)(\\s*=)"}],interpolated_variables:[{token:"variable.terraform",regex:"\\b(var|self|count|path|local)\\b(?:\\.*[a-zA-Z_-]*)?"}],strings:[{token:"punctuation.quote.terraform",regex:"'",push:[{token:"punctuation.quote.terraform",regex:"'",next:"pop"},{include:"escaped_chars"},{defaultToken:"string"}]},{token:"punctuation.quote.terraform",regex:'"',push:[{token:"punctuation.quote.terraform",regex:'"',next:"pop"},{include:"interpolation"},{include:"escaped_chars"},{defaultToken:"string"}]}],escaped_chars:[{token:"constant.escaped_char.terraform",regex:"\\\\."}],operators:[{token:"keyword.operator",regex:"\\?|:|==|!=|>|<|>=|<=|&&|\\|\\||!|%|&|\\*|\\+|\\-|/|="}],interpolation:[{token:"punctuation.interpolated.begin.terraform",regex:"\\$?\\$\\{",push:[{token:"punctuation.interpolated.end.terraform",regex:"\\}",next:"pop"},{include:"interpolated_variables"},{include:"operators"},{include:"constants"},{include:"strings"},{include:"functions"},{include:"parenthesis"},{defaultToken:"punctuation"}]}],functions:[{token:"keyword.function.terraform",regex:"\\b(abs|basename|base64decode|base64encode|base64gzip|base64sha256|base64sha512|bcrypt|ceil|chomp|chunklist|cidrhost|cidrnetmask|cidrsubnet|coalesce|coalescelist|compact|concat|contains|dirname|distinct|element|file|floor|flatten|format|formatlist|indent|index|join|jsonencode|keys|length|list|log|lookup|lower|map|matchkeys|max|merge|min|md5|pathexpand|pow|replace|rsadecrypt|sha1|sha256|sha512|signum|slice|sort|split|substr|timestamp|timeadd|title|transpose|trimspace|upper|urlencode|uuid|values|zipmap)\\b"}],parenthesis:[{token:"paren.lparen",regex:"\\["},{token:"paren.rparen",regex:"\\]"}]},this.normalizeRules()};h.inherits(o,g),d.TerraformHighlightRules=o}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(n,d,k){"use strict";var h=n("../../lib/oop"),g=n("../../range").Range,o=n("./fold_mode").FoldMode,s=d.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};h.inherits(s,o),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(e,r,t){var i=e.getLine(t);if(this.singleLineBlockCommentRe.test(i)&&!this.startRegionRe.test(i)&&!this.tripleStarBlockCommentRe.test(i))return"";var l=this._getFoldWidgetBase(e,r,t);return!l&&this.startRegionRe.test(i)?"start":l},this.getFoldWidgetRange=function(e,r,t,i){var l=e.getLine(t);if(this.startRegionRe.test(l))return this.getCommentRegionBlock(e,l,t);var a=l.match(this.foldingStartMarker);if(a){var c=a.index;if(a[1])return this.openingBracketBlock(e,a[1],t,c);var u=e.getCommentFoldRange(t,c+a[0].length,1);return u&&!u.isMultiLine()&&(i?u=this.getSectionRange(e,t):r!="all"&&(u=null)),u}if(r!=="markbegin"){var a=l.match(this.foldingStopMarker);if(a){var c=a.index+a[0].length;return a[1]?this.closingBracketBlock(e,a[1],t,c):e.getCommentFoldRange(t,c,-1)}}},this.getSectionRange=function(e,r){var t=e.getLine(r),i=t.search(/\S/),l=r,a=t.length;r=r+1;for(var c=r,u=e.getLength();++rf)break;var m=this.getFoldWidgetRange(e,"all",r);if(m){if(m.start.row<=l)break;if(m.isMultiLine())r=m.end.row;else if(i==f)break}c=r}}return new g(l,a,c,e.getLine(c).length)},this.getCommentRegionBlock=function(e,r,t){for(var i=r.search(/\s*$/),l=e.getLength(),a=t,c=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,u=1;++ta)return new g(a,i,m,r.length)}}.call(s.prototype)}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(n,d,k){"use strict";var h=n("../range").Range,g=function(){};(function(){this.checkOutdent=function(o,s){return/^\s+$/.test(o)?/^\s*\}/.test(s):!1},this.autoOutdent=function(o,s){var e=o.getLine(s),r=e.match(/^(\s*\})/);if(!r)return 0;var t=r[1].length,i=o.findMatchingBracket({row:s,column:t});if(!i||i.row==s)return 0;var l=this.$getIndent(o.getLine(i.row));o.replace(new h(s,0,s,t-1),l)},this.$getIndent=function(o){return o.match(/^\s*/)[0]}}).call(g.prototype),d.MatchingBraceOutdent=g}),ace.define("ace/mode/terraform",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/terraform_highlight_rules","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle","ace/mode/matching_brace_outdent"],function(n,d,k){"use strict";var h=n("../lib/oop"),g=n("./text").Mode,o=n("./terraform_highlight_rules").TerraformHighlightRules,s=n("./behaviour/cstyle").CstyleBehaviour,e=n("./folding/cstyle").FoldMode,r=n("./matching_brace_outdent").MatchingBraceOutdent,t=function(){g.call(this),this.HighlightRules=o,this.$outdent=new r,this.$behaviour=new s,this.foldingRules=new e};h.inherits(t,g),function(){this.lineCommentStart=["#","//"],this.blockComment={start:"/*",end:"*/"},this.$id="ace/mode/terraform"}.call(t.prototype),d.Mode=t}),function(){ace.require(["ace/mode/terraform"],function(n){p&&(p.exports=n)})}()}}]);