(this.webpackChunktocco_legacy_bundle=this.webpackChunktocco_legacy_bundle||[]).push([[29369],{29369(e,t,i){e=i.nmd(e),ace.define("ace/mode/csv_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,i){"use strict";var s=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,r=function(){o.call(this)};s.inherits(r,o),t.CsvHighlightRules=r})),ace.define("ace/mode/csv",["require","exports","module","ace/lib/oop","ace/mode/text","ace/lib/lang","ace/mode/csv_highlight_rules"],(function(e,t,i){"use strict";var s=e("../lib/oop"),o=e("./text").Mode,r=e("../lib/lang").escapeRegExp,n=e("./csv_highlight_rules").CsvHighlightRules,l=function(e){this.HighlightRules=n,e||(e={});var t=[e.splitter||",",e.quote||'"'].map(r).join("|");this.$tokenizer={getLineTokens:function(e,t,i){return function(e,t,i){for(var s=[],o=e.split(i.separatorRegex),r=i.spliter,n=i.quote||'"',l=(t||"start").split("-"),a=parseInt(l[1])||0,c="string"==l[0],u=!c,g=0;g<o.length;g++){var p=o[g];if(p){var v=!1;p!=r||c?p==n?u?(c=!0,u=!1):c&&(""==o[g+1]&&o[g+2]==n?(p=n+n,g+=2):c=!1):u=!1:(a++,u=!0,v=!0),s.push({value:p,type:h[a%h.length]+".csv_"+a+(v?".csv_separator":"")})}}return{tokens:s,state:c?"string-"+a:"start"}}(e,t,this.options)},options:{quotes:e.quote||'"',separatorRegex:new RegExp("("+t+")"),spliter:e.splitter||","},states:{}},this.$highlightRules=new this.HighlightRules};s.inherits(l,o),function(){this.getTokenizer=function(){return this.$tokenizer},this.$id="ace/mode/csv"}.call(l.prototype),t.Mode=l;var h=["keyword","text","string","string.regex","variable","constant.numeric"]})),ace.require(["ace/mode/csv"],(function(t){e&&(e.exports=t)}))}}]);