/* Enlighter dynamic generated script - DO NOT EDIT */
/*! EnlighterJS Syntax Highlighter 3.4.0 | Mozilla Public License 2.0 | https://enlighterjs.org */
var EnlighterJS=function(e){"use strict";var c={indent:4,ampersandCleanup:!0,linehover:!0,rawcodeDbclick:!1,textOverflow:"break",collapse:!1,retainCssClasses:!1,cssClasses:"",toolbarOuter:"{BTN_TABS}",toolbarTop:"{BTN_RAW}{BTN_COPY}{BTN_WINDOW}{BTN_WEBSITE}",toolbarBottom:"{BTN_COLLAPSE}",linenumbers:!0,lineoffset:0,highlight:"",layout:"standard",language:"generic",theme:"enlighter",title:""};function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function g(e,t,r){return(g=l()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&o(i,r.prototype),i}).apply(null,arguments)}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(r){var n=l();return function(){var e,t=s(r);return u(this,n?(e=s(this).constructor,Reflect.construct(t,arguments,e)):t.apply(this,arguments))}}function y(e,t,r){return(y="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=s(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}})(e,t,r||e)}function f(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||b(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var h={sqStrings:{regex:/('(?:[^'\\]|\\.)*')/g,type:"s0"},dqStrings:{regex:/"(?:[^"\\]|\\.)*"/g,type:"s0"},bqStrings:{regex:/`(?:[^`\\]|\\.)*`/g,type:"s0"},char:{regex:/('(\\.|.|\\\w+)')/g,type:"s1"},slashComments:{regex:/(?:^|[^\\])\/\/.*$/gm,type:"c0"},poundComments:{regex:/(?:^|[^\\])#.*$/gm,type:"c0"},blockComments:{regex:/\/\*[\s\S]*?\*\//g,type:"c1"},docComments:{regex:/\/\*\*[\s\S]*?\*\//g,type:"c2"},heredoc:{regex:/(<<[<-]?\s*?(['"]?)([A-Z0-9_]+)\2\s*\n[\s\S]*?\n\3)/gi,type:"s5"},brackets:{regex:/[[\](){}<>]+/g,type:"g1"},floats:{regex:/[\b\W](-?((?:\d+\.\d+|\.\d+|\d+\.)(?:e[+-]?\d+)?)|\d+(?:e[+-]?\d+))/gi,type:"n0"},complex:{regex:/[\b\W](?:-?(?:(?:\d+\.\d+|\.\d+|\d+\.|\d+)(?:e[+-]?\d+)?)|\d+(?:e[+-]?\d+))[ij]/gi,type:"n5"},int:{regex:/[\b\W](-?\d+)(?!\.)\b/g,type:"n1"},hex:{regex:/[\b\W](-?0x[A-F0-9]+)\b/gi,type:"n2"},bin:{regex:/[\b\W](-?0b[01]+)\b/gi,type:"n3"},octal:{regex:/[\b\W](-?0[0-7]+)(?!\.)\b/g,type:"n4"},prop:{regex:/[\w\])]\.(\w+)\b/g,type:"m3"},fCalls:{regex:/\b([\w]+)\s*\(/gm,type:"m0"},mCalls:{regex:/\.([\w]+)\s*\(/gm,type:"m1"},boolean:{regex:/\b(true|false)\b/gi,type:"e0"},null:{regex:/\b(null)\b/gi,type:"e1"}};function C(e,t,r,n,i){return{text:e,type:t,index:n||0,end:e.length+n,filter:r||null,priority:i||0}}function m(e,t,r){for(var n=2<arguments.length&&void 0!==r?r:"text",i=[],a=0,s=0;s<t.length;s++){var o=t[s];if(!o||!o.type||!o.regex)return;for(var l=void 0;null!=(l=o.regex.exec(e));){if(5e4<++a)throw new Error("Infinite tokenizer loop detected; more than 50k tokens - language rule ["+s+"] "+o.regex+" seems to be broken");if(0!=l[0].length){o.regex.lastIndex=l.index+1+l[0].length/3;var g=Array.isArray(o.type)?o.type[0]:o.type,u=(Array.isArray(o.filter)?o.filter[0]:o.filter)||null;if(1<l.length)for(var p,c,y,f=0,b=1;b<l.length;b++){l[b]&&(p=Array.isArray(o.type)&&o.type.length>=b?o.type[b-1]:g,c=Array.isArray(o.filter)&&o.filter.length>=b?o.filter[b-1]:u,f=y=l[0].indexOf(l[b],f),i.push(C(l[b],p,c,l.index+y,s)))}else i.push(C(l[0],g,u,l.index,s))}}}i=i.sort(function(e,t){return e.index==t.index?e.priority<t.priority?-1:1:e.index<t.index?-1:1});for(var d=[],h=0,m=0;m<i.length;m++){if(h<i[m].index&&d.push(C(e.substring(h,i[m].index),n,null,h)),i[m].filter)for(var x=i[m].filter(i[m])||[],k=0;k<x.length;k++)d.push(x[k]);else d.push(i[m]);h=i[m].end;for(var v=!1,w=m+1;w<i.length;w++)if(i[w].index>=h){m=w-1,v=!0;break}if(!1===v)break}return h<e.length&&d.push(C(e.substring(h),n,null,h)),d}var x=function(){function e(){r(this,e),this.rules=[],this.setupLanguage()}return i(e,[{key:"setupLanguage",value:function(){this.rules=[h.sqStrings,h.dqStrings,h.prop,h.slashComments,h.poundComments,h.blockComments,h.brackets,{regex:/\W(true|false|null|nil|if|then|else|for|while|do|class|implements|extends|function|end|void|return|in|of|new|this|try|catch|def|except)\W/gi,type:"k1"},h.mCalls,h.fCalls,h.octal,h.bin,h.hex,h.floats,h.int,{regex:/[\b\s]([$&|~*:;]+)[\b\s]/g,type:"g0"}]}},{key:"analyze",value:function(e){return m(e,this.rules)}}]),e}(),t=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.sqStrings,{regex:/\|.*?\|/g,type:"s2"},{regex:/(".*)$/gm,type:"c0"},{regex:/^\s*(\*.*)$/gm,type:"c0"},{regex:/(data):?\s*(\w+)\s*/gi,type:["k2","k7"]},{regex:/(type)\s+(\w+)\s*/gi,type:["k2","k5"]},{regex:/\b(abap_true|abap_false)\b/gi,type:"e0"},{regex:/\b(abap_undefined)\b/gi,type:"e1"},{regex:/\b[A-Z_][A-Za-z0-9_]*\b/g,type:"k0"},h.fCalls,h.int,h.brackets]}}]),t}();function k(e,t,r){for(var n,i=[],a=0;null!=(n=t.exec(e.text));){a<n.index&&i.push(C(e.text.substring(a,n.index),e.type,null,a));for(var s=r(n,e.type)||[],o=0;o<s.length;o++)i.push(s[o]);a=n.index+n[0].length,t.lastIndex=a}return 0==i.length?[e]:(a<e.text.length&&i.push(C(e.text.substring(a),e.type,null,a)),i)}var v=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.dqStrings,h.poundComments,{regex:/(<)([A-Z:_][A-Z0-9:.-]*)([\s\S]*?)(\/?>)/gi,type:["g1","x1","text","g1"],filter:[null,null,function(e){return k(e,h.dqStrings.regex,function(e){return[C(e[0],"s0")]})},null]},{regex:/(<\/)([A-Z:_][A-Z0-9:.-]*\s*)(>)/gi,type:["g1","x1","g1"]},{regex:/^\s*([A-Z]\w+)\b/gm,type:"k0"},{regex:/%\{\w+\}/g,type:"k7"},{regex:/\b(on|off)\b/gi,type:"e0"},h.int]}}],[{key:"alias",value:function(){return["apacheconf","httpd"]}}]),t}(),w=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[{regex:/(;.*)$/gm,type:"co0"},{regex:/(\$.*)$/gm,type:"k4"},h.sqStrings,h.dqStrings,{regex:/(^|:)\s*?(\w+)\s+/gm,type:"k0"},{regex:/^\s*?([A-Z?_][A-Z0-9?_]+:)\s*?/gim,type:"k6"},{regex:/@\w+/gi,type:"k9"},{regex:/#\w+/gi,type:"k9"},{regex:/[A-F0-9][A-F0-9$]+?H/gi,type:"n2"},{regex:/\d[\d$]+?D/gi,type:"n1"},{regex:/[01][01$]+?B/gi,type:"n3"},{regex:/[0-7][0-7$]+?(?:Q|O)/gi,type:"nu4"},{regex:/(0x[A-F0-9]+|\$[A-F0-9]+)/gi,type:"n2"},{regex:/(0b[01]+)/g,type:"n3"},{regex:/\b(\d+)/g,type:"n1"},h.fCalls]}}],[{key:"alias",value:function(){return["asm"]}}]),t}(),S=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[{regex:/(;.*)$/gm,type:"co0"},h.sqStrings,h.dqStrings,{regex:/^\s*?\.\w+\s+/gm,type:"kw4"},{regex:/\b(r\d{1,2})/gi,type:"kw0"},{regex:/(@[0-9])/gi,type:"k2"},{regex:/^\s*?(\w+:)\s*?/gm,type:"kw6"},{regex:/(^|:)\s*?(\w+)\s+/gm,type:"kw0"},{regex:/(0x[A-F0-9]+|\$[A-F0-9]+)/gi,type:"nu2"},h.bin,h.int,h.fCalls,{regex:/\b[A-Z]{2,}[0-9]?[0-9]?\b/g,type:"kw9"}]}}],[{key:"alias",value:function(){return["avrasm"]}}]),t}(),_=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.dqStrings,h.char,{regex:/@[\W\w_][\w]+/gm,type:"k11"},h.boolean,h.null,h.prop,{regex:/#.*$/gm,type:"k4"},{regex:/\b(break|case|catch|continue|do|else|for|if|goto|switch|try|throw|while)\b/g,type:"k1"},{regex:/\b(__[A-Z][A-Z0-9_]+__|__cplusplus)\b/g,type:"e3"},{regex:/\b(\w+\d+?_t)\b/g,type:"k5"},{regex:/\b(bool|char|double|float|int|long|short|void)\b/g,type:"k5"},{regex:/\b(enum|struct|typedef|union)\b/g,type:"k2"},{regex:/\b(const|volatile|unsigned|signed|restrict)\b/g,type:"k8"},{regex:/\b(asm|auto|class|auto|default|explicit|export|extern|friend|inline|thread_local|static_assert|nullptr|noexcept|friend|decltype|constexpr|alignof|alignas|virtual|using|typename|typeid|this|template|static|return|register|public|protected|private|operator|namespace|mutable|inline)\b/g,type:"k0"},{regex:/\b(new|delete|cast|const_cast|dynamic_cast|static_cast|reinterpret_cast|sizeof|and|bitand|and_eq|not|not_eq|or|bitor|or_eq|xor|xor_eq|compl)\b/g,type:"k3"},h.mCalls,h.fCalls,h.slashComments,h.blockComments,h.octal,h.bin,h.hex,h.floats,h.brackets]}}],[{key:"alias",value:function(){return["c++","c"]}}]),t}(),E=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[{regex:/\$("(?:[^"\\]|\\.)*")/g,type:"s0",filter:function(e){return k(e,/\{.*?}/g,function(e){return[C(e[0],"s3")]})}},h.dqStrings,h.char,h.null,h.boolean,h.prop,{regex:/\b(bool|byte|char|decimal|double|float|int|long|sbyte|short|uint|ulong|ushort|void)\b/g,type:"k5"},{regex:/\b(while|try|throw|switch|if|goto|foreach|for|finally|else|do|continue|catch|case|break)\b/g,type:"k1"},{regex:/^((?:using|namespace)\s+)(\w[\w._]+[;{\n])/gm,type:["k0","k10"]},{regex:/\b(enum|struct|var)\b/g,type:"k2"},{regex:/\b(const|in|out)\b/g,type:"k8"},{regex:/\b(using|volatile|virtual|using|unsafe|unchecked|static|stackalloc|sealed|return|ref|readonly|public|protected|private|params|override|operator|object|namespace|lock|is|internal|interface|implicit|fixed|extern|explicit|event|delegate|default|class|checked|base|as|abstract)\b/g,type:"k0"},{regex:/\b(add|alias|ascending|async|await|by|descending|dynamic|equals|from|get|global|group|into|join|let|nameof|on|orderby|partial|remove|select|set|unmanaged|value|var|when|where|yield)\b/g,type:"k0"},{regex:/\b(this)\b/g,type:"k9"},{regex:/\b(new|sizeof|typeof)\b/g,type:"k3"},h.fCalls,h.mCalls,h.slashComments,h.blockComments,h.docComments,h.int,h.floats,h.bin,h.hex,h.octal,h.brackets]}}],[{key:"alias",value:function(){return["c#"]}}]),t}(),A={pseudoElements:{regex:/[\w\])](::?[\w-]+)\b/g,type:"x15"},idSelector:{regex:/(#[\w-]+)/g,type:"x10"},classSelector:{regex:/(\.[\w-]+)/g,type:"x11"},elementSelector:{regex:/\b([\w-]+)/g,type:"x16"}},L=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){var t=[A.pseudoElements,A.idSelector,A.classSelector,A.elementSelector,h.dqStrings,h.sqStrings];this.rules=[{regex:/(?:^|}|\*\/|;|{)\s*([^{};/]+?)\s*{/g,type:"text",filter:function(e){return m(e.text,t)}},h.dqStrings,h.sqStrings,{regex:/\W@(charset|import|namespace|page|font-face|keyframes|viewport|document|supports)\b/gi,type:"k4"},{regex:/(url\s*)(\(.*?\))/gi,type:["m0","s0"]},{regex:/(#[a-z0-9]+)\W/gi,type:"x14"},{regex:/(-?\.?\d+[.\d]*(%|[a-z]{2,4})?)/gim,type:"x13"},{regex:/([\w-]+)\s*:/g,type:"x12"},h.blockComments,h.brackets]}}],[{key:"alias",value:function(){return["styles"]}}]),t}(),q=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[{regex:/^("""[\s\S]*?"""|'''[\s\S]*?''')/gm,type:"c9"},{regex:/("""[\s\S]*?"""|'''[\s\S]*?''')/g,type:"s5"},h.dqStrings,h.sqStrings,{regex:/\b(__[a-z]+__)\b/g,type:"e3"},{regex:/[^;]\s*(from\s+)([\w.]+)(\s+import)/gi,type:["k0","k10","k0"]},{regex:/\b(raise|while|try|if|for|finally|else|elif|continue|break)\b/g,type:"k1"},{regex:/\b(yield|with|return|pass|lambda|is|in|import|global|from|except|def|class|assert|as|async|await)\b/g,type:"k0"},{regex:/\b(and|or|not|del)\b/g,type:"k3"},{regex:/\b(True|False)\b/g,type:"e0"},{regex:/\b(None)\b/g,type:"e1"},h.mCalls,h.fCalls,h.poundComments,h.int,h.hex,h.floats,h.octal,h.brackets]}}],[{key:"alias",value:function(){return["py"]}}]),t}(),I=function(){a(t,q);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){y(s(t.prototype),"setupLanguage",this).call(this);this.rules=[{regex:/\b(bool|char|double|float|int|long|short|void)\b/g,type:"k5"},{regex:/\b(enum|struct|typedef|union|object)\b/g,type:"k2"},{regex:/\b(const|volatile|unsigned|signed|restrict)\b/g,type:"k8"},{regex:/\b(readonly|extern|namespace|public|privat|include|cimport|pyximport|cythonize|cdef|cpdef|ctypedef|property|IF|ELIF|ELSE|DEF)\b/g,type:"k0"}].concat(this.rules)}}]),t}(),W=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.poundComments,h.brackets,{regex:/\[(\w+)\]/gm,type:"k9"},{regex:/\{([\w_-]+)\s*(?::\s*(.*?))?}/gm,type:["k7","s0"]}]}}]),t}(),N=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[{regex:/^([+-]{3}.*)$/gm,type:"c0"},{regex:/^(@@.*@@\s*)/gm,type:"t2"},{regex:/^(\+.*)/gm,type:"t5"},{regex:/^(-.*)/gm,type:"t6"}]}}]),t}(),D=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.dqStrings,{regex:/\$\{\w+\}/gi,type:"k7"},{regex:/ARG\s+(\w+)(?:(=)(.*?)$)?/gim,type:["k7","k3","s0"]},{regex:/ENV\s+(\w+)(?:(\s+|=)(.*?)$)?/gim,type:["k7","k3","s0"]},{regex:/(?:^|[^\\])#\s*\w+=.*$/gm,type:"k4"},h.poundComments,{regex:/^([a-z]+)\b/gim,type:"k0"},{regex:/\b(AS)\b/gi,type:"k0"},{regex:/^\s+(&&)/gim,type:"k3"},h.brackets]}}],[{key:"alias",value:function(){return["docker"]}}]),t}(),$=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.dqStrings,h.bqStrings,h.char,h.boolean,{regex:/\b(nil)\b/gi,type:"e1"},h.prop,{regex:/\b(var)\b/g,type:"k2"},{regex:/\b(case|break|default|else|goto|switch|if|continue|for)\b/g,type:"k1"},{regex:/\b(func|interface|select|defer|go|map|chan|package|fallthrough|range|import|return)\b/g,type:"k0"},{regex:/\b(iota)\b/g,type:"k9"},{regex:/\b(bool|string|u?int(8|16|32|64)?|uintptr|byte|rune|float32|float64|complex64|complex128)\b/g,type:"k5"},{regex:/\b(struct|type)\b/g,type:"k2"},{regex:/\b(const)\b/g,type:"k8"},h.mCalls,h.fCalls,h.slashComments,h.octal,h.int,h.complex,h.floats,h.hex,h.brackets]}}],[{key:"alias",value:function(){return["golang"]}}]),t}(),O=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[{regex:/("""[\s\S]*?"""|'''[\s\S]*?''')/g,type:"s5"},h.dqStrings,h.sqStrings,h.char,h.slashComments,h.blockComments,h.docComments,{regex:/(\/(?:[^/\\]|\\.)*\/)/g,type:"s5"},h.prop,{regex:/\b(byte|char|short|int|long|float|double|String)\b/g,type:"k5"},{regex:/\b(break|case|catch|continue|default|do|else|finally|for|goto|if|switch|throw|try|while)\b/g,type:"k1"},{regex:/^(package|import)(\s+[\w.]+)/gm,type:["k0","k10"]},{regex:/\b(const|enum|def)\b/g,type:"k2"},{regex:/\b(as|assert|class|extends|goto|implements|in|interface|return|thows|trait)\b/g,type:"k0"},{regex:/\b(this|super)\b/g,type:"k9"},{regex:/\b(instanceof|new)\b/g,type:"k3"},h.fCalls,h.mCalls,h.null,h.boolean,{regex:/^#.*/g,type:"k9"},{regex:/[\b\W](-?0[0-7][0-7_]+[GLIDF]?)\b/gi,type:"n4"},{regex:/[\b\W](-?\d[\d_]*[GLIDF]?)(?!\.)\b/gi,type:"n1"},{regex:/[\b\W](-?0x[A-F0-9][A-F0-9_]+[GLIDF]?)\b/gi,type:"n2"},{regex:/[\b\W](-?0b[01][01_]+[GLIDF]?)\b/gi,type:"n3"},{regex:/(-?((?:\d+\.\d+|\.\d+|\d+\.)(?:e[+-]?\d+)?)|\d+(?:e[+-]?\d+)?)/gi,type:"n0"},h.brackets]}}]),t}(),T=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.dqStrings,{regex:/(;.*)$/gm,type:"c0"},h.poundComments,{regex:/^\s*?(\[.*])\s*?$/gm,type:"t2"},{regex:/^(\s*?[a-z0-9._-]+\s*?)(=)/gim,type:["k2","k3"]},{regex:/\b(true|false|on|off|yes|no)\b/gim,type:"e0"},h.octal,h.bin,h.hex,h.floats,h.brackets]}}],[{key:"alias",value:function(){return["conf","cnf"]}}]),t}(),R=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.dqStrings,h.char,{regex:/@[\W\w_][\w]+/gm,type:"k11"},h.prop,{regex:/\b(boolean|byte|char|short|int|long|float|double|String|void|Integer|Double|BigInt|Float|Boolean|Byte|Char|Long)\b/g,type:"k5"},{regex:/\b(while|try|catch|case|else|throw|break|if|do|goto|switch|for|continue)\b/g,type:"k1"},{regex:/^(package|import)(\s+[\w.]+)/gm,type:["k0","k10"]},{regex:/\b(enum)\b/g,type:"k2"},{regex:/\b(const)\b/g,type:"k8"},{regex:/\b(native|volatile|strictfp|finally|class|static|interface|final|extends|transient|return|throws|public|protected|implements|private|synchronized|default|assert|abstract)\b/g,type:"k0"},{regex:/\b(this|super)\b/g,type:"k9"},{regex:/\b(instanceof|new)\b/g,type:"k3"},h.fCalls,h.mCalls,h.null,h.boolean,h.slashComments,h.blockComments,h.docComments,h.int,h.floats,h.bin,h.hex,h.octal,h.brackets]}}]),t}(),F=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){function e(e){return k(e,/\\(x[A-F0-9]{2}|u[A-F0-9]{4}|.)/gi,function(e){return[C(e[0],"s4")]})}this.rules=[{regex:h.sqStrings.regex,type:"s0",filter:e},{regex:h.dqStrings.regex,type:"s0",filter:e},{regex:/`(?:[^`\\]|\\.)*`/g,type:"s2",filter:function(e){return k(e,/\$\{.*?}/g,function(e){return[C(e[0],"s3")]})}},h.boolean,h.null,h.prop,{regex:/\b(var|let|enum|const)\b/g,type:"k2"},{regex:/\b(document|window|console)\b/g,type:"k9"},{regex:/\b(break|case|catch|continue|do|else|finally|for|if|switch|try|while|throw)\b/g,type:"k1"},{regex:/\b(as|async|class|constructor|debugger|default|export|extends|function|import|return|with|yield|implements|package|protected|static|interface|private|public|await|module)\b/g,type:"k0"},{regex:/\b(this|super)\b/g,type:"k9"},{regex:/\b(instanceof|new|delete|typeof|void|in)\b/g,type:"k3"},{regex:/\W(=>)\W/g,type:"k3"},h.slashComments,h.blockComments,{regex:/\W(\/(?:[^/\\]|\\.)*\/\w*)/g,type:"e2"},h.mCalls,h.fCalls,{regex:/\{|}|\(|\)|\[|]/g,type:"g1"},{regex:/[\b\W](-?0o[0-7]+)(?!\.)\b/g,type:"n4"},h.bin,h.hex,h.floats,h.int]}}],[{key:"alias",value:function(){return["js"]}}]),t}(),j=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[{regex:/"(?:[^"\\]|\\.)*"\s*:/g,type:"k2"},h.dqStrings,h.boolean,h.null,{regex:/\{|}|\(|\)|\[|]/g,type:"g1"},h.int,h.floats,{regex:/,|:/g,type:"g0"}]}}]),t}(),z=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){function e(e){return k(e,/\$(?:\{.*?}|\w+)/g,function(e){return[C(e[0],"s3")]})}this.rules=[{regex:/"""[\s\S]*?"""/g,type:"s5",filter:e},{regex:h.dqStrings.regex,type:"s0",filter:e},h.char,h.prop,{regex:/\b(Double|Float|Long|Int|Short|Byte|Any|String|Array)\b/g,type:"k5"},{regex:/\b(break|continue|do|else|for|if|throw|try|when|while|catch|finally)\b/g,type:"k1"},{regex:/^(package|import)(\s+[\w.]+)/gm,type:["k0","k10"]},{regex:/\b(enum|typealias|object|companion|val|var)\b/g,type:"k2"},{regex:/\b(actual|abstract|annotation|companion|crossinline|data|expect|external|final|infix|inline|inner|internal|lateinit|noinline|open|operator|out|override|private|protected|public|reified|sealed|suspend|tailrec|vararg)\b/g,type:"k8"},{regex:/\b(as|class|fun|in|interface|is|return|by|constructor|delegate|dynamic|field|file|get|init|param|property|receiver|set|setparam|where|field|it)\b/g,type:"k0"},{regex:/\b(this|super)\b/g,type:"k9"},{regex:/\b(instanceof|new)\b/g,type:"k3"},{regex:/(@\w+|\w+@)/gm,type:"k6"},h.fCalls,h.mCalls,h.null,h.boolean,h.slashComments,h.blockComments,{regex:/[\b\W](-?\d[\d_]*L?)(?!\.)\b/g,type:"n1"},h.floats,{regex:/[\b\W](-?0x[A-F0-9][A-F0-9_]+)\b/gi,type:"n2"},{regex:/[\b\W](-?0b[01][01_]+)\b/gi,type:"n3"},h.brackets]}}]),t}(),B=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[{regex:/(?:^|[^\\])%.*$/gm,type:"c0"},{regex:/[^\\](\\\w+)(?:[\W\s])/gm,type:"k0"},{regex:/[$()]/g,type:["s3"]},h.int,h.floats,h.brackets]}}],[{key:"alias",value:function(){return["tex"]}}]),t}(),Z=function(){a(t,L);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){y(s(t.prototype),"setupLanguage",this).call(this),this.rules.shift();var e=[h.slashComments,A.pseudoElements,A.idSelector,A.classSelector,{regex:/\b([\w][\w-]+)\s*\(/gm,type:"m0"},{regex:/@[\w-]+\b/g,type:"k7"},{regex:/&/gi,type:"k3"}];this.rules=this.rules.concat(e)}}]),t}(),M=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.dqStrings,h.poundComments,{regex:/[\w\])]\.([\w-]+)\b/g,type:"m3"},{regex:/\b(else)\b/g,type:"k1"},{regex:/\s\$[A-Z_]+/g,type:"k7"},{regex:/(==|!=|=~|!~)/g,type:"k3"},{regex:/\b(\w[\w-]+)\.\w/g,type:"k9"},h.int,h.brackets]}}],[{key:"alias",value:function(){return[]}}]),t}(),P=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[{regex:/---\[\[[\s\S]*?(]])/g,type:"c1"},{regex:/--\[\[[\s\S]*?]]/g,type:"c1"},{regex:/(--.*)$/gm,type:"c0"},h.dqStrings,h.sqStrings,{regex:/(\[(=*)\[[\S\s]*?]\2])/g,type:"s5"},{regex:/\b(true|false)\b/gi,type:"e0"},{regex:/\b(nil)\b/gi,type:"e1"},{regex:/\b(local)\b/g,type:"k2"},{regex:/\b(break|do|else|elseif|end|for|if|repeat|then|until|while)\b/g,type:"k1"},{regex:/\b(function|return|and|in|or|not)\b/g,type:"k0"},h.brackets,h.floats,h.mCalls,h.fCalls]}}]),t}(),U=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[{regex:/[\r|\n](```[a-z_-]*[\r|\n][\S\s]+?```)/gi,type:"t8"},{regex:/^\s*#{1,6}.+$/gm,type:"t1"},{regex:/(.+[\r|\n][=-]{3,})[\r|\n]/g,type:"t1"},{regex:/`.+?`/g,type:"t8"},{regex:/^(?:\*|_|-){3,}$/gm,type:"t2"},{regex:/\W(\*\*|\*|~~|~|__|_)(.*?\1)\W/gm,type:"t4"},{regex:/!?\[.*?]\(.*?\)/g,type:"t3"}]}}],[{key:"alias",value:function(){return["md","gfm"]}}]),t}(),G=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[{regex:/%.*$/gm,type:"c0"},{regex:/%%.*$/gm,type:"c1"},h.sqStrings,h.dqStrings,h.boolean,h.mCalls,h.prop,{regex:/\b(break|case|catch|continue|do|else|elseif|end|end_try_catch|endfor|endif|endmethods|endparfor|endproperties|endswitch|endwhile|for|if|switch|try|until|while)\b/gi,type:"k1"},{regex:/\b(__FILE__|__LINE__|classdef|end_unwind_protect|endclassdef|endenumeration|endevents|endfunctionenumeration|events|function|global|methods|otherwise|parfor|persistent|properties|return|static|unwind_protect|unwind_protect_cleanup)\b/gi,type:"k0"},{regex:/(@[\w]+)\s*/gm,type:"k7"},h.fCalls,h.floats,h.brackets]}}]),t}(),H=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.dqStrings,h.sqStrings,h.poundComments,{regex:/([a-z]+)\s*\{/g,type:"k9"},{regex:/^\s*([a-z]\w+)\s/gm,type:"k0"},{regex:/\W([a-z]+:\/\/.*?);/g,type:"k9"},{regex:/\b(\d+\.\d+\.\d+\.\d+(?::\d+))\b/g,type:"k9"},{regex:/(?:\W)\$[a-z_]+/g,type:"k7"},{regex:/[\b\W](\d+[kmgdyw])\b/g,type:"n0"},h.int,h.brackets]}}],[{key:"alias",value:function(){return[]}}]),t}(),V=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.dqStrings,h.sqStrings,h.bqStrings,{regex:/^\s*(Var(\s+\\GLOBAL)?)(\s+\w+)\b/g,type:["k2","k7"]},{regex:/\W(\$\{\w+})\W/g,type:"k9"},{regex:/\W(\$\w+)\b/g,type:"k7"},{regex:/^\s*([A-Z]\w+)\s+/gm,type:"k0"},{regex:/\b[A-Z][A-Z_]*[A-Z]\b/g,type:"e3"},{regex:/^\s*(!\w+)\s+/gm,type:"k4"},{regex:/^\s*(\w+:)\s*$/gim,type:"k6"},{regex:/\b(admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/gi,type:"k9"},h.blockComments,{regex:/[#;].*?$/gm,type:"c0"},h.int,h.hex,h.octal,h.brackets]}}]),t}(),J=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.sqStrings,h.dqStrings,h.heredoc,h.boolean,h.null,{regex:/(self|parent|\$this)/gi,type:"k9"},{regex:/\b(as|break|case|catch|do|else|elseif|enddeclare|endfor|endforeach|endif|endswitch|endwhile|finally|for|foreach|goto|if|switch|throw|try|while)\b/g,type:"k1"},{regex:/\b__[A-Z][A-Z0-9_]+__\b/g,type:"e3"},{regex:/\b(__halt_compiler|abstract|array|callable|class|const|continue|declare|default|die|echo|empty|eval|exit|extends|final|function|global|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|print|private|protected|public|require|require_once|return|static|trait|use|var|yield)\b/g,type:"k0"},{regex:/\b(and|or|xor|clone|new|unset)\b/g,type:"k3"},{regex:/\b(int|float|bool|string|resource|object|mixed|numeric)\b/g,type:"k5"},h.slashComments,h.poundComments,h.blockComments,{regex:/\$[^\s=;()]+/gim,type:"k7"},{regex:/\b([^\s(]+)\s*\(/gm,type:"m0"},{regex:/->([\w]+)/gim,type:"m1"},{regex:/::([\w]+)/gim,type:"m2"},h.octal,h.bin,h.hex,h.floats,h.brackets]}}]),t}(),X=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){function e(e){return k(e,/\$(?:\w+|\(.*?\))/g,function(e){return[C(e[0],"k7")]})}this.rules=[{regex:/"(?:[^"`]|`.)*"/g,type:"s2",filter:e},h.sqStrings,{regex:/@"[\S\s]*?\n\s*"@/g,type:"s5",filter:e},{regex:/@'[\S\s]*?\n\s*'@/g,type:"s5"},{regex:/\b(Begin|Break|Catch|Continue|Else|Elseif|End|Finally|For|ForEach|If|Switch|Throw|Try|Until|While)\b/gi,type:"k1"},{regex:/\b(Data|Do|DynamicParam|Exit|Filter|From|Function|In|InlineScript|Hidden|Parallel|Param|Process|Return|Sequence|Trap|Workflow)\b/gi,type:"k0"},{regex:/\b([A-Z]\w+(?:-\w+)+)\b/gi,type:"m0"},{regex:/<#[\S\s]+?#>/gi,type:"c1"},h.poundComments,{regex:/\$[A-Z_][\w]*/gim,type:"k7"},h.mCalls,h.fCalls,h.int,h.floats,h.brackets]}}]),t}(),Y=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[{regex:/(%.*)$/gm,type:"c0"},h.blockComments,h.dqStrings,h.sqStrings,{regex:/^(\w+)(?:\(.*?\))?\s*(?::-|\.)/gm,type:"k9"},{regex:/\b(true|false|Yes|No|not|fail)\b/gi,type:"e0"},{regex:/\b(catch|throw|repeat)\b/g,type:"k1"},{regex:/^(\?-)/g,type:"k9"},{regex:/\b(is)\b/g,type:"k3"},{regex:/[A-Z_][\w]*/g,type:"k7"},h.brackets,h.floats,h.int,h.fCalls]}}]),t}(),Q=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.int,h.floats,{regex:/[\b\W](-?\$[A-F0-9]+)\b/gi,type:"n2"},{regex:/[\b\W](-?%[01]+)\b/gi,type:"n3"},{regex:/[\b\W](\*\w+)\b/gi,type:"text"},h.dqStrings,{regex:/[[\]()]+/g,type:"g0"},{regex:/#\w+/gim,type:"g0"},{regex:/[@?]\w+/gim,type:"g1"},{regex:/(IncludeFile|XIncludeFile|IncludeBinary|IncludePath) (.*?)$/gim,type:"k0"},{regex:/\b(Break|Case|Continue|Default|Else|ElseIf|End|EndIf|EndSelect|For|ForEver|ForEach|Gosub|Goto|If|Next|Repeat|Return|FakeReturn|Select|Until|Wend|While|To|Step)\b/gi,type:"k1"},{regex:/\b(Array|List|Map|Procedure(?:C|Dll|CDll)?|ProcedureReturn|EndProcedure|Declare(?:C|Dll|CDll)?|ImportC?|EndImport|As|Macro|MacroExpandedCount|EndMacro|UndefineMacro|DeclareModule|EndDeclareModule|Module|EndModule|UseModule|UnuseModule|With|EndWith|PrototypeC?|Runtime|Swap|Data|DataSection|EndDataSection|Read|Restore)\b/gi,type:"k2"},{regex:/\b(ReDim|Dim|NewList|NewMap|Enumeration|EndEnumeration|Interface|Extends|EndInterface|Structure(?:Union)?|EndStructure(?:Union)?)\b/gi,type:"k4"},{regex:/\b(?:ReDim|Dim|NewList|NewMap)\s*([\w]+)\(/gim,type:"text"},{regex:/\b(Define|Global|Protected|Shared|Static|Threaded)\b/gi,type:"k3"},{regex:/[\w\])]\.(s{\d+}|(?:p-ascii|p-utf8|p-bstr|p-unicode|p-variant)|\w+)(?:\([\d,]*\))?/gi,type:"k4"},{regex:/\b(CompilerIf|CompilerElse|CompilerElseIf|CompilerEndIf|CompilerSelect|CompilerCase|CompilerDefault|CompilerEndSelect|CompilerError|CompilerWarning|EnableExplicit|DisableExplicit|EnableASM|DisableASM|EnableDebugger|DisableDebugger|Debug|DebugLevel|CallDebugger)\b/gi,type:"k5"},{regex:/\W(And|Not|Or|Xor)\W/gi,type:"k6"},{regex:/(<=|=<|>=|=>|<>|<<|>>|=|-|\+|\/|%|<|>|&|\||!|~)/gi,type:"k6"},{regex:/(\*)(?:\d|\s*(?:\b|-|\(|%|\$|\*))/gi,type:"k6"},{regex:/(\w+)::/gi,type:"k7"},{regex:/(\w+):/gi,type:"k8"},h.fCalls,{regex:/;.*$/gm,type:"c0"},{regex:/\\(\w+)\b/g,type:"m3"}]}}],[{key:"alias",value:function(){return["pb"]}}]),t}(),K=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.dqStrings,h.prop,{regex:/\b([A-Z]\w+)\b/g,type:"k5"},{regex:/^(import)(\s+[\w.]+)/gm,type:["k0","k5"]},{regex:/\b(bool|char|double|float|int|long|short|void|string)\b/g,type:"k5"},h.mCalls,h.null,h.boolean,h.slashComments,h.blockComments,h.int,h.floats,h.brackets]}}]),t}(),ee=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,null,[{key:"alias",value:function(){return[]}}]),t}(),te=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[{regex:/^(.*?)$/g,type:"text"}]}}]),t}(),re=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.dqStrings,{regex:/("[\s\S]*?")/g,type:"s5"},{regex:/\b(yes|no)\b/gi,type:"e0"},{regex:/\b([\w-]+)(=)/gi,type:["k6","k3"]},{regex:/[^\b](:local|:global)\s/gm,type:"k2"},{regex:/^\/\w+(?:\s+[a-z-]+)*\s*$/gm,type:"k10"},{regex:/\b(add|set|print|enable|disable|export|find|get|move|remove)\b/gi,type:"k9"},{regex:/[^\b](:[a-z-]+)\s/gm,type:"k0"},{regex:/\$[\w]*/gi,type:"k7"},{regex:/(?:[a-f0-9]{2}:){5}(?:[a-f0-9]{2})/gi,type:"s0"},{regex:/(?:\d{1,3}\.){3}(?:\d{1,3})(?:\/\d{1,2})?/gi,type:"s0"},h.poundComments,{regex:/[\b\W](-?\d+)([a-z]{1,4})?[\b\W]/gi,type:"n0"},h.int,h.hex,h.brackets]}}],[{key:"alias",value:function(){return["mikrotik","mt","switchos","ros"]}}]),t}(),ne=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){function e(e){return e.text.match(/^%r/)?e.type="e2":e.text.match(/^%x/)&&(e.type="e4"),[e]}this.rules=[h.dqStrings,h.sqStrings,h.heredoc,{regex:/(`(?:[^`\\]|\\.)*`)/g,type:"e4"},h.boolean,{regex:/\b(nil)\b/gi,type:"e1"},h.fCalls,h.prop,{regex:/@{1,2}[A-Za-z_]\w*\W/g,type:"k7"},{regex:/[^:](:[\w]+)\b/g,type:"k6"},{regex:/(\$[a-z0-9_-]+|\$.)\W/gi,type:"k9"},{regex:/\b(begin|break|case|do|else|elsif|end|ensure|for|if|in|next|redo|rescue|retry|then|unless|until|when|while)\b/gi,type:"k1"},{regex:/\b((?:__)?[A-Z][A-Z0-9_]+)\b/g,type:"e3"},{regex:/\b(alias|class|defined\?|undef|def|module|return|self|super|yield)\W/gi,type:"k0"},{regex:/\b(and|not|or)\b/gi,type:"k3"},h.poundComments,{regex:/^=begin[\S\s]*?^=end/gim,type:"c2"},{regex:/(%[iqrswx](\W)(?:[^\2\n\\]|\\.)*\2[iomx]*)/gim,type:"s2",filter:e},{regex:/(%[iqrswx]?(\{(?:[^}\\]|\\.)*}|\[(?:[^}\\]|\\.)*]|\((?:[^)\\]|\\.)*\))[iomx]*)/gim,type:"s2",filter:e},{regex:/\W(\/(?:[^/\\]|\\.)*\/\w*)\W/g,type:"e2"},{regex:/\W\?(?:\w|\\M|\\C)(?:-\w|-\\M|-\\C)*\b/g,type:"n1"},{regex:/[\b\W](-?\d[\d_]+?)(?!\.)\b/g,type:"n1"},{regex:/[\b\W](-?0x[A-F0-9][A-F0-9_]+)\b/gi,type:"n2"},{regex:/[\b\W](-?0b[01][01_]+)\b/gi,type:"n3"},{regex:/[\b\W](-?[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?[ji]?)\b/gi,type:"n0"},h.brackets]}}]),t}(),ie=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.char,{regex:/r((#+)".*?"\2)/gm,type:"s0"},{regex:/("(?:\\.|\\\s*\n|\\s*\r\n|[^\\"])*")/g,type:"s0"},{regex:/^\s*#.*$/gm,type:"k4"},{regex:/fn\s+([\w]+)\s*(<\w+\s*>)?\(/gm,type:"k0"},{regex:/\b\.?([\w]+)\s*(\(|::)/gm,type:"k1"},{regex:/\b([\w]+)!/gm,type:"k9"},{regex:/\bself\b/gi,type:"k9"},h.boolean,{regex:/\b(while|loop|in|for|if|else|do|continue|break)\b/g,type:"k1"},{regex:/\b(type|struct|let|enum)\b/g,type:"k2"},{regex:/\b(const)\b/g,type:"k8"},{regex:/\b(yield|where|virtual|use|unsized|unsafe|trait|super|static|return|ref|pure|pub|proc|priv|override|offsetof|mut|move|mod|match|macro|impl|fn|final|extern|crate|box|become|as|alignof|abstract)\b/g,type:"k0"},{regex:/\b(sizeof|typeof)\b/g,type:"k3"},{regex:/\b([0-9_]+\.?[0-9_]+?(e\+[0-9_]+)?)(?:f32|f64)?\b/gim,type:"n0"},{regex:/\b([0-9_]+|0o[0-9_]+|0x[A-F0-9_]+|0b[0-1_]+)(?:u8|i8|u16|i16|u32|i32|u64|i64|isize|usize)?\b/gim,type:"n1"},h.slashComments,h.blockComments,{regex:/(?:^|[^\\])\/\/[/!].*$/gm,type:"c2"},{regex:/\/\*[*!][\s\S]*?\*\//gm,type:"c2"},h.brackets,{regex:/\W(&)\w/g,type:"k3"}]}}]),t}(),ae=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.dqStrings,h.char,{regex:/s"(?:[^"\\]|\\.)*"/g,type:"s2"},{regex:/`(?:[^`\\]|\\.)*`/g,type:"k7"},{regex:/@[\W\w_][\w]+/g,type:"k11"},{regex:/\b([A-Z]\w*)\b/g,type:"k5"},{regex:/\b(while|try|catch|else|throw|break|if|do|goto|switch|for|match)\b/g,type:"k1"},{regex:/(package|import)(\s+[\w.]+)/gm,type:["k0","k10"]},{regex:/[\b\w\s)](_|:|@|#|<-|←|<:|<%|=|=>|⇒|>:)[\b\w\s]/g,type:"k3"},{regex:/\b(abstract|class|case|extends|final|finally|forSome|implicit|lazy|object|override|private|protected|return|sealed|trait|with|yield)\b/g,type:"k0"},{regex:/\b(def)\s+(\w+)\b/gm,type:["k2","m0"]},{regex:/\b(type)\s+(\w+)\b/gm,type:["k2","k5"]},{regex:/\b(val)\s+(\w+)\b/gm,type:["k2","k7"]},{regex:/\b(var)\s+(\w+)\b/gm,type:["k2","k7"]},{regex:/\b(this|super)\b/g,type:"k9"},{regex:/\b(new)\b/g,type:"k3"},h.mCalls,h.fCalls,h.null,h.boolean,h.slashComments,h.blockComments,h.docComments,h.int,h.floats,h.bin,h.brackets]}}]),t}(),se=function(){a(t,L);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){y(s(t.prototype),"setupLanguage",this).call(this),this.rules.shift();var e=[h.slashComments,A.pseudoElements,A.idSelector,A.classSelector,{regex:/\b([\w-]+)\s*\(/gm,type:"m0"},{regex:/\$[\w-]+\b/g,type:"k7"},{regex:/@[\w-]+\b/g,type:"k9"},{regex:/&/gi,type:"k3"}];this.rules=this.rules.concat(e)}}],[{key:"alias",value:function(){return["sass"]}}]),t}(),oe=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[{regex:/(^#!.*?)\n/gi,type:"k4"},h.poundComments,{regex:/[^\\]("(?:[^"\\]|\\.)*")/g,type:"s0"},{regex:/`.*?`/gm,type:"s2"},{regex:/(\$)\(/gm,type:"s2"},{regex:/(\$\d)\b/gim,type:"k9"},{regex:/(\$\w+)\b/gim,type:"k7"},{regex:/^(\s*\w+)=/gm,type:"k7"},{regex:/^\s*\w+\)\s*$/gm,type:"k6"},{regex:/\b(if|fi|then|elif|else|for|do|done|until|while|break|continue|case|esac|in|eq|ne|gt|lt|ge|le)\b/gi,type:"k1"},{regex:/\b(return|function)\b/gi,type:"k0"},{regex:/^\s*\w+\(\)\s*\{/gm,type:"k0"},h.int]}}],[{key:"alias",value:function(){return["bash","sh","zsh"]}}]),t}(),le=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.poundComments,h.blockComments,{regex:/--.*$/gm,type:"c0"},h.null,h.sqStrings,{regex:/`\w+?`(?:\.`\w+?`)*/g,type:"k9"},{regex:/\b(all|and|any|between|exists|in|like|not|or|is null|is not null|unique|=|!=|<>|>|<|>=|<=|!<|!>)\b/gi,type:"k3"},{regex:/\b(bigint)\b/g,type:"k5"},{regex:/\b(unsigned)\b/g,type:"k8"},{regex:/\b(SELECT|INSERT|UPDATE|DELETE|INTO|FROM|CREATE|TABLE|VIEW|WHERE|TRIGGER|ALTER|ORDER BY|DESC|ASC|AS|BETWEEN|JOIN|LEFT|RIGHT|INNER|OUTER|USING|ON|UNION)\b/gi,type:"k0"},{regex:/\b[A-Z]+\b/g,type:"k0"},h.int,h.floats]}}]),t}(),ge=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.dqStrings,{regex:h.sqStrings.regex,type:"n0"},h.prop,h.slashComments,h.poundComments,h.blockComments,h.brackets,{regex:/\b(const|enum|local)\b/g,type:"k2"},{regex:/\b(break|case|catch|continue|else|for|foreach|if|switch|while|try|do)\b/g,type:"k1"},{regex:/\b(base|class|clone|constructor|default|extends|false|function|null|resume|return|static|this|throw|true|yield)\b/g,type:"k0"},{regex:/\b(delete|in|instanceof|typeof)\b/g,type:"k3"},h.mCalls,h.fCalls,h.octal,h.hex,h.floats,h.int]}}]),t}(),ue=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.dqStrings,h.boolean,{regex:/#.*$/gm,type:"k4"},h.prop,{regex:/(import )(.*?)$/gm,type:["k0","k10"]},{regex:/\b(nil)\b/gi,type:"e1"},{regex:/\b(break|case|continue|default|do|else|for|if|switch|while|catch|throw|try)\b/g,type:"k1"},{regex:/\b(var|let|enum|struct)\b/g,type:"k2"},{regex:/\b(Int|UInt|Float|Double|Bool|String|Character|Optional|Array|Dictionary)\b/g,type:"k5"},{regex:/\b(associatedtype|class|deinit|extension|func|init|inout|internal|operator|private|protocol|public|static|subscript|typealias|defer|fallthrough|guard|in|as|repeat|return|where|dynamicType|is|rethrows|super|self|Self|throws|associativity|convenience|dynamic|didSet|final|get|infix|indirect|lazy|left|mutating|none|nonmutating|optional|override|postfix|precedence|prefix|Protocol|required|right|set|Type|unowned|weak|willSet)\b/g,type:"k0"},h.mCalls,h.fCalls,{regex:/(?:^|[^\\])\/\/\/.*$/gm,type:"c2"},h.docComments,h.slashComments,h.blockComments,{regex:/[\b\W](-?0b[01_]+)\b/gi,type:"n3"},{regex:/[\b\W](-?0x[A-F0-9_]+)(?!\.)\b/gi,type:"n2"},{regex:/[\b\W](-?0o[0-7_]+)(?!\.)\b/g,type:"n4"},{regex:/[\b\W](-?[\d_]+)(?!\.)\b/g,type:"n1"},{regex:/(-?(?:[\d_]+\.[\d_]+(?:e[+-]?[\d_]+)?))/gi,type:"n0"},{regex:/(-?0x(?:[A-F0-9_]+\.[A-F0-9_]+(?:p[+-]?[A-F0-9_]+)?))/gi,type:"n2"},h.brackets]}}]),t}(),pe=function(){a(t,F);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){y(s(t.prototype),"setupLanguage",this).call(this);this.rules=[{regex:/\b(boolean|number|string|any|void|undefined|never|symbol)\b/g,type:"k5"},{regex:/\b(type|interface)\b/g,type:"k2"},{regex:/\b(abstract|implements|readonly)\b/g,type:"k8"},{regex:/\b(declare|namespace)\b/g,type:"k0"},{regex:/\b([\w]+)\s*</gm,type:"m0"},{regex:/[<>]/g,type:"g1"}].concat(this.rules)}}]),t}(),ce=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[{regex:/((?:^\s*|\s+)--.*$)/gm,type:"c0"},{regex:/^\s*(?:use|library)\s*(\S+);/gim,type:"k9"},h.fCalls,{regex:/\*\*|\*|\/|\+|-|&|=|\/=|<|<=|>|>=/g,type:"g0"},h.dqStrings,{regex:/('.')/g,type:"s0"},h.brackets,{regex:/\b(alias|array|variable|downto|range|to|type|units)\b/g,type:"k2"},{regex:/\b(array|buffer|bus|file)\b/g,type:"k5"},{regex:/\b(if|else|elsif|end|for|while|loop|when|begin|block|case|exit|next|then)\b/g,type:"k1"},{regex:/\b(access|after|all|architecture|attribute|assert|body|component|configuration|constant|disconnect|entity|function|generate|generic|group|guarded|impure|in|inertial|inout|is|label|library|linkage|literal|map|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|record|return|select|severity|signal|shared|subtype|transport|unaffected|use|vaiable|with|wait|until)\b/g,type:"k0"},{regex:/\b(abs|not|mod|rem|sll|srl|sla|sra|rol|ror|and|or|nand|nor|xor|xnor|new)\b/g,type:"k3"},h.floats]}}]),t}(),ye=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.dqStrings,h.boolean,h.prop,{regex:/(#.*?)(?:'|$)/gim,type:"k4"},{regex:/\b(Case|Catch|Continue|Each|Else|ElseIf|End|EndIf|Do|Finally|For|If|Loop|Next|OrElse|Then|Throw|Try|When|While)\b/g,type:"k1"},{regex:/(Imports )(.*?)$/gm,type:["k0","k10"]},{regex:/\b(Boolean|Byte|CBool|CByte|CChar|CDate|CDbl|CDec|Char|CInt|CLng|CObj|CSByte|CShort|CSng|CStr|CType|CUInt|CULng|CUShort|Decimal|Double|Integer|Long|ParamArray|SByte|Short|Single|String|UInteger|ULong|UShort)\b/g,type:"k5"},{regex:/\b(Dim|Enum|Let|ReDim)\b/g,type:"k2"},{regex:/\b(Const|Shared|Static)\b/g,type:"k8"},{regex:/\b(AddHandler|AddressOf|Alias|As|ByRef|ByVal|Call|Class|Date|Declare|Default|Delegate|DirectCast|Erase|Error|Event|Exit|Friend|Function|Get|GetType|GetXMLNamespace|Global|GoSub|GoTo|Handles|Implements|In|Inherits|Interface|Lib|Like|Me|Module|MustInherit|MustOverride|MyBase|MyClass|Namespace|Narrowing|Nothing|NotInheritable|NotOverridable|Object|Of|On|Operator|Option|Optional|Out|Overloads|Overridable|Overrides|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|REM|RemoveHandler|Resume|Return|Select|Set|Shadows|Step|Stop|Structure|Sub|SyncLock|To|TryCast|Using|Variant|Wend|Widening|With|WithEvents|WriteOnly)\b/gi,type:"k0"},{regex:/\b(And|AndAlso|Is|IsNot|Mod|New|Not|Or|TypeOf|Xor)\b/g,type:"k3"},h.mCalls,h.fCalls,{regex:/'.*$/gm,type:"c0"},h.int,h.floats,h.brackets]}}],[{key:"alias",value:function(){return["vb"]}}]),t}(),fe=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[{regex:/<!DOCTYPE[\s\S]+?>/g,type:"k9"},{regex:/<\?xml[\s\S]+\?>/gi,type:"k4"},{regex:/<!--[\s\S]*?-->/g,type:"c1"},{regex:/(<!\[CDATA\[)([\s\S]*?)(]]>)/gim,type:["c9","text","c9"]},{regex:/(<)([A-Z:_][A-Z0-9:.-]*)([\s\S]*?)(\/?>)/gi,type:["g1","x1","text","g1"],filter:[null,null,function(e){return k(e,/\b([^\s\0"'>/=]+)(\s*=\s*)((['"]).*?\4|[^'" \t]+)/gi,function(e){return[C(e[1],"x2"),C(e[2],"k3"),C(e[3],"s0")]})},null]},{regex:/(<\/)([A-Z:_][A-Z0-9:.-]*\s*)(>)/gi,type:["g1","x1","g1"]}]}}],[{key:"alias",value:function(){return["html"]}}]),t}(),be=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.poundComments,h.boolean,h.null,{regex:/^%[A-Z]+\s+.*$/gm,type:"k4"},{regex:/\b!{1,2}[A-Z]+\b/gi,type:"k5"},{regex:/\b[a-z][a-z0-9_-]*:/gim,type:"k7"},{regex:/\{|}|\(|\)|\[|]/g,type:"g1"},{regex:/\s+(?:>|\|)[\r|\n]+((?:\s+[^\r\n]+[\r|\n]+)+)/gi,type:"s5"},h.dqStrings,h.sqStrings,h.floats]}}]),t}(),de=function(){a(t,x);var e=p(t);function t(){return r(this,t),e.apply(this,arguments)}return i(t,[{key:"setupLanguage",value:function(){this.rules=[h.dqStrings,{regex:/`\w*\b/g,type:"k4"},{regex:/\[( *\d+(?: *\: *\d+) *)\]/g,type:"e3"},{regex:/\b(for|generate|if|else|repeat|case|endcase|begin|end|ifnone)\b/g,type:"k1"},{regex:/\b(output|input|inout|reg|wire|assign)\b/g,type:"k5"},{regex:/\b(module|endmodule|always|function|endfunction)\b/g,type:"k2"},{regex:/\b(or|rpmos|tranif1|and|initial|rtran|tri|parameter|rtranif0|tri0|pmos|rtranif1|tri1|buf|endprimitive|integer|posedge|scalared|triand|bufif0|endspecify|join|primitive|small|trior|bufif1|endtable|large|pull0|specify|trireg|endtask|macromodule|pull1|specparam|vectored|casex|event|medium|pullup|strong0|wait|casez|pulldown|strong1|wand|cmos|force|nand|rcmos|supply0|weak0|deassign|forever|negedge|real|supply1|weak1|default|nmos|realtime|table|defparam|nor|task|disable|highz0|not|release|time|wor|edge|highz1|notif0|tran|xnor|notif1|rnmos|tranif0|xor)\b/g,type:"k0"},h.slashComments,h.blockComments,{regex:/-?\d*'s?d[0-9_xz]+\b/gi,type:"n1"},{regex:/-?\d*'s?h[0-9a-f_xz]+\b/gi,type:"n2"},{regex:/-?\d*'s?b[01_xz]+\b/gi,type:"n3"},{regex:/-?\d*'s?o[0-7_xz]+\b/gi,type:"n4"},h.int,h.brackets]}}]),t}(),he=Object.freeze({__proto__:null,generic:x,abap:t,apache:v,assembly:w,avrassembly:S,cpp:_,csharp:E,css:L,cython:I,cordpro:W,diff:N,dockerfile:D,go:$,groovy:O,ini:T,java:R,javascript:F,json:j,kotlin:z,latex:B,less:Z,lighttpd:M,lua:P,markdown:U,matlab:G,nginx:H,nsis:V,php:J,powershell:X,prolog:Y,purebasic:Q,python:q,qml:K,r:ee,raw:te,routeros:re,ruby:ne,rust:ie,scala:ae,scss:se,shell:oe,sql:le,squirrel:ge,swift:ue,typescript:pe,vhdl:ce,visualbasic:ye,xml:fe,yaml:be,verilog:de}),me={standard:"generic"},xe={},ke=!1;function ve(e){if(!ke)for(var t in ke=!0,he)if("function"==typeof he[t].alias){var r,n=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=b(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return s=e.done,e},e:function(e){o=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(o)throw a}}}}(he[t].alias());try{for(n.s();!(r=n.n()).done;){var i=r.value;me[i]=t}}catch(e){n.e(e)}finally{n.f()}}return me[e]}function we(e){return e=ve(e=(e||"").toLowerCase())||e,he[e]?e:null}var Ce={document:document,window:window};function Se(){return document}function _e(){return window}function Ee(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];e.style.display=!0===t?"block":"none"}function Ae(e){e.parentNode.removeChild(e)}function Le(e){return null!=e&&0<e.length?Se().querySelectorAll(e):[]}function qe(e,t){return e.getAttribute("data-"+t)||null}function Ie(e,t){return e.getAttribute(t)||null}function We(e,t){return e.parentNode.insertBefore(t,e)}function Ne(e,t,r){var n=Se(),i=n.createElement(e);if(0<r.length)for(var a=0;a<r.length;a++){var s=r[a];if(null!==s&&!1!==s)if(void 0!==s)if(s.push)for(var o=0;o<s.length;o++){var l=s[o];null!==l&&!1!==l&&(void 0!==l?l.appendChild?i.appendChild(l):i.appendChild(n.createTextNode(l)):i.appendChild(n.createTextNode("#INVALID_ELEMENT#")))}else s.appendChild?i.appendChild(s):i.appendChild(n.createTextNode(s));else i.appendChild(n.createTextNode("#INVALID_ELEMENT#"))}function g(e,t){i.addEventListener(e,function(e){e.preventDefault(),e.stopPropagation(),t&&t.apply(i,[e,i])})}for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var p=t[u];if("on"===u.substr(0,2)){if(null===p)continue;g(u.substr(2).toLowerCase(),p)}else{if(null==p)continue;switch(u){case"className":i.setAttribute("class",p);break;case"htmlFor":i.setAttribute("for",p);break;default:i.setAttribute(u,p)}}}return i.on=g,i}function De(e,t){for(var r=arguments.length,n=new Array(2<r?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];if("function"!=typeof e)return Ne(e,t,n);var a=g(e,[t||{}].concat(n));return"function"==typeof a.render?a.render():a instanceof HTMLElement?a:void Se().createTextNode("#INVALID_JSX_ELEMENT#")}function $e(e,t){e.classList.contains(t)||e.classList.add(t)}function Oe(e,t){e.classList.contains(t)&&e.classList.remove(t)}function Te(e,t){return e.classList.contains(t)}function Re(e,t){e.classList.contains(t)?e.classList.remove(t):e.classList.add(t)}var Fe=_e();function je(){var e;void 0!==Fe.console&&Fe.console.log&&(e=Fe.console).log.apply(e,arguments)}var ze=Object.freeze({__proto__:null,globals:Ce,getDocument:Se,getWindow:_e,displayElement:Ee,disposeElement:Ae,getElements:Le,getElement:function(e){return null!=e&&0<e.length?Se().querySelector(e):null},getElementDataAttribute:qe,getElementAttribute:Ie,insertBefore:We,createNode:Ne,createElement:De,renderComponent:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;return null!==t&&t.appendChild(e),e},addClass:$e,removeClass:Oe,hasClass:Te,toggleClass:Re,logInfo:je,logError:function(){var e;void 0!==Fe.console&&Fe.console.error?(e=Fe.console).error.apply(e,arguments):je.apply(void 0,arguments)}});function Be(e){var t=e.tokens,r=e.options,n=function(e,t){if("string"!=typeof e||0===e.length)return function(){return!1};var r=parseInt(t),a=!isNaN(r)&&1<r?r-1:0,s={};return e.split(",").forEach(function(e){var t=e.match(/([0-9]+)-([0-9]+)/);if(null!=t){var r=parseInt(t[1])-a,n=parseInt(t[2])-a;if(r<n)for(var i=r;i<=n;i++)s[""+i]=!0}else s[""+(parseInt(e)-a)]=!0}),function(e){return s[""+e]||!1}}(r.highlight,r.lineoffset),i=[],a=[];t.forEach(function(t){var e=t.text.split("\n");1===e.length?a.push([t.type,t.text]):(a.push([t.type,e.shift()]),e.forEach(function(e){i.push(a),(a=[]).push([t.type,e])}))}),i.push(a);var s=[];return 0<r.lineoffset&&s.push("counter-reset: enlighter "+(parseInt(r.lineoffset)-1)),De("div",{className:"enlighter",style:s.join(";")},i.map(function(e,t){return De("div",{className:n(t+1)?"enlighter-special":""},De("div",null,e.map(function(e){return De("span",{className:"enlighter-"+e[0]},e[1])})))}))}function Ze(e){var t=[];e.name&&t.push("enlighter-"+e.name),e.className&&("string"==typeof e.className?t.push(e.className):t.push.apply(t,f(e.className)));for(var r=arguments.length,n=new Array(1<r?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return De.apply(ze,["div",{className:t.join(" ")}].concat(n))}function Me(e){var t=["enlighter-btn"];return e.name&&t.push("enlighter-btn-"+e.name),De("div",{className:t.join(" "),onClick:e.onClick,title:e.tooltip},e.text||null)}function Pe(){_e().open("https://enlighterjs.org")}var Ue=Object.freeze({__proto__:null,raw:function(e){return De(Me,{name:"raw",tooltip:"Plain text",onClick:function(){e.toggleClass("enlighter-show-rawcode")}})},copy:function(e){return De(Me,{name:"copy",tooltip:"Copy to clipboard",onClick:function(){!function(e){var t=Se(),r=_e(),n=De("pre",{className:"enlighter-clipboard"},e);t.body.appendChild(n);try{var i=t.createRange();i.selectNodeContents(n);var a=r.getSelection();a.removeAllRanges(),a.addRange(i)}catch(e){return}var s=function(){try{return t.execCommand("copy")}catch(e){return!1}}();r.getSelection().removeAllRanges(),Ae(n)}(e.getRawCode())}})},window:function(r){var n=_e();return De(Me,{name:"window",tooltip:"Open code in new window",onClick:function(){var e=n.open("","","width="+n.screen.width/2+", height="+n.screen.height/2+", menubar=no, titlebar=no, toolbar=no, top=100, left=100, scrollbars=yes, status=no"),t=r.getRawCode().replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");e.document.body.innerHTML="<pre>"+t+"</pre>",e.document.title="Sourcecode | EnlighterJS Syntax Highlighter"}})},website:function(){return De(Me,{name:"website",tooltip:"EnlighterJS 3 Syntax Highlighter",onClick:Pe})},collapse:function(e){return De(Me,{name:"collapse",tooltip:"Expand",onClick:function(){e.toggleClass("enlighter-collapse-full")}})}});function Ge(t){var e=function(e){for(var t,r=[],n=/{BTN_([A-Z_]+)}/g;null!=(t=n.exec(e));)r.push(t[1].toLowerCase());return r}(t.layout).map(function(e){return Ue[e]?De(Ue[e],{getRawCode:t.getRawCode,toggleClass:t.toggleClass}):null}).filter(function(e){return null!==e});return De(Ze,{name:"toolbar-"+t.name,className:"enlighter-toolbar"},e)}function He(e,t){return De("div",{className:"enlighter-raw"},t)}function Ve(e){var t=null,r=e[0].params,n=["enlighter-default","enlighter-v-standard","enlighter-t-"+e[0].params.theme];function i(e){Re(t,e)}function a(){return e[0].code}return!0===r.linehover&&n.push("enlighter-hover"),!0===r.linenumbers&&n.push("enlighter-linenumbers"),"scroll"===r.textOverflow&&n.push("enlighter-overflow-scroll"),!0===r.collapse&&n.push("enlighter-collapse"),0<r.cssClasses.length&&n.push.apply(n,f(r.cssClasses)),t=De(Ze,{className:n},De(Ge,{name:"top",layout:r.toolbarTop,toggleClass:i,getRawCode:a}),De(Be,{tokens:e[0].tokens,options:e[0].params}),De(He,null,e[0].code),De(Ge,{name:"bottom",layout:r.toolbarBottom,toggleClass:i,getRawCode:a})),r.rawcodeDbclick&&t.on("dblclick",function(){i("enlighter-show-rawcode")}),t}function Je(e){return De("span",{className:"enlighter"},e.tokens.map(function(e){return De("span",{className:"enlighter-"+e.type},e.text)}))}function Xe(r){var n=0,i=[];return i=r.dataset.map(function(e,t){return De(Me,{onClick:function(){return e=t,Oe(i[n],"enlighter-active"),$e(i[e],"enlighter-active"),n=e,void r.onChange(e);var e},text:e.params.title||e.params.language})}),$e(i[0],"enlighter-active"),De(Ze,{name:"codegroup-switch"},i)}var Ye=Object.freeze({__proto__:null,standard:Ve,inline:function(e){var t=e[0].params,r=["enlighter-default","enlighter-v-inline","enlighter-t-"+t.theme];return 0<t.cssClasses.length&&r.push.apply(r,f(t.cssClasses)),De(Ze,{className:r},De(Je,{tokens:e[0].tokens,options:t}))},codegroup:function(e){var t,r=null,n=e[0].params,i=0,a=["enlighter-default","enlighter-v-codegroup","enlighter-t-"+n.theme];function s(e){Re(r,e)}function o(){return e[i].code}function l(e){Ee(t[i],!1),Ee(t[e],!0),i=e}return!0===n.linehover&&a.push("enlighter-hover"),!0===n.linenumbers&&a.push("enlighter-linenumbers"),"scroll"===n.textOverflow&&a.push("enlighter-overflow-scroll"),!0===n.collapse&&a.push("enlighter-collapse"),0<n.cssClasses.length&&a.push.apply(a,f(n.cssClasses)),t=e.map(function(e){return De("div",{style:"display:none"},De(Be,{tokens:e.tokens,options:e.params}),De(He,null,e.code))}),l(0),r=De(Ze,{className:a},De(Xe,{onChange:l,dataset:e}),De(Ze,{name:"codegroup-wrapper"},De(Ge,{name:"top",layout:n.toolbarTop,toggleClass:s,getRawCode:o}),t,De(Ge,{name:"bottom",layout:n.toolbarBottom,toggleClass:s,getRawCode:o}))),n.rawcodeDbclick&&r.on("dblclick",function(){s("enlighter-show-rawcode")}),r}});function Qe(e){var t;return(t=((t=e[0].params.layout)||"").toLowerCase(),Ye[t]?Ye[t]:Ve)(e.map(function(e){var t,r,n,i=e.code,a=e.params;if("string"!=typeof i)throw new TypeError("EnlighterJS Engine requires string input");return{tokens:(t=a.language,r=c.language||null,n=we(t)||we(r)||"generic",xe[n]||(xe[n]=new he[n]),xe[n]).analyze(i),params:a,code:i}}))}function Ke(i,t){function a(e){return function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n=t.pop(),i=0;i<t.length;i++){var a=t[i];if(null!=a)return a}return n}(t[e],c[e],null)}function e(e,t){var r=qe(i,"enlighter-"+e),n=a(e);if(!(r&&0<r.length))return n;switch(t){case"boolean":return"true"===(r=r.toLowerCase().trim())||"false"!==r&&n;case"int":return r=parseInt(r),isNaN(r)?n:r;default:return r}}var r=a("cssClasses")||"";!0===a("retainCssClasses")&&(r+=" "+(Ie(i,"class")||""));var n=r.replace(/\s+/g," ").trim().split(" ");return{language:e("language"),theme:e("theme"),layout:e("layout"),title:e("title"),highlight:e("highlight"),linenumbers:e("linenumbers","boolean"),lineoffset:e("lineoffset","int"),indent:a("indent"),ampersandCleanup:a("ampersandCleanup"),linehover:a("linehover"),rawcodeDbclick:a("rawcodeDbclick"),textOverflow:a("textOverflow"),collapse:a("collapse"),cssClasses:n,toolbarTop:a("toolbarTop"),toolbarBottom:a("toolbarBottom"),toolbarHeader:a("toolbarHeader")}}var et=[];function tt(e){var t=function(e){for(var t=0;t<et.length;t++)for(var r=0;r<et[t].elements.length;r++)if(et[t].elements[r]===e)return t;return!1}(e);if(!1===t)return!1;var r=et.splice(t,1);return Ae(r[0].wrapper),r[0].elements.map(function(e){return Oe(e,"enlighter-origin")}),!0}function rt(e){var t,r,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};try{if(Array.isArray(e)||(e=[e]),0===e.length)return!1;if(!1===n)return tt(e[0]);if(Te(e[0],"enlighter-origin"))return!1;var i=Qe(e.map(function(e){var t=Ke(e,n),r=function(e,t){var r=e.innerHTML||"";r=(r=r.replace(/(^\s*\n|\n\s*$)/gi,"")).replace(/&lt;/gim,"<").replace(/&gt;/gim,">").replace(/&nbsp;/gim," "),!0===t.ampersandCleanup&&(r=r.replace(/&amp;/gim,"&"));var n=t.indent;return!1!==n&&-1<n&&(r=r.replace(/(\t*)/gim,function(e,t){return new Array(n*t.length+1).join(" ")})),r}(e,t);return $e(e,"enlighter-origin"),{element:e,code:r,params:t}}));return We(e[0],i),t=e,r=i,et.push({elements:t,wrapper:r}),!0}catch(e){return console.error("EnlighterJS Internal Error:",e),!1}}return e.enlight=rt,e.init=function(){var e,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"pre.ejs",r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"code.ejs",n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};e=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,Object.assign(c,e||{});for(var i=Le(t),a=Le(r),s=function(e){for(var t={},r=[],n=0;n<e.length;n++){var i=qe(e[n],"enlighter-group");i?(t[i]||(t[i]=[]),t[i].push(e[n])):r.push(e[n])}return{standalone:r,groups:Object.keys(t).map(function(e){return t[e]})}}(i),o=s.standalone,l=s.groups,g=0;g<o.length;g++)rt(o[g],{layout:n.block||"standard"});for(var u=0;u<l.length;u++)rt(l[u],{layout:n.codegroup||"codegroup"});for(var p=0;p<a.length;p++)rt(a[p],{layout:n.inline||"inline"})},e.version="3.4.0",e}({});
!function(n){"function"==typeof n&&n.fn&&(n.fn.enlight=function(n){return n=!0===(n=void 0===n?{}:n)?{}:n,this.each(function(){EnlighterJS.enlight(this,n)})})}(window.jQuery);
