(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[17778],{17778:function(o,d,k){o=k.nmd(o),ace.define("ace/mode/gherkin_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(t,g,x){var s=t("../lib/oop"),h=t("./text_highlight_rules").TextHighlightRules,a=`\\\\(x[0-9A-Fa-f]{2}|[0-7]{3}|[\\\\abfnrtv'"]|U[0-9A-Fa-f]{8}|u[0-9A-Fa-f]{4})`,r=function(){var i=[{name:"en",labels:"Feature|Background|Scenario(?: Outline)?|Examples",keywords:"Given|When|Then|And|But"}],n=i.map(function(e){return e.labels}).join("|"),u=i.map(function(e){return e.keywords}).join("|");this.$rules={start:[{token:"constant.numeric",regex:"(?:(?:[1-9]\\d*)|(?:0))"},{token:"comment",regex:"#.*$"},{token:"keyword",regex:"(?:"+n+"):|(?:"+u+")\\b"},{token:"keyword",regex:"\\*"},{token:"string",regex:'"{3}',next:"qqstring3"},{token:"string",regex:'"',next:"qqstring"},{token:"text",regex:"^\\s*(?=@[\\w])",next:[{token:"text",regex:"\\s+"},{token:"variable.parameter",regex:"@[\\w]+"},{token:"empty",regex:"",next:"start"}]},{token:"comment",regex:"<[^>]+>"},{token:"comment",regex:"\\|(?=.)",next:"table-item"},{token:"comment",regex:"\\|$",next:"start"}],qqstring3:[{token:"constant.language.escape",regex:a},{token:"string",regex:'"{3}',next:"start"},{defaultToken:"string"}],qqstring:[{token:"constant.language.escape",regex:a},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],"table-item":[{token:"comment",regex:/$/,next:"start"},{token:"comment",regex:/\|/},{token:"string",regex:/\\./},{defaultToken:"string"}]},this.normalizeRules()};s.inherits(r,h),g.GherkinHighlightRules=r}),ace.define("ace/mode/gherkin",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gherkin_highlight_rules"],function(t,g,x){var s=t("../lib/oop"),h=t("./text").Mode,a=t("./gherkin_highlight_rules").GherkinHighlightRules,r=function(){this.HighlightRules=a,this.$behaviour=this.$defaultBehaviour};s.inherits(r,h),function(){this.lineCommentStart="#",this.$id="ace/mode/gherkin",this.getNextLineIndent=function(i,n,u){var e=this.$getIndent(n),c=" ",m=this.getTokenizer().getLineTokens(n,i),l=m.tokens;return n.match("[ ]*\\|")&&(e+="| "),l.length&&l[l.length-1].type=="comment"||i=="start"&&(n.match("Scenario:|Feature:|Scenario Outline:|Background:")||n.match("(Given|Then).+(:)$|Examples:")?e+=c:n.match("\\*.+")&&(e+="* ")),e}}.call(r.prototype),g.Mode=r}),function(){ace.require(["ace/mode/gherkin"],function(t){o&&(o.exports=t)})}()}}]);