/* PrismJS 1.14.0 http://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript&plugins=normalize-whitespace */ var _self = "undefined" != typeof window ? window : "undefined" != typeof WorkerGlobalScope && self instanceof WorkerGlobalScope ? self : {}, Prism = (function () { var e = /\blang(?:uage)?-([\w-]+)\b/i, t = 0, n = (_self.Prism = { manual: _self.Prism && _self.Prism.manual, disableWorkerMessageHandler: _self.Prism && _self.Prism.disableWorkerMessageHandler, util: { encode: function (e) { return e instanceof r ? new r(e.type, n.util.encode(e.content), e.alias) : "Array" === n.util.type(e) ? e.map(n.util.encode) : e .replace(/&/g, "&") .replace(/ e.length) return; if (!(w instanceof s)) { if (m && b != t.length - 1) { h.lastIndex = k; var _ = h.exec(e); if (!_) break; for ( var j = _.index + (d ? _[1].length : 0), P = _.index + _[0].length, A = b, x = k, O = t.length; O > A && (P > x || (!t[A].type && !t[A - 1].greedy)); ++A ) (x += t[A].length), j >= x && (++b, (k = x)); if (t[b] instanceof s) continue; (I = A - b), (w = e.slice(k, x)), (_.index -= k); } else { h.lastIndex = 0; var _ = h.exec(w), I = 1; } if (_) { d && (p = _[1] ? _[1].length : 0); var j = _.index + p, _ = _[0].slice(p), P = j + _.length, N = w.slice(0, j), S = w.slice(P), C = [b, I]; N && (++b, (k += N.length), C.push(N)); var E = new s(u, f ? n.tokenize(_, f) : _, y, _, m); if ( (C.push(E), S && C.push(S), Array.prototype.splice.apply(t, C), 1 != I && n.matchGrammar(e, t, r, b, k, !0, u), i) ) break; } else if (i) break; } } } } }, tokenize: function (e, t) { var r = [e], a = t.rest; if (a) { for (var l in a) t[l] = a[l]; delete t.rest; } return n.matchGrammar(e, r, t, 0, 0, !1), r; }, hooks: { all: {}, add: function (e, t) { var r = n.hooks.all; (r[e] = r[e] || []), r[e].push(t); }, run: function (e, t) { var r = n.hooks.all[e]; if (r && r.length) for (var a, l = 0; (a = r[l++]); ) a(t); }, }, }), r = (n.Token = function (e, t, n, r, a) { (this.type = e), (this.content = t), (this.alias = n), (this.length = 0 | (r || "").length), (this.greedy = !!a); }); if ( ((r.stringify = function (e, t, a) { if ("string" == typeof e) return e; if ("Array" === n.util.type(e)) return e .map(function (n) { return r.stringify(n, t, e); }) .join(""); var l = { type: e.type, content: r.stringify(e.content, t, a), tag: "span", classes: ["token", e.type], attributes: {}, language: t, parent: a, }; if (e.alias) { var i = "Array" === n.util.type(e.alias) ? e.alias : [e.alias]; Array.prototype.push.apply(l.classes, i); } n.hooks.run("wrap", l); var o = Object.keys(l.attributes) .map(function (e) { return ( e + '="' + (l.attributes[e] || "").replace(/"/g, """) + '"' ); }) .join(" "); return ( "<" + l.tag + ' class="' + l.classes.join(" ") + '"' + (o ? " " + o : "") + ">" + l.content + "" ); }), !_self.document) ) return _self.addEventListener ? (n.disableWorkerMessageHandler || _self.addEventListener( "message", function (e) { var t = JSON.parse(e.data), r = t.language, a = t.code, l = t.immediateClose; _self.postMessage(n.highlight(a, n.languages[r], r)), l && _self.close(); }, !1 ), _self.Prism) : _self.Prism; var a = document.currentScript || [].slice.call(document.getElementsByTagName("script")).pop(); return ( a && ((n.filename = a.src), n.manual || a.hasAttribute("data-manual") || ("loading" !== document.readyState ? window.requestAnimationFrame ? window.requestAnimationFrame(n.highlightAll) : window.setTimeout(n.highlightAll, 16) : document.addEventListener("DOMContentLoaded", n.highlightAll))), _self.Prism ); })(); "undefined" != typeof module && module.exports && (module.exports = Prism), "undefined" != typeof global && (global.Prism = Prism); (Prism.languages.markup = { comment: //, prolog: /<\?[\s\S]+?\?>/, doctype: //i, cdata: //i, tag: { pattern: /<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i, greedy: !0, inside: { tag: { pattern: /^<\/?[^\s>\/]+/i, inside: { punctuation: /^<\/?/, namespace: /^[^\s>\/:]+:/ }, }, "attr-value": { pattern: /=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/i, inside: { punctuation: [/^=/, { pattern: /(^|[^\\])["']/, lookbehind: !0 }], }, }, punctuation: /\/?>/, "attr-name": { pattern: /[^\s>\/]+/, inside: { namespace: /^[^\s>\/:]+:/ }, }, }, }, entity: /&#?[\da-z]{1,8};/i, }), (Prism.languages.markup.tag.inside["attr-value"].inside.entity = Prism.languages.markup.entity), Prism.hooks.add("wrap", function (a) { "entity" === a.type && (a.attributes.title = a.content.replace(/&/, "&")); }), (Prism.languages.xml = Prism.languages.markup), (Prism.languages.html = Prism.languages.markup), (Prism.languages.mathml = Prism.languages.markup), (Prism.languages.svg = Prism.languages.markup); (Prism.languages.css = { comment: /\/\*[\s\S]*?\*\//, atrule: { pattern: /@[\w-]+?.*?(?:;|(?=\s*\{))/i, inside: { rule: /@[\w-]+/ }, }, url: /url\((?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|.*?)\)/i, selector: /[^{}\s][^{};]*?(?=\s*\{)/, string: { pattern: /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, greedy: !0, }, property: /[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i, important: /\B!important\b/i, function: /[-a-z0-9]+(?=\()/i, punctuation: /[(){};:]/, }), (Prism.languages.css.atrule.inside.rest = Prism.languages.css), Prism.languages.markup && (Prism.languages.insertBefore("markup", "tag", { style: { pattern: /()[\s\S]*?(?=<\/style>)/i, lookbehind: !0, inside: Prism.languages.css, alias: "language-css", greedy: !0, }, }), Prism.languages.insertBefore( "inside", "attr-value", { "style-attr": { pattern: /\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i, inside: { "attr-name": { pattern: /^\s*style/i, inside: Prism.languages.markup.tag.inside, }, punctuation: /^\s*=\s*['"]|['"]\s*$/, "attr-value": { pattern: /.+/i, inside: Prism.languages.css }, }, alias: "language-css", }, }, Prism.languages.markup.tag )); Prism.languages.clike = { comment: [ { pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/, lookbehind: !0 }, { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 }, ], string: { pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, greedy: !0, }, "class-name": { pattern: /((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i, lookbehind: !0, inside: { punctuation: /[.\\]/ }, }, keyword: /\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/, boolean: /\b(?:true|false)\b/, function: /[a-z0-9_]+(?=\()/i, number: /\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i, operator: /--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/, punctuation: /[{}[\];(),.:]/, }; (Prism.languages.javascript = Prism.languages.extend("clike", { keyword: /\b(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/, number: /\b(?:0[xX][\dA-Fa-f]+|0[bB][01]+|0[oO][0-7]+|NaN|Infinity)\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee][+-]?\d+)?/, function: /[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*\()/i, operator: /-[-=]?|\+[+=]?|!=?=?|<>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/, })), Prism.languages.insertBefore("javascript", "keyword", { regex: { pattern: /((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[[^\]\r\n]+]|\\.|[^\/\\\[\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})\]]))/, lookbehind: !0, greedy: !0, }, "function-variable": { pattern: /[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=\s*(?:function\b|(?:\([^()]*\)|[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/i, alias: "function", }, constant: /\b[A-Z][A-Z\d_]*\b/, }), Prism.languages.insertBefore("javascript", "string", { "template-string": { pattern: /`(?:\\[\s\S]|[^\\`])*`/, greedy: !0, inside: { interpolation: { pattern: /\$\{[^}]+\}/, inside: { "interpolation-punctuation": { pattern: /^\$\{|\}$/, alias: "punctuation", }, rest: Prism.languages.javascript, }, }, string: /[\s\S]+/, }, }, }), Prism.languages.markup && Prism.languages.insertBefore("markup", "tag", { script: { pattern: /()[\s\S]*?(?=<\/script>)/i, lookbehind: !0, inside: Prism.languages.javascript, alias: "language-javascript", greedy: !0, }, }), (Prism.languages.js = Prism.languages.javascript); !(function () { function e(e) { this.defaults = r({}, e); } function n(e) { return e.replace(/-(\w)/g, function (e, n) { return n.toUpperCase(); }); } function t(e) { for (var n = 0, t = 0; t < e.length; ++t) e.charCodeAt(t) == " ".charCodeAt(0) && (n += 3); return e.length + n; } var r = Object.assign || function (e, n) { for (var t in n) n.hasOwnProperty(t) && (e[t] = n[t]); return e; }; (e.prototype = { setDefaults: function (e) { this.defaults = r(this.defaults, e); }, normalize: function (e, t) { t = r(this.defaults, t); for (var i in t) { var o = n(i); "normalize" !== i && "setDefaults" !== o && t[i] && this[o] && (e = this[o].call(this, e, t[i])); } return e; }, leftTrim: function (e) { return e.replace(/^\s+/, ""); }, rightTrim: function (e) { return e.replace(/\s+$/, ""); }, tabsToSpaces: function (e, n) { return (n = 0 | n || 4), e.replace(/\t/g, new Array(++n).join(" ")); }, spacesToTabs: function (e, n) { return (n = 0 | n || 4), e.replace(new RegExp(" {" + n + "}", "g"), " "); }, removeTrailing: function (e) { return e.replace(/\s*?$/gm, ""); }, removeInitialLineFeed: function (e) { return e.replace(/^(?:\r?\n|\r)/, ""); }, removeIndent: function (e) { var n = e.match(/^[^\S\n\r]*(?=\S)/gm); return n && n[0].length ? (n.sort(function (e, n) { return e.length - n.length; }), n[0].length ? e.replace(new RegExp("^" + n[0], "gm"), "") : e) : e; }, indent: function (e, n) { return e.replace(/^[^\S\n\r]*(?=\S)/gm, new Array(++n).join(" ") + "$&"); }, breakLines: function (e, n) { n = n === !0 ? 80 : 0 | n || 80; for (var r = e.split("\n"), i = 0; i < r.length; ++i) if (!(t(r[i]) <= n)) { for (var o = r[i].split(/(\s+)/g), a = 0, s = 0; s < o.length; ++s) { var l = t(o[s]); (a += l), a > n && ((o[s] = "\n" + o[s]), (a = l)); } r[i] = o.join(""); } return r.join("\n"); }, }), "undefined" != typeof module && module.exports && (module.exports = e), "undefined" != typeof Prism && ((Prism.plugins.NormalizeWhitespace = new e({ "remove-trailing": !0, "remove-indent": !0, "left-trim": !0, "right-trim": !0, })), Prism.hooks.add("before-sanity-check", function (e) { var n = Prism.plugins.NormalizeWhitespace; if (!e.settings || e.settings["whitespace-normalization"] !== !1) { if ((!e.element || !e.element.parentNode) && e.code) return (e.code = n.normalize(e.code, e.settings)), void 0; var t = e.element.parentNode, r = /\bno-whitespace-normalization\b/; if ( e.code && t && "pre" === t.nodeName.toLowerCase() && !r.test(t.className) && !r.test(e.element.className) ) { for ( var i = t.childNodes, o = "", a = "", s = !1, l = 0; l < i.length; ++l ) { var c = i[l]; c == e.element ? (s = !0) : "#text" === c.nodeName && (s ? (a += c.nodeValue) : (o += c.nodeValue), t.removeChild(c), --l); } if (e.element.children.length && Prism.plugins.KeepMarkup) { var u = o + e.element.innerHTML + a; (e.element.innerHTML = n.normalize(u, e.settings)), (e.code = e.element.textContent); } else (e.code = o + e.code + a), (e.code = n.normalize(e.code, e.settings)); } } })); })();