"use strict";(self.webpackChunksc_note_comment=self.webpackChunksc_note_comment||[]).push([[8018],{8018(o,r,u){u.d(r,{toml:()=>f});const f={name:"toml",startState:function(){return{inString:!1,stringType:"",lhs:!0,inArray:0}},token:function(n,e){let i;if(!e.inString&&(i=n.match(/^('''|"""|'|")/))&&(e.stringType=i[0],e.inString=!0),n.sol()&&!e.inString&&0===e.inArray&&(e.lhs=!0),e.inString){for(;e.inString;)if(n.match(e.stringType))e.inString=!1;else if("\\"===n.peek())n.next(),n.next();else{if(n.eol())break;n.match(/^.[^\\\"\']*/)}return e.lhs?"property":"string"}return e.inArray&&"]"===n.peek()?(n.next(),e.inArray--,"bracket"):e.lhs&&"["===n.peek()&&n.skipTo("]")?(n.next(),"]"===n.peek()&&n.next(),"atom"):"#"===n.peek()?(n.skipToEnd(),"comment"):n.eatSpace()?null:e.lhs&&n.eatWhile(function(l){return"="!=l&&" "!=l})?"property":e.lhs&&"="===n.peek()?(n.next(),e.lhs=!1,null):!e.lhs&&n.match(/^\d\d\d\d[\d\-\:\.T]*Z/)?"atom":e.lhs||!n.match("true")&&!n.match("false")?e.lhs||"["!==n.peek()?!e.lhs&&n.match(/^\-?\d+(?:\.\d+)?/)?"number":(n.eatSpace()||n.next(),null):(e.inArray++,n.next(),"bracket"):"atom"},languageData:{commentTokens:{line:"#"}}}}}]);