@mathcrowd/mmarked 3.1.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist/browser.umd.js +1 -1
- package/dist/demo.esm.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var t=require("crypto"),e=require("buffer"),n=require("highlight.js"),r=require("highlight.js/lib/languages/javascript"),s=require("highlight.js/lib/languages/json"),i=require("highlight.js/lib/languages/latex"),o=require("highlight.js/lib/languages/python"),a=require("mathjax-full/js/adaptors/liteAdaptor.js"),l=require("mathjax-full/js/handlers/html.js"),c=require("mathjax-full/js/input/tex/AllPackages.js"),u=require("mathjax-full/js/input/tex.js"),p=require("mathjax-full/js/mathjax.js"),h=require("mathjax-full/js/output/svg.js");var f={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function d(t){f=t}var g={exec:()=>null};function m(t,e=""){let n="string"==typeof t?t:t.source,r={replace:(t,e)=>{let s="string"==typeof e?e:e.source;return s=s.replace(b.caret,"$1"),n=n.replace(t,s),r},getRegex:()=>RegExp(n,e)};return r}var k=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch{return!1}})(),b={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>RegExp(`^( {0,3}${t})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},x=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,I=/(?:[*+-]|\d{1,9}[.)])/,y=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,w=m(y).replace(/bull/g,I).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),$=m(y).replace(/bull/g,I).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),v=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,S=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,A=m(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",S).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),j=m(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,I).getRegex(),z="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",_=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,q=m("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",_).replace("tag",z).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),R=m(v).replace("hr",x).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",z).getRegex(),T={blockquote:m(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",R).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:A,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:x,html:q,lheading:w,list:j,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:R,table:g,text:/^[^\n]+/},P=m("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",x).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",z).getRegex(),O={...T,lheading:$,table:P,paragraph:m(v).replace("hr",x).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",P).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",z).getRegex()},E={...T,html:m("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",_).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:g,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:m(v).replace("hr",x).replace("heading"," *#{1,6} *[^\n]").replace("lheading",w).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},C=/^( {2,}|\\)\n(?!\s*$)/,Z=/[\p{P}\p{S}]/u,D=/[\s\p{P}\p{S}]/u,L=/[^\s\p{P}\p{S}]/u,M=m(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,D).getRegex(),B=/(?!~)[\p{P}\p{S}]/u,N=m(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",k?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),U=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,J=m(U,"u").replace(/punct/g,Z).getRegex(),F=m(U,"u").replace(/punct/g,B).getRegex(),K="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",H=m(K,"gu").replace(/notPunctSpace/g,L).replace(/punctSpace/g,D).replace(/punct/g,Z).getRegex(),W=m(K,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,B).getRegex(),Y=m("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,L).replace(/punctSpace/g,D).replace(/punct/g,Z).getRegex(),Q=m(/\\(punct)/,"gu").replace(/punct/g,Z).getRegex(),X=m(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),G=m(_).replace("(?:--\x3e|$)","--\x3e").getRegex(),V=m("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",G).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),tt=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,et=m(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",tt).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),nt=m(/^!?\[(label)\]\[(ref)\]/).replace("label",tt).replace("ref",S).getRegex(),rt=m(/^!?\[(ref)\](?:\[\])?/).replace("ref",S).getRegex(),st=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,it={t:g,anyPunctuation:Q,autolink:X,blockSkip:N,br:C,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:g,emStrongLDelim:J,emStrongRDelimAst:H,emStrongRDelimUnd:Y,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:et,nolink:rt,punctuation:M,reflink:nt,reflinkSearch:m("reflink|nolink(?!\\()","g").replace("reflink",nt).replace("nolink",rt).getRegex(),tag:V,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:g},ot={...it,link:m(/^!?\[(label)\]\((.*?)\)/).replace("label",tt).getRegex(),reflink:m(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",tt).getRegex()},at={...it,emStrongRDelimAst:W,emStrongLDelim:F,url:m(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",st).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),t:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:m(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",st).getRegex()},lt={...at,br:m(C).replace("{2,}","*").getRegex(),text:m(at.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},ct={normal:T,gfm:O,pedantic:E},ut={normal:it,gfm:at,breaks:lt,pedantic:ot},pt={"&":"&","<":"<",">":">",'"':""","'":"'"},ht=t=>pt[t];function ft(t,e){if(e){if(b.escapeTest.test(t))return t.replace(b.escapeReplace,ht)}else if(b.escapeTestNoEncode.test(t))return t.replace(b.escapeReplaceNoEncode,ht);return t}function dt(t){try{t=encodeURI(t).replace(b.percentDecode,"%")}catch{return null}return t}function gt(t,e){let n=t.replace(b.findPipe,(t,e,n)=>{let r=!1,s=e;for(;--s>=0&&"\\"===n[s];)r=!r;return r?"|":" |"}).split(b.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;e>n.length;)n.push("");for(;n.length>r;r++)n[r]=n[r].trim().replace(b.slashPipe,"|");return n}function mt(t,e,n){let r=t.length;if(0===r)return"";let s=0;for(;r>s&&t.charAt(r-s-1)===e;)s++;return t.slice(0,r-s)}function kt(t,e,n,r,s){let i=e.href,o=e.title||null,a=t[1].replace(s.other.outputLinkReplace,"$1");r.state.inLink=!0;let l={type:"!"===t[0].charAt(0)?"image":"link",raw:n,href:i,title:o,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,l}var bt=class{options;rules;lexer;constructor(t){this.options=t||f}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let t=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:mt(t,"\n")}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let t=e[0],n=function(t,e,n){let r=t.match(n.other.indentCodeCompensation);if(null===r)return e;let s=r[1];return e.split("\n").map(t=>{let e=t.match(n.other.beginningSpace);if(null===e)return t;let[r]=e;return s.length>r.length?t:t.slice(s.length)}).join("\n")}(t,e[3]||"",this.rules);return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:n}}}heading(t){let e=this.rules.block.heading.exec(t);if(e){let t=e[2].trim();if(this.rules.other.endingHash.test(t)){let e=mt(t,"#");(this.options.pedantic||!e||this.rules.other.endingSpaceChar.test(e))&&(t=e.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(t){let e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:mt(e[0],"\n")}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let t=mt(e[0],"\n").split("\n"),n="",r="",s=[];for(;t.length>0;){let e,i=!1,o=[];for(e=0;t.length>e;e++)if(this.rules.other.blockquoteStart.test(t[e]))o.push(t[e]),i=!0;else{if(i)break;o.push(t[e])}t=t.slice(e);let a=o.join("\n"),l=a.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n}\n${a}`:a,r=r?`${r}\n${l}`:l;let c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,s,!0),this.lexer.state.top=c,0===t.length)break;let u=s.at(-1);if("code"===u?.type)break;if("blockquote"===u?.type){let e=u,i=e.raw+"\n"+t.join("\n"),o=this.blockquote(i);s[s.length-1]=o,n=n.substring(0,n.length-e.raw.length)+o.raw,r=r.substring(0,r.length-e.text.length)+o.text;break}if("list"===u?.type){let e=u,i=e.raw+"\n"+t.join("\n"),o=this.list(i);s[s.length-1]=o,n=n.substring(0,n.length-u.raw.length)+o.raw,r=r.substring(0,r.length-e.raw.length)+o.raw,t=i.substring(s.at(-1).raw.length).split("\n");continue}}return{type:"blockquote",raw:n,tokens:s,text:r}}}list(t){let e=this.rules.block.list.exec(t);if(e){let n=e[1].trim(),r=n.length>1,s={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?"\\d{1,9}\\"+n.slice(-1):"\\"+n,this.options.pedantic&&(n=r?n:"[*+-]");let i=this.rules.other.listItemRegex(n),o=!1;for(;t;){let n=!1,r="",a="";if(!(e=i.exec(t))||this.rules.block.hr.test(t))break;r=e[0],t=t.substring(r.length);let l=e[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,t=>" ".repeat(3*t.length)),c=t.split("\n",1)[0],u=!l.trim(),p=0;if(this.options.pedantic?(p=2,a=l.trimStart()):u?p=e[1].length+1:(p=e[2].search(this.rules.other.nonSpaceChar),p=p>4?1:p,a=l.slice(p),p+=e[1].length),u&&this.rules.other.blankLine.test(c)&&(r+=c+"\n",t=t.substring(c.length+1),n=!0),!n){let e=this.rules.other.nextBulletRegex(p),n=this.rules.other.hrRegex(p),s=this.rules.other.fencesBeginRegex(p),i=this.rules.other.headingBeginRegex(p),o=this.rules.other.htmlBeginRegex(p);for(;t;){let h,f=t.split("\n",1)[0];if(c=f,this.options.pedantic?(c=c.replace(this.rules.other.listReplaceNesting," "),h=c):h=c.replace(this.rules.other.tabCharGlobal," "),s.test(c)||i.test(c)||o.test(c)||e.test(c)||n.test(c))break;if(h.search(this.rules.other.nonSpaceChar)<p&&c.trim()){if(u||l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||s.test(l)||i.test(l)||n.test(l))break;a+="\n"+c}else a+="\n"+h.slice(p);!u&&!c.trim()&&(u=!0),r+=f+"\n",t=t.substring(f.length+1),l=h.slice(p)}}s.loose||(o?s.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(o=!0));let h,f=null;this.options.gfm&&(f=this.rules.other.listIsTask.exec(a),f&&(h="[ ] "!==f[0],a=a.replace(this.rules.other.listReplaceTask,""))),s.items.push({type:"list_item",raw:r,task:!!f,checked:h,loose:!1,text:a,tokens:[]}),s.raw+=r}let a=s.items.at(-1);if(!a)return;a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd(),s.raw=s.raw.trimEnd();for(let t=0;s.items.length>t;t++)if(this.lexer.state.top=!1,s.items[t].tokens=this.lexer.blockTokens(s.items[t].text,[]),!s.loose){let e=s.items[t].tokens.filter(t=>"space"===t.type),n=e.length>0&&e.some(t=>this.rules.other.anyLine.test(t.raw));s.loose=n}if(s.loose)for(let t=0;s.items.length>t;t++)s.items[t].loose=!0;return s}}html(t){let e=this.rules.block.html.exec(t);if(e)return{type:"html",block:!0,raw:e[0],pre:"pre"===e[1]||"script"===e[1]||"style"===e[1],text:e[0]}}def(t){let e=this.rules.block.def.exec(t);if(e){let t=e[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=e[2]?e[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:t,raw:e[0],href:n,title:r}}}table(t){let e=this.rules.block.table.exec(t);if(!e||!this.rules.other.tableDelimiter.test(e[2]))return;let n=gt(e[1]),r=e[2].replace(this.rules.other.tableAlignChars,"").split("|"),s=e[3]?.trim()?e[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],i={type:"table",raw:e[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let t of r)this.rules.other.tableAlignRight.test(t)?i.align.push("right"):this.rules.other.tableAlignCenter.test(t)?i.align.push("center"):this.rules.other.tableAlignLeft.test(t)?i.align.push("left"):i.align.push(null);for(let t=0;n.length>t;t++)i.header.push({text:n[t],tokens:this.lexer.inline(n[t]),header:!0,align:i.align[t]});for(let t of s)i.rows.push(gt(t,i.header.length).map((t,e)=>({text:t,tokens:this.lexer.inline(t),header:!1,align:i.align[e]})));return i}}lheading(t){let e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){let e=this.rules.block.paragraph.exec(t);if(e){let t="\n"===e[1].charAt(e[1].length-1)?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let t=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(t)){if(!this.rules.other.endAngleBracket.test(t))return;let e=mt(t.slice(0,-1),"\\");if((t.length-e.length)%2==0)return}else{let t=function(t){if(-1===t.indexOf(")"))return-1;let e=0;for(let n=0;t.length>n;n++)if("\\"===t[n])n++;else if("("===t[n])e++;else if(")"===t[n]&&(e--,0>e))return n;return e>0?-2:-1}(e[2]);if(-2===t)return;if(t>-1){let n=(0===e[0].indexOf("!")?5:4)+e[1].length+t;e[2]=e[2].substring(0,t),e[0]=e[0].substring(0,n).trim(),e[3]=""}}let n=e[2],r="";if(this.options.pedantic){let t=this.rules.other.pedanticHrefTitle.exec(n);t&&(n=t[1],r=t[3])}else r=e[3]?e[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(t)?n.slice(1):n.slice(1,-1)),kt(e,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(t,e){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){let t=e[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!t){let t=n[0].charAt(0);return{type:"text",raw:t,text:t}}return kt(n,t,n[0],this.lexer,this.rules)}}emStrong(t,e,n=""){let r=this.rules.inline.emStrongLDelim.exec(t);if(!(!r||r[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!r[1]&&!r[2]||!n||this.rules.inline.punctuation.exec(n))){let n,s,i=[...r[0]].length-1,o=i,a=0,l="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,e=e.slice(-1*t.length+i);null!=(r=l.exec(e));){if(n=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!n)continue;if(s=[...n].length,r[3]||r[4]){o+=s;continue}if((r[5]||r[6])&&i%3&&!((i+s)%3)){a+=s;continue}if(o-=s,o>0)continue;s=Math.min(s,s+o+a);let e=[...r[0]][0].length,l=t.slice(0,i+r.index+e+s);if(Math.min(i,s)%2){let t=l.slice(1,-1);return{type:"em",raw:l,text:t,tokens:this.lexer.inlineTokens(t)}}let c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(t){let e=this.rules.inline.code.exec(t);if(e){let t=e[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(t),r=this.rules.other.startingSpaceChar.test(t)&&this.rules.other.endingSpaceChar.test(t);return n&&r&&(t=t.substring(1,t.length-1)),{type:"codespan",raw:e[0],text:t}}}br(t){let e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){let e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){let e=this.rules.inline.autolink.exec(t);if(e){let t,n;return"@"===e[2]?(t=e[1],n="mailto:"+t):(t=e[1],n=t),{type:"link",raw:e[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let t,n;if("@"===e[2])t=e[0],n="mailto:"+t;else{let r;do{r=e[0],e[0]=this.rules.inline.t.exec(e[0])?.[0]??""}while(r!==e[0]);t=e[0],n="www."===e[1]?"http://"+e[0]:e[0]}return{type:"link",raw:e[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(t){let e=this.rules.inline.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],escaped:this.lexer.state.inRawBlock}}},xt=class t{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||f,this.options.tokenizer=this.options.tokenizer||new bt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let e={other:b,block:ct.normal,inline:ut.normal};this.options.pedantic?(e.block=ct.pedantic,e.inline=ut.pedantic):this.options.gfm&&(e.block=ct.gfm,e.inline=this.options.breaks?ut.breaks:ut.gfm),this.tokenizer.rules=e}static get rules(){return{block:ct,inline:ut}}static lex(e,n){return new t(n).lex(e)}static lexInline(e,n){return new t(n).inlineTokens(e)}lex(t){t=t.replace(b.carriageReturn,"\n"),this.blockTokens(t,this.tokens);for(let t=0;this.inlineQueue.length>t;t++){let e=this.inlineQueue[t];this.inlineTokens(e.src,e.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,e=[],n=!1){for(this.options.pedantic&&(t=t.replace(b.tabCharGlobal," ").replace(b.spaceLine,""));t;){let r;if(this.options.extensions?.block?.some(n=>!!(r=n.call({lexer:this},t,e))&&(t=t.substring(r.raw.length),e.push(r),!0)))continue;if(r=this.tokenizer.space(t)){t=t.substring(r.raw.length);let n=e.at(-1);1===r.raw.length&&void 0!==n?n.raw+="\n":e.push(r);continue}if(r=this.tokenizer.code(t)){t=t.substring(r.raw.length);let n=e.at(-1);"paragraph"===n?.type||"text"===n?.type?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+r.raw,n.text+="\n"+r.text,this.inlineQueue.at(-1).src=n.text):e.push(r);continue}if(r=this.tokenizer.fences(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.heading(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.hr(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.blockquote(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.list(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.html(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.def(t)){t=t.substring(r.raw.length);let n=e.at(-1);"paragraph"===n?.type||"text"===n?.type?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+r.raw,n.text+="\n"+r.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title},e.push(r));continue}if(r=this.tokenizer.table(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.lheading(t)){t=t.substring(r.raw.length),e.push(r);continue}let s=t;if(this.options.extensions?.startBlock){let e,n=1/0,r=t.slice(1);this.options.extensions.startBlock.forEach(t=>{e=t.call({lexer:this},r),"number"==typeof e&&e>=0&&(n=Math.min(n,e))}),1/0>n&&n>=0&&(s=t.substring(0,n+1))}if(this.state.top&&(r=this.tokenizer.paragraph(s))){let i=e.at(-1);n&&"paragraph"===i?.type?(i.raw+=(i.raw.endsWith("\n")?"":"\n")+r.raw,i.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):e.push(r),n=s.length!==t.length,t=t.substring(r.raw.length);continue}if(r=this.tokenizer.text(t)){t=t.substring(r.raw.length);let n=e.at(-1);"text"===n?.type?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):e.push(r);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw Error(e)}}return this.state.top=!0,e}inline(t,e=[]){return this.inlineQueue.push({src:t,tokens:e}),e}inlineTokens(t,e=[]){let n,r=t,s=null;if(this.tokens.links){let t=Object.keys(this.tokens.links);if(t.length>0)for(;null!=(s=this.tokenizer.rules.inline.reflinkSearch.exec(r));)t.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(s=this.tokenizer.rules.inline.anyPunctuation.exec(r));)r=r.slice(0,s.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(s=this.tokenizer.rules.inline.blockSkip.exec(r));)n=s[2]?s[2].length:0,r=r.slice(0,s.index+n)+"["+"a".repeat(s[0].length-n-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=this.options.hooks?.emStrongMask?.call({lexer:this},r)??r;let i=!1,o="";for(;t;){let n;if(i||(o=""),i=!1,this.options.extensions?.inline?.some(r=>!!(n=r.call({lexer:this},t,e))&&(t=t.substring(n.raw.length),e.push(n),!0)))continue;if(n=this.tokenizer.escape(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.tag(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.link(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(n.raw.length);let r=e.at(-1);"text"===n.type&&"text"===r?.type?(r.raw+=n.raw,r.text+=n.text):e.push(n);continue}if(n=this.tokenizer.emStrong(t,r,o)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.codespan(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.br(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.del(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.autolink(t)){t=t.substring(n.raw.length),e.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(t))){t=t.substring(n.raw.length),e.push(n);continue}let s=t;if(this.options.extensions?.startInline){let e,n=1/0,r=t.slice(1);this.options.extensions.startInline.forEach(t=>{e=t.call({lexer:this},r),"number"==typeof e&&e>=0&&(n=Math.min(n,e))}),1/0>n&&n>=0&&(s=t.substring(0,n+1))}if(n=this.tokenizer.inlineText(s)){t=t.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(o=n.raw.slice(-1)),i=!0;let r=e.at(-1);"text"===r?.type?(r.raw+=n.raw,r.text+=n.text):e.push(n);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw Error(e)}}return e}},It=class{options;parser;constructor(t){this.options=t||f}space(t){return""}code({text:t,lang:e,escaped:n}){let r=(e||"").match(b.notSpaceStart)?.[0],s=t.replace(b.endingNewline,"")+"\n";return r?'<pre><code class="language-'+ft(r)+'">'+(n?s:ft(s,!0))+"</code></pre>\n":"<pre><code>"+(n?s:ft(s,!0))+"</code></pre>\n"}blockquote({tokens:t}){return`<blockquote>\n${this.parser.parse(t)}</blockquote>\n`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:e}){return`<h${e}>${this.parser.parseInline(t)}</h${e}>\n`}hr(t){return"<hr>\n"}list(t){let e=t.ordered,n=t.start,r="";for(let e=0;t.items.length>e;e++)r+=this.listitem(t.items[e]);let s=e?"ol":"ul";return"<"+s+(e&&1!==n?' start="'+n+'"':"")+">\n"+r+"</"+s+">\n"}listitem(t){let e="";if(t.task){let n=this.checkbox({checked:!!t.checked});t.loose?"paragraph"===t.tokens[0]?.type?(t.tokens[0].text=n+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=n+" "+ft(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):e+=n+" "}return e+=this.parser.parse(t.tokens,!!t.loose),`<li>${e}</li>\n`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>\n`}table(t){let e="",n="";for(let e=0;t.header.length>e;e++)n+=this.tablecell(t.header[e]);e+=this.tablerow({text:n});let r="";for(let e=0;t.rows.length>e;e++){let s=t.rows[e];n="";for(let t=0;s.length>t;t++)n+=this.tablecell(s[t]);r+=this.tablerow({text:n})}return r&&(r=`<tbody>${r}</tbody>`),"<table>\n<thead>\n"+e+"</thead>\n"+r+"</table>\n"}tablerow({text:t}){return`<tr>\n${t}</tr>\n`}tablecell(t){let e=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`</${n}>\n`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${ft(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:e,tokens:n}){let r=this.parser.parseInline(n),s=dt(t);if(null===s)return r;let i='<a href="'+(t=s)+'"';return e&&(i+=' title="'+ft(e)+'"'),i+=">"+r+"</a>",i}image({href:t,title:e,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let s=dt(t);if(null===s)return ft(n);let i=`<img src="${t=s}" alt="${n}"`;return e&&(i+=` title="${ft(e)}"`),i+=">",i}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:ft(t.text)}},yt=class{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}},wt=class t{options;renderer;textRenderer;constructor(t){this.options=t||f,this.options.renderer=this.options.renderer||new It,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new yt}static parse(e,n){return new t(n).parse(e)}static parseInline(e,n){return new t(n).parseInline(e)}parse(t,e=!0){let n="";for(let r=0;t.length>r;r++){let s=t[r];if(this.options.extensions?.renderers?.[s.type]){let t=s,e=this.options.extensions.renderers[t.type].call({parser:this},t);if(!1!==e||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(t.type)){n+=e||"";continue}}let i=s;switch(i.type){case"space":n+=this.renderer.space(i);continue;case"hr":n+=this.renderer.hr(i);continue;case"heading":n+=this.renderer.heading(i);continue;case"code":n+=this.renderer.code(i);continue;case"table":n+=this.renderer.table(i);continue;case"blockquote":n+=this.renderer.blockquote(i);continue;case"list":n+=this.renderer.list(i);continue;case"html":n+=this.renderer.html(i);continue;case"def":n+=this.renderer.def(i);continue;case"paragraph":n+=this.renderer.paragraph(i);continue;case"text":{let s=i,o=this.renderer.text(s);for(;t.length>r+1&&"text"===t[r+1].type;)s=t[++r],o+="\n"+this.renderer.text(s);n+=e?this.renderer.paragraph({type:"paragraph",raw:o,text:o,tokens:[{type:"text",raw:o,text:o,escaped:!0}]}):o;continue}default:{let t='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(t),"";throw Error(t)}}}return n}parseInline(t,e=this.renderer){let n="";for(let r=0;t.length>r;r++){let s=t[r];if(this.options.extensions?.renderers?.[s.type]){let t=this.options.extensions.renderers[s.type].call({parser:this},s);if(!1!==t||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){n+=t||"";continue}}let i=s;switch(i.type){case"escape":case"text":n+=e.text(i);break;case"html":n+=e.html(i);break;case"link":n+=e.link(i);break;case"image":n+=e.image(i);break;case"strong":n+=e.strong(i);break;case"em":n+=e.em(i);break;case"codespan":n+=e.codespan(i);break;case"br":n+=e.br(i);break;case"del":n+=e.del(i);break;default:{let t='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(t),"";throw Error(t)}}}return n}},$t=class{options;block;constructor(t){this.options=t||f}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}emStrongMask(t){return t}provideLexer(){return this.block?xt.lex:xt.lexInline}provideParser(){return this.block?wt.parse:wt.parseInline}},vt=class{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=wt;Renderer=It;TextRenderer=yt;Lexer=xt;Tokenizer=bt;Hooks=$t;constructor(...t){this.use(...t)}walkTokens(t,e){let n=[];for(let r of t)switch(n=n.concat(e.call(this,r)),r.type){case"table":{let t=r;for(let r of t.header)n=n.concat(this.walkTokens(r.tokens,e));for(let r of t.rows)for(let t of r)n=n.concat(this.walkTokens(t.tokens,e));break}case"list":n=n.concat(this.walkTokens(r.items,e));break;default:{let t=r;this.defaults.extensions?.childTokens?.[t.type]?this.defaults.extensions.childTokens[t.type].forEach(r=>{let s=t[r].flat(1/0);n=n.concat(this.walkTokens(s,e))}):t.tokens&&(n=n.concat(this.walkTokens(t.tokens,e)))}}return n}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(t=>{let n={...t};if(n.async=this.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach(t=>{if(!t.name)throw Error("extension name required");if("renderer"in t){let n=e.renderers[t.name];e.renderers[t.name]=n?function(...e){let r=t.renderer.apply(this,e);return!1===r&&(r=n.apply(this,e)),r}:t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw Error("extension level must be 'block' or 'inline'");let n=e[t.level];n?n.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&("block"===t.level?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:"inline"===t.level&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)}),n.extensions=e),t.renderer){let e=this.defaults.renderer||new It(this.defaults);for(let n in t.renderer){if(!(n in e))throw Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;let r=t.renderer[n],s=e[n];e[n]=(...t)=>{let n=r.apply(e,t);return!1===n&&(n=s.apply(e,t)),n||""}}n.renderer=e}if(t.tokenizer){let e=this.defaults.tokenizer||new bt(this.defaults);for(let n in t.tokenizer){if(!(n in e))throw Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;let r=t.tokenizer[n],s=e[n];e[n]=(...t)=>{let n=r.apply(e,t);return!1===n&&(n=s.apply(e,t)),n}}n.tokenizer=e}if(t.hooks){let e=this.defaults.hooks||new $t;for(let n in t.hooks){if(!(n in e))throw Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;let r=t.hooks[n],s=e[n];e[n]=$t.passThroughHooks.has(n)?t=>{if(this.defaults.async&&$t.passThroughHooksRespectAsync.has(n))return(async()=>{let n=await r.call(e,t);return s.call(e,n)})();let i=r.call(e,t);return s.call(e,i)}:(...t)=>{if(this.defaults.async)return(async()=>{let n=await r.apply(e,t);return!1===n&&(n=await s.apply(e,t)),n})();let n=r.apply(e,t);return!1===n&&(n=s.apply(e,t)),n}}n.hooks=e}if(t.walkTokens){let e=this.defaults.walkTokens,r=t.walkTokens;n.walkTokens=function(t){let n=[];return n.push(r.call(this,t)),e&&(n=n.concat(e.call(this,t))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return xt.lex(t,e??this.defaults)}parser(t,e){return wt.parse(t,e??this.defaults)}parseMarkdown(t){return(e,n)=>{let r={...n},s={...this.defaults,...r},i=this.onError(!!s.silent,!!s.async);if(!0===this.defaults.async&&!1===r.async)return i(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||null===e)return i(Error("marked(): input parameter is undefined or null"));if("string"!=typeof e)return i(Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(s.hooks&&(s.hooks.options=s,s.hooks.block=t),s.async)return(async()=>{let n=s.hooks?await s.hooks.preprocess(e):e,r=await(s.hooks?await s.hooks.provideLexer():t?xt.lex:xt.lexInline)(n,s),i=s.hooks?await s.hooks.processAllTokens(r):r;s.walkTokens&&await Promise.all(this.walkTokens(i,s.walkTokens));let o=await(s.hooks?await s.hooks.provideParser():t?wt.parse:wt.parseInline)(i,s);return s.hooks?await s.hooks.postprocess(o):o})().catch(i);try{s.hooks&&(e=s.hooks.preprocess(e));let n=(s.hooks?s.hooks.provideLexer():t?xt.lex:xt.lexInline)(e,s);s.hooks&&(n=s.hooks.processAllTokens(n)),s.walkTokens&&this.walkTokens(n,s.walkTokens);let r=(s.hooks?s.hooks.provideParser():t?wt.parse:wt.parseInline)(n,s);return s.hooks&&(r=s.hooks.postprocess(r)),r}catch(t){return i(t)}}}onError(t,e){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",t){let t="<p>An error occurred:</p><pre>"+ft(n.message+"",!0)+"</pre>";return e?Promise.resolve(t):t}if(e)return Promise.reject(n);throw n}}},St=new vt;function At(t,e){return St.parse(t,e)}function jt(t,e,n,r){return new(n||(n=Promise))(function(s,i){function o(t){try{l(r.next(t))}catch(t){i(t)}}function a(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?s(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(o,a)}l((r=r.apply(t,e||[])).next())})}At.options=At.setOptions=function(t){return St.setOptions(t),d(At.defaults=St.defaults),At},At.getDefaults=function(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},At.defaults=f,At.use=function(...t){return St.use(...t),d(At.defaults=St.defaults),At},At.walkTokens=function(t,e){return St.walkTokens(t,e)},At.parseInline=St.parseInline,At.Parser=wt,At.parser=wt.parse,At.Renderer=It,At.TextRenderer=yt,At.Lexer=xt,At.lexer=xt.lex,At.Tokenizer=bt,At.Hooks=$t,At.parse=At,"function"==typeof SuppressedError&&SuppressedError;const zt=Tt;function _t(){const t=Tt;if(!Mt())return t(272);try{if("undefined"!=typeof require){const e=require("crypto");if(e[t(268)])return e.randomUUID()}return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t(312)](/[xy]/g,function(e){const n=t,r=16*Math[n(283)]()|0;return("x"===e?r:3&r|8)[n(302)](16)})}catch(e){return t(314)+Date[t(301)]()+"-"+Math[t(283)]()[t(302)](36)[t(307)](2,11)}}!function(){const t=Tt,e=Lt();for(;;)try{if(459532==-parseInt(t(270))/1*(-parseInt(t(281))/2)+parseInt(t(297))/3*(parseInt(t(292))/4)+parseInt(t(280))/5*(parseInt(t(339))/6)+parseInt(t(293))/7*(-parseInt(t(322))/8)+-parseInt(t(321))/9+-parseInt(t(338))/10*(parseInt(t(305))/11)+parseInt(t(336))/12*(parseInt(t(319))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),exports.UNLICENSED_WARNING_INTERVAL=1e3;let qt=null;const Rt=new Map;function Tt(t,e){return t-=268,Lt()[t]}let Pt=!1;const Ot=36e5,Et=zt(282),Ct=zt(335),Zt={totalCalls:0,renderMarkdownCalls:0,renderMarkdownCompactCalls:0,firstUsedAt:Date[zt(301)](),lastUsedAt:Date[zt(301)](),sessionId:_t()};let Dt=null;function Lt(){const t=["114OdARGn","https://api.mathcrowd.cn/validate-license","random","clear","[mmarked] Validation cache cleared","totalCalls","renderMarkdownCalls","[mmarked] ⚠️ Remote license validation not supported on Node.js ","nodeVersion","warn","valid","378104yByoMs","22778wzlEcp","[mmarked] Failed to report usage statistics:","debug","firstUsedAt","21OiZTvj","[mmarked] Usage statistics reported successfully","[mmarked] License validation error:","env","now","toString","POST","renderMarkdownCompactCalls","796169Enwane","application/json","slice","sessionId","lastUsedAt","undefined","[mmarked] License configured successfully","replace","apiKey","session-","json","[mmarked] Usage stats reset","[mmarked] Usage reporting error:","versions","136591IzQxnj","set","2023785iplyBz","848TypCUp","Validation failed: ","timestamp","MMARKED_API_KEY","assign","catch","lastReportedAt","get","2.0.3","substring","[mmarked] License validation failed:","Fetch API not available. Requires Node.js 18+ or use custom validator.","error","https://api.mathcrowd.cn/report-usage","528IkiAjg",'">\n <defs>\n <style type="text/css">\n .mjx-warning-text { font-family: Arial, sans-serif; font-size: 14px; fill: #856404; }\n .mjx-warning-link { font-family: Arial, sans-serif; font-size: 14px; fill: #0066cc; text-decoration: underline; cursor: pointer; }\n </style>\n </defs>\n <rect width="800" height="80" fill="#fff3cd" stroke="#ffc107" stroke-width="1" rx="4"/>\n <text x="20" y="25" class="mjx-warning-text" font-weight="bold">⚠️ Non-Commercial Use Only</text>\n <text x="20" y="45" class="mjx-warning-text">This content uses @mathcrowd/mmarked without valid commercial license.</text>\n <text x="20" y="65" class="mjx-warning-text">For commercial use, contact: </text>\n <a href="mailto:charles@mathcrowd.cn">\n <text x="220" y="65" class="mjx-warning-link">charles@mathcrowd.cn</text>\n </a>\n</svg>',"90uYlSpx","402FFpAdR","mmarked","randomUUID","message","177NUVqrh","stringify","browser-session","[mmarked] Remote validation failed:","node","Either upgrade to Node.js 18+, use a custom validator, or configure offline mode.","Requires Node.js 18+ for fetch API support. ","then","renderMarkdownCompact","log","40795NUrWhl"];return(Lt=function(){return t})()}function Mt(){const t=zt;return typeof process!==t(310)&&null!=process.versions&&null!=process[t(318)][t(274)]}function Bt(){return jt(this,void 0,void 0,function*(){const t=Tt;var e;if(!Mt())return;const n=qt;if(!n||!n.apiKey)return;const r=Date[t(301)]();if(Zt[t(328)]&&18e5>r-Zt.lastReportedAt)return;const s=Ct;try{const i=Object[t(326)](Object.assign({},Zt),{apiKey:n[t(313)],timestamp:r,nodeVersion:null===(e=process[t(318)])||void 0===e?void 0:e[t(274)]});typeof fetch!==t(310)&&(yield fetch(s,{method:t(303),headers:{"Content-Type":t(306)},body:JSON.stringify(i)}),Zt[t(328)]=r,console[t(295)](t(298)))}catch(e){console[t(295)](t(294),e)}})}function Nt(t){const e=zt;var n;Mt()&&(Zt[e(286)]++,Zt[e(309)]=Date.now(),"renderMarkdown"===t?Zt[e(287)]++:t===e(278)&&Zt[e(304)]++,(null==qt?void 0:qt.apiKey)&&(Zt[e(313)]=qt[e(313)],Zt[e(289)]=null===(n=process[e(318)])||void 0===n?void 0:n[e(274)]))}function Ut(){const t=zt;return!Mt()||Kt()?"":Zt[t(286)]>0&&Zt.totalCalls%exports.UNLICENSED_WARNING_INTERVAL===0?function(){const t=zt,e=Date[t(301)]();return'<svg xmlns="http://www.w3.org/2000/svg" class="MJX-svg-equation" role="img" focusable="false" viewBox="0 0 800 80" style="vertical-align: -0.5ex; margin: 1em 0; max-width: 100%; display: block;" aria-label="Non-commercial use warning" data-formula-id="'+Math[t(283)]().toString(36)[t(331)](2,9)+'" data-timestamp="'+e+t(337)}():""}function Jt(t){const e=zt;qt=t,function(){const t=zt;Mt()&&qt&&qt[t(313)]&&(Dt&&clearInterval(Dt),Dt=setInterval(()=>{const e=t;Bt()[e(327)](t=>{console.debug(e(317),t)})},36e5),Bt()[t(327)](e=>{console[t(295)]("[mmarked] Initial usage reporting error:",e)}))}(),console.log(e(311))}function Ft(){return jt(this,void 0,void 0,function*(){const t=Tt,e=qt;if(!e||!e.apiKey)return{valid:!1,message:"No license configured. Please call configureLicense() with your API key."};const{apiKey:n}=e,r=Rt[t(329)](n);if(r&&Date[t(301)]()-r.timestamp<Ot)return{valid:r.result};const s=yield function(t,e){return jt(this,void 0,void 0,function*(){const n=Tt;var r;try{if("undefined"==typeof fetch){const t=null===(r=process[n(318)])||void 0===r?void 0:r[n(274)];return console[n(290)](n(288)+(t||"current version")+". "+n(276)+n(275)),{valid:!1,message:n(333)}}const s=yield fetch(e,{method:n(303),headers:{"Content-Type":n(306)},body:JSON[n(271)]({apiKey:t,product:n(340),version:n(330)})});return s.ok?yield s[n(315)]():{valid:!1,message:n(323)+s.statusText}}catch(t){return console.warn(n(273),t),{valid:!1,message:"Network error during validation"}}})}(n,Et);return Rt[t(320)](n,{result:s[t(291)],timestamp:Date[t(301)]()}),s})}function Kt(){const t=zt;if(!Mt())return!1;!function(){const t=zt;if(!Mt())return;if(null==qt?void 0:qt[t(313)])return;const e=process[t(300)][t(325)];e&&Jt({apiKey:e})}();const e=qt;if(!e||!e[t(313)])return!1;const{apiKey:n}=e,r=Rt[t(329)](n);return r?(Date[t(301)]()-r[t(324)]>=Ot&&Ft().then(e=>{const n=t;return!e[n(291)]&&console[n(290)]("[mmarked] License validation failed:",e[n(269)]),e})[t(327)](e=>{const n=t;throw console[n(334)](n(299),e),e}),r.result):(!Pt&&(Pt=!0,Ft()[t(277)](e=>{const n=t;return!e[n(291)]&&console[n(290)](n(332),e[n(269)]),e})[t(327)](e=>{const n=t;throw console[n(334)](n(299),e),e})),!0)}var Ht,Wt,Yt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Qt={exports:{}},Xt=(Ht||(Ht=1,Wt=Qt,function(){var n="input is invalid type",r="object"==typeof window,s=r?window:{};s.JS_MD5_NO_WINDOW&&(r=!1);var i=!r&&"object"==typeof self,o=!s.JS_MD5_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;o?s=Yt:i&&(s=self);var a,l=!s.JS_MD5_NO_COMMON_JS&&Wt.exports,c=!s.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,u="0123456789abcdef".split(""),p=[128,32768,8388608,-2147483648],h=[0,8,16,24],f=["hex","array","digest","buffer","arrayBuffer","base64"],d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),g=[];if(c){var m=new ArrayBuffer(68);a=new Uint8Array(m),g=new Uint32Array(m)}var k=Array.isArray;!s.JS_MD5_NO_NODE_JS&&k||(k=function(t){return"[object Array]"===Object.prototype.toString.call(t)});var b=ArrayBuffer.isView;!c||!s.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&b||(b=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var x=function(t){var e=typeof t;if("string"===e)return[t,!0];if("object"!==e||null===t)throw Error(n);if(c&&t.constructor===ArrayBuffer)return[new Uint8Array(t),!1];if(!k(t)&&!b(t))throw Error(n);return[t,!1]},I=function(t){return function(e){return new w(!0).update(e)[t]()}},y=function(t){return function(e,n){return new $(e,!0).update(n)[t]()}};function w(t){if(t)g[0]=g[16]=g[1]=g[2]=g[3]=g[4]=g[5]=g[6]=g[7]=g[8]=g[9]=g[10]=g[11]=g[12]=g[13]=g[14]=g[15]=0,this.blocks=g,this.buffer8=a;else if(c){var e=new ArrayBuffer(68);this.buffer8=new Uint8Array(e),this.blocks=new Uint32Array(e)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}function $(t,e){var n,r=x(t);if(t=r[0],r[1]){var s,i=[],o=t.length,a=0;for(n=0;o>n;++n)128>(s=t.charCodeAt(n))?i[a++]=s:2048>s?(i[a++]=192|s>>>6,i[a++]=128|63&s):55296>s||s>=57344?(i[a++]=224|s>>>12,i[a++]=128|s>>>6&63,i[a++]=128|63&s):(s=65536+((1023&s)<<10|1023&t.charCodeAt(++n)),i[a++]=240|s>>>18,i[a++]=128|s>>>12&63,i[a++]=128|s>>>6&63,i[a++]=128|63&s);t=i}t.length>64&&(t=new w(!0).update(t).array());var l=[],c=[];for(n=0;64>n;++n){var u=t[n]||0;l[n]=92^u,c[n]=54^u}w.call(this,e),this.update(c),this.oKeyPad=l,this.inner=!0,this.sharedMemory=e}w.prototype.update=function(t){if(this.finalized)throw Error("finalize already called");for(var e,n,r=x(t),s=r[1],i=0,o=(t=r[0]).length,a=this.blocks,l=this.buffer8;o>i;){if(this.hashed&&(this.hashed=!1,a[0]=a[16],a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),s)if(c)for(n=this.start;o>i&&64>n;++i)128>(e=t.charCodeAt(i))?l[n++]=e:2048>e?(l[n++]=192|e>>>6,l[n++]=128|63&e):55296>e||e>=57344?(l[n++]=224|e>>>12,l[n++]=128|e>>>6&63,l[n++]=128|63&e):(e=65536+((1023&e)<<10|1023&t.charCodeAt(++i)),l[n++]=240|e>>>18,l[n++]=128|e>>>12&63,l[n++]=128|e>>>6&63,l[n++]=128|63&e);else for(n=this.start;o>i&&64>n;++i)128>(e=t.charCodeAt(i))?a[n>>>2]|=e<<h[3&n++]:2048>e?(a[n>>>2]|=(192|e>>>6)<<h[3&n++],a[n>>>2]|=(128|63&e)<<h[3&n++]):55296>e||e>=57344?(a[n>>>2]|=(224|e>>>12)<<h[3&n++],a[n>>>2]|=(128|e>>>6&63)<<h[3&n++],a[n>>>2]|=(128|63&e)<<h[3&n++]):(e=65536+((1023&e)<<10|1023&t.charCodeAt(++i)),a[n>>>2]|=(240|e>>>18)<<h[3&n++],a[n>>>2]|=(128|e>>>12&63)<<h[3&n++],a[n>>>2]|=(128|e>>>6&63)<<h[3&n++],a[n>>>2]|=(128|63&e)<<h[3&n++]);else if(c)for(n=this.start;o>i&&64>n;++i)l[n++]=t[i];else for(n=this.start;o>i&&64>n;++i)a[n>>>2]|=t[i]<<h[3&n++];this.lastByteIndex=n,this.bytes+=n-this.start,64>n?this.start=n:(this.start=n-64,this.hash(),this.hashed=!0)}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this},w.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex;t[e>>>2]|=p[3&e],56>e||(this.hashed||this.hash(),t[0]=t[16],t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.bytes<<3,t[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},w.prototype.hash=function(){var t,e,n,r,s,i,o=this.blocks;this.first?e=((e=((t=((t=o[0]-680876937)<<7|t>>>25)-271733879|0)^(n=((n=(-271733879^(r=((r=(-1732584194^2004318071&t)+o[1]-117830708)<<12|r>>>20)+t|0)&(-271733879^t))+o[2]-1126478375)<<17|n>>>15)+r|0)&(r^t))+o[3]-1316259209)<<22|e>>>10)+n|0:(t=this.h0,e=this.h1,e=((e+=((t=((t+=((r=this.h3)^e&((n=this.h2)^r))+o[0]-680876936)<<7|t>>>25)+e|0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+o[1]-389564586)<<12|r>>>20)+t|0)&(t^e))+o[2]+606105819)<<17|n>>>15)+r|0)&(r^t))+o[3]-1044525330)<<22|e>>>10)+n|0),e=((e+=((t=((t+=(r^e&(n^r))+o[4]-176418897)<<7|t>>>25)+e|0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+o[5]+1200080426)<<12|r>>>20)+t|0)&(t^e))+o[6]-1473231341)<<17|n>>>15)+r|0)&(r^t))+o[7]-45705983)<<22|e>>>10)+n|0,e=((e+=((t=((t+=(r^e&(n^r))+o[8]+1770035416)<<7|t>>>25)+e|0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+o[9]-1958414417)<<12|r>>>20)+t|0)&(t^e))+o[10]-42063)<<17|n>>>15)+r|0)&(r^t))+o[11]-1990404162)<<22|e>>>10)+n|0,e=((e+=((t=((t+=(r^e&(n^r))+o[12]+1804603682)<<7|t>>>25)+e|0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+o[13]-40341101)<<12|r>>>20)+t|0)&(t^e))+o[14]-1502002290)<<17|n>>>15)+r|0)&(r^t))+o[15]+1236535329)<<22|e>>>10)+n|0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+o[1]-165796510)<<5|t>>>27)+e|0)^e))+o[6]-1069501632)<<9|r>>>23)+t|0)^t&((n=((n+=(t^e&(r^t))+o[11]+643717713)<<14|n>>>18)+r|0)^r))+o[0]-373897302)<<20|e>>>12)+n|0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+o[5]-701558691)<<5|t>>>27)+e|0)^e))+o[10]+38016083)<<9|r>>>23)+t|0)^t&((n=((n+=(t^e&(r^t))+o[15]-660478335)<<14|n>>>18)+r|0)^r))+o[4]-405537848)<<20|e>>>12)+n|0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+o[9]+568446438)<<5|t>>>27)+e|0)^e))+o[14]-1019803690)<<9|r>>>23)+t|0)^t&((n=((n+=(t^e&(r^t))+o[3]-187363961)<<14|n>>>18)+r|0)^r))+o[8]+1163531501)<<20|e>>>12)+n|0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+o[13]-1444681467)<<5|t>>>27)+e|0)^e))+o[2]-51403784)<<9|r>>>23)+t|0)^t&((n=((n+=(t^e&(r^t))+o[7]+1735328473)<<14|n>>>18)+r|0)^r))+o[12]-1926607734)<<20|e>>>12)+n|0,e=((e+=((i=(r=((r+=((s=e^n)^(t=((t+=(s^r)+o[5]-378558)<<4|t>>>28)+e|0))+o[8]-2022574463)<<11|r>>>21)+t|0)^t)^(n=((n+=(i^e)+o[11]+1839030562)<<16|n>>>16)+r|0))+o[14]-35309556)<<23|e>>>9)+n|0,e=((e+=((i=(r=((r+=((s=e^n)^(t=((t+=(s^r)+o[1]-1530992060)<<4|t>>>28)+e|0))+o[4]+1272893353)<<11|r>>>21)+t|0)^t)^(n=((n+=(i^e)+o[7]-155497632)<<16|n>>>16)+r|0))+o[10]-1094730640)<<23|e>>>9)+n|0,e=((e+=((i=(r=((r+=((s=e^n)^(t=((t+=(s^r)+o[13]+681279174)<<4|t>>>28)+e|0))+o[0]-358537222)<<11|r>>>21)+t|0)^t)^(n=((n+=(i^e)+o[3]-722521979)<<16|n>>>16)+r|0))+o[6]+76029189)<<23|e>>>9)+n|0,e=((e+=((i=(r=((r+=((s=e^n)^(t=((t+=(s^r)+o[9]-640364487)<<4|t>>>28)+e|0))+o[12]-421815835)<<11|r>>>21)+t|0)^t)^(n=((n+=(i^e)+o[15]+530742520)<<16|n>>>16)+r|0))+o[2]-995338651)<<23|e>>>9)+n|0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+o[0]-198630844)<<6|t>>>26)+e|0)|~n))+o[7]+1126891415)<<10|r>>>22)+t|0)^((n=((n+=(t^(r|~e))+o[14]-1416354905)<<15|n>>>17)+r|0)|~t))+o[5]-57434055)<<21|e>>>11)+n|0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+o[12]+1700485571)<<6|t>>>26)+e|0)|~n))+o[3]-1894986606)<<10|r>>>22)+t|0)^((n=((n+=(t^(r|~e))+o[10]-1051523)<<15|n>>>17)+r|0)|~t))+o[1]-2054922799)<<21|e>>>11)+n|0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+o[8]+1873313359)<<6|t>>>26)+e|0)|~n))+o[15]-30611744)<<10|r>>>22)+t|0)^((n=((n+=(t^(r|~e))+o[6]-1560198380)<<15|n>>>17)+r|0)|~t))+o[13]+1309151649)<<21|e>>>11)+n|0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+o[4]-145523070)<<6|t>>>26)+e|0)|~n))+o[11]-1120210379)<<10|r>>>22)+t|0)^((n=((n+=(t^(r|~e))+o[2]+718787259)<<15|n>>>17)+r|0)|~t))+o[9]-343485551)<<21|e>>>11)+n|0,this.first?(this.h0=t+1732584193|0,this.h1=e-271733879|0,this.h2=n-1732584194|0,this.h3=r+271733878|0,this.first=!1):(this.h0=this.h0+t|0,this.h1=this.h1+e|0,this.h2=this.h2+n|0,this.h3=this.h3+r|0)},w.prototype.toString=w.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,r=this.h3;return u[t>>>4&15]+u[15&t]+u[t>>>12&15]+u[t>>>8&15]+u[t>>>20&15]+u[t>>>16&15]+u[t>>>28&15]+u[t>>>24&15]+u[e>>>4&15]+u[15&e]+u[e>>>12&15]+u[e>>>8&15]+u[e>>>20&15]+u[e>>>16&15]+u[e>>>28&15]+u[e>>>24&15]+u[n>>>4&15]+u[15&n]+u[n>>>12&15]+u[n>>>8&15]+u[n>>>20&15]+u[n>>>16&15]+u[n>>>28&15]+u[n>>>24&15]+u[r>>>4&15]+u[15&r]+u[r>>>12&15]+u[r>>>8&15]+u[r>>>20&15]+u[r>>>16&15]+u[r>>>28&15]+u[r>>>24&15]},w.prototype.array=w.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,r=this.h3;return[255&t,t>>>8&255,t>>>16&255,t>>>24&255,255&e,e>>>8&255,e>>>16&255,e>>>24&255,255&n,n>>>8&255,n>>>16&255,n>>>24&255,255&r,r>>>8&255,r>>>16&255,r>>>24&255]},w.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(16),e=new Uint32Array(t);return e[0]=this.h0,e[1]=this.h1,e[2]=this.h2,e[3]=this.h3,t},w.prototype.buffer=w.prototype.arrayBuffer,w.prototype.base64=function(){for(var t,e,n,r="",s=this.array(),i=0;15>i;)t=s[i++],e=s[i++],n=s[i++],r+=d[t>>>2]+d[63&(t<<4|e>>>4)]+d[63&(e<<2|n>>>6)]+d[63&n];return r+(d[(t=s[i])>>>2]+d[t<<4&63]+"==")},($.prototype=new w).finalize=function(){if(w.prototype.finalize.call(this),this.inner){this.inner=!1;var t=this.array();w.call(this,this.sharedMemory),this.update(this.oKeyPad),this.update(t),w.prototype.finalize.call(this)}};var v=function(){var r=I("hex");o&&(r=function(r){var i,o=t,a=e.Buffer;return i=a.from&&!s.JS_MD5_NO_BUFFER_FROM?a.from:function(t){return new a(t)},function(t){if("string"==typeof t)return o.createHash("md5").update(t,"utf8").digest("hex");if(null==t)throw Error(n);return t.constructor===ArrayBuffer&&(t=new Uint8Array(t)),k(t)||b(t)||t.constructor===a?o.createHash("md5").update(i(t)).digest("hex"):r(t)}}(r)),r.create=function(){return new w},r.update=function(t){return r.create().update(t)};for(var i=0;f.length>i;++i){var a=f[i];r[a]=I(a)}return r}();v.md5=v,v.md5.hmac=function(){var t=y("hex");t.create=function(t){return new $(t)},t.update=function(e,n){return t.create(e).update(n)};for(var e=0;f.length>e;++e){var n=f[e];t[n]=y(n)}return t}(),l?Wt.exports=v:s.md5=v}()),Qt.exports);function Gt(t){const e=se;try{t=encodeURI(t)[e(260)](/%25/g,"%")}catch(t){return null}return t}!function(){const t=se,e=ne();for(;;)try{if(451794==parseInt(t(276))/1*(-parseInt(t(265))/2)+-parseInt(t(270))/3*(-parseInt(t(284))/4)+parseInt(t(263))/5*(-parseInt(t(269))/6)+parseInt(t(268))/7+parseInt(t(278))/8*(-parseInt(t(281))/9)+-parseInt(t(279))/10+parseInt(t(277))/11*(parseInt(t(286))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Vt={exec:()=>null};function te(t,e){const n=se;let r="string"==typeof t?t:t[n(285)];e=e||"";const s={replace:(t,e)=>{const i=n;let o="string"==typeof e?e:e[i(285)];return o=o.replace(/(^|[^[])\^/g,"$1"),r=r[i(260)](t,o),s},getRegex:()=>RegExp(r,e)};return s}const ee=t=>/^[a-z][\w-]*$/i[se(288)](t)?t:"class-"+Xt.md5(t);function ne(){const t=["5jOqaCm","undefined","177092svFDrD","pop","push","5048141mbOnma","859218NJQOgz","3jjGqVS","match","charAt","node","indexOf","split","1LazVXS","10924342xzOamT","3448qjpfCB","8299060bkgZKr","shift","16299JLsDbb","trim","slice","2318820MNFHyn","source","12JKLAck","versions","test","replace","splice","length"];return(ne=function(){return t})()}function re(t){const e=se,n=t[e(271)](/^(.*?)(?:\s*=(\d*)(?:x(\d+))?)?$/);if(n){const t=n[1][e(282)](),r=n[2]?parseInt(n[2],10):null,s=n[3]?parseInt(n[3],10):null;return{text:0===t[e(262)]?null:t,width:r,height:s}}return{text:null,width:null,height:null}}function se(t,e){return t-=260,ne()[t]}function ie(t,e){const n=se,r=t.replace(/\|/g,(t,e,n)=>{let r=!1,s=e;for(;--s>=0&&"\\"===n[s];)r=!r;return r?"|":" |"})[n(275)](/ \|/);let s=0;if(!r[0][n(282)]()&&r[n(280)](),r[n(262)]>0&&!r[r.length-1][n(282)]()&&r[n(266)](),e)if(r[n(262)]>e)r[n(261)](e);else for(;e>r.length;)r[n(267)]("");for(;s<r[n(262)];s++)r[s]=r[s][n(282)]()[n(260)](/\\\|/g,"|");return r}function oe(){const t=["title","text","</figure>\n","loose","width:","tokens","1121841kxKTvy","caption","<figcaption>","length",' title="',"<table>\n","60YuMHBF","header","rows","1056fOmTfb","px;","checkbox","</p>\n",' class="md-list"',"tablecell",'<section class="img-container">\n',"</li>\n","</figcaption>\n",'<p class="paragraph">',"11293562YWprJv","</table>\n","4580gvBmgq","245Snpzlo","parser","<tbody>","image","ordered",' style="',"9050640gwxpOQ","checked","href","height:","6392KfBuKW","task","<figure>\n","parseInline","type","</thead>\n","tablerow","44130klKQGa",'<li class="md-list-item">',"29033246qPDGDm",'<img src="',"items","172etSPAE","paragraph",' start="'];return(oe=function(){return t})()}!function(){const t=le,e=oe();for(;;)try{if(813475==-parseInt(t(202))/1*(parseInt(t(232))/2)+parseInt(t(220))/3*(-parseInt(t(243))/4)+parseInt(t(233))/5*(parseInt(t(250))/6)+-parseInt(t(230))/7+parseInt(t(239))/8+parseInt(t(211))/9*(-parseInt(t(217))/10)+parseInt(t(252))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ae={paragraph({tokens:t}){const e=le;if(1===t[e(214)]&&"image"===t[0][e(247)]){const n=t[0];if(null===Gt(n.href))return n[e(206)];let r=e(245);if(r+=e(226),r+=this[e(236)](n)+"\n",r+="</section>\n",n[e(205)]){const{text:t}=re(n[e(205)]);t&&(r+=e(213)+t+e(228))}return r+=e(207),r}return e(229)+this[e(234)].parseInline(t)+e(223)},list(t){const e=le,n=t[e(237)],r=t.start;let s="";for(let n=0;n<t[e(201)][e(214)];n++){const r=t[e(201)][n];s+=this.listitem(r)}const i=n?"ol":"ul";return"<"+i+(n&&1!==r?e(204)+r+'"':"")+e(224)+">\n"+s+"</"+i+">\n"},listitem(t){const e=le;let n="";if(t[e(244)]){const r=this[e(222)]({checked:!!t[e(240)]});t[e(208)]?t[e(210)][e(214)]>0&&t[e(210)][0][e(247)]===e(203)?(t[e(210)][0].text=r+" "+t[e(210)][0][e(206)],t[e(210)][0].tokens&&t[e(210)][0][e(210)][e(214)]>0&&t.tokens[0].tokens[0][e(247)]===e(206)&&(t[e(210)][0].tokens[0][e(206)]=r+" "+t[e(210)][0][e(210)][0][e(206)])):t.tokens.unshift({type:e(206),raw:r+" ",text:r+" "}):n+=r+" "}return n+=this[e(234)].parse(t[e(210)],!!t[e(208)]),e(251)+n+e(227)},table(t){const e=le;let n="",r="";for(let n=0;n<t.header[e(214)];n++)r+=this.tablecell(t[e(218)][n]);n+=this[e(249)]({text:r});let s="";for(let n=0;t.rows.length>n;n++){const i=t[e(219)][n];r="";for(let t=0;i.length>t;t++)r+=this[e(225)](i[t]);s+=this[e(249)]({text:r})}s&&(s=e(235)+s+"</tbody>\n");let i="";return t.caption[e(206)]&&(i=e(213)+this[e(234)][e(246)]([t[e(212)]])+e(228)),e(245)+e(216)+"<thead>\n"+n+e(248)+s+e(231)+i+e(207)},image(t){const e=le,n=Gt(t[e(241)]);if(null===n)return t.text;let r=e(253)+n+'" alt="'+t[e(206)]+'"';if(t[e(205)]){const{text:n,width:s,height:i}=re(t[e(205)]);n&&(r+=e(215)+n+'"'),(s||i)&&(r+=e(238),s&&(r+=e(209)+s+"px;"),i&&(r+=e(242)+i+e(221)),r+='"')}return r+=">",r}};function le(t,e){return t-=201,oe()[t]}const ce={},ue=pe;function pe(t,e){return t-=280,Je()[t]}!function(){const t=pe,e=Je();for(;;)try{if(327272==-parseInt(t(306))/1*(parseInt(t(303))/2)+-parseInt(t(305))/3*(-parseInt(t(290))/4)+-parseInt(t(317))/5*(parseInt(t(281))/6)+-parseInt(t(283))/7*(-parseInt(t(353))/8)+parseInt(t(330))/9*(-parseInt(t(327))/10)+parseInt(t(302))/11+parseInt(t(311))/12*(parseInt(t(299))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const he=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,fe=/(?:[*+-]|\d{1,9}[.)])/,de=te(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/)[ue(298)](/bull/g,fe).replace(/blockCode/g,/(?: {4}| {0,3}\t)/)[ue(298)](/fences/g,/ {0,3}(?:`{3,}|~{3,})/)[ue(298)](/blockquote/g,/ {0,3}>/)[ue(298)](/heading/g,/ {0,3}#{1,6}/)[ue(298)](/html/g,/ {0,3}<[^\n>]+>\n/)[ue(318)](),ge=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,me=/(?!\s*\])(?:\\.|[^[\]\\])+/,ke=te(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s]\S*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/)[ue(298)](ue(315),me)[ue(298)](ue(334),/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/)[ue(318)](),be=te(/^( {0,3}bull)([ \t][^\n]+)?(?:\n|$)/)[ue(298)](/bull/g,fe)[ue(318)](),xe=ue(284)+"|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption"+ue(297)+ue(289)+ue(321)+ue(354),Ie=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,ye=te(ue(347)+ue(332)+"|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)"+ue(301)+"|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)"+ue(350)+ue(313)+ue(329)+")","i").replace("comment",Ie)[ue(298)](ue(285),xe)[ue(298)]("attribute",/ +[a-z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/i).getRegex(),we=te(ge)[ue(298)]("hr",he)[ue(298)](ue(345),ue(288)).replace(ue(343),"")[ue(298)](ue(341),"").replace(ue(333),ue(337))[ue(298)](ue(338),ue(335)).replace("list",ue(344)).replace(ue(287),"</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)")[ue(298)](ue(285),xe)[ue(318)](),$e={blockquote:te(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",we)[ue(318)](),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:ke,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:he,html:ye,lheading:de,list:be,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:we,table:Vt,text:/^[^\n]+/},ve=te(ue(328)+" {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)"+ue(294))[ue(298)]("hr",he)[ue(298)]("heading"," {0,3}#{1,6}(?:\\s|$)").replace(ue(333),ue(337))[ue(298)](ue(349),ue(352)).replace(ue(338),ue(335))[ue(298)](ue(339),ue(344))[ue(298)](ue(287),"</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",xe).getRegex(),Se=Object[ue(304)](Object[ue(304)]({},$e),{table:ve,paragraph:te(ge)[ue(298)]("hr",he)[ue(298)](ue(345),ue(288))[ue(298)](ue(343),"")[ue(298)](ue(322),ve)[ue(298)]("blockquote"," {0,3}>").replace(ue(338)," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(ue(339),ue(344))[ue(298)](ue(287),"</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)")[ue(298)](ue(285),xe)[ue(318)]()}),Ae=/^\\([!"#$%&'()*+,\-./:;<=>?@[\]\\^_`{|}~])/,je=ue(308),ze=te(/^((?![*_])[\spunctaio])/,"u").replace(/punctuation/g,je)[ue(318)](),_e=te(/^\*+(?:((?!\*)[punct])|[^\s*])|^_+(?:((?!_)[punct])|([^\s_]))/,"u")[ue(298)](/punct/g,je)[ue(318)](),qe=te(ue(293)+ue(291)+ue(340)+ue(309)+ue(351)+"|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu")[ue(298)](/punct/g,je)[ue(318)](),Re=te(ue(314)+ue(356)+ue(331)+ue(300)+ue(325)+ue(282)+ue(324),"gu")[ue(298)](/punct/g,je)[ue(318)](),Te=te(/\\([punct])/,"gu")[ue(298)](/punct/g,je)[ue(318)](),Pe=te(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/)[ue(298)](ue(296),/[a-z][a-z\d+.-]{1,31}/i)[ue(298)](ue(292),/[\w.!#$%&'*+/=?^`{|}~-]+(@)[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)+(?![-_])/i)[ue(318)](),Oe=te(Ie).replace(ue(286),ue(316))[ue(318)](),Ee=te(ue(280)+"|^</[a-zA-Z][\\w:-]*\\s*>"+ue(326)+ue(323)+"|^<![a-zA-Z]+\\s[\\s\\S]*?>"+ue(342)).replace("comment",Oe)[ue(298)]("attribute",/\s+[a-z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/i)[ue(318)](),Ce=/(?:\[(?:\\.|[^[\]\\])*\]|\\.|`[^`]*`|[^[\]\\`])*?/,Ze=te(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace(ue(315),Ce)[ue(298)](ue(336),/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/)[ue(298)](ue(334),/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/)[ue(318)](),De=te(/^!?\[(label)\]\[(ref)\]/).replace(ue(315),Ce)[ue(298)](ue(307),me)[ue(318)](),Le=te(/^!?\[(ref)\](?:\[\])?/)[ue(298)](ue(307),me).getRegex(),Me={t:Vt,anyPunctuation:Te,autolink:Pe,blockSkip:/\[[^[\]]*\]\((?:\\.|[^\\()]|\((?:\\.|[^\\()])*\))*\)|`[^`]*`|<[^<>]*>/g,br:/^( {2,}|\\)\n(?!\s*$)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:Vt,emStrongLDelim:_e,emStrongRDelimAst:qe,emStrongRDelimUnd:Re,escape:Ae,link:Ze,nolink:Le,punctuation:ze,reflink:De,reflinkSearch:te(ue(355),"g").replace(ue(346),De)[ue(298)]("nolink",Le).getRegex(),tag:Ee,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<![`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:Vt},Be=Object[ue(304)](Object.assign({},Me),{escape:te(Ae).replace("])",ue(310))[ue(318)](),url:te(/^((?:ftp|https?):\/\/|www\.)[a-zA-Z\d-][^\s<]*|^email/,"i")[ue(298)](ue(292),/[\w.+-]+(@)[\w-]+(?:\.[\w-]*[a-z\d])+(?![-_])/i)[ue(318)](),t:/(?:[^?!.,:;*_'"~()&]|\([^)]*\)|&(?![a-z\d]+;$)|[?!.,:;*_'"~)]+(?!$))+/i,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[\w.!#$%&'*+/=?`{|}~-]+@)|[\s\S]*?(?:(?=[\\<![`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^\w.!#$%&'*+/=?`{|}~-](?=[\w.!#$%&'*+/=?`{|}~-]+@)))/}),Ne=Object[ue(304)](Object[ue(304)]({},Be),{br:Vt,emStrongLDelim:/^\*+(?:([!"#$%&'()+\-.,/:;<=>?@[\]`{|}~_])|[^\s*])/}),Ue={block:Object.assign(Object[ue(304)]({},Se),{lheading:Vt,code:Vt,fences:/^ {0,3}(`{3,}(?=[^`\n[]*(?:\n|$)))([^\n]*)(?:\n|$)([\s\S]*?)(?:\n|$)(?: {0,3}\1`* *(?=\n|$)|$)/,paragraph:te(ge)[ue(298)]("hr",he)[ue(298)](ue(345),ue(288))[ue(298)](ue(343),"")[ue(298)]("table",ve)[ue(298)](ue(333),ue(295))[ue(298)](ue(338)," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n")[ue(298)](ue(339)," {0,3}(?:[*+-]|1[.)]) ")[ue(298)](ue(287),ue(312))[ue(298)](ue(285),xe)[ue(318)](),table:te(ue(328)+ue(320)+"((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html|\\|\\|[^\\|]+\\|\\|).*(?:\\n|$))*)"+ue(348)).replace("hr",he).replace("heading"," {0,3}#{1,6}(?:\\s|$)")[ue(298)](ue(333),ue(337)).replace(ue(349),ue(352)).replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n")[ue(298)](ue(339),ue(344)).replace(ue(287),"</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)")[ue(298)](ue(285),xe)[ue(318)](),blockquote:te(/^( {0,3}(?<!>)>(?!>) ?(paragraph|[^\n]*)(?:\n|$))+/)[ue(298)](ue(319),we).getRegex()}),inline:Ne};function Je(){const t=["code","|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)","|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])","(?: {4}| {0,3}\t)[^\\n]","1353080HTQylb","|tr|track|ul","reflink|nolink(?!\\()","|[^_]+(?=[^_])","^comment","18246MIaLTJ","|[\\s](_+)(?!_)(?=[punct])","21JXXGpi","address|article|aside|base|basefont|blockquote|body|caption","tag","(?:--\x3e|$)","html"," {0,3}#{1,6}(?:\\s|$)","|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option","4zvTzzH","|[^*]+(?=[^*])","email","^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)","(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"," {0,3}(?<!>)>(?!>)","scheme","|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe","replace","1885hKWRmr","|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)","|<![A-Z][\\s\\S]*?(?:>\\n*|$)","4371631ZpJHbT","83636oUdsFS","assign","557463gMVWnQ","7TsyHFO","ref","\\p{P}\\p{S}","|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)","~|])","39120HdpIpa","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)","|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)","^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)","label","--\x3e","865eOQYQy","getRegex","paragraph"," {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)\\n","|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title","table","|^<\\?[\\s\\S]*?\\?>","|(?!_)[punct](_+)(?!_)(?=[punct])","|(?!_)[punct\\s](_+)(?=[^punct\\s])","|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>","80LnxtOM","^ *([^\\n ].*)\\n","|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)","469413uaTOmn","|(?!_)[punct](_+)(?=[\\s]|$)","<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)","blockquote","title"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n","href"," {0,3}>","fences","list","|(?!\\*)[punct](\\*+)(?=[\\s]|$)","|table","|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>","|lheading"," {0,3}(?:[*+-]|1[.)]) ","heading","reflink","^ {0,3}(?:","(?:(?:\\|\\|([^\\|]+)\\|\\|)?\\n*|$)"];return(Je=function(){return t})()}function Fe(t,e){return t-=431,Ke()[t]}function Ke(){const t=["join","trim","punctuation","3704504VaCDcy","replace","state","top","length","split","header","22892LtbjRD","rows","min","651945YYquRq","732ZwhbPj","inlineTokens","map","10801dfWstd","match","raw","type","870SwMipZ","anyPunctuation","align","table","2490750bikCXt","171058TXVScd","substring","\n $1","inline","push","text","index","strong","test","33iLrulX","fences","blockquote","block","code","lastIndex","lexer","emStrongLDelim","list","1412100eaCkBW","blockTokens","slice","exec"];return(Ke=function(){return t})()}!function(){const t=Fe,e=Ke();for(;;)try{if(567651==parseInt(t(458))/1+parseInt(t(471))/2*(-parseInt(t(432))/3)+parseInt(t(455))/4*(parseInt(t(466))/5)+parseInt(t(459))/6*(parseInt(t(462))/7)+-parseInt(t(448))/8+parseInt(t(470))/9+-parseInt(t(441))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const He={table(t){const e=Fe,n=Ue[e(435)][e(469)][e(444)](t);if(!n)return;if(!/[:|]/[e(431)](n[2]))return;const r=ie(n[1]),s=n[2][e(449)](/^\||\| *$/g,"").split("|"),i=n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"")[e(453)]("\n"):[],o=n[5],a={type:e(469),raw:n[0],header:[],align:[],rows:[],caption:{type:"text",text:o,raw:o,tokens:this[e(438)][e(474)](o)}};if(r[e(452)]===s.length){for(const t of s)/^ *-+: *$/.test(t)?a.align[e(475)]("right"):/^ *:-+: *$/[e(431)](t)?a[e(468)].push("center"):/^ *:-+ *$/[e(431)](t)?a[e(468)][e(475)]("left"):a[e(468)][e(475)](null);for(let t=0;r.length>t;t++)a.header[e(475)]({text:r[t],tokens:this[e(438)][e(474)](r[t]),header:!0,align:a[e(468)][t]});for(const t of i)a[e(456)][e(475)](ie(t,a[e(454)][e(452)])[e(461)]((t,e)=>({text:t,tokens:this.lexer.inline(t),header:!1,align:a.align[e]})));return a}},lheading(){},code(){},fences(t){const e=Fe,n=Ue[e(435)][e(433)][e(444)](t);if(n){const t=n[0],r=function(t,e){const n=Fe,r=t[n(463)](/^(\s+)```/);if(null===r)return e;const s=r[1];return e.split("\n")[n(461)](t=>{const e=n,r=t[e(463)](/^\s+/);if(null===r)return t;const[i]=r;return i[e(452)]<s.length?t:t[e(443)](s[e(452)])})[n(445)]("\n")}(t,n[3]||"");return{type:e(436),raw:t,lang:n[2]?n[2][e(446)]().replace(Ue.inline[e(467)],"$1"):n[2],text:r}}},br(){},emStrong(t,e,n=""){const r=Fe;let s=Ue[r(474)][r(439)][r(444)](t);if(s&&(!s[3]||!n[r(463)](/[\p{L}\p{N}]/u))&&(!s[1]&&!s[2]||!n||Ue[r(474)][r(447)][r(444)](n))){const n=[...s[0]][r(452)]-1;let i,o,a=n,l=0;const c="*"===s[0][0]?Ue[r(474)].emStrongRDelimAst:Ue[r(474)].emStrongRDelimUnd;for(c[r(437)]=0,e=e[r(443)](-1*t[r(452)]+n);null!=(s=c.exec(e));){if(i=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!i)continue;if(o=[...i].length,s[3]||s[4]){a+=o;continue}if((s[5]||s[6])&&n%3&&!((n+o)%3)){l+=o;continue}if(a-=o,a>0)continue;o=Math[r(457)](o,o+a+l);const e=[...s[0]][0][r(452)],c=t[r(443)](0,n+s[r(477)]+e+o);if(Math[r(457)](n,o)%2){const t=c[r(443)](1,-1);return{type:"em",raw:c,text:t,tokens:this[r(438)].inlineTokens(t)}}const u=c.slice(2,-2);return{type:r(478),raw:c,text:u,tokens:this[r(438)][r(460)](u)}}}},blockquote(t){const e=Fe,n=Ue[e(435)][e(434)].exec(t);if(n){let t=function(t){const e=se,n=t[e(262)];if(0===n)return"";let r=0;for(;n>r&&"\n"===t[e(272)](n-r-1);)r++;return t[e(283)](0,n-r)}(n[0]).split("\n"),r="",s="";const i=[];for(;t[e(452)]>0;){let n=!1;const o=[];let a;for(a=0;a<t[e(452)];a++)if(/^ {0,3}>/.test(t[a]))o[e(475)](t[a]),n=!0;else{if(n)break;o.push(t[a])}t=t[e(443)](a);const l=o.join("\n"),c=l.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,e(473))[e(449)](/^ {0,3}>[ \t]?/gm,"");r=r?r+"\n"+l:l,s=s?s+"\n"+c:c;const u=this[e(438)][e(450)][e(451)];if(this.lexer[e(450)][e(451)]=!0,this[e(438)][e(442)](c,i,!0),this[e(438)][e(450)][e(451)]=u,0===t[e(452)])break;const p=i[i.length-1];if((null==p?void 0:p[e(465)])===e(436))break;if((null==p?void 0:p.type)===e(434)){const n=p,o=n.raw+"\n"+t.join("\n"),a=this[e(434)](o);i[i[e(452)]-1]=a,r=r[e(472)](0,r.length-n.raw[e(452)])+a[e(464)],s=s[e(472)](0,s[e(452)]-n[e(476)][e(452)])+a[e(476)];break}if((null==p?void 0:p[e(465)])===e(440)){const n=p,o=n[e(464)]+"\n"+t[e(445)]("\n"),a=this[e(440)](o);i[i[e(452)]-1]=a,r=r[e(472)](0,r[e(452)]-p.raw[e(452)])+a[e(464)],s=s[e(472)](0,s[e(452)]-n[e(464)][e(452)])+a[e(464)],t=o.substring(i[i[e(452)]-1][e(464)][e(452)])[e(453)]("\n");continue}}return{type:e(434),raw:r,tokens:i,text:s}}}};function We(){var t=["1215372KSPeqR","158886xQLVPG","3YPNdNF","360371ySvvCX","8402772cyHchp","65wcDfFW","251708ZazStw","4155399IlmcIV","64518TXJABs","1vLWOyU","10nALvMC","72KYbkEl"];return(We=function(){return t})()}function Ye(t,e){return t-=268,We()[t]}function Qe(t,e){return t-=144,tn()[t]}!function(){for(var t=Ye,e=We();;)try{if(471969==-parseInt(t(271))/1*(-parseInt(t(274))/2)+parseInt(t(276))/3*(-parseInt(t(268))/4)+parseInt(t(279))/5*(-parseInt(t(270))/6)+-parseInt(t(275))/7*(parseInt(t(273))/8)+-parseInt(t(269))/9+-parseInt(t(272))/10*(-parseInt(t(277))/11)+parseInt(t(278))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Xe=Qe;var Ge;!function(){const t=Qe,e=tn();for(;;)try{if(886635==parseInt(t(163))/1+parseInt(t(181))/2*(-parseInt(t(164))/3)+parseInt(t(165))/4+-parseInt(t(178))/5*(parseInt(t(182))/6)+-parseInt(t(155))/7*(parseInt(t(179))/8)+-parseInt(t(175))/9*(-parseInt(t(174))/10)+parseInt(t(167))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(t){const e=Qe;t[e(171)]=e(180),t.Success=e(173),t[e(158)]=e(160),t[e(159)]=e(146)}(Ge||(Ge={}));const Ve={name:Xe(168),level:Xe(166),start:t=>t.indexOf(Xe(157)),tokenizer(t){const e=Xe;var n,r,s,i;const o=/^ {0,3}(!{3,}(?=\[[^\n\]]*\](?:\n|$)))\[([^\],]*)(?:,([^\],]*))?(?:,([^\],]+))?\]\n([\s\S]*?)(?:\n|$)(?: {0,3}\1 *(?=\n|$)|$)/.exec(t);if(o){const t=null===(n=o[2])||void 0===n?void 0:n[e(161)](),a=null===(r=o[3])||void 0===r?void 0:r[e(161)](),l=null===(s=o[4])||void 0===s?void 0:s[e(161)](),c=null===(i=o[5])||void 0===i?void 0:i.trim();return{type:e(168),raw:o[0],title:a,icon:l,text:c,ttype:t,tokens:this[e(183)][e(172)](c)}}},renderer(t){const e=Xe;var n;let r="";if("true"===t[e(162)])switch(t[e(153)]){case Ge[e(171)]:t[e(162)]="⚠️";break;case Ge[e(151)]:t[e(162)]="🎉";break;case Ge[e(158)]:t.icon="⛔";break;case Ge[e(159)]:t[e(162)]="ℹ️"}const s=void 0!==t[e(162)]?e(152)+t[e(162)]+e(177):"";return r+=e(154)+t[e(153)]+'">',t.title&&(r+=e(170)+s+e(147)+t[e(176)]+e(145)),r+=e(150)+(t[e(176)]?"":s)+this[e(156)][e(149)](null!==(n=t[e(148)])&&void 0!==n?n:[])+e(144),r+=e(169),r}};function tn(){const t=["9DeHFJj","title","</span> ","2874945SxHIKO","293224UiqdcR","warn","1341454utwzdl","6pxcBCY","lexer","</p>","</span></p>","info","<span class='title'>","tokens","parseInline",'<p class="content paragraph">',"Success",'<span class="icon">',"ttype",'<section class="alert ',"126vTzvbB","parser","^ {0,3}!!![","Error","Info","error","trim","icon","1512028ZenFDz","6eqtwWF","2737388PfQlTF","block","4934721oVJJXJ","alert","</section>",'<p class="heading">',"Warn","inlineTokens","success","8178460mJGPUa"];return(tn=function(){return t})()}function en(t){return(t||"").match(/\S*/)[0]}function nn(t){return e=>{"string"==typeof e&&e!==t.text&&(t.escaped=!0,t.text=e)}}const rn=/[&<>"']/,sn=RegExp(rn.source,"g"),on=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,an=RegExp(on.source,"g"),ln={"&":"&","<":"<",">":">",'"':""","'":"'"},cn=t=>ln[t];function un(t,e){if(e){if(rn.test(t))return t.replace(sn,cn)}else if(on.test(t))return t.replace(an,cn);return t}const pn=fn;function hn(){const t=["11680192XMqXDN","40uCAGOO","12685046HiaRwu","getLanguage","119722BJHYzI","json","highlight","registerLanguage","value","10mrkoSt","24117276ZlRwqO","3PDGpJD","plaintext","javascript","401670XYJfca","python","3202871MSCzuW","9lnYYJj","latex","21IIsCSp","160308YfVtON"];return(hn=function(){return t})()}function fn(t,e){return t-=171,hn()[t]}!function(){const t=fn,e=hn();for(;;)try{if(907482==parseInt(t(182))/1*(parseInt(t(188))/2)+parseInt(t(174))/3*(parseInt(t(183))/4)+-parseInt(t(185))/5*(parseInt(t(177))/6)+-parseInt(t(179))/7+-parseInt(t(184))/8*(-parseInt(t(180))/9)+parseInt(t(172))/10*(parseInt(t(186))/11)+-parseInt(t(173))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),n.registerLanguage(pn(176),r),n.registerLanguage(pn(178),o),n[pn(191)](pn(181),i),n[pn(191)](pn(189),s);const dn=new vt(function(t){if("function"==typeof t&&(t={highlight:t}),!t||"function"!=typeof t.highlight)throw Error("Must provide highlight function");return"string"!=typeof t.langPrefix&&(t.langPrefix="language-"),"string"!=typeof t.emptyLangClass&&(t.emptyLangClass=""),{async:!!t.async,walkTokens(e){if("code"!==e.type)return;const n=en(e.lang);if(t.async)return Promise.resolve(t.highlight(e.text,n,e.lang||"")).then(nn(e));const r=t.highlight(e.text,n,e.lang||"");if(r instanceof Promise)throw Error("markedHighlight is not set to async but the highlight function is async. Set the async option to true on markedHighlight to await the async highlight function.");nn(e)(r)},useNewRenderer:!0,renderer:{code(e,n,r){"object"==typeof e&&(r=e.escaped,n=e.lang,e=e.text);const s=en(n),i=s?t.langPrefix+un(s):t.emptyLangClass,o=i?` class="${i}"`:"";return e=e.replace(/\n$/,""),`<pre><code${o}>${r?e:un(e,!0)}\n</code></pre>`}}}}({highlight(t,e){const r=pn,s=n[r(187)](e)?e:r(175);return n[r(190)](t,{language:s})[r(171)]}})),gn=kn;function mn(){const t=["tokens","84030cjajHp","raw","278490XuYdgY","parse","1639gcjTau","9441KbXYJO","lexer",'<section class="gallery-wrapper">\n',"12ZfZmGc","image","!!!",'<section class="gallery-container">\n',"16860qdWRRj","forEach","type","8acqkHQ","paragraph","</section>\n","21UeYEIO","blockTokens","gallery","1376dzBOqP","107110WBWkKv","2773243aBbFeI","74OeqzGw","indexOf","block"];return(mn=function(){return t})()}function kn(t,e){return t-=404,mn()[t]}!function(){const t=kn,e=mn();for(;;)try{if(138758==-parseInt(t(417))/1*(-parseInt(t(409))/2)+parseInt(t(413))/3+-parseInt(t(428))/4*(parseInt(t(425))/5)+-parseInt(t(415))/6*(-parseInt(t(431))/7)+-parseInt(t(406))/8*(-parseInt(t(418))/9)+-parseInt(t(407))/10+-parseInt(t(408))/11*(parseInt(t(421))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const bn={name:gn(405),level:gn(411),start(t){const e=gn;return t[e(410)](e(423))},tokenizer(t){const e=gn,n=/^ {0,3}(!{3,}) *\n([\s\S]*?)(?:\n|$)(?: {0,3}\1 *(?=\n|$)|$)/.exec(t);if(n){const t=n[2];return{type:e(405),raw:n[0],text:t,tokens:this[e(419)][e(404)](t)}}},renderer(t){const e=gn;var n;let r=e(424);return r+=e(420),null===(n=t[e(412)])||void 0===n||n[e(426)](t=>{const n=e;var s;t[n(427)]===n(429)&&(null===(s=t[n(412)])||void 0===s||s[n(426)](t=>{const e=n;t[e(427)]===e(422)&&(r+=dn[e(416)](t[e(414)]))}))}),r+="</section>\n",r+=e(430),r}},xn=yn;function In(){const t=["tokens","4Ubuxnt","10hNmuWd",'"><sup><a href="#footnote-',"3318415jQsWRs",'">[',"3454866pgJBvJ","number",' <a href="#footnote-ref-',"trim","footnoteRef","length","key","replaceAll","type","6622101XQzJeT","exec","join","447396pBfsnn","452850KgGwJP","inline","forEach","table",'<li class="footnote-def" key="',"map","isolated","indexOf","items","</li>","footnoteDef","header",'"> ⬅ </a>',"14VbSoBX","72144YZuzwj","push","</ol>","2scOlio","lexer",'<ol class="footnote-list">',"10804189GPVrxQ","caption","inlineTokens",'" id="footnote-',"]</a></sup></span>"];return(In=function(){return t})()}function yn(t,e){return t-=197,In()[t]}!function(){const t=yn,e=In();for(;;)try{if(412774==-parseInt(t(225))/1+parseInt(t(199))/2*(-parseInt(t(226))/3)+parseInt(t(208))/4*(parseInt(t(211))/5)+parseInt(t(213))/6+-parseInt(t(239))/7*(-parseInt(t(240))/8)+parseInt(t(222))/9+parseInt(t(209))/10*(-parseInt(t(202))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const wn={name:xn(217),level:xn(227),start:t=>t[xn(233)]("[^"),tokenizer:t=>{const e=xn,n=/^\[\^([^\]]+)\]/[e(223)](t);if(n){const t=n[1][e(216)]();return{type:e(217),raw:n[0],id:t,tokens:[]}}},renderer:t=>{const e=xn;return'<span class="footnote-ref" id="footnote-ref-'+t.id+e(210)+t.id+e(212)+t[e(214)]+e(206)}},$n={name:xn(236),level:"block",start:t=>t[xn(233)]("[^"),tokenizer(t){const e=xn,n=/^\[\^(.+?)\]: ([\s\S]*?)(?:\n+|$)/[e(223)](t);if(n){const t=n[1][e(216)](),r=n[2][e(216)]();return{type:e(236),raw:n[0],id:t,text:r,tokens:this[e(200)][e(204)](r)}}},renderer(t){const e=xn;var n;const r=e(215)+t.id+e(238);return e(230)+t[e(214)]+e(205)+t.id+'">'+this.parser.parseInline(null!==(n=null==t?void 0:t[e(207)])&&void 0!==n?n:[])+(t[e(232)]?"":r)+e(235)}},vn=t=>{const e={};let n=1;return function t(r){r.forEach(r=>{const s=yn;r[s(221)]===s(217)&&(!(r.id in e)&&(e[r.id]=n,n++),r.number=e[r.id]),"list"===r.type&&r[s(234)][s(228)](e=>{const n=s;e[n(207)]&&e[n(207)].length>0&&t(e[n(207)])}),r.type===s(229)&&(r[s(237)][s(228)](e=>{const n=s;e[n(207)]&&e[n(207)][n(218)]>0&&t(e[n(207)])}),r.rows[s(228)](e=>{const n=s;e[n(228)](e=>{const r=n;e.tokens&&e[r(207)][r(218)]>0&&t(e[r(207)])})}),r[s(203)][s(207)]&&r[s(203)][s(207)][s(218)]>0&&t(r[s(203)][s(207)])),r.tokens&&r[s(207)][s(218)]>0&&t(r[s(207)])})}(t),function t(r){const s=yn;r[s(228)](r=>{const i=s;r[i(221)]===i(236)&&(r[i(232)]=!1,!(r.id in e)&&(e[r.id]=n,n++,r[i(232)]=!0),r[i(214)]=e[r.id]),r[i(207)]&&r[i(207)].length>0&&t(r.tokens)})}(t),t};function Sn(t,e){return t-=213,_n()[t]}const An=Sn;var jn,zn;function _n(){const t=["blockTokens","3463110CpSKDw",'"><summary>',"solution","3KmnMsR","typeName","4247550QcZpnf","indexOf","~~~[","1490895JreiBq","lexer","stype","810478SkzaCq","tokens","SOLUTION","PROOF","1486926PbPNMZ","parse","40NnjDYW","4849818vvGnlC","48oXEgCu",'</summary>\n <section class="content">\n ',"exec","block","11cHPdpR","374385mCwGIe","\n </section></details>"];return(_n=function(){return t})()}!function(){const t=Sn,e=_n();for(;;)try{if(653816==-parseInt(t(220))/1*(parseInt(t(228))/2)+parseInt(t(217))/3+-parseInt(t(236))/4*(parseInt(t(214))/5)+parseInt(t(235))/6+-parseInt(t(225))/7*(-parseInt(t(234))/8)+parseInt(t(232))/9+-parseInt(t(222))/10*(parseInt(t(213))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),(zn=jn||(jn={}))[Sn(231)]="proof",zn.SOLUTION="solution";const qn={[jn[An(231)]]:"证明",[jn[An(230)]]:"解答"},Rn={name:"solution",level:An(239),start:t=>{const e=An;return t[e(223)](e(224))},tokenizer(t){const e=An;var n;const r=/^ {0,3}(~{3,}(?=\[[^\n\]]*\](?:\n|$)))\[([^\],]*)\]\n([\s\S]*?)(?:\n|$)(?: {0,3}\1~* *(?=\n|$)|$)/[e(238)](t);if(r){const t=r[2].trim(),s=r[3].trim();return{type:e(219),raw:r[0],stype:t,typeName:null!==(n=qn[t])&&void 0!==n?n:t,text:s,tokens:this[e(226)][e(216)](s)}}},renderer(t){const e=An;var n;return'<details class="solution '+ee(t[e(227)])+e(218)+t[e(221)]+e(237)+this.parser[e(233)](null!==(n=null==t?void 0:t[e(229)])&&void 0!==n?n:[])+e(215)}},Tn=En;var Pn;!function(){const t=En,e=Dn();for(;;)try{if(185498==-parseInt(t(176))/1+parseInt(t(200))/2*(-parseInt(t(187))/3)+parseInt(t(189))/4*(parseInt(t(210))/5)+parseInt(t(182))/6*(-parseInt(t(174))/7)+-parseInt(t(181))/8*(parseInt(t(201))/9)+-parseInt(t(195))/10*(-parseInt(t(188))/11)+parseInt(t(179))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(t){const e=En;t[e(216)]=e(206),t[e(183)]=e(225),t[e(219)]=e(197),t[e(191)]=e(204),t[e(213)]=e(221),t[e(185)]=e(177)}(Pn||(Pn={}));const On={[Pn.Theorem]:"定理",[Pn.Lemma]:"引理",[Pn[Tn(219)]]:"推论",[Pn[Tn(191)]]:"公理",[Pn[Tn(213)]]:"定义",[Pn[Tn(185)]]:"例"};function En(t,e){return t-=173,Dn()[t]}const Cn={name:Tn(173),level:Tn(175),start:t=>t.indexOf("[~"),tokenizer:t=>{const e=Tn,n=/^\[~([^\]]+)\]/[e(196)](t);if(n){const t=n[1][e(217)]();return{type:e(173),raw:n[0],id:t,tokens:[]}}},renderer:t=>{const e=Tn;return'<a id="theorem-like-ref-'+t.id+e(186)+t.id+'">'+(t[e(218)]+" "+t[e(205)])[e(208)]()+e(198)}},Zn={name:Tn(193),level:Tn(194),start(t){const e=Tn;return t[e(228)](e(222))},tokenizer(t){const e=Tn;var n,r,s,i,o,a;const l=/^ {0,3}(`{3,}(?=\[[^\n\]]*\](?:\n|$)))\[([^\],]*),([^\],]*)(?:,([^\],]+))?\]\n([\s\S]*?)(?:\n|$)(?: {0,3}\1 *(?=\n|$)|$)/[e(196)](t);if(l){const t=null===(n=l[2])||void 0===n?void 0:n[e(217)]()[e(203)](/\*$/,""),c=null===(r=l[2])||void 0===r?void 0:r[e(217)]()[e(184)]("*"),u=null===(s=l[3])||void 0===s?void 0:s.trim(),p=null===(i=l[4])||void 0===i?void 0:i[e(217)](),h=null===(o=l[5])||void 0===o?void 0:o[e(217)]();return{type:e(193),raw:l[0],id:u,name:p,text:h,ttype:t,typeName:null!==(a=On[t])&&void 0!==a?a:t,tokens:this[e(215)][e(180)](h),unnumbered:c}}},renderer(t){const e=Tn;var n;return e(178)+ee(t[e(202)])+e(212)+t.id+e(192)+t[e(218)]+"</b>"+(t[e(227)]?"":" "+t[e(205)])+(t[e(226)]?" ( <em>"+t.name+e(207):"")+e(224)+this[e(223)][e(190)](null!==(n=null==t?void 0:t.tokens)&&void 0!==n?n:[])+"\n </section> \n</section>"}};function Dn(){const t=["endsWith","Example",'" href="#theorem-like-',"15XWUvWR","664301lbZTQB","697052yHjYlB","parse","Axiom",'">\n <p class="title"><b>',"theoremLikeDef","block","50VyXWdA","exec","corollary","</a>","items","71380IGcEWs","3411ZFZhZq","ttype","replace","axiom","number","theorem","</em> )","trimEnd","forEach","5aFHzuc","list",'" id="theorem-like-',"Definition","type","lexer","Theorem","trim","typeName","Corollary","tokens","definition","```[","parser",'\n </p>\n <section class="content">\n ',"lemma","name","unnumbered","indexOf","length","theoremLikeRef","564067ZwBpaw","inline","263574ddnaFi","example",'<section class="theorem-like ',"3924168tsALse","blockTokens","2008nkEycr","6jqAKuL","Lemma"];return(Dn=function(){return t})()}function Ln(){const t=["18369fKKlZP","imageUrl","exec","60YykzFo","</span>\n</span>\n","<label for=",">>>","tokens","3183890sjNCLg","1912ytCrgT",'<span class="tooltip-title">',"39IcUsNH","id-","</label>\n",'" alt="','<span class="tooltip">\n',' class="tooltip-trigger">',' class="tooltip-toggle">',"text","639366ECIhkh","indexOf","description","6AajVCn","418212YcIxtP",'<input type="checkbox" id=','<span class="tooltip-image"><img src="',"trim","lexer","title","638wSKqbk","293988vhMmAO","1037253IlGJUz","inline","parser","</span>\n","parseInline",'<span class="tooltip-description">',"127226gKEQin","inlineTokens"];return(Ln=function(){return t})()}const Mn=Bn;function Bn(t,e){return t-=314,Ln()[t]}!function(){const t=Bn,e=Ln();for(;;)try{if(814070==parseInt(t(343))/1*(-parseInt(t(319))/2)+parseInt(t(332))/3*(parseInt(t(344))/4)+parseInt(t(324))/5*(parseInt(t(340))/6)+parseInt(t(352))/7+-parseInt(t(330))/8*(parseInt(t(321))/9)+parseInt(t(329))/10+parseInt(t(350))/11*(-parseInt(t(351))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Nn=/^>>>([^\r\n]+?) *(?<!\\)\[ *([^\r\n]+?) *\|\s*([^\r\n]+?) *\| *([^\r\n]+?) *(?<!\\)\] *<<</,Un={name:"tooltip",level:Mn(314),start(t){const e=Mn;return t[e(341)](e(327))},tokenizer(t){const e=Mn,n=Nn[e(323)](t);if(n){const[t,r,s,i,o]=n;return{type:"tooltip",id:e(333)+Xt.md5(t),raw:t,title:s,text:r,imageUrl:o,description:{type:e(339),text:i,raw:i,tokens:this.lexer.inline(i)},tokens:this[e(348)][e(320)](r[e(347)]())}}},renderer(t){const e=Mn;var n;let r='<span class="tooltip-container">\n';return r+=e(345)+t.id+e(338),r+=e(326)+t.id+e(337)+this[e(315)][e(317)](null!==(n=t[e(328)])&&void 0!==n?n:[])+e(334),r+=e(336),t[e(322)].trim()&&(r+=e(346)+t[e(322)].trim()+e(335)+t.title[e(347)]()+'"></span>\n'),t[e(349)][e(347)]()&&(r+=e(331)+t[e(349)][e(347)]()+e(316)),t.description.raw[e(347)]()&&(r+=e(318)+this[e(315)][e(317)]([t[e(342)]])+e(316)),r+=e(325),r}};function Jn(){const t=["blockMath","2589sfKxcx","match","6285234fRZBFa"," \\lt ","inlineMath","replace","</p>\n","299984MowaKL","exec","1331ZceOSr","blockMath2","7jLVckD","trim","indexOf","453104EYrePf","564anCMZB","169310TrdSYd","block","6803752ENkSBi","10FOtzCu","4092570eUMZAW"," \\gt ",'<p class="paragraph">',"text"];return(Jn=function(){return t})()}const Fn=Kn;function Kn(t,e){return t-=489,Jn()[t]}function Hn(t){const e=Kn;return t[e(507)](/\s*<\s*/g,e(505))[e(507)](/\s*>\s*/g,e(498))}!function(){const t=Kn,e=Jn();for(;;)try{if(542375==parseInt(t(491))/1+-parseInt(t(492))/2*(-parseInt(t(502))/3)+-parseInt(t(509))/4*(-parseInt(t(496))/5)+-parseInt(t(504))/6*(parseInt(t(513))/7)+-parseInt(t(495))/8+-parseInt(t(497))/9+parseInt(t(493))/10*(parseInt(t(511))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Wn={name:Fn(506),level:"inline",start:t=>t[Fn(490)]("$"),tokenizer(t){const e=Fn,n=/^\$(?:[^$]|\\\$)+\$(?!\$)/[e(510)](t);if(n)return{type:e(506),raw:n[0],text:n[0]}},renderer:t=>Hn(t[Fn(500)])},Yn={name:"inlineMath2",level:"inline",start:t=>t[Fn(490)]("\\("),tokenizer(t){const e=t.match(/^\\\(.*?\\\)/);if(e)return{type:"inlineMath2",raw:e[0],text:e[0]}},renderer:t=>Hn(t.text)},Qn={name:Fn(501),level:Fn(494),start:t=>t[Fn(490)]("$$"),tokenizer(t){const e=Fn,n=t[e(503)](/^\${2}(?:[^$]|\\\$|\$[^$])+\${2}(?!\$)/);if(n)return{type:e(501),raw:n[0],text:n[0][e(489)]()}},renderer:t=>Fn(499)+Hn(t.text)+"</p>\n"},Xn={name:Fn(512),level:Fn(494),start:t=>t[Fn(490)]("\\["),tokenizer(t){const e=t[Fn(503)](/^\\\[(?:[^$]|\\\$)+\\\]/);if(e)return{type:"blockMath2",raw:e[0],text:e[0].trim()}},renderer(t){const e=Fn;return e(499)+Hn(t.text)+e(508)}};function Gn(t,e){return t-=441,Vn()[t]}function Vn(){var t=["128358sijuLX","105jUNHOG","1458728yIDJcx","755944QrdQoJ","188646ngBxyy","35622kQHobH","268260pTHQhU","743400WeSAny"];return(Vn=function(){return t})()}function tr(t,e){return t-=182,er()[t]}function er(){const t=["322236bqbjlD","443817ptblWo","tokens",'<img src="',"height:","push","118670eTgyhc","4VBAZuQ",'" alt="',"26zXLabT","image","955198DdhOPP","5905795ZyPYlN","href",' style="',"2875425hULdni","isArray","title","6129660SZlScw","px;","152ikJWIe",' title="',"text","type"];return(er=function(){return t})()}function nr(){const t=["Contact charles@mathcrowd.cn for commercial licensing.","lexInline","32zvQKgz","13096PZueDx","3cwRGUt","12RqCWsr","Contact charles@mathcrowd.cn for commercial licensing. ","warn","Browser usage does not require a license.","4214OvIwXb","15867819EOsEEs","[mmarked] ⚠️ No valid license configured for Node.js server-side usage. ","versions","renderMarkdownCompact","1604752kAyKdl","node","For commercial use, please configure a license using configureLicense(). ","1540368DAHAaQ","1399095XRoVAU","60488QRIrcc","[mmarked] ℹ️ Running in browser environment, no license required. ","Lexer","undefined","10734240BmRibf","parseInline"];return(nr=function(){return t})()}!function(){for(var t=Gn,e=Vn();;)try{if(129384==parseInt(t(444))/1+parseInt(t(446))/2+parseInt(t(448))/3+-parseInt(t(447))/4+parseInt(t(441))/5*(-parseInt(t(445))/6)+-parseInt(t(443))/7+parseInt(t(442))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(){const t=tr,e=er();for(;;)try{if(758882==parseInt(t(203))/1+-parseInt(t(201))/2*(parseInt(t(192))/3)+parseInt(t(199))/4*(-parseInt(t(204))/5)+parseInt(t(186))/6+parseInt(t(183))/7+parseInt(t(188))/8*(parseInt(t(193))/9)+parseInt(t(198))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(){const t=sr,e=nr();for(;;)try{if(794503==parseInt(t(422))/1*(parseInt(t(414))/2)+-parseInt(t(424))/3*(parseInt(t(409))/4)+parseInt(t(413))/5*(-parseInt(t(425))/6)+parseInt(t(429))/7*(parseInt(t(423))/8)+parseInt(t(412))/9+parseInt(t(418))/10+-parseInt(t(430))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const rr=new vt;function sr(t,e){return t-=408,nr()[t]}rr.use({extensions:[Wn,Yn],tokenizer:Object.assign({},He),renderer:Object.assign({},ce)});const ir=ar;function or(){const t=["For commercial use, please configure a license using configureLicense(). ","27IiJJql","4407109EowpKP","parse","assign","Contact charles@mathcrowd.cn for commercial licensing. ","use","versions","40645vWvGye","336492vxQoLE","For commercial use in Node.js, please configure a license using configureLicense(). ","43410CjTsuj","getTime","Browser usage does not require a license.","2097384syjhVg","node","[mmarked] ℹ️ Running in browser environment, no license required. ","Contact charles@mathcrowd.cn for commercial licensing.","3942200qyKhBn","lexer","184YvgVUp","658863LtSbmt"];return(or=function(){return t})()}function ar(t,e){return t-=296,or()[t]}!function(){const t=ar,e=or();for(;;)try{if(339724==parseInt(t(305))/1+-parseInt(t(317))/2*(parseInt(t(307))/3)+-parseInt(t(304))/4*(parseInt(t(314))/5)+parseInt(t(298))/6+-parseInt(t(308))/7+parseInt(t(302))/8+parseInt(t(315))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const lr={renderer:Object.assign(Object[ir(310)]({},ae),ce),tokenizer:Object[ir(310)]({},He),useNewRenderer:!0,gfm:!0,extensions:[Wn,Yn,Qn,Xn,wn,$n,Zn,Cn,Rn,Ve,bn,Un],hooks:{preprocess:t=>t,processAllTokens:t=>(t=>{const e=Tn,n={[Pn[e(216)]]:0,[Pn[e(183)]]:0,[Pn[e(219)]]:0,[Pn[e(191)]]:0,[Pn[e(213)]]:0,[Pn.Example]:0},r={};return function t(s){const i=e;s[i(209)](e=>{const s=i;e[s(214)]===s(193)&&(e[s(202)]in n?n[e.ttype]=n[e[s(202)]]+1:n[e[s(202)]]=1,e[s(205)]=e[s(227)]?"":n[e[s(202)]],r[e.id]={typeName:e[s(218)],number:e.number}),e[s(220)]&&e.tokens[s(229)]>0&&t(e[s(220)])})}(t),function t(n){const s=e;n[s(209)](e=>{const n=s;"theoremLikeRef"===e[n(214)]&&e.id in r&&(e[n(205)]=r[e.id][n(205)],e.typeName=r[e.id][n(218)]),e.type===n(211)&&e[n(199)][n(209)](e=>{const r=n;e[r(220)]&&e[r(220)][r(229)]>0&&t(e[r(220)])}),e[n(220)]&&e[n(220)].length>0&&t(e.tokens)})}(t),t})(vn(t)),postprocess:t=>(t=>{const e=xn,n=[];return t=t[e(220)](/<li class="footnote-def" key="(\d+)".*?<\/li>/g,(t,r)=>(n[e(197)]({key:parseInt(r),content:t}),"")),n.sort((t,n)=>t[e(219)]-n[e(219)]),t=t[e(220)](/<ol class="footnote-list">.*?<\/ol>/g,()=>""),n.length>0&&(t+=e(201)+n[e(231)](t=>t.content)[e(224)]("")+e(198)),t})(t)}};function cr(t,e){return t-=316,ur()[t]}function ur(){var t=["3838670SDBUSY","5001177gSNUUv","1846180YAgyjb","414344iiQvay","22qaYwTQ","1050040bcZHfU","11536203DFWlFQ","5384872jcRAos","18uFuclP","6libPoT","2LZQEcl"];return(ur=function(){return t})()}dn[ir(312)](lr),function(){for(var t=cr,e=ur();;)try{if(963408==parseInt(t(322))/1+-parseInt(t(316))/2*(-parseInt(t(318))/3)+parseInt(t(320))/4+parseInt(t(319))/5*(parseInt(t(326))/6)+-parseInt(t(323))/7+-parseInt(t(324))/8*(parseInt(t(325))/9)+parseInt(t(317))/10*(parseInt(t(321))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const pr=hr;function hr(t,e){return t-=237,mr()[t]}!function(){const t=hr,e=mr();for(;;)try{if(853655==parseInt(t(243))/1*(parseInt(t(247))/2)+-parseInt(t(246))/3+parseInt(t(238))/4+parseInt(t(237))/5+parseInt(t(250))/6*(parseInt(t(241))/7)+-parseInt(t(244))/8+parseInt(t(239))/9*(parseInt(t(251))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const fr=a.liteAdaptor({fontSize:13});l.RegisterHTMLHandler(fr);const dr=new u.TeX({packages:c.AllPackages,inlineMath:[["$","$"],["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],macros:{parallelogram:pr(240)}}),gr=new h.SVG({fontCache:"none"});function mr(){const t=["innerHTML","body","6KpnMbt","12670850GSgmhs","document","965630gmSNsj","666744JSzRuY","9BFxNEo","\\unicode{x25B1}","11689496OZKVlk","error","218307ypstPB","10291568ANRcdS","render","4780014ZBsqTP","4rJRkgD"];return(mr=function(){return t})()}function kr(t,e){return t-=361,br()[t]}function br(){var t=["7IiENHE","357546JNbtXF","96qMmSzt","13010EaRKxp","36660jszSNA","638580qzePZE","3091544nvjqkY","559610vWSLgR","277371WrSFgP","135tqHnfN"];return(br=function(){return t})()}function xr(){var t=["9948184VJlKwl","9515060EqkDtF","7559064mZiVTK","259jPGOGJ","423wrartM","7941901OpulWS","1819790icPAmZ","11516XJPOae","2nvgzOr","20sIeRJy","245064zIDZKO"];return(xr=function(){return t})()}function Ir(t,e){return t-=232,xr()[t]}!function(){for(var t=kr,e=br();;)try{if(225380==-parseInt(t(365))/1+-parseInt(t(368))/2+parseInt(t(369))/3+-parseInt(t(363))/4*(parseInt(t(364))/5)+-parseInt(t(362))/6*(parseInt(t(361))/7)+-parseInt(t(367))/8+parseInt(t(370))/9*(parseInt(t(366))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(){for(var t=Ir,e=xr();;)try{if(960034==parseInt(t(232))/1*(-parseInt(t(241))/2)+-parseInt(t(239))/3*(-parseInt(t(242))/4)+parseInt(t(236))/5+-parseInt(t(234))/6*(-parseInt(t(238))/7)+parseInt(t(235))/8+-parseInt(t(237))/9+-parseInt(t(233))/10*(parseInt(t(240))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),exports.clearValidationCache=function(){const t=zt;Rt[t(284)](),Pt=!1,console[t(279)](t(285))},exports.configureLicense=Jt,exports.getLicenseConfig=function(){return qt},exports.getWarningIfNeeded=Ut,exports.isLicensed=Kt,exports.renderMarkdown=t=>{const e=ir;if(Nt("renderMarkdown"),!Kt()){const t="undefined"!=typeof process&&null!=process[e(313)]&&null!=process.versions[e(299)];console.warn(t?"[mmarked] ⚠️ No valid license configured for Node.js server-side usage. "+e(306)+e(311)+e(297):e(300)+e(316)+e(301))}const n=new Date,r=vn(dn[e(303)](t));let s=dn[e(309)](t);const i=new Date,o=Ut();return o&&(s=o+s),{parsed:s,lexed:r,time:i[e(296)]()-n[e(296)]()}},exports.renderMarkdownCompact=t=>{const e=sr;Nt(e(408)),Kt()||(typeof process!==e(417)&&null!=process[e(432)]&&null!=process[e(432)][e(410)]?console.warn(e(431)+e(411)+e(426)+e(428)):console[e(427)](e(415)+"For commercial use in Node.js, please configure a license using configureLicense(). "+e(420)));const n=new Date,r=rr[e(416)][e(421)](t,rr.defaults),s=rr[e(419)](t),i=new Date;let o=function(t,e){const n=tr;let r=t;for(const t of e){const e=Gt(t[n(205)]);if(null===e)continue;let s=n(195)+e+n(200)+t.text+'"';if(t[n(185)]){const{text:e,width:r,height:i}=re(t[n(185)]);e&&(s+=' title="'+e+'"'),(r||i)&&(s+=n(182),r&&(s+="width:"+r+"px;"),i&&(s+=n(196)+i+n(187)),s+='"')}s+=">";const i=n(195)+e+n(200)+t[n(190)]+'"'+(t.title?n(189)+t.title+'"':"")+">";r=r.replaceAll(i,s)}return r}(s,function t(e){const n=tr,r=[];for(const s of e)s[n(191)]===n(202)&&r[n(197)](s),"tokens"in s&&Array[n(184)](s[n(194)])&&r[n(197)](...t(s[n(194)]));return r}(r));const a=Ut();return a&&(o=a+o),{parsed:o,lexed:r,time:i.getTime()-n.getTime()}},exports.resetUsageStats=function(){const t=zt;Zt[t(286)]=0,Zt[t(287)]=0,Zt[t(304)]=0,Zt[t(296)]=Date[t(301)](),Zt[t(309)]=Date[t(301)](),Zt[t(328)]=void 0,Zt[t(308)]=_t(),qt=null,Rt.clear(),Pt=!1,console[t(279)](t(316)),console[t(279)](t(285))},exports.setUnlicensedWarningInterval=function(t){exports.UNLICENSED_WARNING_INTERVAL=t},exports.tex2svg=t=>{const e=pr;try{const n=p.mathjax[e(252)](t,{InputJax:dr,OutputJax:gr});return n[e(245)](),fr[e(248)](fr[e(249)](n.document))}catch(n){return console[e(242)](n),t}},exports.trackFunctionCall=Nt,exports.validateLicense=Ft;
|
|
1
|
+
"use strict";var t=require("crypto"),e=require("buffer"),n=require("highlight.js"),r=require("highlight.js/lib/languages/javascript"),s=require("highlight.js/lib/languages/json"),i=require("highlight.js/lib/languages/latex"),o=require("highlight.js/lib/languages/python"),a=require("mathjax-full/js/adaptors/liteAdaptor.js"),l=require("mathjax-full/js/handlers/html.js"),c=require("mathjax-full/js/input/tex/AllPackages.js"),u=require("mathjax-full/js/input/tex.js"),p=require("mathjax-full/js/mathjax.js"),h=require("mathjax-full/js/output/svg.js");var f={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function d(t){f=t}var g={exec:()=>null};function m(t,e=""){let n="string"==typeof t?t:t.source,r={replace:(t,e)=>{let s="string"==typeof e?e:e.source;return s=s.replace(b.caret,"$1"),n=n.replace(t,s),r},getRegex:()=>RegExp(n,e)};return r}var k=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch{return!1}})(),b={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>RegExp(`^( {0,3}${t})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},x=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,w=/(?:[*+-]|\d{1,9}[.)])/,y=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,I=m(y).replace(/bull/g,w).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),$=m(y).replace(/bull/g,w).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),v=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,S=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,A=m(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",S).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),j=m(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,w).getRegex(),z="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",_=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,T=m("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",_).replace("tag",z).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),R=m(v).replace("hr",x).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",z).getRegex(),q={blockquote:m(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",R).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:A,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:x,html:T,lheading:I,list:j,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:R,table:g,text:/^[^\n]+/},E=m("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",x).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",z).getRegex(),P={...q,lheading:$,table:E,paragraph:m(v).replace("hr",x).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",E).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",z).getRegex()},L={...q,html:m("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",_).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:g,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:m(v).replace("hr",x).replace("heading"," *#{1,6} *[^\n]").replace("lheading",I).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},C=/^( {2,}|\\)\n(?!\s*$)/,D=/[\p{P}\p{S}]/u,U=/[\s\p{P}\p{S}]/u,M=/[^\s\p{P}\p{S}]/u,N=m(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,U).getRegex(),Z=/(?!~)[\p{P}\p{S}]/u,O=m(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",k?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),H=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,B=m(H,"u").replace(/punct/g,D).getRegex(),F=m(H,"u").replace(/punct/g,Z).getRegex(),K="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",G=m(K,"gu").replace(/notPunctSpace/g,M).replace(/punctSpace/g,U).replace(/punct/g,D).getRegex(),X=m(K,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,Z).getRegex(),J=m("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,M).replace(/punctSpace/g,U).replace(/punct/g,D).getRegex(),Y=m(/\\(punct)/,"gu").replace(/punct/g,D).getRegex(),V=m(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),W=m(_).replace("(?:--\x3e|$)","--\x3e").getRegex(),Q=m("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",W).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),tt=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,et=m(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",tt).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),nt=m(/^!?\[(label)\]\[(ref)\]/).replace("label",tt).replace("ref",S).getRegex(),rt=m(/^!?\[(ref)\](?:\[\])?/).replace("ref",S).getRegex(),st=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,it={t:g,anyPunctuation:Y,autolink:V,blockSkip:O,br:C,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:g,emStrongLDelim:B,emStrongRDelimAst:G,emStrongRDelimUnd:J,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:et,nolink:rt,punctuation:N,reflink:nt,reflinkSearch:m("reflink|nolink(?!\\()","g").replace("reflink",nt).replace("nolink",rt).getRegex(),tag:Q,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:g},ot={...it,link:m(/^!?\[(label)\]\((.*?)\)/).replace("label",tt).getRegex(),reflink:m(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",tt).getRegex()},at={...it,emStrongRDelimAst:X,emStrongLDelim:F,url:m(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",st).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),t:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:m(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",st).getRegex()},lt={...at,br:m(C).replace("{2,}","*").getRegex(),text:m(at.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},ct={normal:q,gfm:P,pedantic:L},ut={normal:it,gfm:at,breaks:lt,pedantic:ot},pt={"&":"&","<":"<",">":">",'"':""","'":"'"},ht=t=>pt[t];function ft(t,e){if(e){if(b.escapeTest.test(t))return t.replace(b.escapeReplace,ht)}else if(b.escapeTestNoEncode.test(t))return t.replace(b.escapeReplaceNoEncode,ht);return t}function dt(t){try{t=encodeURI(t).replace(b.percentDecode,"%")}catch{return null}return t}function gt(t,e){let n=t.replace(b.findPipe,(t,e,n)=>{let r=!1,s=e;for(;--s>=0&&"\\"===n[s];)r=!r;return r?"|":" |"}).split(b.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;e>n.length;)n.push("");for(;n.length>r;r++)n[r]=n[r].trim().replace(b.slashPipe,"|");return n}function mt(t,e,n){let r=t.length;if(0===r)return"";let s=0;for(;r>s&&t.charAt(r-s-1)===e;)s++;return t.slice(0,r-s)}function kt(t,e,n,r,s){let i=e.href,o=e.title||null,a=t[1].replace(s.other.outputLinkReplace,"$1");r.state.inLink=!0;let l={type:"!"===t[0].charAt(0)?"image":"link",raw:n,href:i,title:o,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,l}var bt=class{options;rules;lexer;constructor(t){this.options=t||f}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let t=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:mt(t,"\n")}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let t=e[0],n=function(t,e,n){let r=t.match(n.other.indentCodeCompensation);if(null===r)return e;let s=r[1];return e.split("\n").map(t=>{let e=t.match(n.other.beginningSpace);if(null===e)return t;let[r]=e;return s.length>r.length?t:t.slice(s.length)}).join("\n")}(t,e[3]||"",this.rules);return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:n}}}heading(t){let e=this.rules.block.heading.exec(t);if(e){let t=e[2].trim();if(this.rules.other.endingHash.test(t)){let e=mt(t,"#");(this.options.pedantic||!e||this.rules.other.endingSpaceChar.test(e))&&(t=e.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(t){let e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:mt(e[0],"\n")}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let t=mt(e[0],"\n").split("\n"),n="",r="",s=[];for(;t.length>0;){let e,i=!1,o=[];for(e=0;t.length>e;e++)if(this.rules.other.blockquoteStart.test(t[e]))o.push(t[e]),i=!0;else{if(i)break;o.push(t[e])}t=t.slice(e);let a=o.join("\n"),l=a.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n}\n${a}`:a,r=r?`${r}\n${l}`:l;let c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,s,!0),this.lexer.state.top=c,0===t.length)break;let u=s.at(-1);if("code"===u?.type)break;if("blockquote"===u?.type){let e=u,i=e.raw+"\n"+t.join("\n"),o=this.blockquote(i);s[s.length-1]=o,n=n.substring(0,n.length-e.raw.length)+o.raw,r=r.substring(0,r.length-e.text.length)+o.text;break}if("list"===u?.type){let e=u,i=e.raw+"\n"+t.join("\n"),o=this.list(i);s[s.length-1]=o,n=n.substring(0,n.length-u.raw.length)+o.raw,r=r.substring(0,r.length-e.raw.length)+o.raw,t=i.substring(s.at(-1).raw.length).split("\n");continue}}return{type:"blockquote",raw:n,tokens:s,text:r}}}list(t){let e=this.rules.block.list.exec(t);if(e){let n=e[1].trim(),r=n.length>1,s={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?"\\d{1,9}\\"+n.slice(-1):"\\"+n,this.options.pedantic&&(n=r?n:"[*+-]");let i=this.rules.other.listItemRegex(n),o=!1;for(;t;){let n=!1,r="",a="";if(!(e=i.exec(t))||this.rules.block.hr.test(t))break;r=e[0],t=t.substring(r.length);let l=e[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,t=>" ".repeat(3*t.length)),c=t.split("\n",1)[0],u=!l.trim(),p=0;if(this.options.pedantic?(p=2,a=l.trimStart()):u?p=e[1].length+1:(p=e[2].search(this.rules.other.nonSpaceChar),p=p>4?1:p,a=l.slice(p),p+=e[1].length),u&&this.rules.other.blankLine.test(c)&&(r+=c+"\n",t=t.substring(c.length+1),n=!0),!n){let e=this.rules.other.nextBulletRegex(p),n=this.rules.other.hrRegex(p),s=this.rules.other.fencesBeginRegex(p),i=this.rules.other.headingBeginRegex(p),o=this.rules.other.htmlBeginRegex(p);for(;t;){let h,f=t.split("\n",1)[0];if(c=f,this.options.pedantic?(c=c.replace(this.rules.other.listReplaceNesting," "),h=c):h=c.replace(this.rules.other.tabCharGlobal," "),s.test(c)||i.test(c)||o.test(c)||e.test(c)||n.test(c))break;if(h.search(this.rules.other.nonSpaceChar)<p&&c.trim()){if(u||l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||s.test(l)||i.test(l)||n.test(l))break;a+="\n"+c}else a+="\n"+h.slice(p);!u&&!c.trim()&&(u=!0),r+=f+"\n",t=t.substring(f.length+1),l=h.slice(p)}}s.loose||(o?s.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(o=!0));let h,f=null;this.options.gfm&&(f=this.rules.other.listIsTask.exec(a),f&&(h="[ ] "!==f[0],a=a.replace(this.rules.other.listReplaceTask,""))),s.items.push({type:"list_item",raw:r,task:!!f,checked:h,loose:!1,text:a,tokens:[]}),s.raw+=r}let a=s.items.at(-1);if(!a)return;a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd(),s.raw=s.raw.trimEnd();for(let t=0;s.items.length>t;t++)if(this.lexer.state.top=!1,s.items[t].tokens=this.lexer.blockTokens(s.items[t].text,[]),!s.loose){let e=s.items[t].tokens.filter(t=>"space"===t.type),n=e.length>0&&e.some(t=>this.rules.other.anyLine.test(t.raw));s.loose=n}if(s.loose)for(let t=0;s.items.length>t;t++)s.items[t].loose=!0;return s}}html(t){let e=this.rules.block.html.exec(t);if(e)return{type:"html",block:!0,raw:e[0],pre:"pre"===e[1]||"script"===e[1]||"style"===e[1],text:e[0]}}def(t){let e=this.rules.block.def.exec(t);if(e){let t=e[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=e[2]?e[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:t,raw:e[0],href:n,title:r}}}table(t){let e=this.rules.block.table.exec(t);if(!e||!this.rules.other.tableDelimiter.test(e[2]))return;let n=gt(e[1]),r=e[2].replace(this.rules.other.tableAlignChars,"").split("|"),s=e[3]?.trim()?e[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],i={type:"table",raw:e[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let t of r)this.rules.other.tableAlignRight.test(t)?i.align.push("right"):this.rules.other.tableAlignCenter.test(t)?i.align.push("center"):this.rules.other.tableAlignLeft.test(t)?i.align.push("left"):i.align.push(null);for(let t=0;n.length>t;t++)i.header.push({text:n[t],tokens:this.lexer.inline(n[t]),header:!0,align:i.align[t]});for(let t of s)i.rows.push(gt(t,i.header.length).map((t,e)=>({text:t,tokens:this.lexer.inline(t),header:!1,align:i.align[e]})));return i}}lheading(t){let e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){let e=this.rules.block.paragraph.exec(t);if(e){let t="\n"===e[1].charAt(e[1].length-1)?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let t=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(t)){if(!this.rules.other.endAngleBracket.test(t))return;let e=mt(t.slice(0,-1),"\\");if((t.length-e.length)%2==0)return}else{let t=function(t){if(-1===t.indexOf(")"))return-1;let e=0;for(let n=0;t.length>n;n++)if("\\"===t[n])n++;else if("("===t[n])e++;else if(")"===t[n]&&(e--,0>e))return n;return e>0?-2:-1}(e[2]);if(-2===t)return;if(t>-1){let n=(0===e[0].indexOf("!")?5:4)+e[1].length+t;e[2]=e[2].substring(0,t),e[0]=e[0].substring(0,n).trim(),e[3]=""}}let n=e[2],r="";if(this.options.pedantic){let t=this.rules.other.pedanticHrefTitle.exec(n);t&&(n=t[1],r=t[3])}else r=e[3]?e[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(t)?n.slice(1):n.slice(1,-1)),kt(e,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(t,e){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){let t=e[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!t){let t=n[0].charAt(0);return{type:"text",raw:t,text:t}}return kt(n,t,n[0],this.lexer,this.rules)}}emStrong(t,e,n=""){let r=this.rules.inline.emStrongLDelim.exec(t);if(!(!r||r[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!r[1]&&!r[2]||!n||this.rules.inline.punctuation.exec(n))){let n,s,i=[...r[0]].length-1,o=i,a=0,l="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,e=e.slice(-1*t.length+i);null!=(r=l.exec(e));){if(n=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!n)continue;if(s=[...n].length,r[3]||r[4]){o+=s;continue}if((r[5]||r[6])&&i%3&&!((i+s)%3)){a+=s;continue}if(o-=s,o>0)continue;s=Math.min(s,s+o+a);let e=[...r[0]][0].length,l=t.slice(0,i+r.index+e+s);if(Math.min(i,s)%2){let t=l.slice(1,-1);return{type:"em",raw:l,text:t,tokens:this.lexer.inlineTokens(t)}}let c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(t){let e=this.rules.inline.code.exec(t);if(e){let t=e[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(t),r=this.rules.other.startingSpaceChar.test(t)&&this.rules.other.endingSpaceChar.test(t);return n&&r&&(t=t.substring(1,t.length-1)),{type:"codespan",raw:e[0],text:t}}}br(t){let e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){let e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){let e=this.rules.inline.autolink.exec(t);if(e){let t,n;return"@"===e[2]?(t=e[1],n="mailto:"+t):(t=e[1],n=t),{type:"link",raw:e[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let t,n;if("@"===e[2])t=e[0],n="mailto:"+t;else{let r;do{r=e[0],e[0]=this.rules.inline.t.exec(e[0])?.[0]??""}while(r!==e[0]);t=e[0],n="www."===e[1]?"http://"+e[0]:e[0]}return{type:"link",raw:e[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(t){let e=this.rules.inline.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],escaped:this.lexer.state.inRawBlock}}},xt=class t{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||f,this.options.tokenizer=this.options.tokenizer||new bt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let e={other:b,block:ct.normal,inline:ut.normal};this.options.pedantic?(e.block=ct.pedantic,e.inline=ut.pedantic):this.options.gfm&&(e.block=ct.gfm,e.inline=this.options.breaks?ut.breaks:ut.gfm),this.tokenizer.rules=e}static get rules(){return{block:ct,inline:ut}}static lex(e,n){return new t(n).lex(e)}static lexInline(e,n){return new t(n).inlineTokens(e)}lex(t){t=t.replace(b.carriageReturn,"\n"),this.blockTokens(t,this.tokens);for(let t=0;this.inlineQueue.length>t;t++){let e=this.inlineQueue[t];this.inlineTokens(e.src,e.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,e=[],n=!1){for(this.options.pedantic&&(t=t.replace(b.tabCharGlobal," ").replace(b.spaceLine,""));t;){let r;if(this.options.extensions?.block?.some(n=>!!(r=n.call({lexer:this},t,e))&&(t=t.substring(r.raw.length),e.push(r),!0)))continue;if(r=this.tokenizer.space(t)){t=t.substring(r.raw.length);let n=e.at(-1);1===r.raw.length&&void 0!==n?n.raw+="\n":e.push(r);continue}if(r=this.tokenizer.code(t)){t=t.substring(r.raw.length);let n=e.at(-1);"paragraph"===n?.type||"text"===n?.type?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+r.raw,n.text+="\n"+r.text,this.inlineQueue.at(-1).src=n.text):e.push(r);continue}if(r=this.tokenizer.fences(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.heading(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.hr(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.blockquote(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.list(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.html(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.def(t)){t=t.substring(r.raw.length);let n=e.at(-1);"paragraph"===n?.type||"text"===n?.type?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+r.raw,n.text+="\n"+r.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title},e.push(r));continue}if(r=this.tokenizer.table(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.lheading(t)){t=t.substring(r.raw.length),e.push(r);continue}let s=t;if(this.options.extensions?.startBlock){let e,n=1/0,r=t.slice(1);this.options.extensions.startBlock.forEach(t=>{e=t.call({lexer:this},r),"number"==typeof e&&e>=0&&(n=Math.min(n,e))}),1/0>n&&n>=0&&(s=t.substring(0,n+1))}if(this.state.top&&(r=this.tokenizer.paragraph(s))){let i=e.at(-1);n&&"paragraph"===i?.type?(i.raw+=(i.raw.endsWith("\n")?"":"\n")+r.raw,i.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):e.push(r),n=s.length!==t.length,t=t.substring(r.raw.length);continue}if(r=this.tokenizer.text(t)){t=t.substring(r.raw.length);let n=e.at(-1);"text"===n?.type?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):e.push(r);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw Error(e)}}return this.state.top=!0,e}inline(t,e=[]){return this.inlineQueue.push({src:t,tokens:e}),e}inlineTokens(t,e=[]){let n,r=t,s=null;if(this.tokens.links){let t=Object.keys(this.tokens.links);if(t.length>0)for(;null!=(s=this.tokenizer.rules.inline.reflinkSearch.exec(r));)t.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(s=this.tokenizer.rules.inline.anyPunctuation.exec(r));)r=r.slice(0,s.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(s=this.tokenizer.rules.inline.blockSkip.exec(r));)n=s[2]?s[2].length:0,r=r.slice(0,s.index+n)+"["+"a".repeat(s[0].length-n-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=this.options.hooks?.emStrongMask?.call({lexer:this},r)??r;let i=!1,o="";for(;t;){let n;if(i||(o=""),i=!1,this.options.extensions?.inline?.some(r=>!!(n=r.call({lexer:this},t,e))&&(t=t.substring(n.raw.length),e.push(n),!0)))continue;if(n=this.tokenizer.escape(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.tag(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.link(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(n.raw.length);let r=e.at(-1);"text"===n.type&&"text"===r?.type?(r.raw+=n.raw,r.text+=n.text):e.push(n);continue}if(n=this.tokenizer.emStrong(t,r,o)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.codespan(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.br(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.del(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.autolink(t)){t=t.substring(n.raw.length),e.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(t))){t=t.substring(n.raw.length),e.push(n);continue}let s=t;if(this.options.extensions?.startInline){let e,n=1/0,r=t.slice(1);this.options.extensions.startInline.forEach(t=>{e=t.call({lexer:this},r),"number"==typeof e&&e>=0&&(n=Math.min(n,e))}),1/0>n&&n>=0&&(s=t.substring(0,n+1))}if(n=this.tokenizer.inlineText(s)){t=t.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(o=n.raw.slice(-1)),i=!0;let r=e.at(-1);"text"===r?.type?(r.raw+=n.raw,r.text+=n.text):e.push(n);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw Error(e)}}return e}},wt=class{options;parser;constructor(t){this.options=t||f}space(t){return""}code({text:t,lang:e,escaped:n}){let r=(e||"").match(b.notSpaceStart)?.[0],s=t.replace(b.endingNewline,"")+"\n";return r?'<pre><code class="language-'+ft(r)+'">'+(n?s:ft(s,!0))+"</code></pre>\n":"<pre><code>"+(n?s:ft(s,!0))+"</code></pre>\n"}blockquote({tokens:t}){return`<blockquote>\n${this.parser.parse(t)}</blockquote>\n`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:e}){return`<h${e}>${this.parser.parseInline(t)}</h${e}>\n`}hr(t){return"<hr>\n"}list(t){let e=t.ordered,n=t.start,r="";for(let e=0;t.items.length>e;e++)r+=this.listitem(t.items[e]);let s=e?"ol":"ul";return"<"+s+(e&&1!==n?' start="'+n+'"':"")+">\n"+r+"</"+s+">\n"}listitem(t){let e="";if(t.task){let n=this.checkbox({checked:!!t.checked});t.loose?"paragraph"===t.tokens[0]?.type?(t.tokens[0].text=n+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=n+" "+ft(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):e+=n+" "}return e+=this.parser.parse(t.tokens,!!t.loose),`<li>${e}</li>\n`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>\n`}table(t){let e="",n="";for(let e=0;t.header.length>e;e++)n+=this.tablecell(t.header[e]);e+=this.tablerow({text:n});let r="";for(let e=0;t.rows.length>e;e++){let s=t.rows[e];n="";for(let t=0;s.length>t;t++)n+=this.tablecell(s[t]);r+=this.tablerow({text:n})}return r&&(r=`<tbody>${r}</tbody>`),"<table>\n<thead>\n"+e+"</thead>\n"+r+"</table>\n"}tablerow({text:t}){return`<tr>\n${t}</tr>\n`}tablecell(t){let e=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`</${n}>\n`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${ft(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:e,tokens:n}){let r=this.parser.parseInline(n),s=dt(t);if(null===s)return r;let i='<a href="'+(t=s)+'"';return e&&(i+=' title="'+ft(e)+'"'),i+=">"+r+"</a>",i}image({href:t,title:e,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let s=dt(t);if(null===s)return ft(n);let i=`<img src="${t=s}" alt="${n}"`;return e&&(i+=` title="${ft(e)}"`),i+=">",i}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:ft(t.text)}},yt=class{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}},It=class t{options;renderer;textRenderer;constructor(t){this.options=t||f,this.options.renderer=this.options.renderer||new wt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new yt}static parse(e,n){return new t(n).parse(e)}static parseInline(e,n){return new t(n).parseInline(e)}parse(t,e=!0){let n="";for(let r=0;t.length>r;r++){let s=t[r];if(this.options.extensions?.renderers?.[s.type]){let t=s,e=this.options.extensions.renderers[t.type].call({parser:this},t);if(!1!==e||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(t.type)){n+=e||"";continue}}let i=s;switch(i.type){case"space":n+=this.renderer.space(i);continue;case"hr":n+=this.renderer.hr(i);continue;case"heading":n+=this.renderer.heading(i);continue;case"code":n+=this.renderer.code(i);continue;case"table":n+=this.renderer.table(i);continue;case"blockquote":n+=this.renderer.blockquote(i);continue;case"list":n+=this.renderer.list(i);continue;case"html":n+=this.renderer.html(i);continue;case"def":n+=this.renderer.def(i);continue;case"paragraph":n+=this.renderer.paragraph(i);continue;case"text":{let s=i,o=this.renderer.text(s);for(;t.length>r+1&&"text"===t[r+1].type;)s=t[++r],o+="\n"+this.renderer.text(s);n+=e?this.renderer.paragraph({type:"paragraph",raw:o,text:o,tokens:[{type:"text",raw:o,text:o,escaped:!0}]}):o;continue}default:{let t='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(t),"";throw Error(t)}}}return n}parseInline(t,e=this.renderer){let n="";for(let r=0;t.length>r;r++){let s=t[r];if(this.options.extensions?.renderers?.[s.type]){let t=this.options.extensions.renderers[s.type].call({parser:this},s);if(!1!==t||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){n+=t||"";continue}}let i=s;switch(i.type){case"escape":case"text":n+=e.text(i);break;case"html":n+=e.html(i);break;case"link":n+=e.link(i);break;case"image":n+=e.image(i);break;case"strong":n+=e.strong(i);break;case"em":n+=e.em(i);break;case"codespan":n+=e.codespan(i);break;case"br":n+=e.br(i);break;case"del":n+=e.del(i);break;default:{let t='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(t),"";throw Error(t)}}}return n}},$t=class{options;block;constructor(t){this.options=t||f}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}emStrongMask(t){return t}provideLexer(){return this.block?xt.lex:xt.lexInline}provideParser(){return this.block?It.parse:It.parseInline}},vt=class{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=It;Renderer=wt;TextRenderer=yt;Lexer=xt;Tokenizer=bt;Hooks=$t;constructor(...t){this.use(...t)}walkTokens(t,e){let n=[];for(let r of t)switch(n=n.concat(e.call(this,r)),r.type){case"table":{let t=r;for(let r of t.header)n=n.concat(this.walkTokens(r.tokens,e));for(let r of t.rows)for(let t of r)n=n.concat(this.walkTokens(t.tokens,e));break}case"list":n=n.concat(this.walkTokens(r.items,e));break;default:{let t=r;this.defaults.extensions?.childTokens?.[t.type]?this.defaults.extensions.childTokens[t.type].forEach(r=>{let s=t[r].flat(1/0);n=n.concat(this.walkTokens(s,e))}):t.tokens&&(n=n.concat(this.walkTokens(t.tokens,e)))}}return n}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(t=>{let n={...t};if(n.async=this.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach(t=>{if(!t.name)throw Error("extension name required");if("renderer"in t){let n=e.renderers[t.name];e.renderers[t.name]=n?function(...e){let r=t.renderer.apply(this,e);return!1===r&&(r=n.apply(this,e)),r}:t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw Error("extension level must be 'block' or 'inline'");let n=e[t.level];n?n.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&("block"===t.level?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:"inline"===t.level&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)}),n.extensions=e),t.renderer){let e=this.defaults.renderer||new wt(this.defaults);for(let n in t.renderer){if(!(n in e))throw Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;let r=t.renderer[n],s=e[n];e[n]=(...t)=>{let n=r.apply(e,t);return!1===n&&(n=s.apply(e,t)),n||""}}n.renderer=e}if(t.tokenizer){let e=this.defaults.tokenizer||new bt(this.defaults);for(let n in t.tokenizer){if(!(n in e))throw Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;let r=t.tokenizer[n],s=e[n];e[n]=(...t)=>{let n=r.apply(e,t);return!1===n&&(n=s.apply(e,t)),n}}n.tokenizer=e}if(t.hooks){let e=this.defaults.hooks||new $t;for(let n in t.hooks){if(!(n in e))throw Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;let r=t.hooks[n],s=e[n];e[n]=$t.passThroughHooks.has(n)?t=>{if(this.defaults.async&&$t.passThroughHooksRespectAsync.has(n))return(async()=>{let n=await r.call(e,t);return s.call(e,n)})();let i=r.call(e,t);return s.call(e,i)}:(...t)=>{if(this.defaults.async)return(async()=>{let n=await r.apply(e,t);return!1===n&&(n=await s.apply(e,t)),n})();let n=r.apply(e,t);return!1===n&&(n=s.apply(e,t)),n}}n.hooks=e}if(t.walkTokens){let e=this.defaults.walkTokens,r=t.walkTokens;n.walkTokens=function(t){let n=[];return n.push(r.call(this,t)),e&&(n=n.concat(e.call(this,t))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return xt.lex(t,e??this.defaults)}parser(t,e){return It.parse(t,e??this.defaults)}parseMarkdown(t){return(e,n)=>{let r={...n},s={...this.defaults,...r},i=this.onError(!!s.silent,!!s.async);if(!0===this.defaults.async&&!1===r.async)return i(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||null===e)return i(Error("marked(): input parameter is undefined or null"));if("string"!=typeof e)return i(Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(s.hooks&&(s.hooks.options=s,s.hooks.block=t),s.async)return(async()=>{let n=s.hooks?await s.hooks.preprocess(e):e,r=await(s.hooks?await s.hooks.provideLexer():t?xt.lex:xt.lexInline)(n,s),i=s.hooks?await s.hooks.processAllTokens(r):r;s.walkTokens&&await Promise.all(this.walkTokens(i,s.walkTokens));let o=await(s.hooks?await s.hooks.provideParser():t?It.parse:It.parseInline)(i,s);return s.hooks?await s.hooks.postprocess(o):o})().catch(i);try{s.hooks&&(e=s.hooks.preprocess(e));let n=(s.hooks?s.hooks.provideLexer():t?xt.lex:xt.lexInline)(e,s);s.hooks&&(n=s.hooks.processAllTokens(n)),s.walkTokens&&this.walkTokens(n,s.walkTokens);let r=(s.hooks?s.hooks.provideParser():t?It.parse:It.parseInline)(n,s);return s.hooks&&(r=s.hooks.postprocess(r)),r}catch(t){return i(t)}}}onError(t,e){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",t){let t="<p>An error occurred:</p><pre>"+ft(n.message+"",!0)+"</pre>";return e?Promise.resolve(t):t}if(e)return Promise.reject(n);throw n}}},St=new vt;function At(t,e){return St.parse(t,e)}function jt(t,e,n,r){return new(n||(n=Promise))(function(s,i){function o(t){try{l(r.next(t))}catch(t){i(t)}}function a(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?s(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(o,a)}l((r=r.apply(t,e||[])).next())})}At.options=At.setOptions=function(t){return St.setOptions(t),d(At.defaults=St.defaults),At},At.getDefaults=function(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},At.defaults=f,At.use=function(...t){return St.use(...t),d(At.defaults=St.defaults),At},At.walkTokens=function(t,e){return St.walkTokens(t,e)},At.parseInline=St.parseInline,At.Parser=It,At.parser=It.parse,At.Renderer=wt,At.TextRenderer=yt,At.Lexer=xt,At.lexer=xt.lex,At.Tokenizer=bt,At.Hooks=$t,At.parse=At,"function"==typeof SuppressedError&&SuppressedError;const zt=Nt;function _t(){const t=Nt;if(!Ut())return t(331);try{if(typeof require!==t(358)){const e=require(t(389));if(e[t(344)])return e[t(344)]()}return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t(349)](/[xy]/g,function(t){const e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)})}catch(e){return t(404)+Date[t(387)]()+"-"+Math[t(330)]()[t(351)](36)[t(381)](2,11)}}!function(){const t=Nt,e=Bt();for(;;)try{if(751179==-parseInt(t(359))/1*(parseInt(t(401))/2)+-parseInt(t(374))/3*(-parseInt(t(336))/4)+-parseInt(t(346))/5+-parseInt(t(395))/6+parseInt(t(380))/7*(-parseInt(t(338))/8)+parseInt(t(396))/9*(parseInt(t(367))/10)+parseInt(t(379))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),exports.UNLICENSED_WARNING_INTERVAL=1e3;let Tt=null;const Rt=new Map;let qt=!1;const Et=36e5,Pt=zt(392),Lt=zt(347),Ct={totalCalls:0,renderMarkdownCalls:0,renderMarkdownCompactCalls:0,firstUsedAt:Date.now(),lastUsedAt:Date[zt(387)](),sessionId:_t()};let Dt=null;function Ut(){const t=zt;return typeof process!==t(358)&&null!=process[t(382)]&&null!=process.versions[t(375)]}function Mt(){return jt(this,void 0,void 0,function*(){const t=Nt;var e;if(!Ut())return;const n=Tt;if(!n||!n[t(354)])return;const r=Date[t(387)]();if(Ct[t(352)]&&18e5>r-Ct[t(352)])return;const s=Lt;try{const i=Object[t(339)](Object[t(339)]({},Ct),{apiKey:n[t(354)],timestamp:r,nodeVersion:null===(e=process[t(382)])||void 0===e?void 0:e[t(375)]});"undefined"!=typeof fetch&&(yield fetch(s,{method:t(386),headers:{"Content-Type":t(368)},body:JSON[t(372)](i)}),Ct[t(352)]=r,console[t(364)](t(335)))}catch(e){console[t(364)]("[mmarked] Failed to report usage statistics:",e)}})}function Nt(t,e){return t-=330,Bt()[t]}function Zt(t){const e=zt;var n;Ut()&&(Ct.totalCalls++,Ct[e(365)]=Date[e(387)](),t===e(343)?Ct[e(340)]++:"renderMarkdownCompact"===t&&Ct[e(337)]++,(null==Tt?void 0:Tt.apiKey)&&(Ct[e(354)]=Tt[e(354)],Ct[e(369)]=null===(n=process.versions)||void 0===n?void 0:n[e(375)]))}function Ot(){const t=zt;return!Ut()||Kt()?"":Ct.totalCalls>0&&Ct[t(391)]%exports.UNLICENSED_WARNING_INTERVAL===0?function(){const t=zt,e=Date.now(),n=Math[t(330)]()[t(351)](36)[t(400)](2,9);return t(383)+n+t(361)+e+t(362)}():""}function Ht(t){const e=zt;Tt=t,function(){const t=zt;Ut()&&Tt&&Tt[t(354)]&&(Dt&&clearInterval(Dt),Dt=setInterval(()=>{Mt().catch(t=>{const e=Nt;console[e(364)](e(333),t)})},36e5),Mt().catch(e=>{const n=t;console[n(364)](n(405),e)}))}(),console[e(350)](e(398))}function Bt(){const t=["renderMarkdownCompactCalls","1528WvHouA","assign","renderMarkdownCalls","valid","mmarked","renderMarkdown","randomUUID","current version","4271135DvgHcU","https://api.mathcrowd.cn/report-usage","clear","replace","log","toString","lastReportedAt","catch","apiKey","Validation failed: ","MMARKED_API_KEY","sessionId","undefined","1pLKfcH","[mmarked] License validation error:",'" data-timestamp="','">\n <defs>\n <style type="text/css">\n .mjx-warning-text { font-family: Arial, sans-serif; font-size: 14px; fill: #856404; }\n .mjx-warning-link { font-family: Arial, sans-serif; font-size: 14px; fill: #0066cc; text-decoration: underline; cursor: pointer; }\n </style>\n </defs>\n <rect width="800" height="80" fill="#fff3cd" stroke="#ffc107" stroke-width="1" rx="4"/>\n <text x="20" y="25" class="mjx-warning-text" font-weight="bold">⚠️ Non-Commercial Use Only</text>\n <text x="20" y="45" class="mjx-warning-text">This content uses @mathcrowd/mmarked without valid commercial license.</text>\n <text x="20" y="65" class="mjx-warning-text">For commercial use, contact: </text>\n <a href="mailto:charles@mathcrowd.cn">\n <text x="220" y="65" class="mjx-warning-link">charles@mathcrowd.cn</text>\n </a>\n</svg>',"[mmarked] Validation cache cleared","debug","lastUsedAt","[mmarked] License validation failed:","20AhUTFN","application/json","nodeVersion","Network error during validation","result","stringify","then","45WmbSEE","node","2.0.3","get","firstUsedAt","29939833WWrUFs","27391FQeRdB","slice","versions",'<svg xmlns="http://www.w3.org/2000/svg" class="MJX-svg-equation" role="img" focusable="false" viewBox="0 0 800 80" style="vertical-align: -0.5ex; margin: 1em 0; max-width: 100%; display: block;" aria-label="Non-commercial use warning" data-formula-id="',"statusText","json","POST","now","[mmarked] Usage stats reset","crypto","Fetch API not available. Requires Node.js 18+ or use custom validator.","totalCalls","https://api.mathcrowd.cn/validate-license","timestamp","warn","2046252GwRRjg","2743002wQfyeA","[mmarked] ⚠️ Remote license validation not supported on Node.js ","[mmarked] License configured successfully","message","substring","2234246HAFnFf","set","error","session-","[mmarked] Initial usage reporting error:","Either upgrade to Node.js 18+, use a custom validator, or configure offline mode.","random","browser-session","[mmarked] Remote validation failed:","[mmarked] Usage reporting error:","Requires Node.js 18+ for fetch API support. ","[mmarked] Usage statistics reported successfully","127892sAgJal"];return(Bt=function(){return t})()}function Ft(){return jt(this,void 0,void 0,function*(){const t=Nt,e=Tt;if(!e||!e[t(354)])return{valid:!1,message:"No license configured. Please call configureLicense() with your API key."};const{apiKey:n}=e,r=Rt.get(n);if(r&&Date.now()-r[t(393)]<Et)return{valid:r[t(371)]};const s=yield function(t,e){return jt(this,void 0,void 0,function*(){const n=Nt;var r;try{if(typeof fetch===n(358)){const t=null===(r=process[n(382)])||void 0===r?void 0:r.node;return console[n(394)](n(397)+(t||n(345))+". "+n(334)+n(406)),{valid:!1,message:n(390)}}const s=yield fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({apiKey:t,product:n(342),version:n(376)})});return s.ok?yield s[n(385)]():{valid:!1,message:n(355)+s[n(384)]}}catch(t){return console[n(394)](n(332),t),{valid:!1,message:n(370)}}})}(n,Pt);return Rt[t(402)](n,{result:s[t(341)],timestamp:Date.now()}),s})}function Kt(){const t=zt;if(!Ut())return!1;!function(){const t=zt;if(!Ut())return;if(null==Tt?void 0:Tt[t(354)])return;const e=process.env[t(356)];e&&Ht({apiKey:e})}();const e=Tt;if(!e||!e.apiKey)return!1;const{apiKey:n}=e,r=Rt[t(377)](n);return r?(Date[t(387)]()-r[t(393)]>=Et&&Ft()[t(373)](e=>{const n=t;return!e[n(341)]&&console.warn(n(366),e.message),e})[t(353)](e=>{throw console[t(403)]("[mmarked] License validation error:",e),e}),r.result):(!qt&&(qt=!0,Ft().then(e=>{const n=t;return!e[n(341)]&&console[n(394)]("[mmarked] License validation failed:",e[n(399)]),e})[t(353)](e=>{const n=t;throw console[n(403)](n(360),e),e})),!0)}var Gt,Xt,Jt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Yt={exports:{}},Vt=(Gt||(Gt=1,Xt=Yt,function(){var n="input is invalid type",r="object"==typeof window,s=r?window:{};s.JS_MD5_NO_WINDOW&&(r=!1);var i=!r&&"object"==typeof self,o=!s.JS_MD5_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;o?s=Jt:i&&(s=self);var a,l=!s.JS_MD5_NO_COMMON_JS&&Xt.exports,c=!s.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,u="0123456789abcdef".split(""),p=[128,32768,8388608,-2147483648],h=[0,8,16,24],f=["hex","array","digest","buffer","arrayBuffer","base64"],d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),g=[];if(c){var m=new ArrayBuffer(68);a=new Uint8Array(m),g=new Uint32Array(m)}var k=Array.isArray;!s.JS_MD5_NO_NODE_JS&&k||(k=function(t){return"[object Array]"===Object.prototype.toString.call(t)});var b=ArrayBuffer.isView;!c||!s.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&b||(b=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var x=function(t){var e=typeof t;if("string"===e)return[t,!0];if("object"!==e||null===t)throw Error(n);if(c&&t.constructor===ArrayBuffer)return[new Uint8Array(t),!1];if(!k(t)&&!b(t))throw Error(n);return[t,!1]},w=function(t){return function(e){return new I(!0).update(e)[t]()}},y=function(t){return function(e,n){return new $(e,!0).update(n)[t]()}};function I(t){if(t)g[0]=g[16]=g[1]=g[2]=g[3]=g[4]=g[5]=g[6]=g[7]=g[8]=g[9]=g[10]=g[11]=g[12]=g[13]=g[14]=g[15]=0,this.blocks=g,this.buffer8=a;else if(c){var e=new ArrayBuffer(68);this.buffer8=new Uint8Array(e),this.blocks=new Uint32Array(e)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}function $(t,e){var n,r=x(t);if(t=r[0],r[1]){var s,i=[],o=t.length,a=0;for(n=0;o>n;++n)128>(s=t.charCodeAt(n))?i[a++]=s:2048>s?(i[a++]=192|s>>>6,i[a++]=128|63&s):55296>s||s>=57344?(i[a++]=224|s>>>12,i[a++]=128|s>>>6&63,i[a++]=128|63&s):(s=65536+((1023&s)<<10|1023&t.charCodeAt(++n)),i[a++]=240|s>>>18,i[a++]=128|s>>>12&63,i[a++]=128|s>>>6&63,i[a++]=128|63&s);t=i}t.length>64&&(t=new I(!0).update(t).array());var l=[],c=[];for(n=0;64>n;++n){var u=t[n]||0;l[n]=92^u,c[n]=54^u}I.call(this,e),this.update(c),this.oKeyPad=l,this.inner=!0,this.sharedMemory=e}I.prototype.update=function(t){if(this.finalized)throw Error("finalize already called");for(var e,n,r=x(t),s=r[1],i=0,o=(t=r[0]).length,a=this.blocks,l=this.buffer8;o>i;){if(this.hashed&&(this.hashed=!1,a[0]=a[16],a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),s)if(c)for(n=this.start;o>i&&64>n;++i)128>(e=t.charCodeAt(i))?l[n++]=e:2048>e?(l[n++]=192|e>>>6,l[n++]=128|63&e):55296>e||e>=57344?(l[n++]=224|e>>>12,l[n++]=128|e>>>6&63,l[n++]=128|63&e):(e=65536+((1023&e)<<10|1023&t.charCodeAt(++i)),l[n++]=240|e>>>18,l[n++]=128|e>>>12&63,l[n++]=128|e>>>6&63,l[n++]=128|63&e);else for(n=this.start;o>i&&64>n;++i)128>(e=t.charCodeAt(i))?a[n>>>2]|=e<<h[3&n++]:2048>e?(a[n>>>2]|=(192|e>>>6)<<h[3&n++],a[n>>>2]|=(128|63&e)<<h[3&n++]):55296>e||e>=57344?(a[n>>>2]|=(224|e>>>12)<<h[3&n++],a[n>>>2]|=(128|e>>>6&63)<<h[3&n++],a[n>>>2]|=(128|63&e)<<h[3&n++]):(e=65536+((1023&e)<<10|1023&t.charCodeAt(++i)),a[n>>>2]|=(240|e>>>18)<<h[3&n++],a[n>>>2]|=(128|e>>>12&63)<<h[3&n++],a[n>>>2]|=(128|e>>>6&63)<<h[3&n++],a[n>>>2]|=(128|63&e)<<h[3&n++]);else if(c)for(n=this.start;o>i&&64>n;++i)l[n++]=t[i];else for(n=this.start;o>i&&64>n;++i)a[n>>>2]|=t[i]<<h[3&n++];this.lastByteIndex=n,this.bytes+=n-this.start,64>n?this.start=n:(this.start=n-64,this.hash(),this.hashed=!0)}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this},I.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex;t[e>>>2]|=p[3&e],56>e||(this.hashed||this.hash(),t[0]=t[16],t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.bytes<<3,t[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},I.prototype.hash=function(){var t,e,n,r,s,i,o=this.blocks;this.first?e=((e=((t=((t=o[0]-680876937)<<7|t>>>25)-271733879|0)^(n=((n=(-271733879^(r=((r=(-1732584194^2004318071&t)+o[1]-117830708)<<12|r>>>20)+t|0)&(-271733879^t))+o[2]-1126478375)<<17|n>>>15)+r|0)&(r^t))+o[3]-1316259209)<<22|e>>>10)+n|0:(t=this.h0,e=this.h1,e=((e+=((t=((t+=((r=this.h3)^e&((n=this.h2)^r))+o[0]-680876936)<<7|t>>>25)+e|0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+o[1]-389564586)<<12|r>>>20)+t|0)&(t^e))+o[2]+606105819)<<17|n>>>15)+r|0)&(r^t))+o[3]-1044525330)<<22|e>>>10)+n|0),e=((e+=((t=((t+=(r^e&(n^r))+o[4]-176418897)<<7|t>>>25)+e|0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+o[5]+1200080426)<<12|r>>>20)+t|0)&(t^e))+o[6]-1473231341)<<17|n>>>15)+r|0)&(r^t))+o[7]-45705983)<<22|e>>>10)+n|0,e=((e+=((t=((t+=(r^e&(n^r))+o[8]+1770035416)<<7|t>>>25)+e|0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+o[9]-1958414417)<<12|r>>>20)+t|0)&(t^e))+o[10]-42063)<<17|n>>>15)+r|0)&(r^t))+o[11]-1990404162)<<22|e>>>10)+n|0,e=((e+=((t=((t+=(r^e&(n^r))+o[12]+1804603682)<<7|t>>>25)+e|0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+o[13]-40341101)<<12|r>>>20)+t|0)&(t^e))+o[14]-1502002290)<<17|n>>>15)+r|0)&(r^t))+o[15]+1236535329)<<22|e>>>10)+n|0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+o[1]-165796510)<<5|t>>>27)+e|0)^e))+o[6]-1069501632)<<9|r>>>23)+t|0)^t&((n=((n+=(t^e&(r^t))+o[11]+643717713)<<14|n>>>18)+r|0)^r))+o[0]-373897302)<<20|e>>>12)+n|0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+o[5]-701558691)<<5|t>>>27)+e|0)^e))+o[10]+38016083)<<9|r>>>23)+t|0)^t&((n=((n+=(t^e&(r^t))+o[15]-660478335)<<14|n>>>18)+r|0)^r))+o[4]-405537848)<<20|e>>>12)+n|0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+o[9]+568446438)<<5|t>>>27)+e|0)^e))+o[14]-1019803690)<<9|r>>>23)+t|0)^t&((n=((n+=(t^e&(r^t))+o[3]-187363961)<<14|n>>>18)+r|0)^r))+o[8]+1163531501)<<20|e>>>12)+n|0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+o[13]-1444681467)<<5|t>>>27)+e|0)^e))+o[2]-51403784)<<9|r>>>23)+t|0)^t&((n=((n+=(t^e&(r^t))+o[7]+1735328473)<<14|n>>>18)+r|0)^r))+o[12]-1926607734)<<20|e>>>12)+n|0,e=((e+=((i=(r=((r+=((s=e^n)^(t=((t+=(s^r)+o[5]-378558)<<4|t>>>28)+e|0))+o[8]-2022574463)<<11|r>>>21)+t|0)^t)^(n=((n+=(i^e)+o[11]+1839030562)<<16|n>>>16)+r|0))+o[14]-35309556)<<23|e>>>9)+n|0,e=((e+=((i=(r=((r+=((s=e^n)^(t=((t+=(s^r)+o[1]-1530992060)<<4|t>>>28)+e|0))+o[4]+1272893353)<<11|r>>>21)+t|0)^t)^(n=((n+=(i^e)+o[7]-155497632)<<16|n>>>16)+r|0))+o[10]-1094730640)<<23|e>>>9)+n|0,e=((e+=((i=(r=((r+=((s=e^n)^(t=((t+=(s^r)+o[13]+681279174)<<4|t>>>28)+e|0))+o[0]-358537222)<<11|r>>>21)+t|0)^t)^(n=((n+=(i^e)+o[3]-722521979)<<16|n>>>16)+r|0))+o[6]+76029189)<<23|e>>>9)+n|0,e=((e+=((i=(r=((r+=((s=e^n)^(t=((t+=(s^r)+o[9]-640364487)<<4|t>>>28)+e|0))+o[12]-421815835)<<11|r>>>21)+t|0)^t)^(n=((n+=(i^e)+o[15]+530742520)<<16|n>>>16)+r|0))+o[2]-995338651)<<23|e>>>9)+n|0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+o[0]-198630844)<<6|t>>>26)+e|0)|~n))+o[7]+1126891415)<<10|r>>>22)+t|0)^((n=((n+=(t^(r|~e))+o[14]-1416354905)<<15|n>>>17)+r|0)|~t))+o[5]-57434055)<<21|e>>>11)+n|0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+o[12]+1700485571)<<6|t>>>26)+e|0)|~n))+o[3]-1894986606)<<10|r>>>22)+t|0)^((n=((n+=(t^(r|~e))+o[10]-1051523)<<15|n>>>17)+r|0)|~t))+o[1]-2054922799)<<21|e>>>11)+n|0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+o[8]+1873313359)<<6|t>>>26)+e|0)|~n))+o[15]-30611744)<<10|r>>>22)+t|0)^((n=((n+=(t^(r|~e))+o[6]-1560198380)<<15|n>>>17)+r|0)|~t))+o[13]+1309151649)<<21|e>>>11)+n|0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+o[4]-145523070)<<6|t>>>26)+e|0)|~n))+o[11]-1120210379)<<10|r>>>22)+t|0)^((n=((n+=(t^(r|~e))+o[2]+718787259)<<15|n>>>17)+r|0)|~t))+o[9]-343485551)<<21|e>>>11)+n|0,this.first?(this.h0=t+1732584193|0,this.h1=e-271733879|0,this.h2=n-1732584194|0,this.h3=r+271733878|0,this.first=!1):(this.h0=this.h0+t|0,this.h1=this.h1+e|0,this.h2=this.h2+n|0,this.h3=this.h3+r|0)},I.prototype.toString=I.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,r=this.h3;return u[t>>>4&15]+u[15&t]+u[t>>>12&15]+u[t>>>8&15]+u[t>>>20&15]+u[t>>>16&15]+u[t>>>28&15]+u[t>>>24&15]+u[e>>>4&15]+u[15&e]+u[e>>>12&15]+u[e>>>8&15]+u[e>>>20&15]+u[e>>>16&15]+u[e>>>28&15]+u[e>>>24&15]+u[n>>>4&15]+u[15&n]+u[n>>>12&15]+u[n>>>8&15]+u[n>>>20&15]+u[n>>>16&15]+u[n>>>28&15]+u[n>>>24&15]+u[r>>>4&15]+u[15&r]+u[r>>>12&15]+u[r>>>8&15]+u[r>>>20&15]+u[r>>>16&15]+u[r>>>28&15]+u[r>>>24&15]},I.prototype.array=I.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,r=this.h3;return[255&t,t>>>8&255,t>>>16&255,t>>>24&255,255&e,e>>>8&255,e>>>16&255,e>>>24&255,255&n,n>>>8&255,n>>>16&255,n>>>24&255,255&r,r>>>8&255,r>>>16&255,r>>>24&255]},I.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(16),e=new Uint32Array(t);return e[0]=this.h0,e[1]=this.h1,e[2]=this.h2,e[3]=this.h3,t},I.prototype.buffer=I.prototype.arrayBuffer,I.prototype.base64=function(){for(var t,e,n,r="",s=this.array(),i=0;15>i;)t=s[i++],e=s[i++],n=s[i++],r+=d[t>>>2]+d[63&(t<<4|e>>>4)]+d[63&(e<<2|n>>>6)]+d[63&n];return r+(d[(t=s[i])>>>2]+d[t<<4&63]+"==")},($.prototype=new I).finalize=function(){if(I.prototype.finalize.call(this),this.inner){this.inner=!1;var t=this.array();I.call(this,this.sharedMemory),this.update(this.oKeyPad),this.update(t),I.prototype.finalize.call(this)}};var v=function(){var r=w("hex");o&&(r=function(r){var i,o=t,a=e.Buffer;return i=a.from&&!s.JS_MD5_NO_BUFFER_FROM?a.from:function(t){return new a(t)},function(t){if("string"==typeof t)return o.createHash("md5").update(t,"utf8").digest("hex");if(null==t)throw Error(n);return t.constructor===ArrayBuffer&&(t=new Uint8Array(t)),k(t)||b(t)||t.constructor===a?o.createHash("md5").update(i(t)).digest("hex"):r(t)}}(r)),r.create=function(){return new I},r.update=function(t){return r.create().update(t)};for(var i=0;f.length>i;++i){var a=f[i];r[a]=w(a)}return r}();v.md5=v,v.md5.hmac=function(){var t=y("hex");t.create=function(t){return new $(t)},t.update=function(e,n){return t.create(e).update(n)};for(var e=0;f.length>e;++e){var n=f[e];t[n]=y(n)}return t}(),l?Xt.exports=v:s.md5=v}()),Yt.exports);function Wt(t){try{t=encodeURI(t).replace(/%25/g,"%")}catch(t){return null}return t}function Qt(t,e){return t-=158,te()[t]}function te(){const t=["333264XWuqZG","4844589muopsL","2983144auRnly","7412nozJoU","trim","slice","node","102746wTHbtY","class-","push","length","versions","replace","splice","45JtNLkL","402sAsVnC","shift","match","source","2405230UAuoRv","string","pop","935KtXKXu","1265YFXNEX","test","10JRLxlW","indexOf","12229jDiuRk"];return(te=function(){return t})()}!function(){const t=Qt,e=te();for(;;)try{if(950313==parseInt(t(175))/1*(-parseInt(t(185))/2)+parseInt(t(179))/3+-parseInt(t(181))/4*(-parseInt(t(173))/5)+parseInt(t(165))/6*(parseInt(t(177))/7)+parseInt(t(180))/8*(parseInt(t(164))/9)+-parseInt(t(169))/10+parseInt(t(172))/11*(-parseInt(t(178))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ee={exec:()=>null};function ne(t,e){const n=Qt;let r=typeof t===n(170)?t:t.source;e=e||"";const s={replace:(t,e)=>{const i=n;let o=typeof e===i(170)?e:e[i(168)];return o=o[i(162)](/(^|[^[])\^/g,"$1"),r=r[i(162)](t,o),s},getRegex:()=>RegExp(r,e)};return s}const re=t=>{const e=Qt;return/^[a-z][\w-]*$/i[e(174)](t)?t:e(158)+Vt.md5(t)};function se(t){const e=Qt,n=t[e(167)](/^(.*?)(?:\s*=(\d*)(?:x(\d+))?)?$/);if(n){const t=n[1][e(182)](),r=n[2]?parseInt(n[2],10):null,s=n[3]?parseInt(n[3],10):null;return{text:0===t[e(160)]?null:t,width:r,height:s}}return{text:null,width:null,height:null}}function ie(t,e){const n=Qt,r=t.replace(/\|/g,(t,e,n)=>{let r=!1,s=e;for(;--s>=0&&"\\"===n[s];)r=!r;return r?"|":" |"}).split(/ \|/);let s=0;if(!r[0][n(182)]()&&r[n(166)](),r.length>0&&!r[r.length-1].trim()&&r[n(171)](),e)if(r[n(160)]>e)r[n(163)](e);else for(;r[n(160)]<e;)r[n(159)]("");for(;s<r[n(160)];s++)r[s]=r[s][n(182)]()[n(162)](/\\\|/g,"|");return r}function oe(){const t=["</section>\n","header","6xUaBCD","</table>\n","unshift",' start="','<li class="md-list-item">',"43816esTyGz","<figure>\n","checkbox",'" alt="',"width:","tablerow","items","listitem","paragraph","caption","383163uCyGEF","title","<tbody>","</figure>\n","checked","215446HplZTs","114mNiGnr","parseInline",'<img src="',' style="',"image","rows","120MFwhEG","length","start","tablecell","<figcaption>","302816yuQpbp","</li>\n","</figcaption>\n","href","loose","type","parser","</thead>\n","tokens","161mETBCr","</p>\n",'<section class="img-container">\n',"px;","54274WOJING","text","3167180aqYLeG","8495352aNWfcv"];return(oe=function(){return t})()}function ae(t,e){return t-=439,oe()[t]}!function(){const t=ae,e=oe();for(;;)try{if(506748==parseInt(t(445))/1+-parseInt(t(450))/2+-parseInt(t(451))/3*(parseInt(t(486))/4)+parseInt(t(477))/5*(parseInt(t(481))/6)+-parseInt(t(471))/7*(parseInt(t(462))/8)+parseInt(t(478))/9+-parseInt(t(457))/10*(parseInt(t(475))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const le={paragraph({tokens:t}){const e=ae;if(1===t.length&&t[0][e(467)]===e(455)){const n=t[0];if(null===Wt(n[e(465)]))return n.text;let r=e(487);if(r+=e(473),r+=this[e(455)](n)+"\n",r+=e(479),n[e(446)]){const{text:t}=se(n[e(446)]);t&&(r+=e(461)+t+e(464))}return r+=e(448),r}return'<p class="paragraph">'+this.parser[e(452)](t)+e(472)},list(t){const e=ae,n=t.ordered,r=t[e(459)];let s="";for(let n=0;n<t[e(441)][e(458)];n++){const r=t[e(441)][n];s+=this[e(442)](r)}const i=n?"ol":"ul";return"<"+i+(n&&1!==r?e(484)+r+'"':"")+' class="md-list">\n'+s+"</"+i+">\n"},listitem(t){const e=ae;let n="";if(t.task){const r=this[e(488)]({checked:!!t[e(449)]});t[e(466)]?t[e(470)][e(458)]>0&&t[e(470)][0][e(467)]===e(443)?(t[e(470)][0][e(476)]=r+" "+t[e(470)][0][e(476)],t[e(470)][0][e(470)]&&t[e(470)][0][e(470)][e(458)]>0&&t.tokens[0][e(470)][0][e(467)]===e(476)&&(t[e(470)][0].tokens[0][e(476)]=r+" "+t[e(470)][0][e(470)][0][e(476)])):t.tokens[e(483)]({type:e(476),raw:r+" ",text:r+" "}):n+=r+" "}return n+=this[e(468)].parse(t.tokens,!!t[e(466)]),e(485)+n+e(463)},table(t){const e=ae;let n="",r="";for(let n=0;n<t[e(480)][e(458)];n++)r+=this.tablecell(t.header[n]);n+=this[e(440)]({text:r});let s="";for(let n=0;n<t[e(456)][e(458)];n++){const i=t[e(456)][n];r="";for(let t=0;t<i[e(458)];t++)r+=this[e(460)](i[t]);s+=this.tablerow({text:r})}s&&(s=e(447)+s+"</tbody>\n");let i="";return t[e(444)][e(476)]&&(i="<figcaption>"+this[e(468)][e(452)]([t.caption])+e(464)),"<figure>\n<table>\n<thead>\n"+n+e(469)+s+e(482)+i+e(448)},image(t){const e=ae,n=Wt(t[e(465)]);if(null===n)return t.text;let r=e(453)+n+e(489)+t[e(476)]+'"';if(t.title){const{text:n,width:s,height:i}=se(t[e(446)]);n&&(r+=' title="'+n+'"'),(s||i)&&(r+=e(454),s&&(r+=e(439)+s+e(474)),i&&(r+="height:"+i+"px;"),r+='"')}return r+=">",r}},ce={};function ue(t,e){return t-=485,he()[t]}const pe=ue;function he(){const t=["|[\\s](_+)(?!_)(?=[punct])","|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>","table","attribute","label","email","getRegex","|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])","11898grTpcb"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n","^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)","1217720kybjhC","tag","|[^_]+(?=[^_])","|<![A-Z][\\s\\S]*?(?:>\\n*|$)","comment","|^</[a-zA-Z][\\w:-]*\\s*>","|(?!_)[punct](_+)(?=[\\s]|$)","html","1243536mJPepI"," {0,3}>","^ {0,3}(?:","|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option","<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)","45rLZSRK","(?:--\x3e|$)","(?: {4}| {0,3}\t)[^\\n]","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)","(?:(?:\\|\\|([^\\|]+)\\|\\|)?\\n*|$)","2137809KfTCnK","7jXwjUv","|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption","|^<![a-zA-Z]+\\s[\\s\\S]*?>"," {0,3}(?:[*+-]|1[.)]) ","|comment[^\\n]*(\\n+|$)","^comment","(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)","assign","|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)","|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)","|table"," {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)","43TJjLBk","href","|(?!_)[punct](_+)(?!_)(?=[punct])","|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title","replace","((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html|\\|\\|[^\\|]+\\|\\|).*(?:\\n|$))*)","heading","2668720mFsALx","|[\\s](\\*+)(?!\\*)(?=[punct])","list","|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>","code","|^<\\?[\\s\\S]*?\\?>","|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])","^ *([^\\n ].*)\\n","reflink","3721470xwGMpi","|tr|track|ul","blockquote","--\x3e","title","reflink|nolink(?!\\()","|(?!_)[punct\\s](_+)(?=[^punct\\s])"," {0,3}#{1,6}(?:\\s|$)","scheme","1067496IvUzyj","|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)","~|])","fences"," {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)\\n","|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)","|lheading","ref","|[^*]+(?=[^*])"];return(he=function(){return t})()}!function(){const t=ue,e=he();for(;;)try{if(366146==-parseInt(t(536))/1*(-parseInt(t(502))/2)+-parseInt(t(523))/3+parseInt(t(543))/4+parseInt(t(505))/5+parseInt(t(513))/6*(parseInt(t(524))/7)+-parseInt(t(485))/8*(parseInt(t(518))/9)+parseInt(t(552))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const fe=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,de=/(?:[*+-]|\d{1,9}[.)])/,ge=ne(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/)[pe(540)](/bull/g,de)[pe(540)](/blockCode/g,/(?: {4}| {0,3}\t)/)[pe(540)](/fences/g,/ {0,3}(?:`{3,}|~{3,})/)[pe(540)](/blockquote/g,/ {0,3}>/)[pe(540)](/heading/g,/ {0,3}#{1,6}/)[pe(540)](/html/g,/ {0,3}<[^\n>]+>\n/)[pe(500)](),me=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,ke=/(?!\s*\])(?:\\.|[^[\]\\])+/,be=ne(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s]\S*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",ke)[pe(540)](pe(556),/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/)[pe(500)](),xe=ne(/^( {0,3}bull)([ \t][^\n]+)?(?:\n|$)/)[pe(540)](/bull/g,de)[pe(500)](),we="address|article|aside|base|basefont|blockquote|body|caption"+pe(525)+"|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe"+pe(516)+pe(539)+pe(553),ye=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Ie=ne(pe(515)+pe(517)+pe(528)+"|<\\?[\\s\\S]*?(?:\\?>\\n*|$)"+pe(508)+pe(490)+pe(532)+pe(486)+pe(533)+")","i")[pe(540)](pe(509),ye)[pe(540)]("tag",we)[pe(540)]("attribute",/ +[a-z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/i)[pe(500)](),$e=ne(me)[pe(540)]("hr",fe)[pe(540)]("heading",pe(559)).replace(pe(491),"")[pe(540)](pe(534),"")[pe(540)](pe(554),pe(514))[pe(540)](pe(488)," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n")[pe(540)]("list"," {0,3}(?:[*+-]|1[.)]) ")[pe(540)](pe(512),"</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)")[pe(540)](pe(506),we)[pe(500)](),ve={blockquote:ne(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/)[pe(540)]("paragraph",$e).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:be,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:fe,html:Ie,lheading:ge,list:xe,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:$e,table:ee,text:/^[^\n]+/},Se=ne(pe(550)+pe(535)+pe(530))[pe(540)]("hr",fe).replace(pe(542)," {0,3}#{1,6}(?:\\s|$)")[pe(540)](pe(554),pe(514))[pe(540)](pe(547),pe(520))[pe(540)](pe(488),pe(503))[pe(540)](pe(545)," {0,3}(?:[*+-]|1[.)]) ")[pe(540)](pe(512),pe(521))[pe(540)]("tag",we)[pe(500)](),Ae=Object[pe(531)](Object[pe(531)]({},ve),{table:Se,paragraph:ne(me)[pe(540)]("hr",fe)[pe(540)](pe(542),pe(559))[pe(540)](pe(491),"")[pe(540)](pe(496),Se)[pe(540)](pe(554),pe(514))[pe(540)]("fences",pe(503))[pe(540)](pe(545),pe(527))[pe(540)](pe(512),"</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace(pe(506),we)[pe(500)]()}),je=/^\\([!"#$%&'()*+,\-./:;<=>?@[\]\\^_`{|}~])/,ze="\\p{P}\\p{S}",_e=ne(/^((?![*_])[\spunctaio])/,"u")[pe(540)](/punctuation/g,ze).getRegex(),Te=ne(/^\*+(?:((?!\*)[punct])|[^\s*])|^_+(?:((?!_)[punct])|([^\s_]))/,"u")[pe(540)](/punct/g,ze)[pe(500)](),Re=ne("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)"+pe(493)+"|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)"+pe(549)+pe(544)+pe(501)+"|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,ze)[pe(500)](),qe=ne(pe(504)+pe(507)+pe(511)+"|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)"+pe(558)+pe(494)+pe(538),"gu").replace(/punct/g,ze)[pe(500)](),Ee=ne(/\\([punct])/,"gu").replace(/punct/g,ze)[pe(500)](),Pe=ne(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/)[pe(540)](pe(560),/[a-z][a-z\d+.-]{1,31}/i).replace(pe(499),/[\w.!#$%&'*+/=?^`{|}~-]+(@)[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)+(?![-_])/i).getRegex(),Le=ne(ye)[pe(540)](pe(519),pe(555))[pe(500)](),Ce=ne(pe(529)+pe(510)+pe(546)+pe(548)+pe(526)+pe(495)).replace(pe(509),Le)[pe(540)](pe(497),/\s+[a-z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/i).getRegex(),De=/(?:\[(?:\\.|[^[\]\\])*\]|\\.|`[^`]*`|[^[\]\\`])*?/,Ue=ne(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/)[pe(540)](pe(498),De)[pe(540)](pe(537),/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/)[pe(540)](pe(556),/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/)[pe(500)](),Me=ne(/^!?\[(label)\]\[(ref)\]/)[pe(540)](pe(498),De).replace(pe(492),ke)[pe(500)](),Ne=ne(/^!?\[(ref)\](?:\[\])?/)[pe(540)](pe(492),ke)[pe(500)](),Ze={t:ee,anyPunctuation:Ee,autolink:Pe,blockSkip:/\[[^[\]]*\]\((?:\\.|[^\\()]|\((?:\\.|[^\\()])*\))*\)|`[^`]*`|<[^<>]*>/g,br:/^( {2,}|\\)\n(?!\s*$)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:ee,emStrongLDelim:Te,emStrongRDelimAst:Re,emStrongRDelimUnd:qe,escape:je,link:Ue,nolink:Ne,punctuation:_e,reflink:Me,reflinkSearch:ne(pe(557),"g")[pe(540)](pe(551),Me)[pe(540)]("nolink",Ne)[pe(500)](),tag:Ce,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<![`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:ee},Oe=Object[pe(531)](Object[pe(531)]({},Ze),{escape:ne(je)[pe(540)]("])",pe(487))[pe(500)](),url:ne(/^((?:ftp|https?):\/\/|www\.)[a-zA-Z\d-][^\s<]*|^email/,"i").replace("email",/[\w.+-]+(@)[\w-]+(?:\.[\w-]*[a-z\d])+(?![-_])/i)[pe(500)](),t:/(?:[^?!.,:;*_'"~()&]|\([^)]*\)|&(?![a-z\d]+;$)|[?!.,:;*_'"~)]+(?!$))+/i,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[\w.!#$%&'*+/=?`{|}~-]+@)|[\s\S]*?(?:(?=[\\<![`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^\w.!#$%&'*+/=?`{|}~-](?=[\w.!#$%&'*+/=?`{|}~-]+@)))/}),He=Object[pe(531)](Object[pe(531)]({},Oe),{br:ee,emStrongLDelim:/^\*+(?:([!"#$%&'()+\-.,/:;<=>?@[\]`{|}~_])|[^\s*])/}),Be={block:Object[pe(531)](Object[pe(531)]({},Ae),{lheading:ee,code:ee,fences:/^ {0,3}(`{3,}(?=[^`\n[]*(?:\n|$)))([^\n]*)(?:\n|$)([\s\S]*?)(?:\n|$)(?: {0,3}\1`* *(?=\n|$)|$)/,paragraph:ne(me)[pe(540)]("hr",fe)[pe(540)](pe(542),pe(559)).replace("|lheading","").replace(pe(496),Se)[pe(540)](pe(554)," {0,3}(?<!>)>(?!>)")[pe(540)]("fences",pe(503))[pe(540)]("list"," {0,3}(?:[*+-]|1[.)]) ").replace(pe(512),pe(521))[pe(540)](pe(506),we)[pe(500)](),table:ne(pe(550)+pe(489)+pe(541)+pe(522)).replace("hr",fe)[pe(540)](pe(542),pe(559))[pe(540)](pe(554)," {0,3}>").replace("code",pe(520)).replace(pe(488),pe(503)).replace(pe(545),pe(527)).replace(pe(512),pe(521))[pe(540)](pe(506),we)[pe(500)](),blockquote:ne(/^( {0,3}(?<!>)>(?!>) ?(paragraph|[^\n]*)(?:\n|$))+/)[pe(540)]("paragraph",$e)[pe(500)]()}),inline:He};function Fe(){const t=["trim","test","index","4158YotfUb","replace","substring","131515NZqonf","list","min","24VCSHau","blockquote","length","right","raw","1493uFUgpU","3398486fyiEoY","text","push","strong","slice","inline","rows","16104uykcHx","center","emStrongRDelimAst","map","emStrongLDelim","138lpfJfU","top","blockTokens","type","lexer","align","21704VyQNXm","block","inlineTokens","lastIndex","exec","match","table","state","header","1434XLqSAR","353502vKxCAk","fences","1747460WNwJxK","546mqxGTH","split","join"];return(Fe=function(){return t})()}function Ke(t,e){return t-=408,Fe()[t]}!function(){const t=Ke,e=Fe();for(;;)try{if(652784==-parseInt(t(437))/1*(-parseInt(t(416))/2)+-parseInt(t(420))/3*(parseInt(t(456))/4)+parseInt(t(429))/5*(parseInt(t(450))/6)+-parseInt(t(438))/7+-parseInt(t(432))/8*(-parseInt(t(417))/9)+-parseInt(t(419))/10+parseInt(t(426))/11*(parseInt(t(445))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ge={table(t){const e=Ke,n=Be.block[e(413)][e(411)](t);if(!n)return;if(!/[:|]/[e(424)](n[2]))return;const r=ie(n[1]),s=n[2][e(427)](/^\||\| *$/g,"").split("|"),i=n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split("\n"):[],o=n[5],a={type:e(413),raw:n[0],header:[],align:[],rows:[],caption:{type:e(439),text:o,raw:o,tokens:this[e(454)][e(443)](o)}};if(r[e(434)]===s[e(434)]){for(const t of s)/^ *-+: *$/[e(424)](t)?a.align[e(440)](e(435)):/^ *:-+: *$/[e(424)](t)?a[e(455)][e(440)](e(446)):/^ *:-+ *$/[e(424)](t)?a[e(455)].push("left"):a[e(455)].push(null);for(let t=0;t<r[e(434)];t++)a[e(415)][e(440)]({text:r[t],tokens:this[e(454)].inline(r[t]),header:!0,align:a.align[t]});for(const t of i)a[e(444)][e(440)](ie(t,a[e(415)][e(434)]).map((t,n)=>{const r=e;return{text:t,tokens:this.lexer.inline(t),header:!1,align:a[r(455)][n]}}));return a}},lheading(){},code(){},fences(t){const e=Ke,n=Be.block[e(418)][e(411)](t);if(n){const t=n[0],r=function(t,e){const n=Ke,r=t[n(412)](/^(\s+)```/);if(null===r)return e;const s=r[1];return e[n(421)]("\n")[n(448)](t=>{const e=n,r=t[e(412)](/^\s+/);if(null===r)return t;const[i]=r;return i[e(434)]<s[e(434)]?t:t[e(442)](s[e(434)])})[n(422)]("\n")}(t,n[3]||"");return{type:"code",raw:t,lang:n[2]?n[2][e(423)]()[e(427)](Be[e(443)].anyPunctuation,"$1"):n[2],text:r}}},br(){},emStrong(t,e,n=""){const r=Ke;let s=Be.inline[r(449)][r(411)](t);if(s&&(!s[3]||!n[r(412)](/[\p{L}\p{N}]/u))&&(!s[1]&&!s[2]||!n||Be[r(443)].punctuation[r(411)](n))){const n=[...s[0]][r(434)]-1;let i,o,a=n,l=0;const c="*"===s[0][0]?Be[r(443)][r(447)]:Be[r(443)].emStrongRDelimUnd;for(c[r(410)]=0,e=e.slice(-1*t[r(434)]+n);null!=(s=c[r(411)](e));){if(i=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!i)continue;if(o=[...i].length,s[3]||s[4]){a+=o;continue}if((s[5]||s[6])&&n%3&&!((n+o)%3)){l+=o;continue}if(a-=o,a>0)continue;o=Math[r(431)](o,o+a+l);const e=[...s[0]][0][r(434)],c=t[r(442)](0,n+s[r(425)]+e+o);if(Math.min(n,o)%2){const t=c.slice(1,-1);return{type:"em",raw:c,text:t,tokens:this[r(454)][r(409)](t)}}const u=c.slice(2,-2);return{type:r(441),raw:c,text:u,tokens:this[r(454)].inlineTokens(u)}}}},blockquote(t){const e=Ke,n=Be[e(408)][e(433)].exec(t);if(n){let t=function(t){const e=Qt,n=t.length;if(0===n)return"";let r=0;for(;n>r&&"\n"===t.charAt(n-r-1);)r++;return t[e(183)](0,n-r)}(n[0])[e(421)]("\n"),r="",s="";const i=[];for(;t[e(434)]>0;){let n=!1;const o=[];let a;for(a=0;a<t[e(434)];a++)if(/^ {0,3}>/[e(424)](t[a]))o[e(440)](t[a]),n=!0;else{if(n)break;o[e(440)](t[a])}t=t.slice(a);const l=o[e(422)]("\n"),c=l.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,"\n $1")[e(427)](/^ {0,3}>[ \t]?/gm,"");r=r?r+"\n"+l:l,s=s?s+"\n"+c:c;const u=this[e(454)][e(414)][e(451)];if(this.lexer.state[e(451)]=!0,this[e(454)][e(452)](c,i,!0),this[e(454)][e(414)][e(451)]=u,0===t[e(434)])break;const p=i[i[e(434)]-1];if("code"===(null==p?void 0:p.type))break;if("blockquote"===(null==p?void 0:p[e(453)])){const n=p,o=n[e(436)]+"\n"+t[e(422)]("\n"),a=this[e(433)](o);i[i[e(434)]-1]=a,r=r[e(428)](0,r[e(434)]-n[e(436)][e(434)])+a.raw,s=s[e(428)](0,s.length-n[e(439)][e(434)])+a.text;break}if("list"===(null==p?void 0:p[e(453)])){const n=p,o=n[e(436)]+"\n"+t[e(422)]("\n"),a=this[e(430)](o);i[i[e(434)]-1]=a,r=r[e(428)](0,r[e(434)]-p.raw[e(434)])+a[e(436)],s=s[e(428)](0,s[e(434)]-n[e(436)][e(434)])+a.raw,t=o.substring(i[i[e(434)]-1].raw[e(434)])[e(421)]("\n");continue}}return{type:"blockquote",raw:r,tokens:i,text:s}}}};function Xe(t,e){return t-=486,Je()[t]}function Je(){var t=["18MaHFCs","5664728YdtjtT","2334635frAYMi","1463289aXSLUs","264842Mqcfto","22708870Mamyrh","5386072imLDbx","7kwuiaQ","3662316EjuqtH","7WtnAUP"];return(Je=function(){return t})()}function Ye(){const t=["true","tokens","</span> ",'<p class="heading">',"</section>","indexOf",'<section class="alert ',"Success","13136yyQhlq","parser","^ {0,3}!!![","347136DQGzkz","</span></p>","error","2067306BTzLkV","lexer","parseInline","2820akoszV","alert","<span class='title'>","51DvDtMl","trim","warn","1552594CDHcik","exec","13239ahPqCL","Info","inlineTokens","success","icon","title",'<span class="icon">',"5GiXjST","info","630485vcOHry","5473153EFkukE","</p>"];return(Ye=function(){return t})()}function Ve(t,e){return t-=210,Ye()[t]}!function(){for(var t=Xe,e=Je();;)try{if(776107==-parseInt(t(495))/1*(-parseInt(t(490))/2)+parseInt(t(489))/3+parseInt(t(492))/4+-parseInt(t(488))/5*(-parseInt(t(486))/6)+parseInt(t(493))/7*(-parseInt(t(487))/8)+-parseInt(t(494))/9+-parseInt(t(491))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const We=Ve;var Qe;!function(){const t=Ve,e=Ye();for(;;)try{if(455412==parseInt(t(227))/1+parseInt(t(216))/2+parseInt(t(213))/3*(-parseInt(t(238))/4)+parseInt(t(225))/5*(parseInt(t(244))/6)+-parseInt(t(228))/7+-parseInt(t(241))/8+parseInt(t(218))/9*(-parseInt(t(210))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(t){const e=Ve;t.Warn=e(215),t.Success=e(221),t.Error=e(243),t.Info=e(226)}(Qe||(Qe={}));const tn={name:We(211),level:"block",start(t){const e=We;return t[e(235)](e(240))},tokenizer(t){const e=We;var n,r,s,i;const o=/^ {0,3}(!{3,}(?=\[[^\n\]]*\](?:\n|$)))\[([^\],]*)(?:,([^\],]*))?(?:,([^\],]+))?\]\n([\s\S]*?)(?:\n|$)(?: {0,3}\1 *(?=\n|$)|$)/[e(217)](t);if(o){const t=null===(n=o[2])||void 0===n?void 0:n[e(214)](),a=null===(r=o[3])||void 0===r?void 0:r.trim(),l=null===(s=o[4])||void 0===s?void 0:s[e(214)](),c=null===(i=o[5])||void 0===i?void 0:i[e(214)]();return{type:e(211),raw:o[0],title:a,icon:l,text:c,ttype:t,tokens:this[e(245)][e(220)](c)}}},renderer(t){const e=We;var n;let r="";if(t[e(222)]===e(230))switch(t.ttype){case Qe.Warn:t.icon="⚠️";break;case Qe[e(237)]:t[e(222)]="🎉";break;case Qe.Error:t[e(222)]="⛔";break;case Qe[e(219)]:t[e(222)]="ℹ️"}const s=void 0!==t[e(222)]?e(224)+t[e(222)]+e(232):"";return r+=e(236)+t.ttype+'">',t[e(223)]&&(r+=e(233)+s+e(212)+t[e(223)]+e(242)),r=r+'<p class="content paragraph">'+(t[e(223)]?"":s)+this[e(239)][e(246)](null!==(n=t[e(231)])&&void 0!==n?n:[])+e(229),r+=e(234),r}};function en(t){return(t||"").match(/\S*/)[0]}function nn(t){return e=>{"string"==typeof e&&e!==t.text&&(t.escaped=!0,t.text=e)}}const rn=/[&<>"']/,sn=RegExp(rn.source,"g"),on=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,an=RegExp(on.source,"g"),ln={"&":"&","<":"<",">":">",'"':""","'":"'"},cn=t=>ln[t];function un(t,e){if(e){if(rn.test(t))return t.replace(sn,cn)}else if(on.test(t))return t.replace(an,cn);return t}const pn=hn;function hn(t,e){return t-=429,fn()[t]}function fn(){const t=["python","11494VsGeUA","getLanguage","javascript","latex","47166vDcSEa","value","registerLanguage","814197BjQNEK","368oXIgDi","174912elYxrq","2402484nTVrga","json","531iYJaLT","295690AFwuQp","2933525joRkLw","8PnFccP"];return(fn=function(){return t})()}!function(){const t=hn,e=fn();for(;;)try{if(593824==parseInt(t(438))/1*(parseInt(t(440))/2)+parseInt(t(430))/3+-parseInt(t(433))/4+-parseInt(t(437))/5+parseInt(t(432))/6+-parseInt(t(444))/7*(parseInt(t(431))/8)+parseInt(t(435))/9*(parseInt(t(436))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),n[pn(429)](pn(442),r),n.registerLanguage(pn(439),o),n.registerLanguage(pn(443),i),n[pn(429)](pn(434),s);const dn=new vt(function(t){if("function"==typeof t&&(t={highlight:t}),!t||"function"!=typeof t.highlight)throw Error("Must provide highlight function");return"string"!=typeof t.langPrefix&&(t.langPrefix="language-"),"string"!=typeof t.emptyLangClass&&(t.emptyLangClass=""),{async:!!t.async,walkTokens(e){if("code"!==e.type)return;const n=en(e.lang);if(t.async)return Promise.resolve(t.highlight(e.text,n,e.lang||"")).then(nn(e));const r=t.highlight(e.text,n,e.lang||"");if(r instanceof Promise)throw Error("markedHighlight is not set to async but the highlight function is async. Set the async option to true on markedHighlight to await the async highlight function.");nn(e)(r)},useNewRenderer:!0,renderer:{code(e,n,r){"object"==typeof e&&(r=e.escaped,n=e.lang,e=e.text);const s=en(n),i=s?t.langPrefix+un(s):t.emptyLangClass,o=i?` class="${i}"`:"";return e=e.replace(/\n$/,""),`<pre><code${o}>${r?e:un(e,!0)}\n</code></pre>`}}}}({highlight(t,e){const r=pn,s=n[r(441)](e)?e:"plaintext";return n.highlight(t,{language:s})[r(445)]}}));function gn(t,e){return t-=221,kn()[t]}const mn=gn;function kn(){const t=["5rICmMp","paragraph","331027OLADLN","indexOf","2631348iGRXIb","</section>\n","691616toFUfn","type",'<section class="gallery-container">\n',"block","469VpHpuA","exec","image","51720jpyhgH","lexer","4500102zBGnuJ","14232573TaYKPZ","1562595pwAUiM","blockTokens","tokens","forEach","10SdayCr","parse",'<section class="gallery-wrapper">\n'];return(kn=function(){return t})()}!function(){const t=gn,e=kn();for(;;)try{if(415582==parseInt(t(229))/1+parseInt(t(233))/2+-parseInt(t(244))/3+parseInt(t(231))/4+parseInt(t(227))/5*(parseInt(t(242))/6)+-parseInt(t(237))/7*(-parseInt(t(240))/8)+parseInt(t(243))/9*(-parseInt(t(224))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const bn={name:"gallery",level:mn(236),start:t=>t[mn(230)]("!!!"),tokenizer(t){const e=mn,n=/^ {0,3}(!{3,}) *\n([\s\S]*?)(?:\n|$)(?: {0,3}\1 *(?=\n|$)|$)/[e(238)](t);if(n){const t=n[2];return{type:"gallery",raw:n[0],text:t,tokens:this[e(241)][e(221)](t)}}},renderer(t){const e=mn;var n;let r=e(235);return r+=e(226),null===(n=t[e(222)])||void 0===n||n[e(223)](t=>{const n=e;var s;t[n(234)]===n(228)&&(null===(s=t.tokens)||void 0===s||s[n(223)](t=>{const e=n;t.type===e(239)&&(r+=dn[e(225)](t.raw))}))}),r+=e(232),r+=e(232),r}},xn=$n;!function(){const t=$n,e=vn();for(;;)try{if(401088==-parseInt(t(180))/1+parseInt(t(161))/2+parseInt(t(173))/3+parseInt(t(177))/4*(-parseInt(t(172))/5)+parseInt(t(189))/6*(-parseInt(t(170))/7)+parseInt(t(162))/8+-parseInt(t(179))/9*(-parseInt(t(194))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const wn={name:xn(196),level:xn(188),start:t=>t[xn(160)]("[^"),tokenizer:t=>{const e=xn,n=/^\[\^([^\]]+)\]/[e(193)](t);if(n){const t=n[1][e(195)]();return{type:e(196),raw:n[0],id:t,tokens:[]}}},renderer:t=>{const e=xn;return e(187)+t.id+'"><sup><a href="#footnote-'+t.id+'">['+t[e(163)]+e(178)}},yn={name:xn(174),level:xn(182),start:t=>t[xn(160)]("[^"),tokenizer(t){const e=xn,n=/^\[\^(.+?)\]: ([\s\S]*?)(?:\n+|$)/[e(193)](t);if(n){const t=n[1][e(195)](),r=n[2][e(195)]();return{type:"footnoteDef",raw:n[0],id:t,text:r,tokens:this[e(168)].inlineTokens(r)}}},renderer(t){const e=xn;var n;const r=' <a href="#footnote-ref-'+t.id+e(165);return'<li class="footnote-def" key="'+t[e(163)]+'" id="footnote-'+t.id+'">'+this[e(192)][e(190)](null!==(n=null==t?void 0:t[e(181)])&&void 0!==n?n:[])+(t[e(159)]?"":r)+"</li>"}},In=t=>{const e={};let n=1;return function t(r){const s=$n;r[s(186)](r=>{const i=s;"footnoteRef"===r.type&&(!(r.id in e)&&(e[r.id]=n,n++),r[i(163)]=e[r.id]),"list"===r[i(175)]&&r.items.forEach(e=>{const n=i;e.tokens&&e[n(181)][n(171)]>0&&t(e[n(181)])}),r[i(175)]===i(169)&&(r[i(197)][i(186)](e=>{const n=i;e[n(181)]&&e[n(181)][n(171)]>0&&t(e[n(181)])}),r[i(176)].forEach(e=>{const n=i;e[n(186)](e=>{const r=n;e[r(181)]&&e[r(181)][r(171)]>0&&t(e[r(181)])})}),r[i(164)].tokens&&r[i(164)][i(181)][i(171)]>0&&t(r.caption[i(181)])),r[i(181)]&&r[i(181)].length>0&&t(r[i(181)])})}(t),function t(r){const s=$n;r[s(186)](r=>{const i=s;r.type===i(174)&&(r[i(159)]=!1,!(r.id in e)&&(e[r.id]=n,n++,r[i(159)]=!0),r[i(163)]=e[r.id]),r.tokens&&r[i(181)][i(171)]>0&&t(r[i(181)])})}(t),t};function $n(t,e){return t-=159,vn()[t]}function vn(){const t=['<span class="footnote-ref" id="footnote-ref-',"inline","102spwbEN","parseInline","join","parser","exec","3340cWSEam","trim","footnoteRef","header","isolated","indexOf","1480372wCxZuz","4366208IbBjvu","number","caption",'"> ⬅ </a>','<ol class="footnote-list">',"key","lexer","table","326837vzfNQa","length","182850GATULF","502614IlkZhe","footnoteDef","type","rows","40gApucC","]</a></sup></span>","4302zSYFyh","52617SJGdHK","tokens","block","</ol>","push","content","forEach"];return(vn=function(){return t})()}const Sn=_n;function An(){const t=["lexer","46800cQVQJH","2030678UeRyRj","1531307bjWTMv","blockTokens","2074212lPXPUS","42sUGDgz","2372220xYmPRa",'<details class="solution ',"block","SOLUTION","~~~[","proof","\n </section></details>","257728jXamYi","typeName","405ktUOcu","stype","12sQkaGI","indexOf","solution","trim","PROOF","parse","tokens","exec","5945928HyRTcw"];return(An=function(){return t})()}var jn;!function(){const t=_n,e=An();for(;;)try{if(799133==parseInt(t(135))/1+-parseInt(t(134))/2+-parseInt(t(138))/3*(parseInt(t(119))/4)+-parseInt(t(139))/5*(-parseInt(t(123))/6)+-parseInt(t(137))/7+parseInt(t(131))/8+parseInt(t(121))/9*(-parseInt(t(133))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(t){const e=_n;t[e(127)]=e(117),t[e(115)]=e(125)}(jn||(jn={}));const zn={[jn[Sn(127)]]:"证明",[jn.SOLUTION]:"解答"};function _n(t,e){return t-=113,An()[t]}const Tn={name:"solution",level:Sn(114),start:t=>{const e=Sn;return t[e(124)](e(116))},tokenizer(t){const e=Sn;var n;const r=/^ {0,3}(~{3,}(?=\[[^\n\]]*\](?:\n|$)))\[([^\],]*)\]\n([\s\S]*?)(?:\n|$)(?: {0,3}\1~* *(?=\n|$)|$)/[e(130)](t);if(r){const t=r[2][e(126)](),s=r[3][e(126)]();return{type:e(125),raw:r[0],stype:t,typeName:null!==(n=zn[t])&&void 0!==n?n:t,text:s,tokens:this[e(132)][e(136)](s)}}},renderer(t){const e=Sn;var n;return e(113)+re(t[e(122)])+'"><summary>'+t[e(120)]+'</summary>\n <section class="content">\n '+this.parser[e(128)](null!==(n=null==t?void 0:t[e(129)])&&void 0!==n?n:[])+e(118)}},Rn=Pn;function qn(){const t=["number","```[","corollary","inline","typeName","lemma",'\n </p>\n <section class="content">\n ',"blockTokens","1255051XHflWO","\n </section> \n</section>","21385428mXNQSy","Lemma","250ZGVDRE","theoremLikeRef","lexer","exec","items","theoremLikeDef","block","7wYCBnz","parse","12VvDtIy",'<a id="theorem-like-ref-',"Axiom","683384sPRExw","13DhjfWJ","definition","Definition","599214bCCSBY","theorem","forEach","length","trim","</b>","</em> )","name","tokens","153KgEthZ","Example",'<section class="theorem-like ',"axiom","581812eiVUrL","1476956DGKass","15DvyAkj","Corollary","type","ttype","endsWith","trimEnd","replace","indexOf",'">\n <p class="title"><b>',"189674WepuHe","Theorem"];return(qn=function(){return t})()}var En;function Pn(t,e){return t-=419,qn()[t]}!function(){const t=Pn,e=qn();for(;;)try{if(990019==parseInt(t(462))/1+parseInt(t(452))/2*(parseInt(t(421))/3)+parseInt(t(442))/4*(parseInt(t(443))/5)+parseInt(t(428))/6*(-parseInt(t(419))/7)+-parseInt(t(424))/8*(-parseInt(t(437))/9)+-parseInt(t(466))/10*(parseInt(t(441))/11)+-parseInt(t(464))/12*(parseInt(t(425))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(t){const e=Pn;t[e(453)]=e(429),t[e(465)]=e(459),t.Corollary=e(456),t[e(423)]=e(440),t.Definition=e(426),t.Example="example"}(En||(En={}));const Ln={[En[Rn(453)]]:"定理",[En.Lemma]:"引理",[En.Corollary]:"推论",[En[Rn(423)]]:"公理",[En.Definition]:"定义",[En.Example]:"例"},Cn={name:Rn(467),level:Rn(457),start:t=>t.indexOf("[~"),tokenizer:t=>{const e=Rn,n=/^\[~([^\]]+)\]/.exec(t);if(n){const t=n[1].trim();return{type:e(467),raw:n[0],id:t,tokens:[]}}},renderer:t=>{const e=Rn;return e(422)+t.id+'" href="#theorem-like-'+t.id+'">'+(t[e(458)]+" "+t[e(454)])[e(448)]()+"</a>"}},Dn={name:Rn(471),level:Rn(472),start(t){const e=Rn;return t[e(450)](e(455))},tokenizer(t){const e=Rn;var n,r,s,i,o,a;const l=/^ {0,3}(`{3,}(?=\[[^\n\]]*\](?:\n|$)))\[([^\],]*),([^\],]*)(?:,([^\],]+))?\]\n([\s\S]*?)(?:\n|$)(?: {0,3}\1 *(?=\n|$)|$)/[e(469)](t);if(l){const t=null===(n=l[2])||void 0===n?void 0:n[e(432)]()[e(449)](/\*$/,""),c=null===(r=l[2])||void 0===r?void 0:r.trim()[e(447)]("*"),u=null===(s=l[3])||void 0===s?void 0:s.trim(),p=null===(i=l[4])||void 0===i?void 0:i.trim(),h=null===(o=l[5])||void 0===o?void 0:o[e(432)]();return{type:e(471),raw:l[0],id:u,name:p,text:h,ttype:t,typeName:null!==(a=Ln[t])&&void 0!==a?a:t,tokens:this[e(468)][e(461)](h),unnumbered:c}}},renderer(t){const e=Rn;var n;return e(439)+re(t[e(446)])+'" id="theorem-like-'+t.id+e(451)+t[e(458)]+e(433)+(t.unnumbered?"":" "+t[e(454)])+(t.name?" ( <em>"+t[e(435)]+e(434):"")+e(460)+this.parser[e(420)](null!==(n=null==t?void 0:t.tokens)&&void 0!==n?n:[])+e(463)}};function Un(){const t=["7727404EUyqPZ","1DhCskH","716268pWzTLM",'<span class="tooltip-description">','" alt="',"5ECiknC",' class="tooltip-trigger">',"id-","parser",'<span class="tooltip-container">\n',"tokens",'<span class="tooltip-image"><img src="',"raw","4779136PyfPxz","parseInline",'"></span>\n',"title","trim",'<span class="tooltip">\n',"</span>\n","description","text","1728276mgoFoy","543114FzqaZL","38803410OunKmv","exec","tooltip","inline",' class="tooltip-toggle">',"2610272DLaYms","3sHxzNa","inlineTokens","lexer",'<input type="checkbox" id=',"imageUrl"];return(Un=function(){return t})()}const Mn=Nn;function Nn(t,e){return t-=234,Un()[t]}!function(){const t=Nn,e=Un();for(;;)try{if(994678==-parseInt(t(235))/1*(parseInt(t(263))/2)+parseInt(t(264))/3*(-parseInt(t(234))/4)+parseInt(t(239))/5*(-parseInt(t(256))/6)+parseInt(t(236))/7+parseInt(t(247))/8+-parseInt(t(257))/9+parseInt(t(258))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Zn=/^>>>([^\r\n]+?) *(?<!\\)\[ *([^\r\n]+?) *\|\s*([^\r\n]+?) *\| *([^\r\n]+?) *(?<!\\)\] *<<</,On={name:Mn(260),level:Mn(261),start:t=>t.indexOf(">>>"),tokenizer(t){const e=Mn,n=Zn[e(259)](t);if(n){const[t,r,s,i,o]=n;return{type:"tooltip",id:e(241)+Vt.md5(t),raw:t,title:s,text:r,imageUrl:o,description:{type:e(255),text:i,raw:i,tokens:this[e(266)][e(261)](i)},tokens:this[e(266)][e(265)](r[e(251)]())}}},renderer(t){const e=Mn;var n;let r=e(243);return r+=e(267)+t.id+e(262),r+="<label for="+t.id+e(240)+this[e(242)][e(248)](null!==(n=t[e(244)])&&void 0!==n?n:[])+"</label>\n",r+=e(252),t[e(268)].trim()&&(r+=e(245)+t[e(268)][e(251)]()+e(238)+t.title.trim()+e(249)),t[e(250)][e(251)]()&&(r+='<span class="tooltip-title">'+t[e(250)][e(251)]()+e(253)),t[e(254)][e(246)][e(251)]()&&(r+=e(237)+this.parser[e(248)]([t[e(254)]])+e(253)),r+="</span>\n</span>\n",r}},Hn=Fn;function Bn(t){const e=Fn;return t[e(267)](/\s*<\s*/g," \\lt ")[e(267)](/\s*>\s*/g,e(274))}function Fn(t,e){return t-=262,Jn()[t]}!function(){const t=Fn,e=Jn();for(;;)try{if(347723==parseInt(t(272))/1+parseInt(t(269))/2+parseInt(t(263))/3+-parseInt(t(281))/4+-parseInt(t(283))/5*(parseInt(t(282))/6)+-parseInt(t(275))/7*(parseInt(t(284))/8)+parseInt(t(276))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Kn={name:Hn(266),level:Hn(270),start:t=>t[Hn(279)]("$"),tokenizer(t){const e=Hn,n=/^\$(?:[^$]|\\\$)+\$(?!\$)/.exec(t);if(n)return{type:e(266),raw:n[0],text:n[0]}},renderer:t=>Bn(t[Hn(271)])},Gn={name:Hn(278),level:Hn(270),start:t=>t[Hn(279)]("\\("),tokenizer(t){const e=Hn,n=t[e(273)](/^\\\(.*?\\\)/);if(n)return{type:e(278),raw:n[0],text:n[0]}},renderer:t=>Bn(t[Hn(271)])},Xn={name:Hn(277),level:Hn(265),start:t=>t[Hn(279)]("$$"),tokenizer(t){const e=Hn,n=t[e(273)](/^\${2}(?:[^$]|\\\$|\$[^$])+\${2}(?!\$)/);if(n)return{type:e(277),raw:n[0],text:n[0][e(268)]()}},renderer(t){const e=Hn;return e(262)+Bn(t[e(271)])+e(280)}};function Jn(){const t=["2676132dGMnEE","234678ZDKfPH","70sVKvio","197016QBOplF",'<p class="paragraph">',"1332198tBkbpy","blockMath2","block","inlineMath","replace","trim","1382778svACKc","inline","text","60677ZCaZcu","match"," \\gt ","7OnGkmt","3535497bYofiH","blockMath","inlineMath2","indexOf","</p>\n"];return(Jn=function(){return t})()}const Yn={name:Hn(264),level:"block",start:t=>t[Hn(279)]("\\["),tokenizer(t){const e=Hn,n=t.match(/^\\\[(?:[^$]|\\\$)+\\\]/);if(n)return{type:e(264),raw:n[0],text:n[0][e(268)]()}},renderer(t){const e=Hn;return e(262)+Bn(t[e(271)])+e(280)}};function Vn(){var t=["260xwHpgd","1724418UJkvDv","123HZQWGB","120855mLxUzc","40577TlHZHb","52012nGWeTU","272JHhPtX","2411464hGlmgH","14643rXhqkN","21188GDEmKb","5lLfeSd"];return(Vn=function(){return t})()}function Wn(t,e){return t-=139,Vn()[t]}function Qn(t,e){return t-=310,tr()[t]}function tr(){const t=["image",' style="',"10594309Vwnrih",'<img src="',"5143zNaTbP","replaceAll","width:","height:",'" alt="',"tokens","50cexKxi","284LIFEuy","3910017HABzOD","type","12109216fdtAlE","35622KonwwW","title","2086paSiWe","text","103465yzbsPf","10618362HZvsZd","href","458zPzmkE"];return(tr=function(){return t})()}!function(){for(var t=Wn,e=Vn();;)try{if(358527==parseInt(t(149))/1+-parseInt(t(139))/2+parseInt(t(147))/3*(-parseInt(t(143))/4)+-parseInt(t(144))/5*(parseInt(t(146))/6)+parseInt(t(148))/7*(parseInt(t(140))/8)+-parseInt(t(142))/9*(-parseInt(t(145))/10)+parseInt(t(141))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(){const t=Qn,e=tr();for(;;)try{if(990712==-parseInt(t(322))/1*(-parseInt(t(317))/2)+-parseInt(t(330))/3+parseInt(t(329))/4*(parseInt(t(314))/5)+parseInt(t(310))/6*(parseInt(t(312))/7)+parseInt(t(332))/8+parseInt(t(315))/9+parseInt(t(328))/10*(-parseInt(t(320))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const er=nr;function nr(t,e){return t-=177,rr()[t]}function rr(){const t=["Contact charles@mathcrowd.cn for commercial licensing. ","8EtvThI","lexInline","8202dKqWBM","getTime","2858030ajEEuF","[mmarked] ℹ️ Running in browser environment, no license required. ","assign","652666cPAnfl","use","40mnxBph","524120ETqXxb","node","Browser usage does not require a license.","parseInline","1SYGswh","For commercial use in Node.js, please configure a license using configureLicense(). ","versions","35YnwthL","Lexer","959761foJeiH","undefined","37392lVjDgx","1550628ICQduX"];return(rr=function(){return t})()}!function(){const t=nr,e=rr();for(;;)try{if(247200==parseInt(t(181))/1*(parseInt(t(198))/2)+-parseInt(t(188))/3*(parseInt(t(191))/4)+-parseInt(t(200))/5*(parseInt(t(193))/6)+parseInt(t(184))/7*(parseInt(t(177))/8)+-parseInt(t(189))/9+-parseInt(t(195))/10+parseInt(t(186))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const sr=new vt;sr[er(199)]({extensions:[Kn,Gn],tokenizer:Object[er(197)]({},Ge),renderer:Object[er(197)]({},ce)});const ir=or;function or(t,e){return t-=398,lr()[t]}!function(){const t=or,e=lr();for(;;)try{if(705536==parseInt(t(416))/1*(-parseInt(t(409))/2)+parseInt(t(399))/3+parseInt(t(400))/4*(parseInt(t(398))/5)+-parseInt(t(401))/6+-parseInt(t(417))/7+-parseInt(t(412))/8+parseInt(t(405))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ar={renderer:Object[ir(421)](Object.assign({},le),ce),tokenizer:Object.assign({},Ge),useNewRenderer:!0,gfm:!0,extensions:[Kn,Gn,Xn,Yn,wn,yn,Dn,Cn,Tn,tn,bn,On],hooks:{preprocess:t=>t,processAllTokens:t=>(t=>{const e=Rn,n={[En[e(453)]]:0,[En[e(465)]]:0,[En[e(444)]]:0,[En.Axiom]:0,[En[e(427)]]:0,[En[e(438)]]:0},r={};return function t(s){const i=e;s[i(430)](e=>{const s=i;e[s(445)]===s(471)&&(e[s(446)]in n?n[e[s(446)]]=n[e.ttype]+1:n[e[s(446)]]=1,e[s(454)]=e.unnumbered?"":n[e[s(446)]],r[e.id]={typeName:e[s(458)],number:e.number}),e[s(436)]&&e[s(436)][s(431)]>0&&t(e[s(436)])})}(t),function t(n){const s=e;n[s(430)](e=>{const n=s;e[n(445)]===n(467)&&e.id in r&&(e[n(454)]=r[e.id][n(454)],e[n(458)]=r[e.id][n(458)]),"list"===e[n(445)]&&e[n(470)][n(430)](e=>{const r=n;e[r(436)]&&e[r(436)][r(431)]>0&&t(e.tokens)}),e[n(436)]&&e[n(436)][n(431)]>0&&t(e[n(436)])})}(t),t})(In(t)),postprocess:t=>(t=>{const e=xn,n=[];return t=t.replaceAll(/<li class="footnote-def" key="(\d+)".*?<\/li>/g,(t,e)=>(n[$n(184)]({key:parseInt(e),content:t}),"")),n.sort((t,n)=>t[e(167)]-n[e(167)]),t=t.replaceAll(/<ol class="footnote-list">.*?<\/ol>/g,()=>""),n[e(171)]>0&&(t+=e(166)+n.map(t=>t[e(185)])[e(191)]("")+e(183)),t})(t)}};function lr(){const t=["[mmarked] ⚠️ No valid license configured for Node.js server-side usage. ","151586ustYNX","For commercial use, please configure a license using configureLicense(). ","Browser usage does not require a license.","4535560YAAJxu","parse","warn","versions","7cWvxsM","7369509qAMcjQ","Contact charles@mathcrowd.cn for commercial licensing. ","[mmarked] ℹ️ Running in browser environment, no license required. ","undefined","assign","20wXrWqT","1081260ByJcpJ","96676Ssaapz","6863340uYOUmW","use","For commercial use in Node.js, please configure a license using configureLicense(). ","lexer","31883517TvdKUt","getTime","node"];return(lr=function(){return t})()}function cr(t,e){return t-=113,ur()[t]}function ur(){var t=["5107704weiFmE","302101RItxuz","9728PKPZQr","9kLgFSu","122730YcXLKt","108AwRhib","675340TaejVY","65MqhlmI","35637aHQoOt","3686210xzEmXb","2UPjPtr","1484eNMMIP"];return(ur=function(){return t})()}dn[ir(402)](ar),function(){for(var t=cr,e=ur();;)try{if(213575==-parseInt(t(121))/1*(parseInt(t(118))/2)+-parseInt(t(116))/3*(parseInt(t(113))/4)+parseInt(t(115))/5*(parseInt(t(124))/6)+parseInt(t(119))/7*(-parseInt(t(122))/8)+parseInt(t(123))/9*(parseInt(t(114))/10)+parseInt(t(117))/11+parseInt(t(120))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const pr=mr;function hr(){const t=["\\unicode{x25B1}","2703879EOLskG","none","18230535BVXjJP","1489072AfiPiV","48775GPOOxr","708pBJvdz","3673271Ryovnl","clear","950081AIzgqi","render","2002332AdZpQo","error","innerHTML","4cKuPeF","body","document"];return(hr=function(){return t})()}!function(){const t=mr,e=hr();for(;;)try{if(662784==-parseInt(t(467))/1+-parseInt(t(469))/2+parseInt(t(476))/3*(-parseInt(t(472))/4)+-parseInt(t(463))/5*(-parseInt(t(464))/6)+parseInt(t(465))/7+-parseInt(t(462))/8+parseInt(t(461))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const fr=a.liteAdaptor({fontSize:13});l.RegisterHTMLHandler(fr);const dr=new u.TeX({packages:c.AllPackages,inlineMath:[["$","$"],["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],macros:{parallelogram:pr(475)}}),gr=new h.SVG({fontCache:pr(460)});function mr(t,e){return t-=460,hr()[t]}function kr(t,e){return t-=265,br()[t]}function br(){var t=["112524jpZQrS","596590qwnRvF","13080712KRswuo","9ZZuUmD","236769NHbYJA","7285260qmfSgj","44256EVNDdX","1738yAKznG","4jxMLft","6834765aGjpoR","705SCwrTg","92dDuclj"];return(br=function(){return t})()}function xr(){var t=["977273PaobCb","115duuVpC","111044bOzMWs","14UnSNut","1854fjzikH","150fCtDRZ","482043rTXUVN","9729684VPlYwn","354018mNYSnD","5192QstKNU","90KsAgSH","191659Qjsnip"];return(xr=function(){return t})()}function wr(t,e){return t-=432,xr()[t]}!function(){for(var t=kr,e=br();;)try{if(993767==parseInt(t(268))/1*(-parseInt(t(273))/2)+-parseInt(t(276))/3*(-parseInt(t(271))/4)+parseInt(t(270))/5*(-parseInt(t(266))/6)+-parseInt(t(269))/7+parseInt(t(274))/8*(parseInt(t(275))/9)+-parseInt(t(265))/10+-parseInt(t(267))/11*(-parseInt(t(272))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(){for(var t=wr,e=xr();;)try{if(703781==parseInt(t(438))/1+-parseInt(t(442))/2*(-parseInt(t(433))/3)+-parseInt(t(441))/4*(-parseInt(t(440))/5)+parseInt(t(437))/6*(parseInt(t(435))/7)+parseInt(t(436))/8*(parseInt(t(443))/9)+-parseInt(t(432))/10*(parseInt(t(439))/11)+-parseInt(t(434))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),exports.clearValidationCache=function(){const t=zt;Rt[t(348)](),qt=!1,console[t(350)](t(363))},exports.configureLicense=Ht,exports.getLicenseConfig=function(){return Tt},exports.getWarningIfNeeded=Ot,exports.isLicensed=Kt,exports.renderMarkdown=t=>{const e=ir;Zt("renderMarkdown"),Kt()||(typeof process!==e(420)&&null!=process[e(415)]&&null!=process.versions[e(407)]?console[e(414)](e(408)+e(410)+e(418)+e(411)):console[e(414)](e(419)+e(403)+"Contact charles@mathcrowd.cn for commercial licensing."));const n=new Date,r=In(dn[e(404)](t));let s=dn[e(413)](t);const i=new Date,o=Ot();return o&&(s=o+s),{parsed:s,lexed:r,time:i[e(406)]()-n.getTime()}},exports.renderMarkdownCompact=t=>{const e=er;if(Zt("renderMarkdownCompact"),!Kt()){const t=typeof process!==e(187)&&null!=process[e(183)]&&null!=process[e(183)][e(178)];console.warn(t?"[mmarked] ⚠️ No valid license configured for Node.js server-side usage. For commercial use, please configure a license using configureLicense(). "+e(190)+e(179):e(196)+e(182)+"Contact charles@mathcrowd.cn for commercial licensing.")}const n=new Date,r=sr[e(185)][e(192)](t,sr.defaults),s=sr[e(180)](t),i=new Date;let o=function(t,e){const n=Qn;let r=t;for(const t of e){const e=Wt(t[n(316)]);if(null===e)continue;let s=n(321)+e+n(326)+t[n(313)]+'"';if(t[n(311)]){const{text:e,width:r,height:i}=se(t.title);e&&(s+=' title="'+e+'"'),(r||i)&&(s+=n(319),r&&(s+=n(324)+r+"px;"),i&&(s+=n(325)+i+"px;"),s+='"')}s+=">";const i='<img src="'+e+n(326)+t[n(313)]+'"'+(t[n(311)]?' title="'+t.title+'"':"")+">";r=r[n(323)](i,s)}return r}(s,function t(e){const n=Qn,r=[];for(const s of e)s[n(331)]===n(318)&&r.push(s),n(327)in s&&Array.isArray(s[n(327)])&&r.push(...t(s[n(327)]));return r}(r));const a=Ot();return a&&(o=a+o),{parsed:o,lexed:r,time:i[e(194)]()-n[e(194)]()}},exports.resetUsageStats=function(){const t=zt;Ct[t(391)]=0,Ct[t(340)]=0,Ct[t(337)]=0,Ct[t(378)]=Date.now(),Ct[t(365)]=Date[t(387)](),Ct[t(352)]=void 0,Ct[t(357)]=_t(),Tt=null,Rt[t(348)](),qt=!1,console[t(350)](t(388)),console[t(350)](t(363))},exports.setUnlicensedWarningInterval=function(t){exports.UNLICENSED_WARNING_INTERVAL=t},exports.stopUsageTracking=function(){Dt&&(clearInterval(Dt),Dt=null)},exports.tex2svg=t=>{const e=pr;try{const n=p.mathjax[e(474)](t,{InputJax:dr,OutputJax:gr});n[e(468)]();const r=fr[e(471)](fr[e(473)](n[e(474)]));return n[e(466)](),r}catch(n){return console[e(470)](n),t}},exports.trackFunctionCall=Zt,exports.validateLicense=Ft;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|