Socket
Socket
Sign inDemoInstall

svelte-markdown

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-markdown - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

LICENSE

2

dist/sveltemarkdown.es.js

@@ -1,2 +0,2 @@

function e(){}function t(e,t){for(const n in t)e[n]=t[n];return e}function n(e){return e()}function r(){return Object.create(null)}function l(e){e.forEach(n)}function s(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function i(e,t,n,r){if(e){const l=c(e,t,n,r);return e[0](l)}}function c(e,n,r,l){return e[1]&&l?t(r.ctx.slice(),e[1](l(n))):r.ctx}function a(e,t,n,r){if(e[2]&&r){const l=e[2](r(n));if(void 0===t.dirty)return l;if("object"==typeof l){const e=[],n=Math.max(t.dirty.length,l.length);for(let r=0;r<n;r+=1)e[r]=t.dirty[r]|l[r];return e}return t.dirty|l}return t.dirty}function u(e,t){const n={};t=new Set(t);for(const r in e)t.has(r)||"$"===r[0]||(n[r]=e[r]);return n}function p(e,t,n){e.insertBefore(t,n||null)}function f(e){e.parentNode.removeChild(e)}function h(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function g(e){return document.createElement(e)}function d(e){return document.createTextNode(e)}function $(){return d(" ")}function m(){return d("")}function b(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function k(e){return Array.from(e.childNodes)}function x(e,t,n,r){for(let r=0;r<e.length;r+=1){const l=e[r];if(l.nodeName===t){let t=0;for(;t<l.attributes.length;){const e=l.attributes[t];n[e.name]?t++:l.removeAttribute(e.name)}return e.splice(r,1)[0]}}return r?function(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}(t):g(t)}function w(e,t){for(let n=0;n<e.length;n+=1){const r=e[n];if(3===r.nodeType)return r.data=""+t,e.splice(n,1)[0]}return d(t)}function y(e){return w(e," ")}function _(e,t){t=""+t,e.data!==t&&(e.data=t)}class z{constructor(e,t=null){this.e=g("div"),this.a=t,this.u(e)}m(e,t=null){for(let n=0;n<this.n.length;n+=1)p(e,this.n[n],t);this.t=e}u(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}p(e){this.d(),this.u(e),this.m(this.t,this.a)}d(){this.n.forEach(f)}}let v;function S(e){v=e}const A=[],E=[],R=[],T=[],N=Promise.resolve();let q=!1;function C(e){R.push(e)}let O=!1;const Z=new Set;function I(){if(!O){O=!0;do{for(let e=0;e<A.length;e+=1){const t=A[e];S(t),D(t.$$)}for(A.length=0;E.length;)E.pop()();for(let e=0;e<R.length;e+=1){const t=R[e];Z.has(t)||(Z.add(t),t())}R.length=0}while(A.length);for(;T.length;)T.pop()();q=!1,O=!1,Z.clear()}}function D(e){if(null!==e.fragment){e.update(),l(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(C)}}const L=new Set;let P;function B(){P={r:0,c:[],p:P}}function U(){P.r||l(P.c),P=P.p}function j(e,t){e&&e.i&&(L.delete(e),e.i(t))}function H(e,t,n,r){if(e&&e.o){if(L.has(e))return;L.add(e),P.c.push(()=>{L.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}}function M(e,t){const n={},r={},l={$$scope:1};let s=e.length;for(;s--;){const o=e[s],i=t[s];if(i){for(const e in o)e in i||(r[e]=1);for(const e in i)l[e]||(n[e]=i[e],l[e]=1);e[s]=i}else for(const e in o)l[e]=1}for(const e in r)e in n||(n[e]=void 0);return n}function F(e){return"object"==typeof e&&null!==e?e:{}}function G(e){e&&e.c()}function X(e,t){e&&e.l(t)}function K(e,t,r){const{fragment:o,on_mount:i,on_destroy:c,after_update:a}=e.$$;o&&o.m(t,r),C(()=>{const t=i.map(n).filter(s);c?c.push(...t):l(t),e.$$.on_mount=[]}),a.forEach(C)}function Q(e,t){const n=e.$$;null!==n.fragment&&(l(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function V(e,t){-1===e.$$.dirty[0]&&(A.push(e),q||(q=!0,N.then(I)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Y(t,n,s,o,i,c,a=[-1]){const u=v;S(t);const p=n.props||{},h=t.$$={fragment:null,ctx:null,props:c,update:e,not_equal:i,bound:r(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(u?u.$$.context:[]),callbacks:r(),dirty:a};let g=!1;if(h.ctx=s?s(t,p,(e,n,...r)=>{const l=r.length?r[0]:n;return h.ctx&&i(h.ctx[e],h.ctx[e]=l)&&(h.bound[e]&&h.bound[e](l),g&&V(t,e)),n}):[],h.update(),g=!0,l(h.before_update),h.fragment=!!o&&o(h.ctx),n.target){if(n.hydrate){const e=k(n.target);h.fragment&&h.fragment.l(e),e.forEach(f)}else h.fragment&&h.fragment.c();n.intro&&j(t.$$.fragment),K(t,n.target,n.anchor),I()}S(u)}class J{$destroy(){Q(this,1),this.$destroy=e}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(){}}function W(t){let n;return{c(){n=d(t[1])},l(e){n=w(e,t[1])},m(e,t){p(e,n,t)},p(e,t){2&t&&_(n,e[1])},i:e,o:e,d(e){e&&f(n)}}}function ee(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h6"),l&&l.c()},l(e){t=x(e,"H6",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function te(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h5"),l&&l.c()},l(e){t=x(e,"H5",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function ne(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h4"),l&&l.c()},l(e){t=x(e,"H4",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function re(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h3"),l&&l.c()},l(e){t=x(e,"H3",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function le(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h2"),l&&l.c()},l(e){t=x(e,"H2",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function se(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h1"),l&&l.c()},l(e){t=x(e,"H1",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function oe(e){let t,n,r,l;const s=[se,le,re,ne,te,ee,W],o=[];function i(e,t){return 1===e[0]?0:2===e[0]?1:3===e[0]?2:4===e[0]?3:5===e[0]?4:6===e[0]?5:6}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,[l]){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),U(),n=o[t],n||(n=o[t]=s[t](e),n.c()),j(n,1),n.m(r.parentNode,r))},i(e){l||(j(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function ie(e,t,n){let{depth:r}=t,{raw:l}=t,{$$slots:s={},$$scope:o}=t;return e.$set=e=>{"depth"in e&&n(0,r=e.depth),"raw"in e&&n(1,l=e.raw),"$$scope"in e&&n(2,o=e.$$scope)},[r,l,o,s]}function ce(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("p"),l&&l.c()},l(e){t=x(e,"P",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function ae(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function ue(e){let t;const n=e[1].default,r=i(n,e,e[0],null);return{c(){r&&r.c()},l(e){r&&r.l(e)},m(e,n){r&&r.m(e,n),t=!0},p(e,[t]){r&&r.p&&1&t&&r.p(c(n,e,e[0],null),a(n,e[0],t,null))},i(e){t||(j(r,e),t=!0)},o(e){H(r,e),t=!1},d(e){r&&r.d(e)}}}function pe(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function fe(t){let n,r;return{c(){n=g("img"),this.h()},l(e){n=x(e,"IMG",{src:!0,title:!0,alt:!0}),this.h()},h(){n.src!==(r=t[0])&&b(n,"src",r),b(n,"title",t[1]),b(n,"alt",t[2])},m(e,t){p(e,n,t)},p(e,[t]){1&t&&n.src!==(r=e[0])&&b(n,"src",r),2&t&&b(n,"title",e[1]),4&t&&b(n,"alt",e[2])},i:e,o:e,d(e){e&&f(n)}}}function he(e,t,n){let{href:r=""}=t,{title:l}=t,{text:s=""}=t;return e.$set=e=>{"href"in e&&n(0,r=e.href),"title"in e&&n(1,l=e.title),"text"in e&&n(2,s=e.text)},[r,l,s]}function ge(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("a"),l&&l.c(),this.h()},l(e){t=x(e,"A",{href:!0,title:!0});var n=k(t);l&&l.l(n),n.forEach(f),this.h()},h(){b(t,"href",e[0]),b(t,"title",e[1])},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[s]){l&&l.p&&4&s&&l.p(c(r,e,e[2],null),a(r,e[2],s,null)),(!n||1&s)&&b(t,"href",e[0]),(!n||2&s)&&b(t,"title",e[1])},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function de(e,t,n){let{href:r=""}=t,{title:l}=t,{$$slots:s={},$$scope:o}=t;return e.$set=e=>{"href"in e&&n(0,r=e.href),"title"in e&&n(1,l=e.title),"$$scope"in e&&n(2,o=e.$$scope)},[r,l,o,s]}function $e(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("em"),l&&l.c()},l(e){t=x(e,"EM",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function me(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function be(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("del"),l&&l.c()},l(e){t=x(e,"DEL",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function ke(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function xe(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("codespan"),l&&l.c()},l(e){t=x(e,"CODESPAN",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function we(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function ye(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("strong"),l&&l.c()},l(e){t=x(e,"STRONG",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function _e(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function ze(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("table"),l&&l.c()},l(e){t=x(e,"TABLE",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function ve(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function Se(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("thead"),l&&l.c()},l(e){t=x(e,"THEAD",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Ae(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function Ee(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("tbody"),l&&l.c()},l(e){t=x(e,"TBODY",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Re(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function Te(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("tr"),l&&l.c()},l(e){t=x(e,"TR",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Ne(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function qe(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("td"),l&&l.c()},l(e){t=x(e,"TD",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Ce(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("th"),l&&l.c()},l(e){t=x(e,"TH",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Oe(e){let t,n,r,l;const s=[Ce,qe],o=[];function i(e,t){return e[0]?0:1}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,[l]){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),U(),n=o[t],n||(n=o[t]=s[t](e),n.c()),j(n,1),n.m(r.parentNode,r))},i(e){l||(j(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function Ze(e,t,n){let{header:r}=t,{align:l}=t,{$$slots:s={},$$scope:o}=t;return e.$set=e=>{"header"in e&&n(0,r=e.header),"align"in e&&n(1,l=e.align),"$$scope"in e&&n(2,o=e.$$scope)},[r,l,o,s]}function Ie(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("ul"),l&&l.c()},l(e){t=x(e,"UL",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function De(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("ol"),l&&l.c(),this.h()},l(e){t=x(e,"OL",{start:!0});var n=k(t);l&&l.l(n),n.forEach(f),this.h()},h(){b(t,"start",e[1])},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,s){l&&l.p&&4&s&&l.p(c(r,e,e[2],null),a(r,e[2],s,null)),(!n||2&s)&&b(t,"start",e[1])},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Le(e){let t,n,r,l;const s=[De,Ie],o=[];function i(e,t){return e[0]?0:1}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,[l]){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),U(),n=o[t],n||(n=o[t]=s[t](e),n.c()),j(n,1),n.m(r.parentNode,r))},i(e){l||(j(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function Pe(e,t,n){let{ordered:r}=t,{start:l}=t,{$$slots:s={},$$scope:o}=t;return e.$set=e=>{"ordered"in e&&n(0,r=e.ordered),"start"in e&&n(1,l=e.start),"$$scope"in e&&n(2,o=e.$$scope)},[r,l,o,s]}function Be(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("li"),l&&l.c()},l(e){t=x(e,"LI",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Ue(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function je(t){let n;return{c(){n=g("hr")},l(e){n=x(e,"HR",{})},m(e,t){p(e,n,t)},p:e,i:e,o:e,d(e){e&&f(n)}}}function He(t){let n;return{c(){this.h()},l(e){this.h()},h(){n=new z(t[0],null)},m(e,t){n.m(e,t)},p(e,[t]){1&t&&n.p(e[0])},i:e,o:e,d(e){e&&n.d()}}}function Me(e,t,n){let{text:r}=t;return e.$set=e=>{"text"in e&&n(0,r=e.text)},[r]}function Fe(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("blockquote"),l&&l.c()},l(e){t=x(e,"BLOCKQUOTE",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Ge(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function Xe(e){let t,n,r;const l=e[2].default,s=i(l,e,e[1],null);return{c(){t=g("pre"),n=g("code"),s&&s.c(),this.h()},l(e){t=x(e,"PRE",{class:!0});var r=k(t);n=x(r,"CODE",{});var l=k(n);s&&s.l(l),l.forEach(f),r.forEach(f),this.h()},h(){b(t,"class",e[0])},m(e,l){p(e,t,l),function(e,t){e.appendChild(t)}(t,n),s&&s.m(n,null),r=!0},p(e,[n]){s&&s.p&&2&n&&s.p(c(l,e,e[1],null),a(l,e[1],n,null)),(!r||1&n)&&b(t,"class",e[0])},i(e){r||(j(s,e),r=!0)},o(e){H(s,e),r=!1},d(e){e&&f(t),s&&s.d(e)}}}function Ke(e,t,n){let{lang:r}=t,{$$slots:l={},$$scope:s}=t;return e.$set=e=>{"lang"in e&&n(0,r=e.lang),"$$scope"in e&&n(1,s=e.$$scope)},[r,s,l]}function Qe(e,t,n){const r=e.slice();return r[14]=t[n],r}function Ve(e,t,n){const r=e.slice();return r[10]=t[n],r[12]=n,r}function Ye(e,t,n){const r=e.slice();return r[7]=t[n],r}function Je(e,t,n){const r=e.slice();return r[10]=t[n],r[12]=n,r}function We(e,t,n){const r=e.slice();return r[4]=t[n],r}function et(e){let t,n,r,l;const s=[lt,rt,nt],o=[];function i(e,t){return"table"===e[0]?0:"list"===e[0]?1:2}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,l){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),U(),n=o[t],n||(n=o[t]=s[t](e),n.c()),j(n,1),n.m(r.parentNode,r))},i(e){l||(j(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function tt(e){let t,n,r=e[1],l=[];for(let t=0;t<r.length;t+=1)l[t]=wt(We(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=m()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=m()},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(6&n){let o;for(r=e[1],o=0;o<r.length;o+=1){const s=We(e,r,o);l[o]?(l[o].p(s,n),j(l[o],1)):(l[o]=wt(s),l[o].c(),j(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);U()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)j(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function nt(e){let n,r;const l=[e[3]];var s=e[2][e[0]];function o(e){let n={$$slots:{default:[it]},$$scope:{ctx:e}};for(let e=0;e<l.length;e+=1)n=t(n,l[e]);return{props:n}}if(s)var i=new s(o(e));return{c(){i&&G(i.$$.fragment),n=m()},l(e){i&&X(i.$$.fragment,e),n=m()},m(e,t){i&&K(i,e,t),p(e,n,t),r=!0},p(e,t){const r=8&t?M(l,[F(e[3])]):{};if(131078&t&&(r.$$scope={dirty:t,ctx:e}),s!==(s=e[2][e[0]])){if(i){B();const e=i;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}s?(G((i=new s(o(e))).$$.fragment),j(i.$$.fragment,1),K(i,n.parentNode,n)):i=null}else s&&i.$set(r)},i(e){r||(i&&j(i.$$.fragment,e),r=!0)},o(e){i&&H(i.$$.fragment,e),r=!1},d(e){e&&f(n),i&&Q(i,e)}}}function rt(e){let n,r;const l=[e[3]];var s=e[2].list;function o(e){let n={$$slots:{default:[ut]},$$scope:{ctx:e}};for(let e=0;e<l.length;e+=1)n=t(n,l[e]);return{props:n}}if(s)var i=new s(o(e));return{c(){i&&G(i.$$.fragment),n=m()},l(e){i&&X(i.$$.fragment,e),n=m()},m(e,t){i&&K(i,e,t),p(e,n,t),r=!0},p(e,t){const r=8&t?M(l,[F(e[3])]):{};if(131076&t&&(r.$$scope={dirty:t,ctx:e}),s!==(s=e[2].list)){if(i){B();const e=i;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}s?(G((i=new s(o(e))).$$.fragment),j(i.$$.fragment,1),K(i,n.parentNode,n)):i=null}else s&&i.$set(r)},i(e){r||(i&&j(i.$$.fragment,e),r=!0)},o(e){i&&H(i.$$.fragment,e),r=!1},d(e){e&&f(n),i&&Q(i,e)}}}function lt(e){let t,n;var r=e[2].table;function l(e){return{props:{$$slots:{default:[xt]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].table)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}r?(G((s=new r(l(e))).$$.fragment),j(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&j(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function st(t){let n,r=t[3].text+"";return{c(){n=d(r)},l(e){n=w(e,r)},m(e,t){p(e,n,t)},p(e,t){8&t&&r!==(r=e[3].text+"")&&_(n,r)},i:e,o:e,d(e){e&&f(n)}}}function ot(e){let t;const n=new zt({props:{tokens:e[1],renderers:e[2]}});return{c(){G(n.$$.fragment)},l(e){X(n.$$.fragment,e)},m(e,r){K(n,e,r),t=!0},p(e,t){const r={};2&t&&(r.tokens=e[1]),4&t&&(r.renderers=e[2]),n.$set(r)},i(e){t||(j(n.$$.fragment,e),t=!0)},o(e){H(n.$$.fragment,e),t=!1},d(e){Q(n,e)}}}function it(e){let t,n,r,l;const s=[ot,st],o=[];function i(e,t){return e[1]?0:1}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,l){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),U(),n=o[t],n||(n=o[t]=s[t](e),n.c()),j(n,1),n.m(r.parentNode,r))},i(e){l||(j(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function ct(e){let t,n;const r=new zt({props:{tokens:e[14].tokens,renderers:e[2]}});return{c(){G(r.$$.fragment),t=$()},l(e){X(r.$$.fragment,e),t=y(e)},m(e,l){K(r,e,l),p(e,t,l),n=!0},p(e,t){const n={};8&t&&(n.tokens=e[14].tokens),4&t&&(n.renderers=e[2]),r.$set(n)},i(e){n||(j(r.$$.fragment,e),n=!0)},o(e){H(r.$$.fragment,e),n=!1},d(e){Q(r,e),e&&f(t)}}}function at(e){let n,r;const l=[e[3]];var s=e[2].listitem;function o(e){let n={$$slots:{default:[ct]},$$scope:{ctx:e}};for(let e=0;e<l.length;e+=1)n=t(n,l[e]);return{props:n}}if(s)var i=new s(o(e));return{c(){i&&G(i.$$.fragment),n=m()},l(e){i&&X(i.$$.fragment,e),n=m()},m(e,t){i&&K(i,e,t),p(e,n,t),r=!0},p(e,t){const r=8&t?M(l,[F(e[3])]):{};if(131076&t&&(r.$$scope={dirty:t,ctx:e}),s!==(s=e[2].listitem)){if(i){B();const e=i;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}s?(G((i=new s(o(e))).$$.fragment),j(i.$$.fragment,1),K(i,n.parentNode,n)):i=null}else s&&i.$set(r)},i(e){r||(i&&j(i.$$.fragment,e),r=!0)},o(e){i&&H(i.$$.fragment,e),r=!1},d(e){e&&f(n),i&&Q(i,e)}}}function ut(e){let t,n,r=e[3].items,l=[];for(let t=0;t<r.length;t+=1)l[t]=at(Qe(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=m()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=m()},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(12&n){let o;for(r=e[3].items,o=0;o<r.length;o+=1){const s=Qe(e,r,o);l[o]?(l[o].p(s,n),j(l[o],1)):(l[o]=at(s),l[o].c(),j(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);U()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)j(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function pt(e){let t,n;const r=new zt({props:{tokens:e[10],renderers:e[2]}});return{c(){G(r.$$.fragment),t=$()},l(e){X(r.$$.fragment,e),t=y(e)},m(e,l){K(r,e,l),p(e,t,l),n=!0},p(e,t){const n={};2&t&&(n.tokens=e[10]),4&t&&(n.renderers=e[2]),r.$set(n)},i(e){n||(j(r.$$.fragment,e),n=!0)},o(e){H(r.$$.fragment,e),n=!1},d(e){Q(r,e),e&&f(t)}}}function ft(e){let t,n;var r=e[2].tablecell;function l(e){return{props:{header:!0,align:e[3].align[e[12]]||"center",$$slots:{default:[pt]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(8&n&&(o.align=e[3].align[e[12]]||"center"),131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].tablecell)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}r?(G((s=new r(l(e))).$$.fragment),j(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&j(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function ht(e){let t,n,r=e[1].header,l=[];for(let t=0;t<r.length;t+=1)l[t]=ft(Je(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=m()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=m()},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(14&n){let o;for(r=e[1].header,o=0;o<r.length;o+=1){const s=Je(e,r,o);l[o]?(l[o].p(s,n),j(l[o],1)):(l[o]=ft(s),l[o].c(),j(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);U()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)j(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function gt(e){let t,n;var r=e[2].tablerow;function l(e){return{props:{$$slots:{default:[ht]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].tablerow)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}r?(G((s=new r(l(e))).$$.fragment),j(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&j(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function dt(e){let t;const n=new zt({props:{tokens:e[10],renderers:e[2]}});return{c(){G(n.$$.fragment)},l(e){X(n.$$.fragment,e)},m(e,r){K(n,e,r),t=!0},p(e,t){const r={};2&t&&(r.tokens=e[10]),4&t&&(r.renderers=e[2]),n.$set(r)},i(e){t||(j(n.$$.fragment,e),t=!0)},o(e){H(n.$$.fragment,e),t=!1},d(e){Q(n,e)}}}function $t(e){let t,n;var r=e[2].tablecell;function l(e){return{props:{header:!1,align:e[3].align[e[12]]||"center",$$slots:{default:[dt]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(8&n&&(o.align=e[3].align[e[12]]||"center"),131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].tablecell)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}r?(G((s=new r(l(e))).$$.fragment),j(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&j(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function mt(e){let t,n,r=e[7],l=[];for(let t=0;t<r.length;t+=1)l[t]=$t(Ve(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=$()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=y(e)},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(14&n){let o;for(r=e[7],o=0;o<r.length;o+=1){const s=Ve(e,r,o);l[o]?(l[o].p(s,n),j(l[o],1)):(l[o]=$t(s),l[o].c(),j(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);U()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)j(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function bt(e){let t,n;var r=e[2].tablerow;function l(e){return{props:{$$slots:{default:[mt]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].tablerow)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}r?(G((s=new r(l(e))).$$.fragment),j(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&j(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function kt(e){let t,n,r=e[1].cells,l=[];for(let t=0;t<r.length;t+=1)l[t]=bt(Ye(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=m()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=m()},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(14&n){let o;for(r=e[1].cells,o=0;o<r.length;o+=1){const s=Ye(e,r,o);l[o]?(l[o].p(s,n),j(l[o],1)):(l[o]=bt(s),l[o].c(),j(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);U()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)j(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function xt(e){let t,n,r;var l=e[2].tablehead;function s(e){return{props:{$$slots:{default:[gt]},$$scope:{ctx:e}}}}if(l)var o=new l(s(e));var i=e[2].tablebody;function c(e){return{props:{$$slots:{default:[kt]},$$scope:{ctx:e}}}}if(i)var a=new i(c(e));return{c(){o&&G(o.$$.fragment),t=$(),a&&G(a.$$.fragment),n=m()},l(e){o&&X(o.$$.fragment,e),t=y(e),a&&X(a.$$.fragment,e),n=m()},m(e,l){o&&K(o,e,l),p(e,t,l),a&&K(a,e,l),p(e,n,l),r=!0},p(e,r){const u={};if(131078&r&&(u.$$scope={dirty:r,ctx:e}),l!==(l=e[2].tablehead)){if(o){B();const e=o;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}l?(G((o=new l(s(e))).$$.fragment),j(o.$$.fragment,1),K(o,t.parentNode,t)):o=null}else l&&o.$set(u);const p={};if(131078&r&&(p.$$scope={dirty:r,ctx:e}),i!==(i=e[2].tablebody)){if(a){B();const e=a;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}i?(G((a=new i(c(e))).$$.fragment),j(a.$$.fragment,1),K(a,n.parentNode,n)):a=null}else i&&a.$set(p)},i(e){r||(o&&j(o.$$.fragment,e),a&&j(a.$$.fragment,e),r=!0)},o(e){o&&H(o.$$.fragment,e),a&&H(a.$$.fragment,e),r=!1},d(e){o&&Q(o,e),e&&f(t),e&&f(n),a&&Q(a,e)}}}function wt(e){let n;const r=[e[4],{renderers:e[2]}];let l={};for(let e=0;e<r.length;e+=1)l=t(l,r[e]);const s=new zt({props:l});return{c(){G(s.$$.fragment)},l(e){X(s.$$.fragment,e)},m(e,t){K(s,e,t),n=!0},p(e,t){const n=6&t?M(r,[2&t&&F(e[4]),4&t&&{renderers:e[2]}]):{};s.$set(n)},i(e){n||(j(s.$$.fragment,e),n=!0)},o(e){H(s.$$.fragment,e),n=!1},d(e){Q(s,e)}}}function yt(e){let t,n,r,l;const s=[tt,et],o=[];function i(e,t){return e[0]?e[2][e[0]]?1:-1:0}return~(t=i(e))&&(n=o[t]=s[t](e)),{c(){n&&n.c(),r=m()},l(e){n&&n.l(e),r=m()},m(e,n){~t&&o[t].m(e,n),p(e,r,n),l=!0},p(e,[l]){let c=t;t=i(e),t===c?~t&&o[t].p(e,l):(n&&(B(),H(o[c],1,1,()=>{o[c]=null}),U()),~t?(n=o[t],n||(n=o[t]=s[t](e),n.c()),j(n,1),n.m(r.parentNode,r)):n=null)},i(e){l||(j(n),l=!0)},o(e){H(n),l=!1},d(e){~t&&o[t].d(e),e&&f(r)}}}function _t(e,n,r){const l=["type","tokens","renderers"];let s=u(n,l),{type:o}=n,{tokens:i}=n,{renderers:c}=n;return console.log(o),e.$set=e=>{n=t(t({},n),function(e){const t={};for(const n in e)"$"!==n[0]&&(t[n]=e[n]);return t}(e)),r(3,s=u(n,l)),"type"in e&&r(0,o=e.type),"tokens"in e&&r(1,i=e.tokens),"renderers"in e&&r(2,c=e.renderers)},[o,i,c,s]}class zt extends J{constructor(e){super(),Y(this,e,_t,yt,o,{type:0,tokens:1,renderers:2})}}var vt=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,xhtml:!1}}e.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,xhtml:!1},getDefaults:t,changeDefaults:function(t){e.exports.defaults=t}}}));vt.defaults,vt.getDefaults,vt.changeDefaults;const St=/[&<>"']/,At=/[&<>"']/g,Et=/[<>"']|&(?!#?\w+;)/,Rt=/[<>"']|&(?!#?\w+;)/g,Tt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Nt=e=>Tt[e];const qt=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function Ct(e){return e.replace(qt,(e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")}const Ot=/(^|[^\[])\^/g;const Zt=/[^\w:]/g,It=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;const Dt={},Lt=/^[^:]+:\/*[^/]*$/,Pt=/^([^:]+:)[\s\S]*$/,Bt=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Ut(e,t){Dt[" "+e]||(Lt.test(e)?Dt[" "+e]=e+"/":Dt[" "+e]=jt(e,"/",!0));const n=-1===(e=Dt[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(Pt,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(Bt,"$1")+t:e+t}function jt(e,t,n){const r=e.length;if(0===r)return"";let l=0;for(;l<r;){const s=e.charAt(r-l-1);if(s!==t||n){if(s===t||!n)break;l++}else l++}return e.substr(0,r-l)}var Ht={escape:function(e,t){if(t){if(St.test(e))return e.replace(At,Nt)}else if(Et.test(e))return e.replace(Rt,Nt);return e},unescape:Ct,edit:function(e,t){e=e.source||e,t=t||"";const n={replace:(t,r)=>(r=(r=r.source||r).replace(Ot,"$1"),e=e.replace(t,r),n),getRegex:()=>new RegExp(e,t)};return n},cleanUrl:function(e,t,n){if(e){let e;try{e=decodeURIComponent(Ct(n)).replace(Zt,"").toLowerCase()}catch(e){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!It.test(n)&&(n=Ut(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n},resolveUrl:Ut,noopTest:{exec:function(){}},merge:function(e){let t,n,r=1;for(;r<arguments.length;r++)for(n in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},splitCells:function(e,t){const n=e.replace(/\|/g,(e,t,n)=>{let r=!1,l=t;for(;--l>=0&&"\\"===n[l];)r=!r;return r?"|":" |"}).split(/ \|/);let r=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n},rtrim:jt,findClosingBracket:function(e,t){if(-1===e.indexOf(t[1]))return-1;const n=e.length;let r=0,l=0;for(;l<n;l++)if("\\"===e[l])l++;else if(e[l]===t[0])r++;else if(e[l]===t[1]&&(r--,r<0))return l;return-1},checkSanitizeDeprecation:function(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}};const{defaults:Mt}=vt,{rtrim:Ft,splitCells:Gt,escape:Xt,findClosingBracket:Kt}=Ht;function Qt(e,t,n){const r=t.href,l=t.title?Xt(t.title):null;return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:r,title:l,text:e[1]}:{type:"image",raw:n,text:Xt(e[1]),href:r,title:l}}var Vt=class{constructor(e){this.options=e||Mt}space(e){const t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}}code(e,t){const n=this.rules.block.code.exec(e);if(n){const e=t[t.length-1];if(e&&"paragraph"===e.type)return t.pop(),e.text+="\n"+n[0].trimRight(),e.raw+="\n"+n[0],e;{const e=n[0].replace(/^ {4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?e:Ft(e,"\n")}}}}fences(e){const t=this.rules.block.fences.exec(e);if(t)return{type:"code",raw:t[0],lang:t[2]?t[2].trim():t[2],text:t[3]||""}}heading(e){const t=this.rules.block.heading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}}nptable(e){const t=this.rules.block.nptable.exec(e);if(t){const e={type:"table",header:Gt(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(e.header.length===e.align.length){let t,n=e.align.length;for(t=0;t<n;t++)/^ *-+: *$/.test(e.align[t])?e.align[t]="right":/^ *:-+: *$/.test(e.align[t])?e.align[t]="center":/^ *:-+ *$/.test(e.align[t])?e.align[t]="left":e.align[t]=null;for(n=e.cells.length,t=0;t<n;t++)e.cells[t]=Gt(e.cells[t],e.header.length);return e}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],text:e}}}list(e){const t=this.rules.block.list.exec(e);if(t){let e=t[0];const n=t[2],r=n.length>1,l={type:"list",raw:e,ordered:r,start:r?+n:"",loose:!1,items:[]},s=t[0].match(this.rules.block.item);let o,i,c,a,u,p,f,h=!1;const g=s.length;for(let t=0;t<g;t++)o=s[t],e=o,i=o.length,o=o.replace(/^ *([*+-]|\d+\.) */,""),~o.indexOf("\n ")&&(i-=o.length,o=this.options.pedantic?o.replace(/^ {1,4}/gm,""):o.replace(new RegExp("^ {1,"+i+"}","gm"),"")),t!==g-1&&(c=this.rules.block.bullet.exec(s[t+1])[0],(n.length>1?1===c.length:c.length>1||this.options.smartLists&&c!==n)&&(a=s.slice(t+1).join("\n"),l.raw=l.raw.substring(0,l.raw.length-a.length),t=g-1)),u=h||/\n\n(?!\s*$)/.test(o),t!==g-1&&(h="\n"===o.charAt(o.length-1),u||(u=h)),u&&(l.loose=!0),p=/^\[[ xX]\] /.test(o),f=void 0,p&&(f=" "!==o[1],o=o.replace(/^\[[ xX]\] +/,"")),l.items.push({raw:e,task:p,checked:f,loose:u,text:o});return l}}html(e){const t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):Xt(t[0]):t[0]}}def(e){const t=this.rules.block.def.exec(e);if(t){return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}}}table(e){const t=this.rules.block.table.exec(e);if(t){const e={type:"table",header:Gt(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(e.header.length===e.align.length){e.raw=t[0];let n,r=e.align.length;for(n=0;n<r;n++)/^ *-+: *$/.test(e.align[n])?e.align[n]="right":/^ *:-+: *$/.test(e.align[n])?e.align[n]="center":/^ *:-+ *$/.test(e.align[n])?e.align[n]="left":e.align[n]=null;for(r=e.cells.length,n=0;n<r;n++)e.cells[n]=Gt(e.cells[n].replace(/^ *\| *| *\| *$/g,""),e.header.length);return e}}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1]}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t)return{type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1]}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0]}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:Xt(t[1])}}tag(e,t,n){const r=this.rules.inline.tag.exec(e);if(r)return!t&&/^<a /i.test(r[0])?t=!0:t&&/^<\/a>/i.test(r[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):Xt(r[0]):r[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=Kt(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}let n=t[2],r="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e?(n=e[1],r=e[3]):r=""}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim().replace(/^<([\s\S]*)>$/,"$1"),Qt(t,{href:n?n.replace(this.rules.inline._escapes,"$1"):n,title:r?r.replace(this.rules.inline._escapes,"$1"):r},t[0])}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=(n[2]||n[1]).replace(/\s+/g," ");if(e=t[e.toLowerCase()],!e||!e.href){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return Qt(n,e,n[0])}}strong(e){const t=this.rules.inline.strong.exec(e);if(t)return{type:"strong",raw:t[0],text:t[4]||t[3]||t[2]||t[1]}}em(e){const t=this.rules.inline.em.exec(e);if(t)return{type:"em",raw:t[0],text:t[6]||t[5]||t[4]||t[3]||t[2]||t[1]}}codespan(e){const t=this.rules.inline.code.exec(e);if(t)return{type:"codespan",raw:t[0],text:Xt(t[2].trim(),!0)}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[1]}}autolink(e,t){const n=this.rules.inline.autolink.exec(e);if(n){let e,r;return"@"===n[2]?(e=Xt(this.options.mangle?t(n[1]):n[1]),r="mailto:"+e):(e=Xt(n[1]),r=e),{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let e,r;if("@"===n[2])e=Xt(this.options.mangle?t(n[0]):n[0]),r="mailto:"+e;else{let t;do{t=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(t!==n[0]);e=Xt(n[0]),r="www."===n[1]?"http://"+e:e}return{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t,n){const r=this.rules.inline.text.exec(e);if(r){let e;return e=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):Xt(r[0]):r[0]:Xt(this.options.smartypants?n(r[0]):r[0]),{type:"text",raw:r[0],text:e}}}};const{noopTest:Yt,edit:Jt,merge:Wt}=Ht,en={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\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{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:Yt,table:Yt,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};en.def=Jt(en.def).replace("label",en._label).replace("title",en._title).getRegex(),en.bullet=/(?:[*+-]|\d{1,9}\.)/,en.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,en.item=Jt(en.item,"gm").replace(/bull/g,en.bullet).getRegex(),en.list=Jt(en.list).replace(/bull/g,en.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+en.def.source+")").getRegex(),en._tag="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|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",en._comment=/<!--(?!-?>)[\s\S]*?-->/,en.html=Jt(en.html,"i").replace("comment",en._comment).replace("tag",en._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),en.paragraph=Jt(en._paragraph).replace("hr",en.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",en._tag).getRegex(),en.blockquote=Jt(en.blockquote).replace("paragraph",en.paragraph).getRegex(),en.normal=Wt({},en),en.gfm=Wt({},en.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),en.gfm.nptable=Jt(en.gfm.nptable).replace("hr",en.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",en._tag).getRegex(),en.gfm.table=Jt(en.gfm.table).replace("hr",en.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",en._tag).getRegex(),en.pedantic=Wt({},en.normal,{html:Jt("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",en._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]+?) *(?:#+ *)?(?:\n+|$)/,fences:Yt,paragraph:Jt(en.normal._paragraph).replace("hr",en.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",en.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const tn={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Yt,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^_([^\s_<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s*<\[])\*(?!\*)|^\*([^\s<"][\s\S]*?[^\s\[\*])\*(?![\]`punctuation])|^\*([^\s*"<\[][\s\S]*[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Yt,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,_punctuation:"!\"#$%&'()*+\\-./:;<=>?@\\[^_{|}~"};tn.em=Jt(tn.em).replace(/punctuation/g,tn._punctuation).getRegex(),tn._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,tn._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,tn._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])?)+(?![-_])/,tn.autolink=Jt(tn.autolink).replace("scheme",tn._scheme).replace("email",tn._email).getRegex(),tn._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,tn.tag=Jt(tn.tag).replace("comment",en._comment).replace("attribute",tn._attribute).getRegex(),tn._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,tn._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,tn._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,tn.link=Jt(tn.link).replace("label",tn._label).replace("href",tn._href).replace("title",tn._title).getRegex(),tn.reflink=Jt(tn.reflink).replace("label",tn._label).getRegex(),tn.normal=Wt({},tn),tn.pedantic=Wt({},tn.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:Jt(/^!?\[(label)\]\((.*?)\)/).replace("label",tn._label).getRegex(),reflink:Jt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",tn._label).getRegex()}),tn.gfm=Wt({},tn.normal,{escape:Jt(tn.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),tn.gfm.url=Jt(tn.gfm.url,"i").replace("email",tn.gfm._extended_email).getRegex(),tn.breaks=Wt({},tn.gfm,{br:Jt(tn.br).replace("{2,}","*").getRegex(),text:Jt(tn.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var nn={block:en,inline:tn};const{defaults:rn}=vt,{block:ln,inline:sn}=nn;function on(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function cn(e){let t,n,r="";const l=e.length;for(t=0;t<l;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}var an=class e{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||rn,this.options.tokenizer=this.options.tokenizer||new Vt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;const t={block:ln.normal,inline:sn.normal};this.options.pedantic?(t.block=ln.pedantic,t.inline=sn.pedantic):this.options.gfm&&(t.block=ln.gfm,this.options.breaks?t.inline=sn.breaks:t.inline=sn.gfm),this.tokenizer.rules=t}static get rules(){return{block:ln,inline:sn}}static lex(t,n){return new e(n).lex(t)}lex(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens}blockTokens(e,t=[],n=!0){let r,l,s;for(e=e.replace(/^ +$/gm,"");e;)if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),r.type&&t.push(r);else if(r=this.tokenizer.code(e,t))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.nptable(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),r.tokens=this.blockTokens(r.text,[],n),t.push(r);else if(r=this.tokenizer.list(e)){for(e=e.substring(r.raw.length),s=r.items.length,l=0;l<s;l++)r.items[l].tokens=this.blockTokens(r.items[l].text,[],!1);t.push(r)}else if(r=this.tokenizer.html(e))e=e.substring(r.raw.length),t.push(r);else if(n&&(r=this.tokenizer.def(e)))e=e.substring(r.raw.length),this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});else if(r=this.tokenizer.table(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.lheading(e))e=e.substring(r.raw.length),t.push(r);else if(n&&(r=this.tokenizer.paragraph(e)))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.text(e))e=e.substring(r.raw.length),t.push(r);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}return t}inline(e){let t,n,r,l,s,o;const i=e.length;for(t=0;t<i;t++)switch(o=e[t],o.type){case"paragraph":case"text":case"heading":o.tokens=[],this.inlineTokens(o.text,o.tokens);break;case"table":for(o.tokens={header:[],cells:[]},l=o.header.length,n=0;n<l;n++)o.tokens.header[n]=[],this.inlineTokens(o.header[n],o.tokens.header[n]);for(l=o.cells.length,n=0;n<l;n++)for(s=o.cells[n],o.tokens.cells[n]=[],r=0;r<s.length;r++)o.tokens.cells[n][r]=[],this.inlineTokens(s[r],o.tokens.cells[n][r]);break;case"blockquote":this.inline(o.tokens);break;case"list":for(l=o.items.length,n=0;n<l;n++)this.inline(o.items[n].tokens)}return e}inlineTokens(e,t=[],n=!1,r=!1){let l;for(;e;)if(l=this.tokenizer.escape(e))e=e.substring(l.raw.length),t.push(l);else if(l=this.tokenizer.tag(e,n,r))e=e.substring(l.raw.length),n=l.inLink,r=l.inRawBlock,t.push(l);else if(l=this.tokenizer.link(e))e=e.substring(l.raw.length),"link"===l.type&&(l.tokens=this.inlineTokens(l.text,[],!0,r)),t.push(l);else if(l=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(l.raw.length),"link"===l.type&&(l.tokens=this.inlineTokens(l.text,[],!0,r)),t.push(l);else if(l=this.tokenizer.strong(e))e=e.substring(l.raw.length),l.tokens=this.inlineTokens(l.text,[],n,r),t.push(l);else if(l=this.tokenizer.em(e))e=e.substring(l.raw.length),l.tokens=this.inlineTokens(l.text,[],n,r),t.push(l);else if(l=this.tokenizer.codespan(e))e=e.substring(l.raw.length),t.push(l);else if(l=this.tokenizer.br(e))e=e.substring(l.raw.length),t.push(l);else if(l=this.tokenizer.del(e))e=e.substring(l.raw.length),l.tokens=this.inlineTokens(l.text,[],n,r),t.push(l);else if(l=this.tokenizer.autolink(e,cn))e=e.substring(l.raw.length),t.push(l);else if(n||!(l=this.tokenizer.url(e,cn))){if(l=this.tokenizer.inlineText(e,r,on))e=e.substring(l.raw.length),t.push(l);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(l.raw.length),t.push(l);return t}};const{defaults:un}=vt,{cleanUrl:pn,escape:fn}=Ht;var hn=class{constructor(e){this.options=e||un}code(e,t,n){const r=(t||"").match(/\S*/)[0];if(this.options.highlight){const t=this.options.highlight(e,r);null!=t&&t!==e&&(n=!0,e=t)}return r?'<pre><code class="'+this.options.langPrefix+fn(r,!0)+'">'+(n?e:fn(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:fn(e,!0))+"</code></pre>"}blockquote(e){return"<blockquote>\n"+e+"</blockquote>\n"}html(e){return e}heading(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"}hr(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}list(e,t,n){const r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}listitem(e){return"<li>"+e+"</li>\n"}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return"<p>"+e+"</p>\n"}table(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return"<tr>\n"+e+"</tr>\n"}tablecell(e,t){const n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"}strong(e){return"<strong>"+e+"</strong>"}em(e){return"<em>"+e+"</em>"}codespan(e){return"<code>"+e+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return"<del>"+e+"</del>"}link(e,t,n){if(null===(e=pn(this.options.sanitize,this.options.baseUrl,e)))return n;let r='<a href="'+fn(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>",r}image(e,t,n){if(null===(e=pn(this.options.sanitize,this.options.baseUrl,e)))return n;let r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">",r}text(e){return e}},gn=class{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}},dn=class{constructor(){this.seen={}}slug(e){let t=e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){const e=t;do{this.seen[e]++,t=e+"-"+this.seen[e]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t}};const{defaults:$n}=vt,{unescape:mn}=Ht;var bn=class e{constructor(e){this.options=e||$n,this.options.renderer=this.options.renderer||new hn,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new gn,this.slugger=new dn}static parse(t,n){return new e(n).parse(t)}parse(e,t=!0){let n,r,l,s,o,i,c,a,u,p,f,h,g,d,$,m,b,k,x="";const w=e.length;for(n=0;n<w;n++)switch(p=e[n],p.type){case"space":continue;case"hr":x+=this.renderer.hr();continue;case"heading":x+=this.renderer.heading(this.parseInline(p.tokens),p.depth,mn(this.parseInline(p.tokens,this.textRenderer)),this.slugger);continue;case"code":x+=this.renderer.code(p.text,p.lang,p.escaped);continue;case"table":for(a="",c="",s=p.header.length,r=0;r<s;r++)c+=this.renderer.tablecell(this.parseInline(p.tokens.header[r]),{header:!0,align:p.align[r]});for(a+=this.renderer.tablerow(c),u="",s=p.cells.length,r=0;r<s;r++){for(i=p.tokens.cells[r],c="",o=i.length,l=0;l<o;l++)c+=this.renderer.tablecell(this.parseInline(i[l]),{header:!1,align:p.align[l]});u+=this.renderer.tablerow(c)}x+=this.renderer.table(a,u);continue;case"blockquote":u=this.parse(p.tokens),x+=this.renderer.blockquote(u);continue;case"list":for(f=p.ordered,h=p.start,g=p.loose,s=p.items.length,u="",r=0;r<s;r++)$=p.items[r],m=$.checked,b=$.task,d="",$.task&&(k=this.renderer.checkbox(m),g?"text"===$.tokens[0].type?($.tokens[0].text=k+" "+$.tokens[0].text,$.tokens[0].tokens&&$.tokens[0].tokens.length>0&&"text"===$.tokens[0].tokens[0].type&&($.tokens[0].tokens[0].text=k+" "+$.tokens[0].tokens[0].text)):$.tokens.unshift({type:"text",text:k}):d+=k),d+=this.parse($.tokens,g),u+=this.renderer.listitem(d,b,m);x+=this.renderer.list(u,f,h);continue;case"html":x+=this.renderer.html(p.text);continue;case"paragraph":x+=this.renderer.paragraph(this.parseInline(p.tokens));continue;case"text":for(u=p.tokens?this.parseInline(p.tokens):p.text;n+1<w&&"text"===e[n+1].type;)p=e[++n],u+="\n"+(p.tokens?this.parseInline(p.tokens):p.text);x+=t?this.renderer.paragraph(u):u;continue;default:{const e='Token with "'+p.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return x}parseInline(e,t){t=t||this.renderer;let n,r,l="";const s=e.length;for(n=0;n<s;n++)switch(r=e[n],r.type){case"escape":l+=t.text(r.text);break;case"html":l+=t.html(r.text);break;case"link":l+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":l+=t.image(r.href,r.title,r.text);break;case"strong":l+=t.strong(this.parseInline(r.tokens,t));break;case"em":l+=t.em(this.parseInline(r.tokens,t));break;case"codespan":l+=t.codespan(r.text);break;case"br":l+=t.br();break;case"del":l+=t.del(this.parseInline(r.tokens,t));break;case"text":l+=t.text(r.text);break;default:{const e='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return l}};const{merge:kn,checkSanitizeDeprecation:xn,escape:wn}=Ht,{getDefaults:yn,changeDefaults:_n,defaults:zn}=vt;function vn(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(n||"function"==typeof t){n||(n=t,t=null),t=kn({},vn.defaults,t||{}),xn(t);const r=t.highlight;let l,s,o=0;try{l=an.lex(e,t)}catch(e){return n(e)}s=l.length;const i=function(e){if(e)return t.highlight=r,n(e);let s;try{s=bn.parse(l,t)}catch(t){e=t}return t.highlight=r,e?n(e):n(null,s)};if(!r||r.length<3)return i();if(delete t.highlight,!s)return i();for(;o<l.length;o++)!function(e){"code"!==e.type?--s||i():r(e.text,e.lang,(function(t,n){return t?i(t):null==n||n===e.text?--s||i():(e.text=n,e.escaped=!0,void(--s||i()))}))}(l[o])}else try{return t=kn({},vn.defaults,t||{}),xn(t),bn.parse(an.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||vn.defaults).silent)return"<p>An error occurred:</p><pre>"+wn(e.message+"",!0)+"</pre>";throw e}}function Sn(t){let n;const r=new zt({props:{tokens:t[0],renderers:t[1]}});return{c(){G(r.$$.fragment)},l(e){X(r.$$.fragment,e)},m(e,t){K(r,e,t),n=!0},p:e,i(e){n||(j(r.$$.fragment,e),n=!0)},o(e){H(r.$$.fragment,e),n=!1},d(e){Q(r,e)}}}vn.options=vn.setOptions=function(e){return kn(vn.defaults,e),_n(vn.defaults),vn},vn.getDefaults=yn,vn.defaults=zn,vn.use=function(e){const t=kn({},e);if(e.renderer){const n=vn.defaults.renderer||new hn;for(const t in e.renderer){const r=n[t];n[t]=(...l)=>{let s=e.renderer[t].apply(n,l);return!1===s&&(s=r.apply(n,l)),s}}t.renderer=n}if(e.tokenizer){const n=vn.defaults.tokenizer||new Vt;for(const t in e.tokenizer){const r=n[t];n[t]=(...l)=>{let s=e.tokenizer[t].apply(n,l);return!1===s&&(s=r.apply(n,l)),s}}t.tokenizer=n}vn.setOptions(t)},vn.Parser=bn,vn.parser=bn.parse,vn.Renderer=hn,vn.TextRenderer=gn,vn.Lexer=an,vn.lexer=an.lex,vn.Tokenizer=Vt,vn.Slugger=dn,vn.parse=vn;const An=new vn.Lexer,En={heading:class extends J{constructor(e){super(),Y(this,e,ie,oe,o,{depth:0,raw:1})}},paragraph:class extends J{constructor(e){super(),Y(this,e,ae,ce,o,{})}},text:class extends J{constructor(e){super(),Y(this,e,pe,ue,o,{})}},image:class extends J{constructor(e){super(),Y(this,e,he,fe,o,{href:0,title:1,text:2})}},link:class extends J{constructor(e){super(),Y(this,e,de,ge,o,{href:0,title:1})}},em:class extends J{constructor(e){super(),Y(this,e,me,$e,o,{})}},strong:class extends J{constructor(e){super(),Y(this,e,_e,ye,o,{})}},codespan:class extends J{constructor(e){super(),Y(this,e,we,xe,o,{})}},del:class extends J{constructor(e){super(),Y(this,e,ke,be,o,{})}},table:class extends J{constructor(e){super(),Y(this,e,ve,ze,o,{})}},tablehead:class extends J{constructor(e){super(),Y(this,e,Ae,Se,o,{})}},tablebody:class extends J{constructor(e){super(),Y(this,e,Re,Ee,o,{})}},tablerow:class extends J{constructor(e){super(),Y(this,e,Ne,Te,o,{})}},tablecell:class extends J{constructor(e){super(),Y(this,e,Ze,Oe,o,{header:0,align:1})}},list:class extends J{constructor(e){super(),Y(this,e,Pe,Le,o,{ordered:0,start:1})}},listitem:class extends J{constructor(e){super(),Y(this,e,Ue,Be,o,{})}},hr:class extends J{constructor(e){super(),Y(this,e,null,je,o,{})}},html:class extends J{constructor(e){super(),Y(this,e,Me,He,o,{text:0})}},blockquote:class extends J{constructor(e){super(),Y(this,e,Ge,Fe,o,{})}},code:class extends J{constructor(e){super(),Y(this,e,Ke,Xe,o,{lang:0})}}};function Rn(e,t,n){let{body:r=""}=t;const l=An.lex(r),s=En;return e.$set=e=>{"body"in e&&n(2,r=e.body)},[l,s,r]}export default class extends J{constructor(e){super(),Y(this,e,Rn,Sn,o,{body:2})}}
function e(){}function t(e,t){for(const n in t)e[n]=t[n];return e}function n(e){return e()}function r(){return Object.create(null)}function l(e){e.forEach(n)}function s(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function i(e,t,n,r){if(e){const l=c(e,t,n,r);return e[0](l)}}function c(e,n,r,l){return e[1]&&l?t(r.ctx.slice(),e[1](l(n))):r.ctx}function a(e,t,n,r){if(e[2]&&r){const l=e[2](r(n));if(void 0===t.dirty)return l;if("object"==typeof l){const e=[],n=Math.max(t.dirty.length,l.length);for(let r=0;r<n;r+=1)e[r]=t.dirty[r]|l[r];return e}return t.dirty|l}return t.dirty}function u(e,t){const n={};t=new Set(t);for(const r in e)t.has(r)||"$"===r[0]||(n[r]=e[r]);return n}function p(e,t,n){e.insertBefore(t,n||null)}function f(e){e.parentNode.removeChild(e)}function h(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function g(e){return document.createElement(e)}function d(e){return document.createTextNode(e)}function $(){return d(" ")}function m(){return d("")}function k(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function b(e){return Array.from(e.childNodes)}function x(e,t,n,r){for(let r=0;r<e.length;r+=1){const l=e[r];if(l.nodeName===t){let t=0;for(;t<l.attributes.length;){const e=l.attributes[t];n[e.name]?t++:l.removeAttribute(e.name)}return e.splice(r,1)[0]}}return r?function(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}(t):g(t)}function w(e,t){for(let n=0;n<e.length;n+=1){const r=e[n];if(3===r.nodeType)return r.data=""+t,e.splice(n,1)[0]}return d(t)}function y(e){return w(e," ")}function _(e,t){t=""+t,e.data!==t&&(e.data=t)}class z{constructor(e,t=null){this.e=g("div"),this.a=t,this.u(e)}m(e,t=null){for(let n=0;n<this.n.length;n+=1)p(e,this.n[n],t);this.t=e}u(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}p(e){this.d(),this.u(e),this.m(this.t,this.a)}d(){this.n.forEach(f)}}let v;function S(e){v=e}const A=[],E=[],R=[],T=[],N=Promise.resolve();let q=!1;function C(e){R.push(e)}let O=!1;const Z=new Set;function I(){if(!O){O=!0;do{for(let e=0;e<A.length;e+=1){const t=A[e];S(t),D(t.$$)}for(A.length=0;E.length;)E.pop()();for(let e=0;e<R.length;e+=1){const t=R[e];Z.has(t)||(Z.add(t),t())}R.length=0}while(A.length);for(;T.length;)T.pop()();q=!1,O=!1,Z.clear()}}function D(e){if(null!==e.fragment){e.update(),l(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(C)}}const L=new Set;let P;function B(){P={r:0,c:[],p:P}}function U(){P.r||l(P.c),P=P.p}function j(e,t){e&&e.i&&(L.delete(e),e.i(t))}function H(e,t,n,r){if(e&&e.o){if(L.has(e))return;L.add(e),P.c.push(()=>{L.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}}function M(e,t){const n={},r={},l={$$scope:1};let s=e.length;for(;s--;){const o=e[s],i=t[s];if(i){for(const e in o)e in i||(r[e]=1);for(const e in i)l[e]||(n[e]=i[e],l[e]=1);e[s]=i}else for(const e in o)l[e]=1}for(const e in r)e in n||(n[e]=void 0);return n}function F(e){return"object"==typeof e&&null!==e?e:{}}function G(e){e&&e.c()}function X(e,t){e&&e.l(t)}function K(e,t,r){const{fragment:o,on_mount:i,on_destroy:c,after_update:a}=e.$$;o&&o.m(t,r),C(()=>{const t=i.map(n).filter(s);c?c.push(...t):l(t),e.$$.on_mount=[]}),a.forEach(C)}function Q(e,t){const n=e.$$;null!==n.fragment&&(l(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function V(e,t){-1===e.$$.dirty[0]&&(A.push(e),q||(q=!0,N.then(I)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Y(t,n,s,o,i,c,a=[-1]){const u=v;S(t);const p=n.props||{},h=t.$$={fragment:null,ctx:null,props:c,update:e,not_equal:i,bound:r(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(u?u.$$.context:[]),callbacks:r(),dirty:a};let g=!1;if(h.ctx=s?s(t,p,(e,n,...r)=>{const l=r.length?r[0]:n;return h.ctx&&i(h.ctx[e],h.ctx[e]=l)&&(h.bound[e]&&h.bound[e](l),g&&V(t,e)),n}):[],h.update(),g=!0,l(h.before_update),h.fragment=!!o&&o(h.ctx),n.target){if(n.hydrate){const e=b(n.target);h.fragment&&h.fragment.l(e),e.forEach(f)}else h.fragment&&h.fragment.c();n.intro&&j(t.$$.fragment),K(t,n.target,n.anchor),I()}S(u)}class J{$destroy(){Q(this,1),this.$destroy=e}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(){}}function W(t){let n;return{c(){n=d(t[1])},l(e){n=w(e,t[1])},m(e,t){p(e,n,t)},p(e,t){2&t&&_(n,e[1])},i:e,o:e,d(e){e&&f(n)}}}function ee(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h6"),l&&l.c()},l(e){t=x(e,"H6",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function te(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h5"),l&&l.c()},l(e){t=x(e,"H5",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function ne(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h4"),l&&l.c()},l(e){t=x(e,"H4",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function re(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h3"),l&&l.c()},l(e){t=x(e,"H3",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function le(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h2"),l&&l.c()},l(e){t=x(e,"H2",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function se(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h1"),l&&l.c()},l(e){t=x(e,"H1",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function oe(e){let t,n,r,l;const s=[se,le,re,ne,te,ee,W],o=[];function i(e,t){return 1===e[0]?0:2===e[0]?1:3===e[0]?2:4===e[0]?3:5===e[0]?4:6===e[0]?5:6}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,[l]){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),U(),n=o[t],n||(n=o[t]=s[t](e),n.c()),j(n,1),n.m(r.parentNode,r))},i(e){l||(j(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function ie(e,t,n){let{depth:r}=t,{raw:l}=t,{$$slots:s={},$$scope:o}=t;return e.$set=e=>{"depth"in e&&n(0,r=e.depth),"raw"in e&&n(1,l=e.raw),"$$scope"in e&&n(2,o=e.$$scope)},[r,l,o,s]}function ce(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("p"),l&&l.c()},l(e){t=x(e,"P",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function ae(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function ue(e){let t;const n=e[1].default,r=i(n,e,e[0],null);return{c(){r&&r.c()},l(e){r&&r.l(e)},m(e,n){r&&r.m(e,n),t=!0},p(e,[t]){r&&r.p&&1&t&&r.p(c(n,e,e[0],null),a(n,e[0],t,null))},i(e){t||(j(r,e),t=!0)},o(e){H(r,e),t=!1},d(e){r&&r.d(e)}}}function pe(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function fe(t){let n,r;return{c(){n=g("img"),this.h()},l(e){n=x(e,"IMG",{src:!0,title:!0,alt:!0}),this.h()},h(){n.src!==(r=t[0])&&k(n,"src",r),k(n,"title",t[1]),k(n,"alt",t[2])},m(e,t){p(e,n,t)},p(e,[t]){1&t&&n.src!==(r=e[0])&&k(n,"src",r),2&t&&k(n,"title",e[1]),4&t&&k(n,"alt",e[2])},i:e,o:e,d(e){e&&f(n)}}}function he(e,t,n){let{href:r=""}=t,{title:l}=t,{text:s=""}=t;return e.$set=e=>{"href"in e&&n(0,r=e.href),"title"in e&&n(1,l=e.title),"text"in e&&n(2,s=e.text)},[r,l,s]}function ge(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("a"),l&&l.c(),this.h()},l(e){t=x(e,"A",{href:!0,title:!0});var n=b(t);l&&l.l(n),n.forEach(f),this.h()},h(){k(t,"href",e[0]),k(t,"title",e[1])},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[s]){l&&l.p&&4&s&&l.p(c(r,e,e[2],null),a(r,e[2],s,null)),(!n||1&s)&&k(t,"href",e[0]),(!n||2&s)&&k(t,"title",e[1])},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function de(e,t,n){let{href:r=""}=t,{title:l}=t,{$$slots:s={},$$scope:o}=t;return e.$set=e=>{"href"in e&&n(0,r=e.href),"title"in e&&n(1,l=e.title),"$$scope"in e&&n(2,o=e.$$scope)},[r,l,o,s]}function $e(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("em"),l&&l.c()},l(e){t=x(e,"EM",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function me(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function ke(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("del"),l&&l.c()},l(e){t=x(e,"DEL",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function be(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function xe(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("codespan"),l&&l.c()},l(e){t=x(e,"CODESPAN",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function we(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function ye(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("strong"),l&&l.c()},l(e){t=x(e,"STRONG",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function _e(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function ze(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("table"),l&&l.c()},l(e){t=x(e,"TABLE",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function ve(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function Se(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("thead"),l&&l.c()},l(e){t=x(e,"THEAD",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Ae(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function Ee(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("tbody"),l&&l.c()},l(e){t=x(e,"TBODY",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Re(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function Te(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("tr"),l&&l.c()},l(e){t=x(e,"TR",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Ne(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function qe(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("td"),l&&l.c()},l(e){t=x(e,"TD",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Ce(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("th"),l&&l.c()},l(e){t=x(e,"TH",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Oe(e){let t,n,r,l;const s=[Ce,qe],o=[];function i(e,t){return e[0]?0:1}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,[l]){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),U(),n=o[t],n||(n=o[t]=s[t](e),n.c()),j(n,1),n.m(r.parentNode,r))},i(e){l||(j(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function Ze(e,t,n){let{header:r}=t,{align:l}=t,{$$slots:s={},$$scope:o}=t;return e.$set=e=>{"header"in e&&n(0,r=e.header),"align"in e&&n(1,l=e.align),"$$scope"in e&&n(2,o=e.$$scope)},[r,l,o,s]}function Ie(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("ul"),l&&l.c()},l(e){t=x(e,"UL",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function De(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("ol"),l&&l.c(),this.h()},l(e){t=x(e,"OL",{start:!0});var n=b(t);l&&l.l(n),n.forEach(f),this.h()},h(){k(t,"start",e[1])},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,s){l&&l.p&&4&s&&l.p(c(r,e,e[2],null),a(r,e[2],s,null)),(!n||2&s)&&k(t,"start",e[1])},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Le(e){let t,n,r,l;const s=[De,Ie],o=[];function i(e,t){return e[0]?0:1}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,[l]){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),U(),n=o[t],n||(n=o[t]=s[t](e),n.c()),j(n,1),n.m(r.parentNode,r))},i(e){l||(j(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function Pe(e,t,n){let{ordered:r}=t,{start:l}=t,{$$slots:s={},$$scope:o}=t;return e.$set=e=>{"ordered"in e&&n(0,r=e.ordered),"start"in e&&n(1,l=e.start),"$$scope"in e&&n(2,o=e.$$scope)},[r,l,o,s]}function Be(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("li"),l&&l.c()},l(e){t=x(e,"LI",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Ue(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function je(t){let n;return{c(){n=g("hr")},l(e){n=x(e,"HR",{})},m(e,t){p(e,n,t)},p:e,i:e,o:e,d(e){e&&f(n)}}}function He(t){let n;return{c(){this.h()},l(e){this.h()},h(){n=new z(t[0],null)},m(e,t){n.m(e,t)},p(e,[t]){1&t&&n.p(e[0])},i:e,o:e,d(e){e&&n.d()}}}function Me(e,t,n){let{text:r}=t;return e.$set=e=>{"text"in e&&n(0,r=e.text)},[r]}function Fe(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("blockquote"),l&&l.c()},l(e){t=x(e,"BLOCKQUOTE",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(j(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Ge(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function Xe(e){let t,n,r;const l=e[2].default,s=i(l,e,e[1],null);return{c(){t=g("pre"),n=g("code"),s&&s.c(),this.h()},l(e){t=x(e,"PRE",{class:!0});var r=b(t);n=x(r,"CODE",{});var l=b(n);s&&s.l(l),l.forEach(f),r.forEach(f),this.h()},h(){k(t,"class",e[0])},m(e,l){p(e,t,l),function(e,t){e.appendChild(t)}(t,n),s&&s.m(n,null),r=!0},p(e,[n]){s&&s.p&&2&n&&s.p(c(l,e,e[1],null),a(l,e[1],n,null)),(!r||1&n)&&k(t,"class",e[0])},i(e){r||(j(s,e),r=!0)},o(e){H(s,e),r=!1},d(e){e&&f(t),s&&s.d(e)}}}function Ke(e,t,n){let{lang:r}=t,{$$slots:l={},$$scope:s}=t;return e.$set=e=>{"lang"in e&&n(0,r=e.lang),"$$scope"in e&&n(1,s=e.$$scope)},[r,s,l]}function Qe(e,t,n){const r=e.slice();return r[14]=t[n],r}function Ve(e,t,n){const r=e.slice();return r[10]=t[n],r[12]=n,r}function Ye(e,t,n){const r=e.slice();return r[7]=t[n],r}function Je(e,t,n){const r=e.slice();return r[10]=t[n],r[12]=n,r}function We(e,t,n){const r=e.slice();return r[4]=t[n],r}function et(e){let t,n,r,l;const s=[lt,rt,nt],o=[];function i(e,t){return"table"===e[0]?0:"list"===e[0]?1:2}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,l){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),U(),n=o[t],n||(n=o[t]=s[t](e),n.c()),j(n,1),n.m(r.parentNode,r))},i(e){l||(j(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function tt(e){let t,n,r=e[1],l=[];for(let t=0;t<r.length;t+=1)l[t]=wt(We(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=m()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=m()},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(6&n){let o;for(r=e[1],o=0;o<r.length;o+=1){const s=We(e,r,o);l[o]?(l[o].p(s,n),j(l[o],1)):(l[o]=wt(s),l[o].c(),j(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);U()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)j(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function nt(e){let n,r;const l=[e[3]];var s=e[2][e[0]];function o(e){let n={$$slots:{default:[it]},$$scope:{ctx:e}};for(let e=0;e<l.length;e+=1)n=t(n,l[e]);return{props:n}}if(s)var i=new s(o(e));return{c(){i&&G(i.$$.fragment),n=m()},l(e){i&&X(i.$$.fragment,e),n=m()},m(e,t){i&&K(i,e,t),p(e,n,t),r=!0},p(e,t){const r=8&t?M(l,[F(e[3])]):{};if(131078&t&&(r.$$scope={dirty:t,ctx:e}),s!==(s=e[2][e[0]])){if(i){B();const e=i;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}s?(G((i=new s(o(e))).$$.fragment),j(i.$$.fragment,1),K(i,n.parentNode,n)):i=null}else s&&i.$set(r)},i(e){r||(i&&j(i.$$.fragment,e),r=!0)},o(e){i&&H(i.$$.fragment,e),r=!1},d(e){e&&f(n),i&&Q(i,e)}}}function rt(e){let n,r;const l=[e[3]];var s=e[2].list;function o(e){let n={$$slots:{default:[ut]},$$scope:{ctx:e}};for(let e=0;e<l.length;e+=1)n=t(n,l[e]);return{props:n}}if(s)var i=new s(o(e));return{c(){i&&G(i.$$.fragment),n=m()},l(e){i&&X(i.$$.fragment,e),n=m()},m(e,t){i&&K(i,e,t),p(e,n,t),r=!0},p(e,t){const r=8&t?M(l,[F(e[3])]):{};if(131076&t&&(r.$$scope={dirty:t,ctx:e}),s!==(s=e[2].list)){if(i){B();const e=i;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}s?(G((i=new s(o(e))).$$.fragment),j(i.$$.fragment,1),K(i,n.parentNode,n)):i=null}else s&&i.$set(r)},i(e){r||(i&&j(i.$$.fragment,e),r=!0)},o(e){i&&H(i.$$.fragment,e),r=!1},d(e){e&&f(n),i&&Q(i,e)}}}function lt(e){let t,n;var r=e[2].table;function l(e){return{props:{$$slots:{default:[xt]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].table)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}r?(G((s=new r(l(e))).$$.fragment),j(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&j(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function st(t){let n,r=t[3].text+"";return{c(){n=d(r)},l(e){n=w(e,r)},m(e,t){p(e,n,t)},p(e,t){8&t&&r!==(r=e[3].text+"")&&_(n,r)},i:e,o:e,d(e){e&&f(n)}}}function ot(e){let t;const n=new zt({props:{tokens:e[1],renderers:e[2]}});return{c(){G(n.$$.fragment)},l(e){X(n.$$.fragment,e)},m(e,r){K(n,e,r),t=!0},p(e,t){const r={};2&t&&(r.tokens=e[1]),4&t&&(r.renderers=e[2]),n.$set(r)},i(e){t||(j(n.$$.fragment,e),t=!0)},o(e){H(n.$$.fragment,e),t=!1},d(e){Q(n,e)}}}function it(e){let t,n,r,l;const s=[ot,st],o=[];function i(e,t){return e[1]?0:1}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,l){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),U(),n=o[t],n||(n=o[t]=s[t](e),n.c()),j(n,1),n.m(r.parentNode,r))},i(e){l||(j(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function ct(e){let t,n;const r=new zt({props:{tokens:e[14].tokens,renderers:e[2]}});return{c(){G(r.$$.fragment),t=$()},l(e){X(r.$$.fragment,e),t=y(e)},m(e,l){K(r,e,l),p(e,t,l),n=!0},p(e,t){const n={};8&t&&(n.tokens=e[14].tokens),4&t&&(n.renderers=e[2]),r.$set(n)},i(e){n||(j(r.$$.fragment,e),n=!0)},o(e){H(r.$$.fragment,e),n=!1},d(e){Q(r,e),e&&f(t)}}}function at(e){let n,r;const l=[e[3]];var s=e[2].listitem;function o(e){let n={$$slots:{default:[ct]},$$scope:{ctx:e}};for(let e=0;e<l.length;e+=1)n=t(n,l[e]);return{props:n}}if(s)var i=new s(o(e));return{c(){i&&G(i.$$.fragment),n=m()},l(e){i&&X(i.$$.fragment,e),n=m()},m(e,t){i&&K(i,e,t),p(e,n,t),r=!0},p(e,t){const r=8&t?M(l,[F(e[3])]):{};if(131076&t&&(r.$$scope={dirty:t,ctx:e}),s!==(s=e[2].listitem)){if(i){B();const e=i;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}s?(G((i=new s(o(e))).$$.fragment),j(i.$$.fragment,1),K(i,n.parentNode,n)):i=null}else s&&i.$set(r)},i(e){r||(i&&j(i.$$.fragment,e),r=!0)},o(e){i&&H(i.$$.fragment,e),r=!1},d(e){e&&f(n),i&&Q(i,e)}}}function ut(e){let t,n,r=e[3].items,l=[];for(let t=0;t<r.length;t+=1)l[t]=at(Qe(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=m()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=m()},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(12&n){let o;for(r=e[3].items,o=0;o<r.length;o+=1){const s=Qe(e,r,o);l[o]?(l[o].p(s,n),j(l[o],1)):(l[o]=at(s),l[o].c(),j(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);U()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)j(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function pt(e){let t,n;const r=new zt({props:{tokens:e[10],renderers:e[2]}});return{c(){G(r.$$.fragment),t=$()},l(e){X(r.$$.fragment,e),t=y(e)},m(e,l){K(r,e,l),p(e,t,l),n=!0},p(e,t){const n={};2&t&&(n.tokens=e[10]),4&t&&(n.renderers=e[2]),r.$set(n)},i(e){n||(j(r.$$.fragment,e),n=!0)},o(e){H(r.$$.fragment,e),n=!1},d(e){Q(r,e),e&&f(t)}}}function ft(e){let t,n;var r=e[2].tablecell;function l(e){return{props:{header:!0,align:e[3].align[e[12]]||"center",$$slots:{default:[pt]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(8&n&&(o.align=e[3].align[e[12]]||"center"),131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].tablecell)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}r?(G((s=new r(l(e))).$$.fragment),j(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&j(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function ht(e){let t,n,r=e[1].header,l=[];for(let t=0;t<r.length;t+=1)l[t]=ft(Je(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=m()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=m()},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(14&n){let o;for(r=e[1].header,o=0;o<r.length;o+=1){const s=Je(e,r,o);l[o]?(l[o].p(s,n),j(l[o],1)):(l[o]=ft(s),l[o].c(),j(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);U()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)j(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function gt(e){let t,n;var r=e[2].tablerow;function l(e){return{props:{$$slots:{default:[ht]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].tablerow)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}r?(G((s=new r(l(e))).$$.fragment),j(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&j(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function dt(e){let t;const n=new zt({props:{tokens:e[10],renderers:e[2]}});return{c(){G(n.$$.fragment)},l(e){X(n.$$.fragment,e)},m(e,r){K(n,e,r),t=!0},p(e,t){const r={};2&t&&(r.tokens=e[10]),4&t&&(r.renderers=e[2]),n.$set(r)},i(e){t||(j(n.$$.fragment,e),t=!0)},o(e){H(n.$$.fragment,e),t=!1},d(e){Q(n,e)}}}function $t(e){let t,n;var r=e[2].tablecell;function l(e){return{props:{header:!1,align:e[3].align[e[12]]||"center",$$slots:{default:[dt]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(8&n&&(o.align=e[3].align[e[12]]||"center"),131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].tablecell)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}r?(G((s=new r(l(e))).$$.fragment),j(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&j(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function mt(e){let t,n,r=e[7],l=[];for(let t=0;t<r.length;t+=1)l[t]=$t(Ve(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=$()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=y(e)},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(14&n){let o;for(r=e[7],o=0;o<r.length;o+=1){const s=Ve(e,r,o);l[o]?(l[o].p(s,n),j(l[o],1)):(l[o]=$t(s),l[o].c(),j(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);U()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)j(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function kt(e){let t,n;var r=e[2].tablerow;function l(e){return{props:{$$slots:{default:[mt]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].tablerow)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}r?(G((s=new r(l(e))).$$.fragment),j(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&j(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function bt(e){let t,n,r=e[1].cells,l=[];for(let t=0;t<r.length;t+=1)l[t]=kt(Ye(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=m()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=m()},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(14&n){let o;for(r=e[1].cells,o=0;o<r.length;o+=1){const s=Ye(e,r,o);l[o]?(l[o].p(s,n),j(l[o],1)):(l[o]=kt(s),l[o].c(),j(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);U()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)j(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function xt(e){let t,n,r;var l=e[2].tablehead;function s(e){return{props:{$$slots:{default:[gt]},$$scope:{ctx:e}}}}if(l)var o=new l(s(e));var i=e[2].tablebody;function c(e){return{props:{$$slots:{default:[bt]},$$scope:{ctx:e}}}}if(i)var a=new i(c(e));return{c(){o&&G(o.$$.fragment),t=$(),a&&G(a.$$.fragment),n=m()},l(e){o&&X(o.$$.fragment,e),t=y(e),a&&X(a.$$.fragment,e),n=m()},m(e,l){o&&K(o,e,l),p(e,t,l),a&&K(a,e,l),p(e,n,l),r=!0},p(e,r){const u={};if(131078&r&&(u.$$scope={dirty:r,ctx:e}),l!==(l=e[2].tablehead)){if(o){B();const e=o;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}l?(G((o=new l(s(e))).$$.fragment),j(o.$$.fragment,1),K(o,t.parentNode,t)):o=null}else l&&o.$set(u);const p={};if(131078&r&&(p.$$scope={dirty:r,ctx:e}),i!==(i=e[2].tablebody)){if(a){B();const e=a;H(e.$$.fragment,1,0,()=>{Q(e,1)}),U()}i?(G((a=new i(c(e))).$$.fragment),j(a.$$.fragment,1),K(a,n.parentNode,n)):a=null}else i&&a.$set(p)},i(e){r||(o&&j(o.$$.fragment,e),a&&j(a.$$.fragment,e),r=!0)},o(e){o&&H(o.$$.fragment,e),a&&H(a.$$.fragment,e),r=!1},d(e){o&&Q(o,e),e&&f(t),e&&f(n),a&&Q(a,e)}}}function wt(e){let n;const r=[e[4],{renderers:e[2]}];let l={};for(let e=0;e<r.length;e+=1)l=t(l,r[e]);const s=new zt({props:l});return{c(){G(s.$$.fragment)},l(e){X(s.$$.fragment,e)},m(e,t){K(s,e,t),n=!0},p(e,t){const n=6&t?M(r,[2&t&&F(e[4]),4&t&&{renderers:e[2]}]):{};s.$set(n)},i(e){n||(j(s.$$.fragment,e),n=!0)},o(e){H(s.$$.fragment,e),n=!1},d(e){Q(s,e)}}}function yt(e){let t,n,r,l;const s=[tt,et],o=[];function i(e,t){return e[0]?e[2][e[0]]?1:-1:0}return~(t=i(e))&&(n=o[t]=s[t](e)),{c(){n&&n.c(),r=m()},l(e){n&&n.l(e),r=m()},m(e,n){~t&&o[t].m(e,n),p(e,r,n),l=!0},p(e,[l]){let c=t;t=i(e),t===c?~t&&o[t].p(e,l):(n&&(B(),H(o[c],1,1,()=>{o[c]=null}),U()),~t?(n=o[t],n||(n=o[t]=s[t](e),n.c()),j(n,1),n.m(r.parentNode,r)):n=null)},i(e){l||(j(n),l=!0)},o(e){H(n),l=!1},d(e){~t&&o[t].d(e),e&&f(r)}}}function _t(e,n,r){const l=["type","tokens","renderers"];let s=u(n,l),{type:o}=n,{tokens:i}=n,{renderers:c}=n;return e.$set=e=>{n=t(t({},n),function(e){const t={};for(const n in e)"$"!==n[0]&&(t[n]=e[n]);return t}(e)),r(3,s=u(n,l)),"type"in e&&r(0,o=e.type),"tokens"in e&&r(1,i=e.tokens),"renderers"in e&&r(2,c=e.renderers)},[o,i,c,s]}class zt extends J{constructor(e){super(),Y(this,e,_t,yt,o,{type:0,tokens:1,renderers:2})}}var vt=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,xhtml:!1}}e.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,xhtml:!1},getDefaults:t,changeDefaults:function(t){e.exports.defaults=t}}}));vt.defaults,vt.getDefaults,vt.changeDefaults;const St=/[&<>"']/,At=/[&<>"']/g,Et=/[<>"']|&(?!#?\w+;)/,Rt=/[<>"']|&(?!#?\w+;)/g,Tt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Nt=e=>Tt[e];const qt=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function Ct(e){return e.replace(qt,(e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")}const Ot=/(^|[^\[])\^/g;const Zt=/[^\w:]/g,It=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;const Dt={},Lt=/^[^:]+:\/*[^/]*$/,Pt=/^([^:]+:)[\s\S]*$/,Bt=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Ut(e,t){Dt[" "+e]||(Lt.test(e)?Dt[" "+e]=e+"/":Dt[" "+e]=jt(e,"/",!0));const n=-1===(e=Dt[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(Pt,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(Bt,"$1")+t:e+t}function jt(e,t,n){const r=e.length;if(0===r)return"";let l=0;for(;l<r;){const s=e.charAt(r-l-1);if(s!==t||n){if(s===t||!n)break;l++}else l++}return e.substr(0,r-l)}var Ht={escape:function(e,t){if(t){if(St.test(e))return e.replace(At,Nt)}else if(Et.test(e))return e.replace(Rt,Nt);return e},unescape:Ct,edit:function(e,t){e=e.source||e,t=t||"";const n={replace:(t,r)=>(r=(r=r.source||r).replace(Ot,"$1"),e=e.replace(t,r),n),getRegex:()=>new RegExp(e,t)};return n},cleanUrl:function(e,t,n){if(e){let e;try{e=decodeURIComponent(Ct(n)).replace(Zt,"").toLowerCase()}catch(e){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!It.test(n)&&(n=Ut(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n},resolveUrl:Ut,noopTest:{exec:function(){}},merge:function(e){let t,n,r=1;for(;r<arguments.length;r++)for(n in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},splitCells:function(e,t){const n=e.replace(/\|/g,(e,t,n)=>{let r=!1,l=t;for(;--l>=0&&"\\"===n[l];)r=!r;return r?"|":" |"}).split(/ \|/);let r=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n},rtrim:jt,findClosingBracket:function(e,t){if(-1===e.indexOf(t[1]))return-1;const n=e.length;let r=0,l=0;for(;l<n;l++)if("\\"===e[l])l++;else if(e[l]===t[0])r++;else if(e[l]===t[1]&&(r--,r<0))return l;return-1},checkSanitizeDeprecation:function(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}};const{defaults:Mt}=vt,{rtrim:Ft,splitCells:Gt,escape:Xt,findClosingBracket:Kt}=Ht;function Qt(e,t,n){const r=t.href,l=t.title?Xt(t.title):null;return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:r,title:l,text:e[1]}:{type:"image",raw:n,text:Xt(e[1]),href:r,title:l}}var Vt=class{constructor(e){this.options=e||Mt}space(e){const t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}}code(e,t){const n=this.rules.block.code.exec(e);if(n){const e=t[t.length-1];if(e&&"paragraph"===e.type)return t.pop(),e.text+="\n"+n[0].trimRight(),e.raw+="\n"+n[0],e;{const e=n[0].replace(/^ {4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?e:Ft(e,"\n")}}}}fences(e){const t=this.rules.block.fences.exec(e);if(t)return{type:"code",raw:t[0],lang:t[2]?t[2].trim():t[2],text:t[3]||""}}heading(e){const t=this.rules.block.heading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}}nptable(e){const t=this.rules.block.nptable.exec(e);if(t){const e={type:"table",header:Gt(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(e.header.length===e.align.length){let t,n=e.align.length;for(t=0;t<n;t++)/^ *-+: *$/.test(e.align[t])?e.align[t]="right":/^ *:-+: *$/.test(e.align[t])?e.align[t]="center":/^ *:-+ *$/.test(e.align[t])?e.align[t]="left":e.align[t]=null;for(n=e.cells.length,t=0;t<n;t++)e.cells[t]=Gt(e.cells[t],e.header.length);return e}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],text:e}}}list(e){const t=this.rules.block.list.exec(e);if(t){let e=t[0];const n=t[2],r=n.length>1,l={type:"list",raw:e,ordered:r,start:r?+n:"",loose:!1,items:[]},s=t[0].match(this.rules.block.item);let o,i,c,a,u,p,f,h=!1;const g=s.length;for(let t=0;t<g;t++)o=s[t],e=o,i=o.length,o=o.replace(/^ *([*+-]|\d+\.) */,""),~o.indexOf("\n ")&&(i-=o.length,o=this.options.pedantic?o.replace(/^ {1,4}/gm,""):o.replace(new RegExp("^ {1,"+i+"}","gm"),"")),t!==g-1&&(c=this.rules.block.bullet.exec(s[t+1])[0],(n.length>1?1===c.length:c.length>1||this.options.smartLists&&c!==n)&&(a=s.slice(t+1).join("\n"),l.raw=l.raw.substring(0,l.raw.length-a.length),t=g-1)),u=h||/\n\n(?!\s*$)/.test(o),t!==g-1&&(h="\n"===o.charAt(o.length-1),u||(u=h)),u&&(l.loose=!0),p=/^\[[ xX]\] /.test(o),f=void 0,p&&(f=" "!==o[1],o=o.replace(/^\[[ xX]\] +/,"")),l.items.push({raw:e,task:p,checked:f,loose:u,text:o});return l}}html(e){const t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):Xt(t[0]):t[0]}}def(e){const t=this.rules.block.def.exec(e);if(t){return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}}}table(e){const t=this.rules.block.table.exec(e);if(t){const e={type:"table",header:Gt(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(e.header.length===e.align.length){e.raw=t[0];let n,r=e.align.length;for(n=0;n<r;n++)/^ *-+: *$/.test(e.align[n])?e.align[n]="right":/^ *:-+: *$/.test(e.align[n])?e.align[n]="center":/^ *:-+ *$/.test(e.align[n])?e.align[n]="left":e.align[n]=null;for(r=e.cells.length,n=0;n<r;n++)e.cells[n]=Gt(e.cells[n].replace(/^ *\| *| *\| *$/g,""),e.header.length);return e}}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1]}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t)return{type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1]}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0]}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:Xt(t[1])}}tag(e,t,n){const r=this.rules.inline.tag.exec(e);if(r)return!t&&/^<a /i.test(r[0])?t=!0:t&&/^<\/a>/i.test(r[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):Xt(r[0]):r[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=Kt(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}let n=t[2],r="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e?(n=e[1],r=e[3]):r=""}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim().replace(/^<([\s\S]*)>$/,"$1"),Qt(t,{href:n?n.replace(this.rules.inline._escapes,"$1"):n,title:r?r.replace(this.rules.inline._escapes,"$1"):r},t[0])}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=(n[2]||n[1]).replace(/\s+/g," ");if(e=t[e.toLowerCase()],!e||!e.href){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return Qt(n,e,n[0])}}strong(e){const t=this.rules.inline.strong.exec(e);if(t)return{type:"strong",raw:t[0],text:t[4]||t[3]||t[2]||t[1]}}em(e){const t=this.rules.inline.em.exec(e);if(t)return{type:"em",raw:t[0],text:t[6]||t[5]||t[4]||t[3]||t[2]||t[1]}}codespan(e){const t=this.rules.inline.code.exec(e);if(t)return{type:"codespan",raw:t[0],text:Xt(t[2].trim(),!0)}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[1]}}autolink(e,t){const n=this.rules.inline.autolink.exec(e);if(n){let e,r;return"@"===n[2]?(e=Xt(this.options.mangle?t(n[1]):n[1]),r="mailto:"+e):(e=Xt(n[1]),r=e),{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let e,r;if("@"===n[2])e=Xt(this.options.mangle?t(n[0]):n[0]),r="mailto:"+e;else{let t;do{t=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(t!==n[0]);e=Xt(n[0]),r="www."===n[1]?"http://"+e:e}return{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t,n){const r=this.rules.inline.text.exec(e);if(r){let e;return e=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):Xt(r[0]):r[0]:Xt(this.options.smartypants?n(r[0]):r[0]),{type:"text",raw:r[0],text:e}}}};const{noopTest:Yt,edit:Jt,merge:Wt}=Ht,en={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\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{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:Yt,table:Yt,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};en.def=Jt(en.def).replace("label",en._label).replace("title",en._title).getRegex(),en.bullet=/(?:[*+-]|\d{1,9}\.)/,en.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,en.item=Jt(en.item,"gm").replace(/bull/g,en.bullet).getRegex(),en.list=Jt(en.list).replace(/bull/g,en.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+en.def.source+")").getRegex(),en._tag="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|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",en._comment=/<!--(?!-?>)[\s\S]*?-->/,en.html=Jt(en.html,"i").replace("comment",en._comment).replace("tag",en._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),en.paragraph=Jt(en._paragraph).replace("hr",en.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",en._tag).getRegex(),en.blockquote=Jt(en.blockquote).replace("paragraph",en.paragraph).getRegex(),en.normal=Wt({},en),en.gfm=Wt({},en.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),en.gfm.nptable=Jt(en.gfm.nptable).replace("hr",en.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",en._tag).getRegex(),en.gfm.table=Jt(en.gfm.table).replace("hr",en.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",en._tag).getRegex(),en.pedantic=Wt({},en.normal,{html:Jt("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",en._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]+?) *(?:#+ *)?(?:\n+|$)/,fences:Yt,paragraph:Jt(en.normal._paragraph).replace("hr",en.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",en.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const tn={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Yt,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^_([^\s_<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s*<\[])\*(?!\*)|^\*([^\s<"][\s\S]*?[^\s\[\*])\*(?![\]`punctuation])|^\*([^\s*"<\[][\s\S]*[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Yt,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,_punctuation:"!\"#$%&'()*+\\-./:;<=>?@\\[^_{|}~"};tn.em=Jt(tn.em).replace(/punctuation/g,tn._punctuation).getRegex(),tn._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,tn._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,tn._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])?)+(?![-_])/,tn.autolink=Jt(tn.autolink).replace("scheme",tn._scheme).replace("email",tn._email).getRegex(),tn._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,tn.tag=Jt(tn.tag).replace("comment",en._comment).replace("attribute",tn._attribute).getRegex(),tn._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,tn._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,tn._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,tn.link=Jt(tn.link).replace("label",tn._label).replace("href",tn._href).replace("title",tn._title).getRegex(),tn.reflink=Jt(tn.reflink).replace("label",tn._label).getRegex(),tn.normal=Wt({},tn),tn.pedantic=Wt({},tn.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:Jt(/^!?\[(label)\]\((.*?)\)/).replace("label",tn._label).getRegex(),reflink:Jt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",tn._label).getRegex()}),tn.gfm=Wt({},tn.normal,{escape:Jt(tn.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),tn.gfm.url=Jt(tn.gfm.url,"i").replace("email",tn.gfm._extended_email).getRegex(),tn.breaks=Wt({},tn.gfm,{br:Jt(tn.br).replace("{2,}","*").getRegex(),text:Jt(tn.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var nn={block:en,inline:tn};const{defaults:rn}=vt,{block:ln,inline:sn}=nn;function on(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function cn(e){let t,n,r="";const l=e.length;for(t=0;t<l;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}var an=class e{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||rn,this.options.tokenizer=this.options.tokenizer||new Vt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;const t={block:ln.normal,inline:sn.normal};this.options.pedantic?(t.block=ln.pedantic,t.inline=sn.pedantic):this.options.gfm&&(t.block=ln.gfm,this.options.breaks?t.inline=sn.breaks:t.inline=sn.gfm),this.tokenizer.rules=t}static get rules(){return{block:ln,inline:sn}}static lex(t,n){return new e(n).lex(t)}lex(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens}blockTokens(e,t=[],n=!0){let r,l,s;for(e=e.replace(/^ +$/gm,"");e;)if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),r.type&&t.push(r);else if(r=this.tokenizer.code(e,t))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.nptable(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),r.tokens=this.blockTokens(r.text,[],n),t.push(r);else if(r=this.tokenizer.list(e)){for(e=e.substring(r.raw.length),s=r.items.length,l=0;l<s;l++)r.items[l].tokens=this.blockTokens(r.items[l].text,[],!1);t.push(r)}else if(r=this.tokenizer.html(e))e=e.substring(r.raw.length),t.push(r);else if(n&&(r=this.tokenizer.def(e)))e=e.substring(r.raw.length),this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});else if(r=this.tokenizer.table(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.lheading(e))e=e.substring(r.raw.length),t.push(r);else if(n&&(r=this.tokenizer.paragraph(e)))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.text(e))e=e.substring(r.raw.length),t.push(r);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}return t}inline(e){let t,n,r,l,s,o;const i=e.length;for(t=0;t<i;t++)switch(o=e[t],o.type){case"paragraph":case"text":case"heading":o.tokens=[],this.inlineTokens(o.text,o.tokens);break;case"table":for(o.tokens={header:[],cells:[]},l=o.header.length,n=0;n<l;n++)o.tokens.header[n]=[],this.inlineTokens(o.header[n],o.tokens.header[n]);for(l=o.cells.length,n=0;n<l;n++)for(s=o.cells[n],o.tokens.cells[n]=[],r=0;r<s.length;r++)o.tokens.cells[n][r]=[],this.inlineTokens(s[r],o.tokens.cells[n][r]);break;case"blockquote":this.inline(o.tokens);break;case"list":for(l=o.items.length,n=0;n<l;n++)this.inline(o.items[n].tokens)}return e}inlineTokens(e,t=[],n=!1,r=!1){let l;for(;e;)if(l=this.tokenizer.escape(e))e=e.substring(l.raw.length),t.push(l);else if(l=this.tokenizer.tag(e,n,r))e=e.substring(l.raw.length),n=l.inLink,r=l.inRawBlock,t.push(l);else if(l=this.tokenizer.link(e))e=e.substring(l.raw.length),"link"===l.type&&(l.tokens=this.inlineTokens(l.text,[],!0,r)),t.push(l);else if(l=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(l.raw.length),"link"===l.type&&(l.tokens=this.inlineTokens(l.text,[],!0,r)),t.push(l);else if(l=this.tokenizer.strong(e))e=e.substring(l.raw.length),l.tokens=this.inlineTokens(l.text,[],n,r),t.push(l);else if(l=this.tokenizer.em(e))e=e.substring(l.raw.length),l.tokens=this.inlineTokens(l.text,[],n,r),t.push(l);else if(l=this.tokenizer.codespan(e))e=e.substring(l.raw.length),t.push(l);else if(l=this.tokenizer.br(e))e=e.substring(l.raw.length),t.push(l);else if(l=this.tokenizer.del(e))e=e.substring(l.raw.length),l.tokens=this.inlineTokens(l.text,[],n,r),t.push(l);else if(l=this.tokenizer.autolink(e,cn))e=e.substring(l.raw.length),t.push(l);else if(n||!(l=this.tokenizer.url(e,cn))){if(l=this.tokenizer.inlineText(e,r,on))e=e.substring(l.raw.length),t.push(l);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(l.raw.length),t.push(l);return t}};const{defaults:un}=vt,{cleanUrl:pn,escape:fn}=Ht;var hn=class{constructor(e){this.options=e||un}code(e,t,n){const r=(t||"").match(/\S*/)[0];if(this.options.highlight){const t=this.options.highlight(e,r);null!=t&&t!==e&&(n=!0,e=t)}return r?'<pre><code class="'+this.options.langPrefix+fn(r,!0)+'">'+(n?e:fn(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:fn(e,!0))+"</code></pre>"}blockquote(e){return"<blockquote>\n"+e+"</blockquote>\n"}html(e){return e}heading(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"}hr(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}list(e,t,n){const r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}listitem(e){return"<li>"+e+"</li>\n"}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return"<p>"+e+"</p>\n"}table(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return"<tr>\n"+e+"</tr>\n"}tablecell(e,t){const n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"}strong(e){return"<strong>"+e+"</strong>"}em(e){return"<em>"+e+"</em>"}codespan(e){return"<code>"+e+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return"<del>"+e+"</del>"}link(e,t,n){if(null===(e=pn(this.options.sanitize,this.options.baseUrl,e)))return n;let r='<a href="'+fn(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>",r}image(e,t,n){if(null===(e=pn(this.options.sanitize,this.options.baseUrl,e)))return n;let r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">",r}text(e){return e}},gn=class{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}},dn=class{constructor(){this.seen={}}slug(e){let t=e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){const e=t;do{this.seen[e]++,t=e+"-"+this.seen[e]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t}};const{defaults:$n}=vt,{unescape:mn}=Ht;var kn=class e{constructor(e){this.options=e||$n,this.options.renderer=this.options.renderer||new hn,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new gn,this.slugger=new dn}static parse(t,n){return new e(n).parse(t)}parse(e,t=!0){let n,r,l,s,o,i,c,a,u,p,f,h,g,d,$,m,k,b,x="";const w=e.length;for(n=0;n<w;n++)switch(p=e[n],p.type){case"space":continue;case"hr":x+=this.renderer.hr();continue;case"heading":x+=this.renderer.heading(this.parseInline(p.tokens),p.depth,mn(this.parseInline(p.tokens,this.textRenderer)),this.slugger);continue;case"code":x+=this.renderer.code(p.text,p.lang,p.escaped);continue;case"table":for(a="",c="",s=p.header.length,r=0;r<s;r++)c+=this.renderer.tablecell(this.parseInline(p.tokens.header[r]),{header:!0,align:p.align[r]});for(a+=this.renderer.tablerow(c),u="",s=p.cells.length,r=0;r<s;r++){for(i=p.tokens.cells[r],c="",o=i.length,l=0;l<o;l++)c+=this.renderer.tablecell(this.parseInline(i[l]),{header:!1,align:p.align[l]});u+=this.renderer.tablerow(c)}x+=this.renderer.table(a,u);continue;case"blockquote":u=this.parse(p.tokens),x+=this.renderer.blockquote(u);continue;case"list":for(f=p.ordered,h=p.start,g=p.loose,s=p.items.length,u="",r=0;r<s;r++)$=p.items[r],m=$.checked,k=$.task,d="",$.task&&(b=this.renderer.checkbox(m),g?"text"===$.tokens[0].type?($.tokens[0].text=b+" "+$.tokens[0].text,$.tokens[0].tokens&&$.tokens[0].tokens.length>0&&"text"===$.tokens[0].tokens[0].type&&($.tokens[0].tokens[0].text=b+" "+$.tokens[0].tokens[0].text)):$.tokens.unshift({type:"text",text:b}):d+=b),d+=this.parse($.tokens,g),u+=this.renderer.listitem(d,k,m);x+=this.renderer.list(u,f,h);continue;case"html":x+=this.renderer.html(p.text);continue;case"paragraph":x+=this.renderer.paragraph(this.parseInline(p.tokens));continue;case"text":for(u=p.tokens?this.parseInline(p.tokens):p.text;n+1<w&&"text"===e[n+1].type;)p=e[++n],u+="\n"+(p.tokens?this.parseInline(p.tokens):p.text);x+=t?this.renderer.paragraph(u):u;continue;default:{const e='Token with "'+p.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return x}parseInline(e,t){t=t||this.renderer;let n,r,l="";const s=e.length;for(n=0;n<s;n++)switch(r=e[n],r.type){case"escape":l+=t.text(r.text);break;case"html":l+=t.html(r.text);break;case"link":l+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":l+=t.image(r.href,r.title,r.text);break;case"strong":l+=t.strong(this.parseInline(r.tokens,t));break;case"em":l+=t.em(this.parseInline(r.tokens,t));break;case"codespan":l+=t.codespan(r.text);break;case"br":l+=t.br();break;case"del":l+=t.del(this.parseInline(r.tokens,t));break;case"text":l+=t.text(r.text);break;default:{const e='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return l}};const{merge:bn,checkSanitizeDeprecation:xn,escape:wn}=Ht,{getDefaults:yn,changeDefaults:_n,defaults:zn}=vt;function vn(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(n||"function"==typeof t){n||(n=t,t=null),t=bn({},vn.defaults,t||{}),xn(t);const r=t.highlight;let l,s,o=0;try{l=an.lex(e,t)}catch(e){return n(e)}s=l.length;const i=function(e){if(e)return t.highlight=r,n(e);let s;try{s=kn.parse(l,t)}catch(t){e=t}return t.highlight=r,e?n(e):n(null,s)};if(!r||r.length<3)return i();if(delete t.highlight,!s)return i();for(;o<l.length;o++)!function(e){"code"!==e.type?--s||i():r(e.text,e.lang,(function(t,n){return t?i(t):null==n||n===e.text?--s||i():(e.text=n,e.escaped=!0,void(--s||i()))}))}(l[o])}else try{return t=bn({},vn.defaults,t||{}),xn(t),kn.parse(an.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||vn.defaults).silent)return"<p>An error occurred:</p><pre>"+wn(e.message+"",!0)+"</pre>";throw e}}function Sn(t){let n;const r=new zt({props:{tokens:t[0],renderers:t[1]}});return{c(){G(r.$$.fragment)},l(e){X(r.$$.fragment,e)},m(e,t){K(r,e,t),n=!0},p:e,i(e){n||(j(r.$$.fragment,e),n=!0)},o(e){H(r.$$.fragment,e),n=!1},d(e){Q(r,e)}}}vn.options=vn.setOptions=function(e){return bn(vn.defaults,e),_n(vn.defaults),vn},vn.getDefaults=yn,vn.defaults=zn,vn.use=function(e){const t=bn({},e);if(e.renderer){const n=vn.defaults.renderer||new hn;for(const t in e.renderer){const r=n[t];n[t]=(...l)=>{let s=e.renderer[t].apply(n,l);return!1===s&&(s=r.apply(n,l)),s}}t.renderer=n}if(e.tokenizer){const n=vn.defaults.tokenizer||new Vt;for(const t in e.tokenizer){const r=n[t];n[t]=(...l)=>{let s=e.tokenizer[t].apply(n,l);return!1===s&&(s=r.apply(n,l)),s}}t.tokenizer=n}vn.setOptions(t)},vn.Parser=kn,vn.parser=kn.parse,vn.Renderer=hn,vn.TextRenderer=gn,vn.Lexer=an,vn.lexer=an.lex,vn.Tokenizer=Vt,vn.Slugger=dn,vn.parse=vn;const An=new vn.Lexer,En={heading:class extends J{constructor(e){super(),Y(this,e,ie,oe,o,{depth:0,raw:1})}},paragraph:class extends J{constructor(e){super(),Y(this,e,ae,ce,o,{})}},text:class extends J{constructor(e){super(),Y(this,e,pe,ue,o,{})}},image:class extends J{constructor(e){super(),Y(this,e,he,fe,o,{href:0,title:1,text:2})}},link:class extends J{constructor(e){super(),Y(this,e,de,ge,o,{href:0,title:1})}},em:class extends J{constructor(e){super(),Y(this,e,me,$e,o,{})}},strong:class extends J{constructor(e){super(),Y(this,e,_e,ye,o,{})}},codespan:class extends J{constructor(e){super(),Y(this,e,we,xe,o,{})}},del:class extends J{constructor(e){super(),Y(this,e,be,ke,o,{})}},table:class extends J{constructor(e){super(),Y(this,e,ve,ze,o,{})}},tablehead:class extends J{constructor(e){super(),Y(this,e,Ae,Se,o,{})}},tablebody:class extends J{constructor(e){super(),Y(this,e,Re,Ee,o,{})}},tablerow:class extends J{constructor(e){super(),Y(this,e,Ne,Te,o,{})}},tablecell:class extends J{constructor(e){super(),Y(this,e,Ze,Oe,o,{header:0,align:1})}},list:class extends J{constructor(e){super(),Y(this,e,Pe,Le,o,{ordered:0,start:1})}},listitem:class extends J{constructor(e){super(),Y(this,e,Ue,Be,o,{})}},hr:class extends J{constructor(e){super(),Y(this,e,null,je,o,{})}},html:class extends J{constructor(e){super(),Y(this,e,Me,He,o,{text:0})}},blockquote:class extends J{constructor(e){super(),Y(this,e,Ge,Fe,o,{})}},code:class extends J{constructor(e){super(),Y(this,e,Ke,Xe,o,{lang:0})}}};function Rn(e,t,n){let{source:r=""}=t,{renderers:l={}}=t;const s=An.lex(r),o={...En,...l};return e.$set=e=>{"source"in e&&n(2,r=e.source),"renderers"in e&&n(3,l=e.renderers)},[s,o,r,l]}export default class extends J{constructor(e){super(),Y(this,e,Rn,Sn,o,{source:2,renderers:3})}}
//# sourceMappingURL=sveltemarkdown.es.js.map

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self)["svelte-markdown"]=t()}(this,(function(){"use strict";function e(){}function t(e,t){for(const n in t)e[n]=t[n];return e}function n(e){return e()}function r(){return Object.create(null)}function l(e){e.forEach(n)}function s(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function i(e,t,n,r){if(e){const l=c(e,t,n,r);return e[0](l)}}function c(e,n,r,l){return e[1]&&l?t(r.ctx.slice(),e[1](l(n))):r.ctx}function a(e,t,n,r){if(e[2]&&r){const l=e[2](r(n));if(void 0===t.dirty)return l;if("object"==typeof l){const e=[],n=Math.max(t.dirty.length,l.length);for(let r=0;r<n;r+=1)e[r]=t.dirty[r]|l[r];return e}return t.dirty|l}return t.dirty}function u(e,t){const n={};t=new Set(t);for(const r in e)t.has(r)||"$"===r[0]||(n[r]=e[r]);return n}function p(e,t,n){e.insertBefore(t,n||null)}function f(e){e.parentNode.removeChild(e)}function h(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function g(e){return document.createElement(e)}function d(e){return document.createTextNode(e)}function $(){return d(" ")}function m(){return d("")}function b(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function k(e){return Array.from(e.childNodes)}function x(e,t,n,r){for(let r=0;r<e.length;r+=1){const l=e[r];if(l.nodeName===t){let t=0;for(;t<l.attributes.length;){const e=l.attributes[t];n[e.name]?t++:l.removeAttribute(e.name)}return e.splice(r,1)[0]}}return r?function(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}(t):g(t)}function w(e,t){for(let n=0;n<e.length;n+=1){const r=e[n];if(3===r.nodeType)return r.data=""+t,e.splice(n,1)[0]}return d(t)}function y(e){return w(e," ")}function _(e,t){t=""+t,e.data!==t&&(e.data=t)}class z{constructor(e,t=null){this.e=g("div"),this.a=t,this.u(e)}m(e,t=null){for(let n=0;n<this.n.length;n+=1)p(e,this.n[n],t);this.t=e}u(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}p(e){this.d(),this.u(e),this.m(this.t,this.a)}d(){this.n.forEach(f)}}let v;function S(e){v=e}const A=[],E=[],R=[],T=[],N=Promise.resolve();let q=!1;function C(e){R.push(e)}let O=!1;const Z=new Set;function I(){if(!O){O=!0;do{for(let e=0;e<A.length;e+=1){const t=A[e];S(t),D(t.$$)}for(A.length=0;E.length;)E.pop()();for(let e=0;e<R.length;e+=1){const t=R[e];Z.has(t)||(Z.add(t),t())}R.length=0}while(A.length);for(;T.length;)T.pop()();q=!1,O=!1,Z.clear()}}function D(e){if(null!==e.fragment){e.update(),l(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(C)}}const L=new Set;let P;function B(){P={r:0,c:[],p:P}}function j(){P.r||l(P.c),P=P.p}function U(e,t){e&&e.i&&(L.delete(e),e.i(t))}function H(e,t,n,r){if(e&&e.o){if(L.has(e))return;L.add(e),P.c.push(()=>{L.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}}function M(e,t){const n={},r={},l={$$scope:1};let s=e.length;for(;s--;){const o=e[s],i=t[s];if(i){for(const e in o)e in i||(r[e]=1);for(const e in i)l[e]||(n[e]=i[e],l[e]=1);e[s]=i}else for(const e in o)l[e]=1}for(const e in r)e in n||(n[e]=void 0);return n}function F(e){return"object"==typeof e&&null!==e?e:{}}function G(e){e&&e.c()}function X(e,t){e&&e.l(t)}function K(e,t,r){const{fragment:o,on_mount:i,on_destroy:c,after_update:a}=e.$$;o&&o.m(t,r),C(()=>{const t=i.map(n).filter(s);c?c.push(...t):l(t),e.$$.on_mount=[]}),a.forEach(C)}function Q(e,t){const n=e.$$;null!==n.fragment&&(l(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function V(e,t){-1===e.$$.dirty[0]&&(A.push(e),q||(q=!0,N.then(I)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Y(t,n,s,o,i,c,a=[-1]){const u=v;S(t);const p=n.props||{},h=t.$$={fragment:null,ctx:null,props:c,update:e,not_equal:i,bound:r(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(u?u.$$.context:[]),callbacks:r(),dirty:a};let g=!1;if(h.ctx=s?s(t,p,(e,n,...r)=>{const l=r.length?r[0]:n;return h.ctx&&i(h.ctx[e],h.ctx[e]=l)&&(h.bound[e]&&h.bound[e](l),g&&V(t,e)),n}):[],h.update(),g=!0,l(h.before_update),h.fragment=!!o&&o(h.ctx),n.target){if(n.hydrate){const e=k(n.target);h.fragment&&h.fragment.l(e),e.forEach(f)}else h.fragment&&h.fragment.c();n.intro&&U(t.$$.fragment),K(t,n.target,n.anchor),I()}S(u)}class J{$destroy(){Q(this,1),this.$destroy=e}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(){}}function W(t){let n;return{c(){n=d(t[1])},l(e){n=w(e,t[1])},m(e,t){p(e,n,t)},p(e,t){2&t&&_(n,e[1])},i:e,o:e,d(e){e&&f(n)}}}function ee(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h6"),l&&l.c()},l(e){t=x(e,"H6",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function te(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h5"),l&&l.c()},l(e){t=x(e,"H5",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function ne(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h4"),l&&l.c()},l(e){t=x(e,"H4",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function re(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h3"),l&&l.c()},l(e){t=x(e,"H3",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function le(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h2"),l&&l.c()},l(e){t=x(e,"H2",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function se(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h1"),l&&l.c()},l(e){t=x(e,"H1",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function oe(e){let t,n,r,l;const s=[se,le,re,ne,te,ee,W],o=[];function i(e,t){return 1===e[0]?0:2===e[0]?1:3===e[0]?2:4===e[0]?3:5===e[0]?4:6===e[0]?5:6}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,[l]){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),j(),n=o[t],n||(n=o[t]=s[t](e),n.c()),U(n,1),n.m(r.parentNode,r))},i(e){l||(U(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function ie(e,t,n){let{depth:r}=t,{raw:l}=t,{$$slots:s={},$$scope:o}=t;return e.$set=e=>{"depth"in e&&n(0,r=e.depth),"raw"in e&&n(1,l=e.raw),"$$scope"in e&&n(2,o=e.$$scope)},[r,l,o,s]}function ce(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("p"),l&&l.c()},l(e){t=x(e,"P",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function ae(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function ue(e){let t;const n=e[1].default,r=i(n,e,e[0],null);return{c(){r&&r.c()},l(e){r&&r.l(e)},m(e,n){r&&r.m(e,n),t=!0},p(e,[t]){r&&r.p&&1&t&&r.p(c(n,e,e[0],null),a(n,e[0],t,null))},i(e){t||(U(r,e),t=!0)},o(e){H(r,e),t=!1},d(e){r&&r.d(e)}}}function pe(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function fe(t){let n,r;return{c(){n=g("img"),this.h()},l(e){n=x(e,"IMG",{src:!0,title:!0,alt:!0}),this.h()},h(){n.src!==(r=t[0])&&b(n,"src",r),b(n,"title",t[1]),b(n,"alt",t[2])},m(e,t){p(e,n,t)},p(e,[t]){1&t&&n.src!==(r=e[0])&&b(n,"src",r),2&t&&b(n,"title",e[1]),4&t&&b(n,"alt",e[2])},i:e,o:e,d(e){e&&f(n)}}}function he(e,t,n){let{href:r=""}=t,{title:l}=t,{text:s=""}=t;return e.$set=e=>{"href"in e&&n(0,r=e.href),"title"in e&&n(1,l=e.title),"text"in e&&n(2,s=e.text)},[r,l,s]}function ge(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("a"),l&&l.c(),this.h()},l(e){t=x(e,"A",{href:!0,title:!0});var n=k(t);l&&l.l(n),n.forEach(f),this.h()},h(){b(t,"href",e[0]),b(t,"title",e[1])},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[s]){l&&l.p&&4&s&&l.p(c(r,e,e[2],null),a(r,e[2],s,null)),(!n||1&s)&&b(t,"href",e[0]),(!n||2&s)&&b(t,"title",e[1])},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function de(e,t,n){let{href:r=""}=t,{title:l}=t,{$$slots:s={},$$scope:o}=t;return e.$set=e=>{"href"in e&&n(0,r=e.href),"title"in e&&n(1,l=e.title),"$$scope"in e&&n(2,o=e.$$scope)},[r,l,o,s]}function $e(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("em"),l&&l.c()},l(e){t=x(e,"EM",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function me(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function be(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("del"),l&&l.c()},l(e){t=x(e,"DEL",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function ke(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function xe(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("codespan"),l&&l.c()},l(e){t=x(e,"CODESPAN",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function we(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function ye(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("strong"),l&&l.c()},l(e){t=x(e,"STRONG",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function _e(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function ze(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("table"),l&&l.c()},l(e){t=x(e,"TABLE",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function ve(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function Se(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("thead"),l&&l.c()},l(e){t=x(e,"THEAD",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Ae(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function Ee(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("tbody"),l&&l.c()},l(e){t=x(e,"TBODY",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Re(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function Te(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("tr"),l&&l.c()},l(e){t=x(e,"TR",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Ne(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function qe(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("td"),l&&l.c()},l(e){t=x(e,"TD",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Ce(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("th"),l&&l.c()},l(e){t=x(e,"TH",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Oe(e){let t,n,r,l;const s=[Ce,qe],o=[];function i(e,t){return e[0]?0:1}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,[l]){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),j(),n=o[t],n||(n=o[t]=s[t](e),n.c()),U(n,1),n.m(r.parentNode,r))},i(e){l||(U(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function Ze(e,t,n){let{header:r}=t,{align:l}=t,{$$slots:s={},$$scope:o}=t;return e.$set=e=>{"header"in e&&n(0,r=e.header),"align"in e&&n(1,l=e.align),"$$scope"in e&&n(2,o=e.$$scope)},[r,l,o,s]}function Ie(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("ul"),l&&l.c()},l(e){t=x(e,"UL",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function De(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("ol"),l&&l.c(),this.h()},l(e){t=x(e,"OL",{start:!0});var n=k(t);l&&l.l(n),n.forEach(f),this.h()},h(){b(t,"start",e[1])},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,s){l&&l.p&&4&s&&l.p(c(r,e,e[2],null),a(r,e[2],s,null)),(!n||2&s)&&b(t,"start",e[1])},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Le(e){let t,n,r,l;const s=[De,Ie],o=[];function i(e,t){return e[0]?0:1}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,[l]){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),j(),n=o[t],n||(n=o[t]=s[t](e),n.c()),U(n,1),n.m(r.parentNode,r))},i(e){l||(U(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function Pe(e,t,n){let{ordered:r}=t,{start:l}=t,{$$slots:s={},$$scope:o}=t;return e.$set=e=>{"ordered"in e&&n(0,r=e.ordered),"start"in e&&n(1,l=e.start),"$$scope"in e&&n(2,o=e.$$scope)},[r,l,o,s]}function Be(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("li"),l&&l.c()},l(e){t=x(e,"LI",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function je(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function Ue(t){let n;return{c(){n=g("hr")},l(e){n=x(e,"HR",{})},m(e,t){p(e,n,t)},p:e,i:e,o:e,d(e){e&&f(n)}}}function He(t){let n;return{c(){this.h()},l(e){this.h()},h(){n=new z(t[0],null)},m(e,t){n.m(e,t)},p(e,[t]){1&t&&n.p(e[0])},i:e,o:e,d(e){e&&n.d()}}}function Me(e,t,n){let{text:r}=t;return e.$set=e=>{"text"in e&&n(0,r=e.text)},[r]}function Fe(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("blockquote"),l&&l.c()},l(e){t=x(e,"BLOCKQUOTE",{});var n=k(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Ge(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function Xe(e){let t,n,r;const l=e[2].default,s=i(l,e,e[1],null);return{c(){t=g("pre"),n=g("code"),s&&s.c(),this.h()},l(e){t=x(e,"PRE",{class:!0});var r=k(t);n=x(r,"CODE",{});var l=k(n);s&&s.l(l),l.forEach(f),r.forEach(f),this.h()},h(){b(t,"class",e[0])},m(e,l){p(e,t,l),function(e,t){e.appendChild(t)}(t,n),s&&s.m(n,null),r=!0},p(e,[n]){s&&s.p&&2&n&&s.p(c(l,e,e[1],null),a(l,e[1],n,null)),(!r||1&n)&&b(t,"class",e[0])},i(e){r||(U(s,e),r=!0)},o(e){H(s,e),r=!1},d(e){e&&f(t),s&&s.d(e)}}}function Ke(e,t,n){let{lang:r}=t,{$$slots:l={},$$scope:s}=t;return e.$set=e=>{"lang"in e&&n(0,r=e.lang),"$$scope"in e&&n(1,s=e.$$scope)},[r,s,l]}function Qe(e,t,n){const r=e.slice();return r[14]=t[n],r}function Ve(e,t,n){const r=e.slice();return r[10]=t[n],r[12]=n,r}function Ye(e,t,n){const r=e.slice();return r[7]=t[n],r}function Je(e,t,n){const r=e.slice();return r[10]=t[n],r[12]=n,r}function We(e,t,n){const r=e.slice();return r[4]=t[n],r}function et(e){let t,n,r,l;const s=[lt,rt,nt],o=[];function i(e,t){return"table"===e[0]?0:"list"===e[0]?1:2}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,l){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),j(),n=o[t],n||(n=o[t]=s[t](e),n.c()),U(n,1),n.m(r.parentNode,r))},i(e){l||(U(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function tt(e){let t,n,r=e[1],l=[];for(let t=0;t<r.length;t+=1)l[t]=wt(We(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=m()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=m()},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(6&n){let o;for(r=e[1],o=0;o<r.length;o+=1){const s=We(e,r,o);l[o]?(l[o].p(s,n),U(l[o],1)):(l[o]=wt(s),l[o].c(),U(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);j()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)U(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function nt(e){let n,r;const l=[e[3]];var s=e[2][e[0]];function o(e){let n={$$slots:{default:[it]},$$scope:{ctx:e}};for(let e=0;e<l.length;e+=1)n=t(n,l[e]);return{props:n}}if(s)var i=new s(o(e));return{c(){i&&G(i.$$.fragment),n=m()},l(e){i&&X(i.$$.fragment,e),n=m()},m(e,t){i&&K(i,e,t),p(e,n,t),r=!0},p(e,t){const r=8&t?M(l,[F(e[3])]):{};if(131078&t&&(r.$$scope={dirty:t,ctx:e}),s!==(s=e[2][e[0]])){if(i){B();const e=i;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}s?(G((i=new s(o(e))).$$.fragment),U(i.$$.fragment,1),K(i,n.parentNode,n)):i=null}else s&&i.$set(r)},i(e){r||(i&&U(i.$$.fragment,e),r=!0)},o(e){i&&H(i.$$.fragment,e),r=!1},d(e){e&&f(n),i&&Q(i,e)}}}function rt(e){let n,r;const l=[e[3]];var s=e[2].list;function o(e){let n={$$slots:{default:[ut]},$$scope:{ctx:e}};for(let e=0;e<l.length;e+=1)n=t(n,l[e]);return{props:n}}if(s)var i=new s(o(e));return{c(){i&&G(i.$$.fragment),n=m()},l(e){i&&X(i.$$.fragment,e),n=m()},m(e,t){i&&K(i,e,t),p(e,n,t),r=!0},p(e,t){const r=8&t?M(l,[F(e[3])]):{};if(131076&t&&(r.$$scope={dirty:t,ctx:e}),s!==(s=e[2].list)){if(i){B();const e=i;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}s?(G((i=new s(o(e))).$$.fragment),U(i.$$.fragment,1),K(i,n.parentNode,n)):i=null}else s&&i.$set(r)},i(e){r||(i&&U(i.$$.fragment,e),r=!0)},o(e){i&&H(i.$$.fragment,e),r=!1},d(e){e&&f(n),i&&Q(i,e)}}}function lt(e){let t,n;var r=e[2].table;function l(e){return{props:{$$slots:{default:[xt]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].table)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}r?(G((s=new r(l(e))).$$.fragment),U(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&U(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function st(t){let n,r=t[3].text+"";return{c(){n=d(r)},l(e){n=w(e,r)},m(e,t){p(e,n,t)},p(e,t){8&t&&r!==(r=e[3].text+"")&&_(n,r)},i:e,o:e,d(e){e&&f(n)}}}function ot(e){let t;const n=new zt({props:{tokens:e[1],renderers:e[2]}});return{c(){G(n.$$.fragment)},l(e){X(n.$$.fragment,e)},m(e,r){K(n,e,r),t=!0},p(e,t){const r={};2&t&&(r.tokens=e[1]),4&t&&(r.renderers=e[2]),n.$set(r)},i(e){t||(U(n.$$.fragment,e),t=!0)},o(e){H(n.$$.fragment,e),t=!1},d(e){Q(n,e)}}}function it(e){let t,n,r,l;const s=[ot,st],o=[];function i(e,t){return e[1]?0:1}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,l){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),j(),n=o[t],n||(n=o[t]=s[t](e),n.c()),U(n,1),n.m(r.parentNode,r))},i(e){l||(U(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function ct(e){let t,n;const r=new zt({props:{tokens:e[14].tokens,renderers:e[2]}});return{c(){G(r.$$.fragment),t=$()},l(e){X(r.$$.fragment,e),t=y(e)},m(e,l){K(r,e,l),p(e,t,l),n=!0},p(e,t){const n={};8&t&&(n.tokens=e[14].tokens),4&t&&(n.renderers=e[2]),r.$set(n)},i(e){n||(U(r.$$.fragment,e),n=!0)},o(e){H(r.$$.fragment,e),n=!1},d(e){Q(r,e),e&&f(t)}}}function at(e){let n,r;const l=[e[3]];var s=e[2].listitem;function o(e){let n={$$slots:{default:[ct]},$$scope:{ctx:e}};for(let e=0;e<l.length;e+=1)n=t(n,l[e]);return{props:n}}if(s)var i=new s(o(e));return{c(){i&&G(i.$$.fragment),n=m()},l(e){i&&X(i.$$.fragment,e),n=m()},m(e,t){i&&K(i,e,t),p(e,n,t),r=!0},p(e,t){const r=8&t?M(l,[F(e[3])]):{};if(131076&t&&(r.$$scope={dirty:t,ctx:e}),s!==(s=e[2].listitem)){if(i){B();const e=i;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}s?(G((i=new s(o(e))).$$.fragment),U(i.$$.fragment,1),K(i,n.parentNode,n)):i=null}else s&&i.$set(r)},i(e){r||(i&&U(i.$$.fragment,e),r=!0)},o(e){i&&H(i.$$.fragment,e),r=!1},d(e){e&&f(n),i&&Q(i,e)}}}function ut(e){let t,n,r=e[3].items,l=[];for(let t=0;t<r.length;t+=1)l[t]=at(Qe(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=m()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=m()},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(12&n){let o;for(r=e[3].items,o=0;o<r.length;o+=1){const s=Qe(e,r,o);l[o]?(l[o].p(s,n),U(l[o],1)):(l[o]=at(s),l[o].c(),U(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);j()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)U(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function pt(e){let t,n;const r=new zt({props:{tokens:e[10],renderers:e[2]}});return{c(){G(r.$$.fragment),t=$()},l(e){X(r.$$.fragment,e),t=y(e)},m(e,l){K(r,e,l),p(e,t,l),n=!0},p(e,t){const n={};2&t&&(n.tokens=e[10]),4&t&&(n.renderers=e[2]),r.$set(n)},i(e){n||(U(r.$$.fragment,e),n=!0)},o(e){H(r.$$.fragment,e),n=!1},d(e){Q(r,e),e&&f(t)}}}function ft(e){let t,n;var r=e[2].tablecell;function l(e){return{props:{header:!0,align:e[3].align[e[12]]||"center",$$slots:{default:[pt]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(8&n&&(o.align=e[3].align[e[12]]||"center"),131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].tablecell)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}r?(G((s=new r(l(e))).$$.fragment),U(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&U(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function ht(e){let t,n,r=e[1].header,l=[];for(let t=0;t<r.length;t+=1)l[t]=ft(Je(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=m()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=m()},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(14&n){let o;for(r=e[1].header,o=0;o<r.length;o+=1){const s=Je(e,r,o);l[o]?(l[o].p(s,n),U(l[o],1)):(l[o]=ft(s),l[o].c(),U(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);j()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)U(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function gt(e){let t,n;var r=e[2].tablerow;function l(e){return{props:{$$slots:{default:[ht]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].tablerow)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}r?(G((s=new r(l(e))).$$.fragment),U(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&U(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function dt(e){let t;const n=new zt({props:{tokens:e[10],renderers:e[2]}});return{c(){G(n.$$.fragment)},l(e){X(n.$$.fragment,e)},m(e,r){K(n,e,r),t=!0},p(e,t){const r={};2&t&&(r.tokens=e[10]),4&t&&(r.renderers=e[2]),n.$set(r)},i(e){t||(U(n.$$.fragment,e),t=!0)},o(e){H(n.$$.fragment,e),t=!1},d(e){Q(n,e)}}}function $t(e){let t,n;var r=e[2].tablecell;function l(e){return{props:{header:!1,align:e[3].align[e[12]]||"center",$$slots:{default:[dt]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(8&n&&(o.align=e[3].align[e[12]]||"center"),131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].tablecell)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}r?(G((s=new r(l(e))).$$.fragment),U(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&U(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function mt(e){let t,n,r=e[7],l=[];for(let t=0;t<r.length;t+=1)l[t]=$t(Ve(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=$()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=y(e)},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(14&n){let o;for(r=e[7],o=0;o<r.length;o+=1){const s=Ve(e,r,o);l[o]?(l[o].p(s,n),U(l[o],1)):(l[o]=$t(s),l[o].c(),U(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);j()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)U(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function bt(e){let t,n;var r=e[2].tablerow;function l(e){return{props:{$$slots:{default:[mt]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].tablerow)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}r?(G((s=new r(l(e))).$$.fragment),U(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&U(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function kt(e){let t,n,r=e[1].cells,l=[];for(let t=0;t<r.length;t+=1)l[t]=bt(Ye(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=m()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=m()},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(14&n){let o;for(r=e[1].cells,o=0;o<r.length;o+=1){const s=Ye(e,r,o);l[o]?(l[o].p(s,n),U(l[o],1)):(l[o]=bt(s),l[o].c(),U(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);j()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)U(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function xt(e){let t,n,r;var l=e[2].tablehead;function s(e){return{props:{$$slots:{default:[gt]},$$scope:{ctx:e}}}}if(l)var o=new l(s(e));var i=e[2].tablebody;function c(e){return{props:{$$slots:{default:[kt]},$$scope:{ctx:e}}}}if(i)var a=new i(c(e));return{c(){o&&G(o.$$.fragment),t=$(),a&&G(a.$$.fragment),n=m()},l(e){o&&X(o.$$.fragment,e),t=y(e),a&&X(a.$$.fragment,e),n=m()},m(e,l){o&&K(o,e,l),p(e,t,l),a&&K(a,e,l),p(e,n,l),r=!0},p(e,r){const u={};if(131078&r&&(u.$$scope={dirty:r,ctx:e}),l!==(l=e[2].tablehead)){if(o){B();const e=o;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}l?(G((o=new l(s(e))).$$.fragment),U(o.$$.fragment,1),K(o,t.parentNode,t)):o=null}else l&&o.$set(u);const p={};if(131078&r&&(p.$$scope={dirty:r,ctx:e}),i!==(i=e[2].tablebody)){if(a){B();const e=a;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}i?(G((a=new i(c(e))).$$.fragment),U(a.$$.fragment,1),K(a,n.parentNode,n)):a=null}else i&&a.$set(p)},i(e){r||(o&&U(o.$$.fragment,e),a&&U(a.$$.fragment,e),r=!0)},o(e){o&&H(o.$$.fragment,e),a&&H(a.$$.fragment,e),r=!1},d(e){o&&Q(o,e),e&&f(t),e&&f(n),a&&Q(a,e)}}}function wt(e){let n;const r=[e[4],{renderers:e[2]}];let l={};for(let e=0;e<r.length;e+=1)l=t(l,r[e]);const s=new zt({props:l});return{c(){G(s.$$.fragment)},l(e){X(s.$$.fragment,e)},m(e,t){K(s,e,t),n=!0},p(e,t){const n=6&t?M(r,[2&t&&F(e[4]),4&t&&{renderers:e[2]}]):{};s.$set(n)},i(e){n||(U(s.$$.fragment,e),n=!0)},o(e){H(s.$$.fragment,e),n=!1},d(e){Q(s,e)}}}function yt(e){let t,n,r,l;const s=[tt,et],o=[];function i(e,t){return e[0]?e[2][e[0]]?1:-1:0}return~(t=i(e))&&(n=o[t]=s[t](e)),{c(){n&&n.c(),r=m()},l(e){n&&n.l(e),r=m()},m(e,n){~t&&o[t].m(e,n),p(e,r,n),l=!0},p(e,[l]){let c=t;t=i(e),t===c?~t&&o[t].p(e,l):(n&&(B(),H(o[c],1,1,()=>{o[c]=null}),j()),~t?(n=o[t],n||(n=o[t]=s[t](e),n.c()),U(n,1),n.m(r.parentNode,r)):n=null)},i(e){l||(U(n),l=!0)},o(e){H(n),l=!1},d(e){~t&&o[t].d(e),e&&f(r)}}}function _t(e,n,r){const l=["type","tokens","renderers"];let s=u(n,l),{type:o}=n,{tokens:i}=n,{renderers:c}=n;return console.log(o),e.$set=e=>{n=t(t({},n),function(e){const t={};for(const n in e)"$"!==n[0]&&(t[n]=e[n]);return t}(e)),r(3,s=u(n,l)),"type"in e&&r(0,o=e.type),"tokens"in e&&r(1,i=e.tokens),"renderers"in e&&r(2,c=e.renderers)},[o,i,c,s]}class zt extends J{constructor(e){super(),Y(this,e,_t,yt,o,{type:0,tokens:1,renderers:2})}}var vt=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,xhtml:!1}}e.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,xhtml:!1},getDefaults:t,changeDefaults:function(t){e.exports.defaults=t}}}));vt.defaults,vt.getDefaults,vt.changeDefaults;const St=/[&<>"']/,At=/[&<>"']/g,Et=/[<>"']|&(?!#?\w+;)/,Rt=/[<>"']|&(?!#?\w+;)/g,Tt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Nt=e=>Tt[e];const qt=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function Ct(e){return e.replace(qt,(e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")}const Ot=/(^|[^\[])\^/g;const Zt=/[^\w:]/g,It=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;const Dt={},Lt=/^[^:]+:\/*[^/]*$/,Pt=/^([^:]+:)[\s\S]*$/,Bt=/^([^:]+:\/*[^/]*)[\s\S]*$/;function jt(e,t){Dt[" "+e]||(Lt.test(e)?Dt[" "+e]=e+"/":Dt[" "+e]=Ut(e,"/",!0));const n=-1===(e=Dt[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(Pt,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(Bt,"$1")+t:e+t}function Ut(e,t,n){const r=e.length;if(0===r)return"";let l=0;for(;l<r;){const s=e.charAt(r-l-1);if(s!==t||n){if(s===t||!n)break;l++}else l++}return e.substr(0,r-l)}var Ht={escape:function(e,t){if(t){if(St.test(e))return e.replace(At,Nt)}else if(Et.test(e))return e.replace(Rt,Nt);return e},unescape:Ct,edit:function(e,t){e=e.source||e,t=t||"";const n={replace:(t,r)=>(r=(r=r.source||r).replace(Ot,"$1"),e=e.replace(t,r),n),getRegex:()=>new RegExp(e,t)};return n},cleanUrl:function(e,t,n){if(e){let e;try{e=decodeURIComponent(Ct(n)).replace(Zt,"").toLowerCase()}catch(e){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!It.test(n)&&(n=jt(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n},resolveUrl:jt,noopTest:{exec:function(){}},merge:function(e){let t,n,r=1;for(;r<arguments.length;r++)for(n in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},splitCells:function(e,t){const n=e.replace(/\|/g,(e,t,n)=>{let r=!1,l=t;for(;--l>=0&&"\\"===n[l];)r=!r;return r?"|":" |"}).split(/ \|/);let r=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n},rtrim:Ut,findClosingBracket:function(e,t){if(-1===e.indexOf(t[1]))return-1;const n=e.length;let r=0,l=0;for(;l<n;l++)if("\\"===e[l])l++;else if(e[l]===t[0])r++;else if(e[l]===t[1]&&(r--,r<0))return l;return-1},checkSanitizeDeprecation:function(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}};const{defaults:Mt}=vt,{rtrim:Ft,splitCells:Gt,escape:Xt,findClosingBracket:Kt}=Ht;function Qt(e,t,n){const r=t.href,l=t.title?Xt(t.title):null;return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:r,title:l,text:e[1]}:{type:"image",raw:n,text:Xt(e[1]),href:r,title:l}}var Vt=class{constructor(e){this.options=e||Mt}space(e){const t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}}code(e,t){const n=this.rules.block.code.exec(e);if(n){const e=t[t.length-1];if(e&&"paragraph"===e.type)return t.pop(),e.text+="\n"+n[0].trimRight(),e.raw+="\n"+n[0],e;{const e=n[0].replace(/^ {4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?e:Ft(e,"\n")}}}}fences(e){const t=this.rules.block.fences.exec(e);if(t)return{type:"code",raw:t[0],lang:t[2]?t[2].trim():t[2],text:t[3]||""}}heading(e){const t=this.rules.block.heading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}}nptable(e){const t=this.rules.block.nptable.exec(e);if(t){const e={type:"table",header:Gt(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(e.header.length===e.align.length){let t,n=e.align.length;for(t=0;t<n;t++)/^ *-+: *$/.test(e.align[t])?e.align[t]="right":/^ *:-+: *$/.test(e.align[t])?e.align[t]="center":/^ *:-+ *$/.test(e.align[t])?e.align[t]="left":e.align[t]=null;for(n=e.cells.length,t=0;t<n;t++)e.cells[t]=Gt(e.cells[t],e.header.length);return e}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],text:e}}}list(e){const t=this.rules.block.list.exec(e);if(t){let e=t[0];const n=t[2],r=n.length>1,l={type:"list",raw:e,ordered:r,start:r?+n:"",loose:!1,items:[]},s=t[0].match(this.rules.block.item);let o,i,c,a,u,p,f,h=!1;const g=s.length;for(let t=0;t<g;t++)o=s[t],e=o,i=o.length,o=o.replace(/^ *([*+-]|\d+\.) */,""),~o.indexOf("\n ")&&(i-=o.length,o=this.options.pedantic?o.replace(/^ {1,4}/gm,""):o.replace(new RegExp("^ {1,"+i+"}","gm"),"")),t!==g-1&&(c=this.rules.block.bullet.exec(s[t+1])[0],(n.length>1?1===c.length:c.length>1||this.options.smartLists&&c!==n)&&(a=s.slice(t+1).join("\n"),l.raw=l.raw.substring(0,l.raw.length-a.length),t=g-1)),u=h||/\n\n(?!\s*$)/.test(o),t!==g-1&&(h="\n"===o.charAt(o.length-1),u||(u=h)),u&&(l.loose=!0),p=/^\[[ xX]\] /.test(o),f=void 0,p&&(f=" "!==o[1],o=o.replace(/^\[[ xX]\] +/,"")),l.items.push({raw:e,task:p,checked:f,loose:u,text:o});return l}}html(e){const t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):Xt(t[0]):t[0]}}def(e){const t=this.rules.block.def.exec(e);if(t){return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}}}table(e){const t=this.rules.block.table.exec(e);if(t){const e={type:"table",header:Gt(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(e.header.length===e.align.length){e.raw=t[0];let n,r=e.align.length;for(n=0;n<r;n++)/^ *-+: *$/.test(e.align[n])?e.align[n]="right":/^ *:-+: *$/.test(e.align[n])?e.align[n]="center":/^ *:-+ *$/.test(e.align[n])?e.align[n]="left":e.align[n]=null;for(r=e.cells.length,n=0;n<r;n++)e.cells[n]=Gt(e.cells[n].replace(/^ *\| *| *\| *$/g,""),e.header.length);return e}}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1]}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t)return{type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1]}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0]}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:Xt(t[1])}}tag(e,t,n){const r=this.rules.inline.tag.exec(e);if(r)return!t&&/^<a /i.test(r[0])?t=!0:t&&/^<\/a>/i.test(r[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):Xt(r[0]):r[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=Kt(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}let n=t[2],r="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e?(n=e[1],r=e[3]):r=""}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim().replace(/^<([\s\S]*)>$/,"$1"),Qt(t,{href:n?n.replace(this.rules.inline._escapes,"$1"):n,title:r?r.replace(this.rules.inline._escapes,"$1"):r},t[0])}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=(n[2]||n[1]).replace(/\s+/g," ");if(e=t[e.toLowerCase()],!e||!e.href){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return Qt(n,e,n[0])}}strong(e){const t=this.rules.inline.strong.exec(e);if(t)return{type:"strong",raw:t[0],text:t[4]||t[3]||t[2]||t[1]}}em(e){const t=this.rules.inline.em.exec(e);if(t)return{type:"em",raw:t[0],text:t[6]||t[5]||t[4]||t[3]||t[2]||t[1]}}codespan(e){const t=this.rules.inline.code.exec(e);if(t)return{type:"codespan",raw:t[0],text:Xt(t[2].trim(),!0)}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[1]}}autolink(e,t){const n=this.rules.inline.autolink.exec(e);if(n){let e,r;return"@"===n[2]?(e=Xt(this.options.mangle?t(n[1]):n[1]),r="mailto:"+e):(e=Xt(n[1]),r=e),{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let e,r;if("@"===n[2])e=Xt(this.options.mangle?t(n[0]):n[0]),r="mailto:"+e;else{let t;do{t=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(t!==n[0]);e=Xt(n[0]),r="www."===n[1]?"http://"+e:e}return{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t,n){const r=this.rules.inline.text.exec(e);if(r){let e;return e=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):Xt(r[0]):r[0]:Xt(this.options.smartypants?n(r[0]):r[0]),{type:"text",raw:r[0],text:e}}}};const{noopTest:Yt,edit:Jt,merge:Wt}=Ht,en={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\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{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:Yt,table:Yt,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};en.def=Jt(en.def).replace("label",en._label).replace("title",en._title).getRegex(),en.bullet=/(?:[*+-]|\d{1,9}\.)/,en.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,en.item=Jt(en.item,"gm").replace(/bull/g,en.bullet).getRegex(),en.list=Jt(en.list).replace(/bull/g,en.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+en.def.source+")").getRegex(),en._tag="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|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",en._comment=/<!--(?!-?>)[\s\S]*?-->/,en.html=Jt(en.html,"i").replace("comment",en._comment).replace("tag",en._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),en.paragraph=Jt(en._paragraph).replace("hr",en.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",en._tag).getRegex(),en.blockquote=Jt(en.blockquote).replace("paragraph",en.paragraph).getRegex(),en.normal=Wt({},en),en.gfm=Wt({},en.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),en.gfm.nptable=Jt(en.gfm.nptable).replace("hr",en.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",en._tag).getRegex(),en.gfm.table=Jt(en.gfm.table).replace("hr",en.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",en._tag).getRegex(),en.pedantic=Wt({},en.normal,{html:Jt("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",en._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]+?) *(?:#+ *)?(?:\n+|$)/,fences:Yt,paragraph:Jt(en.normal._paragraph).replace("hr",en.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",en.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const tn={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Yt,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^_([^\s_<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s*<\[])\*(?!\*)|^\*([^\s<"][\s\S]*?[^\s\[\*])\*(?![\]`punctuation])|^\*([^\s*"<\[][\s\S]*[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Yt,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,_punctuation:"!\"#$%&'()*+\\-./:;<=>?@\\[^_{|}~"};tn.em=Jt(tn.em).replace(/punctuation/g,tn._punctuation).getRegex(),tn._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,tn._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,tn._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])?)+(?![-_])/,tn.autolink=Jt(tn.autolink).replace("scheme",tn._scheme).replace("email",tn._email).getRegex(),tn._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,tn.tag=Jt(tn.tag).replace("comment",en._comment).replace("attribute",tn._attribute).getRegex(),tn._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,tn._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,tn._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,tn.link=Jt(tn.link).replace("label",tn._label).replace("href",tn._href).replace("title",tn._title).getRegex(),tn.reflink=Jt(tn.reflink).replace("label",tn._label).getRegex(),tn.normal=Wt({},tn),tn.pedantic=Wt({},tn.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:Jt(/^!?\[(label)\]\((.*?)\)/).replace("label",tn._label).getRegex(),reflink:Jt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",tn._label).getRegex()}),tn.gfm=Wt({},tn.normal,{escape:Jt(tn.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),tn.gfm.url=Jt(tn.gfm.url,"i").replace("email",tn.gfm._extended_email).getRegex(),tn.breaks=Wt({},tn.gfm,{br:Jt(tn.br).replace("{2,}","*").getRegex(),text:Jt(tn.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var nn={block:en,inline:tn};const{defaults:rn}=vt,{block:ln,inline:sn}=nn;function on(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function cn(e){let t,n,r="";const l=e.length;for(t=0;t<l;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}var an=class e{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||rn,this.options.tokenizer=this.options.tokenizer||new Vt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;const t={block:ln.normal,inline:sn.normal};this.options.pedantic?(t.block=ln.pedantic,t.inline=sn.pedantic):this.options.gfm&&(t.block=ln.gfm,this.options.breaks?t.inline=sn.breaks:t.inline=sn.gfm),this.tokenizer.rules=t}static get rules(){return{block:ln,inline:sn}}static lex(t,n){return new e(n).lex(t)}lex(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens}blockTokens(e,t=[],n=!0){let r,l,s;for(e=e.replace(/^ +$/gm,"");e;)if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),r.type&&t.push(r);else if(r=this.tokenizer.code(e,t))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.nptable(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),r.tokens=this.blockTokens(r.text,[],n),t.push(r);else if(r=this.tokenizer.list(e)){for(e=e.substring(r.raw.length),s=r.items.length,l=0;l<s;l++)r.items[l].tokens=this.blockTokens(r.items[l].text,[],!1);t.push(r)}else if(r=this.tokenizer.html(e))e=e.substring(r.raw.length),t.push(r);else if(n&&(r=this.tokenizer.def(e)))e=e.substring(r.raw.length),this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});else if(r=this.tokenizer.table(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.lheading(e))e=e.substring(r.raw.length),t.push(r);else if(n&&(r=this.tokenizer.paragraph(e)))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.text(e))e=e.substring(r.raw.length),t.push(r);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}return t}inline(e){let t,n,r,l,s,o;const i=e.length;for(t=0;t<i;t++)switch(o=e[t],o.type){case"paragraph":case"text":case"heading":o.tokens=[],this.inlineTokens(o.text,o.tokens);break;case"table":for(o.tokens={header:[],cells:[]},l=o.header.length,n=0;n<l;n++)o.tokens.header[n]=[],this.inlineTokens(o.header[n],o.tokens.header[n]);for(l=o.cells.length,n=0;n<l;n++)for(s=o.cells[n],o.tokens.cells[n]=[],r=0;r<s.length;r++)o.tokens.cells[n][r]=[],this.inlineTokens(s[r],o.tokens.cells[n][r]);break;case"blockquote":this.inline(o.tokens);break;case"list":for(l=o.items.length,n=0;n<l;n++)this.inline(o.items[n].tokens)}return e}inlineTokens(e,t=[],n=!1,r=!1){let l;for(;e;)if(l=this.tokenizer.escape(e))e=e.substring(l.raw.length),t.push(l);else if(l=this.tokenizer.tag(e,n,r))e=e.substring(l.raw.length),n=l.inLink,r=l.inRawBlock,t.push(l);else if(l=this.tokenizer.link(e))e=e.substring(l.raw.length),"link"===l.type&&(l.tokens=this.inlineTokens(l.text,[],!0,r)),t.push(l);else if(l=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(l.raw.length),"link"===l.type&&(l.tokens=this.inlineTokens(l.text,[],!0,r)),t.push(l);else if(l=this.tokenizer.strong(e))e=e.substring(l.raw.length),l.tokens=this.inlineTokens(l.text,[],n,r),t.push(l);else if(l=this.tokenizer.em(e))e=e.substring(l.raw.length),l.tokens=this.inlineTokens(l.text,[],n,r),t.push(l);else if(l=this.tokenizer.codespan(e))e=e.substring(l.raw.length),t.push(l);else if(l=this.tokenizer.br(e))e=e.substring(l.raw.length),t.push(l);else if(l=this.tokenizer.del(e))e=e.substring(l.raw.length),l.tokens=this.inlineTokens(l.text,[],n,r),t.push(l);else if(l=this.tokenizer.autolink(e,cn))e=e.substring(l.raw.length),t.push(l);else if(n||!(l=this.tokenizer.url(e,cn))){if(l=this.tokenizer.inlineText(e,r,on))e=e.substring(l.raw.length),t.push(l);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(l.raw.length),t.push(l);return t}};const{defaults:un}=vt,{cleanUrl:pn,escape:fn}=Ht;var hn=class{constructor(e){this.options=e||un}code(e,t,n){const r=(t||"").match(/\S*/)[0];if(this.options.highlight){const t=this.options.highlight(e,r);null!=t&&t!==e&&(n=!0,e=t)}return r?'<pre><code class="'+this.options.langPrefix+fn(r,!0)+'">'+(n?e:fn(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:fn(e,!0))+"</code></pre>"}blockquote(e){return"<blockquote>\n"+e+"</blockquote>\n"}html(e){return e}heading(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"}hr(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}list(e,t,n){const r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}listitem(e){return"<li>"+e+"</li>\n"}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return"<p>"+e+"</p>\n"}table(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return"<tr>\n"+e+"</tr>\n"}tablecell(e,t){const n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"}strong(e){return"<strong>"+e+"</strong>"}em(e){return"<em>"+e+"</em>"}codespan(e){return"<code>"+e+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return"<del>"+e+"</del>"}link(e,t,n){if(null===(e=pn(this.options.sanitize,this.options.baseUrl,e)))return n;let r='<a href="'+fn(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>",r}image(e,t,n){if(null===(e=pn(this.options.sanitize,this.options.baseUrl,e)))return n;let r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">",r}text(e){return e}},gn=class{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}},dn=class{constructor(){this.seen={}}slug(e){let t=e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){const e=t;do{this.seen[e]++,t=e+"-"+this.seen[e]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t}};const{defaults:$n}=vt,{unescape:mn}=Ht;var bn=class e{constructor(e){this.options=e||$n,this.options.renderer=this.options.renderer||new hn,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new gn,this.slugger=new dn}static parse(t,n){return new e(n).parse(t)}parse(e,t=!0){let n,r,l,s,o,i,c,a,u,p,f,h,g,d,$,m,b,k,x="";const w=e.length;for(n=0;n<w;n++)switch(p=e[n],p.type){case"space":continue;case"hr":x+=this.renderer.hr();continue;case"heading":x+=this.renderer.heading(this.parseInline(p.tokens),p.depth,mn(this.parseInline(p.tokens,this.textRenderer)),this.slugger);continue;case"code":x+=this.renderer.code(p.text,p.lang,p.escaped);continue;case"table":for(a="",c="",s=p.header.length,r=0;r<s;r++)c+=this.renderer.tablecell(this.parseInline(p.tokens.header[r]),{header:!0,align:p.align[r]});for(a+=this.renderer.tablerow(c),u="",s=p.cells.length,r=0;r<s;r++){for(i=p.tokens.cells[r],c="",o=i.length,l=0;l<o;l++)c+=this.renderer.tablecell(this.parseInline(i[l]),{header:!1,align:p.align[l]});u+=this.renderer.tablerow(c)}x+=this.renderer.table(a,u);continue;case"blockquote":u=this.parse(p.tokens),x+=this.renderer.blockquote(u);continue;case"list":for(f=p.ordered,h=p.start,g=p.loose,s=p.items.length,u="",r=0;r<s;r++)$=p.items[r],m=$.checked,b=$.task,d="",$.task&&(k=this.renderer.checkbox(m),g?"text"===$.tokens[0].type?($.tokens[0].text=k+" "+$.tokens[0].text,$.tokens[0].tokens&&$.tokens[0].tokens.length>0&&"text"===$.tokens[0].tokens[0].type&&($.tokens[0].tokens[0].text=k+" "+$.tokens[0].tokens[0].text)):$.tokens.unshift({type:"text",text:k}):d+=k),d+=this.parse($.tokens,g),u+=this.renderer.listitem(d,b,m);x+=this.renderer.list(u,f,h);continue;case"html":x+=this.renderer.html(p.text);continue;case"paragraph":x+=this.renderer.paragraph(this.parseInline(p.tokens));continue;case"text":for(u=p.tokens?this.parseInline(p.tokens):p.text;n+1<w&&"text"===e[n+1].type;)p=e[++n],u+="\n"+(p.tokens?this.parseInline(p.tokens):p.text);x+=t?this.renderer.paragraph(u):u;continue;default:{const e='Token with "'+p.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return x}parseInline(e,t){t=t||this.renderer;let n,r,l="";const s=e.length;for(n=0;n<s;n++)switch(r=e[n],r.type){case"escape":l+=t.text(r.text);break;case"html":l+=t.html(r.text);break;case"link":l+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":l+=t.image(r.href,r.title,r.text);break;case"strong":l+=t.strong(this.parseInline(r.tokens,t));break;case"em":l+=t.em(this.parseInline(r.tokens,t));break;case"codespan":l+=t.codespan(r.text);break;case"br":l+=t.br();break;case"del":l+=t.del(this.parseInline(r.tokens,t));break;case"text":l+=t.text(r.text);break;default:{const e='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return l}};const{merge:kn,checkSanitizeDeprecation:xn,escape:wn}=Ht,{getDefaults:yn,changeDefaults:_n,defaults:zn}=vt;function vn(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(n||"function"==typeof t){n||(n=t,t=null),t=kn({},vn.defaults,t||{}),xn(t);const r=t.highlight;let l,s,o=0;try{l=an.lex(e,t)}catch(e){return n(e)}s=l.length;const i=function(e){if(e)return t.highlight=r,n(e);let s;try{s=bn.parse(l,t)}catch(t){e=t}return t.highlight=r,e?n(e):n(null,s)};if(!r||r.length<3)return i();if(delete t.highlight,!s)return i();for(;o<l.length;o++)!function(e){"code"!==e.type?--s||i():r(e.text,e.lang,(function(t,n){return t?i(t):null==n||n===e.text?--s||i():(e.text=n,e.escaped=!0,void(--s||i()))}))}(l[o])}else try{return t=kn({},vn.defaults,t||{}),xn(t),bn.parse(an.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||vn.defaults).silent)return"<p>An error occurred:</p><pre>"+wn(e.message+"",!0)+"</pre>";throw e}}function Sn(t){let n;const r=new zt({props:{tokens:t[0],renderers:t[1]}});return{c(){G(r.$$.fragment)},l(e){X(r.$$.fragment,e)},m(e,t){K(r,e,t),n=!0},p:e,i(e){n||(U(r.$$.fragment,e),n=!0)},o(e){H(r.$$.fragment,e),n=!1},d(e){Q(r,e)}}}vn.options=vn.setOptions=function(e){return kn(vn.defaults,e),_n(vn.defaults),vn},vn.getDefaults=yn,vn.defaults=zn,vn.use=function(e){const t=kn({},e);if(e.renderer){const n=vn.defaults.renderer||new hn;for(const t in e.renderer){const r=n[t];n[t]=(...l)=>{let s=e.renderer[t].apply(n,l);return!1===s&&(s=r.apply(n,l)),s}}t.renderer=n}if(e.tokenizer){const n=vn.defaults.tokenizer||new Vt;for(const t in e.tokenizer){const r=n[t];n[t]=(...l)=>{let s=e.tokenizer[t].apply(n,l);return!1===s&&(s=r.apply(n,l)),s}}t.tokenizer=n}vn.setOptions(t)},vn.Parser=bn,vn.parser=bn.parse,vn.Renderer=hn,vn.TextRenderer=gn,vn.Lexer=an,vn.lexer=an.lex,vn.Tokenizer=Vt,vn.Slugger=dn,vn.parse=vn;const An=new vn.Lexer,En={heading:class extends J{constructor(e){super(),Y(this,e,ie,oe,o,{depth:0,raw:1})}},paragraph:class extends J{constructor(e){super(),Y(this,e,ae,ce,o,{})}},text:class extends J{constructor(e){super(),Y(this,e,pe,ue,o,{})}},image:class extends J{constructor(e){super(),Y(this,e,he,fe,o,{href:0,title:1,text:2})}},link:class extends J{constructor(e){super(),Y(this,e,de,ge,o,{href:0,title:1})}},em:class extends J{constructor(e){super(),Y(this,e,me,$e,o,{})}},strong:class extends J{constructor(e){super(),Y(this,e,_e,ye,o,{})}},codespan:class extends J{constructor(e){super(),Y(this,e,we,xe,o,{})}},del:class extends J{constructor(e){super(),Y(this,e,ke,be,o,{})}},table:class extends J{constructor(e){super(),Y(this,e,ve,ze,o,{})}},tablehead:class extends J{constructor(e){super(),Y(this,e,Ae,Se,o,{})}},tablebody:class extends J{constructor(e){super(),Y(this,e,Re,Ee,o,{})}},tablerow:class extends J{constructor(e){super(),Y(this,e,Ne,Te,o,{})}},tablecell:class extends J{constructor(e){super(),Y(this,e,Ze,Oe,o,{header:0,align:1})}},list:class extends J{constructor(e){super(),Y(this,e,Pe,Le,o,{ordered:0,start:1})}},listitem:class extends J{constructor(e){super(),Y(this,e,je,Be,o,{})}},hr:class extends J{constructor(e){super(),Y(this,e,null,Ue,o,{})}},html:class extends J{constructor(e){super(),Y(this,e,Me,He,o,{text:0})}},blockquote:class extends J{constructor(e){super(),Y(this,e,Ge,Fe,o,{})}},code:class extends J{constructor(e){super(),Y(this,e,Ke,Xe,o,{lang:0})}}};function Rn(e,t,n){let{body:r=""}=t;const l=An.lex(r),s=En;return e.$set=e=>{"body"in e&&n(2,r=e.body)},[l,s,r]}return class extends J{constructor(e){super(),Y(this,e,Rn,Sn,o,{body:2})}}}));
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self)["svelte-markdown"]=t()}(this,(function(){"use strict";function e(){}function t(e,t){for(const n in t)e[n]=t[n];return e}function n(e){return e()}function r(){return Object.create(null)}function l(e){e.forEach(n)}function s(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function i(e,t,n,r){if(e){const l=c(e,t,n,r);return e[0](l)}}function c(e,n,r,l){return e[1]&&l?t(r.ctx.slice(),e[1](l(n))):r.ctx}function a(e,t,n,r){if(e[2]&&r){const l=e[2](r(n));if(void 0===t.dirty)return l;if("object"==typeof l){const e=[],n=Math.max(t.dirty.length,l.length);for(let r=0;r<n;r+=1)e[r]=t.dirty[r]|l[r];return e}return t.dirty|l}return t.dirty}function u(e,t){const n={};t=new Set(t);for(const r in e)t.has(r)||"$"===r[0]||(n[r]=e[r]);return n}function p(e,t,n){e.insertBefore(t,n||null)}function f(e){e.parentNode.removeChild(e)}function h(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function g(e){return document.createElement(e)}function d(e){return document.createTextNode(e)}function $(){return d(" ")}function m(){return d("")}function k(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function b(e){return Array.from(e.childNodes)}function x(e,t,n,r){for(let r=0;r<e.length;r+=1){const l=e[r];if(l.nodeName===t){let t=0;for(;t<l.attributes.length;){const e=l.attributes[t];n[e.name]?t++:l.removeAttribute(e.name)}return e.splice(r,1)[0]}}return r?function(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}(t):g(t)}function w(e,t){for(let n=0;n<e.length;n+=1){const r=e[n];if(3===r.nodeType)return r.data=""+t,e.splice(n,1)[0]}return d(t)}function y(e){return w(e," ")}function _(e,t){t=""+t,e.data!==t&&(e.data=t)}class z{constructor(e,t=null){this.e=g("div"),this.a=t,this.u(e)}m(e,t=null){for(let n=0;n<this.n.length;n+=1)p(e,this.n[n],t);this.t=e}u(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}p(e){this.d(),this.u(e),this.m(this.t,this.a)}d(){this.n.forEach(f)}}let v;function S(e){v=e}const A=[],E=[],R=[],T=[],N=Promise.resolve();let q=!1;function C(e){R.push(e)}let O=!1;const Z=new Set;function I(){if(!O){O=!0;do{for(let e=0;e<A.length;e+=1){const t=A[e];S(t),D(t.$$)}for(A.length=0;E.length;)E.pop()();for(let e=0;e<R.length;e+=1){const t=R[e];Z.has(t)||(Z.add(t),t())}R.length=0}while(A.length);for(;T.length;)T.pop()();q=!1,O=!1,Z.clear()}}function D(e){if(null!==e.fragment){e.update(),l(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(C)}}const L=new Set;let P;function B(){P={r:0,c:[],p:P}}function j(){P.r||l(P.c),P=P.p}function U(e,t){e&&e.i&&(L.delete(e),e.i(t))}function H(e,t,n,r){if(e&&e.o){if(L.has(e))return;L.add(e),P.c.push(()=>{L.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}}function M(e,t){const n={},r={},l={$$scope:1};let s=e.length;for(;s--;){const o=e[s],i=t[s];if(i){for(const e in o)e in i||(r[e]=1);for(const e in i)l[e]||(n[e]=i[e],l[e]=1);e[s]=i}else for(const e in o)l[e]=1}for(const e in r)e in n||(n[e]=void 0);return n}function F(e){return"object"==typeof e&&null!==e?e:{}}function G(e){e&&e.c()}function X(e,t){e&&e.l(t)}function K(e,t,r){const{fragment:o,on_mount:i,on_destroy:c,after_update:a}=e.$$;o&&o.m(t,r),C(()=>{const t=i.map(n).filter(s);c?c.push(...t):l(t),e.$$.on_mount=[]}),a.forEach(C)}function Q(e,t){const n=e.$$;null!==n.fragment&&(l(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function V(e,t){-1===e.$$.dirty[0]&&(A.push(e),q||(q=!0,N.then(I)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Y(t,n,s,o,i,c,a=[-1]){const u=v;S(t);const p=n.props||{},h=t.$$={fragment:null,ctx:null,props:c,update:e,not_equal:i,bound:r(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(u?u.$$.context:[]),callbacks:r(),dirty:a};let g=!1;if(h.ctx=s?s(t,p,(e,n,...r)=>{const l=r.length?r[0]:n;return h.ctx&&i(h.ctx[e],h.ctx[e]=l)&&(h.bound[e]&&h.bound[e](l),g&&V(t,e)),n}):[],h.update(),g=!0,l(h.before_update),h.fragment=!!o&&o(h.ctx),n.target){if(n.hydrate){const e=b(n.target);h.fragment&&h.fragment.l(e),e.forEach(f)}else h.fragment&&h.fragment.c();n.intro&&U(t.$$.fragment),K(t,n.target,n.anchor),I()}S(u)}class J{$destroy(){Q(this,1),this.$destroy=e}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(){}}function W(t){let n;return{c(){n=d(t[1])},l(e){n=w(e,t[1])},m(e,t){p(e,n,t)},p(e,t){2&t&&_(n,e[1])},i:e,o:e,d(e){e&&f(n)}}}function ee(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h6"),l&&l.c()},l(e){t=x(e,"H6",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function te(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h5"),l&&l.c()},l(e){t=x(e,"H5",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function ne(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h4"),l&&l.c()},l(e){t=x(e,"H4",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function re(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h3"),l&&l.c()},l(e){t=x(e,"H3",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function le(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h2"),l&&l.c()},l(e){t=x(e,"H2",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function se(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("h1"),l&&l.c()},l(e){t=x(e,"H1",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function oe(e){let t,n,r,l;const s=[se,le,re,ne,te,ee,W],o=[];function i(e,t){return 1===e[0]?0:2===e[0]?1:3===e[0]?2:4===e[0]?3:5===e[0]?4:6===e[0]?5:6}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,[l]){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),j(),n=o[t],n||(n=o[t]=s[t](e),n.c()),U(n,1),n.m(r.parentNode,r))},i(e){l||(U(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function ie(e,t,n){let{depth:r}=t,{raw:l}=t,{$$slots:s={},$$scope:o}=t;return e.$set=e=>{"depth"in e&&n(0,r=e.depth),"raw"in e&&n(1,l=e.raw),"$$scope"in e&&n(2,o=e.$$scope)},[r,l,o,s]}function ce(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("p"),l&&l.c()},l(e){t=x(e,"P",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function ae(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function ue(e){let t;const n=e[1].default,r=i(n,e,e[0],null);return{c(){r&&r.c()},l(e){r&&r.l(e)},m(e,n){r&&r.m(e,n),t=!0},p(e,[t]){r&&r.p&&1&t&&r.p(c(n,e,e[0],null),a(n,e[0],t,null))},i(e){t||(U(r,e),t=!0)},o(e){H(r,e),t=!1},d(e){r&&r.d(e)}}}function pe(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function fe(t){let n,r;return{c(){n=g("img"),this.h()},l(e){n=x(e,"IMG",{src:!0,title:!0,alt:!0}),this.h()},h(){n.src!==(r=t[0])&&k(n,"src",r),k(n,"title",t[1]),k(n,"alt",t[2])},m(e,t){p(e,n,t)},p(e,[t]){1&t&&n.src!==(r=e[0])&&k(n,"src",r),2&t&&k(n,"title",e[1]),4&t&&k(n,"alt",e[2])},i:e,o:e,d(e){e&&f(n)}}}function he(e,t,n){let{href:r=""}=t,{title:l}=t,{text:s=""}=t;return e.$set=e=>{"href"in e&&n(0,r=e.href),"title"in e&&n(1,l=e.title),"text"in e&&n(2,s=e.text)},[r,l,s]}function ge(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("a"),l&&l.c(),this.h()},l(e){t=x(e,"A",{href:!0,title:!0});var n=b(t);l&&l.l(n),n.forEach(f),this.h()},h(){k(t,"href",e[0]),k(t,"title",e[1])},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[s]){l&&l.p&&4&s&&l.p(c(r,e,e[2],null),a(r,e[2],s,null)),(!n||1&s)&&k(t,"href",e[0]),(!n||2&s)&&k(t,"title",e[1])},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function de(e,t,n){let{href:r=""}=t,{title:l}=t,{$$slots:s={},$$scope:o}=t;return e.$set=e=>{"href"in e&&n(0,r=e.href),"title"in e&&n(1,l=e.title),"$$scope"in e&&n(2,o=e.$$scope)},[r,l,o,s]}function $e(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("em"),l&&l.c()},l(e){t=x(e,"EM",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function me(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function ke(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("del"),l&&l.c()},l(e){t=x(e,"DEL",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function be(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function xe(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("codespan"),l&&l.c()},l(e){t=x(e,"CODESPAN",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function we(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function ye(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("strong"),l&&l.c()},l(e){t=x(e,"STRONG",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function _e(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function ze(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("table"),l&&l.c()},l(e){t=x(e,"TABLE",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function ve(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function Se(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("thead"),l&&l.c()},l(e){t=x(e,"THEAD",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Ae(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function Ee(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("tbody"),l&&l.c()},l(e){t=x(e,"TBODY",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Re(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function Te(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("tr"),l&&l.c()},l(e){t=x(e,"TR",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Ne(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function qe(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("td"),l&&l.c()},l(e){t=x(e,"TD",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Ce(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("th"),l&&l.c()},l(e){t=x(e,"TH",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Oe(e){let t,n,r,l;const s=[Ce,qe],o=[];function i(e,t){return e[0]?0:1}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,[l]){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),j(),n=o[t],n||(n=o[t]=s[t](e),n.c()),U(n,1),n.m(r.parentNode,r))},i(e){l||(U(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function Ze(e,t,n){let{header:r}=t,{align:l}=t,{$$slots:s={},$$scope:o}=t;return e.$set=e=>{"header"in e&&n(0,r=e.header),"align"in e&&n(1,l=e.align),"$$scope"in e&&n(2,o=e.$$scope)},[r,l,o,s]}function Ie(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("ul"),l&&l.c()},l(e){t=x(e,"UL",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,t){l&&l.p&&4&t&&l.p(c(r,e,e[2],null),a(r,e[2],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function De(e){let t,n;const r=e[3].default,l=i(r,e,e[2],null);return{c(){t=g("ol"),l&&l.c(),this.h()},l(e){t=x(e,"OL",{start:!0});var n=b(t);l&&l.l(n),n.forEach(f),this.h()},h(){k(t,"start",e[1])},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,s){l&&l.p&&4&s&&l.p(c(r,e,e[2],null),a(r,e[2],s,null)),(!n||2&s)&&k(t,"start",e[1])},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Le(e){let t,n,r,l;const s=[De,Ie],o=[];function i(e,t){return e[0]?0:1}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,[l]){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),j(),n=o[t],n||(n=o[t]=s[t](e),n.c()),U(n,1),n.m(r.parentNode,r))},i(e){l||(U(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function Pe(e,t,n){let{ordered:r}=t,{start:l}=t,{$$slots:s={},$$scope:o}=t;return e.$set=e=>{"ordered"in e&&n(0,r=e.ordered),"start"in e&&n(1,l=e.start),"$$scope"in e&&n(2,o=e.$$scope)},[r,l,o,s]}function Be(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("li"),l&&l.c()},l(e){t=x(e,"LI",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function je(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function Ue(t){let n;return{c(){n=g("hr")},l(e){n=x(e,"HR",{})},m(e,t){p(e,n,t)},p:e,i:e,o:e,d(e){e&&f(n)}}}function He(t){let n;return{c(){this.h()},l(e){this.h()},h(){n=new z(t[0],null)},m(e,t){n.m(e,t)},p(e,[t]){1&t&&n.p(e[0])},i:e,o:e,d(e){e&&n.d()}}}function Me(e,t,n){let{text:r}=t;return e.$set=e=>{"text"in e&&n(0,r=e.text)},[r]}function Fe(e){let t,n;const r=e[1].default,l=i(r,e,e[0],null);return{c(){t=g("blockquote"),l&&l.c()},l(e){t=x(e,"BLOCKQUOTE",{});var n=b(t);l&&l.l(n),n.forEach(f)},m(e,r){p(e,t,r),l&&l.m(t,null),n=!0},p(e,[t]){l&&l.p&&1&t&&l.p(c(r,e,e[0],null),a(r,e[0],t,null))},i(e){n||(U(l,e),n=!0)},o(e){H(l,e),n=!1},d(e){e&&f(t),l&&l.d(e)}}}function Ge(e,t,n){let{$$slots:r={},$$scope:l}=t;return e.$set=e=>{"$$scope"in e&&n(0,l=e.$$scope)},[l,r]}function Xe(e){let t,n,r;const l=e[2].default,s=i(l,e,e[1],null);return{c(){t=g("pre"),n=g("code"),s&&s.c(),this.h()},l(e){t=x(e,"PRE",{class:!0});var r=b(t);n=x(r,"CODE",{});var l=b(n);s&&s.l(l),l.forEach(f),r.forEach(f),this.h()},h(){k(t,"class",e[0])},m(e,l){p(e,t,l),function(e,t){e.appendChild(t)}(t,n),s&&s.m(n,null),r=!0},p(e,[n]){s&&s.p&&2&n&&s.p(c(l,e,e[1],null),a(l,e[1],n,null)),(!r||1&n)&&k(t,"class",e[0])},i(e){r||(U(s,e),r=!0)},o(e){H(s,e),r=!1},d(e){e&&f(t),s&&s.d(e)}}}function Ke(e,t,n){let{lang:r}=t,{$$slots:l={},$$scope:s}=t;return e.$set=e=>{"lang"in e&&n(0,r=e.lang),"$$scope"in e&&n(1,s=e.$$scope)},[r,s,l]}function Qe(e,t,n){const r=e.slice();return r[14]=t[n],r}function Ve(e,t,n){const r=e.slice();return r[10]=t[n],r[12]=n,r}function Ye(e,t,n){const r=e.slice();return r[7]=t[n],r}function Je(e,t,n){const r=e.slice();return r[10]=t[n],r[12]=n,r}function We(e,t,n){const r=e.slice();return r[4]=t[n],r}function et(e){let t,n,r,l;const s=[lt,rt,nt],o=[];function i(e,t){return"table"===e[0]?0:"list"===e[0]?1:2}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,l){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),j(),n=o[t],n||(n=o[t]=s[t](e),n.c()),U(n,1),n.m(r.parentNode,r))},i(e){l||(U(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function tt(e){let t,n,r=e[1],l=[];for(let t=0;t<r.length;t+=1)l[t]=wt(We(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=m()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=m()},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(6&n){let o;for(r=e[1],o=0;o<r.length;o+=1){const s=We(e,r,o);l[o]?(l[o].p(s,n),U(l[o],1)):(l[o]=wt(s),l[o].c(),U(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);j()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)U(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function nt(e){let n,r;const l=[e[3]];var s=e[2][e[0]];function o(e){let n={$$slots:{default:[it]},$$scope:{ctx:e}};for(let e=0;e<l.length;e+=1)n=t(n,l[e]);return{props:n}}if(s)var i=new s(o(e));return{c(){i&&G(i.$$.fragment),n=m()},l(e){i&&X(i.$$.fragment,e),n=m()},m(e,t){i&&K(i,e,t),p(e,n,t),r=!0},p(e,t){const r=8&t?M(l,[F(e[3])]):{};if(131078&t&&(r.$$scope={dirty:t,ctx:e}),s!==(s=e[2][e[0]])){if(i){B();const e=i;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}s?(G((i=new s(o(e))).$$.fragment),U(i.$$.fragment,1),K(i,n.parentNode,n)):i=null}else s&&i.$set(r)},i(e){r||(i&&U(i.$$.fragment,e),r=!0)},o(e){i&&H(i.$$.fragment,e),r=!1},d(e){e&&f(n),i&&Q(i,e)}}}function rt(e){let n,r;const l=[e[3]];var s=e[2].list;function o(e){let n={$$slots:{default:[ut]},$$scope:{ctx:e}};for(let e=0;e<l.length;e+=1)n=t(n,l[e]);return{props:n}}if(s)var i=new s(o(e));return{c(){i&&G(i.$$.fragment),n=m()},l(e){i&&X(i.$$.fragment,e),n=m()},m(e,t){i&&K(i,e,t),p(e,n,t),r=!0},p(e,t){const r=8&t?M(l,[F(e[3])]):{};if(131076&t&&(r.$$scope={dirty:t,ctx:e}),s!==(s=e[2].list)){if(i){B();const e=i;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}s?(G((i=new s(o(e))).$$.fragment),U(i.$$.fragment,1),K(i,n.parentNode,n)):i=null}else s&&i.$set(r)},i(e){r||(i&&U(i.$$.fragment,e),r=!0)},o(e){i&&H(i.$$.fragment,e),r=!1},d(e){e&&f(n),i&&Q(i,e)}}}function lt(e){let t,n;var r=e[2].table;function l(e){return{props:{$$slots:{default:[xt]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].table)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}r?(G((s=new r(l(e))).$$.fragment),U(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&U(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function st(t){let n,r=t[3].text+"";return{c(){n=d(r)},l(e){n=w(e,r)},m(e,t){p(e,n,t)},p(e,t){8&t&&r!==(r=e[3].text+"")&&_(n,r)},i:e,o:e,d(e){e&&f(n)}}}function ot(e){let t;const n=new zt({props:{tokens:e[1],renderers:e[2]}});return{c(){G(n.$$.fragment)},l(e){X(n.$$.fragment,e)},m(e,r){K(n,e,r),t=!0},p(e,t){const r={};2&t&&(r.tokens=e[1]),4&t&&(r.renderers=e[2]),n.$set(r)},i(e){t||(U(n.$$.fragment,e),t=!0)},o(e){H(n.$$.fragment,e),t=!1},d(e){Q(n,e)}}}function it(e){let t,n,r,l;const s=[ot,st],o=[];function i(e,t){return e[1]?0:1}return t=i(e),n=o[t]=s[t](e),{c(){n.c(),r=m()},l(e){n.l(e),r=m()},m(e,n){o[t].m(e,n),p(e,r,n),l=!0},p(e,l){let c=t;t=i(e),t===c?o[t].p(e,l):(B(),H(o[c],1,1,()=>{o[c]=null}),j(),n=o[t],n||(n=o[t]=s[t](e),n.c()),U(n,1),n.m(r.parentNode,r))},i(e){l||(U(n),l=!0)},o(e){H(n),l=!1},d(e){o[t].d(e),e&&f(r)}}}function ct(e){let t,n;const r=new zt({props:{tokens:e[14].tokens,renderers:e[2]}});return{c(){G(r.$$.fragment),t=$()},l(e){X(r.$$.fragment,e),t=y(e)},m(e,l){K(r,e,l),p(e,t,l),n=!0},p(e,t){const n={};8&t&&(n.tokens=e[14].tokens),4&t&&(n.renderers=e[2]),r.$set(n)},i(e){n||(U(r.$$.fragment,e),n=!0)},o(e){H(r.$$.fragment,e),n=!1},d(e){Q(r,e),e&&f(t)}}}function at(e){let n,r;const l=[e[3]];var s=e[2].listitem;function o(e){let n={$$slots:{default:[ct]},$$scope:{ctx:e}};for(let e=0;e<l.length;e+=1)n=t(n,l[e]);return{props:n}}if(s)var i=new s(o(e));return{c(){i&&G(i.$$.fragment),n=m()},l(e){i&&X(i.$$.fragment,e),n=m()},m(e,t){i&&K(i,e,t),p(e,n,t),r=!0},p(e,t){const r=8&t?M(l,[F(e[3])]):{};if(131076&t&&(r.$$scope={dirty:t,ctx:e}),s!==(s=e[2].listitem)){if(i){B();const e=i;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}s?(G((i=new s(o(e))).$$.fragment),U(i.$$.fragment,1),K(i,n.parentNode,n)):i=null}else s&&i.$set(r)},i(e){r||(i&&U(i.$$.fragment,e),r=!0)},o(e){i&&H(i.$$.fragment,e),r=!1},d(e){e&&f(n),i&&Q(i,e)}}}function ut(e){let t,n,r=e[3].items,l=[];for(let t=0;t<r.length;t+=1)l[t]=at(Qe(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=m()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=m()},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(12&n){let o;for(r=e[3].items,o=0;o<r.length;o+=1){const s=Qe(e,r,o);l[o]?(l[o].p(s,n),U(l[o],1)):(l[o]=at(s),l[o].c(),U(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);j()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)U(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function pt(e){let t,n;const r=new zt({props:{tokens:e[10],renderers:e[2]}});return{c(){G(r.$$.fragment),t=$()},l(e){X(r.$$.fragment,e),t=y(e)},m(e,l){K(r,e,l),p(e,t,l),n=!0},p(e,t){const n={};2&t&&(n.tokens=e[10]),4&t&&(n.renderers=e[2]),r.$set(n)},i(e){n||(U(r.$$.fragment,e),n=!0)},o(e){H(r.$$.fragment,e),n=!1},d(e){Q(r,e),e&&f(t)}}}function ft(e){let t,n;var r=e[2].tablecell;function l(e){return{props:{header:!0,align:e[3].align[e[12]]||"center",$$slots:{default:[pt]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(8&n&&(o.align=e[3].align[e[12]]||"center"),131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].tablecell)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}r?(G((s=new r(l(e))).$$.fragment),U(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&U(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function ht(e){let t,n,r=e[1].header,l=[];for(let t=0;t<r.length;t+=1)l[t]=ft(Je(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=m()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=m()},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(14&n){let o;for(r=e[1].header,o=0;o<r.length;o+=1){const s=Je(e,r,o);l[o]?(l[o].p(s,n),U(l[o],1)):(l[o]=ft(s),l[o].c(),U(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);j()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)U(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function gt(e){let t,n;var r=e[2].tablerow;function l(e){return{props:{$$slots:{default:[ht]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].tablerow)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}r?(G((s=new r(l(e))).$$.fragment),U(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&U(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function dt(e){let t;const n=new zt({props:{tokens:e[10],renderers:e[2]}});return{c(){G(n.$$.fragment)},l(e){X(n.$$.fragment,e)},m(e,r){K(n,e,r),t=!0},p(e,t){const r={};2&t&&(r.tokens=e[10]),4&t&&(r.renderers=e[2]),n.$set(r)},i(e){t||(U(n.$$.fragment,e),t=!0)},o(e){H(n.$$.fragment,e),t=!1},d(e){Q(n,e)}}}function $t(e){let t,n;var r=e[2].tablecell;function l(e){return{props:{header:!1,align:e[3].align[e[12]]||"center",$$slots:{default:[dt]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(8&n&&(o.align=e[3].align[e[12]]||"center"),131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].tablecell)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}r?(G((s=new r(l(e))).$$.fragment),U(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&U(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function mt(e){let t,n,r=e[7],l=[];for(let t=0;t<r.length;t+=1)l[t]=$t(Ve(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=$()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=y(e)},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(14&n){let o;for(r=e[7],o=0;o<r.length;o+=1){const s=Ve(e,r,o);l[o]?(l[o].p(s,n),U(l[o],1)):(l[o]=$t(s),l[o].c(),U(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);j()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)U(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function kt(e){let t,n;var r=e[2].tablerow;function l(e){return{props:{$$slots:{default:[mt]},$$scope:{ctx:e}}}}if(r)var s=new r(l(e));return{c(){s&&G(s.$$.fragment),t=m()},l(e){s&&X(s.$$.fragment,e),t=m()},m(e,r){s&&K(s,e,r),p(e,t,r),n=!0},p(e,n){const o={};if(131078&n&&(o.$$scope={dirty:n,ctx:e}),r!==(r=e[2].tablerow)){if(s){B();const e=s;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}r?(G((s=new r(l(e))).$$.fragment),U(s.$$.fragment,1),K(s,t.parentNode,t)):s=null}else r&&s.$set(o)},i(e){n||(s&&U(s.$$.fragment,e),n=!0)},o(e){s&&H(s.$$.fragment,e),n=!1},d(e){e&&f(t),s&&Q(s,e)}}}function bt(e){let t,n,r=e[1].cells,l=[];for(let t=0;t<r.length;t+=1)l[t]=kt(Ye(e,r,t));const s=e=>H(l[e],1,1,()=>{l[e]=null});return{c(){for(let e=0;e<l.length;e+=1)l[e].c();t=m()},l(e){for(let t=0;t<l.length;t+=1)l[t].l(e);t=m()},m(e,r){for(let t=0;t<l.length;t+=1)l[t].m(e,r);p(e,t,r),n=!0},p(e,n){if(14&n){let o;for(r=e[1].cells,o=0;o<r.length;o+=1){const s=Ye(e,r,o);l[o]?(l[o].p(s,n),U(l[o],1)):(l[o]=kt(s),l[o].c(),U(l[o],1),l[o].m(t.parentNode,t))}for(B(),o=r.length;o<l.length;o+=1)s(o);j()}},i(e){if(!n){for(let e=0;e<r.length;e+=1)U(l[e]);n=!0}},o(e){l=l.filter(Boolean);for(let e=0;e<l.length;e+=1)H(l[e]);n=!1},d(e){h(l,e),e&&f(t)}}}function xt(e){let t,n,r;var l=e[2].tablehead;function s(e){return{props:{$$slots:{default:[gt]},$$scope:{ctx:e}}}}if(l)var o=new l(s(e));var i=e[2].tablebody;function c(e){return{props:{$$slots:{default:[bt]},$$scope:{ctx:e}}}}if(i)var a=new i(c(e));return{c(){o&&G(o.$$.fragment),t=$(),a&&G(a.$$.fragment),n=m()},l(e){o&&X(o.$$.fragment,e),t=y(e),a&&X(a.$$.fragment,e),n=m()},m(e,l){o&&K(o,e,l),p(e,t,l),a&&K(a,e,l),p(e,n,l),r=!0},p(e,r){const u={};if(131078&r&&(u.$$scope={dirty:r,ctx:e}),l!==(l=e[2].tablehead)){if(o){B();const e=o;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}l?(G((o=new l(s(e))).$$.fragment),U(o.$$.fragment,1),K(o,t.parentNode,t)):o=null}else l&&o.$set(u);const p={};if(131078&r&&(p.$$scope={dirty:r,ctx:e}),i!==(i=e[2].tablebody)){if(a){B();const e=a;H(e.$$.fragment,1,0,()=>{Q(e,1)}),j()}i?(G((a=new i(c(e))).$$.fragment),U(a.$$.fragment,1),K(a,n.parentNode,n)):a=null}else i&&a.$set(p)},i(e){r||(o&&U(o.$$.fragment,e),a&&U(a.$$.fragment,e),r=!0)},o(e){o&&H(o.$$.fragment,e),a&&H(a.$$.fragment,e),r=!1},d(e){o&&Q(o,e),e&&f(t),e&&f(n),a&&Q(a,e)}}}function wt(e){let n;const r=[e[4],{renderers:e[2]}];let l={};for(let e=0;e<r.length;e+=1)l=t(l,r[e]);const s=new zt({props:l});return{c(){G(s.$$.fragment)},l(e){X(s.$$.fragment,e)},m(e,t){K(s,e,t),n=!0},p(e,t){const n=6&t?M(r,[2&t&&F(e[4]),4&t&&{renderers:e[2]}]):{};s.$set(n)},i(e){n||(U(s.$$.fragment,e),n=!0)},o(e){H(s.$$.fragment,e),n=!1},d(e){Q(s,e)}}}function yt(e){let t,n,r,l;const s=[tt,et],o=[];function i(e,t){return e[0]?e[2][e[0]]?1:-1:0}return~(t=i(e))&&(n=o[t]=s[t](e)),{c(){n&&n.c(),r=m()},l(e){n&&n.l(e),r=m()},m(e,n){~t&&o[t].m(e,n),p(e,r,n),l=!0},p(e,[l]){let c=t;t=i(e),t===c?~t&&o[t].p(e,l):(n&&(B(),H(o[c],1,1,()=>{o[c]=null}),j()),~t?(n=o[t],n||(n=o[t]=s[t](e),n.c()),U(n,1),n.m(r.parentNode,r)):n=null)},i(e){l||(U(n),l=!0)},o(e){H(n),l=!1},d(e){~t&&o[t].d(e),e&&f(r)}}}function _t(e,n,r){const l=["type","tokens","renderers"];let s=u(n,l),{type:o}=n,{tokens:i}=n,{renderers:c}=n;return e.$set=e=>{n=t(t({},n),function(e){const t={};for(const n in e)"$"!==n[0]&&(t[n]=e[n]);return t}(e)),r(3,s=u(n,l)),"type"in e&&r(0,o=e.type),"tokens"in e&&r(1,i=e.tokens),"renderers"in e&&r(2,c=e.renderers)},[o,i,c,s]}class zt extends J{constructor(e){super(),Y(this,e,_t,yt,o,{type:0,tokens:1,renderers:2})}}var vt=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,xhtml:!1}}e.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,xhtml:!1},getDefaults:t,changeDefaults:function(t){e.exports.defaults=t}}}));vt.defaults,vt.getDefaults,vt.changeDefaults;const St=/[&<>"']/,At=/[&<>"']/g,Et=/[<>"']|&(?!#?\w+;)/,Rt=/[<>"']|&(?!#?\w+;)/g,Tt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Nt=e=>Tt[e];const qt=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function Ct(e){return e.replace(qt,(e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")}const Ot=/(^|[^\[])\^/g;const Zt=/[^\w:]/g,It=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;const Dt={},Lt=/^[^:]+:\/*[^/]*$/,Pt=/^([^:]+:)[\s\S]*$/,Bt=/^([^:]+:\/*[^/]*)[\s\S]*$/;function jt(e,t){Dt[" "+e]||(Lt.test(e)?Dt[" "+e]=e+"/":Dt[" "+e]=Ut(e,"/",!0));const n=-1===(e=Dt[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(Pt,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(Bt,"$1")+t:e+t}function Ut(e,t,n){const r=e.length;if(0===r)return"";let l=0;for(;l<r;){const s=e.charAt(r-l-1);if(s!==t||n){if(s===t||!n)break;l++}else l++}return e.substr(0,r-l)}var Ht={escape:function(e,t){if(t){if(St.test(e))return e.replace(At,Nt)}else if(Et.test(e))return e.replace(Rt,Nt);return e},unescape:Ct,edit:function(e,t){e=e.source||e,t=t||"";const n={replace:(t,r)=>(r=(r=r.source||r).replace(Ot,"$1"),e=e.replace(t,r),n),getRegex:()=>new RegExp(e,t)};return n},cleanUrl:function(e,t,n){if(e){let e;try{e=decodeURIComponent(Ct(n)).replace(Zt,"").toLowerCase()}catch(e){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!It.test(n)&&(n=jt(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n},resolveUrl:jt,noopTest:{exec:function(){}},merge:function(e){let t,n,r=1;for(;r<arguments.length;r++)for(n in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},splitCells:function(e,t){const n=e.replace(/\|/g,(e,t,n)=>{let r=!1,l=t;for(;--l>=0&&"\\"===n[l];)r=!r;return r?"|":" |"}).split(/ \|/);let r=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n},rtrim:Ut,findClosingBracket:function(e,t){if(-1===e.indexOf(t[1]))return-1;const n=e.length;let r=0,l=0;for(;l<n;l++)if("\\"===e[l])l++;else if(e[l]===t[0])r++;else if(e[l]===t[1]&&(r--,r<0))return l;return-1},checkSanitizeDeprecation:function(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}};const{defaults:Mt}=vt,{rtrim:Ft,splitCells:Gt,escape:Xt,findClosingBracket:Kt}=Ht;function Qt(e,t,n){const r=t.href,l=t.title?Xt(t.title):null;return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:r,title:l,text:e[1]}:{type:"image",raw:n,text:Xt(e[1]),href:r,title:l}}var Vt=class{constructor(e){this.options=e||Mt}space(e){const t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}}code(e,t){const n=this.rules.block.code.exec(e);if(n){const e=t[t.length-1];if(e&&"paragraph"===e.type)return t.pop(),e.text+="\n"+n[0].trimRight(),e.raw+="\n"+n[0],e;{const e=n[0].replace(/^ {4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?e:Ft(e,"\n")}}}}fences(e){const t=this.rules.block.fences.exec(e);if(t)return{type:"code",raw:t[0],lang:t[2]?t[2].trim():t[2],text:t[3]||""}}heading(e){const t=this.rules.block.heading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}}nptable(e){const t=this.rules.block.nptable.exec(e);if(t){const e={type:"table",header:Gt(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(e.header.length===e.align.length){let t,n=e.align.length;for(t=0;t<n;t++)/^ *-+: *$/.test(e.align[t])?e.align[t]="right":/^ *:-+: *$/.test(e.align[t])?e.align[t]="center":/^ *:-+ *$/.test(e.align[t])?e.align[t]="left":e.align[t]=null;for(n=e.cells.length,t=0;t<n;t++)e.cells[t]=Gt(e.cells[t],e.header.length);return e}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],text:e}}}list(e){const t=this.rules.block.list.exec(e);if(t){let e=t[0];const n=t[2],r=n.length>1,l={type:"list",raw:e,ordered:r,start:r?+n:"",loose:!1,items:[]},s=t[0].match(this.rules.block.item);let o,i,c,a,u,p,f,h=!1;const g=s.length;for(let t=0;t<g;t++)o=s[t],e=o,i=o.length,o=o.replace(/^ *([*+-]|\d+\.) */,""),~o.indexOf("\n ")&&(i-=o.length,o=this.options.pedantic?o.replace(/^ {1,4}/gm,""):o.replace(new RegExp("^ {1,"+i+"}","gm"),"")),t!==g-1&&(c=this.rules.block.bullet.exec(s[t+1])[0],(n.length>1?1===c.length:c.length>1||this.options.smartLists&&c!==n)&&(a=s.slice(t+1).join("\n"),l.raw=l.raw.substring(0,l.raw.length-a.length),t=g-1)),u=h||/\n\n(?!\s*$)/.test(o),t!==g-1&&(h="\n"===o.charAt(o.length-1),u||(u=h)),u&&(l.loose=!0),p=/^\[[ xX]\] /.test(o),f=void 0,p&&(f=" "!==o[1],o=o.replace(/^\[[ xX]\] +/,"")),l.items.push({raw:e,task:p,checked:f,loose:u,text:o});return l}}html(e){const t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):Xt(t[0]):t[0]}}def(e){const t=this.rules.block.def.exec(e);if(t){return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}}}table(e){const t=this.rules.block.table.exec(e);if(t){const e={type:"table",header:Gt(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(e.header.length===e.align.length){e.raw=t[0];let n,r=e.align.length;for(n=0;n<r;n++)/^ *-+: *$/.test(e.align[n])?e.align[n]="right":/^ *:-+: *$/.test(e.align[n])?e.align[n]="center":/^ *:-+ *$/.test(e.align[n])?e.align[n]="left":e.align[n]=null;for(r=e.cells.length,n=0;n<r;n++)e.cells[n]=Gt(e.cells[n].replace(/^ *\| *| *\| *$/g,""),e.header.length);return e}}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1]}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t)return{type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1]}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0]}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:Xt(t[1])}}tag(e,t,n){const r=this.rules.inline.tag.exec(e);if(r)return!t&&/^<a /i.test(r[0])?t=!0:t&&/^<\/a>/i.test(r[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):Xt(r[0]):r[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=Kt(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}let n=t[2],r="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e?(n=e[1],r=e[3]):r=""}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim().replace(/^<([\s\S]*)>$/,"$1"),Qt(t,{href:n?n.replace(this.rules.inline._escapes,"$1"):n,title:r?r.replace(this.rules.inline._escapes,"$1"):r},t[0])}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=(n[2]||n[1]).replace(/\s+/g," ");if(e=t[e.toLowerCase()],!e||!e.href){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return Qt(n,e,n[0])}}strong(e){const t=this.rules.inline.strong.exec(e);if(t)return{type:"strong",raw:t[0],text:t[4]||t[3]||t[2]||t[1]}}em(e){const t=this.rules.inline.em.exec(e);if(t)return{type:"em",raw:t[0],text:t[6]||t[5]||t[4]||t[3]||t[2]||t[1]}}codespan(e){const t=this.rules.inline.code.exec(e);if(t)return{type:"codespan",raw:t[0],text:Xt(t[2].trim(),!0)}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[1]}}autolink(e,t){const n=this.rules.inline.autolink.exec(e);if(n){let e,r;return"@"===n[2]?(e=Xt(this.options.mangle?t(n[1]):n[1]),r="mailto:"+e):(e=Xt(n[1]),r=e),{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let e,r;if("@"===n[2])e=Xt(this.options.mangle?t(n[0]):n[0]),r="mailto:"+e;else{let t;do{t=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(t!==n[0]);e=Xt(n[0]),r="www."===n[1]?"http://"+e:e}return{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t,n){const r=this.rules.inline.text.exec(e);if(r){let e;return e=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):Xt(r[0]):r[0]:Xt(this.options.smartypants?n(r[0]):r[0]),{type:"text",raw:r[0],text:e}}}};const{noopTest:Yt,edit:Jt,merge:Wt}=Ht,en={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\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{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:Yt,table:Yt,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};en.def=Jt(en.def).replace("label",en._label).replace("title",en._title).getRegex(),en.bullet=/(?:[*+-]|\d{1,9}\.)/,en.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,en.item=Jt(en.item,"gm").replace(/bull/g,en.bullet).getRegex(),en.list=Jt(en.list).replace(/bull/g,en.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+en.def.source+")").getRegex(),en._tag="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|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",en._comment=/<!--(?!-?>)[\s\S]*?-->/,en.html=Jt(en.html,"i").replace("comment",en._comment).replace("tag",en._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),en.paragraph=Jt(en._paragraph).replace("hr",en.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",en._tag).getRegex(),en.blockquote=Jt(en.blockquote).replace("paragraph",en.paragraph).getRegex(),en.normal=Wt({},en),en.gfm=Wt({},en.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),en.gfm.nptable=Jt(en.gfm.nptable).replace("hr",en.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",en._tag).getRegex(),en.gfm.table=Jt(en.gfm.table).replace("hr",en.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",en._tag).getRegex(),en.pedantic=Wt({},en.normal,{html:Jt("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",en._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]+?) *(?:#+ *)?(?:\n+|$)/,fences:Yt,paragraph:Jt(en.normal._paragraph).replace("hr",en.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",en.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const tn={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Yt,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^_([^\s_<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s*<\[])\*(?!\*)|^\*([^\s<"][\s\S]*?[^\s\[\*])\*(?![\]`punctuation])|^\*([^\s*"<\[][\s\S]*[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Yt,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,_punctuation:"!\"#$%&'()*+\\-./:;<=>?@\\[^_{|}~"};tn.em=Jt(tn.em).replace(/punctuation/g,tn._punctuation).getRegex(),tn._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,tn._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,tn._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])?)+(?![-_])/,tn.autolink=Jt(tn.autolink).replace("scheme",tn._scheme).replace("email",tn._email).getRegex(),tn._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,tn.tag=Jt(tn.tag).replace("comment",en._comment).replace("attribute",tn._attribute).getRegex(),tn._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,tn._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,tn._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,tn.link=Jt(tn.link).replace("label",tn._label).replace("href",tn._href).replace("title",tn._title).getRegex(),tn.reflink=Jt(tn.reflink).replace("label",tn._label).getRegex(),tn.normal=Wt({},tn),tn.pedantic=Wt({},tn.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:Jt(/^!?\[(label)\]\((.*?)\)/).replace("label",tn._label).getRegex(),reflink:Jt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",tn._label).getRegex()}),tn.gfm=Wt({},tn.normal,{escape:Jt(tn.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),tn.gfm.url=Jt(tn.gfm.url,"i").replace("email",tn.gfm._extended_email).getRegex(),tn.breaks=Wt({},tn.gfm,{br:Jt(tn.br).replace("{2,}","*").getRegex(),text:Jt(tn.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var nn={block:en,inline:tn};const{defaults:rn}=vt,{block:ln,inline:sn}=nn;function on(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function cn(e){let t,n,r="";const l=e.length;for(t=0;t<l;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}var an=class e{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||rn,this.options.tokenizer=this.options.tokenizer||new Vt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;const t={block:ln.normal,inline:sn.normal};this.options.pedantic?(t.block=ln.pedantic,t.inline=sn.pedantic):this.options.gfm&&(t.block=ln.gfm,this.options.breaks?t.inline=sn.breaks:t.inline=sn.gfm),this.tokenizer.rules=t}static get rules(){return{block:ln,inline:sn}}static lex(t,n){return new e(n).lex(t)}lex(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens}blockTokens(e,t=[],n=!0){let r,l,s;for(e=e.replace(/^ +$/gm,"");e;)if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),r.type&&t.push(r);else if(r=this.tokenizer.code(e,t))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.nptable(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),r.tokens=this.blockTokens(r.text,[],n),t.push(r);else if(r=this.tokenizer.list(e)){for(e=e.substring(r.raw.length),s=r.items.length,l=0;l<s;l++)r.items[l].tokens=this.blockTokens(r.items[l].text,[],!1);t.push(r)}else if(r=this.tokenizer.html(e))e=e.substring(r.raw.length),t.push(r);else if(n&&(r=this.tokenizer.def(e)))e=e.substring(r.raw.length),this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});else if(r=this.tokenizer.table(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.lheading(e))e=e.substring(r.raw.length),t.push(r);else if(n&&(r=this.tokenizer.paragraph(e)))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.text(e))e=e.substring(r.raw.length),t.push(r);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}return t}inline(e){let t,n,r,l,s,o;const i=e.length;for(t=0;t<i;t++)switch(o=e[t],o.type){case"paragraph":case"text":case"heading":o.tokens=[],this.inlineTokens(o.text,o.tokens);break;case"table":for(o.tokens={header:[],cells:[]},l=o.header.length,n=0;n<l;n++)o.tokens.header[n]=[],this.inlineTokens(o.header[n],o.tokens.header[n]);for(l=o.cells.length,n=0;n<l;n++)for(s=o.cells[n],o.tokens.cells[n]=[],r=0;r<s.length;r++)o.tokens.cells[n][r]=[],this.inlineTokens(s[r],o.tokens.cells[n][r]);break;case"blockquote":this.inline(o.tokens);break;case"list":for(l=o.items.length,n=0;n<l;n++)this.inline(o.items[n].tokens)}return e}inlineTokens(e,t=[],n=!1,r=!1){let l;for(;e;)if(l=this.tokenizer.escape(e))e=e.substring(l.raw.length),t.push(l);else if(l=this.tokenizer.tag(e,n,r))e=e.substring(l.raw.length),n=l.inLink,r=l.inRawBlock,t.push(l);else if(l=this.tokenizer.link(e))e=e.substring(l.raw.length),"link"===l.type&&(l.tokens=this.inlineTokens(l.text,[],!0,r)),t.push(l);else if(l=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(l.raw.length),"link"===l.type&&(l.tokens=this.inlineTokens(l.text,[],!0,r)),t.push(l);else if(l=this.tokenizer.strong(e))e=e.substring(l.raw.length),l.tokens=this.inlineTokens(l.text,[],n,r),t.push(l);else if(l=this.tokenizer.em(e))e=e.substring(l.raw.length),l.tokens=this.inlineTokens(l.text,[],n,r),t.push(l);else if(l=this.tokenizer.codespan(e))e=e.substring(l.raw.length),t.push(l);else if(l=this.tokenizer.br(e))e=e.substring(l.raw.length),t.push(l);else if(l=this.tokenizer.del(e))e=e.substring(l.raw.length),l.tokens=this.inlineTokens(l.text,[],n,r),t.push(l);else if(l=this.tokenizer.autolink(e,cn))e=e.substring(l.raw.length),t.push(l);else if(n||!(l=this.tokenizer.url(e,cn))){if(l=this.tokenizer.inlineText(e,r,on))e=e.substring(l.raw.length),t.push(l);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(l.raw.length),t.push(l);return t}};const{defaults:un}=vt,{cleanUrl:pn,escape:fn}=Ht;var hn=class{constructor(e){this.options=e||un}code(e,t,n){const r=(t||"").match(/\S*/)[0];if(this.options.highlight){const t=this.options.highlight(e,r);null!=t&&t!==e&&(n=!0,e=t)}return r?'<pre><code class="'+this.options.langPrefix+fn(r,!0)+'">'+(n?e:fn(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:fn(e,!0))+"</code></pre>"}blockquote(e){return"<blockquote>\n"+e+"</blockquote>\n"}html(e){return e}heading(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"}hr(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}list(e,t,n){const r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}listitem(e){return"<li>"+e+"</li>\n"}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return"<p>"+e+"</p>\n"}table(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return"<tr>\n"+e+"</tr>\n"}tablecell(e,t){const n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"}strong(e){return"<strong>"+e+"</strong>"}em(e){return"<em>"+e+"</em>"}codespan(e){return"<code>"+e+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return"<del>"+e+"</del>"}link(e,t,n){if(null===(e=pn(this.options.sanitize,this.options.baseUrl,e)))return n;let r='<a href="'+fn(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>",r}image(e,t,n){if(null===(e=pn(this.options.sanitize,this.options.baseUrl,e)))return n;let r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">",r}text(e){return e}},gn=class{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}},dn=class{constructor(){this.seen={}}slug(e){let t=e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){const e=t;do{this.seen[e]++,t=e+"-"+this.seen[e]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t}};const{defaults:$n}=vt,{unescape:mn}=Ht;var kn=class e{constructor(e){this.options=e||$n,this.options.renderer=this.options.renderer||new hn,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new gn,this.slugger=new dn}static parse(t,n){return new e(n).parse(t)}parse(e,t=!0){let n,r,l,s,o,i,c,a,u,p,f,h,g,d,$,m,k,b,x="";const w=e.length;for(n=0;n<w;n++)switch(p=e[n],p.type){case"space":continue;case"hr":x+=this.renderer.hr();continue;case"heading":x+=this.renderer.heading(this.parseInline(p.tokens),p.depth,mn(this.parseInline(p.tokens,this.textRenderer)),this.slugger);continue;case"code":x+=this.renderer.code(p.text,p.lang,p.escaped);continue;case"table":for(a="",c="",s=p.header.length,r=0;r<s;r++)c+=this.renderer.tablecell(this.parseInline(p.tokens.header[r]),{header:!0,align:p.align[r]});for(a+=this.renderer.tablerow(c),u="",s=p.cells.length,r=0;r<s;r++){for(i=p.tokens.cells[r],c="",o=i.length,l=0;l<o;l++)c+=this.renderer.tablecell(this.parseInline(i[l]),{header:!1,align:p.align[l]});u+=this.renderer.tablerow(c)}x+=this.renderer.table(a,u);continue;case"blockquote":u=this.parse(p.tokens),x+=this.renderer.blockquote(u);continue;case"list":for(f=p.ordered,h=p.start,g=p.loose,s=p.items.length,u="",r=0;r<s;r++)$=p.items[r],m=$.checked,k=$.task,d="",$.task&&(b=this.renderer.checkbox(m),g?"text"===$.tokens[0].type?($.tokens[0].text=b+" "+$.tokens[0].text,$.tokens[0].tokens&&$.tokens[0].tokens.length>0&&"text"===$.tokens[0].tokens[0].type&&($.tokens[0].tokens[0].text=b+" "+$.tokens[0].tokens[0].text)):$.tokens.unshift({type:"text",text:b}):d+=b),d+=this.parse($.tokens,g),u+=this.renderer.listitem(d,k,m);x+=this.renderer.list(u,f,h);continue;case"html":x+=this.renderer.html(p.text);continue;case"paragraph":x+=this.renderer.paragraph(this.parseInline(p.tokens));continue;case"text":for(u=p.tokens?this.parseInline(p.tokens):p.text;n+1<w&&"text"===e[n+1].type;)p=e[++n],u+="\n"+(p.tokens?this.parseInline(p.tokens):p.text);x+=t?this.renderer.paragraph(u):u;continue;default:{const e='Token with "'+p.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return x}parseInline(e,t){t=t||this.renderer;let n,r,l="";const s=e.length;for(n=0;n<s;n++)switch(r=e[n],r.type){case"escape":l+=t.text(r.text);break;case"html":l+=t.html(r.text);break;case"link":l+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":l+=t.image(r.href,r.title,r.text);break;case"strong":l+=t.strong(this.parseInline(r.tokens,t));break;case"em":l+=t.em(this.parseInline(r.tokens,t));break;case"codespan":l+=t.codespan(r.text);break;case"br":l+=t.br();break;case"del":l+=t.del(this.parseInline(r.tokens,t));break;case"text":l+=t.text(r.text);break;default:{const e='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return l}};const{merge:bn,checkSanitizeDeprecation:xn,escape:wn}=Ht,{getDefaults:yn,changeDefaults:_n,defaults:zn}=vt;function vn(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(n||"function"==typeof t){n||(n=t,t=null),t=bn({},vn.defaults,t||{}),xn(t);const r=t.highlight;let l,s,o=0;try{l=an.lex(e,t)}catch(e){return n(e)}s=l.length;const i=function(e){if(e)return t.highlight=r,n(e);let s;try{s=kn.parse(l,t)}catch(t){e=t}return t.highlight=r,e?n(e):n(null,s)};if(!r||r.length<3)return i();if(delete t.highlight,!s)return i();for(;o<l.length;o++)!function(e){"code"!==e.type?--s||i():r(e.text,e.lang,(function(t,n){return t?i(t):null==n||n===e.text?--s||i():(e.text=n,e.escaped=!0,void(--s||i()))}))}(l[o])}else try{return t=bn({},vn.defaults,t||{}),xn(t),kn.parse(an.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||vn.defaults).silent)return"<p>An error occurred:</p><pre>"+wn(e.message+"",!0)+"</pre>";throw e}}function Sn(t){let n;const r=new zt({props:{tokens:t[0],renderers:t[1]}});return{c(){G(r.$$.fragment)},l(e){X(r.$$.fragment,e)},m(e,t){K(r,e,t),n=!0},p:e,i(e){n||(U(r.$$.fragment,e),n=!0)},o(e){H(r.$$.fragment,e),n=!1},d(e){Q(r,e)}}}vn.options=vn.setOptions=function(e){return bn(vn.defaults,e),_n(vn.defaults),vn},vn.getDefaults=yn,vn.defaults=zn,vn.use=function(e){const t=bn({},e);if(e.renderer){const n=vn.defaults.renderer||new hn;for(const t in e.renderer){const r=n[t];n[t]=(...l)=>{let s=e.renderer[t].apply(n,l);return!1===s&&(s=r.apply(n,l)),s}}t.renderer=n}if(e.tokenizer){const n=vn.defaults.tokenizer||new Vt;for(const t in e.tokenizer){const r=n[t];n[t]=(...l)=>{let s=e.tokenizer[t].apply(n,l);return!1===s&&(s=r.apply(n,l)),s}}t.tokenizer=n}vn.setOptions(t)},vn.Parser=kn,vn.parser=kn.parse,vn.Renderer=hn,vn.TextRenderer=gn,vn.Lexer=an,vn.lexer=an.lex,vn.Tokenizer=Vt,vn.Slugger=dn,vn.parse=vn;const An=new vn.Lexer,En={heading:class extends J{constructor(e){super(),Y(this,e,ie,oe,o,{depth:0,raw:1})}},paragraph:class extends J{constructor(e){super(),Y(this,e,ae,ce,o,{})}},text:class extends J{constructor(e){super(),Y(this,e,pe,ue,o,{})}},image:class extends J{constructor(e){super(),Y(this,e,he,fe,o,{href:0,title:1,text:2})}},link:class extends J{constructor(e){super(),Y(this,e,de,ge,o,{href:0,title:1})}},em:class extends J{constructor(e){super(),Y(this,e,me,$e,o,{})}},strong:class extends J{constructor(e){super(),Y(this,e,_e,ye,o,{})}},codespan:class extends J{constructor(e){super(),Y(this,e,we,xe,o,{})}},del:class extends J{constructor(e){super(),Y(this,e,be,ke,o,{})}},table:class extends J{constructor(e){super(),Y(this,e,ve,ze,o,{})}},tablehead:class extends J{constructor(e){super(),Y(this,e,Ae,Se,o,{})}},tablebody:class extends J{constructor(e){super(),Y(this,e,Re,Ee,o,{})}},tablerow:class extends J{constructor(e){super(),Y(this,e,Ne,Te,o,{})}},tablecell:class extends J{constructor(e){super(),Y(this,e,Ze,Oe,o,{header:0,align:1})}},list:class extends J{constructor(e){super(),Y(this,e,Pe,Le,o,{ordered:0,start:1})}},listitem:class extends J{constructor(e){super(),Y(this,e,je,Be,o,{})}},hr:class extends J{constructor(e){super(),Y(this,e,null,Ue,o,{})}},html:class extends J{constructor(e){super(),Y(this,e,Me,He,o,{text:0})}},blockquote:class extends J{constructor(e){super(),Y(this,e,Ge,Fe,o,{})}},code:class extends J{constructor(e){super(),Y(this,e,Ke,Xe,o,{lang:0})}}};function Rn(e,t,n){let{source:r=""}=t,{renderers:l={}}=t;const s=An.lex(r),o={...En,...l};return e.$set=e=>{"source"in e&&n(2,r=e.source),"renderers"in e&&n(3,l=e.renderers)},[s,o,r,l]}return class extends J{constructor(e){super(),Y(this,e,Rn,Sn,o,{source:2,renderers:3})}}}));
//# sourceMappingURL=sveltemarkdown.js.map
{
"name": "svelte-markdown",
"version": "0.0.1",
"version": "0.0.2",
"main": "dist/sveltemarkdown.js",

@@ -12,4 +12,6 @@ "module": "dist/sveltemarkdown.es.js",

],
"license": "MIT",
"scripts": {
"build": "rollup -c"
"build": "rollup -c",
"dev": "rollup -c -w"
},

@@ -24,4 +26,4 @@ "devDependencies": {

"rollup-plugin-terser": "^5.1.2",
"svelte": "^3.0.0",
"sirv-cli": "^0.4.4"
"sirv-cli": "^0.4.4",
"svelte": "^3.0.0"
},

@@ -28,0 +30,0 @@ "dependencies": {

# Svelte Markdown
A markdown parser that renders into Svelte Components. Inspired by ReactMarkdown and probably really inefficient.
## Installation
You can install it with
```console
$ npm i -S svelte-markdown
```
If you use npm or if you prefer yarn
```console
$ yarn add svelte-markdown
```
If you're using Sapper you might need to install it as a dev dependency.
## Usage
```html
<script>
import SvelteMarkdown from 'svelte-markdown'
const source = '
# This is a header
This is a paragraph.
* This is a list
* With two items
1. And a sublist
2. That is ordered
* With another
* Sublist inside
| And this is | A table |
|-------------|---------|
| With two | columns |'
</script>
<SvelteMarkdown {source} />
```
This would render something like
```html
<h1>This is a header</h1>
<p>This is a paragraph.</p>
<ul>
<li>This is a list</li>
<li>
With two items
<ol start="1">
<li>And a sublist</li>
<li>
That is ordered
<ul>
<li>With another</li>
<li>Sublist inside</li>
</ul>
</li>
</ol>
</li>
</ul>
<table>
<thead>
<tr><th>And this is</th><th>A table</th></tr>
</thead>
<tbody>
<tr><td>With two</td><td>columns</td></tr>
</tbody>
</table>
```
## Note
Just like with React Markdown, this package doesn't use `{@html ...}` unless you need to render HTML.
## Options
As of now there are only two options:
* `source` - *string* The Markdown source to be parsed.
* `renderers` - *object* An object where the keys represent a node type and the value is a Svelte component. This object will be merged with the default renderers. For now you can check how the default renderers are written in the source code at `src/renderers`.
## Available renderers
These would be the property names expected by the `renderers` option.
- `text` - Text rendered inside of other elements, such as paragraphs
- `paragraph` - Paragraph (`<p>`)
- `em` - Emphasis (`<em>`)
- `strong` - Strong/bold (`<strong>`)
- `hr` - Horizontal rule / thematic break (`<hr>`)
- `blockquote` - Block quote (`<blockquote>`)
- `del` - Deleted/strike-through (`<del>`)
- `link` - Link (`<a>`)
- `image` - Image (`<img>`)
- `table` - Table (`<table>`)
- `tablehead` - Table head (`<thead>`)
- `tablebody` - Table body (`<tbody>`)
- `tablerow` - Table row (`<tr>`)
- `tablecell` - Table cell (`<td>`/`<th>`)
- `list` - List (`<ul>`/`<ol>`)
- `listitem` - List item (`<li>`)
- `heading` - Heading (`<h1>`-`<h6>`)
- `codespan` - Inline code (`<code>`)
- `code` - Block of code (`<pre><code>`)
- `html` - HTML node
## Disclaimer
I've literally only worked on this for like 10 hours as of writing the readme. It's not optimized, probably inefficient and still not so configurable. It doesn't yet provide a way to sanitize HTML.
## Developing
As of now there is no tests on this project, and the only way to test it is to try it is to create another Svelte app and link this to it.
You can clone this repo and do the following:
```console
$ yarn
$ yarn link
$ yarn dev
```
This will watch all changes and make the project linkable. Now on the app you created you can link it with:
```console
$ yarn link svelte-markdown
```
And then import it like in the example above.
As of now the only external dependency of this project is `marked`.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc