function O(e, n, t, l, s, d) {
  this.indented = e, this.column = n, this.type = t, this.info = l, this.align = s, this.prev = d;
}
function D(e, n, t, l) {
  var s = e.indented;
  return e.context && e.context.type == "statement" && t != "statement" && (s = e.context.indented), e.context = new O(s, n, t, l, null, e.context);
}
function x(e) {
  var n = e.context.type;
  return (n == ")" || n == "]" || n == "}") && (e.indented = e.context.indented), e.context = e.context.prev;
}
function V(e, n, t) {
  if (n.prevToken == "variable" || n.prevToken == "type" || /\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0, t)) || n.typeAtEndOfLine && e.column() == e.indentation())
    return true;
}
function P(e) {
  for (; ; ) {
    if (!e || e.type == "top")
      return true;
    if (e.type == "}" && e.prev.info != "namespace")
      return false;
    e = e.prev;
  }
}
function h(e) {
  var n = e.statementIndentUnit, t = e.dontAlignCalls, l = e.keywords || {}, s = e.types || {}, d = e.builtin || {}, b = e.blockKeywords || {}, _ = e.defKeywords || {}, w = e.atoms || {}, y = e.hooks || {}, te = e.multiLineStrings, re = e.indentStatements !== false, ie = e.indentSwitch !== false, F = e.namespaceSeparator, oe = e.isPunctuationChar || /[\[\]{}\(\),;\:\.]/, ae = e.numberStart || /[\d\.]/, le = e.number || /^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i, j = e.isOperatorChar || /[+\-*&%=<>!?|\/]/, B = e.isIdentifierChar || /[\w\$_\xa1-\uffff]/, U = e.isReservedIdentifier || false, p, E;
  function K(i, a) {
    var c = i.next();
    if (y[c]) {
      var o = y[c](i, a);
      if (o !== false)
        return o;
    }
    if (c == '"' || c == "'")
      return a.tokenize = ce(c), a.tokenize(i, a);
    if (ae.test(c)) {
      if (i.backUp(1), i.match(le))
        return "number";
      i.next();
    }
    if (oe.test(c))
      return p = c, null;
    if (c == "/") {
      if (i.eat("*"))
        return a.tokenize = A, A(i, a);
      if (i.eat("/"))
        return i.skipToEnd(), "comment";
    }
    if (j.test(c)) {
      for (; !i.match(/^\/[\/*]/, false) && i.eat(j); )
        ;
      return "operator";
    }
    if (i.eatWhile(B), F)
      for (; i.match(F); )
        i.eatWhile(B);
    var u = i.current();
    return m(l, u) ? (m(b, u) && (p = "newstatement"), m(_, u) && (E = true), "keyword") : m(s, u) ? "type" : m(d, u) || U && U(u) ? (m(b, u) && (p = "newstatement"), "builtin") : m(w, u) ? "atom" : "variable";
  }
  function ce(i) {
    return function(a, c) {
      for (var o = false, u, v = false; (u = a.next()) != null; ) {
        if (u == i && !o) {
          v = true;
          break;
        }
        o = !o && u == "\\";
      }
      return (v || !(o || te)) && (c.tokenize = null), "string";
    };
  }
  function A(i, a) {
    for (var c = false, o; o = i.next(); ) {
      if (o == "/" && c) {
        a.tokenize = null;
        break;
      }
      c = o == "*";
    }
    return "comment";
  }
  function $(i, a) {
    e.typeFirstDefinitions && i.eol() && P(a.context) && (a.typeAtEndOfLine = V(i, a, i.pos));
  }
  return { name: e.name, startState: function(i) {
    return { tokenize: null, context: new O(-i, 0, "top", null, false), indented: 0, startOfLine: true, prevToken: null };
  }, token: function(i, a) {
    var c = a.context;
    if (i.sol() && (c.align == null && (c.align = false), a.indented = i.indentation(), a.startOfLine = true), i.eatSpace())
      return $(i, a), null;
    p = E = null;
    var o = (a.tokenize || K)(i, a);
    if (o == "comment" || o == "meta")
      return o;
    if (c.align == null && (c.align = true), p == ";" || p == ":" || p == "," && i.match(/^\s*(?:\/\/.*)?$/, false))
      for (; a.context.type == "statement"; )
        x(a);
    else if (p == "{")
      D(a, i.column(), "}");
    else if (p == "[")
      D(a, i.column(), "]");
    else if (p == "(")
      D(a, i.column(), ")");
    else if (p == "}") {
      for (; c.type == "statement"; )
        c = x(a);
      for (c.type == "}" && (c = x(a)); c.type == "statement"; )
        c = x(a);
    } else
      p == c.type ? x(a) : re && ((c.type == "}" || c.type == "top") && p != ";" || c.type == "statement" && p == "newstatement") && D(a, i.column(), "statement", i.current());
    if (o == "variable" && (a.prevToken == "def" || e.typeFirstDefinitions && V(i, a, i.start) && P(a.context) && i.match(/^\s*\(/, false)) && (o = "def"), y.token) {
      var u = y.token(i, a, o);
      u !== void 0 && (o = u);
    }
    return o == "def" && e.styleDefs === false && (o = "variable"), a.startOfLine = false, a.prevToken = E ? "def" : o || p, $(i, a), o;
  }, indent: function(i, a, c) {
    if (i.tokenize != K && i.tokenize != null || i.typeAtEndOfLine && P(i.context))
      return null;
    var o = i.context, u = a && a.charAt(0), v = u == o.type;
    if (o.type == "statement" && u == "}" && (o = o.prev), e.dontIndentStatements)
      for (; o.type == "statement" && e.dontIndentStatements.test(o.info); )
        o = o.prev;
    if (y.indent) {
      var q = y.indent(i, o, a, c.unit);
      if (typeof q == "number")
        return q;
    }
    var se = o.prev && o.prev.info == "switch";
    if (e.allmanIndentation && /[{(]/.test(u)) {
      for (; o.type != "top" && o.type != "}"; )
        o = o.prev;
      return o.indented;
    }
    return o.type == "statement" ? o.indented + (u == "{" ? 0 : n || c.unit) : o.align && (!t || o.type != ")") ? o.column + (v ? 0 : 1) : o.type == ")" && !v ? o.indented + (n || c.unit) : o.indented + (v ? 0 : c.unit) + (!v && se && !/^(?:case|default)\b/.test(a) ? c.unit : 0);
  }, languageData: { indentOnInput: ie ? /^\s*(?:case .*?:|default:|\{\}?|\})$/ : /^\s*[{}]$/, commentTokens: { line: "//", block: { open: "/*", close: "*/" } }, autocomplete: Object.keys(l).concat(Object.keys(s)).concat(Object.keys(d)).concat(Object.keys(w)), ...e.languageData } };
}
function r(e) {
  for (var n = {}, t = e.split(" "), l = 0; l < t.length; ++l)
    n[t[l]] = true;
  return n;
}
function m(e, n) {
  return typeof e == "function" ? e(n) : e.propertyIsEnumerable(n);
}
var T = "auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran", H = "alignas alignof and and_eq audit axiom bitand bitor catch class compl concept constexpr const_cast decltype delete dynamic_cast explicit export final friend import module mutable namespace new noexcept not not_eq operator or or_eq override private protected public reinterpret_cast requires static_assert static_cast template this thread_local throw try typeid typename using virtual xor xor_eq", Q = "bycopy byref in inout oneway out self super atomic nonatomic retain copy readwrite readonly strong weak assign typeof nullable nonnull null_resettable _cmd @interface @implementation @end @protocol @encode @property @synthesize @dynamic @class @public @package @private @protected @required @optional @try @catch @finally @import @selector @encode @defs @synchronized @autoreleasepool @compatibility_alias @available", Z = "FOUNDATION_EXPORT FOUNDATION_EXTERN NS_INLINE NS_FORMAT_FUNCTION  NS_RETURNS_RETAINEDNS_ERROR_ENUM NS_RETURNS_NOT_RETAINED NS_RETURNS_INNER_POINTER NS_DESIGNATED_INITIALIZER NS_ENUM NS_OPTIONS NS_REQUIRES_NIL_TERMINATION NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_SWIFT_NAME NS_REFINED_FOR_SWIFT", ue = r("int long char short double float unsigned signed void bool"), fe = r("SEL instancetype id Class Protocol BOOL");
function I(e) {
  return m(ue, e) || /.+_t$/.test(e);
}
function X(e) {
  return I(e) || m(fe, e);
}
var N = "case do else for if switch while struct enum union", z = "struct enum union";
function g(e, n) {
  if (!n.startOfLine)
    return false;
  for (var t, l = null; t = e.peek(); ) {
    if (t == "\\" && e.match(/^.$/)) {
      l = g;
      break;
    } else if (t == "/" && e.match(/^\/[\/\*]/, false))
      break;
    e.next();
  }
  return n.tokenize = l, "meta";
}
function M(e, n) {
  return n.prevToken == "type" ? "type" : false;
}
function C(e) {
  return !e || e.length < 2 || e[0] != "_" ? false : e[1] == "_" || e[1] !== e[1].toLowerCase();
}
function f(e) {
  return e.eatWhile(/[\w\.']/), "number";
}
function k(e, n) {
  if (e.backUp(1), e.match(/^(?:R|u8R|uR|UR|LR)/)) {
    var t = e.match(/^"([^\s\\()]{0,16})\(/);
    return t ? (n.cpp11RawStringDelim = t[1], n.tokenize = G, G(e, n)) : false;
  }
  return e.match(/^(?:u8|u|U|L)/) ? e.match(/^["']/, false) ? "string" : false : (e.next(), false);
}
function Y(e) {
  var n = /(\w+)::~?(\w+)$/.exec(e);
  return n && n[1] == n[2];
}
function W(e, n) {
  for (var t; (t = e.next()) != null; )
    if (t == '"' && !e.eat('"')) {
      n.tokenize = null;
      break;
    }
  return "string";
}
function G(e, n) {
  var t = n.cpp11RawStringDelim.replace(/[^\w\s]/g, "\\$&"), l = e.match(new RegExp(".*?\\)" + t + '"'));
  return l ? n.tokenize = null : e.skipToEnd(), "string";
}
const ke = h({ name: "c", keywords: r(T), types: I, blockKeywords: r(N), defKeywords: r(z), typeFirstDefinitions: true, atoms: r("NULL true false"), isReservedIdentifier: C, hooks: { "#": g, "*": M } }), ge = h({ name: "cpp", keywords: r(T + " " + H), types: I, blockKeywords: r(N + " class try catch"), defKeywords: r(z + " class namespace"), typeFirstDefinitions: true, atoms: r("true false NULL nullptr"), dontIndentStatements: /^template$/, isIdentifierChar: /[\w\$_~\xa1-\uffff]/, isReservedIdentifier: C, hooks: { "#": g, "*": M, u: k, U: k, L: k, R: k, 0: f, 1: f, 2: f, 3: f, 4: f, 5: f, 6: f, 7: f, 8: f, 9: f, token: function(e, n, t) {
  if (t == "variable" && e.peek() == "(" && (n.prevToken == ";" || n.prevToken == null || n.prevToken == "}") && Y(e.current()))
    return "def";
} }, namespaceSeparator: "::" }), be = h({ name: "java", keywords: r("abstract assert break case catch class const continue default do else enum extends final finally for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"), types: r("var byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"), blockKeywords: r("catch class do else finally for if switch try while"), defKeywords: r("class interface enum @interface"), typeFirstDefinitions: true, atoms: r("true false null"), number: /^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i, hooks: { "@": function(e) {
  return e.match("interface", false) ? false : (e.eatWhile(/[\w\$_]/), "meta");
}, '"': function(e, n) {
  return e.match(/""$/) ? (n.tokenize = J, n.tokenize(e, n)) : false;
} } }), we = h({ name: "csharp", keywords: r("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in init interface internal is lock namespace new operator out override params private protected public readonly record ref required return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"), types: r("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"), blockKeywords: r("catch class do else finally for foreach if struct switch try while"), defKeywords: r("class interface namespace record struct var"), typeFirstDefinitions: true, atoms: r("true false null"), hooks: { "@": function(e, n) {
  return e.eat('"') ? (n.tokenize = W, W(e, n)) : (e.eatWhile(/[\w\$_]/), "meta");
} } });
function J(e, n) {
  for (var t = false; !e.eol(); ) {
    if (!t && e.match('"""')) {
      n.tokenize = null;
      break;
    }
    t = e.next() == "\\" && !t;
  }
  return "string";
}
function S(e) {
  return function(n, t) {
    for (var l; l = n.next(); )
      if (l == "*" && n.eat("/"))
        if (e == 1) {
          t.tokenize = null;
          break;
        } else
          return t.tokenize = S(e - 1), t.tokenize(n, t);
      else if (l == "/" && n.eat("*"))
        return t.tokenize = S(e + 1), t.tokenize(n, t);
    return "comment";
  };
}
const ve = h({ name: "scala", keywords: r("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"), types: r("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"), multiLineStrings: true, blockKeywords: r("catch class enum do else finally for forSome if match switch try while"), defKeywords: r("class enum def object package trait type val var"), atoms: r("true false null"), indentStatements: false, indentSwitch: false, isOperatorChar: /[+\-*&%=<>!?|\/#:@]/, hooks: { "@": function(e) {
  return e.eatWhile(/[\w\$_]/), "meta";
}, '"': function(e, n) {
  return e.match('""') ? (n.tokenize = J, n.tokenize(e, n)) : false;
}, "'": function(e) {
  return e.match(/^(\\[^'\s]+|[^\\'])'/) ? "character" : (e.eatWhile(/[\w\$_\xa1-\uffff]/), "atom");
}, "=": function(e, n) {
  var t = n.context;
  return t.type == "}" && t.align && e.eat(">") ? (n.context = new O(t.indented, t.column, t.type, t.info, null, t.prev), "operator") : false;
}, "/": function(e, n) {
  return e.eat("*") ? (n.tokenize = S(1), n.tokenize(e, n)) : false;
} }, languageData: { closeBrackets: { brackets: ["(", "[", "{", "'", '"', '"""'] } } });
function de(e) {
  return function(n, t) {
    for (var l = false, s, d = false; !n.eol(); ) {
      if (!e && !l && n.match('"')) {
        d = true;
        break;
      }
      if (e && n.match('"""')) {
        d = true;
        break;
      }
      s = n.next(), !l && s == "$" && n.match("{") && n.skipTo("}"), l = !l && s == "\\" && !e;
    }
    return (d || !e) && (t.tokenize = null), "string";
  };
}
const _e = h({ name: "kotlin", keywords: r("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam"), types: r("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"), intendSwitch: false, indentStatements: false, multiLineStrings: true, number: /^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(ul?|l|f)?/i, blockKeywords: r("catch class do else finally for if where try while enum"), defKeywords: r("class val var object interface fun"), atoms: r("true false null this"), hooks: { "@": function(e) {
  return e.eatWhile(/[\w\$_]/), "meta";
}, "*": function(e, n) {
  return n.prevToken == "." ? "variable" : "operator";
}, '"': function(e, n) {
  return n.tokenize = de(e.match('""')), n.tokenize(e, n);
}, "/": function(e, n) {
  return e.eat("*") ? (n.tokenize = S(1), n.tokenize(e, n)) : false;
}, indent: function(e, n, t, l) {
  var s = t && t.charAt(0);
  if ((e.prevToken == "}" || e.prevToken == ")") && t == "")
    return e.indented;
  if (e.prevToken == "operator" && t != "}" && e.context.type != "}" || e.prevToken == "variable" && s == "." || (e.prevToken == "}" || e.prevToken == ")") && s == ".")
    return l * 2 + n.indented;
  if (n.align && n.type == "}")
    return n.indented + (e.context.type == (t || "").charAt(0) ? 0 : l);
} }, languageData: { closeBrackets: { brackets: ["(", "[", "{", "'", '"', '"""'] } } }), xe = h({ name: "shader", keywords: r("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"), types: r("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"), blockKeywords: r("for while do if else struct"), builtin: r("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"), atoms: r("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"), indentSwitch: false, hooks: { "#": g } }), Se = h({ name: "nesc", keywords: r(T + " as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"), types: I, blockKeywords: r(N), atoms: r("null true false"), hooks: { "#": g } }), Te = h({ name: "objectivec", keywords: r(T + " " + Q), types: X, builtin: r(Z), blockKeywords: r(N + " @synthesize @try @catch @finally @autoreleasepool @synchronized"), defKeywords: r(z + " @interface @implementation @protocol @class"), dontIndentStatements: /^@.*$/, typeFirstDefinitions: true, atoms: r("YES NO NULL Nil nil true false nullptr"), isReservedIdentifier: C, hooks: { "#": g, "*": M } }), Ie = h({ name: "objectivecpp", keywords: r(T + " " + Q + " " + H), types: X, builtin: r(Z), blockKeywords: r(N + " @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"), defKeywords: r(z + " @interface @implementation @protocol @class class namespace"), dontIndentStatements: /^@.*$|^template$/, typeFirstDefinitions: true, atoms: r("YES NO NULL Nil nil true false nullptr"), isReservedIdentifier: C, hooks: { "#": g, "*": M, u: k, U: k, L: k, R: k, 0: f, 1: f, 2: f, 3: f, 4: f, 5: f, 6: f, 7: f, 8: f, 9: f, token: function(e, n, t) {
  if (t == "variable" && e.peek() == "(" && (n.prevToken == ";" || n.prevToken == null || n.prevToken == "}") && Y(e.current()))
    return "def";
} }, namespaceSeparator: "::" }), Ne = h({ name: "squirrel", keywords: r("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"), types: I, blockKeywords: r("case catch class else for foreach if switch try while"), defKeywords: r("function local class"), typeFirstDefinitions: true, atoms: r("true false null"), hooks: { "#": g } });
var L = null;
function ee(e) {
  return function(n, t) {
    for (var l = false, s, d = false; !n.eol(); ) {
      if (!l && n.match('"') && (e == "single" || n.match('""'))) {
        d = true;
        break;
      }
      if (!l && n.match("``")) {
        L = ee(e), d = true;
        break;
      }
      s = n.next(), l = e == "single" && !l && s == "\\";
    }
    return d && (t.tokenize = null), "string";
  };
}
const De = h({ name: "ceylon", keywords: r("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"), types: function(e) {
  var n = e.charAt(0);
  return n === n.toUpperCase() && n !== n.toLowerCase();
}, blockKeywords: r("case catch class dynamic else finally for function if interface module new object switch try while"), defKeywords: r("class dynamic function interface module object package value"), builtin: r("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"), isPunctuationChar: /[\[\]{}\(\),;\:\.`]/, isOperatorChar: /[+\-*&%=<>!?|^~:\/]/, numberStart: /[\d#$]/, number: /^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i, multiLineStrings: true, typeFirstDefinitions: true, atoms: r("true false null larger smaller equal empty finished"), indentSwitch: false, styleDefs: false, hooks: { "@": function(e) {
  return e.eatWhile(/[\w\$_]/), "meta";
}, '"': function(e, n) {
  return n.tokenize = ee(e.match('""') ? "triple" : "single"), n.tokenize(e, n);
}, "`": function(e, n) {
  return !L || !e.match("`") ? false : (n.tokenize = L, L = null, n.tokenize(e, n));
}, "'": function(e) {
  return e.match(/^(\\[^'\s]+|[^\\'])'/) ? "string.special" : (e.eatWhile(/[\w\$_\xa1-\uffff]/), "atom");
}, token: function(e, n, t) {
  if ((t == "variable" || t == "type") && n.prevToken == ".")
    return "variableName.special";
} }, languageData: { closeBrackets: { brackets: ["(", "[", "{", "'", '"', '"""'] } } });
function pe(e) {
  (e.interpolationStack || (e.interpolationStack = [])).push(e.tokenize);
}
function ne(e) {
  return (e.interpolationStack || (e.interpolationStack = [])).pop();
}
function he(e) {
  return e.interpolationStack ? e.interpolationStack.length : 0;
}
function R(e, n, t, l) {
  var s = false;
  if (n.eat(e))
    if (n.eat(e))
      s = true;
    else
      return "string";
  function d(b, _) {
    for (var w = false; !b.eol(); ) {
      if (!l && !w && b.peek() == "$")
        return pe(_), _.tokenize = ye, "string";
      var y = b.next();
      if (y == e && !w && (!s || b.match(e + e))) {
        _.tokenize = null;
        break;
      }
      w = !l && !w && y == "\\";
    }
    return "string";
  }
  return t.tokenize = d, d(n, t);
}
function ye(e, n) {
  return e.eat("$"), e.eat("{") ? n.tokenize = null : n.tokenize = me, null;
}
function me(e, n) {
  return e.eatWhile(/[\w_]/), n.tokenize = ne(n), "variable";
}
const Le = h({ name: "dart", keywords: r("this super static final const abstract class extends external factory implements mixin get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as extension on yield late required sealed base interface when inline"), blockKeywords: r("try catch finally do else for if switch while"), builtin: r("void bool num int double dynamic var String Null Never"), atoms: r("true false null"), number: /^(?:0x[a-f\d_]+|(?:[\d_]+\.?[\d_]*|\.[\d_]+)(?:e[-+]?[\d_]+)?)/i, hooks: { "@": function(e) {
  return e.eatWhile(/[\w\$_\.]/), "meta";
}, "'": function(e, n) {
  return R("'", e, n, false);
}, '"': function(e, n) {
  return R('"', e, n, false);
}, r: function(e, n) {
  var t = e.peek();
  return t == "'" || t == '"' ? R(e.next(), e, n, true) : false;
}, "}": function(e, n) {
  return he(n) > 0 ? (n.tokenize = ne(n), null) : false;
}, "/": function(e, n) {
  return e.eat("*") ? (n.tokenize = S(1), n.tokenize(e, n)) : false;
}, token: function(e, n, t) {
  if (t == "variable") {
    var l = RegExp("^[_$]*[A-Z][a-zA-Z0-9_$]*$", "g");
    if (l.test(e.current()))
      return "type";
  }
} } });
export {
  ke as c,
  De as ceylon,
  h as clike,
  ge as cpp,
  we as csharp,
  Le as dart,
  be as java,
  _e as kotlin,
  Se as nesC,
  Te as objectiveC,
  Ie as objectiveCpp,
  ve as scala,
  xe as shader,
  Ne as squirrel
};
