;tr.parseLinkDestination=kn();tr.parseLinkTitle=An()});var En=v((_u,Cn)=>{"use strict";var bs=N().assign,xs=N().unescapeAll,_e=N().escapeHtml,ie={};ie.code_inline=function(t,e,r,n,i){var o=t[e];return""+_e(t[e].content)+""};ie.code_block=function(t,e,r,n,i){var o=t[e];return"
"+_e(t[e].content)+`
`};ie.fence=function(t,e,r,n,i){var o=t[e],s=o.info?xs(o.info).trim():"",a="",l="",u,f,p,d,h;return s&&(p=s.split(/(\s+)/g),a=p[0],l=p.slice(2).join("")),r.highlight?u=r.highlight(o.content,a,l)||_e(o.content):u=_e(o.content),u.indexOf(""+u+`
`):""+u+`
`};ie.image=function(t,e,r,n,i){var o=t[e];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,r,n),i.renderToken(t,e,r)};ie.hardbreak=function(t,e,r){return r.xhtmlOut?`"u"&&(e.env.references={}),typeof e.env.references[d]>"u"&&(e.env.references[d]={title:S,href:u}),e.parentType=y,e.line=r+R+1),!0)}});var gi=v((Iu,_i)=>{"use strict";_i.exports=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]});var Zr=v((Lu,$r)=>{"use strict";var zs="[a-zA-Z_:][a-zA-Z0-9:._-]*",Ps="[^\"'=<>`\\x00-\\x20]+",Bs="'[^']*'",Us='"[^"]*"',Hs="(?:"+Ps+"|"+Bs+"|"+Us+")",Gs="(?:\\s+"+zs+"(?:\\s*=\\s*"+Hs+")?)",bi="<[A-Za-z][A-Za-z0-9\\-]*"+Gs+"*\\s*\\/?>",xi="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",js="|",Vs="<[?][\\s\\S]*?[?]>",$s="]*>",Zs="",Ws=new RegExp("^(?:"+bi+"|"+xi+"|"+js+"|"+Vs+"|"+$s+"|"+Zs+")"),Ys=new RegExp("^(?:"+bi+"|"+xi+")");$r.exports.HTML_TAG_RE=Ws;$r.exports.HTML_OPEN_CLOSE_TAG_RE=Ys});var vi=v((Ou,ki)=>{"use strict";var Js=gi(),Ks=Zr().HTML_OPEN_CLOSE_TAG_RE,Se=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^?("+Js.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Ks.source+"\\s*$"),/^$/,!1]];ki.exports=function(e,r,n,i){var o,s,a,l,u=e.bMarks[r]+e.tShift[r],f=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(u)!==60)return!1;for(l=e.src.slice(u,f),o=0;o 3)&&!(e.sCount[u]<0)){for(i=!1,o=0,s=f.length;o s;n-=y[n]+1)if(o=e[n],o.marker===i.marker&&o.open&&o.end<0&&(l=!1,(o.close||i.open)&&(o.length+i.length)%3===0&&(o.length%3!==0||i.length%3!==0)&&(l=!0),!l)){u=n>0&&!e[n-1].open?y[n-1]+1:0,y[r]=r-n+u,y[n]=u,i.open=!1,o.end=r,o.close=!1,a=-1,h=-2;break}a!==-1&&(f[i.marker][(i.open?3:0)+(i.length||0)%3]=a)}}}no.exports=function(e){var r,n=e.tokens_meta,i=e.tokens_meta.length;for(to(e,e.delimiters),r=0;r{"use strict";oo.exports=function(e){var r,n,i=0,o=e.tokens,s=e.tokens.length;for(r=n=0;r{"use strict";var Si=or(),sr=N().isSpace;function oe(t,e,r,n){var i,o,s,a,l,u,f,p;for(this.src=t,this.md=e,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",o=this.src,p=!1,s=a=u=f=0,l=o.length;a{"use strict";function Qs(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}Ii.exports=function(e,r){for(var n=e.pos;n{"use strict";Xr.exports.tokenize=function(e,r){var n,i,o,s=e.pos,a=e.src.charCodeAt(s);if(r||a!==95&&a!==42)return!1;for(i=e.scanDelims(e.pos,a===42),n=0;n0&&i++,o[r].type==="text"&&r+1{"use strict";var tt=or(),so=N().isWhiteSpace,lo=N().isPunctChar,uo=N().isMdAsciiPunct;function ze(t,e,r,n){this.src=t,this.env=r,this.md=e,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}ze.prototype.pushPending=function(){var t=new tt("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t};ze.prototype.push=function(t,e,r){this.pending&&this.pushPending();var n=new tt(t,e,r),i=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(i),n};ze.prototype.scanDelims=function(t,e){var r=t,n,i,o,s,a,l,u,f,p,d=!0,h=!0,y=this.posMax,_=this.src.charCodeAt(t);for(n=t>0?this.src.charCodeAt(t-1):32;r{"use strict";_o.exports=function(t){var e={};e.src_Any=Pr().source,e.src_Cc=Br().source,e.src_Z=Ur().source,e.src_P=Xe().source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");var r="[><\uFF5C]";return e.src_pseudo_letter="(?:(?!"+r+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+r+"|"+e.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+r+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+").|;(?!"+e.src_ZCc+").|\\!+(?!"+e.src_ZCc+"|[!]).|\\?(?!"+e.src_ZCc+"|[?]).)+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+e.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+e.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}});var yo=v((ic,Ao)=>{"use strict";function ot(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(r){r&&Object.keys(r).forEach(function(n){t[n]=r[n]})}),t}function fr(t){return Object.prototype.toString.call(t)}function pl(t){return fr(t)==="[object String]"}function hl(t){return fr(t)==="[object Object]"}function dl(t){return fr(t)==="[object RegExp]"}function bo(t){return fr(t)==="[object Function]"}function ml(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var vo={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function _l(t){return Object.keys(t||{}).reduce(function(e,r){return e||vo.hasOwnProperty(r)},!1)}var gl={"http:":{validate:function(t,e,r){var n=t.slice(e);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,r){var n=t.slice(e);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,r){var n=t.slice(e);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},bl="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",xl="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function kl(t){t.__index__=-1,t.__text_cache__=""}function vl(t){return function(e,r){var n=e.slice(r);return t.test(n)?n.match(t)[0].length:0}}function xo(){return function(t,e){e.normalize(t)}}function cr(t){var e=t.re=go()(t.__opts__),r=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||r.push(bl),r.push(e.src_xn),e.src_tlds=r.join("|");function n(a){return a.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(n(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(n(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(n(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(n(e.tpl_host_fuzzy_test),"i");var i=[];t.__compiled__={};function o(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(t.__schemas__).forEach(function(a){var l=t.__schemas__[a];if(l!==null){var u={validate:null,link:null};if(t.__compiled__[a]=u,hl(l)){dl(l.validate)?u.validate=vl(l.validate):bo(l.validate)?u.validate=l.validate:o(a,l),bo(l.normalize)?u.normalize=l.normalize:l.normalize?o(a,l):u.normalize=xo();return}if(pl(l)){i.push(a);return}o(a,l)}}),i.forEach(function(a){t.__compiled__[t.__schemas__[a]]&&(t.__compiled__[a].validate=t.__compiled__[t.__schemas__[a]].validate,t.__compiled__[a].normalize=t.__compiled__[t.__schemas__[a]].normalize)}),t.__compiled__[""]={validate:null,normalize:xo()};var s=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(ml).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><\uFF5C]|"+e.src_ZPCc+"))("+s+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><\uFF5C]|"+e.src_ZPCc+"))("+s+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),kl(t)}function Al(t,e){var r=t.__index__,n=t.__last_index__,i=t.__text_cache__.slice(r,n);this.schema=t.__schema__.toLowerCase(),this.index=r+e,this.lastIndex=n+e,this.raw=i,this.text=i,this.url=i}function ko(t,e){var r=new Al(t,e);return t.__compiled__[r.schema].normalize(r,t),r}function K(t,e){if(!(this instanceof K))return new K(t,e);e||_l(t)&&(e=t,t={}),this.__opts__=ot({},vo,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ot({},gl,t),this.__compiled__={},this.__tlds__=xl,this.__tlds_replaced__=!1,this.re={},cr(this)}K.prototype.add=function(e,r){return this.__schemas__[e]=r,cr(this),this};K.prototype.set=function(e){return this.__opts__=ot(this.__opts__,e),this};K.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var r,n,i,o,s,a,l,u,f;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(r=l.exec(e))!==null;)if(o=this.testSchemaAt(e,r[2],l.lastIndex),o){this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test),u>=0&&(this.__index__<0||u=128&&ge("not-basic"),e.push(t.charCodeAt(a));for(let a=s>0?s+1:0;a${e.utils.escapeHtml(i)}`:`${e.utils.escapeHtml(i)}`});e.linkify.set({fuzzyLink:!1}),Wl(e),Yl(e);let r=document.createElement("style");r.textContent=`
.emptyMarkdownCell::before {
content: "${document.documentElement.style.getPropertyValue("--notebook-cell-markup-empty-content")}";
font-style: italic;
opacity: 0.6;
}
img {
max-width: 100%;
max-height: 100%;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:focus,
input:focus,
select:focus,
textarea:focus {
outline: 1px solid -webkit-focus-ring-color;
outline-offset: -1px;
}
hr {
border: 0;
height: 2px;
border-bottom: 2px solid;
}
h2, h3, h4, h5, h6 {
font-weight: normal;
}
h1 {
font-size: 2.3em;
}
h2 {
font-size: 2em;
}
h3 {
font-size: 1.7em;
}
h3 {
font-size: 1.5em;
}
h4 {
font-size: 1.3em;
}
h5 {
font-size: 1.2em;
}
h1,
h2,
h3 {
font-weight: normal;
}
div {
width: 100%;
}
/* Adjust margin of first item in markdown cell */
*:first-child {
margin-top: 0px;
}
/* h1 tags don't need top margin */
h1:first-child {
margin-top: 0;
}
/* Removes bottom margin when only one item exists in markdown cell */
#preview > *:only-child,
#preview > *:last-child {
margin-bottom: 0;
padding-bottom: 0;
}
/* makes all markdown cells consistent */
div {
min-height: var(--notebook-markdown-min-height);
}
table {
border-collapse: collapse;
border-spacing: 0;
}
table th,
table td {
border: 1px solid;
}
table > thead > tr > th {
text-align: left;
border-bottom: 1px solid;
}
table > thead > tr > th,
table > thead > tr > td,
table > tbody > tr > th,
table > tbody > tr > td {
padding: 5px 10px;
}
table > tbody > tr + tr > td {
border-top: 1px solid;
}
blockquote {
margin: 0 7px 0 5px;
padding: 0 16px 0 10px;
border-left-width: 5px;
border-left-style: solid;
}
code {
font-size: 1em;
font-family: var(--vscode-editor-font-family);
}
pre code {
line-height: 1.357em;
white-space: pre-wrap;
}
`;let n=document.createElement("template");return n.classList.add("markdown-style"),n.content.appendChild(r),document.head.appendChild(n),{renderOutputItem:(i,o)=>{let s;if(o.shadowRoot)s=o.shadowRoot.getElementById("preview");else{let l=o.attachShadow({mode:"open"}),u=document.getElementById("_defaultStyles");l.appendChild(u.cloneNode(!0));for(let f of document.getElementsByClassName("markdown-style"))f instanceof HTMLTemplateElement?l.appendChild(f.content.cloneNode(!0)):l.appendChild(f.cloneNode(!0));s=document.createElement("div"),s.id="preview",l.appendChild(s)}let a=i.text();if(a.trim().length===0)s.innerText="",s.classList.add("emptyMarkdownCell");else{s.classList.remove("emptyMarkdownCell");let l=i.mime.startsWith("text/x-")?`\`\`\`${i.mime.substr(7)}
${a}
\`\`\``:i.mime.startsWith("application/")?`\`\`\`${i.mime.substr(12)}
${a}
\`\`\``:a,u=e.render(l,{outputItem:i});s.innerHTML=t.workspace.isTrusted?u:Vo.sanitize(u,Zl)}},extendMarkdownIt:i=>{i(e)}}};function Wl(t){let e=new Map,r=t.renderer.rules.heading_open;t.renderer.rules.heading_open=(i,o,s,a,l)=>{let u=i[o+1].children.reduce((p,d)=>p+d.content,""),f=lt(u);if(e.has(f)){let p=e.get(f);e.set(f,p+1),f=lt(f+"-"+(p+1))}else e.set(f,0);return i[o].attrSet("id",f),r?r(i,o,s,a,l):l.renderToken(i,o,s)};let n=t.render;t.render=function(){return e.clear(),n.apply(this,arguments)}}function Yl(t){let e=t.renderer.rules.link_open;t.renderer.rules.link_open=(r,n,i,o,s)=>{let a=r[n],l=a.attrGet("href");return typeof l=="string"&&l.startsWith("#")&&a.attrSet("href","#"+lt(l.slice(1))),e?e(r,n,i,o,s):s.renderToken(r,n,i)}}function lt(t){return encodeURI(t.trim().toLowerCase().replace(/\s+/g,"-").replace(/[\]\[\!\/\'\"\#\$\%\&\(\)\*\+\,\.\/\:\;\<\=\>\?\@\\\^\{\|\}\~\`。,、;:?!…—·ˉ¨‘’“”々~‖∶"'`|〃〔〕〈〉《》「」『』.〖〗【】()[]{}]/g,"").replace(/^\-+/,"").replace(/\-+$/,""))}export{fc as activate};
/*! Bundled license information:
dompurify/dist/purify.js:
(*! @license DOMPurify 2.4.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.1/LICENSE *)
*/
A
Eo