@mathcrowd/mmarked 3.1.3 → 3.1.4
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 +15 -0
- package/README.md +27 -1
- package/README.zh.md +27 -1
- 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 +9 -2
- package/dist/index.mjs +1 -1
- package/package.json +3 -2
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t from"crypto";import e from"buffer";import n from"highlight.js";import r from"highlight.js/lib/languages/javascript";import s from"highlight.js/lib/languages/json";import i from"highlight.js/lib/languages/latex";import o from"highlight.js/lib/languages/python";import{liteAdaptor as a}from"mathjax-full/js/adaptors/liteAdaptor.js";import{RegisterHTMLHandler as l}from"mathjax-full/js/handlers/html.js";import{AllPackages as c}from"mathjax-full/js/input/tex/AllPackages.js";import{TeX as u}from"mathjax-full/js/input/tex.js";import{mathjax as p}from"mathjax-full/js/mathjax.js";import{SVG as h}from"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,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ 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,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"),blockquoteBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}>`)},x=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,w=/ {0,3}(?:[*+-]|\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(),z=m(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,w).getRegex(),j="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]*?(?:-->|$))/,R=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",j).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),P=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[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",j).getRegex(),T={blockquote:m(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",P).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:R,lheading:I,list:z,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:P,table:g,text:/^[^\n]+/},q=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[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",j).getRegex(),E={...T,lheading:$,table:q,paragraph:m(v).replace("hr",x).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",q).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",j).getRegex()},D={...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",I).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},C=/^( {2,}|\\)\n(?!\s*$)/,O=/[\p{P}\p{S}]/u,L=/[\s\p{P}\p{S}]/u,M=/[^\s\p{P}\p{S}]/u,N=m(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,L).getRegex(),Z=/(?!~)[\p{P}\p{S}]/u,U=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(),B=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,V=m(B,"u").replace(/punct/g,O).getRegex(),X=m(B,"u").replace(/punct/g,Z).getRegex(),H="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",W=m(H,"gu").replace(/notPunctSpace/g,M).replace(/punctSpace/g,L).replace(/punct/g,O).getRegex(),J=m(H,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,Z).getRegex(),F=m("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,M).replace(/punctSpace/g,L).replace(/punct/g,O).getRegex(),G=m(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,O).getRegex(),K=m("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,M).replace(/punctSpace/g,L).replace(/punct/g,O).getRegex(),Y=m(/\\(punct)/,"gu").replace(/punct/g,O).getRegex(),Q=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(),tt=m(_).replace("(?:--\x3e|$)","--\x3e").getRegex(),et=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",tt).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),nt=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,rt=m(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",nt).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),st=m(/^!?\[(label)\]\[(ref)\]/).replace("label",nt).replace("ref",S).getRegex(),it=m(/^!?\[(ref)\](?:\[\])?/).replace("ref",S).getRegex(),ot=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,at={t:g,anyPunctuation:Y,autolink:Q,blockSkip:U,br:C,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:g,delLDelim:g,delRDelim:g,emStrongLDelim:V,emStrongRDelimAst:W,emStrongRDelimUnd:F,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:rt,nolink:it,punctuation:N,reflink:st,reflinkSearch:m("reflink|nolink(?!\\()","g").replace("reflink",st).replace("nolink",it).getRegex(),tag:et,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:g},lt={...at,link:m(/^!?\[(label)\]\((.*?)\)/).replace("label",nt).getRegex(),reflink:m(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",nt).getRegex()},ct={...at,emStrongRDelimAst:J,emStrongLDelim:X,delLDelim:G,delRDelim:K,url:m(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",ot).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",ot).getRegex()},ut={...ct,br:m(C).replace("{2,}","*").getRegex(),text:m(ct.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},pt={normal:T,gfm:E,pedantic:D},ht={normal:at,gfm:ct,breaks:ut,pedantic:lt},ft={"&":"&","<":"<",">":">",'"':""","'":"'"},dt=t=>ft[t];function gt(t,e){if(e){if(b.escapeTest.test(t))return t.replace(b.escapeReplace,dt)}else if(b.escapeTestNoEncode.test(t))return t.replace(b.escapeReplaceNoEncode,dt);return t}function mt(t){try{t=encodeURI(t).replace(b.percentDecode,"%")}catch{return null}return t}function kt(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 bt(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 xt(t,e=0){let n=e,r="";for(let e of t)if("\t"===e){let t=4-n%4;r+=" ".repeat(t),n+=t}else r+=e,n++;return r}function wt(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 yt=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:bt(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=bt(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:bt(e[0],"\n")}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let t=bt(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=xt(e[2].split("\n",1)[0],e[1].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=l.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),h=this.rules.other.blockquoteBeginRegex(p);for(;t;){let f,d=t.split("\n",1)[0];if(c=d,this.options.pedantic?(c=c.replace(this.rules.other.listReplaceNesting," "),f=c):f=c.replace(this.rules.other.tabCharGlobal," "),s.test(c)||i.test(c)||o.test(c)||h.test(c)||e.test(c)||n.test(c))break;if(f.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"+f.slice(p);u=!c.trim(),r+=d+"\n",t=t.substring(d.length+1),l=f.slice(p)}}s.loose||(o?s.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(o=!0)),s.items.push({type:"list_item",raw:r,task:!!this.options.gfm&&this.rules.other.listIsTask.test(a),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 of s.items){if(this.lexer.state.top=!1,t.tokens=this.lexer.blockTokens(t.text,[]),t.task){if(t.text=t.text.replace(this.rules.other.listReplaceTask,""),"text"===t.tokens[0]?.type||"paragraph"===t.tokens[0]?.type){t.tokens[0].raw=t.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),t.tokens[0].text=t.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let t=this.lexer.inlineQueue.length-1;t>=0;t--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[t].src)){this.lexer.inlineQueue[t].src=this.lexer.inlineQueue[t].src.replace(this.rules.other.listReplaceTask,"");break}}let e=this.rules.other.listTaskCheckbox.exec(t.raw);if(e){let n={type:"checkbox",raw:e[0]+" ",checked:"[ ]"!==e[0]};t.checked=n.checked,s.loose?t.tokens[0]&&["paragraph","text"].includes(t.tokens[0].type)&&"tokens"in t.tokens[0]&&t.tokens[0].tokens?(t.tokens[0].raw=n.raw+t.tokens[0].raw,t.tokens[0].text=n.raw+t.tokens[0].text,t.tokens[0].tokens.unshift(n)):t.tokens.unshift({type:"paragraph",raw:n.raw,text:n.raw,tokens:[n]}):t.tokens.unshift(n)}}if(!s.loose){let e=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 of s.items){t.loose=!0;for(let e of t.tokens)"text"===e.type&&(e.type="paragraph")}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=kt(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(kt(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){let t=e[1].trim();return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:t,tokens:this.lexer.inline(t)}}}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=bt(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)),wt(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 wt(n,t,n[0],this.lexer,this.rules)}}emStrong(t,e,n=""){let r=this.rules.inline.emStrongLDelim.exec(t);if(r&&(r[1]||r[2]||r[3]||r[4])&&(!r[4]||!n.match(this.rules.other.unicodeAlphaNumeric))&&(!r[1]&&!r[3]||!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,e,n=""){let r=this.rules.inline.delLDelim.exec(t);if(r&&(!r[1]||!n||this.rules.inline.punctuation.exec(n))){let n,s,i=[...r[0]].length-1,o=i,a=this.rules.inline.delRDelim;for(a.lastIndex=0,e=e.slice(-1*t.length+i);null!=(r=a.exec(e));){if(n=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!n||(s=[...n].length,s!==i))continue;if(r[3]||r[4]){o+=s;continue}if(o-=s,o>0)continue;s=Math.min(s,s+o);let e=[...r[0]][0].length,a=t.slice(0,i+r.index+e+s),l=a.slice(i,-i);return{type:"del",raw:a,text:l,tokens:this.lexer.inlineTokens(l)}}}}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}}},It=class t{tokens;options;state;inlineQueue;tokenizer;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||f,this.options.tokenizer=this.options.tokenizer||new yt,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:pt.normal,inline:ht.normal};this.options.pedantic?(e.block=pt.pedantic,e.inline=ht.pedantic):this.options.gfm&&(e.block=pt.gfm,e.inline=this.options.breaks?ht.breaks:ht.gfm),this.tokenizer.rules=e}static get rules(){return{block:pt,inline:ht}}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.tokenizer.lexer=this,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=[]){this.tokenizer.lexer=this;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,r,o)){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}},$t=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-'+gt(r)+'">'+(n?s:gt(s,!0))+"</code></pre>\n":"<pre><code>"+(n?s:gt(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){return`<li>${this.parser.parse(t.tokens)}</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>${gt(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=mt(t);if(null===s)return r;let i='<a href="'+(t=s)+'"';return e&&(i+=' title="'+gt(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=mt(t);if(null===s)return gt(n);let i=`<img src="${t=s}" alt="${gt(n)}"`;return e&&(i+=` title="${gt(e)}"`),i+=">",i}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:gt(t.text)}},vt=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""}checkbox({raw:t}){return t}},St=class t{options;renderer;textRenderer;constructor(t){this.options=t||f,this.options.renderer=this.options.renderer||new $t,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new vt}static parse(e,n){return new t(n).parse(e)}static parseInline(e,n){return new t(n).parseInline(e)}parse(t){this.renderer.parser=this;let e="";for(let n=0;t.length>n;n++){let r=t[n];if(this.options.extensions?.renderers?.[r.type]){let t=r,n=this.options.extensions.renderers[t.type].call({parser:this},t);if(!1!==n||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(t.type)){e+=n||"";continue}}let s=r;switch(s.type){case"space":e+=this.renderer.space(s);break;case"hr":e+=this.renderer.hr(s);break;case"heading":e+=this.renderer.heading(s);break;case"code":e+=this.renderer.code(s);break;case"table":e+=this.renderer.table(s);break;case"blockquote":e+=this.renderer.blockquote(s);break;case"list":e+=this.renderer.list(s);break;case"checkbox":e+=this.renderer.checkbox(s);break;case"html":e+=this.renderer.html(s);break;case"def":e+=this.renderer.def(s);break;case"paragraph":e+=this.renderer.paragraph(s);break;case"text":e+=this.renderer.text(s);break;default:{let t='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(t),"";throw Error(t)}}}return e}parseInline(t,e=this.renderer){this.renderer.parser=this;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"checkbox":n+=e.checkbox(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}},At=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?It.lex:It.lexInline}provideParser(){return this.block?St.parse:St.parseInline}},zt=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=St;Renderer=$t;TextRenderer=vt;Lexer=It;Tokenizer=yt;Hooks=At;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 $t(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 yt(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 At;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]=At.passThroughHooks.has(n)?t=>{if(this.defaults.async&&At.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 It.lex(t,e??this.defaults)}parser(t,e){return St.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?It.lex:It.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?St.parse:St.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?It.lex:It.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?St.parse:St.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>"+gt(n.message+"",!0)+"</pre>";return e?Promise.resolve(t):t}if(e)return Promise.reject(n);throw n}}},jt=new zt;function _t(t,e){return jt.parse(t,e)}function Rt(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())})}_t.options=_t.setOptions=function(t){return jt.setOptions(t),d(_t.defaults=jt.defaults),_t},_t.getDefaults=function(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},_t.defaults=f,_t.use=function(...t){return jt.use(...t),d(_t.defaults=jt.defaults),_t},_t.walkTokens=function(t,e){return jt.walkTokens(t,e)},_t.parseInline=jt.parseInline,_t.Parser=St,_t.parser=St.parse,_t.Renderer=$t,_t.TextRenderer=vt,_t.Lexer=It,_t.lexer=It.lex,_t.Tokenizer=yt,_t.Hooks=At,_t.parse=_t,"function"==typeof SuppressedError&&SuppressedError;const Pt=Lt;function Tt(){const t=Lt;if(!Vt())return t(493);try{if(typeof require!==t(467)){const e=require("crypto");if(e[t(479)])return e[t(479)]()}return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const n=t,r=16*Math[n(529)]()|0;return("x"===e?r:3&r|8)[n(511)](16)})}catch(e){return t(503)+Date[t(466)]()+"-"+Math.random().toString(36)[t(497)](2,11)}}function qt(){const t=["get","[mmarked] License validation failed:","browser-session","message","154ETutBD","344405pUMoBU","slice","stringify","lastReportedAt","2125368KvJdgR","renderMarkdown","application/json","session-","timestamp","substring","warn",'">\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>',"totalCalls","error","[mmarked] ⚠️ Remote license validation not supported on Node.js ","toString","2064245UjqUMd","nodeVersion","[mmarked] Remote validation failed:","apiKey","27FCyeVi","[mmarked] Initial usage reporting error:","current version","assign","[mmarked] Failed to report usage statistics:","1043492eVSDXD","valid","[mmarked] Usage statistics reported successfully","renderMarkdownCalls","debug","firstUsedAt","renderMarkdownCompactCalls","[mmarked] Usage reporting error:","random","renderMarkdownCompact","https://api.mathcrowd.cn/validate-license","[mmarked] License validation error:","now","undefined","log","2.0.3","lastUsedAt","[mmarked] Validation cache cleared","[mmarked] License configured successfully","catch","clear","then","647144saTNDz","89292lasUYn","json","randomUUID",'<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="',"[mmarked] Usage stats reset","versions","Network error during validation","Validation failed: ","Requires Node.js 18+ for fetch API support. ","node","result","set","statusText","837585BleWwV"];return(qt=function(){return t})()}!function(){const t=Lt,e=qt();for(;;)try{if(232803==-parseInt(t(496))/1+-parseInt(t(476))/2+parseInt(t(490))/3+-parseInt(t(521))/4+parseInt(t(512))/5+parseInt(t(477))/6*(-parseInt(t(495))/7)+parseInt(t(500))/8*(parseInt(t(516))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();let Et=1e3;function Dt(t){Et=t}let Ct=null;const Ot=new Map;function Lt(t,e){return t-=465,qt()[t]}let Mt=!1;const Nt=36e5,Zt=Pt(531),Ut={totalCalls:0,renderMarkdownCalls:0,renderMarkdownCompactCalls:0,firstUsedAt:Date[Pt(466)](),lastUsedAt:Date[Pt(466)](),sessionId:Tt()};let Bt=null;function Vt(){const t=Pt;return typeof process!==t(467)&&null!=process[t(482)]&&null!=process.versions.node}function Xt(){return Rt(this,void 0,void 0,function*(){const t=Lt;var e;if(!Vt())return;const n=Ct;if(!n||!n.apiKey)return;const r=Date.now();if(!Ut[t(499)]||r-Ut.lastReportedAt>=18e5)try{const s=Object[t(519)](Object[t(519)]({},Ut),{apiKey:n[t(515)],timestamp:r,nodeVersion:null===(e=process.versions)||void 0===e?void 0:e.node});typeof fetch!==t(467)&&(yield fetch("https://api.mathcrowd.cn/report-usage",{method:"POST",headers:{"Content-Type":t(502)},body:JSON.stringify(s)}),Ut[t(499)]=r,console[t(525)](t(523)))}catch(e){console[t(525)](t(520),e)}})}function Ht(){Bt&&(clearInterval(Bt),Bt=null)}function Wt(t){const e=Pt;var n;Vt()&&(Ut[e(508)]++,Ut.lastUsedAt=Date[e(466)](),t===e(501)?Ut.renderMarkdownCalls++:t===e(530)&&Ut[e(527)]++,(null==Ct?void 0:Ct[e(515)])&&(Ut[e(515)]=Ct.apiKey,Ut[e(513)]=null===(n=process.versions)||void 0===n?void 0:n[e(486)]))}function Jt(){const t=Pt;return!Vt()||Yt()?"":Ut[t(508)]>0&&Ut[t(508)]%Et===0?function(){const t=Pt,e=Date[t(466)](),n=Math[t(529)]()[t(511)](36)[t(505)](2,9);return t(480)+n+'" data-timestamp="'+e+t(507)}():""}function Ft(t){const e=Pt;Ct=t,function(){const t=Pt;Vt()&&Ct&&Ct[t(515)]&&(Bt&&clearInterval(Bt),Bt=setInterval(()=>{const e=t;Xt()[e(473)](t=>{console.debug(e(528),t)})},36e5),Xt()[t(473)](e=>{const n=t;console[n(525)](n(517),e)}))}(),console[e(468)](e(472))}function Gt(){return Ct}function Kt(){return Rt(this,void 0,void 0,function*(){const t=Lt,e=Ct;if(!e||!e.apiKey)return{valid:!1,message:"No license configured. Please call configureLicense() with your API key."};const{apiKey:n}=e,r=Ot[t(491)](n);if(r&&Date.now()-r.timestamp<Nt)return{valid:r[t(487)]};const s=yield function(t,e){return Rt(this,void 0,void 0,function*(){const n=Lt;var r;try{if("undefined"==typeof fetch){const t=null===(r=process.versions)||void 0===r?void 0:r.node;return console[n(506)](n(510)+(t||n(518))+". "+n(485)+"Either upgrade to Node.js 18+, use a custom validator, or configure offline mode."),{valid:!1,message:"Fetch API not available. Requires Node.js 18+ or use custom validator."}}const s=yield fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON[n(498)]({apiKey:t,product:"mmarked",version:n(469)})});return s.ok?yield s[n(478)]():{valid:!1,message:n(484)+s[n(489)]}}catch(t){return console[n(506)](n(514),t),{valid:!1,message:n(483)}}})}(n,Zt);return Ot[t(488)](n,{result:s[t(522)],timestamp:Date[t(466)]()}),s})}function Yt(){const t=Pt;if(!Vt())return!1;!function(){const t=Pt;if(!Vt())return;if(null==Ct?void 0:Ct[t(515)])return;const e=process.env.MMARKED_API_KEY;e&&Ft({apiKey:e})}();const e=Ct;if(!e||!e.apiKey)return!1;const{apiKey:n}=e,r=Ot[t(491)](n);return r?(Date.now()-r[t(504)]>=Nt&&Kt()[t(475)](e=>{const n=t;return!e[n(522)]&&console.warn(n(492),e.message),e})[t(473)](e=>{const n=t;throw console[n(509)](n(465),e),e}),r[t(487)]):(!Mt&&(Mt=!0,Kt()[t(475)](e=>{const n=t;return!e[n(522)]&&console[n(506)](n(492),e[n(494)]),e})[t(473)](e=>{throw console.error(t(465),e),e})),!0)}function Qt(){const t=Pt;Ot.clear(),Mt=!1,console[t(468)](t(471))}function te(){const t=Pt;Ut.totalCalls=0,Ut[t(524)]=0,Ut.renderMarkdownCompactCalls=0,Ut[t(526)]=Date.now(),Ut[t(470)]=Date[t(466)](),Ut[t(499)]=void 0,Ut.sessionId=Tt(),Ct=null,Ot[t(474)](),Mt=!1,console[t(468)](t(481)),console[t(468)](t(471))}var ee,ne,re="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},se={exports:{}},ie=(ee||(ee=1,ne=se,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=re:i&&(s=self);var a,l=!s.JS_MD5_NO_COMMON_JS&&ne.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?ne.exports=v:s.md5=v}()),se.exports);function oe(){const t=["replace","string","trim","class-","length","1177119EmVXje","slice","versions","indexOf","undefined","4854305CwwxUb","splice","29251440yPtLGn","7441021oxXQfF","pop","650KiXOiD","source","match","push","2006364sbMLTW","1901WzGVbQ","node","6GVgDYj","charAt","462560NEOxvg"];return(oe=function(){return t})()}function ae(t){const e=ce;try{t=encodeURI(t)[e(154)](/%25/g,"%")}catch(t){return null}return t}!function(){const t=ce,e=oe();for(;;)try{if(547073==parseInt(t(149))/1*(-parseInt(t(144))/2)+parseInt(t(159))/3+-parseInt(t(148))/4+parseInt(t(164))/5*(-parseInt(t(151))/6)+-parseInt(t(142))/7+parseInt(t(153))/8+parseInt(t(141))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const le={exec:()=>null};function ce(t,e){return t-=140,oe()[t]}function ue(t,e){const n=ce;let r=typeof t===n(155)?t:t[n(145)];e=e||"";const s={replace:(t,e)=>{const i=n;let o=typeof e===i(155)?e:e[i(145)];return o=o[i(154)](/(^|[^[])\^/g,"$1"),r=r[i(154)](t,o),s},getRegex:()=>RegExp(r,e)};return s}const pe=t=>{const e=ce;return/^[a-z][\w-]*$/i.test(t)?t:e(157)+ie.md5(t)};function he(t){const e=ce,n=t[e(146)](/^(.*?)(?:\s*=(\d*)(?:x(\d+))?)?$/);if(n){const t=n[1][e(156)]();return{text:0===t.length?null:t,width:n[2]?parseInt(n[2],10):null,height:n[3]?parseInt(n[3],10):null}}return{text:null,width:null,height:null}}function fe(t,e){const n=ce,r=t[n(154)](/\|/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(156)]()&&r.shift(),r.length>0&&!r[r[n(158)]-1].trim()&&r[n(143)](),e)if(r[n(158)]>e)r[n(140)](e);else for(;r[n(158)]<e;)r[n(147)]("");for(;s<r[n(158)];s++)r[s]=r[s][n(156)]()[n(154)](/\\\|/g,"|");return r}!function(){const t=me,e=ke();for(;;)try{if(178022==parseInt(t(231))/1+parseInt(t(225))/2+parseInt(t(238))/3+parseInt(t(217))/4*(parseInt(t(248))/5)+-parseInt(t(215))/6+parseInt(t(224))/7+parseInt(t(234))/8*(-parseInt(t(247))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const de={paragraph({tokens:t}){const e=me;if(1===t.length&&t[0][e(202)]===e(241)){const n=t[0];if(null===ae(n[e(240)]))return n[e(218)];let r=e(235);if(r+=e(233),r+=this[e(241)](n)+"\n",r+="</section>\n",n[e(221)]){const{text:t}=he(n[e(221)]);t&&(r+="<figcaption>"+t+e(242))}return r+=e(219),r}return'<p class="paragraph">'+this.parser[e(209)](t)+"</p>\n"},list(t){const e=me,n=t[e(206)],r=t[e(216)];let s="";for(let n=0;n<t[e(211)].length;n++)s+=this.listitem(t.items[n]);const i=n?"ol":"ul";return"<"+i+(n&&1!==r?e(246)+r+'"':"")+' class="md-list">\n'+s+"</"+i+">\n"},listitem(t){const e=me;let n="";if(t[e(249)]){const r=this.checkbox({type:e(204),raw:"",checked:!!t[e(223)]});t[e(203)]?t[e(205)].length>0&&t[e(205)][0].type===e(230)?(t[e(205)][0].text=r+" "+t[e(205)][0][e(218)],t[e(205)][0][e(205)]&&t[e(205)][0][e(205)].length>0&&t.tokens[0][e(205)][0][e(202)]===e(218)&&(t[e(205)][0][e(205)][0][e(218)]=r+" "+t[e(205)][0][e(205)][0][e(218)])):t[e(205)][e(222)]({type:e(218),raw:r+" ",text:r+" "}):n+=r+" "}return n+=this.parser[e(208)](t[e(205)]),e(227)+n+e(212)},table(t){const e=me;let n="",r="";for(let n=0;n<t[e(245)][e(237)];n++)r+=this[e(228)](t.header[n]);n+=this[e(199)]({text:r});let s="";for(let n=0;n<t[e(201)][e(237)];n++){const i=t[e(201)][n];r="";for(let t=0;t<i[e(237)];t++)r+=this[e(228)](i[t]);s+=this[e(199)]({text:r})}s&&(s=e(220)+s+e(232));let i="";return t[e(200)].text&&(i=e(226)+this.parser[e(209)]([t[e(200)]])+e(242)),e(235)+e(213)+e(210)+n+e(214)+s+e(236)+i+e(219)},image(t){const e=me,n=ae(t[e(240)]);if(null===n)return t.text;let r=e(243)+n+'" alt="'+t[e(218)]+'"';if(t[e(221)]){const{text:n,width:s,height:i}=he(t[e(221)]);n&&(r+=' title="'+n+'"'),(s||i)&&(r+=e(229),s&&(r+=e(207)+s+e(244)),i&&(r+=e(239)+i+e(244)),r+='"')}return r+=">",r}},ge={};function me(t,e){return t-=199,ke()[t]}function ke(){const t=["</figcaption>\n",'<img src="',"px;","header",' start="',"9ZcMQVm","10VHNklM","task","tablerow","caption","rows","type","loose","checkbox","tokens","ordered","width:","parse","parseInline","<thead>\n","items","</li>\n","<table>\n","</thead>\n","459354MMhzxC","start","56164gVCnrD","text","</figure>\n","<tbody>","title","unshift","checked","2123485LAZRNk","308686sEhFkw","<figcaption>",'<li class="md-list-item">',"tablecell",' style="',"paragraph","71361BfbSBB","</tbody>\n",'<section class="img-container">\n',"5082712JiamzD","<figure>\n","</table>\n","length","998337wngFVb","height:","href","image"];return(ke=function(){return t})()}const be=we;function xe(){const t=["getRegex","|^<![a-zA-Z]+\\s[\\s\\S]*?>","|[^punct\\s](\\*+)(?=[^punct\\s])","html","href","scheme","|^<\\?[\\s\\S]*?\\?>"," {0,3}(?<!>)>(?!>)","^ *([^\\n ].*)\\n"," {0,3}#{1,6}(?:\\s|$)","blockquote","145lrEiYu","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)","|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])","|^</[a-zA-Z][\\w:-]*\\s*>","6683192ZymVrF","fences","assign","list","reflink","^comment","|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])","attribute","|(?!_)[punct](_+)(?!_)(?=[punct])","|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>","|[^*]+(?=[^*])"," {0,3}(?:[*+-]|1[.)]) ","|[\\s](_+)(?!_)(?=[punct])","ref","|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)","|(?!_)[punct](_+)(?=[\\s]|$)","title","|<![A-Z][\\s\\S]*?(?:>\\n*|$)","|(?!\\*)[punct](\\*+)(?=[\\s]|$)","|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n","52890jBbVzc","^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)","|<\\?[\\s\\S]*?(?:\\?>\\n*|$)","email","468wpHOZQ","((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html|\\|\\|[^\\|]+\\|\\|).*(?:\\n|$))*)","947321GlsFfZ","tag","label","paragraph","address|article|aside|base|basefont|blockquote|body|caption","|[^_]+(?=[^_])","49930GJXXgW","|tr|track|ul"," {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)\\n","(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)","\\p{P}\\p{S}","replace","3LUeelm"," {0,3}>","heading","|lheading","table","comment","1858598lUIwDB","3936457xZEpoE","(?: {4}| {0,3}\t)[^\\n]","code","|comment[^\\n]*(\\n+|$)","1441740NdbRUx","|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)","|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)","--\x3e"];return(xe=function(){return t})()}function we(t,e){return t-=338,xe()[t]}!function(){const t=we,e=xe();for(;;)try{if(620680==parseInt(t(400))/1+parseInt(t(349))/2*(-parseInt(t(343))/3)+parseInt(t(354))/4+-parseInt(t(369))/5*(-parseInt(t(394))/6)+parseInt(t(350))/7+-parseInt(t(373))/8+parseInt(t(398))/9*(parseInt(t(406))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ye=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Ie=/(?:[*+-]|\d{1,9}[.)])/,$e=ue(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Ie)[be(342)](/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/)[be(342)](/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/)[be(342)](/html/g,/ {0,3}<[^\n>]+>\n/)[be(358)](),ve=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Se=/(?!\s*\])(?:\\.|[^[\]\\])+/,Ae=ue(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s]\S*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/)[be(342)](be(402),Se).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),ze=ue(/^( {0,3}bull)([ \t][^\n]+)?(?:\n|$)/).replace(/bull/g,Ie)[be(358)](),je=be(404)+"|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"+be(392)+be(338),_e=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Re=ue("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)"+be(353)+be(396)+be(390)+be(355)+"|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)"+be(356)+"|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",_e).replace(be(401),je)[be(342)](be(380),/ +[a-z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/i)[be(358)](),Pe=ue(ve).replace("hr",ye)[be(342)](be(345),be(367))[be(342)](be(346),"")[be(342)]("|table","")[be(342)](be(368),be(344))[be(342)](be(374),be(393))[be(342)](be(376),be(384))[be(342)](be(361),be(370))[be(342)](be(401),je).getRegex(),Te={blockquote:ue(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/)[be(342)](be(403),Pe)[be(358)](),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:Ae,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:ye,html:Re,lheading:$e,list:ze,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:Pe,table:le,text:/^[^\n]+/},qe=ue(be(366)+" {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)"+be(340)).replace("hr",ye)[be(342)](be(345),be(367)).replace(be(368),be(344)).replace(be(352),"(?: {4}| {0,3}\t)[^\\n]")[be(342)]("fences",be(393))[be(342)](be(376)," {0,3}(?:[*+-]|1[.)]) ")[be(342)](be(361),be(370)).replace(be(401),je)[be(358)](),Ee=Object.assign(Object[be(375)]({},Te),{table:qe,paragraph:ue(ve)[be(342)]("hr",ye)[be(342)](be(345),be(367))[be(342)](be(346),"")[be(342)](be(347),qe)[be(342)](be(368)," {0,3}>").replace(be(374),be(393))[be(342)](be(376)," {0,3}(?:[*+-]|1[.)]) ")[be(342)](be(361),be(370))[be(342)](be(401),je)[be(358)]()}),De=/^\\([!"#$%&'()*+,\-./:;<=>?@[\]\\^_`{|}~])/,Ce=be(341),Oe=ue(/^((?![*_])[\spunctaio])/,"u")[be(342)](/punctuation/g,Ce).getRegex(),Le=ue(/^\*+(?:((?!\*)[punct])|[^\s*])|^_+(?:((?!_)[punct])|([^\s_]))/,"u")[be(342)](/punct/g,Ce)[be(358)](),Me=ue(be(395)+be(383)+be(391)+"|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)"+be(379)+"|[\\s](\\*+)(?!\\*)(?=[punct])"+be(371)+be(360),"gu")[be(342)](/punct/g,Ce)[be(358)](),Ne=ue("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)"+be(405)+be(388)+be(387)+"|(?!_)[punct\\s](_+)(?=[^punct\\s])"+be(385)+be(381),"gu")[be(342)](/punct/g,Ce)[be(358)](),Ze=ue(/\\([punct])/,"gu")[be(342)](/punct/g,Ce)[be(358)](),Ue=ue(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/)[be(342)](be(363),/[a-z][a-z\d+.-]{1,31}/i)[be(342)](be(397),/[\w.!#$%&'*+/=?^`{|}~-]+(@)[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)+(?![-_])/i)[be(358)](),Be=ue(_e)[be(342)]("(?:--\x3e|$)",be(357))[be(358)](),Ve=ue(be(378)+be(372)+"|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>"+be(364)+be(359)+be(382))[be(342)](be(348),Be).replace(be(380),/\s+[a-z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/i).getRegex(),Xe=/(?:\[(?:\\.|[^[\]\\])*\]|\\.|`[^`]*`|[^[\]\\`])*?/,He=ue(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace(be(402),Xe).replace(be(362),/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/)[be(342)](be(389),/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/)[be(358)](),We=ue(/^!?\[(label)\]\[(ref)\]/)[be(342)]("label",Xe)[be(342)]("ref",Se).getRegex(),Je=ue(/^!?\[(ref)\](?:\[\])?/)[be(342)](be(386),Se)[be(358)](),Fe={t:le,anyPunctuation:Ze,autolink:Ue,blockSkip:/\[[^[\]]*\]\((?:\\.|[^\\()]|\((?:\\.|[^\\()])*\))*\)|`[^`]*`|<[^<>]*>/g,br:/^( {2,}|\\)\n(?!\s*$)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:le,delLDelim:le,delRDelim:le,emStrongLDelim:Le,emStrongRDelimAst:Me,emStrongRDelimUnd:Ne,escape:De,link:He,nolink:Je,punctuation:Oe,reflink:We,reflinkSearch:ue("reflink|nolink(?!\\()","g")[be(342)](be(377),We)[be(342)]("nolink",Je).getRegex(),tag:Ve,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<![`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:le},Ge=Object[be(375)](Object[be(375)]({},Fe),{escape:ue(De)[be(342)]("])","~|])").getRegex(),url:ue(/^((?:ftp|https?):\/\/|www\.)[a-zA-Z\d-][^\s<]*|^email/,"i")[be(342)](be(397),/[\w.+-]+(@)[\w-]+(?:\.[\w-]*[a-z\d])+(?![-_])/i)[be(358)](),t:/(?:[^?!.,:;*_'"~()&]|\([^)]*\)|&(?![a-z\d]+;$)|[?!.,:;*_'"~)]+(?!$))+/i,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,delLDelim:/^~~?(?:((?!~)[\p{P}\p{S}])|[^\s~])/u,delRDelim:/^[^~]+(?=[^~])|(?!~)[\p{P}\p{S}](~~?)(?=[\s]|$)|[^\s\p{P}\p{S}](~~?)(?!~)(?=[\s\p{P}\p{S}]|$)|(?!~)[\s\p{P}\p{S}](~~?)(?=[^\s\p{P}\p{S}])|[\s](~~?)(?!~)(?=[\p{P}\p{S}])|(?!~)[\p{P}\p{S}](~~?)(?!~)(?=[\p{P}\p{S}])|[^\s\p{P}\p{S}](~~?)(?=[^\s\p{P}\p{S}])/gu,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[\w.!#$%&'*+/=?`{|}~-]+@)|[\s\S]*?(?:(?=[\\<![`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^\w.!#$%&'*+/=?`{|}~-](?=[\w.!#$%&'*+/=?`{|}~-]+@)))/}),Ke=Object[be(375)](Object[be(375)]({},Ge),{br:le,emStrongLDelim:/^\*+(?:([!"#$%&'()+\-.,/:;<=>?@[\]`{|}~_])|[^\s*])/}),Ye={block:Object[be(375)](Object[be(375)]({},Ee),{lheading:le,code:le,fences:/^ {0,3}(`{3,}(?=[^`\n[]*(?:\n|$)))([^\n]*)(?:\n|$)([\s\S]*?)(?:\n|$)(?: {0,3}\1`* *(?=\n|$)|$)/,paragraph:ue(ve)[be(342)]("hr",ye)[be(342)](be(345),be(367))[be(342)](be(346),"").replace(be(347),qe)[be(342)](be(368),be(365))[be(342)](be(374),be(393)).replace(be(376),be(384))[be(342)](be(361),be(370))[be(342)](be(401),je)[be(358)](),table:ue(be(366)+be(339)+be(399)+"(?:(?:\\|\\|([^\\|]+)\\|\\|)?\\n*|$)")[be(342)]("hr",ye)[be(342)](be(345),be(367)).replace(be(368)," {0,3}>")[be(342)](be(352),be(351))[be(342)](be(374),be(393)).replace(be(376)," {0,3}(?:[*+-]|1[.)]) ")[be(342)]("html",be(370))[be(342)](be(401),je)[be(358)](),blockquote:ue(/^( {0,3}(?<!>)>(?!>) ?(paragraph|[^\n]*)(?:\n|$))+/)[be(342)]("paragraph",Pe)[be(358)]()}),inline:Ke};function Qe(t,e){return t-=426,en()[t]}!function(){const t=Qe,e=en();for(;;)try{if(960906==parseInt(t(453))/1+-parseInt(t(436))/2*(-parseInt(t(443))/3)+-parseInt(t(448))/4+parseInt(t(426))/5+parseInt(t(455))/6*(-parseInt(t(470))/7)+parseInt(t(467))/8+parseInt(t(466))/9*(parseInt(t(469))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const tn={table(t){const e=Qe,n=Ye[e(474)][e(460)][e(457)](t);if(!n)return;if(!/[:|]/[e(450)](n[2]))return;const r=fe(n[1]),s=n[2][e(471)](/^\||\| *$/g,"")[e(430)]("|"),i=n[3]&&n[3][e(456)]()?n[3][e(471)](/\n[ \t]*$/,"")[e(430)]("\n"):[],o=n[5],a={type:e(460),raw:n[0],header:[],align:[],rows:[],caption:{type:e(454),text:o,raw:o,tokens:this.lexer.inline(o)}};if(r[e(472)]===s[e(472)]){for(const t of s)/^ *-+: *$/.test(t)?a[e(465)][e(468)](e(442)):/^ *:-+: *$/.test(t)?a[e(465)].push(e(428)):/^ *:-+ *$/.test(t)?a[e(465)][e(468)](e(432)):a[e(465)][e(468)](null);for(let t=0;t<r[e(472)];t++)a[e(461)][e(468)]({text:r[t],tokens:this[e(458)][e(437)](r[t]),header:!0,align:a[e(465)][t]});for(const t of i)a[e(476)].push(fe(t,a[e(461)][e(472)])[e(473)]((t,n)=>{const r=e;return{text:t,tokens:this[r(458)][r(437)](t),header:!1,align:a[r(465)][n]}}));return a}},lheading(){},code(){},fences(t){const e=Qe,n=Ye[e(474)][e(445)][e(457)](t);if(n){const t=n[0],r=function(t,e){const n=Qe,r=t.match(/^(\s+)```/);if(null===r)return e;const s=r[1];return e[n(430)]("\n").map(t=>{const e=n,r=t[e(431)](/^\s+/);if(null===r)return t;const[i]=r;return i.length<s[e(472)]?t:t.slice(s[e(472)])})[n(475)]("\n")}(t,n[3]||"");return{type:"code",raw:t,lang:n[2]?n[2].trim()[e(471)](Ye.inline[e(433)],"$1"):n[2],text:r}}},br(){},emStrong(t,e,n=""){const r=Qe;let s=Ye[r(437)][r(464)][r(457)](t);if(s&&(!s[3]||!n[r(431)](/[\p{L}\p{N}]/u))&&(!s[1]&&!s[2]||!n||Ye.inline[r(447)][r(457)](n))){const n=[...s[0]][r(472)]-1;let i,o,a=n,l=0;const c="*"===s[0][0]?Ye.inline[r(449)]:Ye.inline.emStrongRDelimUnd;for(c[r(477)]=0,e=e[r(462)](-1*t[r(472)]+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(463)](o,o+a+l);const e=[...s[0]][0][r(472)],c=t[r(462)](0,n+s[r(435)]+e+o);if(Math[r(463)](n,o)%2){const t=c[r(462)](1,-1);return{type:"em",raw:c,text:t,tokens:this[r(458)][r(444)](t)}}const u=c.slice(2,-2);return{type:r(459),raw:c,text:u,tokens:this[r(458)][r(444)](u)}}}},blockquote(t){const e=Qe,n=Ye[e(474)].blockquote[e(457)](t);if(n){let t=function(t){const e=ce,n=t[e(158)];if(0===n)return"";let r=0;for(;n>r&&"\n"===t[e(152)](n-r-1);)r++;return t[e(160)](0,n-r)}(n[0])[e(430)]("\n"),r="",s="";const i=[];for(;t[e(472)]>0;){let n=!1;const o=[];let a;for(a=0;a<t[e(472)];a++)if(/^ {0,3}>/.test(t[a]))o[e(468)](t[a]),n=!0;else{if(n)break;o[e(468)](t[a])}t=t.slice(a);const l=o[e(475)]("\n"),c=l.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,e(440))[e(471)](/^ {0,3}>[ \t]?/gm,"");r=r?r+"\n"+l:l,s=s?s+"\n"+c:c;const u=this[e(458)][e(451)][e(427)];if(this[e(458)].state.top=!0,this.lexer[e(438)](c,i,!0),this[e(458)].state[e(427)]=u,0===t.length)break;const p=i[i.length-1];if((null==p?void 0:p[e(452)])===e(441))break;if((null==p?void 0:p[e(452)])===e(429)){const n=p,o=n.raw+"\n"+t[e(475)]("\n"),a=this.blockquote(o);i[i[e(472)]-1]=a,r=r[e(439)](0,r[e(472)]-n[e(434)][e(472)])+a[e(434)],s=s.substring(0,s[e(472)]-n[e(454)][e(472)])+a[e(454)];break}if((null==p?void 0:p[e(452)])===e(446)){const n=p,o=n[e(434)]+"\n"+t.join("\n"),a=this[e(446)](o);i[i[e(472)]-1]=a,r=r.substring(0,r[e(472)]-p[e(434)][e(472)])+a[e(434)],s=s[e(439)](0,s.length-n[e(434)].length)+a[e(434)],t=o[e(439)](i[i[e(472)]-1][e(434)].length)[e(430)]("\n");continue}}return{type:e(429),raw:r,tokens:i,text:s}}}};function en(){const t=["match","left","anyPunctuation","raw","index","94GaMSEI","inline","blockTokens","substring","\n $1","code","right","3327bCnbHb","inlineTokens","fences","list","punctuation","5249832duejjv","emStrongRDelimAst","test","state","type","357866XhQmtD","text","474zsPHbw","trim","exec","lexer","strong","table","header","slice","min","emStrongLDelim","align","188856mCCjoF","13174736RaaZzk","push","290kesHPe","161924ddmgLM","replace","length","map","block","join","rows","lastIndex","7177125ACQHTo","top","center","blockquote","split"];return(en=function(){return t})()}function nn(){var t=["112KEwnvE","8YoCgNB","5Lkuwdn","1111ibGFtr","268648cwRyxQ","2572908TUxUJy","353412eEjxDk","29493SPpqsb","790WEyKjh","592158tEXnDu","565717nLsVwi","75948kQEUXg"];return(nn=function(){return t})()}function rn(t,e){return t-=487,nn()[t]}function sn(){const t=["lexer","error",'<p class="heading">',"1604958FVKbxd","exec","7420puKwJc","Success","1784090agNhkf","2136SsuhCt","indexOf","29584640MBZLRw","icon","parseInline","tokens","<span class='title'>",'<p class="content paragraph">',"title","Error","inlineTokens",'<span class="icon">',"alert","Info","469038TNrXct","6584275qRUamm","^ {0,3}!!![","1298352daNPCp","block","true","</p>","</span></p>","Warn","parser","trim","info","</span> "];return(sn=function(){return t})()}function on(t,e){return t-=491,sn()[t]}!function(){for(var t=rn,e=nn();;)try{if(420612==-parseInt(t(493))/1+parseInt(t(496))/2*(-parseInt(t(492))/3)+-parseInt(t(489))/4+-parseInt(t(497))/5*(-parseInt(t(488))/6)+parseInt(t(495))/7*(parseInt(t(487))/8)+parseInt(t(490))/9*(parseInt(t(491))/10)+-parseInt(t(498))/11*(-parseInt(t(494))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const an=on;var ln;!function(){const t=on,e=sn();for(;;)try{if(707323==parseInt(t(509))/1+parseInt(t(522))/2+-parseInt(t(492))/3*(-parseInt(t(524))/4)+parseInt(t(507))/5+-parseInt(t(506))/6+-parseInt(t(491))/7+-parseInt(t(494))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(t){const e=on;t[e(514)]="warn",t.Success="success",t[e(501)]=e(520),t[e(505)]=e(517)}(ln||(ln={}));const cn={name:an(504),level:an(510),start(t){const e=an;return t[e(493)](e(508))},tokenizer(t){const e=an;var n,r,s,i;const o=/^ {0,3}(!{3,}(?=\[[^\n\]]*\](?:\n|$)))\[([^\],]*)(?:,([^\],]*))?(?:,([^\],]+))?\]\n([\s\S]*?)(?:\n|$)(?: {0,3}\1 *(?=\n|$)|$)/[e(523)](t);if(o){const t=null===(n=o[2])||void 0===n?void 0:n[e(516)](),a=null===(r=o[3])||void 0===r?void 0:r[e(516)](),l=null===(s=o[4])||void 0===s?void 0:s[e(516)](),c=null===(i=o[5])||void 0===i?void 0:i[e(516)]();return{type:e(504),raw:o[0],title:a,icon:l,text:c,ttype:t,tokens:this[e(519)][e(502)](c)}}},renderer(t){const e=an;var n;let r="";if(t.icon===e(511))switch(t.ttype){case ln[e(514)]:t.icon="⚠️";break;case ln[e(525)]:t[e(495)]="🎉";break;case ln[e(501)]:t.icon="⛔";break;case ln[e(505)]:t[e(495)]="ℹ️"}const s=void 0!==t[e(495)]?e(503)+t.icon+e(518):"";return r=r+'<section class="alert '+t.ttype+'">',t[e(500)]&&(r+=e(521)+s+e(498)+t[e(500)]+e(513)),r+=e(499)+(t[e(500)]?"":s)+this[e(515)][e(496)](null!==(n=t[e(497)])&&void 0!==n?n:[])+e(512),r+="</section>",r}};function un(t){return(t||"").match(/\S*/)[0]}function pn(t){return e=>{"string"==typeof e&&e!==t.text&&(t.escaped=!0,t.text=e)}}const hn=/[&<>"']/,fn=RegExp(hn.source,"g"),dn=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,gn=RegExp(dn.source,"g"),mn={"&":"&","<":"<",">":">",'"':""","'":"'"},kn=t=>mn[t];function bn(t,e){if(e){if(hn.test(t))return t.replace(fn,kn)}else if(dn.test(t))return t.replace(gn,kn);return t}const xn=wn;function wn(t,e){return t-=470,yn()[t]}function yn(){const t=["1017OpYvSM","12iOjGrm","19480VFWGqh","1997768qOYNzG","1048482UENSMK","3HzvoHX","javascript","2875WmmKSo","value","latex","python","4361456ZPkmQC","1572VqwFxg","443643WuuNYV","138758jzZfgQ","7YfTtoG","registerLanguage"];return(yn=function(){return t})()}!function(){const t=wn,e=yn();for(;;)try{if(352143==parseInt(t(477))/1+-parseInt(t(478))/2*(parseInt(t(486))/3)+-parseInt(t(476))/4*(-parseInt(t(471))/5)+-parseInt(t(485))/6+parseInt(t(479))/7*(-parseInt(t(484))/8)+parseInt(t(481))/9*(-parseInt(t(483))/10)+parseInt(t(475))/11*(parseInt(t(482))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),n[xn(480)](xn(470),r),n[xn(480)](xn(474),o),n[xn(480)](xn(473),i),n.registerLanguage("json",s);const In=new zt(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=un(e.lang);if(t.async)return Promise.resolve(t.highlight(e.text,n,e.lang||"")).then(pn(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.");pn(e)(r)},useNewRenderer:!0,renderer:{code(e,n,r){"object"==typeof e&&(r=e.escaped,n=e.lang,e=e.text);const s=un(n),i=s?t.langPrefix+bn(s):t.emptyLangClass,o=i?` class="${i}"`:"";return e=e.replace(/\n$/,""),`<pre><code${o}>${r?e:bn(e,!0)}\n</code></pre>`}}}}({highlight(t,e){const r=xn,s=n.getLanguage(e)?e:"plaintext";return n.highlight(t,{language:s})[r(472)]}})),$n=Sn;function vn(){const t=["block","tokens","raw","!!!","blockTokens","exec","365410RYTILc","299979EpnyXU","9372RxLtmd","385hJVqFX","forEach","type","parse","2098024XgDAQN","1003432ptHhPP","</section>\n","lexer","220SITpRq","gallery","294670QwEgZM",'<section class="gallery-wrapper">\n',"1540311LEyQwC",'<section class="gallery-container">\n',"21vWRlJO"];return(vn=function(){return t})()}function Sn(t,e){return t-=265,vn()[t]}!function(){const t=Sn,e=vn();for(;;)try{if(266723==parseInt(t(272))/1+-parseInt(t(285))/2+parseInt(t(287))/3+parseInt(t(279))/4+parseInt(t(275))/5*(parseInt(t(274))/6)+-parseInt(t(265))/7*(parseInt(t(280))/8)+-parseInt(t(273))/9*(parseInt(t(283))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const An={name:$n(284),level:$n(266),start:t=>t.indexOf($n(269)),tokenizer(t){const e=$n,n=/^ {0,3}(!{3,}) *\n([\s\S]*?)(?:\n|$)(?: {0,3}\1 *(?=\n|$)|$)/[e(271)](t);if(n){const t=n[2];return{type:e(284),raw:n[0],text:t,tokens:this[e(282)][e(270)](t)}}},renderer(t){const e=$n;var n;let r=e(288);return r+=e(286),null===(n=t[e(267)])||void 0===n||n[e(276)](t=>{const n=e;var s;"paragraph"===t[n(277)]&&(null===(s=t[n(267)])||void 0===s||s[n(276)](t=>{const e=n;"image"===t.type&&(r+=In[e(278)](t[e(268)]))}))}),r+=e(281),r+=e(281),r}},zn=jn;function jn(t,e){return t-=172,_n()[t]}function _n(){const t=["parser","caption","2487882nkwqDk",'">[',"forEach","1480608BCSKdl",'<ol class="footnote-list">',"lexer","footnoteRef","type","inlineTokens","trim","28zQrOeA","block","rows","push","list","table","indexOf","footnoteDef","exec","13729Uvhckh",' <a href="#footnote-ref-',"430956GsuJXT","235WrjXtL","23344VJHvYJ","isolated","4070020AbRenX","length","11xPRboh","content","</ol>","]</a></sup></span>","tokens",'<li class="footnote-def" key="',"2485290MNJPQe","30WKXyvV",'"><sup><a href="#footnote-',"join",'" id="footnote-',"replaceAll","items","key",'<span class="footnote-ref" id="footnote-ref-',"number","9JyRoKN"];return(_n=function(){return t})()}!function(){const t=jn,e=_n();for(;;)try{if(715937==parseInt(t(196))/1*(parseInt(t(211))/2)+parseInt(t(177))/3+-parseInt(t(200))/4*(parseInt(t(199))/5)+-parseInt(t(210))/6+-parseInt(t(187))/7*(-parseInt(t(180))/8)+-parseInt(t(174))/9*(parseInt(t(202))/10)+parseInt(t(204))/11*(parseInt(t(198))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Rn={name:"footnoteRef",level:"inline",start:t=>t[jn(193)]("[^"),tokenizer:t=>{const e=jn,n=/^\[\^([^\]]+)\]/[e(195)](t);if(n){const t=n[1][e(186)]();return{type:e(183),raw:n[0],id:t,tokens:[]}}},renderer:t=>{const e=jn;return e(172)+t.id+e(212)+t.id+e(178)+t[e(173)]+e(207)}},Pn={name:zn(194),level:zn(188),start:t=>t.indexOf("[^"),tokenizer(t){const e=zn,n=/^\[\^(.+?)\]: ([\s\S]*?)(?:\n+|$)/[e(195)](t);if(n){const t=n[1].trim(),r=n[2][e(186)]();return{type:e(194),raw:n[0],id:t,text:r,tokens:this[e(182)][e(185)](r)}}},renderer(t){const e=zn;var n;const r=e(197)+t.id+'"> ⬅ </a>';return e(209)+t[e(173)]+e(214)+t.id+'">'+this[e(175)].parseInline(null!==(n=null==t?void 0:t[e(208)])&&void 0!==n?n:[])+(t[e(201)]?"":r)+"</li>"}},Tn=t=>{const e={};let n=1;return function t(r){r.forEach(r=>{const s=jn;"footnoteRef"===r.type&&(!(r.id in e)&&(e[r.id]=n,n++),r[s(173)]=e[r.id]),r[s(184)]===s(191)&&r[s(216)][s(179)](e=>{const n=s;e[n(208)]&&e.tokens[n(203)]>0&&t(e[n(208)])}),r.type===s(192)&&(r.header[s(179)](e=>{const n=s;e[n(208)]&&e[n(208)][n(203)]>0&&t(e[n(208)])}),r[s(189)][s(179)](e=>{const n=s;e[n(179)](e=>{const r=n;e[r(208)]&&e[r(208)][r(203)]>0&&t(e[r(208)])})}),r[s(176)].tokens&&r[s(176)][s(208)][s(203)]>0&&t(r[s(176)][s(208)])),r[s(208)]&&r[s(208)][s(203)]>0&&t(r.tokens)})}(t),function t(r){r.forEach(r=>{const s=jn;r.type===s(194)&&(r.isolated=!1,!(r.id in e)&&(e[r.id]=n,n++,r[s(201)]=!0),r.number=e[r.id]),r[s(208)]&&r[s(208)][s(203)]>0&&t(r.tokens)})}(t),t},qn=Dn;var En;function Dn(t,e){return t-=442,On()[t]}!function(){const t=Dn,e=On();for(;;)try{if(769769==-parseInt(t(461))/1+parseInt(t(459))/2*(-parseInt(t(444))/3)+parseInt(t(467))/4*(parseInt(t(448))/5)+parseInt(t(463))/6*(-parseInt(t(443))/7)+parseInt(t(454))/8*(parseInt(t(442))/9)+parseInt(t(449))/10+parseInt(t(458))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(t){const e=Dn;t[e(456)]=e(457),t[e(465)]="solution"}(En||(En={}));const Cn={[En[qn(456)]]:"证明",[En[qn(465)]]:"解答"};function On(){const t=["lexer","parse","stype","6794864iGQuZg","typeName","PROOF","proof","4786177IKOfwC","32618mYGmaH",'</summary>\n <section class="content">\n ',"105711DObZXi","indexOf","6gBznuy","trim","SOLUTION","~~~[","4741768OpNWPs","blockTokens","9NubvZX","8984906mTwWBS","201wOeouG",'<details class="solution ',"block","solution","5wxmtTC","7818340avgBKW",'"><summary>'];return(On=function(){return t})()}const Ln={name:"solution",level:qn(446),start:t=>{const e=qn;return t[e(462)](e(466))},tokenizer(t){const e=qn;var n;const r=/^ {0,3}(~{3,}(?=\[[^\n\]]*\](?:\n|$)))\[([^\],]*)\]\n([\s\S]*?)(?:\n|$)(?: {0,3}\1~* *(?=\n|$)|$)/.exec(t);if(r){const t=r[2][e(464)](),s=r[3][e(464)]();return{type:e(447),raw:r[0],stype:t,typeName:null!==(n=Cn[t])&&void 0!==n?n:t,text:s,tokens:this[e(451)][e(468)](s)}}},renderer(t){const e=qn;var n;return e(445)+pe(t[e(453)])+e(450)+t[e(455)]+e(460)+this.parser[e(452)](null!==(n=null==t?void 0:t.tokens)&&void 0!==n?n:[])+"\n </section></details>"}},Mn=Nn;function Nn(t,e){return t-=127,Zn()[t]}function Zn(){const t=["516117hIFFOt","indexOf","</b>","Definition","</a>","length","24NenFJB","parse","4SAeUVS","2513255kzTGNM","unnumbered",'" href="#theorem-like-',"name","theorem","lemma","15688700GLpRAs","2668830QIKpdl","theoremLikeRef","axiom",'<a id="theorem-like-ref-',"</em> )","type","endsWith","1626048izWDOL","typeName","blockTokens","Axiom","exec",'" id="theorem-like-',"lexer","Lemma","items","```[","example","8YBgovv","theoremLikeDef","inline","1265295VJqcet","replace"," ( <em>","definition","Corollary","ttype","list","Theorem","trimEnd","number","parser",'\n </p>\n <section class="content">\n ',"block","corollary","tokens","trim","9471681PniYGx","forEach","Example",'">\n <p class="title"><b>'];return(Zn=function(){return t})()}var Un;!function(){const t=Nn,e=Zn();for(;;)try{if(634995==-parseInt(t(152))/1+-parseInt(t(138))/2+-parseInt(t(131))/3*(-parseInt(t(180))/4)+-parseInt(t(181))/5+-parseInt(t(178))/6*(parseInt(t(172))/7)+parseInt(t(149))/8*(parseInt(t(168))/9)+parseInt(t(130))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(t){const e=Nn;t[e(159)]=e(128),t[e(145)]=e(129),t[e(156)]=e(165),t.Axiom=e(133),t[e(175)]=e(155),t[e(170)]=e(148)}(Un||(Un={}));const Bn={[Un[Mn(159)]]:"定理",[Un[Mn(145)]]:"引理",[Un[Mn(156)]]:"推论",[Un[Mn(141)]]:"公理",[Un[Mn(175)]]:"定义",[Un.Example]:"例"},Vn={name:"theoremLikeRef",level:Mn(151),start:t=>t[Mn(173)]("[~"),tokenizer:t=>{const e=Mn,n=/^\[~([^\]]+)\]/[e(142)](t);if(n){const t=n[1][e(167)]();return{type:e(132),raw:n[0],id:t,tokens:[]}}},renderer:t=>{const e=Mn;return e(134)+t.id+e(183)+t.id+'">'+(t.typeName+" "+t[e(161)])[e(160)]()+e(176)}},Xn={name:Mn(150),level:Mn(164),start(t){const e=Mn;return t[e(173)](e(147))},tokenizer(t){const e=Mn;var n,r,s,i,o,a;const l=/^ {0,3}(`{3,}(?=\[[^\n\]]*\](?:\n|$)))\[([^\],]*),([^\],]*)(?:,([^\],]+))?\]\n([\s\S]*?)(?:\n|$)(?: {0,3}\1 *(?=\n|$)|$)/[e(142)](t);if(l){const t=null===(n=l[2])||void 0===n?void 0:n.trim()[e(153)](/\*$/,""),c=null===(r=l[2])||void 0===r?void 0:r.trim()[e(137)]("*"),u=null===(s=l[3])||void 0===s?void 0:s[e(167)](),p=null===(i=l[4])||void 0===i?void 0:i.trim(),h=null===(o=l[5])||void 0===o?void 0:o[e(167)]();return{type:"theoremLikeDef",raw:l[0],id:u,name:p,text:h,ttype:t,typeName:null!==(a=Bn[t])&&void 0!==a?a:t,tokens:this[e(144)][e(140)](h),unnumbered:c}}},renderer(t){const e=Mn;var n;return'<section class="theorem-like '+pe(t.ttype)+e(143)+t.id+e(171)+t[e(139)]+e(174)+(t[e(182)]?"":" "+t[e(161)])+(t[e(127)]?e(154)+t[e(127)]+e(135):"")+e(163)+this[e(162)][e(179)](null!==(n=null==t?void 0:t[e(166)])&&void 0!==n?n:[])+"\n </section> \n</section>"}},Hn=Wn;function Wn(t,e){return t-=121,Jn()[t]}function Jn(){const t=['"></span>\n',' class="tooltip-trigger">',"61271hrzEAA","tooltip","indexOf","615232kYPTVm",'<input type="checkbox" id=',"exec",'" alt="',"965475EJXqgT","</span>\n","trim","parser","raw","3462816WzbsVe",">>>","2iLJuIf",'<span class="tooltip-title">',"464674UYmkeY","</label>\n","description","id-","458889yXfgDB","lexer",'<span class="tooltip-container">\n',"14907438vHqkUy","text","parseInline","title","6cpafpk",'<span class="tooltip-description">',"imageUrl"];return(Jn=function(){return t})()}!function(){const t=Wn,e=Jn();for(;;)try{if(250237==-parseInt(t(150))/1*(parseInt(t(148))/2)+-parseInt(t(122))/3+-parseInt(t(137))/4+-parseInt(t(141))/5+-parseInt(t(129))/6*(parseInt(t(134))/7)+-parseInt(t(146))/8+parseInt(t(125))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Fn=/^>>>([^\r\n]+?) *(?<!\\)\[ *([^|\r\n]+?) *\|\s*([^|\r\n]*?) *(?:\| *([^\r\n]*?) *)?(?<!\\)\] *<<</,Gn={name:Hn(135),level:"inline",start(t){const e=Hn;return t[e(136)](e(147))},tokenizer(t){const e=Hn,n=Fn[e(139)](t);if(n){const[t,r,s,i,o]=n,a=e(121)+ie.md5(t);return{type:e(135),id:a,raw:t,title:s,text:r,imageUrl:null!=o?o:"",description:{type:e(126),text:i,raw:i,tokens:this[e(123)].inline(i)},tokens:this.lexer.inlineTokens(r[e(143)]())}}},renderer(t){const e=Hn;var n;let r=e(124);return r+=e(138)+t.id+' class="tooltip-toggle"><label for='+t.id+e(133)+this[e(144)][e(127)](null!==(n=t.tokens)&&void 0!==n?n:[])+e(151),r+='<span class="tooltip">\n',t.imageUrl[e(143)]()&&(r+='<span class="tooltip-image"><img src="'+t[e(131)].trim()+e(140)+t.title[e(143)]()+e(132)),t[e(128)][e(143)]()&&(r+=e(149)+t[e(128)][e(143)]()+"</span>\n"),t[e(152)][e(145)].trim()&&(r+=e(130)+this[e(144)][e(127)]([t[e(152)]])+e(142)),r+=e(142),r+=e(142),r}},Kn=Qn;function Yn(){const t=["blockMath","match","inlineMath","block","</p>\n","90XQSovJ","1802740ClDOQg","2634jSvCRC","17455610gDyeVd","indexOf","text","4016zCAgur","replace"," \\gt ","inlineMath2","blockMath2","3143xPslzf","1208055pxVGCP"," \\lt ",'<p class="paragraph">',"inline","40472nxcFTn","224692tBetEG","475jqkbzf"];return(Yn=function(){return t})()}function Qn(t,e){return t-=477,Yn()[t]}function tr(t){const e=Qn;return t[e(499)](/\s*<\s*/g,e(481))[e(499)](/\s*>\s*/g,e(500))}!function(){const t=Qn,e=Yn();for(;;)try{if(743550==parseInt(t(486))/1*(-parseInt(t(498))/2)+parseInt(t(480))/3+parseInt(t(485))/4+-parseInt(t(493))/5+-parseInt(t(494))/6*(parseInt(t(479))/7)+-parseInt(t(484))/8*(-parseInt(t(492))/9)+parseInt(t(495))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const er={name:Kn(489),level:Kn(483),start:t=>t[Kn(496)]("$"),tokenizer(t){const e=Kn,n=/^\$(?:[^$]|\\\$)+\$(?!\$)/.exec(t);if(n)return{type:e(489),raw:n[0],text:n[0]}},renderer:t=>tr(t[Kn(497)])},nr={name:Kn(477),level:Kn(483),start:t=>t[Kn(496)]("\\("),tokenizer(t){const e=Kn,n=t[e(488)](/^\\\(.*?\\\)/);if(n)return{type:e(477),raw:n[0],text:n[0]}},renderer:t=>tr(t[Kn(497)])},rr={name:Kn(487),level:Kn(490),start:t=>t[Kn(496)]("$$"),tokenizer(t){const e=Kn,n=t[e(488)](/^\${2}(?:[^$]|\\\$|\$[^$])+\${2}(?!\$)/);if(n)return{type:e(487),raw:n[0],text:n[0].trim()}},renderer(t){const e=Kn;return'<p class="paragraph">'+tr(t[e(497)])+e(491)}},sr={name:Kn(478),level:Kn(490),start:t=>t[Kn(496)]("\\["),tokenizer(t){const e=Kn,n=t.match(/^\\\[(?:[^$]|\\\$)+\\\]/);if(n)return{type:e(478),raw:n[0],text:n[0].trim()}},renderer(t){const e=Kn;return e(482)+tr(t[e(497)])+e(491)}};function ir(){var t=["598558CfyVUC","239184oOKTyW","189VojGKZ","1vhCtzx","8328390mGKZKK","1362179rUTMmt","42764gMuJEi","1388880tUhMzt","270PdAwtu","467040jOHvVN"];return(ir=function(){return t})()}function or(t,e){return t-=163,ir()[t]}function ar(t,e){return t-=269,lr()[t]}function lr(){const t=[' style="',"4674968PCUtab","push","title",'<img src="',' title="',"href","text","147490thOgSq","3051390sdezNc","6471216UknutV","isArray","height:","99OizwCQ","1633367EgnWbz","14RdMaZE","tokens","4795209HxYtxi","image","px;","168joBICB",'" alt="',"2903130tAJbOQ","width:"];return(lr=function(){return t})()}!function(){for(var t=or,e=ir();;)try{if(499817==parseInt(t(170))/1*(parseInt(t(167))/2)+-parseInt(t(166))/3+-parseInt(t(163))/4*(-parseInt(t(165))/5)+-parseInt(t(164))/6+-parseInt(t(172))/7+parseInt(t(168))/8*(-parseInt(t(169))/9)+parseInt(t(171))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(){const t=ar,e=lr();for(;;)try{if(861638==-parseInt(t(278))/1+-parseInt(t(286))/2+parseInt(t(281))/3+-parseInt(t(284))/4*(-parseInt(t(272))/5)+-parseInt(t(274))/6+-parseInt(t(279))/7*(parseInt(t(289))/8)+parseInt(t(277))/9*(parseInt(t(273))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const cr=ur;function ur(t,e){return t-=495,fr()[t]}!function(){const t=ur,e=fr();for(;;)try{if(103385==-parseInt(t(504))/1*(-parseInt(t(522))/2)+parseInt(t(518))/3*(parseInt(t(512))/4)+-parseInt(t(521))/5*(parseInt(t(499))/6)+-parseInt(t(497))/7*(-parseInt(t(505))/8)+parseInt(t(513))/9+parseInt(t(508))/10+parseInt(t(517))/11*(-parseInt(t(514))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const pr=new zt;pr[cr(503)]({extensions:[er,nr],tokenizer:Object[cr(520)]({},tn),renderer:Object[cr(520)]({},ge)});const hr=t=>{const e=cr;Wt(e(506)),Yt()||(typeof process!==e(501)&&null!=process.versions&&null!=process[e(507)][e(509)]?console[e(511)]("[mmarked] ⚠️ No valid license configured for Node.js server-side usage. "+e(519)+e(498)+"Browser usage does not require a license."):console[e(511)](e(495)+"For commercial use in Node.js, please configure a license using configureLicense(). "+e(496)));const n=new Date,r=pr[e(502)][e(515)](t,pr[e(510)]),s=pr[e(516)](t),i=new Date;let o=function(t,e){const n=ar;let r=t;for(const t of e){const e=ae(t[n(270)]);if(null===e)continue;let s=n(292)+e+n(285)+t[n(271)]+'"';if(t.title){const{text:e,width:r,height:i}=he(t[n(291)]);e&&(s+=n(269)+e+'"'),(r||i)&&(s+=n(288),r&&(s+=n(287)+r+n(283)),i&&(s+=n(276)+i+"px;"),s+='"')}s+=">";const i=n(292)+e+'" alt="'+t[n(271)]+'"'+(t[n(291)]?' title="'+t[n(291)]+'"':"")+">";r=r.replaceAll(i,s)}return r}(s,function t(e){const n=ar,r=[];for(const s of e)s.type===n(282)&&r[n(290)](s),"tokens"in s&&Array[n(275)](s[n(280)])&&r.push(...t(s[n(280)]));return r}(r));const a=Jt();return a&&(o=a+o),{parsed:o,lexed:r,time:i[e(500)]()-n[e(500)]()}};function fr(){const t=["6123972WrXLZO","lexInline","parseInline","11WaYzvK","3xqEGEi","For commercial use, please configure a license using configureLicense(). ","assign","160780HJkWIb","116846lFhEqN","[mmarked] ℹ️ Running in browser environment, no license required. ","Contact charles@mathcrowd.cn for commercial licensing.","51016qJOyOH","Contact charles@mathcrowd.cn for commercial licensing. ","6igaZap","getTime","undefined","Lexer","use","1QhJaZD","208kqdetu","renderMarkdownCompact","versions","1360550eEHlBD","node","defaults","warn","640356BojnsZ","916353CxySgJ"];return(fr=function(){return t})()}const dr=gr;function gr(t,e){return t-=374,kr()[t]}!function(){const t=gr,e=kr();for(;;)try{if(273971==-parseInt(t(385))/1+-parseInt(t(391))/2+parseInt(t(392))/3*(parseInt(t(389))/4)+parseInt(t(375))/5+parseInt(t(384))/6*(-parseInt(t(398))/7)+-parseInt(t(397))/8*(parseInt(t(383))/9)+-parseInt(t(382))/10*(-parseInt(t(393))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const mr={renderer:Object.assign(Object.assign({},de),ge),tokenizer:Object[dr(396)]({},tn),useNewRenderer:!0,gfm:!0,extensions:[er,nr,rr,sr,Rn,Pn,Xn,Vn,Ln,cn,An,Gn],hooks:{preprocess:t=>t,processAllTokens:t=>(t=>{const e=Mn,n={[Un.Theorem]:0,[Un.Lemma]:0,[Un.Corollary]:0,[Un[e(141)]]:0,[Un[e(175)]]:0,[Un.Example]:0},r={};return function t(s){const i=e;s[i(169)](e=>{const s=i;e[s(136)]===s(150)&&(e[s(157)]in n?n[e[s(157)]]=n[e[s(157)]]+1:n[e[s(157)]]=1,e[s(161)]=e[s(182)]?"":n[e.ttype],r[e.id]={typeName:e[s(139)],number:e[s(161)]}),e[s(166)]&&e.tokens[s(177)]>0&&t(e.tokens)})}(t),function t(n){const s=e;n[s(169)](e=>{const n=s;"theoremLikeRef"===e[n(136)]&&e.id in r&&(e[n(161)]=r[e.id][n(161)],e[n(139)]=r[e.id][n(139)]),e.type===n(158)&&e[n(146)][n(169)](e=>{const r=n;e[r(166)]&&e.tokens.length>0&&t(e[r(166)])}),e[n(166)]&&e[n(166)][n(177)]>0&&t(e[n(166)])})}(t),t})(Tn(t)),postprocess:t=>(t=>{const e=zn,n=[];return t=t[e(215)](/<li class="footnote-def" key="(\d+)".*?<\/li>/g,(t,r)=>(n[e(190)]({key:parseInt(r),content:t}),"")),n.sort((t,n)=>t[e(217)]-n[e(217)]),t=t[e(215)](/<ol class="footnote-list">.*?<\/ol>/g,()=>""),n[e(203)]>0&&(t+=e(181)+n.map(t=>t[e(205)])[e(213)]("")+e(206)),t})(t)}};function kr(){const t=["renderMarkdown","assign","144KXwDnL","1008SdMTdD","Browser usage does not require a license.","2507445kwpBzz","[mmarked] ℹ️ Running in browser environment, no license required. ","undefined","versions","For commercial use in Node.js, please configure a license using configureLicense(). ","use","warn","4213840edbXgn","82557dbtcaS","19326ZNzyqb","296639uHfmjN","[mmarked] ⚠️ No valid license configured for Node.js server-side usage. ","getTime","Contact charles@mathcrowd.cn for commercial licensing. ","2388ADGElu","lexer","235884GrsFzY","1983nWoTIb","11IuwnWs","node"];return(kr=function(){return t})()}In[dr(380)](mr);const br=t=>{const e=dr;Wt(e(395)),Yt()||(typeof process!==e(377)&&null!=process[e(378)]&&null!=process[e(378)][e(394)]?console[e(381)](e(386)+"For commercial use, please configure a license using configureLicense(). "+e(388)+e(374)):console[e(381)](e(376)+e(379)+"Contact charles@mathcrowd.cn for commercial licensing."));const n=new Date,r=Tn(In[e(390)](t));let s=In.parse(t);const i=new Date,o=Jt();return o&&(s=o+s),{parsed:s,lexed:r,time:i[e(387)]()-n[e(387)]()}};function xr(t,e){return t-=400,wr()[t]}function wr(){var t=["11143098pYJqPe","11SDeyeE","68sIouls","1620493mjXRIq","7442512lsjtpu","298ECgHyP","28625430XUeMvd","4155852RWoRtM","206335WYeros","6399dNsYhL","30WzPKvx"];return(wr=function(){return t})()}!function(){for(var t=xr,e=wr();;)try{if(718230==parseInt(t(407))/1*(parseInt(t(403))/2)+-parseInt(t(405))/3+parseInt(t(400))/4*(-parseInt(t(406))/5)+parseInt(t(408))/6*(parseInt(t(401))/7)+-parseInt(t(402))/8+-parseInt(t(409))/9+parseInt(t(404))/10*(parseInt(t(410))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const yr=$r;function Ir(){const t=["56lIHmSr","296826hkjrzH","733710ArQrlu","347845Cqnkfj","\\unicode{x25B1}","3550305WUNmbE","2358ixtDyP","none","body","219SHcLsJ","2935460DWOSpn","408fbbdef","15712IOIHfr","clear","innerHTML","document"];return(Ir=function(){return t})()}function $r(t,e){return t-=407,Ir()[t]}!function(){const t=$r,e=Ir();for(;;)try{if(370965==-parseInt(t(419))/1+-parseInt(t(418))/2+parseInt(t(409))/3*(parseInt(t(412))/4)+parseInt(t(421))/5+parseInt(t(417))/6*(parseInt(t(416))/7)+parseInt(t(411))/8*(-parseInt(t(422))/9)+-parseInt(t(410))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const vr=a({fontSize:13});l(vr);const Sr=new u({packages:c,inlineMath:[["$","$"],["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],macros:{parallelogram:yr(420)}}),Ar=new h({fontCache:yr(407)}),zr=t=>{const e=yr;try{const n=p[e(415)](t,{InputJax:Sr,OutputJax:Ar});n.render();const r=vr[e(414)](vr[e(408)](n[e(415)]));return n[e(413)](),r}catch(e){return console.error(e),t}};function jr(){var t=["434515LPRqRZ","88YSDizO","603670YmPqqq","206355SbMWen","18iWIEzR","96782xxAdtD","1557HSMwTz","1424vEzpqy","12aZgVyn","3576892RXalYV","282306qBcFYs"];return(jr=function(){return t})()}function _r(t,e){return t-=303,jr()[t]}function Rr(){var t=["3635920RTTaZH","35NNsJfT","361900wYOXUJ","947856WhOsuW","143430LZVZaV","297555VboTuw","871551aojoLM","924595IVqJxN","80oXwtws"];return(Rr=function(){return t})()}function Pr(t,e){return t-=135,Rr()[t]}!function(){for(var t=_r,e=jr();;)try{if(108086==parseInt(t(307))/1+parseInt(t(303))/2+parseInt(t(310))/3*(parseInt(t(311))/4)+-parseInt(t(304))/5*(-parseInt(t(312))/6)+-parseInt(t(309))/7*(parseInt(t(305))/8)+-parseInt(t(308))/9*(parseInt(t(306))/10)+-parseInt(t(313))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(){for(var t=Pr,e=Rr();;)try{if(987981==parseInt(t(139))/1+parseInt(t(138))/2+parseInt(t(141))/3+-parseInt(t(136))/4+-parseInt(t(137))/5*(parseInt(t(140))/6)+-parseInt(t(143))/7+-parseInt(t(135))/8*(-parseInt(t(142))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();export{Et as UNLICENSED_WARNING_INTERVAL,Qt as clearValidationCache,Ft as configureLicense,Gt as getLicenseConfig,Jt as getWarningIfNeeded,Yt as isLicensed,br as renderMarkdown,hr as renderMarkdownCompact,te as resetUsageStats,Dt as setUnlicensedWarningInterval,Ht as stopUsageTracking,zr as tex2svg,Wt as trackFunctionCall,Kt as validateLicense};
|
|
1
|
+
import t from"crypto";import e from"buffer";import n from"highlight.js";import r from"highlight.js/lib/languages/javascript";import s from"highlight.js/lib/languages/json";import i from"highlight.js/lib/languages/latex";import o from"highlight.js/lib/languages/python";import{liteAdaptor as a}from"mathjax-full/js/adaptors/liteAdaptor.js";import{RegisterHTMLHandler as l}from"mathjax-full/js/handlers/html.js";import{AllPackages as c}from"mathjax-full/js/input/tex/AllPackages.js";import{TeX as u}from"mathjax-full/js/input/tex.js";import{mathjax as p}from"mathjax-full/js/mathjax.js";import{SVG as h}from"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,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ 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,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"),blockquoteBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}>`)},x=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,I=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,w=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,y=m(w).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(w).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(),z=m(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,I).getRegex(),j="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]*?(?:-->|$))/,R=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",j).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),P=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[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",j).getRegex(),q={blockquote:m(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",P).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:R,lheading:y,list:z,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:P,table:g,text:/^[^\n]+/},T=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[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",j).getRegex(),E={...q,lheading:$,table:T,paragraph:m(v).replace("hr",x).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",T).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",j).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",y).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},M=/^( {2,}|\\)\n(?!\s*$)/,C=/[\p{P}\p{S}]/u,D=/[\s\p{P}\p{S}]/u,O=/[^\s\p{P}\p{S}]/u,U=m(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,D).getRegex(),N=/(?!~)[\p{P}\p{S}]/u,Z=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(),B=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,V=m(B,"u").replace(/punct/g,C).getRegex(),W=m(B,"u").replace(/punct/g,N).getRegex(),J="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",K=m(J,"gu").replace(/notPunctSpace/g,O).replace(/punctSpace/g,D).replace(/punct/g,C).getRegex(),F=m(J,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,N).getRegex(),Y=m("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,O).replace(/punctSpace/g,D).replace(/punct/g,C).getRegex(),X=m(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,C).getRegex(),H=m("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,O).replace(/punctSpace/g,D).replace(/punct/g,C).getRegex(),Q=m(/\\(punct)/,"gu").replace(/punct/g,C).getRegex(),G=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(),tt=m(_).replace("(?:--\x3e|$)","--\x3e").getRegex(),et=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",tt).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),nt=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,rt=m(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",nt).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),st=m(/^!?\[(label)\]\[(ref)\]/).replace("label",nt).replace("ref",S).getRegex(),it=m(/^!?\[(ref)\](?:\[\])?/).replace("ref",S).getRegex(),ot=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,at={t:g,anyPunctuation:Q,autolink:G,blockSkip:Z,br:M,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:g,delLDelim:g,delRDelim:g,emStrongLDelim:V,emStrongRDelimAst:K,emStrongRDelimUnd:Y,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:rt,nolink:it,punctuation:U,reflink:st,reflinkSearch:m("reflink|nolink(?!\\()","g").replace("reflink",st).replace("nolink",it).getRegex(),tag:et,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:g},lt={...at,link:m(/^!?\[(label)\]\((.*?)\)/).replace("label",nt).getRegex(),reflink:m(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",nt).getRegex()},ct={...at,emStrongRDelimAst:F,emStrongLDelim:W,delLDelim:X,delRDelim:H,url:m(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",ot).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",ot).getRegex()},ut={...ct,br:m(M).replace("{2,}","*").getRegex(),text:m(ct.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},pt={normal:q,gfm:E,pedantic:L},ht={normal:at,gfm:ct,breaks:ut,pedantic:lt},ft={"&":"&","<":"<",">":">",'"':""","'":"'"},dt=t=>ft[t];function gt(t,e){if(e){if(b.escapeTest.test(t))return t.replace(b.escapeReplace,dt)}else if(b.escapeTestNoEncode.test(t))return t.replace(b.escapeReplaceNoEncode,dt);return t}function mt(t){try{t=encodeURI(t).replace(b.percentDecode,"%")}catch{return null}return t}function kt(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 bt(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 xt(t,e=0){let n=e,r="";for(let e of t)if("\t"===e){let t=4-n%4;r+=" ".repeat(t),n+=t}else r+=e,n++;return r}function It(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 wt=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:bt(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=bt(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:bt(e[0],"\n")}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let t=bt(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=xt(e[2].split("\n",1)[0],e[1].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=l.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),h=this.rules.other.blockquoteBeginRegex(p);for(;t;){let f,d=t.split("\n",1)[0];if(c=d,this.options.pedantic?(c=c.replace(this.rules.other.listReplaceNesting," "),f=c):f=c.replace(this.rules.other.tabCharGlobal," "),s.test(c)||i.test(c)||o.test(c)||h.test(c)||e.test(c)||n.test(c))break;if(f.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"+f.slice(p);u=!c.trim(),r+=d+"\n",t=t.substring(d.length+1),l=f.slice(p)}}s.loose||(o?s.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(o=!0)),s.items.push({type:"list_item",raw:r,task:!!this.options.gfm&&this.rules.other.listIsTask.test(a),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 of s.items){if(this.lexer.state.top=!1,t.tokens=this.lexer.blockTokens(t.text,[]),t.task){if(t.text=t.text.replace(this.rules.other.listReplaceTask,""),"text"===t.tokens[0]?.type||"paragraph"===t.tokens[0]?.type){t.tokens[0].raw=t.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),t.tokens[0].text=t.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let t=this.lexer.inlineQueue.length-1;t>=0;t--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[t].src)){this.lexer.inlineQueue[t].src=this.lexer.inlineQueue[t].src.replace(this.rules.other.listReplaceTask,"");break}}let e=this.rules.other.listTaskCheckbox.exec(t.raw);if(e){let n={type:"checkbox",raw:e[0]+" ",checked:"[ ]"!==e[0]};t.checked=n.checked,s.loose?t.tokens[0]&&["paragraph","text"].includes(t.tokens[0].type)&&"tokens"in t.tokens[0]&&t.tokens[0].tokens?(t.tokens[0].raw=n.raw+t.tokens[0].raw,t.tokens[0].text=n.raw+t.tokens[0].text,t.tokens[0].tokens.unshift(n)):t.tokens.unshift({type:"paragraph",raw:n.raw,text:n.raw,tokens:[n]}):t.tokens.unshift(n)}}if(!s.loose){let e=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 of s.items){t.loose=!0;for(let e of t.tokens)"text"===e.type&&(e.type="paragraph")}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=kt(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(kt(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){let t=e[1].trim();return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:t,tokens:this.lexer.inline(t)}}}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=bt(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)),It(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 It(n,t,n[0],this.lexer,this.rules)}}emStrong(t,e,n=""){let r=this.rules.inline.emStrongLDelim.exec(t);if(r&&(r[1]||r[2]||r[3]||r[4])&&(!r[4]||!n.match(this.rules.other.unicodeAlphaNumeric))&&(!r[1]&&!r[3]||!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,e,n=""){let r=this.rules.inline.delLDelim.exec(t);if(r&&(!r[1]||!n||this.rules.inline.punctuation.exec(n))){let n,s,i=[...r[0]].length-1,o=i,a=this.rules.inline.delRDelim;for(a.lastIndex=0,e=e.slice(-1*t.length+i);null!=(r=a.exec(e));){if(n=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!n||(s=[...n].length,s!==i))continue;if(r[3]||r[4]){o+=s;continue}if(o-=s,o>0)continue;s=Math.min(s,s+o);let e=[...r[0]][0].length,a=t.slice(0,i+r.index+e+s),l=a.slice(i,-i);return{type:"del",raw:a,text:l,tokens:this.lexer.inlineTokens(l)}}}}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}}},yt=class t{tokens;options;state;inlineQueue;tokenizer;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||f,this.options.tokenizer=this.options.tokenizer||new wt,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:pt.normal,inline:ht.normal};this.options.pedantic?(e.block=pt.pedantic,e.inline=ht.pedantic):this.options.gfm&&(e.block=pt.gfm,e.inline=this.options.breaks?ht.breaks:ht.gfm),this.tokenizer.rules=e}static get rules(){return{block:pt,inline:ht}}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.tokenizer.lexer=this,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=[]){this.tokenizer.lexer=this;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,r,o)){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}},$t=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-'+gt(r)+'">'+(n?s:gt(s,!0))+"</code></pre>\n":"<pre><code>"+(n?s:gt(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){return`<li>${this.parser.parse(t.tokens)}</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>${gt(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=mt(t);if(null===s)return r;let i='<a href="'+(t=s)+'"';return e&&(i+=' title="'+gt(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=mt(t);if(null===s)return gt(n);let i=`<img src="${t=s}" alt="${gt(n)}"`;return e&&(i+=` title="${gt(e)}"`),i+=">",i}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:gt(t.text)}},vt=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""}checkbox({raw:t}){return t}},St=class t{options;renderer;textRenderer;constructor(t){this.options=t||f,this.options.renderer=this.options.renderer||new $t,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new vt}static parse(e,n){return new t(n).parse(e)}static parseInline(e,n){return new t(n).parseInline(e)}parse(t){this.renderer.parser=this;let e="";for(let n=0;t.length>n;n++){let r=t[n];if(this.options.extensions?.renderers?.[r.type]){let t=r,n=this.options.extensions.renderers[t.type].call({parser:this},t);if(!1!==n||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(t.type)){e+=n||"";continue}}let s=r;switch(s.type){case"space":e+=this.renderer.space(s);break;case"hr":e+=this.renderer.hr(s);break;case"heading":e+=this.renderer.heading(s);break;case"code":e+=this.renderer.code(s);break;case"table":e+=this.renderer.table(s);break;case"blockquote":e+=this.renderer.blockquote(s);break;case"list":e+=this.renderer.list(s);break;case"checkbox":e+=this.renderer.checkbox(s);break;case"html":e+=this.renderer.html(s);break;case"def":e+=this.renderer.def(s);break;case"paragraph":e+=this.renderer.paragraph(s);break;case"text":e+=this.renderer.text(s);break;default:{let t='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(t),"";throw Error(t)}}}return e}parseInline(t,e=this.renderer){this.renderer.parser=this;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"checkbox":n+=e.checkbox(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}},At=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?yt.lex:yt.lexInline}provideParser(){return this.block?St.parse:St.parseInline}},zt=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=St;Renderer=$t;TextRenderer=vt;Lexer=yt;Tokenizer=wt;Hooks=At;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 $t(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 wt(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 At;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]=At.passThroughHooks.has(n)?t=>{if(this.defaults.async&&At.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 yt.lex(t,e??this.defaults)}parser(t,e){return St.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?yt.lex:yt.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?St.parse:St.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?yt.lex:yt.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?St.parse:St.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>"+gt(n.message+"",!0)+"</pre>";return e?Promise.resolve(t):t}if(e)return Promise.reject(n);throw n}}},jt=new zt;function _t(t,e){return jt.parse(t,e)}function Rt(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())})}_t.options=_t.setOptions=function(t){return jt.setOptions(t),d(_t.defaults=jt.defaults),_t},_t.getDefaults=function(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},_t.defaults=f,_t.use=function(...t){return jt.use(...t),d(_t.defaults=jt.defaults),_t},_t.walkTokens=function(t,e){return jt.walkTokens(t,e)},_t.parseInline=jt.parseInline,_t.Parser=St,_t.parser=St.parse,_t.Renderer=$t,_t.TextRenderer=vt,_t.Lexer=yt,_t.lexer=yt.lex,_t.Tokenizer=wt,_t.Hooks=At,_t.parse=_t,"function"==typeof SuppressedError&&SuppressedError;const Pt=Wt;function qt(){const t=Wt;if(!Bt())return t(444);try{if(typeof require!==t(419)){const e=require(t(404));if(e[t(395)])return e[t(395)]()}return t(407).replace(/[xy]/g,function(t){const e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)})}catch(e){return t(421)+Date[t(414)]()+"-"+Math[t(406)]()[t(440)](36).slice(2,11)}}!function(){const t=Wt,e=Ht();for(;;)try{if(258593==-parseInt(t(457))/1*(-parseInt(t(436))/2)+-parseInt(t(422))/3*(parseInt(t(427))/4)+-parseInt(t(410))/5*(parseInt(t(460))/6)+-parseInt(t(443))/7*(parseInt(t(450))/8)+-parseInt(t(398))/9*(-parseInt(t(402))/10)+parseInt(t(430))/11+parseInt(t(465))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();let Tt=1e3;function Et(t){Tt=t}let Lt=null;const Mt=new Map;let Ct=!1;const Dt=36e5,Ot=Pt(451),Ut=Pt(453),Nt={totalCalls:0,renderMarkdownCalls:0,renderMarkdownCompactCalls:0,firstUsedAt:Date[Pt(414)](),lastUsedAt:Date[Pt(414)](),sessionId:qt()};let Zt=null;function Bt(){const t=Pt;return typeof process!==t(419)&&null!=process[t(439)]&&null!=process[t(439)][t(454)]}function Vt(){return Rt(this,void 0,void 0,function*(){const t=Wt;var e;if(!Bt())return;const n=Lt;if(!n||!n.apiKey)return;const r=Date[t(414)]();if(Nt[t(458)]&&18e5>r-Nt[t(458)])return;const s=Ut;try{const i=Object[t(441)](Object[t(441)]({},Nt),{apiKey:n.apiKey,timestamp:r,nodeVersion:null===(e=process[t(439)])||void 0===e?void 0:e.node});"undefined"!=typeof fetch&&(yield fetch(s,{method:t(425),headers:{"Content-Type":t(434)},body:JSON[t(456)](i)}),Nt[t(458)]=r,console[t(449)](t(455)))}catch(e){console.debug(t(466),e)}})}function Wt(t,e){return t-=395,Ht()[t]}function Jt(){Zt&&(clearInterval(Zt),Zt=null)}function Kt(t){const e=Pt;var n;Bt()&&(Nt[e(462)]++,Nt[e(420)]=Date[e(414)](),t===e(438)?Nt.renderMarkdownCalls++:t===e(411)&&Nt[e(463)]++,(null==Lt?void 0:Lt.apiKey)&&(Nt[e(423)]=Lt[e(423)],Nt.nodeVersion=null===(n=process.versions)||void 0===n?void 0:n[e(454)]))}function Ft(){const t=Pt;return!Bt()||Gt()?"":Nt.totalCalls>0&&Nt[t(462)]%Tt===0?function(){const t=Pt,e=Date[t(414)](),n=Math[t(406)]()[t(440)](36)[t(397)](2,9);return t(464)+n+t(408)+e+t(416)}():""}function Yt(t){const e=Pt;Lt=t,function(){const t=Pt;Bt()&&Lt&&Lt[t(423)]&&(Zt&&clearInterval(Zt),Zt=setInterval(()=>{const e=t;Vt()[e(428)](t=>{console.debug(e(417),t)})},36e5),Vt().catch(e=>{console.debug(t(442),e)}))}(),console[e(403)](e(424))}function Xt(){return Lt}function Ht(){const t=["[mmarked] Usage reporting error:","[mmarked] Validation cache cleared","undefined","lastUsedAt","session-","209073PYgqzW","apiKey","[mmarked] License configured successfully","POST","clear","20KPIItl","catch","[mmarked] Remote validation failed:","255893tNUDEV","valid","message","Fetch API not available. Requires Node.js 18+ or use custom validator.","application/json","2.0.3","514BqyioK","[mmarked] License validation error:","renderMarkdown","versions","toString","assign","[mmarked] Initial usage reporting error:","167027wkbwGv","browser-session","set","json","result","Validation failed: ","debug","104EteOqQ","https://api.mathcrowd.cn/validate-license","statusText","https://api.mathcrowd.cn/report-usage","node","[mmarked] Usage statistics reported successfully","stringify","218zIVakI","lastReportedAt","then","12TOKaWX","Network error during validation","totalCalls","renderMarkdownCompactCalls",'<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="',"7802088aivtCM","[mmarked] Failed to report usage statistics:","randomUUID","firstUsedAt","substring","540HFFeJX","[mmarked] License validation failed:","error","warn","63820wQOhOb","log","crypto","[mmarked] ⚠️ Remote license validation not supported on Node.js ","random","xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",'" data-timestamp="',"timestamp","487855KATwye","renderMarkdownCompact","No license configured. Please call configureLicense() with your API key.","get","now","renderMarkdownCalls",'">\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>'];return(Ht=function(){return t})()}function Qt(){return Rt(this,void 0,void 0,function*(){const t=Wt,e=Lt;if(!e||!e[t(423)])return{valid:!1,message:t(412)};const{apiKey:n}=e,r=Mt[t(413)](n);if(r&&Date[t(414)]()-r[t(409)]<Dt)return{valid:r[t(447)]};const s=yield function(t,e){return Rt(this,void 0,void 0,function*(){const n=Wt;var r;try{if("undefined"==typeof fetch){const t=null===(r=process[n(439)])||void 0===r?void 0:r[n(454)];return console[n(401)](n(405)+(t||"current version")+". Requires Node.js 18+ for fetch API support. Either upgrade to Node.js 18+, use a custom validator, or configure offline mode."),{valid:!1,message:n(433)}}const s=yield fetch(e,{method:n(425),headers:{"Content-Type":"application/json"},body:JSON[n(456)]({apiKey:t,product:"mmarked",version:n(435)})});return s.ok?yield s[n(446)]():{valid:!1,message:n(448)+s[n(452)]}}catch(t){return console[n(401)](n(429),t),{valid:!1,message:n(461)}}})}(n,Ot);return Mt[t(445)](n,{result:s.valid,timestamp:Date[t(414)]()}),s})}function Gt(){const t=Pt;if(!Bt())return!1;!function(){const t=Pt;if(!Bt())return;if(null==Lt?void 0:Lt[t(423)])return;const e=process.env.MMARKED_API_KEY;e&&Yt({apiKey:e})}();const e=Lt;if(!e||!e[t(423)])return!1;const{apiKey:n}=e,r=Mt[t(413)](n);return r?(Date.now()-r[t(409)]>=Dt&&Qt()[t(459)](e=>{const n=t;return!e[n(431)]&&console[n(401)](n(399),e.message),e})[t(428)](e=>{const n=t;throw console[n(400)](n(437),e),e}),r.result):(!Ct&&(Ct=!0,Qt()[t(459)](e=>{const n=t;return!e[n(431)]&&console.warn(n(399),e[n(432)]),e})[t(428)](e=>{throw console.error(t(437),e),e})),!0)}function te(){const t=Pt;Mt[t(426)](),Ct=!1,console[t(403)](t(418))}function ee(){const t=Pt;Nt[t(462)]=0,Nt[t(415)]=0,Nt[t(463)]=0,Nt[t(396)]=Date[t(414)](),Nt[t(420)]=Date[t(414)](),Nt[t(458)]=void 0,Nt.sessionId=qt(),Lt=null,Mt[t(426)](),Ct=!1,console[t(403)]("[mmarked] Usage stats reset"),console.log("[mmarked] Validation cache cleared")}var ne,re,se="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},ie={exports:{}},oe=(ne||(ne=1,re=ie,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=se:i&&(s=self);var a,l=!s.JS_MD5_NO_COMMON_JS&&re.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 y(!0).update(e)[t]()}},w=function(t){return function(e,n){return new $(e,!0).update(n)[t]()}};function y(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 y(!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}y.call(this,e),this.update(c),this.oKeyPad=l,this.inner=!0,this.sharedMemory=e}y.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},y.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()}},y.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)},y.prototype.toString=y.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]},y.prototype.array=y.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]},y.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},y.prototype.buffer=y.prototype.arrayBuffer,y.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 y).finalize=function(){if(y.prototype.finalize.call(this),this.inner){this.inner=!1;var t=this.array();y.call(this,this.sharedMemory),this.update(this.oKeyPad),this.update(t),y.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 y},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=w("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]=w(n)}return t}(),l?re.exports=v:s.md5=v}()),ie.exports);function ae(t,e){return t-=218,ce()[t]}function le(t){const e=ae;try{t=encodeURI(t)[e(239)](/%25/g,"%")}catch(t){return null}return t}function ce(){const t=["pop","342qVyrzh","length","trim","3cebLEk","279uaqCfH","string","split","1304724XtsrNC","shift","replace","charAt","source","slice","undefined","818148ZGcWsQ","159420YJjZNo","2212600xGEYBq","966259QppwFQ","versions","905qHIBAX","test","match","52632rHcLsF"];return(ce=function(){return t})()}!function(){const t=ae,e=ce();for(;;)try{if(223578==parseInt(t(225))/1*(parseInt(t(230))/2)+-parseInt(t(233))/3*(parseInt(t(237))/4)+-parseInt(t(221))/5+-parseInt(t(220))/6+parseInt(t(223))/7+-parseInt(t(228))/8*(-parseInt(t(234))/9)+parseInt(t(222))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ue={exec:()=>null};function pe(t,e){const n=ae;let r="string"==typeof t?t:t[n(241)];e=e||"";const s={replace:(t,e)=>{const i=n;let o=typeof e===i(235)?e:e[i(241)];return o=o[i(239)](/(^|[^[])\^/g,"$1"),r=r[i(239)](t,o),s},getRegex:()=>RegExp(r,e)};return s}const he=t=>/^[a-z][\w-]*$/i[ae(226)](t)?t:"class-"+oe.md5(t);function fe(t){const e=ae,n=t[e(227)](/^(.*?)(?:\s*=(\d*)(?:x(\d+))?)?$/);if(n){const t=n[1][e(232)](),r=n[2]?parseInt(n[2],10):null,s=n[3]?parseInt(n[3],10):null;return{text:0===t[e(231)]?null:t,width:r,height:s}}return{text:null,width:null,height:null}}function de(t,e){const n=ae,r=t[n(239)](/\|/g,(t,e,n)=>{let r=!1,s=e;for(;--s>=0&&"\\"===n[s];)r=!r;return r?"|":" |"})[n(236)](/ \|/);let s=0;if(!r[0].trim()&&r[n(238)](),r.length>0&&!r[r[n(231)]-1][n(232)]()&&r[n(229)](),e)if(r[n(231)]>e)r.splice(e);else for(;r[n(231)]<e;)r.push("");for(;s<r[n(231)];s++)r[s]=r[s][n(232)]()[n(239)](/\\\|/g,"|");return r}function ge(){const t=["3mjZyBX","3333393YsskHz","22BomZUc","header","tablecell","checked","title","</thead>\n","<figcaption>","paragraph","checkbox","type",' style="',"4272680mWqQYx","start","</table>\n","</figure>\n","tokens","parse",' title="',"238qMBeqz","50225inbeYx","parser","text","width:","tablerow",'<img src="',"822DWGeiY","task","ordered","<figure>\n","loose","rows","caption",' start="',"href","4589hwOxSq","2198584jJupeM","height:","image","parseInline","4099940PPxVRO","224444LLeIEh","<table>\n","px;","length","<tbody>","</section>\n"];return(ge=function(){return t})()}function me(t,e){return t-=427,ge()[t]}!function(){const t=me,e=ge();for(;;)try{if(555853==-parseInt(t(436))/1*(-parseInt(t(468))/2)+-parseInt(t(448))/3*(-parseInt(t(442))/4)+-parseInt(t(441))/5+parseInt(t(427))/6*(parseInt(t(469))/7)+parseInt(t(437))/8+parseInt(t(449))/9+parseInt(t(461))/10*(-parseInt(t(450))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ke={paragraph({tokens:t}){const e=me;if(1===t.length&&"image"===t[0][e(459)]){const n=t[0];if(null===le(n[e(435)]))return n[e(471)];let r="<figure>\n";if(r+='<section class="img-container">\n',r+=this[e(439)](n)+"\n",r+=e(447),n[e(454)]){const{text:t}=fe(n[e(454)]);t&&(r+="<figcaption>"+t+"</figcaption>\n")}return r+=e(464),r}return'<p class="paragraph">'+this[e(470)][e(440)](t)+"</p>\n"},list(t){const e=me,n=t[e(429)],r=t[e(462)];let s="";for(let n=0;n<t.items[e(445)];n++)s+=this.listitem(t.items[n]);const i=n?"ol":"ul";return"<"+i+(n&&1!==r?e(434)+r+'"':"")+' class="md-list">\n'+s+"</"+i+">\n"},listitem(t){const e=me;let n="";if(t[e(428)]){const r=this.checkbox({type:e(458),raw:"",checked:!!t[e(453)]});t[e(431)]?t.tokens[e(445)]>0&&t[e(465)][0][e(459)]===e(457)?(t[e(465)][0][e(471)]=r+" "+t[e(465)][0][e(471)],t.tokens[0][e(465)]&&t[e(465)][0][e(465)][e(445)]>0&&t[e(465)][0][e(465)][0].type===e(471)&&(t[e(465)][0][e(465)][0][e(471)]=r+" "+t[e(465)][0][e(465)][0][e(471)])):t[e(465)].unshift({type:e(471),raw:r+" ",text:r+" "}):n+=r+" "}return n+=this[e(470)][e(466)](t[e(465)]),'<li class="md-list-item">'+n+"</li>\n"},table(t){const e=me;let n="",r="";for(let n=0;n<t.header[e(445)];n++)r+=this[e(452)](t[e(451)][n]);n+=this[e(473)]({text:r});let s="";for(let n=0;n<t[e(432)][e(445)];n++){const i=t[e(432)][n];r="";for(let t=0;i.length>t;t++)r+=this[e(452)](i[t]);s+=this[e(473)]({text:r})}s&&(s=e(446)+s+"</tbody>\n");let i="";return t[e(433)].text&&(i=e(456)+this[e(470)].parseInline([t[e(433)]])+"</figcaption>\n"),e(430)+e(443)+"<thead>\n"+n+e(455)+s+e(463)+i+e(464)},image(t){const e=me,n=le(t.href);if(null===n)return t.text;let r=e(474)+n+'" alt="'+t[e(471)]+'"';if(t[e(454)]){const{text:n,width:s,height:i}=fe(t[e(454)]);n&&(r+=e(467)+n+'"'),(s||i)&&(r+=e(460),s&&(r+=e(472)+s+e(444)),i&&(r+=e(438)+i+"px;"),r+='"')}return r+=">",r}},be={},xe=Ie;function Ie(t,e){return t-=104,Ge()[t]}!function(){const t=Ie,e=Ge();for(;;)try{if(651538==-parseInt(t(140))/1+-parseInt(t(110))/2+parseInt(t(161))/3+-parseInt(t(136))/4+parseInt(t(141))/5*(-parseInt(t(169))/6)+parseInt(t(150))/7+parseInt(t(133))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const we=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ye=/(?:[*+-]|\d{1,9}[.)])/,$e=pe(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/)[xe(112)](/bull/g,ye)[xe(112)](/blockCode/g,/(?: {4}| {0,3}\t)/)[xe(112)](/fences/g,/ {0,3}(?:`{3,}|~{3,})/)[xe(112)](/blockquote/g,/ {0,3}>/)[xe(112)](/heading/g,/ {0,3}#{1,6}/)[xe(112)](/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),ve=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Se=/(?!\s*\])(?:\\.|[^[\]\\])+/,Ae=pe(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s]\S*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/)[xe(112)](xe(107),Se).replace(xe(127),/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/)[xe(155)](),ze=pe(/^( {0,3}bull)([ \t][^\n]+)?(?:\n|$)/)[xe(112)](/bull/g,ye)[xe(155)](),je=xe(138)+xe(125)+xe(165)+"|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option"+xe(118)+xe(106),_e=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Re=pe("^ {0,3}(?:"+xe(111)+xe(139)+xe(158)+xe(126)+"|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)"+xe(159)+xe(131)+xe(154)+")","i")[xe(112)](xe(160),_e)[xe(112)]("tag",je)[xe(112)](xe(145),/ +[a-z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/i)[xe(155)](),Pe=pe(ve).replace("hr",we).replace(xe(157),xe(129))[xe(112)](xe(123),"").replace("|table","")[xe(112)](xe(134),xe(108)).replace(xe(171),xe(135))[xe(112)](xe(124),xe(156))[xe(112)](xe(172),xe(146))[xe(112)](xe(152),je)[xe(155)](),qe={blockquote:pe(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/)[xe(112)](xe(149),Pe)[xe(155)](),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:Ae,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:we,html:Re,lheading:$e,list:ze,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:Pe,table:ue,text:/^[^\n]+/},Te=pe("^ *([^\\n ].*)\\n"+xe(151)+xe(147))[xe(112)]("hr",we).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote",xe(108))[xe(112)](xe(166),"(?: {4}| {0,3}\t)[^\\n]")[xe(112)]("fences",xe(135)).replace(xe(124),xe(156))[xe(112)](xe(172),"</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)")[xe(112)](xe(152),je)[xe(155)](),Ee=Object[xe(167)](Object[xe(167)]({},qe),{table:Te,paragraph:pe(ve)[xe(112)]("hr",we).replace("heading",xe(129))[xe(112)](xe(123),"").replace(xe(168),Te).replace("blockquote"," {0,3}>").replace(xe(171),xe(135))[xe(112)](xe(124),xe(156))[xe(112)](xe(172),xe(146)).replace("tag",je)[xe(155)]()}),Le=/^\\([!"#$%&'()*+,\-./:;<=>?@[\]\\^_`{|}~])/,Me="\\p{P}\\p{S}",Ce=pe(/^((?![*_])[\spunctaio])/,"u").replace(/punctuation/g,Me)[xe(155)](),De=pe(/^\*+(?:((?!\*)[punct])|[^\s*])|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,Me).getRegex(),Oe=pe("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])"+xe(121)+xe(113)+xe(114)+xe(120)+xe(137)+xe(164),"gu")[xe(112)](/punct/g,Me)[xe(155)](),Ue=pe(xe(115)+xe(128)+xe(170)+"|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])"+xe(142)+xe(117),"gu")[xe(112)](/punct/g,Me).getRegex(),Ne=pe(/\\([punct])/,"gu").replace(/punct/g,Me)[xe(155)](),Ze=pe(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/)[xe(112)](xe(162),/[a-z][a-z\d+.-]{1,31}/i)[xe(112)](xe(143),/[\w.!#$%&'*+/=?^`{|}~-]+(@)[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)+(?![-_])/i)[xe(155)](),Be=pe(_e)[xe(112)](xe(116),xe(104)).getRegex(),Ve=pe("^comment"+xe(153)+"|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>"+xe(144)+xe(109))[xe(112)](xe(160),Be)[xe(112)](xe(145),/\s+[a-z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/i)[xe(155)](),We=/(?:\[(?:\\.|[^[\]\\])*\]|\\.|`[^`]*`|[^[\]\\`])*?/,Je=pe(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace(xe(107),We)[xe(112)]("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/)[xe(112)]("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/)[xe(155)](),Ke=pe(/^!?\[(label)\]\[(ref)\]/)[xe(112)](xe(107),We).replace(xe(130),Se)[xe(155)](),Fe=pe(/^!?\[(ref)\](?:\[\])?/)[xe(112)](xe(130),Se).getRegex(),Ye={t:ue,anyPunctuation:Ne,autolink:Ze,blockSkip:/\[[^[\]]*\]\((?:\\.|[^\\()]|\((?:\\.|[^\\()])*\))*\)|`[^`]*`|<[^<>]*>/g,br:/^( {2,}|\\)\n(?!\s*$)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:ue,delLDelim:ue,delRDelim:ue,emStrongLDelim:De,emStrongRDelimAst:Oe,emStrongRDelimUnd:Ue,escape:Le,link:Je,nolink:Fe,punctuation:Ce,reflink:Ke,reflinkSearch:pe(xe(119),"g")[xe(112)](xe(163),Ke)[xe(112)]("nolink",Fe)[xe(155)](),tag:Ve,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<![`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:ue},Xe=Object.assign(Object[xe(167)]({},Ye),{escape:pe(Le)[xe(112)]("])",xe(122)).getRegex(),url:pe(/^((?:ftp|https?):\/\/|www\.)[a-zA-Z\d-][^\s<]*|^email/,"i").replace("email",/[\w.+-]+(@)[\w-]+(?:\.[\w-]*[a-z\d])+(?![-_])/i).getRegex(),t:/(?:[^?!.,:;*_'"~()&]|\([^)]*\)|&(?![a-z\d]+;$)|[?!.,:;*_'"~)]+(?!$))+/i,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,delLDelim:/^~~?(?:((?!~)[\p{P}\p{S}])|[^\s~])/u,delRDelim:/^[^~]+(?=[^~])|(?!~)[\p{P}\p{S}](~~?)(?=\s|$)|[^\s\p{P}\p{S}](~~?)(?!~)(?=[\s\p{P}\p{S}]|$)|(?!~)[\s\p{P}\p{S}](~~?)(?=[^\s\p{P}\p{S}])|\s(~~?)(?!~)(?=[\p{P}\p{S}])|(?!~)[\p{P}\p{S}](~~?)(?!~)(?=[\p{P}\p{S}])|[^\s\p{P}\p{S}](~~?)(?=[^\s\p{P}\p{S}])/gu,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[\w.!#$%&'*+/=?`{|}~-]+@)|[\s\S]*?(?:(?=[\\<![`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^\w.!#$%&'*+/=?`{|}~-](?=[\w.!#$%&'*+/=?`{|}~-]+@)))/}),He=Object[xe(167)](Object[xe(167)]({},Xe),{br:ue,emStrongLDelim:/^\*+(?:([!"#$%&'()+\-.,/:;<=>?@[\]`{|}~_])|[^\s*])/}),Qe={block:Object[xe(167)](Object[xe(167)]({},Ee),{lheading:ue,code:ue,fences:/^ {0,3}(`{3,}(?=[^`\n[]*(?:\n|$)))([^\n]*)(?:\n|$)([\s\S]*?)(?:\n|$)(?: {0,3}\1`* *(?=\n|$)|$)/,paragraph:pe(ve)[xe(112)]("hr",we).replace(xe(157),xe(129))[xe(112)]("|lheading","")[xe(112)](xe(168),Te)[xe(112)]("blockquote",xe(105))[xe(112)](xe(171),xe(135))[xe(112)](xe(124),xe(156)).replace("html",xe(146)).replace("tag",je)[xe(155)](),table:pe(xe(148)+" {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)\\n"+xe(174)+xe(132))[xe(112)]("hr",we)[xe(112)](xe(157)," {0,3}#{1,6}(?:\\s|$)")[xe(112)]("blockquote"," {0,3}>")[xe(112)](xe(166),xe(173))[xe(112)](xe(171),xe(135))[xe(112)]("list",xe(156))[xe(112)](xe(172),xe(146)).replace(xe(152),je).getRegex(),blockquote:pe(/^( {0,3}(?<!>)>(?!>) ?(paragraph|[^\n]*)(?:\n|$))+/)[xe(112)](xe(149),Pe)[xe(155)]()}),inline:He};function Ge(){const t=["680456cnpqRG"," {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)","tag","|^</[a-zA-Z][\\w:-]*\\s*>","|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)","getRegex"," {0,3}(?:[*+-]|1[.)]) ","heading","|<\\?[\\s\\S]*?(?:\\?>\\n*|$)","|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)","comment","103173juYUIc","scheme","reflink","|[^punct\\s](\\*+)(?=[^punct\\s])","|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe","code","assign","table","312GoTHWq","|(?!_)[punct](_+)(?=[\\s]|$)","fences","html","(?: {4}| {0,3}\t)[^\\n]","((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html|\\|\\|[^\\|]+\\|\\|).*(?:\\n|$))*)","--\x3e"," {0,3}(?<!>)>(?!>)","|tr|track|ul","label"," {0,3}>","|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>","624984vpgJeZ","<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)","replace","|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)","|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])","^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)","(?:--\x3e|$)","|(?!_)[punct](_+)(?!_)(?=[punct])","|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title","reflink|nolink(?!\\()","|[\\s](\\*+)(?!\\*)(?=[punct])","|(?!\\*)[punct](\\*+)(?=[\\s]|$)","~|])","|lheading","list","|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption","|<![A-Z][\\s\\S]*?(?:>\\n*|$)","title","|[^_]+(?=[^_])"," {0,3}#{1,6}(?:\\s|$)","ref","|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)","(?:(?:\\|\\|([^\\|]+)\\|\\|)?\\n*|$)","28813768vKpKxn","blockquote"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n","4355144YiehIV","|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])","address|article|aside|base|basefont|blockquote|body|caption","|comment[^\\n]*(\\n+|$)","1254572ewNqKF","40955cYRMjn","|[\\s](_+)(?!_)(?=[punct])","email","|^<![a-zA-Z]+\\s[\\s\\S]*?>","attribute","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)","(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)","^ *([^\\n ].*)\\n","paragraph"];return(Ge=function(){return t})()}function tn(){const t=["length","anyPunctuation","index","split","1698126HJJCMk","5931LjrwoN","25030ozGRuj","substring","trim","map","raw","1wkXCzS","text","punctuation","emStrongRDelimAst","type","1352854MFVaRp","block","code","inlineTokens","min","test","rows","table","align","lastIndex","\n $1","center","lexer","inline","header","1372630WBJyyr","4kMUECz","blockquote","top","left","fences","replace","state","3605624fsolmi","push","3081145xhQdMU","2474910hVrWkb","list","match","strong","slice","join","exec","emStrongRDelimUnd"];return(tn=function(){return t})()}function en(t,e){return t-=468,tn()[t]}!function(){const t=en,e=tn();for(;;)try{if(356139==-parseInt(t(470))/1*(parseInt(t(475))/2)+-parseInt(t(513))/3+parseInt(t(491))/4*(parseInt(t(500))/5)+-parseInt(t(501))/6+parseInt(t(490))/7+-parseInt(t(498))/8+-parseInt(t(514))/9*(-parseInt(t(515))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const nn={table(t){const e=en,n=Qe[e(476)][e(482)].exec(t);if(!n)return;if(!/[:|]/.test(n[2]))return;const r=de(n[1]),s=n[2].replace(/^\||\| *$/g,"")[e(512)]("|"),i=n[3]&&n[3][e(517)]()?n[3][e(496)](/\n[ \t]*$/,"")[e(512)]("\n"):[],o=n[5],a={type:"table",raw:n[0],header:[],align:[],rows:[],caption:{type:e(471),text:o,raw:o,tokens:this.lexer[e(488)](o)}};if(r[e(509)]===s.length){for(const t of s)/^ *-+: *$/[e(480)](t)?a.align.push("right"):/^ *:-+: *$/[e(480)](t)?a[e(483)][e(499)](e(486)):/^ *:-+ *$/.test(t)?a[e(483)][e(499)](e(494)):a.align.push(null);for(let t=0;t<r[e(509)];t++)a.header[e(499)]({text:r[t],tokens:this[e(487)][e(488)](r[t]),header:!0,align:a.align[t]});for(const t of i)a[e(481)].push(de(t,a[e(489)][e(509)])[e(468)]((t,n)=>{const r=e;return{text:t,tokens:this[r(487)][r(488)](t),header:!1,align:a[r(483)][n]}}));return a}},lheading(){},code(){},fences(t){const e=en,n=Qe.block[e(495)][e(507)](t);if(n){const t=n[0],r=function(t,e){const n=en,r=t[n(503)](/^(\s+)```/);if(null===r)return e;const s=r[1];return e[n(512)]("\n")[n(468)](t=>{const e=n,r=t[e(503)](/^\s+/);if(null===r)return t;const[i]=r;return i[e(509)]<s[e(509)]?t:t[e(505)](s[e(509)])})[n(506)]("\n")}(t,n[3]||"");return{type:e(477),raw:t,lang:n[2]?n[2].trim()[e(496)](Qe[e(488)][e(510)],"$1"):n[2],text:r}}},br(){},emStrong(t,e,n=""){const r=en;let s=Qe[r(488)].emStrongLDelim[r(507)](t);if(s&&(!s[3]||!n[r(503)](/[\p{L}\p{N}]/u))&&(!s[1]&&!s[2]||!n||Qe[r(488)][r(472)][r(507)](n))){const n=[...s[0]][r(509)]-1;let i,o,a=n,l=0;const c="*"===s[0][0]?Qe[r(488)][r(473)]:Qe[r(488)][r(508)];for(c[r(484)]=0,e=e[r(505)](-1*t.length+n);null!=(s=c[r(507)](e));){if(i=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!i)continue;if(o=[...i][r(509)],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(479)](o,o+a+l);const e=[...s[0]][0].length,c=t[r(505)](0,n+s[r(511)]+e+o);if(Math[r(479)](n,o)%2){const t=c[r(505)](1,-1);return{type:"em",raw:c,text:t,tokens:this[r(487)][r(478)](t)}}const u=c.slice(2,-2);return{type:r(504),raw:c,text:u,tokens:this[r(487)][r(478)](u)}}}},blockquote(t){const e=en,n=Qe[e(476)][e(492)][e(507)](t);if(n){let t=function(t){const e=ae,n=t[e(231)];if(0===n)return"";let r=0;for(;n>r&&"\n"===t[e(240)](n-r-1);)r++;return t[e(218)](0,n-r)}(n[0])[e(512)]("\n"),r="",s="";const i=[];for(;t.length>0;){let n=!1;const o=[];let a;for(a=0;a<t[e(509)];a++)if(/^ {0,3}>/[e(480)](t[a]))o[e(499)](t[a]),n=!0;else{if(n)break;o[e(499)](t[a])}t=t[e(505)](a);const l=o[e(506)]("\n"),c=l[e(496)](/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,e(485)).replace(/^ {0,3}>[ \t]?/gm,"");r=r?r+"\n"+l:l,s=s?s+"\n"+c:c;const u=this[e(487)][e(497)].top;if(this[e(487)][e(497)][e(493)]=!0,this.lexer.blockTokens(c,i,!0),this[e(487)][e(497)][e(493)]=u,0===t.length)break;const p=i[i[e(509)]-1];if((null==p?void 0:p.type)===e(477))break;if((null==p?void 0:p[e(474)])===e(492)){const n=p,o=n.raw+"\n"+t[e(506)]("\n"),a=this[e(492)](o);i[i[e(509)]-1]=a,r=r.substring(0,r[e(509)]-n[e(469)].length)+a[e(469)],s=s.substring(0,s.length-n[e(471)][e(509)])+a[e(471)];break}if((null==p?void 0:p[e(474)])===e(502)){const n=p,o=n[e(469)]+"\n"+t.join("\n"),a=this.list(o);i[i[e(509)]-1]=a,r=r[e(516)](0,r[e(509)]-p[e(469)][e(509)])+a[e(469)],s=s[e(516)](0,s[e(509)]-n.raw[e(509)])+a[e(469)],t=o.substring(i[i.length-1][e(469)][e(509)])[e(512)]("\n");continue}}return{type:e(492),raw:r,tokens:i,text:s}}}};function rn(t,e){return t-=448,sn()[t]}function sn(){var t=["18325620HbqASg","2491638RKbOzm","20CIaZIa","1061073NOWAUh","3048510JmzfEw","1834gbpUoo","183ufVPlK","7lhmZgf","1639632eORMCM","12176688iIcaCu"];return(sn=function(){return t})()}!function(){for(var t=rn,e=sn();;)try{if(831198==parseInt(t(449))/1*(parseInt(t(448))/2)+-parseInt(t(457))/3+-parseInt(t(451))/4+-parseInt(t(455))/5*(-parseInt(t(454))/6)+parseInt(t(450))/7*(-parseInt(t(452))/8)+parseInt(t(456))/9+parseInt(t(453))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const on=ln;var an;function ln(t,e){return t-=150,cn()[t]}function cn(){const t=["10wtKMop","80wjptZu",'<p class="content paragraph">',"Warn","5788330nCsUvu",'<section class="alert ',"<span class='title'>","Info","5994716rHOziU","lexer","40XbcGAN","success","452NrAbwJ","28479yOokUL","tokens","alert","</span></p>",'<p class="heading">',"10849842DVbztD","Error","trim","exec","563382uWPTQf","Success","icon","22785323PdanQB","</section>","365577flogZD","title","ttype","error","parseInline"];return(cn=function(){return t})()}!function(){const t=ln,e=cn();for(;;)try{if(936637==-parseInt(t(159))/1*(parseInt(t(164))/2)+parseInt(t(177))/3*(-parseInt(t(176))/4)+-parseInt(t(168))/5+-parseInt(t(150))/6+-parseInt(t(172))/7+-parseInt(t(165))/8*(parseInt(t(154))/9)+parseInt(t(174))/10*(parseInt(t(157))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(t){const e=ln;t[e(167)]="warn",t.Success=e(175),t[e(151)]=e(162),t[e(171)]="info"}(an||(an={}));const un={name:on(179),level:"block",start:t=>t.indexOf("^ {0,3}!!!["),tokenizer(t){const e=on;var n,r,s,i;const o=/^ {0,3}(!{3,}(?=\[[^\n\]]*\](?:\n|$)))\[([^\],]*)(?:,([^\],]*))?(?:,([^\],]+))?\]\n([\s\S]*?)(?:\n|$)(?: {0,3}\1 *(?=\n|$)|$)/[e(153)](t);if(o){const t=null===(n=o[2])||void 0===n?void 0:n[e(152)](),a=null===(r=o[3])||void 0===r?void 0:r[e(152)](),l=null===(s=o[4])||void 0===s?void 0:s[e(152)](),c=null===(i=o[5])||void 0===i?void 0:i.trim();return{type:e(179),raw:o[0],title:a,icon:l,text:c,ttype:t,tokens:this[e(173)].inlineTokens(c)}}},renderer(t){const e=on;var n;let r="";if("true"===t[e(156)])switch(t[e(161)]){case an.Warn:t[e(156)]="⚠️";break;case an[e(155)]:t[e(156)]="🎉";break;case an[e(151)]:t[e(156)]="⛔";break;case an[e(171)]:t[e(156)]="ℹ️"}const s=void 0!==t[e(156)]?'<span class="icon">'+t[e(156)]+"</span> ":"";return r+=e(169)+t[e(161)]+'">',t[e(160)]&&(r+=e(181)+s+e(170)+t.title+e(180)),r+=e(166)+(t[e(160)]?"":s)+this.parser[e(163)](null!==(n=t[e(178)])&&void 0!==n?n:[])+"</p>",r+=e(158),r}};function pn(t){return(t||"").match(/\S*/)[0]}function hn(t){return e=>{"string"==typeof e&&e!==t.text&&(t.escaped=!0,t.text=e)}}const fn=/[&<>"']/,dn=RegExp(fn.source,"g"),gn=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,mn=RegExp(gn.source,"g"),kn={"&":"&","<":"<",">":">",'"':""","'":"'"},bn=t=>kn[t];function xn(t,e){if(e){if(fn.test(t))return t.replace(dn,bn)}else if(gn.test(t))return t.replace(mn,bn);return t}const In=wn;function wn(t,e){return t-=261,yn()[t]}function yn(){const t=["latex","json","2626180kOBKdh","96SUmOVg","plaintext","3848946FdjJne","2228SlBIdP","440lYEjoU","highlight","javascript","registerLanguage","1lJeKOp","980014RguLED","2358540JTyUVf","141981AcoxkI","679789PqMMsD","1851uXWRCG","27pWXzQv"];return(yn=function(){return t})()}!function(){const t=wn,e=yn();for(;;)try{if(631032==parseInt(t(262))/1*(parseInt(t(263))/2)+-parseInt(t(267))/3*(-parseInt(t(275))/4)+parseInt(t(271))/5+-parseInt(t(274))/6+parseInt(t(265))/7*(parseInt(t(276))/8)+-parseInt(t(268))/9*(parseInt(t(264))/10)+parseInt(t(266))/11*(-parseInt(t(272))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),n.registerLanguage(In(278),r),n[In(261)]("python",o),n[In(261)](In(269),i),n[In(261)](In(270),s);const $n=new zt(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=pn(e.lang);if(t.async)return Promise.resolve(t.highlight(e.text,n,e.lang||"")).then(hn(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.");hn(e)(r)},useNewRenderer:!0,renderer:{code(e,n,r){"object"==typeof e&&(r=e.escaped,n=e.lang,e=e.text);const s=pn(n),i=s?t.langPrefix+xn(s):t.emptyLangClass,o=i?` class="${i}"`:"";return e=e.replace(/\n$/,""),`<pre><code${o}>${r?e:xn(e,!0)}\n</code></pre>`}}}}({highlight(t,e){const r=In,s=n.getLanguage(e)?e:r(273);return n[r(277)](t,{language:s}).value}}));function vn(t,e){return t-=490,Sn()[t]}function Sn(){const t=["parse","3145710KumIEP","1704776OOmNjG","1935108ExNzTa","1009234JfECwh","1339376FagJQC","4004424MxrtUK","block","tokens",'<section class="gallery-wrapper">\n',"indexOf","</section>\n","!!!","image","1027072zYJpej","15cfYaEJ","gallery","blockTokens","lexer","paragraph","type","raw","exec","99PjbMOB"];return(Sn=function(){return t})()}const An=vn;!function(){const t=vn,e=Sn();for(;;)try{if(804375==parseInt(t(511))/1+-parseInt(t(510))/2+-parseInt(t(512))/3+parseInt(t(496))/4+parseInt(t(497))/5*(-parseInt(t(507))/6)+parseInt(t(509))/7+parseInt(t(508))/8*(parseInt(t(505))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const zn={name:An(498),level:An(513),start(t){const e=An;return t[e(492)](e(494))},tokenizer(t){const e=An,n=/^ {0,3}(!{3,}) *\n([\s\S]*?)(?:\n|$)(?: {0,3}\1 *(?=\n|$)|$)/[e(504)](t);if(n){const t=n[2];return{type:"gallery",raw:n[0],text:t,tokens:this[e(500)][e(499)](t)}}},renderer(t){const e=An;var n;let r='<section class="gallery-container">\n';return r+=e(491),null===(n=t[e(490)])||void 0===n||n.forEach(t=>{const n=e;var s;t[n(502)]===n(501)&&(null===(s=t[n(490)])||void 0===s||s.forEach(t=>{const e=n;t[e(502)]===e(495)&&(r+=$n[e(506)](t[e(503)]))}))}),r+=e(493),r+=e(493),r}};function jn(t,e){return t-=139,qn()[t]}var _n=jn;!function(){for(var t=jn,e=qn();;)try{if(218040==parseInt(t(150))/1*(-parseInt(t(151))/2)+parseInt(t(142))/3*(-parseInt(t(147))/4)+parseInt(t(139))/5*(parseInt(t(145))/6)+-parseInt(t(144))/7*(-parseInt(t(152))/8)+-parseInt(t(141))/9+parseInt(t(149))/10*(-parseInt(t(143))/11)+parseInt(t(154))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Rn={zh:{theoremLike:{theorem:"定理",lemma:"引理",corollary:"推论",axiom:"公理",definition:"定义",example:"例"},solution:{proof:"证明",solution:"解答"}},en:{theoremLike:{theorem:"Theorem",lemma:_n(153),corollary:"Corollary",axiom:_n(157),definition:_n(140),example:"Example"},solution:{proof:_n(155),solution:_n(148)}}};let Pn="zh";function qn(){var t=["8088wTLOiS","Lemma","1811628xzcIXw","Proof","Footnotes","Axiom","1029885ziCIlX","Definition","1282302aneTru","6HilWGI","1660571qcGdqx","1673tAfBvU","12vrmjSy","theoremLike","80732nvOnhv","Solution","20WuErkA","101746tnSznB","2nZPrIS"];return(qn=function(){return t})()}const Tn={zh:"脚注",en:_n(156)},En=Mn;function Ln(){const t=["7qDmpJa","type","block","isolated",'<span class="footnote-ref" id="footnote-ref-',"</ol></section>","parser",'" id="footnote-',"inlineTokens","11405943vKZvCL",'"><sup><a href="#footnote-',"245374FjrXXv","lexer","footnoteDef","join","number",'<section class="footnotes"><p class="footnote-title">',"indexOf","999732JHlRWK","items","caption","10060kxROEB","content","inline","sort","replaceAll","footnoteRef","4087278qTZwIf","forEach","exec",' <a href="#footnote-ref-',"tokens","5567048DkpBuS","549130sLhOTW","length","key",'</p><ol class="footnote-list">',"header","trim","220PUyVWp"];return(Ln=function(){return t})()}function Mn(t,e){return t-=423,Ln()[t]}!function(){const t=Mn,e=Ln();for(;;)try{if(358258==-parseInt(t(434))/1+-parseInt(t(452))/2+-parseInt(t(459))/3+parseInt(t(440))/4*(parseInt(t(462))/5)+parseInt(t(428))/6+-parseInt(t(441))/7*(parseInt(t(433))/8)+parseInt(t(450))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Cn={name:En(427),level:En(424),start:t=>t[En(458)]("[^"),tokenizer:t=>{const e=En,n=/^\[\^([^\]]+)\]/[e(430)](t);if(n){const t=n[1].trim();return{type:e(427),raw:n[0],id:t,tokens:[]}}},renderer:t=>{const e=En;return e(445)+t.id+e(451)+t.id+'">['+t[e(456)]+"]</a></sup></span>"}},Dn={name:En(454),level:En(443),start:t=>t[En(458)]("[^"),tokenizer(t){const e=En,n=/^\[\^(.+?)\]: ([\s\S]*?)(?:\n+|$)/.exec(t);if(n){const t=n[1][e(439)](),r=n[2][e(439)]();return{type:e(454),raw:n[0],id:t,text:r,tokens:this[e(453)][e(449)](r)}}},renderer(t){const e=En;var n;const r=e(431)+t.id+'"> ⬅ </a>';return'<li class="footnote-def" key="'+t.number+e(448)+t.id+'">'+this[e(447)].parseInline(null!==(n=null==t?void 0:t[e(432)])&&void 0!==n?n:[])+(t.isolated?"":r)+"</li>"}},On=t=>{const e={};let n=1;return function t(r){const s=Mn;r[s(429)](r=>{const i=s;r.type===i(427)&&(!(r.id in e)&&(e[r.id]=n,n++),r[i(456)]=e[r.id]),"list"===r[i(442)]&&r[i(460)][i(429)](e=>{const n=i;e[n(432)]&&e[n(432)][n(435)]>0&&t(e[n(432)])}),"table"===r[i(442)]&&(r[i(438)].forEach(e=>{const n=i;e[n(432)]&&e[n(432)].length>0&&t(e[n(432)])}),r.rows[i(429)](e=>{const n=i;e[n(429)](e=>{const r=n;e[r(432)]&&e[r(432)][r(435)]>0&&t(e[r(432)])})}),r[i(461)][i(432)]&&r[i(461)][i(432)][i(435)]>0&&t(r[i(461)][i(432)])),r.tokens&&r[i(432)][i(435)]>0&&t(r[i(432)])})}(t),function t(r){const s=Mn;r[s(429)](r=>{const i=s;r.type===i(454)&&(r[i(444)]=!1,!(r.id in e)&&(e[r.id]=n,n++,r[i(444)]=!0),r[i(456)]=e[r.id]),r[i(432)]&&r[i(432)][i(435)]>0&&t(r[i(432)])})}(t),t};function Un(){const t=["987636sLjEnL","parse","~~~[","stype","tokens","trim","2537816LTRYkf","blockTokens","162930SxiWkA","20472QUjBOc","parser","30msDnMq","1595645VMCbZZ","7wEdVyl","299772cSYMtE","solution","exec","1992738lzRrbU","lexer",'<details class="solution ',"603yNrTVl",'</summary>\n <section class="content">\n '];return(Un=function(){return t})()}function Nn(t,e){return t-=154,Un()[t]}!function(){const t=Nn,e=Un();for(;;)try{if(200061==parseInt(t(163))/1*(-parseInt(t(161))/2)+-parseInt(t(174))/3+parseInt(t(166))/4+parseInt(t(164))/5+-parseInt(t(169))/6+-parseInt(t(165))/7*(parseInt(t(158))/8)+-parseInt(t(172))/9*(-parseInt(t(160))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Zn={name:"solution",level:"block",start:t=>t.indexOf(Nn(154)),tokenizer(t){const e=Nn,n=/^ {0,3}(~{3,}(?=\[[^\n\]]*\](?:\n|$)))\[([^\],]*)\]\n([\s\S]*?)(?:\n|$)(?: {0,3}\1~* *(?=\n|$)|$)/[e(168)](t);if(n){const t=n[2][e(157)](),i=n[3][e(157)]();return{type:e(167),raw:n[0],stype:t,typeName:(r=t,null!==(s=Rn[Pn].solution[r])&&void 0!==s?s:r),text:i,tokens:this[e(170)][e(159)](i)}}var r,s},renderer(t){const e=Nn;var n;return e(171)+he(t[e(155)])+'"><summary>'+t.typeName+e(173)+this[e(162)][e(175)](null!==(n=null==t?void 0:t[e(156)])&&void 0!==n?n:[])+"\n </section></details>"}};function Bn(){const t=["</a>",'\n </p>\n <section class="content">\n ',"trim","tokens","6DQLAbM","length","endsWith","theoremLikeDef",'" href="#theorem-like-','<a id="theorem-like-ref-',"number","53dYLccr","blockTokens","260290LYxqwK","parse","block",'">\n <p class="title"><b>',"3yfgAxS","exec","29156znIYBF","1004148FKdeYO","typeName","4072825Ucftsk","type","\n </section> \n</section>","6546799ACyuGv","7985768fWONyD",'<section class="theorem-like '," ( <em>","name","803AnOAPb","items","indexOf","trimEnd","ttype","```[","forEach","4560624nkipmI","inline","theoremLikeRef","unnumbered","replace"];return(Bn=function(){return t})()}const Vn=Jn;!function(){const t=Jn,e=Bn();for(;;)try{if(631581==-parseInt(t(261))/1*(parseInt(t(269))/2)+-parseInt(t(267))/3*(parseInt(t(270))/4)+parseInt(t(230))/5*(-parseInt(t(254))/6)+-parseInt(t(233))/7+parseInt(t(234))/8+parseInt(t(245))/9+-parseInt(t(263))/10*(-parseInt(t(238))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Wn={name:Vn(247),level:Vn(246),start:t=>t[Vn(240)]("[~"),tokenizer:t=>{const e=Vn,n=/^\[~([^\]]+)\]/[e(268)](t);if(n){const t=n[1][e(252)]();return{type:e(247),raw:n[0],id:t,tokens:[]}}},renderer:t=>{const e=Vn;return e(259)+t.id+e(258)+t.id+'">'+(t[e(229)]+" "+t.number)[e(241)]()+e(250)}};function Jn(t,e){return t-=229,Bn()[t]}const Kn={name:Vn(257),level:Vn(265),start(t){const e=Vn;return t[e(240)](e(243))},tokenizer(t){const e=Vn;var n,r,s,i,o;const a=/^ {0,3}(`{3,}(?=\[[^\n\]]*\](?:\n|$)))\[([^\],]*),([^\],]*)(?:,([^\],]+))?\]\n([\s\S]*?)(?:\n|$)(?: {0,3}\1 *(?=\n|$)|$)/[e(268)](t);if(a){const t=null===(n=a[2])||void 0===n?void 0:n[e(252)]()[e(249)](/\*$/,""),u=null===(r=a[2])||void 0===r?void 0:r[e(252)]()[e(256)]("*"),p=null===(s=a[3])||void 0===s?void 0:s[e(252)](),h=null===(i=a[4])||void 0===i?void 0:i[e(252)](),f=null===(o=a[5])||void 0===o?void 0:o[e(252)]();return{type:e(257),raw:a[0],id:p,name:h,text:f,ttype:t,typeName:(l=t,null!==(c=Rn[Pn][_n(146)][l])&&void 0!==c?c:l),tokens:this.lexer[e(262)](f),unnumbered:u}}var l,c},renderer(t){const e=Vn;var n;return e(235)+he(t[e(242)])+'" id="theorem-like-'+t.id+e(266)+t[e(229)]+"</b>"+(t[e(248)]?"":" "+t[e(260)])+(t[e(237)]?e(236)+t[e(237)]+"</em> )":"")+e(251)+this.parser[e(264)](null!==(n=null==t?void 0:t.tokens)&&void 0!==n?n:[])+e(232)}};function Fn(t,e){return t-=235,Xn()[t]}const Yn=Fn;function Xn(){const t=['<span class="tooltip-description">',"7377489wbKaKs","1952195flSNZo",'"></span>\n','<span class="tooltip">\n',"parseInline","983130oMaYoi","4ZdrXVz","imageUrl",">>>","49guzGsc","tooltip","3iAPuyG",'<span class="tooltip-title">',"21280710ZfsgOV",' class="tooltip-toggle"><label for=',' class="tooltip-trigger">',"lexer","raw","inline","5222000yLpEco","182478nCVPUa","</label>\n","</span>\n","parser",'<span class="tooltip-container">\n','<span class="tooltip-image"><img src="',"exec","title","description","744357iFOBlU","trim","text"];return(Xn=function(){return t})()}!function(){const t=Fn,e=Xn();for(;;)try{if(783216==-parseInt(t(253))/1*(-parseInt(t(262))/2)+parseInt(t(238))/3*(-parseInt(t(248))/4)+-parseInt(t(243))/5+-parseInt(t(247))/6*(parseInt(t(251))/7)+-parseInt(t(261))/8+parseInt(t(242))/9+parseInt(t(255))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Hn=/^>>>([^\r\n]+?) *(?<!\\)\[ *([^|\r\n]+?) *\|\s*([^|\r\n]*?) *(?:\| *([^\r\n]*?) *)?(?<!\\)\] *<<</,Qn={name:Yn(252),level:Yn(260),start:t=>t.indexOf(Yn(250)),tokenizer(t){const e=Yn,n=Hn[e(235)](t);if(n){const[t,r,s,i,o]=n,a="id-"+oe.md5(t);return{type:e(252),id:a,raw:t,title:s,text:r,imageUrl:null!=o?o:"",description:{type:e(240),text:i,raw:i,tokens:this[e(258)].inline(i)},tokens:this[e(258)].inlineTokens(r[e(239)]())}}},renderer(t){const e=Yn;var n;let r=e(266);return r+='<input type="checkbox" id='+t.id+e(256)+t.id+e(257)+this[e(265)][e(246)](null!==(n=t.tokens)&&void 0!==n?n:[])+e(263),r+=e(245),t[e(249)][e(239)]()&&(r+=e(267)+t[e(249)][e(239)]()+'" alt="'+t.title[e(239)]()+e(244)),t[e(236)][e(239)]()&&(r+=e(254)+t.title[e(239)]()+"</span>\n"),t.description[e(259)].trim()&&(r+=e(241)+this[e(265)][e(246)]([t[e(237)]])+e(264)),r+="</span>\n",r+=e(264),r}};function Gn(t,e){return t-=188,or()[t]}const tr=Gn;function er(t){const e=Gn;return t[e(212)](/\s*<\s*/g,e(202))[e(212)](/\s*>\s*/g,e(199))}!function(){const t=Gn,e=or();for(;;)try{if(765566==-parseInt(t(203))/1*(parseInt(t(196))/2)+-parseInt(t(190))/3*(-parseInt(t(206))/4)+-parseInt(t(188))/5*(-parseInt(t(194))/6)+-parseInt(t(205))/7+-parseInt(t(198))/8*(-parseInt(t(195))/9)+-parseInt(t(210))/10*(-parseInt(t(208))/11)+-parseInt(t(191))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const nr={name:tr(197),level:"inline",start:t=>t[tr(211)]("$"),tokenizer(t){const e=/^\$(?:[^$]|\\\$)+\$(?!\$)/[tr(204)](t);if(e)return{type:"inlineMath",raw:e[0],text:e[0]}},renderer:t=>er(t.text)},rr={name:tr(201),level:tr(200),start:t=>t[tr(211)]("\\("),tokenizer(t){const e=tr,n=t[e(213)](/^\\\(.*?\\\)/);if(n)return{type:e(201),raw:n[0],text:n[0]}},renderer:t=>er(t[tr(192)])},sr={name:tr(207),level:tr(214),start:t=>t.indexOf("$$"),tokenizer(t){const e=tr,n=t[e(213)](/^\${2}(?:[^$]|\\\$|\$[^$])+\${2}(?!\$)/);if(n)return{type:e(207),raw:n[0],text:n[0][e(189)]()}},renderer(t){const e=tr;return e(193)+er(t[e(192)])+e(215)}},ir={name:tr(209),level:"block",start:t=>t[tr(211)]("\\["),tokenizer(t){const e=tr,n=t[e(213)](/^\\\[(?:[^$]|\\\$)+\\\]/);if(n)return{type:"blockMath2",raw:n[0],text:n[0][e(189)]()}},renderer(t){const e=tr;return e(193)+er(t[e(192)])+"</p>\n"}};function or(){const t=["393399NlPjgz","4xiyhDf","inlineMath","168BwcmuG"," \\gt ","inline","inlineMath2"," \\lt ","551486WweyAJ","exec","1562190tJeaau","20MvlCAW","blockMath","11PxVAcJ","blockMath2","1501370MLSbSo","indexOf","replace","match","block","</p>\n","3167620uDwBte","trim","679041WVXmIO","8899428UtaEFz","text",'<p class="paragraph">',"6TRIuOe"];return(or=function(){return t})()}function ar(){var t=["1457454PocRLI","945784HCXuOE","10889536sRQtyh","1514196AydimR","327123TpDdGz","5nziLda","2957154JeeyWW","280oobRTv","961870toFaEm","7EpZiaH"];return(ar=function(){return t})()}function lr(t,e){return t-=320,ar()[t]}function cr(t,e){return t-=204,ur()[t]}function ur(){const t=["5RFsvnH","push",'" alt="',"type","isArray","77bXWpUR","7805020srCLWz","9389303JQgvVy","3777ZEQczU","title","1570009kyFooU","text",' title="',"href",' style="',"4442046IZxHYV","tokens","328sCkMwh","px;","image","1036sInQCb","height:","2434048LcsSYT",'<img src="',"replaceAll","86958VMSbDl"];return(ur=function(){return t})()}!function(){for(var t=lr,e=ar();;)try{if(709063==-parseInt(t(322))/1+parseInt(t(327))/2+-parseInt(t(320))/3+parseInt(t(325))/4*(-parseInt(t(329))/5)+-parseInt(t(324))/6*(parseInt(t(323))/7)+parseInt(t(326))/8+parseInt(t(328))/9*(parseInt(t(321))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(){const t=cr,e=ur();for(;;)try{if(947303==-parseInt(t(223))/1+parseInt(t(207))/2*(-parseInt(t(221))/3)+-parseInt(t(209))/4*(parseInt(t(213))/5)+-parseInt(t(228))/6+-parseInt(t(220))/7+-parseInt(t(204))/8*(-parseInt(t(212))/9)+-parseInt(t(219))/10*(-parseInt(t(218))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const pr=fr;function hr(){const t=["18144vPJIdV","For commercial use in Node.js, please configure a license using configureLicense(). ","undefined","versions","270iUYarV","263636zedvYQ","1917853aiMcVM","assign","lexInline","[mmarked] ℹ️ Running in browser environment, no license required. ","getTime","8207532IdPNhE","396958BCTwYY","93659zhgupg","warn","defaults","node","Contact charles@mathcrowd.cn for commercial licensing. ","Contact charles@mathcrowd.cn for commercial licensing.","[mmarked] ⚠️ No valid license configured for Node.js server-side usage. ","use","789705gSqaCA","For commercial use, please configure a license using configureLicense(). ","renderMarkdownCompact","8aFnKmK","Lexer"];return(hr=function(){return t})()}function fr(t,e){return t-=494,hr()[t]}!function(){const t=fr,e=hr();for(;;)try{if(179983==-parseInt(t(508))/1+-parseInt(t(507))/2+-parseInt(t(516))/3+-parseInt(t(500))/4+parseInt(t(499))/5*(parseInt(t(495))/6)+parseInt(t(501))/7*(-parseInt(t(519))/8)+parseInt(t(506))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const dr=new zt;dr[pr(515)]({extensions:[nr,rr],tokenizer:Object[pr(502)]({},nn),renderer:Object[pr(502)]({},be)});const gr=t=>{const e=pr;Kt(e(518)),Gt()||(typeof process!==e(497)&&null!=process.versions&&null!=process[e(498)][e(511)]?console[e(509)](e(514)+e(517)+e(512)+"Browser usage does not require a license."):console[e(509)](e(504)+e(496)+e(513)));const n=new Date,r=dr[e(494)][e(503)](t,dr[e(510)]),s=dr.parseInline(t),i=new Date;let o=function(t,e){const n=cr;let r=t;for(const t of e){const e=le(t[n(226)]);if(null===e)continue;let s=n(210)+e+n(215)+t[n(224)]+'"';if(t[n(222)]){const{text:e,width:r,height:i}=fe(t.title);e&&(s+=n(225)+e+'"'),(r||i)&&(s+=n(227),r&&(s+="width:"+r+"px;"),i&&(s+=n(208)+i+n(205)),s+='"')}s+=">";const i=n(210)+e+n(215)+t[n(224)]+'"'+(t.title?n(225)+t[n(222)]+'"':"")+">";r=r[n(211)](i,s)}return r}(s,function t(e){const n=cr,r=[];for(const s of e)s[n(216)]===n(206)&&r[n(214)](s),n(229)in s&&Array[n(217)](s.tokens)&&r[n(214)](...t(s.tokens));return r}(r));const a=Ft();return a&&(o=a+o),{parsed:o,lexed:r,time:i.getTime()-n[e(505)]()}},mr=br;function kr(){const t=["31203QWABJo","2056irqGwT","parse","use","assign","lexer","5YWgOdp","1606495NvQXVY","For commercial use, please configure a license using configureLicense(). ","3256016HSjfgL","1856688CfDGfE","getTime","warn","11914238kSEwRo","Contact charles@mathcrowd.cn for commercial licensing.","renderMarkdown","300PJfgyJ","[mmarked] ⚠️ No valid license configured for Node.js server-side usage. ","6PEPGaP","undefined","versions","For commercial use in Node.js, please configure a license using configureLicense(). ","739065FFkKjY","3276790Kzcibz","Contact charles@mathcrowd.cn for commercial licensing. ","[mmarked] ℹ️ Running in browser environment, no license required. "];return(kr=function(){return t})()}function br(t,e){return t-=290,kr()[t]}!function(){const t=br,e=kr();for(;;)try{if(946231==parseInt(t(298))/1+-parseInt(t(311))/2+-parseInt(t(310))/3+parseInt(t(297))/4*(-parseInt(t(294))/5)+parseInt(t(306))/6*(-parseInt(t(301))/7)+-parseInt(t(315))/8*(parseInt(t(314))/9)+parseInt(t(304))/10*(parseInt(t(295))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const xr={renderer:Object[mr(292)](Object[mr(292)]({},ke),be),tokenizer:Object.assign({},nn),useNewRenderer:!0,gfm:!0,extensions:[nr,rr,sr,ir,Cn,Dn,Kn,Wn,Zn,un,zn,Qn],hooks:{preprocess:t=>t,processAllTokens:t=>(t=>{const e={theorem:0,lemma:0,corollary:0,axiom:0,definition:0,example:0},n={};return function t(r){const s=Jn;r[s(244)](r=>{const i=s;r.type===i(257)&&(r[i(242)]in e?e[r[i(242)]]=e[r[i(242)]]+1:e[r[i(242)]]=1,r[i(260)]=r[i(248)]?"":e[r[i(242)]],n[r.id]={typeName:r.typeName,number:r.number}),r[i(253)]&&r.tokens.length>0&&t(r[i(253)])})}(t),function t(e){const r=Jn;e[r(244)](e=>{const s=r;e[s(231)]===s(247)&&e.id in n&&(e[s(260)]=n[e.id].number,e[s(229)]=n[e.id][s(229)]),"list"===e[s(231)]&&e[s(239)][s(244)](e=>{const n=s;e.tokens&&e[n(253)].length>0&&t(e[n(253)])}),e.tokens&&e[s(253)][s(255)]>0&&t(e[s(253)])})}(t),t})(On(t)),postprocess:t=>(t=>{const e=En,n=[];return t=t[e(426)](/<li class="footnote-def" key="(\d+)".*?<\/li>/g,(t,e)=>(n.push({key:parseInt(e),content:t}),"")),n[e(425)]((t,n)=>t.key-n[e(436)]),t=t[e(426)](/<ol class="footnote-list">.*?<\/ol>/g,()=>""),n[e(435)]>0&&(t+=e(457)+Tn[Pn]+e(437)+n.map(t=>t[e(423)])[e(455)]("")+e(446)),t})(t)}};$n[mr(291)](xr);const Ir=(t,e)=>{const n=mr;Pn="en"===(null==e?void 0:e.locale)?"en":"zh",Kt(n(303)),Gt()||(typeof process!==n(307)&&null!=process[n(308)]&&null!=process[n(308)].node?console[n(300)](n(305)+n(296)+n(312)+"Browser usage does not require a license."):console[n(300)](n(313)+n(309)+n(302)));const r=new Date,s=On($n[n(293)](t));let i=$n[n(290)](t);const o=new Date,a=Ft();return a&&(i=a+i),{parsed:i,lexed:s,time:o[n(299)]()-r[n(299)]()}};function wr(t,e){return t-=157,yr()[t]}function yr(){var t=["4VXNfXo","4ZOUNAd","8yntkxr","1259279HjwUuz","20579911MAqixS","2029505XWpKHh","168724bjIsia","2744937IuZNXj","2338830pxUQnL","75903QAEIUY","12lrtffq"];return(yr=function(){return t})()}!function(){for(var t=wr,e=yr();;)try{if(203581==-parseInt(t(162))/1*(parseInt(t(167))/2)+-parseInt(t(159))/3*(parseInt(t(161))/4)+-parseInt(t(166))/5+parseInt(t(160))/6*(-parseInt(t(164))/7)+-parseInt(t(163))/8*(parseInt(t(157))/9)+-parseInt(t(158))/10+parseInt(t(165))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const $r=Ar;!function(){const t=Ar,e=Sr();for(;;)try{if(986896==-parseInt(t(413))/1*(parseInt(t(412))/2)+parseInt(t(423))/3*(-parseInt(t(424))/4)+parseInt(t(420))/5*(-parseInt(t(422))/6)+-parseInt(t(410))/7*(-parseInt(t(415))/8)+-parseInt(t(416))/9*(parseInt(t(409))/10)+-parseInt(t(426))/11*(parseInt(t(421))/12)+parseInt(t(425))/13*(parseInt(t(418))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const vr=a({fontSize:13});function Sr(){const t=["77611814dKLLWj","document","15jmWuPF","192hUdjKj","1837674KMfDNm","980946kdUsiH","20vUnzer","13SocmSS","805354bOvVSk","innerHTML","\\unicode{x25B1}","50iKouoX","5513207areYjb","error","35710OwoIAV","2seyxcS","body","8LmgqCo","2850345LTaSkI","clear"];return(Sr=function(){return t})()}function Ar(t,e){return t-=409,Sr()[t]}l(vr);const zr=new u({packages:c,inlineMath:[["$","$"],["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],macros:{parallelogram:$r(428)}}),jr=new h({fontCache:"none"}),_r=t=>{const e=$r;try{const n=p[e(419)](t,{InputJax:zr,OutputJax:jr});n.render();const r=vr[e(427)](vr[e(414)](n[e(419)]));return n[e(417)](),r}catch(n){return console[e(411)](n),t}};function Rr(){var t=["1121302epJLST","2406123ULDQlX","1374vQHWND","18105aqttOQ","448180pNMmCb","874872JtVEUC","3149552IHDenm","3854711sPWbem","32vBDcSg"];return(Rr=function(){return t})()}function Pr(t,e){return t-=394,Rr()[t]}function qr(t,e){return t-=474,Tr()[t]}function Tr(){var t=["489024QscGWN","5570MIjLDn","77170xpKBgD","35955MVRxlp","1317561jJhNWc","36zbOFYn","4410hLZREM","1212264rTDeVf","2LBYqnG","534904JGOOVR"];return(Tr=function(){return t})()}!function(){for(var t=Pr,e=Rr();;)try{if(608114==-parseInt(t(402))/1+-parseInt(t(397))/2+parseInt(t(398))/3+-parseInt(t(399))/4+-parseInt(t(396))/5*(-parseInt(t(395))/6)+parseInt(t(400))/7+parseInt(t(401))/8*(parseInt(t(394))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(){for(var t=qr,e=Tr();;)try{if(115673==parseInt(t(482))/1*(parseInt(t(477))/2)+parseInt(t(479))/3+parseInt(t(478))/4+-parseInt(t(481))/5*(-parseInt(t(474))/6)+-parseInt(t(483))/7+parseInt(t(476))/8+parseInt(t(475))/9*(-parseInt(t(480))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();export{Tt as UNLICENSED_WARNING_INTERVAL,te as clearValidationCache,Yt as configureLicense,Xt as getLicenseConfig,Ft as getWarningIfNeeded,Gt as isLicensed,Ir as renderMarkdown,gr as renderMarkdownCompact,ee as resetUsageStats,Et as setUnlicensedWarningInterval,Jt as stopUsageTracking,_r as tex2svg,Kt as trackFunctionCall,Qt as validateLicense};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|