utxo22-web/_app/chunks/Link-84e9509a.js

47 řádky
65 KiB
JavaScript
Surový Normální zobrazení Historie

var Qe=Object.defineProperty;var me=Object.getOwnPropertySymbols;var je=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable;var ke=(s,e,n)=>e in s?Qe(s,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):s[e]=n,le=(s,e)=>{for(var n in e||(e={}))je.call(e,n)&&ke(s,n,e[n]);if(me)for(var n of me(e))We.call(e,n)&&ke(s,n,e[n]);return s};import{v as Oe,S as v,i as C,s as L,l as k,g,n as A,o as p,p as I,q as c,d as h,Z as $e,C as W,_ as Fe,w as x,x as U,y as z,z as V,A as Y,B as S,K as ee,k as re,m as se,t as he,h as pe,j as _e,E as H,V as Xe,U as N,e as R,c as y,a as T,b as w,P as B,Q as q,R as D,M as be,J as de,W as Ge,X as Ke,$ as Je,r as Ve}from"./index-335c48fa.js";function Ye(){const s=console.warn;console.warn=e=>{e.includes("unknown prop")||e.includes("unexpected slot")||s(e)},Oe(()=>{console.warn=s})}function we(s,e,n){const l=s.slice();return l[18]=e[n],l}function xe(s,e,n){const l=s.slice();return l[18]=e[n],l}function ze(s,e,n){const l=s.slice();return l[10]=e[n],l}function Se(s,e,n){const l=s.slice();return l[13]=e[n],l[15]=n,l}function Re(s,e,n){const l=s.slice();return l[16]=e[n],l[15]=n,l}function ye(s,e,n){const l=s.slice();return l[7]=e[n],l}function et(s){let e,n,l,t;const i=[it,lt,nt],r=[];function a(o,f){return o[0]==="table"?0:o[0]==="list"?1:2}return e=a(s),n=r[e]=i[e](s),{c(){n.c(),l=k()},l(o){n.l(o),l=k()},m(o,f){r[e].m(o,f),g(o,l,f),t=!0},p(o,f){let u=e;e=a(o),e===u?r[e].p(o,f):(A(),p(r[u],1,1,()=>{r[u]=null}),I(),n=r[e],n?n.p(o,f):(n=r[e]=i[e](o),n.c()),c(n,1),n.m(l.parentNode,l))},i(o){t||(c(n),t=!0)},o(o){p(n),t=!1},d(o){r[e].d(o),o&&h(l)}}}function tt(s){let e,n,l=s[1],t=[];for(let r=0;r<l.length;r+=1)t[r]=Ce(ye(s,l,r));const i=r=>p(t[r],1,1,()=>{t[r]=null});return{c(){for(let r=0;r<t.length;r+=1)t[r].c();e=k()},l(r){for(let a=0;a<t.length;a+=1)t[a].l(r);e=k()},m(r,a){for(let o=0;o<t.length;o+=1)t[o].m(r,a);g(r,e,a),n=!0},p(r,a){if(a&34){l=r[1];let o;for(o=0;o<l.length;o+=1){const f=ye(r,l,o);t[o]?(t[o].p(f,a),c(t[o],1)):(t[o]=Ce(f),t[o].c(),c(t[o],1),t[o].m(e.parentNode,e))}for(A(),o=l.length;o<t.length;o+=1)i(o);I()}},i(r){if(!n){for(let a=0;a<l.length;a+=1)c(t[a]);n=!0}},o(r){t=t.filter(Boolean);for(let a=0;a<t.length;a+=1)p(t[a]);n=!1},d(r){ee(t,r),r&&h(e)}}}function nt(s){let e,n,l;const t=[s[6]];var i=s[5][s[0]];function r(a){let o={$$slots:{default:[ot]},$$scope:{ctx:a}};for(let f=0;f<t.length;f+=1)o=W(o,t[f]);return{props:o}}return i&&(e=new i(r(s))),{c(){e&&x(e.$$.fragment),n=k()},l(a){e&&U(e.$$.fragment,a),n=k()},m(a,o){e&&z(e,a,o),g(a,n,o),l=!0},p(a,o){const f=o&64?V(t,[Y(a[6])]):{};if(o&8388706&&(f.$$scope={dirty:o,ctx:a}),i!==(i=a[5][a[0]])){if(e){A();const u=e;p(u.$$.fragment,1,0,()=>{S(u,1)}),I()}i?(e=new i(r(a)),x(e.$$.fragment),c(e.$$.fragment,1),z(e,n.parentNode,n)):e=null}else i&&e.$set(f)},i(a){l||(e&&c(e.$$.fragment,a),l=!0)},o(a){e&&p(e.$$.fragment,a),l=!1},d(a){a&&h(n),e&&S(e,a)}}}function lt(s){let e,n,l,t;const i=[ft,at],r=[];function a(o,f){return o[4]?0:1}return e=a(s),n=r[e]=i[e](s),{c(){n.c(),l=k()},l(o){n.l(o),l=k()},m(o,f){r[e].m(o,f),g(o,l,f),t=!0},p(o,f){let u=e;e=a(o),e===u?r[e].p(o,f):(A(),p(r[u],1,1,()=>{r[u]=null}),I(),n=r[e],n?n.p(o,f):(n=r[e]=i[e](o),n.c()),c(n,1),n.m(l.parentNode,l))},i(o){t||(c(n),t=!0)},o(o){p(n),t=!1},d(o){r[e].d(o),o&&h(l)}}}function it(s){let e,n,l;var t=s[5].table;function i(r){return{props:{$$slots:{default:[bt]},$$scope:{ctx:r}}}}return t&&(e=new t(i(s))),{c(){e&&x(e.$$.fragment),n=k()},l(r){e&&U(e.$$.fragment,r),n=k()},m(r,a){e&&z(e,r,a),g(r,n,a),l=!0},p(r,a){const o={};if(a&8388716&&(o.$$scope={dirty:a,ctx:r}),t!==(t=r[5].table)){if(e){A();const f=e;p(f.$$.fragment,1,0,()=>{S(f,1)}),I()}t?(e=new t(i(r)),x(e.$$.fragment),c(e.$$.fragment,1),z(e,n.parentNode,n)):e=null}else t&&e.$set(o)},i(r){l||(e&&c(e.$$.fragment,r),l=!0)},o(r){e&&p(e.$$.fragment,r),l=!1},d(r){r&&h(n),e&&S(e,r)}}}function rt(s){let e=s[6].raw+"",n;return{c(){n=he(e)},l(l){n=pe(l,e)},m(l,t){g(l,n,t)},p(l,t){t&64&&e!==(e=l[6].raw+"")&&_e(n,e)},i:H,o:H,d(l){l&&h(n)}}}function st(s){let e,n;return e=new K({props:{tokens:s[1],renderers:s[5]}}),{c(
`).map(t=>{const i=t.match(/^\s+/);if(i===null)return t;const[r]=i;return r.length>=l.length?t.slice(l.length):t}).join(`
`)}class Ot{constructor(e){this.options=e||ge}space(e){const n=this.rules.block.newline.exec(e);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(e){const n=this.rules.block.code.exec(e);if(n){const l=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?l:fe(l,`
`)}}}fences(e){const n=this.rules.block.fences.exec(e);if(n){const l=n[0],t=Zt(l,n[3]||"");return{type:"code",raw:l,lang:n[2]?n[2].trim():n[2],text:t}}}heading(e){const n=this.rules.block.heading.exec(e);if(n){let l=n[2].trim();if(/#$/.test(l)){const i=fe(l,"#");(this.options.pedantic||!i||/ $/.test(i))&&(l=i.trim())}const t={type:"heading",raw:n[0],depth:n[1].length,text:l,tokens:[]};return this.lexer.inline(t.text,t.tokens),t}}hr(e){const n=this.rules.block.hr.exec(e);if(n)return{type:"hr",raw:n[0]}}blockquote(e){const n=this.rules.block.blockquote.exec(e);if(n){const l=n[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:n[0],tokens:this.lexer.blockTokens(l,[]),text:l}}}list(e){let n=this.rules.block.list.exec(e);if(n){let l,t,i,r,a,o,f,u,$,b,d,Z,Q=n[1].trim();const j=Q.length>1,O={type:"list",raw:"",ordered:j,start:j?+Q.slice(0,-1):"",loose:!1,items:[]};Q=j?`\\d{1,9}\\${Q.slice(-1)}`:`\\${Q}`,this.options.pedantic&&(Q=j?Q:"[*+-]");const P=new RegExp(`^( {0,3}${Q})((?: [^\\n]*)?(?:\\n|$))`);for(;e&&(Z=!1,!(!(n=P.exec(e))||this.rules.block.hr.test(e)));){if(l=n[0],e=e.substring(l.length),u=n[2].split(`
`,1)[0],$=e.split(`
`,1)[0],this.options.pedantic?(r=2,d=u.trimLeft()):(r=n[2].search(/[^ ]/),r=r>4?1:r,d=u.slice(r),r+=n[1].length),o=!1,!u&&/^ *$/.test($)&&(l+=$+`
`,e=e.substring($.length+1),Z=!0),!Z){const F=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:[*+-]|\\d{1,9}[.)])`);for(;e&&(b=e.split(`
`,1)[0],u=b,this.options.pedantic&&(u=u.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!F.test(u));){if(u.search(/[^ ]/)>=r||!u.trim())d+=`
`+u.slice(r);else if(!o)d+=`
`+u;else break;!o&&!u.trim()&&(o=!0),l+=b+`
`,e=e.substring(b.length+1)}}O.loose||(f?O.loose=!0:/\n *\n *$/.test(l)&&(f=!0)),this.options.gfm&&(t=/^\[[ xX]\] /.exec(d),t&&(i=t[0]!=="[ ] ",d=d.replace(/^\[[ xX]\] +/,""))),O.items.push({type:"list_item",raw:l,task:!!t,checked:i,loose:!1,text:d}),O.raw+=l}O.items[O.items.length-1].raw=l.trimRight(),O.items[O.items.length-1].text=d.trimRight(),O.raw=O.raw.trimRight();const te=O.items.length;for(a=0;a<te;a++){this.lexer.state.top=!1,O.items[a].tokens=this.lexer.blockTokens(O.items[a].text,[]);const F=O.items[a].tokens.filter(G=>G.type==="space"),X=F.every(G=>{const oe=G.raw.split("");let ne=0;for(const He of oe)if(He===`
`&&(ne+=1),ne>1)return!0;return!1});!O.loose&&F.length&&X&&(O.loose=!0,O.items[a].loose=!0)}return O}}html(e){const n=this.rules.block.html.exec(e);if(n){const l={type:"html",raw:n[0],pre:!this.options.sanitizer&&(n[1]==="pre"||n[1]==="script"||n[1]==="style"),text:n[0]};return this.options.sanitize&&(l.type="paragraph",l.text=this.options.sanitizer?this.options.sanitizer(n[0]):M(n[0]),l.tokens=[],this.lexer.inline(l.text,l.tokens)),l}}def(e){const n=this.rules.block.def.exec(e);if(n){n[3]&&(n[3]=n[3].substring(1,n[3].length-1));const l=n[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:l,raw:n[0],href:n[2],title:n[3]}}}table(e){const n=this.rules.block.table.exec(e);if(n){const l={type:"table",header:Be(n[1]).map(t=>({text:t})),align:n[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(`
`):[]};if(l.header.length===l.align.length){l.raw=n[0];let t=l.align.length,i,r,a,o;for(i=0;i<t;i++)/^ *-+: *$/.test(l.align[i])?l.align[i]="right":/^ *:-+: *$/.test(l.align[i])?l.align[i]="center":/^ *:-+ *$/.test(l.align[i])?l.align[i]="left":l.align[i]=null;for(t=l.rows.length,i=0;i<t;i++)l.rows[i]=Be(l.rows[i],l.header.length).map(f=>({text:f}));for(t=l.header.length,r=0;r<t;r++)l.header[r].tokens=[],this.lexer.inlineTokens(l.header[r].text,l.header[r].tokens);for(t=l.rows.length,r=0;r<t;r++)for(o=l.rows[r],a=0;a<o.length;a++)o[a].tokens=[],this.lexer.inlineTokens(o[a].text,o[a].tokens);return l}}}lheading(e){const n=this.rules.block.lheading.exec(e);if(n){const l={type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:[]};return this.lexer.inline(l.text,l.tokens),l}}paragraph(e){const n=this.rules.block.paragraph.exec(e);if(n){const l={type:"paragraph",raw:n[0],text:n[1].charAt(n[1].length-1)===`
`?n[1].slice(0,-1):n[1],tokens:[]};return this.lexer.inline(l.text,l.tokens),l}}text(e){const n=this.rules.block.text.exec(e);if(n){const l={type:"text",raw:n[0],text:n[0],tokens:[]};return this.lexer.inline(l.text,l.tokens),l}}escape(e){const n=this.rules.inline.escape.exec(e);if(n)return{type:"escape",raw:n[0],text:M(n[1])}}tag(e){const n=this.rules.inline.tag.exec(e);if(n)return!this.lexer.state.inLink&&/^<a /i.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):M(n[0]):n[0]}}link(e){const n=this.rules.inline.link.exec(e);if(n){const l=n[2].trim();if(!this.options.pedantic&&/^</.test(l)){if(!/>$/.test(l))return;const r=fe(l.slice(0,-1),"\\");if((l.length-r.length)%2===0)return}else{const r=Dt(n[2],"()");if(r>-1){const o=(n[0].indexOf("!")===0?5:4)+n[1].length+r;n[2]=n[2].substring(0,r),n[0]=n[0].substring(0,o).trim(),n[3]=""}}let t=n[2],i="";if(this.options.pedantic){const r=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(t);r&&(t=r[1],i=r[3])}else i=n[3]?n[3].slice(1,-1):"";return t=t.trim(),/^</.test(t)&&(this.options.pedantic&&!/>$/.test(l)?t=t.slice(1):t=t.slice(1,-1)),De(n,{href:t&&t.replace(this.rules.inline._escapes,"$1"),title:i&&i.replace(this.rules.inline._escapes,"$1")},n[0],this.lexer)}}reflink(e,n){let l;if((l=this.rules.inline.reflink.exec(e))||(l=this.rules.inline.nolink.exec(e))){let t=(l[2]||l[1]).replace(/\s+/g," ");if(t=n[t.toLowerCase()],!t||!t.href){const i=l[0].charAt(0);return{type:"text",raw:i,text:i}}return De(l,t,l[0],this.lexer)}}emStrong(e,n,l=""){let t=this.rules.inline.emStrong.lDelim.exec(e);if(!t||t[3]&&l.match(/[\p{L}\p{N}]/u))return;const i=t[1]||t[2]||"";if(!i||i&&(l===""||this.rules.inline.punctuation.exec(l))){const r=t[0].length-1;let a,o,f=r,u=0;const $=t[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for($.lastIndex=0,n=n.slice(-1*e.length+r);(t=$.exec(n))!=null;){if(a=t[1]||t[2]||t[3]||t[4]||t[5]||t[6],!a)continue;if(o=a.length,t[3]||t[4]){f+=o;continue}else if((t[5]||t[6])&&r%3&&!((r+o)%3)){u+=o;continue}if(f-=o,f>0)continue;if(o=Math.min(o,o+f+u),Math.min(r,o)%2){const d=e.slice(1,r+t.index+o);return{type:"em",raw:e.slice(0,r+t.index+o+1),text:d,tokens:this.lexer.inlineTokens(d,[])}}const b=e.slice(2,r+t.index+o-1);return{type:"strong",raw:e.slice(0,r+t.index+o+1),text:b,tokens:this.lexer.inlineTokens(b,[])}}}}codespan(e){const n=this.rules.inline.code.exec(e);if(n){let l=n[2].replace(/\n/g," ");const t=/[^ ]/.test(l),i=/^ /.test(l)&&/ $/.test(l);return t&&i&&(l=l.substring(1,l.length-1)),l=M(l,!0),{type:"codespan",raw:n[0],text:l}}}br(e){const n=this.rules.inline.br.exec(e);if(n)return{type:"br",raw:n[0]}}del(e){const n=this.rules.inline.del.exec(e);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2],[])}}autolink(e,n){const l=this.rules.inline.autolink.exec(e);if(l){let t,i;return l[2]==="@"?(t=M(this.options.mangle?n(l[1]):l[1]),i="mailto:"+t):(t=M(l[1]),i=t),{type:"link",raw:l[0],text:t,href:i,tokens:[{type:"text",raw:t,text:t}]}}}url(e,n){let l;if(l=this.rules.inline.url.exec(e)){let t,i;if(l[2]==="@")t=M(this.options.mangle?n(l[0]):l[0]),i="mailto:"+t;else{let r;do r=l[0],l[0]=this.rules.inline._backpedal.exec(l[0])[0];while(r!==l[0]);t=M(l[0]),l[1]==="www."?i="http://"+t:i=t}return{type:"link",raw:l[0],text:t,href:i,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(e,n){const l=this.rules.inline.text.exec(e);if(l){let t;return this.lexer.state.inRawBlock?t=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(l[0]):M(l[0]):l[0]:t=M(this.options.smartypants?n(l[0]):l[0]),{type:"text",raw:l[0],text:t}}}}const m={newline:/^(?: *(?:\n|$))+
]`).replace("lheading",m.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const _={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ue,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)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:ue,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};_._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~";_.punctuation=E(_.punctuation).replace(/punctuation/g,_._punctuation).getRegex();_.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;_.escapedEmSt=/\\\*|\\_/g;_._comment=E(m._comment).replace("(?:-->|$)","-->").getRegex();_.emStrong.lDelim=E(_.emStrong.lDelim).replace(/punct/g,_._punctuation).getRegex();_.emStrong.rDelimAst=E(_.emStrong.rDelimAst,"g").replace(/punct/g,_._punctuation).getRegex();_.emStrong.rDelimUnd=E(_.emStrong.rDelimUnd,"g").replace(/punct/g,_._punctuation).getRegex();_._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;_._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;_._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])?)+(?![-_])/;_.autolink=E(_.autolink).replace("scheme",_._scheme).replace("email",_._email).getRegex();_._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;_.tag=E(_.tag).replace("comment",_._comment).replace("attribute",_._attribute).getRegex();_._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;_._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;_._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;_.link=E(_.link).replace("label",_._label).replace("href",_._href).replace("title",_._title).getRegex();_.reflink=E(_.reflink).replace("label",_._label).replace("ref",m._label).getRegex();_.nolink=E(_.nolink).replace("ref",m._label).getRegex();_.reflinkSearch=E(_.reflinkSearch,"g").replace("reflink",_.reflink).replace("nolink",_.nolink).getRegex();_.normal=J({},_);_.pedantic=J({},_.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:E(/^!?\[(label)\]\((.*?)\)/).replace("label",_._label).getRegex(),reflink:E(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",_._label).getRegex()});_.gfm=J({},_.normal,{escape:E(_.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~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/});_.gfm.url=E(_.gfm.url,"i").replace("email",_.gfm._extended_email).getRegex();_.breaks=J({},_.gfm,{br:E(_.br).replace("{2,}","*").getRegex(),text:E(_.gfm.text).replace("\\b_","\\b_| {2,}\\n
`).replace(/\t/g," "),this.blockTokens(e,this.tokens);let n;for(;n=this.inlineQueue.shift();)this.inlineTokens(n.src,n.tokens);return this.tokens}blockTokens(e,n=[]){this.options.pedantic&&(e=e.replace(/^ +$/gm,""));let l,t,i,r;for(;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>(l=a.call({lexer:this},e,n))?(e=e.substring(l.raw.length),n.push(l),!0):!1))){if(l=this.tokenizer.space(e)){e=e.substring(l.raw.length),l.raw.length===1&&n.length>0?n[n.length-1].raw+=`
`:n.push(l);continue}if(l=this.tokenizer.code(e)){e=e.substring(l.raw.length),t=n[n.length-1],t&&(t.type==="paragraph"||t.type==="text")?(t.raw+=`
`+l.raw,t.text+=`
`+l.text,this.inlineQueue[this.inlineQueue.length-1].src=t.text):n.push(l);continue}if(l=this.tokenizer.fences(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.heading(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.hr(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.blockquote(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.list(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.html(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.def(e)){e=e.substring(l.raw.length),t=n[n.length-1],t&&(t.type==="paragraph"||t.type==="text")?(t.raw+=`
`+l.raw,t.text+=`
`+l.raw,this.inlineQueue[this.inlineQueue.length-1].src=t.text):this.tokens.links[l.tag]||(this.tokens.links[l.tag]={href:l.href,title:l.title});continue}if(l=this.tokenizer.table(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.lheading(e)){e=e.substring(l.raw.length),n.push(l);continue}if(i=e,this.options.extensions&&this.options.extensions.startBlock){let a=1/0;const o=e.slice(1);let f;this.options.extensions.startBlock.forEach(function(u){f=u.call({lexer:this},o),typeof f=="number"&&f>=0&&(a=Math.min(a,f))}),a<1/0&&a>=0&&(i=e.substring(0,a+1))}if(this.state.top&&(l=this.tokenizer.paragraph(i))){t=n[n.length-1],r&&t.type==="paragraph"?(t.raw+=`
`+l.raw,t.text+=`
`+l.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=t.text):n.push(l),r=i.length!==e.length,e=e.substring(l.raw.length);continue}if(l=this.tokenizer.text(e)){e=e.substring(l.raw.length),t=n[n.length-1],t&&t.type==="text"?(t.raw+=`
`+l.raw,t.text+=`
`+l.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=t.text):n.push(l);continue}if(e){const a="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,n}inline(e,n){this.inlineQueue.push({src:e,tokens:n})}inlineTokens(e,n=[]){let l,t,i,r=e,a,o,f;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)u.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,a.index)+"["+qe("a",a[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)r=r.slice(0,a.index)+"["+qe("a",a[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.escapedEmSt.exec(r))!=null;)r=r.slice(0,a.index)+"++"+r.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(o||(f=""),o=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>(l=u.call({lexer:this},e,n))?(e=e.substring(l.raw.length),n.push(l),!0):!1))){if(l=this.tokenizer.escape(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.tag(e)){e=e.substring(l.raw.length),t=n[n.length-1],t&&l.type==="text"&&t.type==="text"?(t.raw+=l.raw,t.text+=l.text):n.push(l);continue}if(l=this.tokenizer.link(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(l.raw.length),t=n[n.length-1],t&&l.type==="text"&&t.type==="text"?(t.raw+=l.raw,t.text+=l.text):n.push(l);continue}if(l=this.tokenizer.emStrong(e,r,f)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.codespan(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.br(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.del(e)){e=e.substring(l.raw.length),n.push(l);continue}if(l=this.tokenizer.autolink(e,Ze)){e=e.substring(l.raw.length),n.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(e,Ze))){e=e.substring(l.raw.length),n.push(l);continue}if(i=e,this.options.extensions&&this.options.extensions.startInline){let u=1/0;const $=e.slice(1);let b;this.options.extensions.startInline.forEach(function(d){b=d.call({lexer:this},$),typeof b=="number"&&b>=0&&(u=Math.min(u,b))}),u<1/0&&u>=0&&(i=e.substring(0,u+1))}if(l=this.tokenizer.inlineText(i,Ut)){e=e.substring(l.raw.length),l.raw.slice(-1)!=="_"&&(f=l.raw.slice(-1)),o=!0,t=n[n.length-1],t&&t.type==="text"?(t.raw+=l.raw,t.text+=l.text):n.push(l);continue}if(e){const u="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return n}}class Pt{constructor(e){this.options=e||ge}code(e,n,l){const t=(n||"").match(/\S*/)[0];if(this.options.highlight){const i=this.options.highlight(e,t);i!=null&&i!==e&&(l=!0,e=i)}return e=e.replace(/\n$/,"")+`
`,t?'<pre><code class="'+this.options.langPrefix+M(t,!0)+'">'+(l?e:M(e,!0))+`</code></pre>
`:"<pre><code>"+(l?e:M(e,!0))+`</code></pre>
`}blockquote(e){return`<blockquote>
`+e+`</blockquote>
`}html(e){return e}heading(e,n,l,t){return this.options.headerIds?"<h"+n+' id="'+this.options.headerPrefix+t.slug(l)+'">'+e+"</h"+n+`>
`:"<h"+n+">"+e+"</h"+n+`>
`}hr(){return this.options.xhtml?`<hr/>
`:`<hr>
`}list(e,n,l){const t=n?"ol":"ul",i=n&&l!==1?' start="'+l+'"':"";return"<"+t+i+`>
`+e+"</"+t+`>
`}listitem(e){return"<li>"+e+`</li>
`}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return"<p>"+e+`</p>
`}table(e,n){return n&&(n="<tbody>"+n+"</tbody>"),`<table>
<thead>
`+e+`</thead>
`+n+`</table>
`}tablerow(e){return`<tr>
`+e+`</tr>
`}tablecell(e,n){const l=n.header?"th":"td";return(n.align?"<"+l+' align="'+n.align+'">':"<"+l+">")+e+"</"+l+`>
`}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,n,l){if(e=Ne(this.options.sanitize,this.options.baseUrl,e),e===null)return l;let t='<a href="'+M(e)+'"';return n&&(t+=' title="'+n+'"'),t+=">"+l+"</a>",t}image(e,n,l){if(e=Ne(this.options.sanitize,this.options.baseUrl,e),e===null)return l;let t='<img src="'+e+'" alt="'+l+'"';return n&&(t+=' title="'+n+'"'),t+=this.options.xhtml?"/>":">",t}text(e){return e}}class Mt{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,n,l){return""+l}image(e,n,l){return""+l}br(){return""}}class Pe{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,n){let l=e,t=0;if(this.seen.hasOwnProperty(l)){t=this.seen[e];do t++,l=e+"-"+t;while(this.seen.hasOwnProperty(l))}return n||(this.seen[e]=t,this.seen[l]=0),l}slug(e,n={}){const l=this.serialize(e);return this.getNextSafeSlug(l,n.dryrun)}}class ce{constructor(e){this.options=e||ge,this.options.renderer=this.options.renderer||new Pt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Mt,this.slugger=new Pe}static parse(e,n){return new ce(n).parse(e)}static parseInline(e,n){return new ce(n).parseInline(e)}parse(e,n=!0){let l="",t,i,r,a,o,f,u,$,b,d,Z,Q,j,O,P,te,F,X,G;const oe=e.length;for(t=0;t<oe;t++){if(d=e[t],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[d.type]&&(G=this.options.extensions.renderers[d.type].call({parser:this},d),G!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(d.type))){l+=G||"";continue}switch(d.type){case"space":continue;case"hr":{l+=this.renderer.hr();continue}case"heading":{l+=this.renderer.heading(this.parseInline(d.tokens),d.depth,Ue(this.parseInline(d.tokens,this.textRenderer)),this.slugger);continue}case"code":{l+=this.renderer.code(d.text,d.lang,d.escaped);continue}case"table":{for($="",u="",a=d.header.length,i=0;i<a;i++)u+=this.renderer.tablecell(this.parseInline(d.header[i].tokens),{header:!0,align:d.align[i]});for($+=this.renderer.tablerow(u),b="",a=d.rows.length,i=0;i<a;i++){for(f=d.rows[i],u="",o=f.length,r=0;r<o;r++)u+=this.renderer.tablecell(this.parseInline(f[r].tokens),{header:!1,align:d.align[r]});b+=this.renderer.tablerow(u)}l+=this.renderer.table($,b);continue}case"blockquote":{b=this.parse(d.tokens),l+=this.renderer.blockquote(b);continue}case"list":{for(Z=d.ordered,Q=d.start,j=d.loose,a=d.items.length,b="",i=0;i<a;i++)P=d.items[i],te=P.checked,F=P.task,O="",P.task&&(X=this.renderer.checkbox(te),j?P.tokens.length>0&&P.tokens[0].type==="paragraph"?(P.tokens[0].text=X+" "+P.tokens[0].text,P.tokens[0].tokens&&P.tokens[0].tokens.length>0&&P.tokens[0].tokens[0].type==="text"&&(P.tokens[0].tokens[0].text=X+" "+P.tokens[0].tokens[0].text)):P.tokens.unshift({type:"text",text:X}):O+=X),O+=this.parse(P.tokens,j),b+=this.renderer.listitem(O,F,te);l+=this.renderer.list(b,Z,Q);continue}case"html":{l+=this.renderer.html(d.text);continue}case"paragraph":{l+=this.renderer.paragraph(this.parseInline(d.tokens));continue}case"text":{for(b=d.tokens?this.parseInline(d.tokens):d.text;t+1<oe&&e[t+1].type==="text";)d=e[++t],b+=`
`+(d.tokens?this.parseInline(d.tokens):d.text);l+=n?this.renderer.paragraph(b):b;continue}default:{const ne='Token with "'+d.type+'" type was not found.';if(this.options.silent){console.error(ne);return}else throw new Error(ne)}}}return l}parseInline(e,n){n=n||this.renderer;let l="",t,i,r;const a=e.length;for(t=0;t<a;t++){if(i=e[t],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]&&(r=this.options.extensions.renderers[i.type].call({parser:this},i),r!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type))){l+=r||"";continue}switch(i.type){case"escape":{l+=n.text(i.text);break}case"html":{l+=n.html(i.text);break}case"link":{l+=n.link(i.href,i.title,this.parseInline(i.tokens,n));break}case"image":{l+=n.image(i.href,i.title,i.text);break}case"strong":{l+=n.strong(this.parseInline(i.tokens,n));break}case"em":{l+=n.em(this.parseInline(i.tokens,n));break}case"codespan":{l+=n.codespan(i.text);break}case"br":{l+=n.br();break}case"del":{l+=n.del(this.parseInline(i.tokens,n));break}case"text":{l+=n.text(i.text);break}default:{const o='Token with "'+i.type+'" type was not found.';if(this.options.silent){console.error(o);return}else throw new Error(o)}}}return l}}ce.parse;ie.lex;const Me={};function Ht(s){let e;return{c(){e=he(s[1])},l(n){e=pe(n,s[1])},m(n,l){g(n,e,l)},p(n,l){l&2&&_e(e,n[1])},i:H,o:H,d(n){n&&h(e)}}}function Qt(s){let e,n;const l=s[5].default,t=N(l,s,s[4],null);return{c(){e=R("h6"),t&&t.c(),this.h()},l(i){e=y(i,"H6",{id:!0});var r=T(e);t&&t.l(r),r.forEach(h),this.h()},h(){w(e,"id",s[2])},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&16)&&B(t,l,i,i[4],n?D(l,i[4],r,null):q(i[4]),null),(!n||r&4)&&w(e,"id",i[2])},i(i){n||(c(t,i),n=!0)},o(i){p(t,i),n=!1},d(i){i&&h(e),t&&t.d(i)}}}function jt(s){let e,n;const l=s[5].default,t=N(l,s,s[4],null);return{c(){e=R("h5"),t&&t.c(),this.h()},l(i){e=y(i,"H5",{id:!0});var r=T(e);t&&t.l(r),r.forEach(h),this.h()},h(){w(e,"id",s[2])},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&16)&&B(t,l,i,i[4],n?D(l,i[4],r,null):q(i[4]),null),(!n||r&4)&&w(e,"id",i[2])},i(i){n||(c(t,i),n=!0)},o(i){p(t,i),n=!1},d(i){i&&h(e),t&&t.d(i)}}}function Wt(s){let e,n;const l=s[5].default,t=N(l,s,s[4],null);return{c(){e=R("h4"),t&&t.c(),this.h()},l(i){e=y(i,"H4",{id:!0});var r=T(e);t&&t.l(r),r.forEach(h),this.h()},h(){w(e,"id",s[2])},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&16)&&B(t,l,i,i[4],n?D(l,i[4],r,null):q(i[4]),null),(!n||r&4)&&w(e,"id",i[2])},i(i){n||(c(t,i),n=!0)},o(i){p(t,i),n=!1},d(i){i&&h(e),t&&t.d(i)}}}function Ft(s){let e,n;const l=s[5].default,t=N(l,s,s[4],null);return{c(){e=R("h3"),t&&t.c(),this.h()},l(i){e=y(i,"H3",{id:!0});var r=T(e);t&&t.l(r),r.forEach(h),this.h()},h(){w(e,"id",s[2])},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&16)&&B(t,l,i,i[4],n?D(l,i[4],r,null):q(i[4]),null),(!n||r&4)&&w(e,"id",i[2])},i(i){n||(c(t,i),n=!0)},o(i){p(t,i),n=!1},d(i){i&&h(e),t&&t.d(i)}}}function Xt(s){let e,n;const l=s[5].default,t=N(l,s,s[4],null);return{c(){e=R("h2"),t&&t.c(),this.h()},l(i){e=y(i,"H2",{id:!0});var r=T(e);t&&t.l(r),r.forEach(h),this.h()},h(){w(e,"id",s[2])},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&16)&&B(t,l,i,i[4],n?D(l,i[4],r,null):q(i[4]),null),(!n||r&4)&&w(e,"id",i[2])},i(i){n||(c(t,i),n=!0)},o(i){p(t,i),n=!1},d(i){i&&h(e),t&&t.d(i)}}}function Gt(s){let e,n;const l=s[5].default,t=N(l,s,s[4],null);return{c(){e=R("h1"),t&&t.c(),this.h()},l(i){e=y(i,"H1",{id:!0});var r=T(e);t&&t.l(r),r.forEach(h),this.h()},h(){w(e,"id",s[2])},m(i,r){g(i,e,r),t&&t.m(e,null),n=!0},p(i,r){t&&t.p&&(!n||r&16)&&B(t,l,i,i[4],n?D(l,i[4],r,null):q(i[4]),null),(!n||r&4)&&w(e,"id",i[2])},i(i){n||(c(t,i),n=!0)},o(i){p(t,i),n=!1},d(i){i&&h(e),t&&t.d(i)}}}function Kt(s){let e,n,l,t;const i=[Gt,Xt,Ft,Wt,jt,Qt,Ht],r=[];function a(o,f){return o[0]===1?0:o[0]===2?1:o[0]===3?2:o[0]===4?3:o[0]===5?4:o[0]===6?5:6}return e=a(s),n=r[e]=i[e](s),{c(){n.c(),l=k()},l(o){n.l(o),l=k()},m(o,f){r[e].m(o,f),g(o,l,f),t=!0},p(o,[f]){let u=e;e=a(o),e===u?r[e].p(o,f):(A(),p(r