"use strict";(self.webpackChunksc_components=self.webpackChunksc_components||[]).push([[3046],{73046(z,x,w){function p(e,i){for(var n=0;n<e.length;n++)i(e[n],n)}function v(e,i){for(var n=0;n<e.length;n++)if(i(e[n],n))return!0;return!1}w.d(x,{dylan:()=>C});var t={unnamedDefinition:["interface"],namedDefinition:["module","library","macro","C-struct","C-union","C-function","C-callable-wrapper"],typeParameterizedDefinition:["class","C-subtype","C-mapped-subtype"],otherParameterizedDefinition:["method","function","C-variable","C-address"],constantSimpleDefinition:["constant"],variableSimpleDefinition:["variable"],otherSimpleDefinition:["generic","domain","C-pointer-type","table"],statement:["if","block","begin","method","case","for","select","when","unless","until","while","iterate","profiling","dynamic-bind"],separator:["finally","exception","cleanup","else","elseif","afterwards"],other:["above","below","by","from","handler","in","instance","let","local","otherwise","slot","subclass","then","to","keyed-by","virtual"],signalingCalls:["signal","error","cerror","break","check-type","abort"]};t.otherDefinition=t.unnamedDefinition.concat(t.namedDefinition).concat(t.otherParameterizedDefinition),t.definition=t.typeParameterizedDefinition.concat(t.otherDefinition),t.parameterizedDefinition=t.typeParameterizedDefinition.concat(t.otherParameterizedDefinition),t.simpleDefinition=t.constantSimpleDefinition.concat(t.variableSimpleDefinition).concat(t.otherSimpleDefinition),t.keyword=t.statement.concat(t.separator).concat(t.other);var f="[-_a-zA-Z?!*@<>$%]+",D=new RegExp("^"+f),a={symbolKeyword:f+":",symbolClass:"<"+f+">",symbolGlobal:"\\*"+f+"\\*",symbolConstant:"\\$"+f},m={symbolKeyword:"atom",symbolClass:"tag",symbolGlobal:"variableName.standard",symbolConstant:"variableName.constant"};for(var u in a)a.hasOwnProperty(u)&&(a[u]=new RegExp("^"+a[u]));a.keyword=[/^with(?:out)?-[-_a-zA-Z?!*@<>$%]+/];var c={keyword:"keyword",definition:"def",simpleDefinition:"def",signalingCalls:"builtin"},b={},h={};function s(e,i,n){return i.tokenize=n,n(e,i)}function d(e,i){var n=e.peek();if("'"==n||'"'==n)return e.next(),s(e,i,y(n,"string"));if("/"==n){if(e.next(),e.eat("*"))return s(e,i,g);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}else if(/[+\-\d\.]/.test(n)){if(e.match(/^[+-]?[0-9]*\.[0-9]*([esdx][+-]?[0-9]+)?/i)||e.match(/^[+-]?[0-9]+([esdx][+-]?[0-9]+)/i)||e.match(/^[+-]?\d+/))return"number"}else{if("#"==n)return e.next(),'"'==(n=e.peek())?(e.next(),s(e,i,y('"',"string"))):"b"==n?(e.next(),e.eatWhile(/[01]/),"number"):"x"==n?(e.next(),e.eatWhile(/[\da-f]/i),"number"):"o"==n?(e.next(),e.eatWhile(/[0-7]/),"number"):"#"==n?(e.next(),"punctuation"):"["==n||"("==n?(e.next(),"bracket"):e.match(/f|t|all-keys|include|key|next|rest/i)?"atom":(e.eatWhile(/[-a-zA-Z]/),"error");if("~"==n)return e.next(),"="==(n=e.peek())?(e.next(),"="==(n=e.peek())&&e.next(),"operator"):"operator";if(":"==n){if(e.next(),"="==(n=e.peek()))return e.next(),"operator";if(":"==n)return e.next(),"punctuation"}else{if(-1!="[](){}".indexOf(n))return e.next(),"bracket";if(-1!=".,".indexOf(n))return e.next(),"punctuation";if(e.match("end"))return"keyword"}}for(var l in a)if(a.hasOwnProperty(l)){var o=a[l];if(o instanceof Array&&v(o,function(r){return e.match(r)})||e.match(o))return m[l]}return/[+\-*\/^=<>&|]/.test(n)?(e.next(),"operator"):e.match("define")?"def":(e.eatWhile(/[\w\-]/),b.hasOwnProperty(e.current())?h[e.current()]:e.current().match(D)?"variable":(e.next(),"variableName.standard"))}function g(e,i){for(var r,n=!1,l=!1,o=0;r=e.next();){if("/"==r&&n){if(!(o>0)){i.tokenize=d;break}o--}else"*"==r&&l&&o++;n="*"==r,l="/"==r}return"comment"}function y(e,i){return function(n,l){for(var r,o=!1,k=!1;null!=(r=n.next());){if(r==e&&!o){k=!0;break}o=!o&&"\\"==r}return(k||!o)&&(l.tokenize=d),i}}p(["keyword","definition","simpleDefinition","signalingCalls"],function(e){p(t[e],function(i){b[i]=e,h[i]=c[e]})});const C={name:"dylan",startState:function(){return{tokenize:d,currentIndent:0}},token:function(e,i){return e.eatSpace()?null:i.tokenize(e,i)},languageData:{commentTokens:{block:{open:"/*",close:"*/"}}}}}}]);