mirror of
https://github.com/iv-org/invidious.io.git
synced 2024-12-28 17:19:30 -05:00
1 line
36 KiB
JavaScript
1 line
36 KiB
JavaScript
(()=>{var r=Object.create,e=Object.defineProperty,U=Object.getOwnPropertyDescriptor,Q=Object.getOwnPropertyNames,J=Object.getPrototypeOf,H=Object.prototype.hasOwnProperty,_=a=>e(a,"__esModule",{value:!0}),A=(b,a)=>function(){return a||(0,b[Object.keys(b)[0]])((a={exports:{}}).exports,a),a.exports},x=(b,a,c)=>{if(a&&typeof a=="object"||typeof a=="function")for(let d of Q(a))!H.call(b,d)&&d!=="default"&&e(b,d,{get:()=>a[d],enumerable:!(c=U(a,d))||c.enumerable});return b},w=a=>x(_(e(a!=null?r(J(a)):{},"default",a&&a.__esModule&&"default"in a?{get:()=>a.default,enumerable:!0}:{value:a,enumerable:!0})),a),u=A({"node_modules/highlight.js/lib/core.js"(aA,ax){var m={exports:{}},aw,E,av,w,ar,al,p,ak,ag,ad,y,n,A,B,C,V,J,e,G,H,I,i,K,L,M,N,O,P,Q,R,S,T,U,g,aa,ab,ac,v,b,r,c,h,au,j,z,u,ay,ah,az;function l(a){return a instanceof Map?a.clear=a.delete=a.set=function(){throw new Error("map is read-only")}:a instanceof Set&&(a.add=a.clear=a.delete=function(){throw new Error("set is read-only")}),Object.freeze(a),Object.getOwnPropertyNames(a).forEach(function(c){var b=a[c];typeof b=="object"&&!Object.isFrozen(b)&&l(b)}),a}m.exports=l,m.exports.default=l,aw=m.exports,E=class{constructor(a){a.data===void 0&&(a.data={}),this.data=a.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function D(a){return a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function a(b,...c){const a=Object.create(null);for(const c in b)a[c]=b[c];return c.forEach(function(b){for(const c in b)a[c]=b[c]}),a}av="</span>",w=a=>!!a.kind,ar=(a,{prefix:b})=>{if(a.includes(".")){const c=a.split(".");return[`${b}${c.shift()}`,...c.map((a,b)=>`${a}${"_".repeat(b+1)}`)].join(" ")}return`${b}${a}`},al=class{constructor(a,b){this.buffer="",this.classPrefix=b.classPrefix,a.walk(this)}addText(a){this.buffer+=D(a)}openNode(b){if(!w(b))return;let a=b.kind;b.sublanguage?a=`language-${a}`:a=ar(a,{prefix:this.classPrefix}),this.span(a)}closeNode(a){if(!w(a))return;this.buffer+=av}value(){return this.buffer}span(a){this.buffer+=`<span class="${a}">`}},p=class{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(a){this.top.children.push(a)}openNode(b){const a={kind:b,children:[]};this.add(a),this.stack.push(a)}closeNode(){return this.stack.length>1?this.stack.pop():void 0}closeAllNodes(){while(this.closeNode());}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(a){return this.constructor._walk(a,this.rootNode)}static _walk(b,a){return typeof a=="string"?b.addText(a):a.children&&(b.openNode(a),a.children.forEach(a=>this._walk(b,a)),b.closeNode(a)),b}static _collapse(a){if(typeof a=="string")return;if(!a.children)return;a.children.every(a=>typeof a=="string")?a.children=[a.children.join("")]:a.children.forEach(a=>{p._collapse(a)})}},ak=class extends p{constructor(a){super(),this.options=a}addKeyword(a,b){if(a==="")return;this.openNode(b),this.addText(a),this.closeNode()}addText(a){if(a==="")return;this.add(a)}addSublanguage(b,c){const a=b.root;a.kind=c,a.sublanguage=!0,this.add(a)}toHTML(){const a=new al(this,this.options);return a.value()}finalize(){return!0}};function d(a){return a?typeof a=="string"?a:a.source:null}function aj(a){return f("(?=",a,")")}function f(...a){const b=a.map(a=>d(a)).join("");return b}function ai(a){const b=a[a.length-1];return typeof b=="object"&&b.constructor===Object?(a.splice(a.length-1,1),b):{}}function o(...a){const b=ai(a),c="("+(b.capture?"":"?:")+a.map(a=>d(a)).join("|")+")";return c}function t(a){return new RegExp(a.toString()+"|").exec("").length-1}function F(a,c){const b=a&&a.exec(c);return b&&b.index===0}ag=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function k(b,{joinWith:c}){let a=0;return b.map(e=>{a+=1;const f=a;let b=d(e),c="";while(b.length>0){const d=ag.exec(b);if(!d){c+=b;break}c+=b.substring(0,d.index),b=b.substring(d.index+d[0].length),d[0][0]==="\\"&&d[1]?c+="\\"+String(Number(d[1])+f):(c+=d[0],d[0]==="("&&a++)}return c}).map(a=>`(${a})`).join(c)}ad=/\b\B/,y="[a-zA-Z]\\w*",n="[a-zA-Z_]\\w*",A="\\b\\d+(\\.\\d+)?",B="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",C="\\b(0b[01]+)",V="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",J=(b={})=>{const c=/^#![ ]*\//;return b.binary&&(b.begin=f(c,/.*\b/,b.binary,/\b.*/)),a({scope:"meta",begin:c,end:/$/,relevance:0,"on:begin":(a,b)=>{a.index!==0&&b.ignoreMatch()}},b)},e={begin:"\\\\[\\s\\S]",relevance:0},G={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[e]},H={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[e]},I={begin:/\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/},i=function(c,d,e={}){const b=a({scope:"comment",begin:c,end:d,contains:[]},e);b.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const g=o("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return b.contains.push({begin:f(/[ ]+/,"(",g,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),b},K=i("//","$"),L=i("/\\*","\\*/"),M=i("#","$"),N={scope:"number",begin:A,relevance:0},O={scope:"number",begin:B,relevance:0},P={scope:"number",begin:C,relevance:0},Q={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[e,{begin:/\[/,end:/\]/,relevance:0,contains:[e]}]}]},R={scope:"title",begin:y,relevance:0},S={scope:"title",begin:n,relevance:0},T={begin:"\\.\\s*"+n,relevance:0},U=function(a){return Object.assign(a,{"on:begin":(a,b)=>{b.data._beginMatch=a[1]},"on:end":(b,a)=>{a.data._beginMatch!==b[1]&&a.ignoreMatch()}})},g=Object.freeze({__proto__:null,MATCH_NOTHING_RE:ad,IDENT_RE:y,UNDERSCORE_IDENT_RE:n,NUMBER_RE:A,C_NUMBER_RE:B,BINARY_NUMBER_RE:C,RE_STARTERS_RE:V,SHEBANG:J,BACKSLASH_ESCAPE:e,APOS_STRING_MODE:G,QUOTE_STRING_MODE:H,PHRASAL_WORDS_MODE:I,COMMENT:i,C_LINE_COMMENT_MODE:K,C_BLOCK_COMMENT_MODE:L,HASH_COMMENT_MODE:M,NUMBER_MODE:N,C_NUMBER_MODE:O,BINARY_NUMBER_MODE:P,REGEXP_MODE:Q,TITLE_MODE:R,UNDERSCORE_TITLE_MODE:S,METHOD_GUARD:T,END_SAME_AS_BEGIN:U});function W(a,b){const c=a.input[a.index-1];c==="."&&b.ignoreMatch()}function X(a,b){a.className!==void 0&&(a.scope=a.className,delete a.className)}function Y(a,b){if(!b)return;if(!a.beginKeywords)return;a.begin="\\b("+a.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",a.__beforeBegin=W,a.keywords=a.keywords||a.beginKeywords,delete a.beginKeywords,a.relevance===void 0&&(a.relevance=0)}function Z(a,b){if(!Array.isArray(a.illegal))return;a.illegal=o(...a.illegal)}function _(a,b){if(!a.match)return;if(a.begin||a.end)throw new Error("begin & end are not supported with match");a.begin=a.match,delete a.match}function $(a,b){a.relevance===void 0&&(a.relevance=1)}aa=(a,c)=>{if(!a.beforeMatch)return;if(a.starts)throw new Error("beforeMatch cannot be used with starts");const b=Object.assign({},a);Object.keys(a).forEach(b=>{delete a[b]}),a.keywords=b.keywords,a.begin=f(b.beforeMatch,aj(b.begin)),a.starts={relevance:0,contains:[Object.assign(b,{endsParent:!0})]},a.relevance=0,delete b.beforeMatch},ab=["of","and","for","in","not","or","if","then","parent","list","value"],ac="keyword";function x(a,c,d=ac){const b=Object.create(null);return typeof a=="string"?e(d,a.split(" ")):Array.isArray(a)?e(d,a):Object.keys(a).forEach(function(d){Object.assign(b,x(a[d],c,d))}),b;function e(d,a){c&&(a=a.map(a=>a.toLowerCase())),a.forEach(function(c){const a=c.split("|");b[a[0]]=[d,ae(a[0],a[1])]})}}function ae(b,a){return a?Number(a):af(b)?0:1}function af(a){return ab.includes(a.toLowerCase())}v={},b=a=>{console.error(a)},r=(a,...b)=>{console.log(`WARN: ${a}`,...b)},c=(a,b)=>{if(v[`${a}/${b}`])return;console.log(`Deprecated as of ${a}. ${b}`),v[`${a}/${b}`]=!0},h=new Error;function q(a,d,{key:b}){let c=0;const g=a[b],e={},f={};for(let a=1;a<=d.length;a++)f[a+c]=g[a],e[a+c]=!0,c+=t(d[a-1]);a[b]=f,a[b]._emit=e,a[b]._multi=!0}function am(a){if(!Array.isArray(a.begin))return;if(a.skip||a.excludeBegin||a.returnBegin)throw b("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),h;if(typeof a.beginScope!="object"||a.beginScope===null)throw b("beginScope must be object"),h;q(a,a.begin,{key:"beginScope"}),a.begin=k(a.begin,{joinWith:""})}function an(a){if(!Array.isArray(a.end))return;if(a.skip||a.excludeEnd||a.returnEnd)throw b("skip, excludeEnd, returnEnd not compatible with endScope: {}"),h;if(typeof a.endScope!="object"||a.endScope===null)throw b("endScope must be object"),h;q(a,a.end,{key:"endScope"}),a.end=k(a.end,{joinWith:""})}function ao(a){a.scope&&typeof a.scope=="object"&&a.scope!==null&&(a.beginScope=a.scope,delete a.scope)}function ap(a){ao(a),typeof a.beginScope=="string"&&(a.beginScope={_wrap:a.beginScope}),typeof a.endScope=="string"&&(a.endScope={_wrap:a.endScope}),am(a),an(a)}function aq(b){function c(a,c){return new RegExp(d(a),"m"+(b.case_insensitive?"i":"")+(c?"g":""))}class f{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(b,a){a.position=this.position++,this.matchIndexes[this.matchAt]=a,this.regexes.push([a,b]),this.matchAt+=t(b)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(a=>a[1]);this.matcherRe=c(k(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(c){this.matcherRe.lastIndex=this.lastIndex;const a=this.matcherRe.exec(c);if(!a)return null;const b=a.findIndex((a,b)=>b>0&&a!==void 0),d=this.matchIndexes[b];return a.splice(0,b),Object.assign(a,d)}}class g{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];const b=new f;return this.rules.slice(a).forEach(([a,c])=>b.addRule(a,c)),b.compile(),this.multiRegexes[a]=b,b}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(b,a){this.rules.push([b,a]),a.type==="begin"&&this.count++}exec(b){const c=this.getMatcher(this.regexIndex);c.lastIndex=this.lastIndex;let a=c.exec(b);if(this.resumingScanAtSamePosition())if(a&&a.index===this.lastIndex);else{const c=this.getMatcher(0);c.lastIndex=this.lastIndex+1,a=c.exec(b)}return a&&(this.regexIndex+=a.position+1,this.regexIndex===this.count&&this.considerAll()),a}}function h(a){const b=new g;return a.contains.forEach(a=>b.addRule(a.begin,{rule:a,type:"begin"})),a.terminatorEnd&&b.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&b.addRule(a.illegal,{type:"illegal"}),b}function e(a,g){const f=a;if(a.isCompiled)return f;[X,_,ap,aa].forEach(b=>b(a,g)),b.compilerExtensions.forEach(b=>b(a,g)),a.__beforeBegin=null,[Y,Z,$].forEach(b=>b(a,g)),a.isCompiled=!0;let i=null;return typeof a.keywords=="object"&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),i=a.keywords.$pattern,delete a.keywords.$pattern),i=i||/\w+/,a.keywords&&(a.keywords=x(a.keywords,b.case_insensitive)),f.keywordPatternRe=c(i,!0),g&&(a.begin||(a.begin=/\B|\b/),f.beginRe=c(a.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(f.endRe=c(a.end)),f.terminatorEnd=d(a.end)||"",a.endsWithParent&&g.terminatorEnd&&(f.terminatorEnd+=(a.end?"|":"")+g.terminatorEnd)),a.illegal&&(f.illegalRe=c(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(b){return at(b==="self"?a:b)})),a.contains.forEach(function(a){e(a,f)}),a.starts&&e(a.starts,g),f.matcher=h(f),f}if(b.compilerExtensions||(b.compilerExtensions=[]),b.contains&&b.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return b.classNameAliases=a(b.classNameAliases||{}),e(b)}function s(a){return!!a&&(a.endsWithParent||s(a.starts))}function at(b){return b.variants&&!b.cachedVariants&&(b.cachedVariants=b.variants.map(function(c){return a(b,{variants:null},c)})),b.cachedVariants?b.cachedVariants:s(b)?a(b,{starts:b.starts?a(b.starts):null}):Object.isFrozen(b)?a(b):b}au="11.2.0",j=D,z=a,u=Symbol("nomatch"),ay=7,ah=function(e){const f=Object.create(null),h=Object.create(null),x=[];let i=!0;const w="Could not find the language '{}', did you forget to load/include a language module?",v={disableAutodetect:!0,name:"Plain text",contains:[]};let a={ignoreUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:ak};function p(b){return a.noHighlightRe.test(b)}function N(b){let e=b.className+" ";e+=b.parentNode?b.parentNode.className:"";const c=a.languageDetectRe.exec(e);if(c){const a=d(c[1]);return a||(r(w.replace("{}",c[1])),r("Falling back to no-highlight mode for this block.",b)),a?c[1]:"no-highlight"}return e.split(/\s+/).find(a=>p(a)||d(a))}function q(h,b,d){let f="",g="";typeof b=="object"?(f=h,d=b.ignoreIllegals,g=b.language):(c("10.7.0","highlight(lang, code, ...args) has been deprecated."),c("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),g=h,f=b),d===void 0&&(d=!0);const a={code:f,language:g};k("before:highlight",a);const e=a.result?a.result:n(a.language,a.code,d);return e.code=a.code,k("after:highlight",e),e}function n(l,h,N,M){const s=Object.create(null);function L(a,b){return a.keywords[b]}function z(){if(!c.keywords){g.addText(e);return}let d=0;c.keywordPatternRe.lastIndex=0;let a=c.keywordPatternRe.exec(e),b="";while(a){b+=e.substring(d,a.index);const f=k.case_insensitive?a[0].toLowerCase():a[0],h=L(c,f);if(h){const[c,d]=h;if(g.addText(b),b="",s[f]=(s[f]||0)+1,s[f]<=ay&&(q+=d),c.startsWith("_"))b+=a[0];else{const b=k.classNameAliases[c]||c;g.addKeyword(a[0],b)}}else b+=a[0];d=c.keywordPatternRe.lastIndex,a=c.keywordPatternRe.exec(e)}b+=e.substr(d),g.addText(b)}function J(){if(e==="")return;let a=null;if(typeof c.subLanguage=="string"){if(!f[c.subLanguage]){g.addText(e);return}a=n(c.subLanguage,e,!0,A[c.subLanguage]),A[c.subLanguage]=a._top}else a=o(e,c.subLanguage.length?c.subLanguage:null);c.relevance>0&&(q+=a.relevance),g.addSublanguage(a._emitter,a.language)}function p(){c.subLanguage!=null?J():z(),e=""}function D(b,c){let a=1;while(c[a]!==void 0){if(!b._emit[a]){a++;continue}const d=k.classNameAliases[b[a]]||b[a],f=c[a];d?g.addKeyword(f,d):(e=f,z(),e=""),a++}}function y(a,b){return a.scope&&typeof a.scope=="string"&&g.openNode(k.classNameAliases[a.scope]||a.scope),a.beginScope&&(a.beginScope._wrap?(g.addKeyword(e,k.classNameAliases[a.beginScope._wrap]||a.beginScope._wrap),e=""):a.beginScope._multi&&(D(a.beginScope,b),e="")),c=Object.create(a,{parent:{value:c}}),c}function C(a,c,d){let b=F(a.endRe,d);if(b){if(a["on:end"]){const d=new E(a);a["on:end"](c,d),d.isMatchIgnored&&(b=!1)}if(b){while(a.endsParent&&a.parent)a=a.parent;return a}}if(a.endsWithParent)return C(a.parent,c,d)}function I(a){return c.matcher.regexIndex===0?(e+=a[0],1):(x=!0,0)}function G(c){const b=c[0],a=c.rule,d=new E(a),f=[a.__beforeBegin,a["on:begin"]];for(const a of f){if(!a)continue;if(a(c,d),d.isMatchIgnored)return I(b)}return a.skip?e+=b:(a.excludeBegin&&(e+=b),p(),!a.returnBegin&&!a.excludeBegin&&(e=b)),y(a,c),a.returnBegin?0:b.length}function O(a){const b=a[0],i=h.substr(a.index),f=C(c,a,i);if(!f)return u;const d=c;c.endScope&&c.endScope._wrap?(p(),g.addKeyword(b,c.endScope._wrap)):c.endScope&&c.endScope._multi?(p(),D(c.endScope,a)):d.skip?e+=b:(d.returnEnd||d.excludeEnd||(e+=b),p(),d.excludeEnd&&(e=b));do c.scope&&g.closeNode(),!c.skip&&!c.subLanguage&&(q+=c.relevance),c=c.parent;while(c!==f.parent)return f.starts&&y(f.starts,a),d.returnEnd?0:b.length}function K(){const a=[];for(let b=c;b!==k;b=b.parent)b.scope&&a.unshift(b.scope);a.forEach(a=>g.openNode(a))}let r={};function B(d,a){const b=a&&a[0];if(e+=d,b==null)return p(),0;if(r.type==="begin"&&a.type==="end"&&r.index===a.index&&b===""){if(e+=h.slice(a.index,a.index+1),!i){const a=new Error(`0 width match regex (${l})`);throw a.languageName=l,a.badRule=r.rule,a}return 1}if(r=a,a.type==="begin")return G(a);if(a.type==="illegal"&&!N){const a=new Error('Illegal lexeme "'+b+'" for mode "'+(c.scope||"<unnamed>")+'"');throw a.mode=c,a}if(a.type==="end"){const b=O(a);if(b!==u)return b}if(a.type==="illegal"&&b==="")return 1;if(v>1e5&&v>a.index*3){const a=new Error("potential infinite loop, way more iterations than matches");throw a}return e+=b,b.length}const k=d(l);if(!k)throw b(w.replace("{}",l)),new Error('Unknown language: "'+l+'"');const H=aq(k);let t="",c=M||H;const A={},g=new a.__emitter(a);K();let e="",q=0,m=0,v=0,x=!1;try{for(c.matcher.considerAll();;){v++,x?x=!1:c.matcher.considerAll(),c.matcher.lastIndex=m;const a=c.matcher.exec(h);if(!a)break;const b=h.substring(m,a.index),d=B(b,a);m=a.index+d}return B(h.substr(m)),g.closeAllNodes(),g.finalize(),t=g.toHTML(),{language:l,value:t,relevance:q,illegal:!1,_emitter:g,_top:c}}catch(a){if(a.message&&a.message.includes("Illegal"))return{language:l,value:j(h),illegal:!0,relevance:0,_illegalBy:{message:a.message,index:m,context:h.slice(m-100,m+100),mode:a.mode,resultSoFar:t},_emitter:g};if(i)return{language:l,value:j(h),illegal:!1,relevance:0,errorRaised:a,_emitter:g,_top:c};throw a}}function K(b){const c={value:j(b),illegal:!1,relevance:0,_top:v,_emitter:new a.__emitter(a)};return c._emitter.addText(b),c}function o(c,b){b=b||a.languages||Object.keys(f);const h=K(c),e=b.filter(d).filter(s).map(a=>n(a,c,!1));e.unshift(h);const i=e.sort((a,b)=>{if(a.relevance!==b.relevance)return b.relevance-a.relevance;if(a.language&&b.language){if(d(a.language).supersetOf===b.language)return 1;if(d(b.language).supersetOf===a.language)return-1}return 0}),[j,k]=i,g=j;return g.secondBest=k,g}function J(a,b,c){const d=b&&h[b]||c;a.classList.add("hljs"),a.classList.add(`language-${d}`)}function m(b){let f=null;const d=N(b);if(p(d))return;k("before:highlightElement",{el:b,language:d}),!a.ignoreUnescapedHTML&&b.children.length>0&&(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/issues/2886"),console.warn(b)),f=b;const e=f.textContent,c=d?q(e,{language:d,ignoreIllegals:!0}):o(e);b.innerHTML=c.value,J(b,d,c.language),b.result={language:c.language,re:c.relevance,relevance:c.relevance},c.secondBest&&(b.secondBest={language:c.secondBest.language,relevance:c.secondBest.relevance}),k("after:highlightElement",{el:b,result:c,text:e})}function A(b){a=z(a,b)}const I=()=>{l(),c("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function B(){l(),c("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let y=!1;function l(){if(document.readyState==="loading"){y=!0;return}const b=document.querySelectorAll(a.cssSelector);b.forEach(m)}function C(){y&&l()}typeof window!="undefined"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",C,!1);function D(c,d){let a=null;try{a=d(e)}catch(d){if(b("Language definition for '{}' could not be registered.".replace("{}",c)),!i)throw d;b(d),a=v}a.name||(a.name=c),f[c]=a,a.rawDefinition=d.bind(null,e),a.aliases&&t(a.aliases,{languageName:c})}function G(a){delete f[a];for(const b of Object.keys(h))h[b]===a&&delete h[b]}function H(){return Object.keys(f)}function d(a){return a=(a||"").toLowerCase(),f[a]||f[h[a]]}function t(a,{languageName:b}){typeof a=="string"&&(a=[a]),a.forEach(a=>{h[a.toLowerCase()]=b})}function s(b){const a=d(b);return a&&!a.disableAutodetect}function L(a){a["before:highlightBlock"]&&!a["before:highlightElement"]&&(a["before:highlightElement"]=b=>{a["before:highlightBlock"](Object.assign({block:b.el},b))}),a["after:highlightBlock"]&&!a["after:highlightElement"]&&(a["after:highlightElement"]=b=>{a["after:highlightBlock"](Object.assign({block:b.el},b))})}function M(a){L(a),x.push(a)}function k(b,c){const a=b;x.forEach(function(b){b[a]&&b[a](c)})}function O(a){return c("10.7.0","highlightBlock will be removed entirely in v12.0"),c("10.7.0","Please use highlightElement now."),m(a)}Object.assign(e,{highlight:q,highlightAuto:o,highlightAll:l,highlightElement:m,highlightBlock:O,configure:A,initHighlighting:I,initHighlightingOnLoad:B,registerLanguage:D,unregisterLanguage:G,listLanguages:H,getLanguage:d,registerAliases:t,autoDetection:s,inherit:z,addPlugin:M}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=au;for(const a in g)typeof g[a]=="object"&&aw(g[a]);return Object.assign(e,g),e},az=ah({}),ax.exports=az}}),s=w(u()),a=s.default,n="[A-Za-z$_][0-9A-Za-z$_]*",q=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],p=["true","false","null","undefined","NaN","Infinity"],f=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],m=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],l=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],t=["arguments","this","super","console","window","document","localStorage","module","global"],o=[].concat(l,f,m),z,B,F,N,j,W,O;function v(a){return a?typeof a=="string"?a:a.source:null}function d(a){return b("(?=",a,")")}function b(...a){const b=a.map(a=>v(a)).join("");return b}function y(a){const E=(a,{after:b})=>{const c="</"+a[0].slice(1),d=a.input.indexOf(c,b);return d!==-1},c=n,C={begin:"<>",end:"</>"},h={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(a,b)=>{const c=a[0].length+a.index,d=a.input[c];if(d==="<"){b.ignoreMatch();return}d===">"&&(E(a,{after:c})||b.ignoreMatch())}},e={$pattern:n,keyword:q,literal:p,built_in:o,"variable.language":t},z="[0-9](_?[0-9])*",j=`\\.(${z})`,u=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,s={className:"number",variants:[{begin:`(\\b(${u})((${j})|\\.)?|(${j}))[eE][+-]?(${z})\\b`},{begin:`\\b(${u})\\b((${j})\\b|\\.)?|(${j})\\b`},{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},i={className:"subst",begin:"\\$\\{",end:"\\}",keywords:e,contains:[]},v={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[a.BACKSLASH_ESCAPE,i],subLanguage:"xml"}},w={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[a.BACKSLASH_ESCAPE,i],subLanguage:"css"}},x={className:"string",begin:"`",end:"`",contains:[a.BACKSLASH_ESCAPE,i]},N=a.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:c+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),r={className:"comment",variants:[N,a.C_BLOCK_COMMENT_MODE,a.C_LINE_COMMENT_MODE]},A=[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,v,w,x,s,a.REGEXP_MODE];i.contains=A.concat({begin:/\{/,end:/\}/,keywords:e,contains:["self"].concat(A)});const B=[].concat(r,i.contains),k=B.concat([{begin:/\(/,end:/\)/,keywords:e,contains:["self"].concat(B)}]),g={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:e,contains:k},D={variants:[{match:[/class/,/\s+/,c],scope:{1:"keyword",3:"title.class"}},{match:[/extends/,/\s+/,b(c,"(",b(/\./,c),")*")],scope:{1:"keyword",3:"title.class.inherited"}}]},F={relevance:0,match:/\b[A-Z][a-z]+([A-Z][a-z]+)*/,className:"title.class",keywords:{_:[...f,...m]}},G={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},H={variants:[{match:[/function/,/\s+/,c,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[g],illegal:/%/},I={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function J(a){return b("(?!",a.join("|"),")")}const K={match:b(/\b/,J([...l,"super"]),c,d(/\(/)),className:"title.function",relevance:0},L={begin:b(/\./,d(b(c,/(?![0-9A-Za-z$_(])/))),end:c,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},M={match:[/get|set/,/\s+/,c,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},g]},y="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+a.UNDERSCORE_IDENT_RE+")\\s*=>",O={match:[/const|var|let/,/\s+/,c,/\s*/,/=\s*/,d(y)],className:{1:"keyword",3:"title.function"},contains:[g]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:e,exports:{PARAMS_CONTAINS:k},illegal:/#(?![$_A-z])/,contains:[a.SHEBANG({label:"shebang",binary:"node",relevance:5}),G,a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,v,w,x,r,s,F,{className:"attr",begin:c+d(":"),relevance:0},O,{begin:"("+a.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[r,a.REGEXP_MODE,{className:"function",begin:y,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:a.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:e,contains:k}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:C.begin,end:C.end},{begin:h.begin,"on:begin":h.isTrulyOpeningTag,end:h.end}],subLanguage:"xml",contains:[{begin:h.begin,end:h.end,skip:!0,contains:["self"]}]}]},H,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+a.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[g,a.inherit(a.TITLE_MODE,{begin:c,className:"title.function"})]},{match:/\.\.\./,relevance:0},L,{match:"\\$"+c,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[g]},K,I,D,M,{match:/\$[(.]/}]}}z=y;function G(a){const b={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},c={match:/[{}[\],:]/,className:"punctuation",relevance:0},d={beginKeywords:["true","false","null"].join(" ")};return{name:"JSON",contains:[b,c,a.QUOTE_STRING_MODE,d,a.C_NUMBER_MODE,a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}B=G;function C(a){return a?typeof a=="string"?a:a.source:null}function D(...a){const b=a.map(a=>C(a)).join("");return b}function E(a){const b={},h={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[b]}]};Object.assign(b,{className:"variable",variants:[{begin:D(/\$[\w\d#@][\w\d_]*/,`(?![\\w\\d])(?![$])`)},h]});const d={className:"subst",begin:/\$\(/,end:/\)/,contains:[a.BACKSLASH_ESCAPE]},f={begin:/<<-?\s*(?=\w+)/,starts:{contains:[a.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},c={className:"string",begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE,b,d]};d.contains.push(c);const g={className:"",begin:/\\"/},e={className:"string",begin:/'/,end:/'/},i={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},a.NUMBER_MODE,b]},j=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],k=a.SHEBANG({binary:`(${j.join("|")})`,relevance:10}),l={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[a.inherit(a.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=["if","then","else","elif","fi","for","while","in","do","done","case","esac","function"],n=["true","false"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:m,literal:n,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"},contains:[k,a.SHEBANG(),l,i,a.HASH_COMMENT_MODE,f,c,g,e,b]}}F=E;function k(a){return a?typeof a=="string"?a:a.source:null}function g(a){return c("(?=",a,")")}function I(a){return c("(?:",a,")?")}function c(...a){const b=a.map(a=>k(a)).join("");return b}function K(a){const b=a[a.length-1];return typeof b=="object"&&b.constructor===Object?(a.splice(a.length-1,1),b):{}}function L(...a){const b=K(a),c="("+(b.capture?"":"?:")+a.map(a=>k(a)).join("|")+")";return c}function M(a){const b=c(/[A-Z_]/,I(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),k=/[A-Za-z0-9._:-]+/,e={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},f={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},h=a.inherit(f,{begin:/\(/,end:/\)/}),i=a.inherit(a.APOS_STRING_MODE,{className:"string"}),j=a.inherit(a.QUOTE_STRING_MODE,{className:"string"}),d={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:k,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[e]},{begin:/'/,end:/'/,contains:[e]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[f,j,i,h,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[f,h,j,i]}]}]},a.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},e,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[d],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[d],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:c(/</,g(c(b,L(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:b,relevance:0,starts:d}]},{className:"tag",begin:c(/<\//,g(c(b,/>/))),contains:[{className:"name",begin:b,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}N=M;function h(a){return a?typeof a=="string"?a:a.source:null}function P(a){return i("(?=",a,")")}function i(...a){const b=a.map(a=>h(a)).join("");return b}function R(a){const b=a[a.length-1];return typeof b=="object"&&b.constructor===Object?(a.splice(a.length-1,1),b):{}}function S(...a){const b=R(a),c="("+(b.capture?"":"?:")+a.map(a=>h(a)).join("|")+")";return c}function T(b){const c={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:b.NUMBER_RE}]},a=b.COMMENT();a.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const d={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},e={className:"literal",begin:/\bon|off|true|false|yes|no\b/},f={className:"string",contains:[b.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},h={begin:/\[/,end:/\]/,contains:[a,e,d,f,c,"self"],relevance:0},j=/[A-Za-z0-9_-]+/,k=/"(\\"|[^"])*"/,l=/'[^']*'/,g=S(j,k,l),m=i(g,"(\\s*\\.\\s*",g,")*",P(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[a,{className:"section",begin:/\[+/,end:/\]+/},{begin:m,className:"attr",starts:{end:/$/,contains:[a,h,e,d,f,c]}}]}}j=T;function V(a){const c="true false yes no null",b="[\\w#;/?:@&=+$,.~*'()[\\]]+",m={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},j={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},f={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[a.BACKSLASH_ESCAPE,j]},h=a.inherit(f,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),i="[0-9]{4}(-[0-9][0-9]){0,2}",q="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",p="(\\.[0-9]*)?",k="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",l={className:"number",begin:"\\b"+i+q+p+k+"\\b"},d={end:",",endsWithParent:!0,excludeEnd:!0,keywords:c,relevance:0},n={begin:/\{/,end:/\}/,contains:[d],illegal:"\\n",relevance:0},o={begin:"\\[",end:"\\]",contains:[d],illegal:"\\n",relevance:0},g=[m,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+b},{className:"type",begin:"!<"+b+">"},{className:"type",begin:"!"+b},{className:"type",begin:"!!"+b},{className:"meta",begin:"&"+a.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+a.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},a.HASH_COMMENT_MODE,{beginKeywords:c,keywords:{literal:c}},l,{className:"number",begin:a.C_NUMBER_RE+"\\b",relevance:0},n,o,f],e=[...g];return e.pop(),e.push(h),d.contains=e,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:g}}W=V;function X(a){return a?typeof a=="string"?a:a.source:null}function Y(...a){const b=a.map(a=>X(a)).join("");return b}function Z(m){const e={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},k={begin:"^[-\\*]{3,}",end:"$"},j={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},i={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},h={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},g=/[A-Za-z][A-Za-z0-9+.-]*/,d={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:Y(/\[.+?\]\(/,g,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},c={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},b={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]};c.contains.push(b),b.contains.push(c);let a=[e,d];c.contains=c.contains.concat(a),b.contains=b.contains.concat(a),a=a.concat(c,b);const l={className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:a},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:a}]}]},f={className:"quote",begin:"^>\\s+",contains:a,end:"$"};return{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[l,e,i,c,b,f,j,k,d,h]}}O=Z,a.registerLanguage("javascript",z),a.registerLanguage("json",B),a.registerLanguage("bash",F),a.registerLanguage("html",N),a.registerLanguage("ini",j),a.registerLanguage("toml",j),a.registerLanguage("yaml",W),a.registerLanguage("md",O),document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll("pre code:not(.language-mermaid)").forEach(b=>{a.highlightElement(b)})})})() |