"use strict";(self.webpackChunksc_components=self.webpackChunksc_components||[]).push([[1094],{31094(a,f,p){function o(n){for(var e={},i=n.split(" "),r=0;r<i.length;++r)e[i[r]]=!0;return e}p.d(f,{sieve:()=>h});var c=o("if elsif else stop require"),k=o("true false not");function t(n,e){var i=n.next();if("/"==i&&n.eat("*"))return e.tokenize=l,l(n,e);if("#"===i)return n.skipToEnd(),"comment";if('"'==i)return e.tokenize=function _(n){return function(e,i){for(var u,r=!1;null!=(u=e.next())&&(u!=n||r);)r=!r&&"\\"==u;return r||(i.tokenize=t),"string"}}(i),e.tokenize(n,e);if("("==i)return e._indent.push("("),e._indent.push("{"),null;if("{"===i)return e._indent.push("{"),null;if(")"==i&&(e._indent.pop(),e._indent.pop()),"}"===i)return e._indent.pop(),null;if(","==i||";"==i||/[{}\(\),;]/.test(i))return null;if(/\d/.test(i))return n.eatWhile(/[\d]/),n.eat(/[KkMmGg]/),"number";if(":"==i)return n.eatWhile(/[a-zA-Z_]/),n.eatWhile(/[a-zA-Z0-9_]/),"operator";n.eatWhile(/\w/);var r=n.current();return"text"==r&&n.eat(":")?(e.tokenize=d,"string"):c.propertyIsEnumerable(r)?"keyword":k.propertyIsEnumerable(r)?"atom":null}function d(n,e){return e._multiLineString=!0,n.sol()?("."==n.next()&&n.eol()&&(e._multiLineString=!1,e.tokenize=t),"string"):(n.eatSpace(),"#"==n.peek()?(n.skipToEnd(),"comment"):(n.skipToEnd(),"string"))}function l(n,e){for(var r,i=!1;null!=(r=n.next());){if(i&&"/"==r){e.tokenize=t;break}i="*"==r}return"comment"}const h={name:"sieve",startState:function(n){return{tokenize:t,baseIndent:n||0,_indent:[]}},token:function(n,e){return n.eatSpace()?null:(e.tokenize||t)(n,e)},indent:function(n,e,i){var r=n._indent.length;return e&&"}"==e[0]&&r--,r<0&&(r=0),r*i.unit},languageData:{indentOnInput:/^\s*\}$/}}}}]);