Loading
function(e){class t{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function i(e,...t){let n=Object.create(null);for(let t in e)n[t]=e[t];return t.forEach(function(e){for(let t in e)n[t]=e[t]}),n}class r{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=n(e)}openNode(e){if(!e.scope)return;let t=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){let n=e.split(".");return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${"_".repeat(t+1)}`)].join(" ")}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){e.scope&&(this.buffer+="</span>")}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}let s=(e={})=>{let t={children:[]};return Object.assign(t,e),t};class a{constructor(){this.rootNode=s(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let t=s({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(e){"string"==typeof e||e.children&&(e.children.every(e=>"string"==typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{a._collapse(e)}))}}class o extends a{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){let n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new r(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function l(e){return e?"string"==typeof e?e:e.source:null}function u(e){return _("(?=",e,")")}function c(e){return _("(?:",e,")*")}function d(e){return _("(?:",e,")?")}function _(...e){return e.map(e=>l(e)).join("")}function h(...e){let t;return"("+(("object"==typeof(t=e[e.length-1])&&t.constructor===Object?(e.splice(e.length-1,1),t):{}).capture?"":"?:")+e.map(e=>l(e)).join("|")+")"}function f(e){return RegExp(e.toString()+"|").exec("").length-1}let p=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function E(e,{joinWith:t}){let n=0;return e.map(e=>{let t=n+=1,i=l(e),r="";for(;i.length>0;){let e=p.exec(i);if(!e){r+=i;break}r+=i.substring(0,e.index),i=i.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?r+="\\"+String(Number(e[1])+t):(r+=e[0],"("===e[0]&&n++)}return r}).map(e=>`(${e})`).join(t)}let m="[a-zA-Z]\\w{0,149}",g="[a-zA-Z_]\\w{0,149}",A="\\b\\d+(\\.\\d+)?",I="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",T="\\b(0b[01]+)",S={begin:"\\\\[\\s\\S]",relevance:0},y=function(e,t,n={}){let r=i({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let s=h("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 r.contains.push({begin:_(/[ ]+/,"(",s,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},C=y("//","$"),N=y("/\\*","\\*/"),v=y("#","$");var R=Object.freeze({__proto__:null,APOS_STRING_MODE:{scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[S]},BACKSLASH_ESCAPE:S,BINARY_NUMBER_MODE:{scope:"number",begin:T,relevance:0},BINARY_NUMBER_RE:T,COMMENT:y,C_BLOCK_COMMENT_MODE:N,C_LINE_COMMENT_MODE:C,C_NUMBER_MODE:{scope:"number",begin:I,relevance:0},C_NUMBER_RE:I,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:v,IDENT_RE:m,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:{begin:"\\.\\s*"+g,relevance:0},NUMBER_MODE:{scope:"number",begin:A,relevance:0},NUMBER_RE:A,PHRASAL_WORDS_MODE:{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/},QUOTE_STRING_MODE:{scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[S]},REGEXP_MODE:{scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[S,{begin:/\[/,end:/\]/,relevance:0,contains:[S]}]},RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=_(t,/.*\b/,e.binary,/\b.*/)),i({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:{scope:"title",begin:m,relevance:0},UNDERSCORE_IDENT_RE:g,UNDERSCORE_TITLE_MODE:{scope:"title",begin:g,relevance:0}});function O(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function b(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function D(e,t){!t||e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=O,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function L(e,t){Array.isArray(e.illegal)&&(e.illegal=h(...e.illegal))}function w(e,t){if(e.match){if(e.begin||e.end)throw Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function M(e,t){void 0===e.relevance&&(e.relevance=1)}let P=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw Error("beforeMatch cannot be used with starts");let n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=_(n.beforeMatch,u(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},x=["of","and","for","in","not","or","if","then","parent","list","value"],k={},U=e=>{console.error(e)},G=(e,...t)=>{console.log(`WARN: ${e}`,...t)},F=(e,t)=>{k[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),k[`${e}/${t}`]=!0)},V=Error();function B(e,t,{key:n}){let i=0,r=e[n],s={},a={};for(let e=1;e<=t.length;e++)a[e+i]=r[e],s[e+i]=!0,i+=f(t[e-1]);e[n]=a,e[n]._emit=s,e[n]._multi=!0}function j(e){if(e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw U("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),V;if("object"!=typeof e.beginScope||null===e.beginScope)throw U("beginScope must be object"),V;B(e,e.begin,{key:"beginScope"}),e.begin=E(e.begin,{joinWith:""})}if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw U("skip, excludeEnd, returnEnd not compatible with endScope: {}"),V;if("object"!=typeof e.endScope||null===e.endScope)throw U("endScope must be object"),V;B(e,e.end,{key:"endScope"}),e.end=E(e.end,{joinWith:""})}}class H extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}let Y=Symbol("nomatch"),W=function(e){let r=Object.create(null),s=Object.create(null),a=[],p=!0,m="Could not find the language '{}', did you forget to load/include a language module?",g={disableAutodetect:!0,name:"Plain text",contains:[]},A={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:o};function I(e){return A.noHighlightRe.test(e)}function T(e,t,n){let i="",r="";"object"==typeof t?(i=e,n=t.ignoreIllegals,r=t.language):(F("10.7.0","highlight(lang, code, ...args) has been deprecated."),F("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),r=e,i=t),void 0===n&&(n=!0);let s={code:i,language:r};B("before:highlight",s);let a=s.result?s.result:S(s.language,s.code,n);return a.code=s.code,B("after:highlight",a),a}function S(e,s,a,o){let u=Object.create(null);function c(){if(!R.keywords)return void G.addText(V);let e=0;R.keywordPatternRe.lastIndex=0;let t=R.keywordPatternRe.exec(V),n="";for(;t;){n+=V.substring(e,t.index);let i=C.case_insensitive?t[0].toLowerCase():t[0],r=R.keywords[i];if(r){let[e,s]=r;if(G.addText(n),n="",u[i]=(u[i]||0)+1,u[i]<=7&&(B+=s),e.startsWith("_"))n+=t[0];else{let n=C.classNameAliases[e]||e;_(t[0],n)}}else n+=t[0];e=R.keywordPatternRe.lastIndex,t=R.keywordPatternRe.exec(V)}n+=V.substring(e),G.addText(n)}function d(){null!=R.subLanguage?function(){if(""===V)return;let e=null;if("string"==typeof R.subLanguage){if(!r[R.subLanguage])return G.addText(V);e=S(R.subLanguage,V,!0,k[R.subLanguage]),k[R.subLanguage]=e._top}else e=y(V,R.subLanguage.length?R.subLanguage:null);R.relevance>0&&(B+=e.relevance),G.__addSublanguage(e._emitter,e.language)}():c(),V=""}function _(e,t){""!==e&&(G.startScope(t),G.addText(e),G.endScope())}function h(e,t){let n=1,i=t.length-1;for(;n<=i;){if(!e._emit[n]){n++;continue}let i=C.classNameAliases[e[n]]||e[n],r=t[n];i?_(r,i):(V=r,c(),V=""),n++}}function g(e,t){return e.scope&&"string"==typeof e.scope&&G.openNode(C.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(_(V,C.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),V=""):e.beginScope._multi&&(h(e.beginScope,t),V="")),R=Object.create(e,{parent:{value:R}})}let I={};function T(n,i){let r=i&&i[0];if(V+=n,null==r)return d(),0;if("begin"===I.type&&"end"===i.type&&I.index===i.index&&""===r){if(V+=s.slice(i.index,i.index+1),!p){let t=Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=I.rule,t}return 1}if(I=i,"begin"===i.type){let e=i[0],n=i.rule,r=new t(n);for(let t of[n.__beforeBegin,n["on:begin"]])if(t&&(t(i,r),r.isMatchIgnored))return 0===R.matcher.regexIndex?(V+=e[0],1):(K=!0,0);return n.skip?V+=e:(n.excludeBegin&&(V+=e),d(),n.returnBegin||n.excludeBegin||(V=e)),g(n,i),n.returnBegin?0:e.length}if("illegal"!==i.type||a){if("end"===i.type){let e=function(e){let n=e[0],i=s.substring(e.index),r=function e(n,i,r){var s;let a,o=(s=n.endRe,(a=s&&s.exec(r))&&0===a.index);if(o){if(n["on:end"]){let e=new t(n);n["on:end"](i,e),e.isMatchIgnored&&(o=!1)}if(o){for(;n.endsParent&&n.parent;)n=n.parent;return n}}if(n.endsWithParent)return e(n.parent,i,r)}(R,e,i);if(!r)return Y;let a=R;R.endScope&&R.endScope._wrap?(d(),_(n,R.endScope._wrap)):R.endScope&&R.endScope._multi?(d(),h(R.endScope,e)):a.skip?V+=n:(a.returnEnd||a.excludeEnd||(V+=n),d(),a.excludeEnd&&(V=n));do R.scope&&G.closeNode(),R.skip||R.subLanguage||(B+=R.relevance),R=R.parent;while(R!==r.parent);return r.starts&&g(r.starts,e),a.returnEnd?0:n.length}(i);if(e!==Y)return e}}else{let e=Error('Illegal lexeme "'+r+'" for mode "'+(R.scope||"<unnamed>")+'"');throw e.mode=R,e}if("illegal"===i.type&&""===r)return V+="\n",1;if(W>1e5&&W>3*i.index)throw Error("potential infinite loop, way more iterations than matches");return V+=r,r.length}let C=O(e);if(!C)throw U(m.replace("{}",e)),Error('Unknown language: "'+e+'"');let N=function(e){function t(t,n){return RegExp(l(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=f(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);let e=this.regexes.map(e=>e[1]);this.matcherRe=t(E(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let n=t.findIndex((e,t)=>t>0&&void 0!==e),i=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,i)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let t=new n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){let t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=i(e.classNameAliases||{}),function n(s,a){let o;if(s.isCompiled)return s;[b,w,j,P].forEach(e=>e(s,a)),e.compilerExtensions.forEach(e=>e(s,a)),s.__beforeBegin=null,[D,L,M].forEach(e=>e(s,a)),s.isCompiled=!0;let u=null;return"object"==typeof s.keywords&&s.keywords.$pattern&&(s.keywords=Object.assign({},s.keywords),u=s.keywords.$pattern,delete s.keywords.$pattern),u=u||/\w+/,s.keywords&&(s.keywords=function e(t,n,i="keyword"){let r=Object.create(null);return"string"==typeof t?s(i,t.split(" ")):Array.isArray(t)?s(i,t):Object.keys(t).forEach(function(i){Object.assign(r,e(t[i],n,i))}),r;function s(e,t){n&&(t=t.map(e=>e.toLowerCase())),t.forEach(function(t){var n,i,s;let a=t.split("|");r[a[0]]=[e,(n=a[0],(i=a[1])?Number(i):+(s=n,!x.includes(s.toLowerCase())))]})}}(s.keywords,e.case_insensitive)),s.keywordPatternRe=t(u,!0),a&&(s.begin||(s.begin=/\B|\b/),s.beginRe=t(s.begin),s.end||s.endsWithParent||(s.end=/\B|\b/),s.end&&(s.endRe=t(s.end)),s.terminatorEnd=l(s.end)||"",s.endsWithParent&&a.terminatorEnd&&(s.terminatorEnd+=(s.end?"|":"")+a.terminatorEnd)),s.illegal&&(s.illegalRe=t(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(e){var t;return((t="self"===e?s:e).variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return i(t,{variants:null},e)})),t.cachedVariants)?t.cachedVariants:!function e(t){return!!t&&(t.endsWithParent||e(t.starts))}(t)?Object.isFrozen(t)?i(t):t:i(t,{starts:t.starts?i(t.starts):null})})),s.contains.forEach(function(e){n(e,s)}),s.starts&&n(s.starts,a),o=new r,s.contains.forEach(e=>o.addRule(e.begin,{rule:e,type:"begin"})),s.terminatorEnd&&o.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&o.addRule(s.illegal,{type:"illegal"}),s.matcher=o,s}(e)}(C),v="",R=o||N,k={},G=new A.__emitter(A),F=[];for(let e=R;e!==C;e=e.parent)e.scope&&F.unshift(e.scope);F.forEach(e=>G.openNode(e));let V="",B=0,H=0,W=0,K=!1;try{if(C.__emitTokens)C.__emitTokens(s,G);else{for(R.matcher.considerAll();;){W++,K?K=!1:R.matcher.considerAll(),R.matcher.lastIndex=H;let e=R.matcher.exec(s);if(!e)break;let t=s.substring(H,e.index),n=T(t,e);H=e.index+n}T(s.substring(H))}return G.finalize(),v=G.toHTML(),{language:e,value:v,relevance:B,illegal:!1,_emitter:G,_top:R}}catch(t){if(t.message&&t.message.includes("Illegal"))return{language:e,value:n(s),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:H,context:s.slice(H-100,H+100),mode:t.mode,resultSoFar:v},_emitter:G};if(p)return{language:e,value:n(s),illegal:!1,relevance:0,errorRaised:t,_emitter:G,_top:R};throw t}}function y(e,t){let i;t=t||A.languages||Object.keys(r);let s=((i={value:n(e),illegal:!1,relevance:0,_top:g,_emitter:new A.__emitter(A)})._emitter.addText(e),i),a=t.filter(O).filter(V).map(t=>S(t,e,!1));a.unshift(s);let[o,l]=a.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(O(e.language).supersetOf===t.language)return 1;else if(O(t.language).supersetOf===e.language)return -1}return 0});return o.secondBest=l,o}function C(e){var t;let n,i=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";let n=A.languageDetectRe.exec(t);if(n){let t=O(n[1]);return t||(G(m.replace("{}",n[1])),G("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find(e=>I(e)||O(e))}(e);if(I(i))return;if(B("before:highlightElement",{el:e,language:i}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);if(e.children.length>0&&(A.ignoreUnescapedHTML||(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/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(e)),A.throwUnescapedHTML))throw new H("One of your code blocks includes unescaped HTML.",e.innerHTML);let r=e.textContent,a=i?T(r,{language:i,ignoreIllegals:!0}):y(r);e.innerHTML=a.value,e.dataset.highlighted="yes",t=a.language,n=i&&s[i]||t,e.classList.add("hljs"),e.classList.add(`language-${n}`),e.result={language:a.language,re:a.relevance,relevance:a.relevance},a.secondBest&&(e.secondBest={language:a.secondBest.language,relevance:a.secondBest.relevance}),B("after:highlightElement",{el:e,result:a,text:r})}let N=!1;function v(){if("loading"===document.readyState){N||window.addEventListener("DOMContentLoaded",function(){v()},!1),N=!0;return}document.querySelectorAll(A.cssSelector).forEach(C)}function O(e){return r[e=(e||"").toLowerCase()]||r[s[e]]}function k(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach(e=>{s[e.toLowerCase()]=t})}function V(e){let t=O(e);return t&&!t.disableAutodetect}function B(e,t){a.forEach(function(n){n[e]&&n[e](t)})}for(let t in Object.assign(e,{highlight:T,highlightAuto:y,highlightAll:v,highlightElement:C,highlightBlock:function(e){return F("10.7.0","highlightBlock will be removed entirely in v12.0"),F("10.7.0","Please use highlightElement now."),C(e)},configure:function(e){A=i(A,e)},initHighlighting:()=>{v(),F("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function(){v(),F("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function(t,n){let i=null;try{i=n(e)}catch(e){if(U("Language definition for '{}' could not be registered.".replace("{}",t)),p)U(e);else throw e;i=g}i.name||(i.name=t),r[t]=i,i.rawDefinition=n.bind(null,e),i.aliases&&k(i.aliases,{languageName:t})},unregisterLanguage:function(e){for(let t of(delete r[e],Object.keys(s)))s[t]===e&&delete s[t]},listLanguages:function(){return Object.keys(r)},getLanguage:O,registerAliases:k,autoDetection:V,inherit:i,addPlugin:function(e){var t;(t=e)["before:highlightBlock"]&&!t["before:highlightElement"]&&(t["before:highlightElement"]=e=>{t["before:highlightBlock"](Object.assign({block:e.el},e))}),t["after:highlightBlock"]&&!t["after:highlightElement"]&&(t["after:highlightElement"]=e=>{t["after:highlightBlock"](Object.assign({block:e.el},e))}),a.push(e)},removePlugin:function(e){let t=a.indexOf(e);-1!==t&&a.splice(t,1)}}),e.debugMode=function(){p=!1},e.safeMode=function(){p=!0},e.versionString="11.11.1",e.regex={concat:_,lookahead:u,either:h,optional:d,anyNumberOfTimes:c},R)"object"==typeof R[t]&&function e(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(n=>{let i=t[n],r=typeof i;"object"!==r&&"function"!==r||Object.isFrozen(i)||e(i)}),t}(R[t]);return Object.assign(e,R),e},K=W({});K.newInstance=()=>W({}),e.exports=K,K.HighlightJS=K,K.default=K}