linx-server/static/js/highlight/highlight.pack.js

3 lines
109 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// @license-start magnet:?xt=urn:btih:c80d50af7d3db9be66a4d0a86db0286e4fd33292&dn=bsd-3-clause.txt BSD-3-Clause/*! highlight.js v9.18.1 | BSD3 License | git.io/hljslicense */
!function (e) { var n = "object" == typeof window && window || "object" == typeof self && self; "undefined" == typeof exports || exports.nodeType ? n && (n.hljs = e({}), "function" == typeof define && define.amd && define([], function () { return n.hljs })) : e(exports) }(function (a) { var f = [], o = Object.keys, _ = {}, g = {}, C = !0, n = /^(no-?highlight|plain|text)$/i, E = /\blang(?:uage)?-([\w-]+)\b/i, t = /((^(<[^>]+>|\t|)+|(?:\n)))/gm, r = { case_insensitive: "cI", lexemes: "l", contains: "c", keywords: "k", subLanguage: "sL", className: "cN", begin: "b", beginKeywords: "bK", end: "e", endsWithParent: "eW", illegal: "i", excludeBegin: "eB", excludeEnd: "eE", returnBegin: "rB", returnEnd: "rE", variants: "v", IDENT_RE: "IR", UNDERSCORE_IDENT_RE: "UIR", NUMBER_RE: "NR", C_NUMBER_RE: "CNR", BINARY_NUMBER_RE: "BNR", RE_STARTERS_RE: "RSR", BACKSLASH_ESCAPE: "BE", APOS_STRING_MODE: "ASM", QUOTE_STRING_MODE: "QSM", PHRASAL_WORDS_MODE: "PWM", C_LINE_COMMENT_MODE: "CLCM", C_BLOCK_COMMENT_MODE: "CBCM", HASH_COMMENT_MODE: "HCM", NUMBER_MODE: "NM", C_NUMBER_MODE: "CNM", BINARY_NUMBER_MODE: "BNM", CSS_NUMBER_MODE: "CSSNM", REGEXP_MODE: "RM", TITLE_MODE: "TM", UNDERSCORE_TITLE_MODE: "UTM", COMMENT: "C", beginRe: "bR", endRe: "eR", illegalRe: "iR", lexemesRe: "lR", terminators: "t", terminator_end: "tE" }, m = "</span>", O = "Could not find the language '{}', did you forget to load/include a language module?", B = { classPrefix: "hljs-", tabReplace: null, useBR: !1, languages: void 0 }, c = "of and for in not or if then".split(" "); function x(e) { return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;") } function d(e) { return e.nodeName.toLowerCase() } function R(e) { return n.test(e) } function i(e) { var n, t = {}, r = Array.prototype.slice.call(arguments, 1); for (n in e) t[n] = e[n]; return r.forEach(function (e) { for (n in e) t[n] = e[n] }), t } function p(e) { var a = []; return function e(n, t) { for (var r = n.firstChild; r; r = r.nextSibling)3 === r.nodeType ? t += r.nodeValue.length : 1 === r.nodeType && (a.push({ event: "start", offset: t, node: r }), t = e(r, t), d(r).match(/br|hr|img|input/) || a.push({ event: "stop", offset: t, node: r })); return t }(e, 0), a } function v(e, n, t) { var r = 0, a = "", i = []; function o() { return e.length && n.length ? e[0].offset !== n[0].offset ? e[0].offset < n[0].offset ? e : n : "start" === n[0].event ? e : n : e.length ? e : n } function c(e) { a += "<" + d(e) + f.map.call(e.attributes, function (e) { return " " + e.nodeName + '="' + x(e.value).replace(/"/g, "&quot;") + '"' }).join("") + ">" } function l(e) { a += "</" + d(e) + ">" } function u(e) { ("start" === e.event ? c : l)(e.node) } for (; e.length || n.length;) { var s = o(); if (a += x(t.substring(r, s[0].offset)), r = s[0].offset, s === e) { for (i.reverse().forEach(l); u(s.splice(0, 1)[0]), (s = o()) === e && s.length && s[0].offset === r;); i.reverse().forEach(c) } else "start" === s[0].event ? i.push(s[0].node) : i.pop(), u(s.splice(0, 1)[0]) } return a + x(t.substr(r)) } function l(n) { return n.v && !n.cached_variants && (n.cached_variants = n.v.map(function (e) { return i(n, { v: null }, e) })), n.cached_variants ? n.cached_variants : function e(n) { return !!n && (n.eW || e(n.starts)) }(n) ? [i(n, { starts: n.starts ? i(n.starts) : null })] : Object.isFrozen(n) ? [i(n)] : [n] } function u(e) { if (r && !e.langApiRestored) { for (var n in e.langApiRestored = !0, r) e[n] && (e[r[n]] = e[n]); (e.c || []).concat(e.v || []).forEach(u) } } function M(n, t) { var i = {}; return "string" == typeof n ? r("keyword", n) : o(n).forEach(function (e) { r(e, n[e]) }), i; function r(a, e) { t && (e = e.toLowerCase()), e.split(" ").forEach(function (e) { var n, t, r = e.split("|"); i[r[0]] = [a, (n = r[0], (t = r[1]) ? Number(t) : function (e) { return -1 != c.indexOf(e.toLowerCase()) }(n) ? 0 : 1)] }) } } function S(r) { function s(e) { return e && e.source || e } function f(e, n) { return new RegExp(s(e), "m" + (r.cI ? "i" : "") + (n ? "g" : "")) } function a(a) { var i, e, o = {}, c = [], l = {}, t = 1; function n(e, n) { o[t] = e, c.push([e, n]), t += new RegExp(n.toString() + "|").exec("").length - 1 + 1 } for (var r = 0; r < a.c.length; r++) { n(e = a.c[r], e.bK ? "\\.?(?:" + e.b + ")\\.?" : e.b) } a.tE && n("end", a.tE), a.i && n("illegal", a.i); var u = c.map(function (e) { return e[1] }); return i = f(function (e, n) { for (var t = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./, r = 0, a = "", i = 0; i < e.length; i++) { var o = r += 1, c = s(e[i]); for (0 < i && (a += n), a += "("; 0 < c.length;) { var l = t.exec(c); if (null == l) { a += c; break } a += c.substring(0, l.index), c = c.substring(l.index + l[0].length), "\\" == l[0][0] && l[1] ? a += "\\" + String(Number(l[1]) + o) : (a += l[0], "(" == l[0] && r++) } a += ")" } return a }(u, "|"), !0), l.lastIndex = 0, l.exec = function (e) { var n; if (0 === c.length) return null; i.lastIndex = l.lastIndex; var t = i.exec(e); if (!t) return null; for (var r = 0; r < t.length; r++)if (null != t[r] && null != o["" + r]) { n = o["" + r]; break } return "string" == typeof n ? (t.type = n, t.extra = [a.i, a.tE]) : (t.type = "begin", t.rule = n), t }, l } if (r.c && -1 != r.c.indexOf("self")) { if (!C) throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation."); r.c = r.c.filter(function (e) { return "self" != e }) } !function n(t, e) { t.compiled || (t.compiled = !0, t.k = t.k || t.bK, t.k && (t.k = M(t.k, r.cI)), t.lR = f(t.l || /\w+/, !0), e && (t.bK && (t.b = "\\b(" + t.bK.split(" ").join("|") + ")\\b"), t.b || (t.b = /\B|\b/), t.bR = f(t.b), t.endSameAsBegin && (t.e = t.b), t.e || t.eW || (t.e = /\B|\b/), t.e && (t.eR = f(t.e)), t.tE = s(t.e) || "", t.eW && e.tE && (t.tE += (t.e ? "|" : "") + e.tE)), t.i && (t.iR = f(t.i)), null == t.relevance && (t.relevance = 1), t.c || (t.c = []), t.c = Array.prototype.concat.apply([], t.c.map(function (e) { return l("self" === e ? t : e) })), t.c.forEach(function (e) { n(e, t) }), t.starts && n(t.starts, e), t.t = a(t)) }(r) } function T(n, e, a, t) { var i = e; function c(e, n, t, r) { if (!t && "" === n) return ""; if (!e) return n; var a = '<span class="' + (r ? "" : B.classPrefix); return (a += e + '">') + n + (t ? "" : m) } function o() { p += (null != d.sL ? function () { var e = "string" == typeof d.sL; if (e && !_[d.sL]) return x(v); var n = e ? T(d.sL, v, !0, R[d.sL]) : w(v, d.sL.length ? d.sL : void 0); return 0 < d.relevance && (M += n.relevance), e && (R[d.sL] = n.top), c(n.language, n.value, !1, !0) } : function () { var e, n, t, r, a, i, o; if (!d.k) return x(v); for (r = "", n = 0, d.lR.lastIndex = 0, t = d.lR.exec(v); t;)r += x(v.substring(n, t.index)), a = d, i = t, o = g.cI ? i[0].toLowerCase() : i[0], (e = a.k.hasOwnProperty(o) && a.k[o]) ? (M += e[1], r += c(e[0], x(t[0]))) : r += x(t[0]), n = d.lR.lastIndex, t = d.lR.exec(v); return r + x(v.substr(n)) })(), v = "" } function l(e) { p += e.cN ? c(e.cN, "", !0) : "", d = Object.create(e, { parent: { value: d } }) } function u(e) { var n = e[0], t = e.rule; return t && t.endSameAsBegin && (t.eR = new RegExp(n.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&"), "m")), t.skip ? v += n : (t.eB && (v += n), o(), t.rB || t.eB || (v = n)), l(t), t.rB ? 0 : n.length } function s(e) { var n = e[0], t = i.substr(e.index), r = function e(n, t) { if (r = n.eR, a = t, (i = r && r.exec(a)) && 0 === i.index) { for (; n.endsParent && n.parent;)n = n.parent; return n } var r, a, i; if (n.eW) return e(n.parent, t) }(d, t); if (r) { var a = d; for (a.skip ? v += n : (a.rE || a.eE || (v += n), o(), a.eE && (v = n)); d.cN && (p += m), d.skip || d.sL || (M += d.relevance), (d = d.parent) !== r.parent;); return r.starts && (r.endSameAsBegin && (r.starts.eR = r.eR), l(r.starts)), a.rE ? 0 : n.length } } var f = {}; function r(e, n) { var t = n && n[0]; if (v += e, null == t) return o(), 0; if ("begin" == f.type && "end" == n.type && f.index == n.index && "" === t) return v += i.slice(n.index, n.index + 1), 1; if ("begin" === (f = n).type) return u(n); if ("illegal" === n.type && !a) throw new Error('Illegal lexeme "' + t + '" for mode "' + (d.cN || "<unnamed>") + '"'); if ("end" === n.type) { var r = s(n); if (null != r) return r } return v += t, t.length } var g = D(n); if (!g) throw console.error(O.replace("{}", n)), new Error('Unknown language: "' + n + '"'); S(g); var E, d = t || g, R = {}, p = ""; for (E = d; E !== g; E = E.parent)E.cN && (p = c(E.cN, "", !0) + p); var v = "", M = 0; try { for (var b, h, N = 0; d.t.lastIndex = N, b = d.t.exec(i);)h = r(i.substring(N, b.index), b), N = b.index + h; for (r(i.substr(N)), E = d; E.parent; E = E.parent)E.cN && (p += m); return { relevance: M, value: p, i: !1, language: n, top: d } } catch (e) { if (e.message && -1 !== e.message.indexOf("Illegal")) return { i: !0, relevance: 0, value: x(i) }; if (C) return { relevance: 0, value: x(i), language: n, top: d, errorRaised: e }; throw e } } function w(t, e) { e = e || B.languages || o(_); var r = { relevance: 0, value: x(t) }, a = r; return e.filter(D).filter(L).forEach(function (e) { var n = T(e, t, !1); n.language = e, n.relevance > a.relevance && (a = n), n.relevance > r.relevance && (a = r, r = n) }), a.language && (r.second_best = a), r } function b(e) { return B.tabReplace || B.useBR ? e.replace(t, function (e, n) { return B.useBR && "\n" === e ? "<br>" : B.tabReplace ? n.replace(/\t/g, B.tabReplace) : "" }) : e } function s(e) { var n, t, r, a, i, o, c, l, u, s, f = function (e) { var n, t, r, a, i = e.className + " "; if (i += e.parentNode ? e.parentNode.className : "", t = E.exec(i)) { var o = D(t[1]); return o || (console.warn(O.replace("{}", t[1])), console.warn("Falling back to no-highlight mode for this block.", e)), o ? t[1] : "no-highlight" } for (n = 0, r = (i = i.split(/\s+/)).length; n < r; n++)if (R(a = i[n]) || D(a)) return a }(e); R(f) || (B.useBR ? (n = document.createElement("div")).innerHTML = e.innerHTML.replace(/\n/g, "").replace(/<br[ \/]*>/g, "\n") : n = e, i = n.textContent, r = f ? T(f, i, !0) : w(i), (t = p(n)).length && ((a = document.createElement("div")).innerHTML = r.value, r.value = v(t, p(a), i)), r.value = b(r.value), e.innerHTML = r.value, e.className = (o = e.className, c = f, l = r.language, u = c ? g[c] : l, s = [o.trim()], o.match(/\bhljs\b/) || s.push("hljs"), -1 === o.indexOf(u) && s.push(u), s.join(" ").trim()), e.result = { language: r.language, re: r.relevance }, r.second_best && (e.second_best = { language: r.second_best.language, re: r.second_best.relevance })) } function h() { if (!h.called) { h.called = !0; var e = document.querySelectorAll("pre code"); f.forEach.call(e, s) } } var N = { disableAutodetect: !0 }; function D(e) { return e = (e || "").toLowerCase(), _[e] || _[g[e]] } function L(e) { var n = D(e); return n && !n.disableAutodetect } return a.highlight = T, a.highlightAuto = w, a.fixMarkup = b, a.highlightBlock = s, a.configure = function (e) { B = i(B, e) }, a.initHighlighting = h, a.initHighlightingOnLoad = function () { window.addEventListener("DOMContentLoaded", h, !1), window.addEventListener("load", h, !1) }, a.registerLanguage = function (n, e) { var t; try { t = e(a) } catch (e) { if (console.error("Language definition for '{}' could not be registered.".replace("{}", n)), !C) throw e; console.error(e), t = N } u(_[n] = t), t.rawDefinition = e.bind(null, a), t.aliases && t.aliases.forEach(function (e) { g[e] = n }) }, a.listLanguages = function () { return o(_) }, a.getLanguage = D, a.requireLanguage = function (e) { var n = D(e); if (n) return n; throw new Error("The '{}' language is required, but not loaded.".replace("{}", e)) }, a.autoDetection = L, a.inherit = i, a.debugMode = function () { C = !1 }, a.IR = a.IDENT_RE = "[a-zA-Z]\\w*", a.UIR = a.UNDERSCORE_IDENT_RE = "[a-zA-Z_]\\w*", a.NR = a.NUMBER_RE = "\\b\\d+(\\.\\d+)?", a.CNR = a.C_NUMBER_RE = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", a.BNR = a.BINARY_NUMBER_RE = "\\b(0b[01]+)", a.RSR = a.RE_STARTERS_RE = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", a.BE = a.BACKSLASH_ESCAPE = { b: "\\\\[\\s\\S]", relevance: 0 }, a.ASM = a.APOS_STRING_MODE = { cN: "string", b: "'", e: "'", i: "\\n", c: [a.BE] }, a.QSM = a.QUOTE_STRING_MODE = { cN: "string", b: '"', e: '"', i: "\\n", c: [a.BE] }, a.PWM = a.PHRASAL_WORDS_MODE = { b: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/ }, a.C = a.COMMENT = function (e, n, t) { var r = a.inherit({ cN: "comment", b: e, e: n, c: [] }, t || {}); return r.c.push(a.PWM), r.c.push({ cN: "doctag", b: "(?:TODO|FIXME|NOTE|BUG|XXX):", relevance: 0 }), r }, a.CLCM = a.C_LINE_COMMENT_MODE = a.C("//", "$"), a.CBCM = a.C_BLOCK_COMMENT_MODE = a.C("/\\*", "\\*/"), a.HCM = a.HASH_COMMENT_MODE = a.C("#", "$"), a.NM = a.NUMBER_MODE = { cN: "number", b: a.NR, relevance: 0 }, a.CNM = a.C_NUMBER_MODE = { cN: "number", b: a.CNR, relevance: 0 }, a.BNM = a.BINARY_NUMBER_MODE = { cN: "number", b: a.BNR, relevance: 0 }, a.CSSNM = a.CSS_NUMBER_MODE = { cN: "number", b: a.NR + "(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?", relevance: 0 }, a.RM = a.REGEXP_MODE = { cN: "regexp", b: /\//, e: /\/[gimuy]*/, i: /\n/, c: [a.BE, { b: /\[/, e: /\]/, relevance: 0, c: [a.BE] }] }, a.TM = a.TITLE_MODE = { cN: "title", b: a.IR, relevance: 0 }, a.UTM = a.UNDERSCORE_TITLE_MODE = { cN: "title", b: a.UIR, relevance: 0 }, a.METHOD_GUARD = { b: "\\.\\s*" + a.UIR, relevance: 0 }, [a.BE, a.ASM, a.QSM, a.PWM, a.C, a.CLCM, a.CBCM, a.HCM, a.NM, a.CNM, a.BNM, a.CSSNM, a.RM, a.TM, a.UTM, a.METHOD_GUARD].forEach(function (e) { !function n(t) { Object.freeze(t); var r = "function" == typeof t; Object.getOwnPropertyNames(t).forEach(function (e) { !t.hasOwnProperty(e) || null === t[e] || "object" != typeof t[e] && "function" != typeof t[e] || r && ("caller" === e || "callee" === e || "arguments" === e) || Object.isFrozen(t[e]) || n(t[e]) }); return t }(e) }), a }); hljs.registerLanguage("erlang", function (e) { var r = "[a-z'][a-zA-Z0-9_']*", c = "(" + r + ":" + r + "|" + r + ")", n = { keyword: "after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor", literal: "false true" }, a = e.C("%", "$"), b = { cN: "number", b: "\\b(\\d+#[a-fA-F0-9]+|\\d+(\\.\\d+)?([eE][-+]?\\d+)?)", relevance: 0 }, i = { b: "fun\\s+" + r + "/\\d+" }, l = { b: c + "\\(", e: "\\)", rB: !0, relevance: 0, c: [{ b: c, relevance: 0 }, { b: "\\(", e: "\\)", eW: !0, rE: !0, relevance: 0 }] }, d = { b: "{", e: "}", relevance: 0 }, o = { b: "\\b_([A-Z][A-Za-z0-9_]*)?", relevance: 0 }, t = { b: "[A-Z][a-zA-Z0-9_]*", relevance: 0 }, v = { b: "#" + e.UIR, relevance: 0, rB: !0, c: [{ b: "#" + e.UIR, relevance: 0 }, { b: "{", e: "}", relevance: 0 }] }, f = { bK: "fun receive if try case", e: "end", k: n }; f.c = [a, i, e.inherit(e.ASM, { cN: "" }), f, l, e.QSM, b, d, o, t, v]; var s = [a, i, f, l, e.QSM, b, d, o, t, v]; l.c[1].c = s, d.c = s; var u = { cN: "params", b: "\\(", e: "\\)", c: v.c[1].c = s }; return { aliases: ["erl"], k: n, i: "(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))", c: [{ cN: "function", b: "^" + r + "\\s*\\(", e: "->", rB: !0, i: "\\(|#|//|/\\*|\\\\|:|;", c: [u, e.inherit(e.TM, { b: r })], starts: { e: ";|\\.", k: n, c: s } }, a, { b: "^-", e: "\\.", relevance: 0, eE: !0, rB: !0, l: "-" + e.IR, k: "-module -record -undef -export -ifdef -ifndef -author -copyright -doc -vsn -import -include -include_lib -compile -define -else -endif -file -behaviour -behavior -spec", c: [u] }, b, e.QSM, v, o, t, d, { b: /\.$/ }] } }); hljs.registerLanguage("bash", function (e) { var t = { cN: "variable", v: [{ b: /\$[\w\d#@][\w\d_]*/ }, { b: /\$\{(.*?)}/ }] }, a = { cN: "string", b: /"/, e: /"/, c: [e.BE, t, { cN: "variable", b: /\$\(/, e: /\)/, c: [e.BE] }] }; return { aliases: ["sh", "zsh"], l: /\b-?[a-z\._]+\b/, k: { keyword: "if then else elif fi for while in do done case esac function", literal: "true false", built_in: "break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp", _: "-ne -eq -lt -gt -f -d -e -s -l -a" }, c: [{ cN: "meta", b: /^#![^\n]+sh\s*$/, relevance: 10 }, { cN: "function", b: /\w[\w\d_]*\s*\(\s*\)\s*\{/, rB: !0, c: [e.inherit(e.TM, { b: /\w[\w\d_]*/ })], relevance: 0 }, e.HCM, a, { cN: "", b: /\\"/ }, { cN: "string", b: /'/, e: /'/ }, t] } }); hljs.registerLanguage("shell", function (s) { return { aliases: ["console"], c: [{ cN: "meta", b: "^\\s{0,3}[/\\w\\d\\[\\]()@-]*[>%$#]", starts: { e: "$", sL: "bash" } }] } }); hljs.registerLanguage("scheme", function (e) { var t = "[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+", r = "(\\-|\\+)?\\d+([./]\\d+)?", a = { cN: "literal", b: "(#t|#f|#\\\\" + t + "|#\\\\.)" }, i = { cN: "number", v: [{ b: r, relevance: 0 }, { b: "(\\-|\\+)?\\d+([./]\\d+)?[+\\-](\\-|\\+)?\\d+([./]\\d+)?i", relevance: 0 }, { b: "#b[0-1]+(/[0-1]+)?" }, { b: "#o[0-7]+(/[0-7]+)?" }, { b: "#x[0-9a-f]+(/[0-9a-f]+)?" }] }, n = e.QSM, c = [e.C(";", "$", { relevance: 0 }), e.C("#\\|", "\\|#")], l = { b: t, relevance: 0 }, s = { cN: "symbol", b: "'" + t }, o = { eW: !0, relevance: 0 }, u = { v: [{ b: /'/ }, { b: "`" }], c: [{ b: "\\(", e: "\\)", c: ["self", a, n, i, l, s] }] }, p = { cN: "name", b: t, l: t, k: { "builtin-name": "case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?" } }, d = { v: [{ b: "\\(", e: "\\)" }, { b: "\\[", e: "\\]" }], c: [{ b: /lambda/, eW: !0, rB: !0, c: [p, { b: /\(/, e: /\)/, endsParent: !0, c: [l] }] }, p, o] }; return o.c = [a, i, n, l, s, u, d].concat(c), { i: /\S/, c: [{ cN: "meta", b: "^#!", e: "$" }, i, n, s, u, d].concat(c) } }); hljs.registerLanguage("basic", function (E) { return { cI: !0, i: "^.", l: "[a-zA-Z][a-zA-Z0-9_$%!#]*", k: { keyword: "ABS ASC AND ATN AUTO|0 BEEP BLOAD|10 BSAVE|10 CALL CALLS CDBL CHAIN CHDIR CHR$|10 CINT CIRCLE CLEAR CLOSE CLS COLOR COM COMMON CONT COS CSNG CSRLIN CVD CVI CVS DATA DATE$ DEFDBL DEFINT DEFSNG DEFSTR DEF|0 SEG USR DELETE DIM DRAW EDIT END ENVIRON ENVIRON$ EOF EQV ERASE ERDEV ERDEV$ ERL ERR ERROR EXP FIELD FILES FIX FOR|0 FRE GET GOSUB|10 GOTO HEX$ IF THEN ELSE|0 INKEY$ INP INPUT INPUT# INPUT$ INSTR IMP INT IOCTL IOCTL$ KEY ON OFF LIST KILL LEFT$ LEN LET LINE LLIST LOAD LOC LOCATE LOF LOG LPRINT USING LSET MERGE MID$ MKDIR MKD$ MKI$ MKS$ MOD NAME NEW NEXT NOISE NOT OCT$ ON OR PEN PLAY STRIG OPEN OPTION BASE OUT PAINT PALETTE PCOPY PEEK PMAP POINT POKE POS PRINT PRINT] PSET PRESET PUT RANDOMIZE READ REM RENUM RESET|0 RESTORE RESUME RETURN|0 RIGHT$ RMDIR RND RSET RUN SAVE SCREEN SGN SHELL SIN SOUND SPACE$ SPC SQR STEP STICK STOP STR$ STRING$ SWAP SYSTEM TAB TAN TIME$ TIMER TROFF TRON TO USR VAL VARPTR VARPTR$ VIEW WAIT WHILE WEND WIDTH WINDOW WRITE XOR" }, c: [E.QSM, E.C("REM", "$", { relevance: 10 }), E.C("'", "$", { relevance: 0 }), { cN: "symbol", b: "^[0-9]+ ", relevance: 10 }, { cN: "number", b: "\\b([0-9]+[0-9edED.]*[#!]?)", relevance: 0 }, { cN: "number", b: "(&[hH][0-9a-fA-F]{1,4})" }, { cN: "number", b: "(&[oO][0-7]{1,6})" }] } }); hljs.registerLanguage("swift", function (e) { var i = { keyword: "#available #colorLiteral #column #else #elseif #endif #file #fileLiteral #function #if #imageLiteral #line #selector #sourceLocation _ __COLUMN__ __FILE__ __FUNCTION__ __LINE__ Any as as! as? associatedtype associativity break case catch class continue convenience default defer deinit didSet do dynamic dynamicType else enum extension fallthrough false fileprivate final for func get guard if import in indirect infix init inout internal is lazy left let mutating nil none nonmutating open operator optional override postfix precedence prefix private protocol Protocol public repeat required rethrows return right self Self set static struct subscript super switch throw throws true try try! try? Type typealias unowned var weak where while willSet", literal: "true false nil", built_in: "abs advance alignof alignofValue anyGenerator assert assertionFailure bridgeFromObjectiveC bridgeFromObjectiveCUnconditional bridgeToObjectiveC bridgeToObjectiveCUnconditional c contains count countElements countLeadingZeros debugPrint debugPrintln distance dropFirst dropLast dump encodeBitsAsWords enumerate equal fatalError filter find getBridgedObjectiveCType getVaList indices insertionSort isBridgedToObjectiveC isBridgedVerbatimToObjectiveC isUniquelyReferenced isUniquelyReferencedNonObjC join lazy lexicographicalCompare map max maxElement min minElement numericCast overlaps partition posix precondition preconditionFailure print println quickSort readLine reduce reflect reinterpretCast reverse roundUpToAlignment sizeof sizeofValue sort split startsWith stride strideof strideofValue swap toString transcode underestimateCount unsafeAddressOf unsafeBitCast unsafeDowncast unsafeUnwrap unsafeReflect withExtendedLifetime withObjectAtPlusZero withUnsafePointer withUnsafePointerToObject withUnsafeMutablePointer withUnsafeMutablePointers withUnsafePointer withUnsafePointers withVaList zip" }, t = e.C("/\\*", "\\*/", { c: ["self"] }), n = { cN: "subst", b: /\\\(/, e: "\\)", k: i, c: [] }, r = { cN: "string", c: [e.BE, n], v: [{ b: /"""/, e: /"""/ }, { b: /"/, e: /"/ }] }, a = { cN: "number", b: "\\b([\\d_]+(\\.[\\deE_]+)?|0x[a-fA-F0-9_]+(\\.[a-fA-F0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b", relevance: 0 }; return n.c = [a], { k: i, c: [r, e.CLCM, t, { cN: "type", b: "\\b[A-Z][\\wÀ-ʸ']*[!?]" }, { cN: "type", b: "\\b[A-Z][\\wÀ-ʸ']*", relevance: 0 }, a, { cN: "function", bK: "func", e: "{", eE: !0, c: [e.inherit(e.TM, { b: /[A-Za-z$_][0-9A-Za-z$_]*/ }), { b: /</, e: />/ }, { cN: "params", b: /\(/, e: /\)/, endsParent: !0, k: i, c: ["self", a, r, e.CBCM, { b: ":" }], i: /["']/ }], i: /\[|%/ }, { cN: "class", bK: "struct protocol class extension enum", k: i, e: "\\{", eE: !0, c: [e.inherit(e.TM, { b: /[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/ })] }, { cN: "meta", b: "(@discardableResult|@warn_unused_result|@exported|@lazy|@noescape|@NSCopying|@NSManaged|@objc|@objcMembers|@convention|@required|@noreturn|@IBAction|@IBDesignable|@IBInspectable|@IBOutlet|@infix|@prefix|@postfix|@autoclosure|@testable|@available|@nonobjc|@NSApplicationMain|@UIApplicationMain|@dynamicMemberLookup|@propertyWrapper)" }, { bK: "import", e: /$/, c: [e.CLCM, t] }] } }); hljs.registerLanguage("ini", function (e) { var b = { cN: "number", relevance: 0, v: [{ b: /([\+\-]+)?[\d]+_[\d_]+/ }, { b: e.NR }] }, a = e.C(); a.v = [{ b: /;/, e: /$/ }, { b: /#/, e: /$/ }]; var c = { cN: "variable", v: [{ b: /\$[\w\d"][\w\d_]*/ }, { b: /\$\{(.*?)}/ }] }, r = { cN: "literal", b: /\bon|off|true|false|yes|no\b/ }, n = { cN: "string", c: [e.BE], v: [{ b: "'''", e: "'''", relevance: 10 }, { b: '"""', e: '"""', relevance: 10 }, { b: '"', e: '"' }, { b: "'", e: "'" }] }; return { aliases: ["toml"], cI: !0, i: /\S/, c: [a, { cN: "section", b: /\[+/, e: /\]+/ }, { b: /^[a-z0-9\[\]_\.-]+(?=\s*=\s*)/, cN: "attr", starts: { e: /$/, c: [a, { b: /\[/, e: /\]/, c: [a, r, c, n, b, "self"], relevance: 0 }, r, c, n, b] } }] } }); hljs.registerLanguage("ruby", function (e) { var c = "[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?", b = { keyword: "and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor", literal: "true false nil" }, r = { cN: "doctag", b: "@[A-Za-z]+" }, a = { b: "#<", e: ">" }, n = [e.C("#", "$", { c: [r] }), e.C("^\\=begin", "^\\=end", { c: [r], relevance: 10 }), e.C("^__END__", "\\n$")], s = { cN: "subst", b: "#\\{", e: "}", k: b }, t = { cN: "string", c: [e.BE, s], v: [{ b: /'/, e: /'/ }, { b: /"/, e: /"/ }, { b: /`/, e: /`/ }, { b: "%[qQwWx]?\\(", e: "\\)" }, { b: "%[qQwWx]?\\[", e: "\\]" }, { b: "%[qQwWx]?{", e: "}" }, { b: "%[qQwWx]?<", e: ">" }, { b: "%[qQwWx]?/", e: "/" }, { b: "%[qQwWx]?%", e: "%" }, { b: "%[qQwWx]?-", e: "-" }, { b: "%[qQwWx]?\\|", e: "\\|" }, { b: /\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/ }, { b: /<<[-~]?'?(\w+)(?:.|\n)*?\n\s*\1\b/, rB: !0, c: [{ b: /<<[-~]?'?/ }, { b: /\w+/, endSameAsBegin: !0, c: [e.BE, s] }] }] }, i = { cN: "params", b: "\\(", e: "\\)", endsParent: !0, k: b }, l = [t, a, { cN: "class", bK: "class module", e: "$|;", i: /=/, c: [e.inherit(e.TM, { b: "[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?" }), { b: "<\\s*", c: [{ b: "(" + e.IR + "::)?" + e.IR }] }].concat(n) }, { cN: "function", bK: "def", e: "$|;", c: [e.inherit(e.TM, { b: c }), i].concat(n) }, { b: e.IR + "::" }, { cN: "symbol", b: e.UIR + "(\\!|\\?)?:", relevance: 0 }, { cN: "symbol", b: ":(?!\\s)", c: [t, { b: c }], relevance: 0 }, { cN: "number", b: "(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b", relevance: 0 }, { b: "(\\$\\W)|((\\$|\\@\\@?)(\\w+))" }, { cN: "params", b: /\|/, e: /\|/, k: b }, { b: "(" + e.RSR + "|unless)\\s*", k: "unless", c: [a, { cN: "regexp", c: [e.BE, s], i: /\n/, v: [{ b: "/", e: "/[a-z]*" }, { b: "%r{", e: "}[a-z]*" }, { b: "%r\\(", e: "\\)[a-z]*" }, { b: "%r!", e: "![a-z]*" }, { b: "%r\\[", e: "\\][a-z]*" }] }].concat(n), relevance: 0 }].concat(n); s.c = l; var d = [{ b: /^\s*=>/, starts: { e: "$", c: i.c = l } }, { cN: "meta", b: "^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+>|(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>)", starts: { e: "$", c: l } }]; return { aliases: ["rb", "gemspec", "podspec", "thor", "irb"], k: b, i: /\/\*/, c: n.concat(d).concat(l) } }); hljs.registerLanguage("plaintext", function (e) { return { disableAutodetect: !0 } }); hljs.registerLanguage("d", function (e) { var a = "(0|[1-9][\\d_]*)", d = "(" + a + "|0[bB][01_]+|0[xX]([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*))", t = "\\\\(['\"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};", _ = { cN: "number", b: "\\b" + d + "(L|u|U|Lu|LU|uL|UL)?", relevance: 0 }, r = { cN: "number", b: "\\b(((0[xX](([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)\\.([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)|\\.?([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*))[pP][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d))|((0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)(\\.\\d*|([eE][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)))|\\d+\\.(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)|\\.(0|[1-9][\\d_]*)([eE][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d))?))([fF]|L|i|[fF]i|Li)?|" + d + "(i|[fF]i|Li))", relevance: 0 }, i = { cN: "string", b: "'(" + t + "|.)", e: "'", i: "." }, n = { cN: "string", b: '"', c: [{ b: t, relevance: 0 }], e: '"[cwd]?' }, c = e.C("\\/\\+", "\\+\\/", { c: ["self"], relevance: 10 }); return { l: e.UIR, k: { keyword: "abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__", built_in: "bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring", literal: "false null true" }, c: [e.CLCM, e.CBCM, c, { cN: "string", b: 'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?', relevance: 10 }, n, { cN: "string", b: '[rq]"', e: '"[cwd]?', relevance: 5 }, { cN: "string", b: "`", e: "`[cwd]?" }, { cN: "string", b: 'q"\\{', e: '\\}"' }, r, _, i, { cN: "meta", b: "^#!", e: "$", relevance: 5 }, { cN: "meta", b: "#(line)", e: "$", relevance: 5 }, { cN: "keyword", b: "@[a-zA-Z_][a-zA-Z_\\d]*" }] } }); hljs.registerLanguage("scala", function (e) { var t = { cN: "subst", v: [{ b: "\\$[A-Za-z0-9_]+" }, { b: "\\${", e: "}" }] }, a = { cN: "string", v: [{ b: '"', e: '"', i: "\\n", c: [e.BE] }, { b: '"""', e: '"""', relevance: 10 }, { b: '[a-z]+"', e: '"', i: "\\n", c: [e.BE, t] }, { cN: "string", b: '[a-z]+"""', e: '"""', c: [t], relevance: 10 }] }, c = { cN: "type", b: "\\b[A-Z][A-Za-z0-9_]*", relevance: 0 }, r = { cN: "title", b: /[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/, relevance: 0 }, n = { cN: "class", bK: "class object trait type", e: /[:={\[\n;]/, eE: !0, c: [{ bK: "extends with", relevance: 10 }, { b: /\[/, e: /\]/, eB: !0, eE: !0, relevance: 0, c: [c] }, { cN: "params", b: /\(/, e: /\)/, eB: !0, eE: !0, relevance: 0, c: [c] }, r] }, l = { cN: "function", bK: "def", e: /[:={\[(\n;]/, eE: !0, c: [r] }; return { k: { literal: "true false null", keyword: "type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit" }, c: [e.CLCM, e.CBCM, a, { cN: "symbol", b: "'\\w[\\w\\d_]*(?!')" }, c, l, n, e.CNM, { cN: "meta", b: "@[A-Za-z]+" }] } }); hljs.registerLanguage("cs", function (e) { var a = { keyword: "abstract as base bool break byte case catch char checked const continue decimal default delegate do double enum event explicit extern finally fixed float for foreach goto if implicit in int interface internal is lock long object operator out override params private protected public readonly ref sbyte sealed short sizeof stackalloc static string struct switch this try typeof uint ulong unchecked unsafe ushort using virtual void volatile while add alias ascending async await by descending dynamic equals from get global group into join let nameof on orderby partial remove select set value var when where yield", literal: "null false true" }, i = { cN: "number", v: [{ b: "\\b(0b[01']+)" }, { b: "(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)" }, { b: "(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)" }], relevance: 0 }, c = { cN: "string", b: '@"', e: '"', c: [{ b: '""' }] }, r = e.inherit(c, { i: /\n/ }), n = { cN: "subst", b: "{", e: "}", k: a }, t = e.inherit(n, { i: /\n/ }), s = { cN: "string", b: /\$"/, e: '"', i: /\n/, c: [{ b: "{{" }, { b: "}}" }, e.BE, t] }, l = { cN: "string", b: /\$@"/, e: '"', c: [{ b: "{{" }, { b: "}}" }, { b: '""' }, n] }, b = e.inherit(l, { i: /\n/, c: [{ b: "{{" }, { b: "}}" }, { b: '""' }, t] }); n.c = [l, s, c, e.ASM, e.QSM, i, e.CBCM], t.c = [b, s, r, e.ASM, e.QSM, i, e.inherit(e.CBCM, { i: /\n/ })]; var o = { v: [l, s, c, e.ASM, e.QSM] }, d = e.IR + "(<" + e.IR + "(\\s*,\\s*" + e.IR + ")*>)?(\\[\\])?"; return { aliases: ["csharp", "c#"], k: a, i: /::/, c: [e.C("///", "$", { rB: !0, c: [{ cN: "doctag", v: [{ b: "///", relevance: 0 }, { b: "\x3c!--|--\x3e" }, { b: "</?", e: ">" }] }] }), e.CLCM, e.CBCM, { cN: "meta", b: "#", e: "$", k: { "meta-keyword": "if else elif endif define undef warning error line region endregion pragma checksum" } }, o, i, { bK: "class interface", e: /[{;=]/, i: /[^\s:,]/, c: [e.TM, e.CLCM, e.CBCM] }, { bK: "namespace", e: /[{;=]/, i: /[^\s:]/, c: [e.inherit(e.TM, { b: "[a-zA-Z](\\.?\\w)*" }), e.CLCM, e.CBCM] }, { cN: "meta", b: "^\\s*\\[", eB: !0, e: "\\]", eE: !0, c: [{ cN: "meta-string", b: /"/, e: /"/ }] }, { bK: "new return throw await else", relevance: 0 }, { cN: "function", b: "(" + d + "\\s+)+" + e.IR + "\\s*\\(", rB: !0, e: /\s*[{;=]/, eE: !0, k: a, c: [{ b: e.IR + "\\s*\\(", rB: !0, c: [e.TM], relevance: 0 }, { cN: "params", b: /\(/, e: /\)/, eB: !0, eE: !0, k: a, relevance: 0, c: [o, i, e.CBCM] }, e.CLCM, e.CBCM] }] } }); hljs.registerLanguage("cpp", function (e) { function t(e) { return "(?:" + e + ")?" } var r = "decltype\\(auto\\)", a = "[a-zA-Z_]\\w*::", i = (t(a), t("<.*?>"), { cN: "keyword", b: "\\b[a-z\\d_]*_t\\b" }), c = { cN: "string", v: [{ b: '(u8?|U|L)?"', e: '"', i: "\\n", c: [e.BE] }, { b: "(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)", e: "'", i: "." }, { b: /(?:u8?|U|L)?R"([^()\\ ]{0,16})\((?:.|\n)*?\)\1"/ }] }, s = { cN: "number", v: [{ b: "\\b(0b[01']+)" }, { b: "(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)" }, { b: "(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)" }], relevance: 0 }, n = { cN: "meta", b: /#\s*[a-z]+\b/, e: /$/, k: { "meta-keyword": "if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include" }, c: [{ b: /\\\n/, relevance: 0 }, e.inherit(c, { cN: "meta-string" }), { cN: "meta-string", b: /<.*?>/, e: /$/, i: "\\n" }, e.CLCM, e.CBCM] }, o = { cN: "title", b: t(a) + e.IR, relevance: 0 }, l = t(a) + e.IR + "\\s*\\(", u = { keyword: "int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_tshort reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq", built_in: "std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary", literal: "true false nullptr NULL" }, p = [i, e.CLCM, e.CBCM, s, c], m = { v: [{ b: /=/, e: /;/ }, { b: /\(/, e: /\)/ }, { bK: "new throw return else", e: /;/ }], k: u, c: p.concat([{ b: /\(/, e: /\)/, k: u, c: p.concat(["self"]), relevance: 0 }]), relevance: 0 }, d = { cN: "function", b: "((decltype\\(auto\\)|(?:[a-zA-Z_]\\w*::)?[a-zA-Z_]\\w*(?:<.*?>)?)[\\*&\\s]+)+" + l, rB: !0, e: /[{;=]/, eE: !0, k: u, i: /[^\w\s\*&:<>]/, c: [{ b: r, k: u, relevance: 0 }, { b: l, rB: !0, c: [o], relevance: 0 }, { cN: "params", b: /\(/, e: /\)/, k: u, relevance: 0, c: [e.CLCM, e.CBCM, c, s, i, { b: /\(/, e: /\)/, k: u, relevance: 0, c: ["self", e.CLCM, e.CBCM, c, s, i] }] }, i, e.CLCM, e.CBCM, n] }; return { aliases: ["c", "cc", "h", "c++", "h++", "hpp", "hh", "hxx", "cxx"], k: u, i: "</", c: [].concat(m, d, p, [n, { b: "\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<", e: ">", k: u, c: ["self", i] }, { b: e.IR + "::", k: u }, { cN: "class", bK: "class struct", e: /[{;:]/, c: [{ b: /</, e: />/, c: ["self"] }, e.TM] }]), exports: { preprocessor: n, strings: c, k: u } } }); hljs.registerLanguage("less", function (e) { function r(e) { return { cN: "string", b: "~?" + e + ".*?" + e } } function t(e, r, t) { return { cN: e, b: r, relevance: t } } var a = "[\\w-]+", c = "(" + a + "|@{" + a + "})", s = [], n = [], b = { b: "\\(", e: "\\)", c: n, relevance: 0 }; n.push(e.CLCM, e.CBCM, r("'"), r('"'), e.CSSNM, { b: "(url|data-uri)\\(", starts: { cN: "string", e: "[\\)\\n]", eE: !0 } }, t("number", "#[0-9A-Fa-f]+\\b"), b, t("variable", "@@?" + a, 10), t("variable", "@{" + a + "}"), t("built_in", "~?`[^`]*?`"), { cN: "attribute", b: a + "\\s*:", e: ":", rB: !0, eE: !0 }, { cN: "meta", b: "!important" }); var i = n.concat({ b: "{", e: "}", c: s }), l = { bK: "when", eW: !0, c: [{ bK: "and not" }].concat(n) }, o = { b: c + "\\s*:", rB: !0, e: "[;}]", relevance: 0, c: [{ cN: "attribute", b: c, e: ":", eE: !0, starts: { eW: !0, i: "[<=$]", relevance: 0, c: n } }] }, u = { cN: "keyword", b: "@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b", starts: { e: "[;{}]", rE: !0, c: n, relevance: 0 } }, v = { cN: "variable", v: [{ b: "@" + a + "\\s*:", relevance: 15 }, { b: "@" + a }], starts: { e: "[;}]", rE: !0, c: i } }, C = { v: [{ b: "[\\.#:&\\[>]", e: "[;{}]" }, { b: c, e: "{" }], rB: !0, rE: !0, i: "[<='$\"]", relevance: 0, c: [e.CLCM, e.CBCM, l, t("keyword", "all\\b"), t("variable", "@{" + a + "}"), t("selector-tag", c + "%?", 0), t("selector-id", "#" + c), t("selector-class", "\\." + c, 0), t("selector-tag", "&", 0), { cN: "selector-attr", b: "\\[", e: "\\]" }, { cN: "selector-pseudo", b: /:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/ }, { b: "\\(", e: "\\)", c: i }, { b: "!important" }] }; return s.push(e.CLCM, e.CBCM, u, v, o, C), { cI: !0, i: "[=>'/<($\"]", c: s } }); hljs.registerLanguage("python", function (e) { var r = { keyword: "and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10", built_in: "Ellipsis NotImplemented", literal: "False None True" }, b = { cN: "meta", b: /^(>>>|\.\.\.) / }, c = { cN: "subst", b: /\{/, e: /\}/, k: r, i: /#/ }, a = { b: /\{\{/, relevance: 0 }, l = { cN: "string", c: [e.BE], v: [{ b: /(u|b)?r?'''/, e: /'''/, c: [e.BE, b], relevance: 10 }, { b: /(u|b)?r?"""/, e: /"""/, c: [e.BE, b], relevance: 10 }, { b: /(fr|rf|f)'''/, e: /'''/, c: [e.BE, b, a, c] }, { b: /(fr|rf|f)"""/, e: /"""/, c: [e.BE, b, a, c] }, { b: /(u|r|ur)'/, e: /'/, relevance: 10 }, { b: /(u|r|ur)"/, e: /"/, relevance: 10 }, { b: /(b|br)'/, e: /'/ }, { b: /(b|br)"/, e: /"/ }, { b: /(fr|rf|f)'/, e: /'/, c: [e.BE, a, c] }, { b: /(fr|rf|f)"/, e: /"/, c: [e.BE, a, c] }, e.ASM, e.QSM] }, n = { cN: "number", relevance: 0, v: [{ b: e.BNR + "[lLjJ]?" }, { b: "\\b(0o[0-7]+)[lLjJ]?" }, { b: e.CNR + "[lLjJ]?" }] }, i = { cN: "params", b: /\(/, e: /\)/, c: ["self", b, n, l, e.HCM] }; return c.c = [l, n, b], { aliases: ["py", "gyp", "ipython"], k: r, i: /(<\/|->|\?)|=>/, c: [b, n, { bK: "if", relevance: 0 }, l, e.HCM, { v: [{ cN: "function", bK: "def" }, { cN: "class", bK: "class" }], e: /:/, i: /[${=;\n,]/, c: [e.UTM, i, { b: /->/, eW: !0, k: "None" }] }, { cN: "meta", b: /^[\t ]*@/, e: /$/ }, { b: /\b(print|exec)\(/ }] } }); hljs.registerLanguage("powershell", function (e) { var t = { keyword: "if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter" }, n = { b: "`[\\s\\S]", relevance: 0 }, c = { cN: "variable", v: [{ b: /\$\B/ }, { cN: "keyword", b: /\$this/ }, { b: /\$[\w\d][\w\d_:]*/ }] }, i = { cN: "string", v: [{ b: /"/, e: /"/ }, { b: /@"/, e: /^"@/ }], c: [n, c, { cN: "variable", b: /\$[A-z]/, e: /[^A-z]/ }] }, a = { cN: "string", v: [{ b: /'/, e: /'/ }, { b: /@'/, e: /^'@/ }] }, r = e.inherit(e.C(null, null), { v: [{ b: /#/, e: /$/ }, { b: /<#/, e: /#>/ }], c: [{ cN: "doctag", v: [{ b: /\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/ }, { b: /\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/ }] }] }), o = { cN: "built_in", v: [{ b: "(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|New|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Complete|Confirm|Deny|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where", ")+(-)[\\w\\d]+") }] }, l = { cN: "class", bK: "class enum", e: /\s*[{]/, eE: !0, relevance: 0, c: [e.TM] }, s = { cN: "function", b: /function\s+/, e: /\s*\{|$/, eE: !0, rB: !0, relevance: 0, c: [{ b: "function", relevance: 0, cN: "keyword" }, { cN: "title", b: /\w[\w\d]*((-)[\w\d]+)*/, relevance: 0 }, { b: /\(/, e: /\)/, cN: "params", relevance: 0, c: [c] }] }, p = { b: /using\s/, e: /$/, rB: !0, c: [i, a, { cN: "keyword", b: /(using|assembly|command|module|namespace|type)/ }] }, b = { v: [{ cN: "operator", b: "(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor", ")\\b") }, { cN: "literal", b: /(-)[\w\d]+/, relevance: 0 }] }, d = { cN: "function", b: /\[.*\]\s*[\w]+[ ]??\(/, e: /$/, rB: !0, relevance: 0, c: [{ cN: "keyword", b: "(".concat(t.keyword.toString().replace(/\s/g, "|"), ")\\b"), endsParent: !0, relevance: 0 }, e.inherit(e.TM, { endsParent: !0 })] }, u = [d, r, n, e.NM, i, a, o, c, { cN: "literal", b: /\$(null|true|false)\b/ }, { cN: "selector-tag", b: /\@\B/, relevance: 0 }], m = { b: /\[/, e: /\]/, eB: !0, eE: !0, relevance: 0, c: [].concat("self", u, { b: "(" + ["string", "char", "byte", "int", "long", "bool", "decimal", "single", "double", "DateTime", "xml", "array", "hashtable", "void"].join("|") + ")", cN: "built_in", relevance: 0 }, { cN: "type", b: /[\.\w\d]+/, relevance: 0 }) }; return d.c.unshift(m), { aliases: ["ps", "ps1"], l: /-?[A-z\.\-]+/, cI: !0, k: t, c: u.concat(l, s, p, b, m) } }); hljs.registerLanguage("coffeescript", function (e) { var c = { keyword: "in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super yield import export from as default await then unless until loop of by when and or is isnt not", literal: "true false null undefined yes no on off", built_in: "npm require console print module global window document" }, n = "[A-Za-z$_][0-9A-Za-z$_]*", r = { cN: "subst", b: /#\{/, e: /}/, k: c }, i = [e.BNM, e.inherit(e.CNM, { starts: { e: "(\\s*/)?", relevance: 0 } }), { cN: "string", v: [{ b: /'''/, e: /'''/, c: [e.BE] }, { b: /'/, e: /'/, c: [e.BE] }, { b: /"""/, e: /"""/, c: [e.BE, r] }, { b: /"/, e: /"/, c: [e.BE, r] }] }, { cN: "regexp", v: [{ b: "///", e: "///", c: [r, e.HCM] }, { b: "//[gim]{0,3}(?=\\W)", relevance: 0 }, { b: /\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/ }] }, { b: "@" + n }, { sL: "javascript", eB: !0, eE: !0, v: [{ b: "```", e: "```" }, { b: "`", e: "`" }] }]; r.c = i; var s = e.inherit(e.TM, { b: n }), t = "(\\(.*\\))?\\s*\\B[-=]>", a = { cN: "params", b: "\\([^\\(]", rB: !0, c: [{ b: /\(/, e: /\)/, k: c, c: ["self"].concat(i) }] }; return { aliases: ["coffee", "cson", "iced"], k: c, i: /\/\*/, c: i.concat([e.C("###", "###"), e.HCM, { cN: "function", b: "^\\s*" + n + "\\s*=\\s*" + t, e: "[-=]>", rB: !0, c: [s, a] }, { b: /[:\(,=]\s*/, relevance: 0, c: [{ cN: "function", b: t, e: "[-=]>", rB: !0, c: [a] }] }, { cN: "class", bK: "class", e: "$", i: /[:="\[\]]/, c: [{ bK: "extends", eW: !0, i: /[:="\[\]]/, c: [s] }, s] }, { b: n + ":", e: ":", rB: !0, rE: !0, relevance: 0 }]) } }); hljs.registerLanguage("json", function (e) { var i = { literal: "true false null" }, n = [e.CLCM, e.CBCM], c = [e.QSM, e.CNM], r = { e: ",", eW: !0, eE: !0, c: c, k: i }, t = { b: "{", e: "}", c: [{ cN: "attr", b: /"/, e: /"/, c: [e.BE], i: "\\n" }, e.inherit(r, { b: /:/ })].concat(n), i: "\\S" }, a = { b: "\\[", e: "\\]", c: [e.inherit(r)], i: "\\S" }; return c.push(t, a), n.forEach(function (e) { c.push(e) }), { c: c, k: i, i: "\\S" } }); hljs.registerLanguage("xml", function (e) { var c = { cN: "symbol", b: "&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;" }, s = { b: "\\s", c: [{ cN: "meta-keyword", b: "#?[a-z_][a-z1-9_-]+", i: "\\n" }] }, a = e.inherit(s, { b: "\\(", e: "\\)" }), t = e.inherit(e.ASM, { cN: "meta-string" }), l = e.inherit(e.QSM, { cN: "meta-string" }), r = { eW: !0, i: /</, relevance: 0, c: [{ cN: "attr", b: "[A-Za-z0-9\\._:-]+", relevance: 0 }, { b: /=\s*/, relevance: 0, c: [{ cN: "string", endsParent: !0, v: [{ b: /"/, e: /"/, c: [c] }, { b: /'/, e: /'/, c: [c] }, { b: /[^\s"'=<>`]+/ }] }] }] }; return { aliases: ["html", "xhtml", "rss", "atom", "xjb", "xsd", "xsl", "plist", "wsf", "svg"], cI: !0, c: [{ cN: "meta", b: "<![a-z]", e: ">", relevance: 10, c: [s, l, t, a, { b: "\\[", e: "\\]", c: [{ cN: "meta", b: "<![a-z]", e: ">", c: [s, a, l, t] }] }] }, e.C("\x3c!--", "--\x3e", { relevance: 10 }), { b: "<\\!\\[CDATA\\[", e: "\\]\\]>", relevance: 10 }, c, { cN: "meta", b: /<\?xml/, e: /\?>/, relevance: 10 }, { b: /<\?(php)?/, e: /\?>/, sL: "php", c: [{ b: "/\\*", e: "\\*/", skip: !0 }, { b: 'b"', e: '"', skip: !0 }, { b: "b'", e: "'", skip: !0 }, e.inherit(e.ASM, { i: null, cN: null, c: null, skip: !0 }), e.inherit(e.QSM, { i: null, cN: null, c: null, skip: !0 })] }, { cN: "tag", b: "<style(?=\\s|>)", e: ">", k: { name: "style" }, c: [r], starts: { e: "</style>", rE: !0, sL: ["css", "xml"] } }, { cN: "tag", b: "<script(?=\\s|>)", e: ">", k: { name: "script" }, c: [r], starts: { e: "<\/script>", rE: !0, sL: ["actionscript", "javascript", "handlebars", "xml"] } }, { cN: "tag", b: "</?", e: "/?>", c: [{ cN: "name", b: /[^\/><\s]+/, relevance: 0 }, r] }] } }); hljs.registerLanguage("markdown", function (e) { return { aliases: ["md", "mkdown", "mkd"], c: [{ cN: "section", v: [{ b: "^#{1,6}", e: "$" }, { b: "^.+?\\n[=-]{2,}$" }] }, { b: "<", e: ">", sL: "xml", relevance: 0 }, { cN: "bullet", b: "^\\s*([*+-]|(\\d+\\.))\\s+" }, { cN: "strong", b: "[*_]{2}.+?[*_]{2}" }, { cN: "emphasis", v: [{ b: "\\*.+?\\*" }, { b: "_.+?_", relevance: 0 }] }, { cN: "quote", b: "^>\\s+", e: "$" }, { cN: "code", v: [{ b: "^```\\w*\\s*$", e: "^```[ ]*$" }, { b: "`.+?`" }, { b: "^( {4}|\\t)", e: "$", relevance: 0 }] }, { b: "^[-\\*]{3,}", e: "$" }, { b: "\\[.+?\\][\\(\\[].*?[\\)\\]]", rB: !0, c: [{ cN: "string", b: "\\[", e: "\\]", eB: !0, rE: !0, relevance: 0 }, { cN: "link", b: "\\]\\(", e: "\\)", eB: !0, eE: !0 }, { cN: "symbol", b: "\\]\\[", e: "\\]", eB: !0, eE: !0 }], relevance: 10 }, { b: /^\[[^\n]+\]:/, rB: !0, c: [{ cN: "symbol", b: /\[/, e: /\]/, eB: !0, eE: !0 }, { cN: "link", b: /:\s*/, e: /$/, eB: !0 }] }] } }); hljs.registerLanguage("sql", function (e) { var t = e.C("--", "$"); return { cI: !0, i: /[<>{}*]/, c: [{ bK: "begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment values with", e: /;/, eW: !0, l: /[\w\.]+/, k: { keyword: "as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias all allocate allow alter always analyze ancillary and anti any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound bucket buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain explode export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour hours http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lateral lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minutes minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second seconds section securefile security seed segment select self semi sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tablesample tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace window with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek", literal: "true false null unknown", built_in: "array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text time timestamp tinyint varchar varchar2 varying void" }, c: [{ cN: "string", b: "'", e: "'", c: [{ b: "''" }] }, { cN: "string", b: '"', e: '"', c: [{ b: '""' }] }, { cN: "string", b: "`", e: "`" }, e.CNM, e.CBCM, t, e.HCM] }, e.CBCM, t, e.HCM] } }); hljs.registerLanguage("javascript", function (e) { var r = "<>", a = "</>", t = { b: /<[A-Za-z0-9\\._:-]+/, e: /\/[A-Za-z0-9\\._:-]+>|\/>/ }, c = "[A-Za-z$_][0-9A-Za-z$_]*", n = { keyword: "in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as", literal: "true false null undefined NaN Infinity", built_in: "eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise" }, s = { cN: "number", v: [{ b: "\\b(0[bB][01]+)n?" }, { b: "\\b(0[oO][0-7]+)n?" }, { b: e.CNR + "n?" }], relevance: 0 }, o = { cN: "subst", b: "\\$\\{", e: "\\}", k: n, c: [] }, i = { b: "html`", e: "", starts: { e: "`", rE: !1, c: [e.BE, o], sL: "xml" } }, b = { b: "css`", e: "", starts: { e: "`", rE: !1, c: [e.BE, o], sL: "css" } }, l = { cN: "string", b: "`", e: "`", c: [e.BE, o] }; o.c = [e.ASM, e.QSM, i, b, l, s, e.RM]; var u = o.c.concat([e.CBCM, e.CLCM]); return { aliases: ["js", "jsx", "mjs", "cjs"], k: n, c: [{ cN: "meta", relevance: 10, b: /^\s*['"]use (strict|asm)['"]/ }, { cN: "meta", b: /^#!/, e: /$/ }, e.ASM, e.QSM, i, b, l, e.CLCM, e.C("/\\*\\*", "\\*/", { relevance: 0, c: [{ cN: "doctag", b: "@[A-Za-z]+", c: [{ cN: "type", b: "\\{", e: "\\}", relevance: 0 }, { cN: "variable", b: c + "(?=\\s*(-)|$)", endsParent: !0, relevance: 0 }, { b: /(?=[^\n])\s/, relevance: 0 }] }] }), e.CBCM, s, { b: /[{,\n]\s*/, relevance: 0, c: [{ b: c + "\\s*:", rB: !0, relevance: 0, c: [{ cN: "attr", b: c, relevance: 0 }] }] }, { b: "(" + e.RSR + "|\\b(case|return|throw)\\b)\\s*", k: "return throw case", c: [e.CLCM, e.CBCM, e.RM, { cN: "function", b: "(\\(.*?\\)|" + c + ")\\s*=>", rB: !0, e: "\\s*=>", c: [{ cN: "params", v: [{ b: c }, { b: /\(\s*\)/ }, { b: /\(/, e: /\)/, eB: !0, eE: !0, k: n, c: u }] }] }, { cN: "", b: /\s/, e: /\s*/, skip: !0 }, { v: [{ b: r, e: a }, { b: t.b, e: t.e }], sL: "xml", c: [{ b: t.b, e: t.e, skip: !0, c: ["self"] }] }], relevance: 0 }, { cN: "function", bK: "function", e: /\{/, eE: !0, c: [e.inherit(e.TM, { b: c }), { cN: "params", b: /\(/, e: /\)/, eB: !0, eE: !0, c: u }], i: /\[|%/ }, { b: /\$[(.]/ }, e.METHOD_GUARD, { cN: "class", bK: "class", e: /[{;=]/, eE: !0, i: /[:"\[\]]/, c: [{ bK: "extends" }, e.UTM] }, { bK: "constructor get set", e: /\{/, eE: !0 }], i: /#(?!!)/ } }); hljs.registerLanguage("perl", function (e) { var t = "getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when", r = { cN: "subst", b: "[$@]\\{", e: "\\}", k: t }, s = { b: "->{", e: "}" }, n = { v: [{ b: /\$\d/ }, { b: /[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/ }, { b: /[\$%@][^\s\w{]/, relevance: 0 }] }, c = [e.BE, r, n], a = [n, e.HCM, e.C("^\\=\\w", "\\=cut", { eW: !0 }), s, { cN: "string", c: c, v: [{ b: "q[qwxr]?\\s*\\(", e: "\\)", relevance: 5 }, { b: "q[qwxr]?\\s*\\[", e: "\\]", relevance: 5 }, { b: "q[qwxr]?\\s*\\{", e: "\\}", relevance: 5 }, { b: "q[qwxr]?\\s*\\|", e: "\\|", relevance: 5 }, { b: "q[qwxr]?\\s*\\<", e: "\\>", relevance: 5 }, { b: "qw\\s+q", e: "q", relevance: 5 }, { b: "'", e: "'", c: [e.BE] }, { b: '"', e: '"' }, { b: "`", e: "`", c: [e.BE] }, { b: "{\\w+}", c: [], relevance: 0 }, { b: "-?\\w+\\s*\\=\\>", c: [], relevance: 0 }] }, { cN: "number", b: "(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b", relevance: 0 }, { b: "(\\/\\/|" + e.RSR + "|\\b(split|return|print|reverse|grep)\\b)\\s*", k: "split return print reverse grep", relevance: 0, c: [e.HCM, { cN: "regexp", b: "(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*", relevance: 10 }, { cN: "regexp", b: "(m|qr)?/", e: "/[a-z]*", c: [e.BE], relevance: 0 }] }, { cN: "function", bK: "sub", e: "(\\s*\\(.*?\\))?[;{]", eE: !0, relevance: 5, c: [e.TM] }, { b: "-\\w\\b", relevance: 0 }, { b: "^__DATA__$", e: "^__END__$", sL: "mojolicious", c: [{ b: "^@@.*", e: "$", cN: "comment" }] }]; return r.c = a, { aliases: ["pl", "pm"], l: /[\w\.]+/, k: t, c: s.c = a } }); hljs.registerLanguage("tex", function (e) { var c = { cN: "tag", b: /\\/, relevance: 0, c: [{ cN: "name", v: [{ b: /[a-zA-Z\u0430-\u044f\u0410-\u042f]+[*]?/ }, { b: /[^a-zA-Z\u0430-\u044f\u0410-\u042f0-9]/ }], starts: { eW: !0, relevance: 0, c: [{ cN: "string", v: [{ b: /\[/, e: /\]/ }, { b: /\{/, e: /\}/ }] }, { b: /\s*=\s*/, eW: !0, relevance: 0, c: [{ cN: "number", b: /-?\d*\.?\d+(pt|pc|mm|cm|in|dd|cc|ex|em)?/ }] }] } }] }; return { c: [c, { cN: "formula", c: [c], relevance: 0, v: [{ b: /\$\$/, e: /\$\$/ }, { b: /\$/, e: /\$/ }] }, e.C("%", "$", { relevance: 0 })] } }); hljs.registerLanguage("fortran", function (e) { return { cI: !0, aliases: ["f90", "f95"], k: { literal: ".False. .True.", keyword: "kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then block endblock public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data", built_in: "alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_ofacosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image" }, i: /\/\*/, c: [e.inherit(e.ASM, { cN: "string", relevance: 0 }), e.inherit(e.QSM, { cN: "string", relevance: 0 }), { cN: "function", bK: "subroutine function program", i: "[${=\\n]", c: [e.UTM, { cN: "params", b: "\\(", e: "\\)" }] }, e.C("!", "$", { relevance: 0 }), { cN: "number", b: "(?=\\b|\\+|\\-|\\.)(?=\\.\\d|\\d)(?:\\d+)?(?:\\.?\\d*)(?:[de][+-]?\\d+)?\\b\\.?", relevance: 0 }] } }); hljs.registerLanguage("protobuf", function (e) { return { k: { keyword: "package import option optional required repeated group oneof", built_in: "double float int32 int64 uint32 uint64 sint32 sint64 fixed32 fixed64 sfixed32 sfixed64 bool string bytes", literal: "true false" }, c: [e.QSM, e.NM, e.CLCM, { cN: "class", bK: "message enum service", e: /\{/, i: /\n/, c: [e.inherit(e.TM, { starts: { eW: !0, eE: !0 } })] }, { cN: "function", bK: "rpc", e: /;/, eE: !0, k: "rpc returns" }, { b: /^\s*[A-Z_]+/, e: /\s*=/, eE: !0 }] } }); hljs.registerLanguage("java", function (e) { var a = "false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do", t = { cN: "number", b: "\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?", relevance: 0 }; return { aliases: ["jsp"], k: a, i: /<\/|#/, c: [e.C("/\\*\\*", "\\*/", { relevance: 0, c: [{ b: /\w+@/, relevance: 0 }, { cN: "doctag", b: "@[A-Za-z]+" }] }), e.CLCM, e.CBCM, e.ASM, e.QSM, { cN: "class", bK: "class interface", e: /[{;=]/, eE: !0, k: "class interface", i: /[:"\[\]]/, c: [{ bK: "extends implements" }, e.UTM] }, { bK: "new throw return else", relevance: 0 }, { cN: "function", b: "([À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(<[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(\\s*,\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*)*>)?\\s+)+" + e.UIR + "\\s*\\(", rB: !0, e: /[{;=]/, eE: !0, k: a, c: [{ b: e.UIR + "\\s*\\(", rB: !0, relevance: 0, c: [e.UTM] }, { cN: "params", b: /\(/, e: /\)/, k: a, relevance: 0, c: [e.ASM, e.QSM, e.CNM, e.CBCM] }, e.CLCM, e.CBCM] }, t, { cN: "meta", b: "@[A-Za-z]+" }] } }); hljs.registerLanguage("properties", function (e) { var r = "[ \\t\\f]*", t = "(" + r + "[:=]" + r + "|[ \\t\\f]+)", n = "([^\\\\\\W:= \\t\\f\\n]|\\\\.)+", a = "([^\\\\:= \\t\\f\\n]|\\\\.)+", c = { e: t, relevance: 0, starts: { cN: "string", e: /$/, relevance: 0, c: [{ b: "\\\\\\n" }] } }; return { cI: !0, i: /\S/, c: [e.C("^\\s*[!#]", "$"), { b: n + t, rB: !0, c: [{ cN: "attr", b: n, endsParent: !0, relevance: 0 }], starts: c }, { b: a + t, rB: !0, relevance: 0, c: [{ cN: "meta", b: a, endsParent: !0, relevance: 0 }], starts: c }, { cN: "attr", relevance: 0, b: a + r + "$" }] } }); hljs.registerLanguage("php", function (e) { var c = { b: "\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*" }, i = { cN: "meta", b: /<\?(php)?|\?>/ }, t = { cN: "string", c: [e.BE, i], v: [{ b: 'b"', e: '"' }, { b: "b'", e: "'" }, e.inherit(e.ASM, { i: null }), e.inherit(e.QSM, { i: null })] }, a = { v: [e.BNM, e.CNM] }; return { aliases: ["php", "php3", "php4", "php5", "php6", "php7"], cI: !0, k: "and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally", c: [e.HCM, e.C("//", "$", { c: [i] }), e.C("/\\*", "\\*/", { c: [{ cN: "doctag", b: "@[A-Za-z]+" }] }), e.C("__halt_compiler.+?;", !1, { eW: !0, k: "__halt_compiler", l: e.UIR }), { cN: "string", b: /<<<['"]?\w+['"]?$/, e: /^\w+;?$/, c: [e.BE, { cN: "subst", v: [{ b: /\$\w+/ }, { b: /\{\$/, e: /\}/ }] }] }, i, { cN: "keyword", b: /\$this\b/ }, c, { b: /(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/ }, { cN: "function", bK: "function", e: /[;{]/, eE: !0, i: "\\$|\\[|%", c: [e.UTM, { cN: "params", b: "\\(", e: "\\)", c: ["self", c, e.CBCM, t, a] }] }, { cN: "class", bK: "class interface", e: "{", eE: !0, i: /[:\(\$"]/, c: [{ bK: "extends implements" }, e.UTM] }, { bK: "namespace", e: ";", i: /[\.']/, c: [e.UTM] }, { bK: "use", e: ";", c: [e.UTM] }, { b: "=>" }, t, a] } }); hljs.registerLanguage("nginx", function (e) { var r = { cN: "variable", v: [{ b: /\$\d+/ }, { b: /\$\{/, e: /}/ }, { b: "[\\$\\@]" + e.UIR }] }, b = { eW: !0, l: "[a-z/_]+", k: { literal: "on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll" }, relevance: 0, i: "=>", c: [e.HCM, { cN: "string", c: [e.BE, r], v: [{ b: /"/, e: /"/ }, { b: /'/, e: /'/ }] }, { b: "([a-z]+):/", e: "\\s", eW: !0, eE: !0, c: [r] }, { cN: "regexp", c: [e.BE, r], v: [{ b: "\\s\\^", e: "\\s|{|;", rE: !0 }, { b: "~\\*?\\s+", e: "\\s|{|;", rE: !0 }, { b: "\\*(\\.[a-z\\-]+)+" }, { b: "([a-z\\-]+\\.)+\\*" }] }, { cN: "number", b: "\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b" }, { cN: "number", b: "\\b\\d+[kKmMgGdshdwy]*\\b", relevance: 0 }, r] }; return { aliases: ["nginxconf"], c: [e.HCM, { b: e.UIR + "\\s+{", rB: !0, e: "{", c: [{ cN: "section", b: e.UIR }], relevance: 0 }, { b: e.UIR + "\\s", e: ";|{", rB: !0, c: [{ cN: "attribute", b: e.UIR, starts: b }], relevance: 0 }], i: "[^\\s\\}]" } }); hljs.registerLanguage("makefile", function (e) { var i = { cN: "variable", v: [{ b: "\\$\\(" + e.UIR + "\\)", c: [e.BE] }, { b: /\$[@%<?\^\+\*]/ }] }, r = { cN: "string", b: /"/, e: /"/, c: [e.BE, i] }, a = { cN: "variable", b: /\$\([\w-]+\s/, e: /\)/, k: { built_in: "subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value" }, c: [i] }, n = { b: "^" + e.UIR + "\\s*(?=[:+?]?=)" }, t = { cN: "section", b: /^[^\s]+:/, e: /$/, c: [i] }; return { aliases: ["mk", "mak"], k: "define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath", l: /[\w-]+/, c: [e.HCM, i, r, a, n, { cN: "meta", b: /^\.PHONY:/, e: /$/, k: { "meta-keyword": ".PHONY" }, l: /[\.\w]+/ }, t] } }); hljs.registerLanguage("css", function (e) { var c = { b: /(?:[A-Z\_\.\-]+|--[a-zA-Z0-9_-]+)\s*:/, rB: !0, e: ";", eW: !0, c: [{ cN: "attribute", b: /\S/, e: ":", eE: !0, starts: { eW: !0, eE: !0, c: [{ b: /[\w-]+\(/, rB: !0, c: [{ cN: "built_in", b: /[\w-]+/ }, { b: /\(/, e: /\)/, c: [e.ASM, e.QSM, e.CSSNM] }] }, e.CSSNM, e.QSM, e.ASM, e.CBCM, { cN: "number", b: "#[0-9A-Fa-f]+" }, { cN: "meta", b: "!important" }] } }] }; return { cI: !0, i: /[=\/|'\$]/, c: [e.CBCM, { cN: "selector-id", b: /#[A-Za-z0-9_-]+/ }, { cN: "selector-class", b: /\.[A-Za-z0-9_-]+/ }, { cN: "selector-attr", b: /\[/, e: /\]/, i: "$", c: [e.ASM, e.QSM] }, { cN: "selector-pseudo", b: /:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/ }, { b: "@(page|font-face)", l: "@[a-z-]+", k: "@page @font-face" }, { b: "@", e: "[{;]", i: /:/, rB: !0, c: [{ cN: "keyword", b: /@\-?\w[\w]*(\-\w+)*/ }, { b: /\s/, eW: !0, eE: !0, relevance: 0, k: "and or not only", c: [{ b: /[a-z-]+:/, cN: "attribute" }, e.ASM, e.QSM, e.CSSNM] }] }, { cN: "selector-tag", b: "[a-zA-Z-][a-zA-Z0-9_-]*", relevance: 0 }, { b: "{", e: "}", i: /\S/, c: [e.CBCM, c] }] } }); hljs.registerLanguage("objectivec", function (e) { var t = /[a-zA-Z@][a-zA-Z0-9_]*/, i = "@interface @class @protocol @implementation"; return { aliases: ["mm", "objc", "obj-c"], k: { keyword: "int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN", literal: "false true FALSE TRUE nil YES NO NULL", built_in: "BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once" }, l: t, i: "</", c: [{ cN: "built_in", b: "\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+" }, e.CLCM, e.CBCM, e.CNM, e.QSM, e.ASM, { cN: "string", v: [{ b: '@"', e: '"', i: "\\n", c: [e.BE] }] }, { cN: "meta", b: /#\s*[a-z]+\b/, e: /$/, k: { "meta-keyword": "if else elif endif define undef warning error line pragma ifdef ifndef include" }, c: [{ b: /\\\n/, relevance: 0 }, e.inherit(e.QSM, { cN: "meta-string" }), { cN: "meta-string", b: /<.*?>/, e: /$/, i: "\\n" }, e.CLCM, e.CBCM] }, { cN: "class", b: "(" + i.split(" ").join("|") + ")\\b", e: "({|$)", eE: !0, k: i, l: t, c: [e.UTM] }, { b: "\\." + e.UIR, relevance: 0 }] } }); hljs.registerLanguage("typescript", function (e) { var r = "[A-Za-z$_][0-9A-Za-z$_]*", t = { keyword: "in if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class public private protected get set super static implements enum export import declare type namespace abstract as from extends async await", literal: "true false null undefined NaN Infinity", built_in: "eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document any number boolean string void Promise" }, n = { cN: "meta", b: "@" + r }, a = { b: "\\(", e: /\)/, k: t, c: ["self", e.QSM, e.ASM, e.NM] }, c = { cN: "params", b: /\(/, e: /\)/, eB: !0, eE: !0, k: t, c: [e.CLCM, e.CBCM, n, a] }, s = { cN: "number", v: [{ b: "\\b(0[bB][01]+)n?" }, { b: "\\b(0[oO][0-7]+)n?" }, { b: e.CNR + "n?" }], relevance: 0 }, o = { cN: "subst", b: "\\$\\{", e: "\\}", k: t, c: [] }, i = { b: "html`", e: "", starts: { e: "`", rE: !1, c: [e.BE, o], sL: "xml" } }, l = { b: "css`", e: "", starts: { e: "`", rE: !1, c: [e.BE, o], sL: "css" } }, b = { cN: "string", b: "`", e: "`", c: [e.BE, o] }; return o.c = [e.ASM, e.QSM, i, l, b, s, e.RM], { aliases: ["ts"], k: t, c: [{ cN: "meta", b: /^\s*['"]use strict['"]/ }, e.ASM, e.QSM, i, l, b, e.CLCM, e.CBCM, s, { b: "(" + e.RSR + "|\\b(case|return|throw)\\b)\\s*", k: "return throw case", c: [e.CLCM, e.CBCM, e.RM, { cN: "function", b: "(\\(.*?\\)|" + e.IR + ")\\s*=>", rB: !0, e: "\\s*=>", c: [{ cN: "params", v: [{ b: e.IR }, { b: /\(\s*\)/ }, { b: /\(/, e: /\)/, eB: !0, eE: !0, k: t, c: ["self", e.CLCM, e.CBCM] }] }] }], relevance: 0 }, { cN: "function", bK: "function", e: /[\{;]/, eE: !0, k: t, c: ["self", e.inherit(e.TM, { b: r }), c], i: /%/, relevance: 0 }, { bK: "constructor", e: /[\{;]/, eE: !0, c: ["self", c] }, { b: /module\./, k: { built_in: "module" }, relevance: 0 }, { bK: "module", e: /\{/, eE: !0 }, { bK: "interface", e: /\{/, eE: !0, k: "interface extends" }, { b: /\$[(.]/ }, { b: "\\." + e.IR, relevance: 0 }, n, a] } }); hljs.registerLanguage("elm", function (e) { var i = { v: [e.C("--", "$"), e.C("{-", "-}", { c: ["self"] })] }, t = { cN: "type", b: "\\b[A-Z][\\w']*", relevance: 0 }, c = { b: "\\(", e: "\\)", i: '"', c: [{ cN: "type", b: "\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?" }, i] }; return { k: "let in if then else case of where module import exposing type alias as infix infixl infixr port effect command subscription", c: [{ bK: "port effect module", e: "exposing", k: "port effect module where command subscription exposing", c: [c, i], i: "\\W\\.|;" }, { b: "import", e: "$", k: "import as exposing", c: [c, i], i: "\\W\\.|;" }, { b: "type", e: "$", k: "type alias", c: [t, c, { b: "{", e: "}", c: c.c }, i] }, { bK: "infix infixl infixr", e: "$", c: [e.CNM, i] }, { b: "port", e: "$", k: "port", c: [i] }, { cN: "string", b: "'\\\\?.", e: "'", i: "." }, e.QSM, e.CNM, t, e.inherit(e.TM, { b: "^[_a-z][\\w']*" }), i, { b: "->|<-" }], i: /;/ } }); hljs.registerLanguage("http", function (e) { var t = "HTTP/[0-9\\.]+"; return { aliases: ["https"], i: "\\S", c: [{ b: "^" + t, e: "$", c: [{ cN: "number", b: "\\b\\d{3}\\b" }] }, { b: "^[A-Z]+ (.*?) " + t + "$", rB: !0, e: "$", c: [{ cN: "string", b: " ", e: " ", eB: !0, eE: !0 }, { b: t }, { cN: "keyword", b: "[A-Z]+" }] }, { cN: "attribute", b: "^\\w", e: ": ", eE: !0, i: "\\n|\\s|=", starts: { e: "$", relevance: 0 } }, { b: "\\n\\n", starts: { sL: [], eW: !0 } }] } }); hljs.registerLanguage("diff", function (e) { return { aliases: ["patch"], c: [{ cN: "meta", relevance: 10, v: [{ b: /^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/ }, { b: /^\*\*\* +\d+,\d+ +\*\*\*\*$/ }, { b: /^\-\-\- +\d+,\d+ +\-\-\-\-$/ }] }, { cN: "comment", v: [{ b: /Index: /, e: /$/ }, { b: /={3,}/, e: /$/ }, { b: /^\-{3}/, e: /$/ }, { b: /^\*{3} /, e: /$/ }, { b: /^\+{3}/, e: /$/ }, { b: /^\*{15}$/ }] }, { cN: "addition", b: "^\\+", e: "$" }, { cN: "deletion", b: "^\\-", e: "$" }, { cN: "addition", b: "^\\!", e: "$" }] } }); hljs.registerLanguage("lisp", function (e) { var b = "[a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\#!]*", c = "\\|[^]*?\\|", a = "(\\-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|\\-)?\\d+)?", l = { cN: "literal", b: "\\b(t{1}|nil)\\b" }, n = { cN: "number", v: [{ b: a, relevance: 0 }, { b: "#(b|B)[0-1]+(/[0-1]+)?" }, { b: "#(o|O)[0-7]+(/[0-7]+)?" }, { b: "#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?" }, { b: "#(c|C)\\(" + a + " +" + a, e: "\\)" }] }, r = e.inherit(e.QSM, { i: null }), i = e.C(";", "$", { relevance: 0 }), t = { b: "\\*", e: "\\*" }, v = { cN: "symbol", b: "[:&]" + b }, s = { b: b, relevance: 0 }, u = { b: c }, d = { c: [n, r, t, v, { b: "\\(", e: "\\)", c: ["self", l, r, n, s] }, s], v: [{ b: "['`]\\(", e: "\\)" }, { b: "\\(quote ", e: "\\)", k: { name: "quote" } }, { b: "'" + c }] }, f = { v: [{ b: "'" + b }, { b: "#'" + b + "(::" + b + ")*" }] }, m = { b: "\\(\\s*", e: "\\)" }, o = { eW: !0, relevance: 0 }; return m.c = [{ cN: "name", v: [{ b: b }, { b: c }] }, o], o.c = [d, f, m, l, n, r, i, t, v, u, s], { i: /\S/, c: [n, { cN: "meta", b: "^#!", e: "$" }, l, r, i, d, f, m, s] } }); hljs.registerLanguage("kotlin", function (e) { var t = { keyword: "abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual trait volatile transient native default", built_in: "Byte Short Char Int Long Boolean Float Double Void Unit Nothing", literal: "true false null" }, a = { cN: "symbol", b: e.UIR + "@" }, n = { cN: "subst", b: "\\${", e: "}", c: [e.CNM] }, c = { cN: "variable", b: "\\$" + e.UIR }, r = { cN: "string", v: [{ b: '"""', e: '"""(?=[^"])', c: [c, n] }, { b: "'", e: "'", i: /\n/, c: [e.BE] }, { b: '"', e: '"', i: /\n/, c: [e.BE, c, n] }] }; n.c.push(r); var i = { cN: "meta", b: "@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*" + e.UIR + ")?" }, l = { cN: "meta", b: "@" + e.UIR, c: [{ b: /\(/, e: /\)/, c: [e.inherit(r, { cN: "meta-string" })] }] }, s = { cN: "number", b: "\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?", relevance: 0 }, b = e.C("/\\*", "\\*/", { c: [e.CBCM] }), o = { v: [{ cN: "type", b: e.UIR }, { b: /\(/, e: /\)/, c: [] }] }, d = o; return d.v[1].c = [o], o.v[1].c = [d], { aliases: ["kt"], k: t, c: [e.C("/\\*\\*", "\\*/", { relevance: 0, c: [{ cN: "doctag", b: "@[A-Za-z]+" }] }), e.CLCM, b, { cN: "keyword", b: /\b(break|continue|return|this)\b/, starts: { c: [{ cN: "symbol", b: /@\w+/ }] } }, a, i, l, { cN: "function", bK: "fun", e: "[(]|$", rB: !0, eE: !0, k: t, i: /fun\s+(<.*>)?[^\s\(]+(\s+[^\s\(]+)\s*=/, relevance: 5, c: [{ b: e.UIR + "\\s*\\(", rB: !0, relevance: 0, c: [e.UTM] }, { cN: "type", b: /</, e: />/, k: "reified", relevance: 0 }, { cN: "params", b: /\(/, e: /\)/, endsParent: !0, k: t, relevance: 0, c: [{ b: /:/, e: /[=,\/]/, eW: !0, c: [o, e.CLCM, b], relevance: 0 }, e.CLCM, b, i, l, r, e.CNM] }, b] }, { cN: "class", bK: "class interface trait", e: /[:\{(]|$/, eE: !0, i: "extends implements", c: [{ bK: "public protected internal private constructor" }, e.UTM, { cN: "type", b: /</, e: />/, eB: !0, eE: !0, relevance: 0 }, { cN: "type", b: /[,:]\s*/, e: /[<\(,]|$/, eB: !0, rE: !0 }, i, l] }, r, { cN: "meta", b: "^#!/usr/bin/env", e: "$", i: "\n" }, s] } }); hljs.registerLanguage("dart", function (e) { var t = { cN: "subst", v: [{ b: "\\$[A-Za-z0-9_]+" }] }, r = { cN: "subst", v: [{ b: "\\${", e: "}" }], k: "true false null this is new super" }, n = { cN: "string", v: [{ b: "r'''", e: "'''" }, { b: 'r"""', e: '"""' }, { b: "r'", e: "'", i: "\\n" }, { b: 'r"', e: '"', i: "\\n" }, { b: "'''", e: "'''", c: [e.BE, t, r] }, { b: '"""', e: '"""', c: [e.BE, t, r] }, { b: "'", e: "'", i: "\\n", c: [e.BE, t, r] }, { b: '"', e: '"', i: "\\n", c: [e.BE, t, r] }] }; r.c = [e.CNM, n]; return { k: { keyword: "abstract as assert async await break case catch class const continue covariant default deferred do dynamic else enum export extends extension external factory false final finally for Function get hide if implements import in inferface is library mixin new null on operator part rethrow return set show static super switch sync this throw true try typedef var void while with yield", built_in: "Comparable DateTime Duration Function Iterable Iterator List Map Match Null Object Pattern RegExp Set Stopwatch String StringBuffer StringSink Symbol Type Uri bool double dynamic int num print Element ElementList document querySelector querySelectorAll window" }, c: [n, e.C("/\\*\\*", "\\*/", { sL: "markdown" }), e.C("///+\\s*", "$", { c: [{ sL: "markdown", b: ".", e: "$" }] }), e.CLCM, e.CBCM, { cN: "class", bK: "class interface", e: "{", eE: !0, c: [{ bK: "extends implements" }, e.UTM] }, e.CNM, { cN: "meta", b: "@[A-Za-z]+" }, { b: "=>" }] } }); hljs.registerLanguage("applescript", function (e) { var t = e.inherit(e.QSM, { i: "" }), r = { cN: "params", b: "\\(", e: "\\)", c: ["self", e.CNM, t] }, i = e.C("--", "$"), o = [i, e.C("\\(\\*", "\\*\\)", { c: ["self", i] }), e.HCM]; return { aliases: ["osascript"], k: { keyword: "about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without", literal: "AppleScript false linefeed return pi quote result space tab true", built_in: "alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name paragraph paragraphs rest reverse running time version weekday word words year" }, c: [t, e.CNM, { cN: "built_in", b: "\\b(clipboard info|the clipboard|info for|list (disks|folder)|mount volume|path to|(close|open for) access|(get|set) eof|current date|do shell script|get volume settings|random number|set volume|system attribute|system info|time to GMT|(load|run|store) script|scripting components|ASCII (character|number)|localized string|choose (application|color|file|file name|folder|from list|remote application|URL)|display (alert|dialog))\\b|^\\s*return\\b" }, { cN: "literal", b: "\\b(text item delimiters|current application|missing value)\\b" }, { cN: "keyword", b: "\\b(apart from|aside from|instead of|out of|greater than|isn't|(doesn't|does not) (equal|come before|come after|contain)|(greater|less) than( or equal)?|(starts?|ends|begins?) with|contained by|comes (before|after)|a (ref|reference)|POSIX file|POSIX path|(date|time) string|quoted form)\\b" }, { bK: "on", i: "[${=;\\n]", c: [e.UTM, r] }].concat(o), i: "//|->|=>|\\[\\[" } }); hljs.registerLanguage("autohotkey", function (e) { var a = { b: "`[\\s\\S]" }; return { cI: !0, aliases: ["ahk"], k: { keyword: "Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group", literal: "true false NOT AND OR", built_in: "ComSpec Clipboard ClipboardAll ErrorLevel" }, c: [a, e.inherit(e.QSM, { c: [a] }), e.C(";", "$", { relevance: 0 }), e.CBCM, { cN: "number", b: e.NR, relevance: 0 }, { cN: "variable", b: "%[a-zA-Z0-9#_$@]+%" }, { cN: "built_in", b: "^\\s*\\w+\\s*(,|%)" }, { cN: "title", v: [{ b: '^[^\\n";]+::(?!=)' }, { b: '^[^\\n";]+:(?!=)', relevance: 0 }] }, { cN: "meta", b: "^\\s*#\\w+", e: "$", relevance: 0 }, { cN: "built_in", b: "A_[a-zA-Z0-9]+" }, { b: ",\\s*," }] } }); hljs.registerLanguage("rust", function (e) { var t = "([ui](8|16|32|64|128|size)|f(32|64))?", r = "drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!"; return { aliases: ["rs"], k: { keyword: "abstract as async await become box break const continue crate do dyn else enum extern false final fn for if impl in let loop macro match mod move mut override priv pub ref return self Self static struct super trait true try type typeof unsafe unsized use virtual where while yield", literal: "true false Some None Ok Err", built_in: r }, l: e.IR + "!?", i: "</", c: [e.CLCM, e.C("/\\*", "\\*/", { c: ["self"] }), e.inherit(e.QSM, { b: /b?"/, i: null }), { cN: "string", v: [{ b: /r(#*)"(.|\n)*?"\1(?!#)/ }, { b: /b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/ }] }, { cN: "symbol", b: /'[a-zA-Z_][a-zA-Z0-9_]*/ }, { cN: "number", v: [{ b: "\\b0b([01_]+)" + t }, { b: "\\b0o([0-7_]+)" + t }, { b: "\\b0x([A-Fa-f0-9_]+)" + t }, { b: "\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)" + t }], relevance: 0 }, { cN: "function", bK: "fn", e: "(\\(|<)", eE: !0, c: [e.UTM] }, { cN: "meta", b: "#\\!?\\[", e: "\\]", c: [{ cN: "meta-string", b: /"/, e: /"/ }] }, { cN: "class", bK: "type", e: ";", c: [e.inherit(e.UTM, { endsParent: !0 })], i: "\\S" }, { cN: "class", bK: "trait enum struct union", e: "{", c: [e.inherit(e.UTM, { endsParent: !0 })], i: "[\\w\\d]" }, { b: e.IR + "::", k: { built_in: r } }, { b: "->" }] } }); hljs.registerLanguage("scss", function (e) { var t = "@[a-z-]+", r = { cN: "variable", b: "(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b" }, i = { cN: "number", b: "#[0-9A-Fa-f]+" }; e.CSSNM, e.QSM, e.ASM, e.CBCM; return { cI: !0, i: "[=/|']", c: [e.CLCM, e.CBCM, { cN: "selector-id", b: "\\#[A-Za-z0-9_-]+", relevance: 0 }, { cN: "selector-class", b: "\\.[A-Za-z0-9_-]+", relevance: 0 }, { cN: "selector-attr", b: "\\[", e: "\\]", i: "$" }, { cN: "selector-tag", b: "\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b", relevance: 0 }, { cN: "selector-pseudo", b: ":(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)" }, { cN: "selector-pseudo", b: "::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)" }, r, { cN: "attribute", b: "\\b(src|z-index|word-wrap|word-spacing|word-break|width|widows|white-space|visibility|vertical-align|unicode-bidi|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform|top|text-underline-position|text-transform|text-shadow|text-rendering|text-overflow|text-indent|text-decoration-style|text-decoration-line|text-decoration-color|text-decoration|text-align-last|text-align|tab-size|table-layout|right|resize|quotes|position|pointer-events|perspective-origin|perspective|page-break-inside|page-break-before|page-break-after|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-y|overflow-x|overflow-wrap|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|order|opacity|object-position|object-fit|normal|none|nav-up|nav-right|nav-left|nav-index|nav-down|min-width|min-height|max-width|max-height|mask|marks|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|left|justify-content|initial|inherit|ime-mode|image-orientation|image-resolution|image-rendering|icon|hyphens|height|font-weight|font-variant-ligatures|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|float|flex-wrap|flex-shrink|flex-grow|flex-flow|flex-direction|flex-basis|flex|filter|empty-cells|display|direction|cursor|counter-reset|counter-increment|content|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|columns|color|clip-path|clip|clear|caption-side|break-inside|break-before|break-after|box-sizing|box-shadow|box-decoration-break|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-left-width|border-left-style|border-left-color|border-left|border-image-width|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-attachment|background-blend-mode|background|backface-visibility|auto|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|align-self|align-items|align-content)\\b", i: "[^\\s]" }, { b: "\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b" }, { b: ":", e: ";", c: [r, i, e.CSSNM, e.QSM, e.ASM, { cN: "meta", b: "!important" }] }, { b: "@(page|font-face)", l: t, k: "@page @font-face" }, { b: "@", e: "[{;]", rB: !0, k: "and or not only", c: [{ b: t, cN: "keyword" }, r, e.QSM, e.ASM, i, e.CSSNM] }] } }); hljs.registerLanguage("dockerfile", function (e) { return { aliases: ["docker"], cI: !0, k: "from maintainer expose env arg user onbuild stopsignal", c: [e.HCM, e.ASM, e.QSM, e.NM, { bK: "run cmd entrypoint volume add copy workdir label healthcheck shell", starts: { e: /[^\\]$/, sL: "bash" } }], i: "</" } }); hljs.registerLanguage("apache", function (e) { var r = { cN: "number", b: "[\\$%]\\d+" }; return { aliases: ["apacheconf"], cI: !0, c: [e.HCM, { cN: "section", b: "</?", e: ">" }, { cN: "attribute", b: /\w+/, relevance: 0, k: { nomarkup: "order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername" }, starts: { e: /$/, relevance: 0, k: { literal: "on off all" }, c: [{ cN: "meta", b: "\\s\\[", e: "\\]$" }, { cN: "variable", b: "[\\$%]\\{", e: "\\}", c: ["self", r] }, r, e.QSM] } }], i: /\S/ } }); hljs.registerLanguage("prolog", function (e) { var c = { b: /\(/, e: /\)/, relevance: 0 }, b = { b: /\[/, e: /\]/ }, n = { cN: "comment", b: /%/, e: /$/, c: [e.PWM] }, r = { cN: "string", b: /`/, e: /`/, c: [e.BE] }, a = [{ b: /[a-z][A-Za-z0-9_]*/, relevance: 0 }, { cN: "symbol", v: [{ b: /[A-Z][a-zA-Z0-9_]*/ }, { b: /_[A-Za-z0-9_]*/ }], relevance: 0 }, c, { b: /:-/ }, b, n, e.CBCM, e.QSM, e.ASM, r, { cN: "string", b: /0\'(\\\'|.)/ }, { cN: "string", b: /0\'\\s/ }, e.CNM]; return c.c = a, { c: (b.c = a).concat([{ b: /\.$/ }]) } }); hljs.registerLanguage("matlab", function (e) { var a = "('|\\.')+", s = { relevance: 0, c: [{ b: a }] }; return { k: { keyword: "break case catch classdef continue else elseif end enumerated events for function global if methods otherwise parfor persistent properties return spmd switch try while", built_in: "sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i inf nan isnan isinf isfinite j why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell " }, i: '(//|"|#|/\\*|\\s+/\\w+)', c: [{ cN: "function", bK: "function", e: "$", c: [e.UTM, { cN: "params", v: [{ b: "\\(", e: "\\)" }, { b: "\\[", e: "\\]" }] }] }, { cN: "built_in", b: /true|false/, relevance: 0, starts: s }, { b: "[a-zA-Z][a-zA-Z_0-9]*" + a, relevance: 0 }, { cN: "number", b: e.CNR, relevance: 0, starts: s }, { cN: "string", b: "'", e: "'", c: [e.BE, { b: "''" }] }, { b: /\]|}|\)/, relevance: 0, starts: s }, { cN: "string", b: '"', e: '"', c: [e.BE, { b: '""' }], starts: s }, e.C("^\\s*\\%\\{\\s*$", "^\\s*\\%\\}\\s*$"), e.C("\\%", "$")] } }); hljs.registerLanguage("tcl", function (e) { return { aliases: ["tk"], k: "after append apply array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock close concat continue dde dict encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent filename flush for foreach format gets glob global history http if incr info interp join lappend|10 lassign|10 lindex|10 linsert|10 list llength|10 load lrange|10 lrepeat|10 lreplace|10 lreverse|10 lsearch|10 lset|10 lsort|10 mathfunc mathop memory msgcat namespace open package parray pid pkg::create pkg_mkIndex platform platform::shell proc puts pwd read refchan regexp registry regsub|10 rename return safe scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_startOfPreviousWord tcl_wordBreakAfter tcl_wordBreakBefore tcltest tclvars tell time tm trace unknown unload unset update uplevel upvar variable vwait while", c: [e.C(";[ \\t]*#", "$"), e.C("^[ \\t]*#", "$"), { bK: "proc", e: "[\\{]", eE: !0, c: [{ cN: "title", b: "[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*", e: "[ \\t\\n\\r]", eW: !0, eE: !0 }] }, { eE: !0, v: [{ b: "\\$(\\{)?(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*\\(([a-zA-Z0-9_])*\\)", e: "[^a-zA-Z0-9_\\}\\$]" }, { b: "\\$(\\{)?(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*", e: "(\\))?[^a-zA-Z0-9_\\}\\$]" }] }, { cN: "string", c: [e.BE], v: [e.inherit(e.QSM, { i: null })] }, { cN: "number", v: [e.BNM, e.CNM] }] } }); hljs.registerLanguage("go", function (e) { var n = { keyword: "break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune", literal: "true false iota nil", built_in: "append cap close complex copy imag len make new panic print println real recover delete" }; return { aliases: ["golang"], k: n, i: "</", c: [e.CLCM, e.CBCM, { cN: "string", v: [e.QSM, e.ASM, { b: "`", e: "`" }] }, { cN: "number", v: [{ b: e.CNR + "[i]", relevance: 1 }, e.CNM] }, { b: /:=/ }, { cN: "function", bK: "func", e: "\\s*(\\{|$)", eE: !0, c: [e.TM, { cN: "params", b: /\(/, e: /\)/, k: n, i: /["']/ }] }] } }); hljs.registerLanguage("lua", function (e) { var t = "\\[=*\\[", a = "\\]=*\\]", n = { b: t, e: a, c: ["self"] }, l = [e.C("--(?!" + t + ")", "$"), e.C("--" + t, a, { c: [n], relevance: 10 })]; return { l: e.UIR, k: { literal: "true false nil", keyword: "and break do else elseif end for goto if in local not or repeat return then until while", built_in: "_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstringmodule next pairs pcall print rawequal rawget rawset require select setfenvsetmetatable tonumber tostring type unpack xpcall arg selfcoroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove" }, c: l.concat([{ cN: "function", bK: "function", e: "\\)", c: [e.inherit(e.TM, { b: "([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*" }), { cN: "params", b: "\\(", eW: !0, c: l }].concat(l) }, e.CNM, e.ASM, e.QSM, { cN: "string", b: t, e: a, c: [n], relevance: 5 }]) } }); hljs.registerLanguage("yaml", function (e) { var b = "true false yes no null", a = { cN: "string", relevance: 0, v: [{ b: /'/, e: /'/ }, { b: /"/, e: /"/ }, { b: /\S+/ }], c: [e.BE, { cN: "template-variable", v: [{ b: "{{", e: "}}" }, { b: "%{", e: "}" }] }] }; return { cI: !0, aliases: ["yml", "YAML", "yaml"], c: [{ cN: "attr", v: [{ b: "\\w[\\w :\\/.-]*:(?=[ \t]|$)" }, { b: '"\\w[\\w :\\/.-]*":(?=[ \t]|$)' }, { b: "'\\w[\\w :\\/.-]*':(?=[ \t]|$)" }] }, { cN: "meta", b: "^---s*$", relevance: 10 }, { cN: "string", b: "[\\|>]([0-9]?[+-])?[ ]*\\n( *)[\\S ]+\\n(\\2[\\S ]+\\n?)*" }, { b: "<%[%=-]?", e: "[%-]?%>", sL: "ruby", eB: !0, eE: !0, relevance: 0 }, { cN: "type", b: "!" + e.UIR }, { cN: "type", b: "!!" + e.UIR }, { cN: "meta", b: "&" + e.UIR + "$" }, { cN: "meta", b: "\\*" + e.UIR + "$" }, { cN: "bullet", b: "\\-(?=[ ]|$)", relevance: 0 }, e.HCM, { bK: b, k: { literal: b } }, { cN: "number", b: e.CNR + "\\b" }, a] } });
// @license-end