(this.webpackChunktocco_admin=this.webpackChunktocco_admin||[]).push([[55677],{55677(e,t,n){e=n.nmd(e),ace.define("ace/mode/c9search_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("../lib/lang"),a=e("./text_highlight_rules").TextHighlightRules;var o=function(){this.$rules={start:[{tokenNames:["c9searchresults.constant.numeric","c9searchresults.text","c9searchresults.text","c9searchresults.keyword"],regex:/(^\s+[0-9]+)(:)(\d*\s?)([^\r\n]+)/,onMatch:function(e,t,n){var r=this.splitRegex.exec(e),i=this.tokenNames,a=[{type:i[0],value:r[1]},{type:i[1],value:r[2]}];r[3]&&(" "==r[3]?a[1]={type:i[1],value:r[2]+" "}:a.push({type:i[1],value:r[3]}));var o,s=n[1],c=r[4],u=0;if(s&&s.exec)for(s.lastIndex=0;o=s.exec(c);){var h=c.substring(u,o.index);if(u=s.lastIndex,h&&a.push({type:i[2],value:h}),o[0])a.push({type:i[3],value:o[0]});else if(!h)break}return u<c.length&&a.push({type:i[2],value:c.substr(u)}),a}},{regex:"^Searching for [^\\r\\n]*$",onMatch:function(e,t,n){var r,a,o=e.split("");if(o.length<3)return"text";var s=0,c=[{value:o[s++]+"'",type:"text"},{value:a=o[s++],type:"text"},{value:"'"+o[s++],type:"text"}];for(" in"!==o[2]&&c.push({value:"'"+o[s++]+"'",type:"text"},{value:o[s++],type:"text"}),c.push({value:" "+o[s++]+" ",type:"text"}),o[s+1]?(r=o[s+1],c.push({value:"("+o[s+1]+")",type:"text"}),s+=1):s-=1;s++<o.length;)o[s]&&c.push({value:o[s],type:"text"});a&&(/regex/.test(r)||(a=i.escapeRegExp(a)),/whole/.test(r)&&(a="\\b"+a+"\\b"));var u=a&&function(e,t){try{return new RegExp(e,t)}catch(e){}}("("+a+")",/ sensitive/.test(r)?"g":"ig");return u&&(n[0]=t,n[1]=u),c}},{regex:"^(?=Found \\d+ matches)",token:"text",next:"numbers"},{token:"string",regex:"^\\S:?[^:]+",next:"numbers"}],numbers:[{regex:"\\d+",token:"constant.numeric"},{regex:"$",token:"text",next:"start"}]},this.normalizeRules()};r.inherits(o,a),t.C9SearchHighlightRules=o})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t).match(/^(\s*\})/);if(!n)return 0;var i=n[1].length,a=e.findMatchingBracket({row:t,column:i});if(!a||a.row==t)return 0;var o=this.$getIndent(e.getLine(a.row));e.replace(new r(t,0,t,i-1),o)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i})),ace.define("ace/mode/folding/c9search",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,a=e("./fold_mode").FoldMode,o=t.FoldMode=function(){};r.inherits(o,a),function(){this.foldingStartMarker=/^(\S.*:|Searching for.*)$/,this.foldingStopMarker=/^(\s+|Found.*)$/,this.getFoldWidgetRange=function(e,t,n){var r=e.doc.getAllLines(n),a=r[n],o=/^(Found.*|Searching for.*)$/,s=o.test(a)?o:/^(\S.*:|\s*)$/,c=n,u=n;if(this.foldingStartMarker.test(a)){for(var h=n+1,l=e.getLength();h<l&&!s.test(r[h]);h++);u=h}else if(this.foldingStopMarker.test(a)){for(h=n-1;h>=0&&(a=r[h],!s.test(a));h--);c=h}if(c!=u){var d=a.length;return s===o&&(d=a.search(/\(Found[^)]+\)$|$/)),new i(c,d,u,0)}}}.call(o.prototype)})),ace.define("ace/mode/c9search",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/c9search_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/c9search"],(function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,a=e("./c9search_highlight_rules").C9SearchHighlightRules,o=e("./matching_brace_outdent").MatchingBraceOutdent,s=e("./folding/c9search").FoldMode,c=function(){this.HighlightRules=a,this.$outdent=new o,this.foldingRules=new s};r.inherits(c,i),function(){this.getNextLineIndent=function(e,t,n){return this.$getIndent(t)},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.$id="ace/mode/c9search"}.call(c.prototype),t.Mode=c})),ace.require(["ace/mode/c9search"],(function(t){e&&(e.exports=t)}))}}]);