1var Re=Object.defineProperty;var $e=(h,e,t)=>e in h?Re(h,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):h[e]=t;var x=(h,e,t)=>$e(h,typeof e!="symbol"?e+"":e,t);import{a3 as Te,r as A,b as B,c as E,t as m,F as ze,D as Ae,G as Ce,y as Ie,H as Le,dR as Pe,ag as Be,d as Ee,x as Oe,e as De,C as qe,K as Me,f as je,a0 as Ne,a1 as Ze}from"./index-BlfFYnqV-1785825956027.js";const He="/assets/1065-CHxf_9p7.png";async function Ge(h,e){const t=h.getReader();let n;for(;!(n=await t.read()).done;)e(n.value)}function Qe(h){let e,t,n,r=!1;return function(i){e===void 0?(e=i,t=0,n=-1):e=Ve(e,i);const l=e.length;let c=0;for(;t<l;){r&&(e[t]===10&&(c=++t),r=!1);let a=-1;for(;t<l&&a===-1;++t)switch(e[t]){case 58:n===-1&&(n=t-c);break;case 13:r=!0;case 10:a=t;break}if(a===-1)break;h(e.subarray(c,a),n),c=t,n=-1}c===l?e=void 0:c!==0&&(e=e.subarray(c),t-=c)}}function Fe(h,e,t){let n=ae();const r=new TextDecoder;return function(i,l){if(i.length===0)t==null||t(n),n=ae();else if(l>0){const c=r.decode(i.subarray(0,l)),a=l+(i[l+1]===32?2:1),o=r.decode(i.subarray(a));switch(c){case"data":n.data=n.data?n.data+"\n"+o:o;break;case"event":n.event=o;break;case"id":h(n.id=o);break;case"retry":const p=parseInt(o,10);isNaN(p)||e(n.retry=p);break}}}}function Ve(h,e){const t=new Uint8Array(h.length+e.length);return t.set(h),t.set(e,h.length),t}function ae(){return{data:"",event:"",id:"",retry:void 0}}var Ue=function(h,e){var t={};for(var n in h)Object.prototype.hasOwnProperty.call(h,n)&&e.indexOf(n)<0&&(t[n]=h[n]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(h);r<n.length;r++)e.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(h,n[r])&&(t[n[r]]=h[n[r]]);return t};const J="text/event-stream",We=1e3,oe="last-event-id";function Je(h,e){var{signal:t,headers:n,onopen:r,onmessage:s,onclose:i,onerror:l,openWhenHidden:c,fetch:a}=e,o=Ue(e,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((p,u)=>{const d=Object.assign({},n);d.accept||(d.accept=J);let f;function g(){f.abort(),document.hidden||P()}c||document.addEventListener("visibilitychange",g);let w=We,L=0;function z(){document.removeEventListener("visibilitychange",g),window.clearTimeout(L),f.abort()}t==null||t.addEventListener("abort",()=>{z(),p()});const Z=a!=null?a:window.fetch,H=r!=null?r:Xe;async function P(){var O;f=new AbortController;try{const $=await Z(h,Object.assign(Object.assign({},o),{headers:d,signal:f.signal}));await H($),await Ge($.body,Qe(Fe(v=>{v?d[oe]=v:delete d[oe]},v=>{w=v},s))),i==null||i(),z(),p()}catch($){if(!f.signal.aborted)try{const v=(O=l==null?void 0:l($))!==null&&O!==void 0?O:w;window.clearTimeout(L),L=window.setTimeout(P,v)}catch(v){z(),u(v)}}}P()})}function Xe(h){const e=h.headers.get("content-type");if(!(e!=null&&e.startsWith(J)))throw new Error("Expected content-type to be ".concat(J,", Actual: ").concat(e))}function K(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let I=K();function fe(h){I=h}const M={exec:()=>null};function b(h,e=""){let t=typeof h=="string"?h:h.source;const n={replace:(r,s)=>{let i=typeof s=="string"?s:s.source;return i=i.replace(y.caret,"$1"),t=t.replace(r,i),n},getRegex:()=>new RegExp(t,e)};return n}const y={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:h=>new RegExp("^( {0,3}".concat(h,")((?:[ ][^\\n]*)?(?:\\n|$))")),nextBulletRegex:h=>new RegExp("^ {0,".concat(Math.min(3,h-1),"}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))")),hrRegex:h=>new RegExp("^ {0,".concat(Math.min(3,h-1),"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)")),fencesBeginRegex:h=>new RegExp("^ {0,".concat(Math.min(3,h-1),"}(?:```|~~~)")),headingBeginRegex:h=>new RegExp("^ {0,".concat(Math.min(3,h-1),"}#")),htmlBeginRegex:h=>new RegExp("^ {0,".concat(Math.min(3,h-1),"}<(?:[a-z].*>|!--)"),"i")},Ke=/^(?:[ \t]*(?:\n|$))+/,Ye=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,et=/^ {0,3}(`{3,}
vendor: 6,780 bytes, line 1
1(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,N=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,tt=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Y=/(?:[*+-]|\d{1,9}[.)])/,ge=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,ke=b(ge).replace(/bull/g,Y).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),nt=b(ge).replace(/bull/g,Y).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),ee=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,st=/^[^\n]+/,te=/(?!\s*\])(?:\\.|[^\[\]\\])+/,rt=b(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",te).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),it=b(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Y).getRegex(),U="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",ne=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,lt=b("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",ne).replace("tag",U).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),be=b(ee).replace("hr",N).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",U).getRegex(),at=b(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",be).getRegex(),se={blockquote:at,code:Ye,def:rt,fences:et,heading:tt,hr:N,html:lt,lheading:ke,list:it,newline:Ke,paragraph:be,table:M,text:st},ce=b("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",N).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",U).getRegex(),ot={...se,lheading:nt,table:ce,paragraph:b(ee).replace("hr",N).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",ce).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",U).getRegex()},ct={...se,html:b("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",ne).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:M,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:b(ee).replace("hr",N).replace("heading"," *#{1,6} *[^\n]").replace("lheading",ke).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},ht=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,pt=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,xe=/^( {2,}|\\)\n(?!\s*$)/,ut=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,W=/[\p{P}\p{S}]/u,re=/[\s\p{P}\p{S}]/u,me=/[^\s\p{P}\p{S}]/u,dt=b(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,re).getRegex(),we=/(?!~)[\p{P}\p{S}]/u,ft=/(?!~)[\s\p{P}\p{S}]/u,gt=/(?:[^\s\p{P}\p{S}]|~)/u,kt=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,ye=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,bt=b(ye,"u").replace(/punct/g,W).getRegex(),xt=b(ye,"u").replace(/punct/g,we).getRegex(),ve="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",mt=b(ve,"gu").replace(/notPunctSpace/g,me).replace(/punctSpace/g,re).replace(/punct/g,W).getRegex(),wt=b(ve,"gu").replace(/notPunctSpace/g,gt).replace(/punctSpace/g,ft).replace(/punct/g,we).getRegex(),yt=b("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,me).replace(/punctSpace/g,re).replace(/punct/g,W).getRegex(),vt=b(/\\(punct)/,"gu").replace(/punct/g,W).getRegex(),_t=b(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),St=b(ne).replace("(?:-->|$)","-->").getRegex(),Rt=b("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",St).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Q=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,$t=b(
vendor: 19,119 bytes, line 1
1/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Q).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),_e=b(/^!?\[(label)\]\[(ref)\]/).replace("label",Q).replace("ref",te).getRegex(),Se=b(/^!?\[(ref)\](?:\[\])?/).replace("ref",te).getRegex(),Tt=b("reflink|nolink(?!\\()","g").replace("reflink",_e).replace("nolink",Se).getRegex(),ie={_backpedal:M,anyPunctuation:vt,autolink:_t,blockSkip:kt,br:xe,code:pt,del:M,emStrongLDelim:bt,emStrongRDelimAst:mt,emStrongRDelimUnd:yt,escape:ht,link:$t,nolink:Se,punctuation:dt,reflink:_e,reflinkSearch:Tt,tag:Rt,text:ut,url:M},zt={...ie,link:b(/^!?\[(label)\]\((.*?)\)/).replace("label",Q).getRegex(),reflink:b(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Q).getRegex()},X={...ie,emStrongRDelimAst:wt,emStrongLDelim:xt,url:b(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\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.!#$%&'*+\/=?_`{\|}~-]+@)))/},At={...X,br:b(xe).replace("{2,}","*").getRegex(),text:b(X.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},G={normal:se,gfm:ot,pedantic:ct},D={normal:ie,gfm:X,breaks:At,pedantic:zt},Ct={"&":"&","<":"<",">":">",'"':""","'":"'"},he=h=>Ct[h];function R(h,e){if(e){if(y.escapeTest.test(h))return h.replace(y.escapeReplace,he)}else if(y.escapeTestNoEncode.test(h))return h.replace(y.escapeReplaceNoEncode,he);return h}function pe(h){try{h=encodeURI(h).replace(y.percentDecode,"%")}catch(e){return null}return h}function ue(h,e){var s;const t=h.replace(y.findPipe,(i,l,c)=>{let a=!1,o=l;for(;--o>=0&&c[o]==="\\";)a=!a;return a?"|":" |"}),n=t.split(y.splitPipe);let r=0;if(n[0].trim()||n.shift(),n.length>0&&!((s=n.at(-1))!=null&&s.trim())&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(y.slashPipe,"|");return n}function q(h,e,t){const n=h.length;if(n===0)return"";let r=0;for(;r<n&&h.charAt(n-r-1)===e;)r++;return h.slice(0,n-r)}function It(h,e){if(h.indexOf(e[1])===-1)return-1;let t=0;for(let n=0;n<h.length;n++)if(h[n]==="\\")n++;else if(h[n]===e[0])t++;else if(h[n]===e[1]&&(t--,t<0))return n;return-1}function de(h,e,t,n,r){const s=e.href,i=e.title||null,l=h[1].replace(r.other.outputLinkReplace,"$1");if(h[0].charAt(0)!=="!"){n.state.inLink=!0;const c={type:"link",raw:t,href:s,title:i,text:l,tokens:n.inlineTokens(l)};return n.state.inLink=!1,c}return{type:"image",raw:t,href:s,title:i,text:l}}function Lt(h,e,t){const n=h.match(t.other.indentCodeCompensation);if(n===null)return e;const r=n[1];return e.split("\n").map(s=>{const i=s.match(t.other.beginningSpace);if(i===null)return s;const[l]=i;return l.length>=r.length?s.slice(r.length):s}).join("\n")}class F{constructor(e){x(this,"options");x(this,"rules");x(this,"lexer");this.options=e||I}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const n=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:q(n,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const n=t[0],r=Lt(n,t[3]||"",this.rules);return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(this.rules.other.endingHash.test(n)){const r=q(n,"#");(this.options.pedantic||!r||this.rules.other.endingSpaceChar.test(r))&&(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:q(t[0],"\n")}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let n=q(t[0],"\n").split("\n"),r="",s="";const i=[];for(;n.length>0;){let l=!1;const c=[];let a;for(a=0;a<n.length;a++)if(this.rules.other.blockquoteStart.test(n[a]))c.push(n[a]),l=!0;else if(!l)c.push(n[a]);else break;n=n.slice(a);const o=c.join("\n"),p=o.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");r=r?"".concat(r,"\n").concat(o):o,s=s?"".concat(s,"\n").concat(p):p;const u=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(p,i,!0),this.lexer.state.top=u,n.length===0)break;const d=i.at(-1);if((d==null?void 0:d.type)==="code")break;if((d==null?void 0:d.type)==="blockquote"){const f=d,g=f.raw+"\n"+n.join("\n"),w=this.blockquote(g);i[i.length-1]=w,r=r.substring(0,r.length-f.raw.length)+w.raw,s=s.substring(0,s.length-f.text.length)+w.text;break}else if((d==null?void 0:d.type)==="list"){const f=d,g=f.raw+"\n"+n.join("\n"),w=this.list(g);i[i.length-1]=w,r=r.substring(0,r.length-d.raw.length)+w.raw,s=s.substring(0,s.length-f.raw.length)+w.raw,n=g.substring(i.at(-1).raw.length).split("\n");continue}}return{type:"blockquote",raw:r,tokens:i,text:s}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim();const r=n.length>1,s={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?"\\d{1,9}\\".concat(n.slice(-1)):"\\".concat(n),this.options.pedantic&&(n=r?n:"[*+-]");const i=this.rules.other.listItemRegex(n);let l=!1;for(;e;){let a=!1,o="",p="";if(!(t=i.exec(e))||this.rules.block.hr.test(e))break;o=t[0],e=e.substring(o.length);let u=t[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,z=>" ".repeat(3*z.length)),d=e.split("\n",1)[0],f=!u.trim(),g=0;if(this.options.pedantic?(g=2,p=u.trimStart()):f?g=t[1].length+1:(g=t[2].search(this.rules.other.nonSpaceChar),g=g>4?1:g,p=u.slice(g),g+=t[1].length),f&&this.rules.other.blankLine.test(d)&&(o+=d+"\n",e=e.substring(d.length+1),a=!0),!a){const z=this.rules.other.nextBulletRegex(g),Z=this.rules.other.hrRegex(g),H=this.rules.other.fencesBeginRegex(g),P=this.rules.other.headingBeginRegex(g),O=this.rules.other.htmlBeginRegex(g);for(;e;){const $=e.split("\n",1)[0];let v;if(d=$,this.options.pedantic?(d=d.replace(this.rules.other.listReplaceNesting," "),v=d):v=d.replace(this.rules.other.tabCharGlobal," "),H.test(d)||P.test(d)||O.test(d)||z.test(d)||Z.test(d))break;if(v.search(this.rules.other.nonSpaceChar)>=g||!d.trim())p+="\n"+v.slice(g);else{if(f||u.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||H.test(u)||P.test(u)||Z.test(u))break;p+="\n"+d}!f&&!d.trim()&&(f=!0),o+=$+"\n",e=e.substring($.length+1),u=v.slice(g)}}s.loose||(l?s.loose=!0:this.rules.other.doubleBlankLine.test(o)&&(l=!0));let w=null,L;this.options.gfm&&(w=this.rules.other.listIsTask.exec(p),w&&(L=w[0]!=="[ ] ",p=p.replace(this.rules.other.listReplaceTask,""))),s.items.push({type:"list_item",raw:o,task:!!w,checked:L,loose:!1,text:p,tokens:[]}),s.raw+=o}const c=s.items.at(-1);if(c)c.raw=c.raw.trimEnd(),c.text=c.text.trimEnd();else return;s.raw=s.raw.trimEnd();for(let a=0;a<s.items.length;a++)if(this.lexer.state.top=!1,s.items[a].tokens=this.lexer.blockTokens(s.items[a].text,[]),!s.loose){const o=s.items[a].tokens.filter(u=>u.type==="space"),p=o.length>0&&o.some(u=>this.rules.other.anyLine.test(u.raw));s.loose=p}if(s.loose)for(let a=0;a<s.items.length;a++)s.items[a].loose=!0;return s}}html(e){const t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:t[0]}}def(e){const t=this.rules.block.def.exec(e);if(t){const n=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",s=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:r,title:s}}}table(e){var l;const t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;const n=ue(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),s=(l=t[3])!=null&&l.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],i={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(const c of r)this.rules.other.tableAlignRight.test(c)?i.align.push("right"):this.rules.other.tableAlignCenter.test(c)?i.align.push("center"):this.rules.other.tableAlignLeft.test(c)?i.align.push("left"):i.align.push(null);for(let c=0;c<n.length;c++)i.header.push({text:n[c],tokens:this.lexer.inline(n[c]),header:!0,align:i.align[c]});for(const c of s)i.rows.push(ue(c,i.header.length).map((a,o)=>({text:a,tokens:this.lexer.inline(a),header:!1,align:i.align[o]})));return i}}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],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const n=t[1].charAt(t[1].length-1)==="\n"?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const n=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;const i=q(n.slice(0,-1),"\\");if((n.length-i.length)%2===0)return}else{const i=It(t[2],"()");if(i>-1){const c=(t[0].indexOf("!")===0?5:4)+t[1].length+i;t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,c).trim(),t[3]=""}}let r=t[2],s="";if(this.options.pedantic){const i=this.rules.other.pedanticHrefTitle.exec(r);i&&(r=i[1],s=i[3])}else s=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?r=r.slice(1):r=r.slice(1,-1)),de(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:s&&s.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){const r=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),s=t[r.toLowerCase()];if(!s){const i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return de(n,s,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(!r||r[3]&&n.match(this.rules.other.unicodeAlphaNumeric))return;if(!(r[1]||r[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const i=[...r[0]].length-1;let l,c,a=i,o=0;const p=r[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(p.lastIndex=0,t=t.slice(-1*e.length+i);(r=p.exec(t))!=null;){if(l=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!l)continue;if(c=[...l].length,r[3]||r[4]){a+=c;continue}else if((r[5]||r[6])&&i%3&&!((i+c)%3)){o+=c;continue}if(a-=c,a>0)continue;c=Math.min(c,c+a+o);const u=[...r[0]][0].length,d=e.slice(0,i+r.index+u+c);if(Math.min(i,c)%2){const g=d.slice(1,-1);return{type:"em",raw:d,text:g,tokens:this.lexer.inlineTokens(g)}}const f=d.slice(2,-2);return{type:"strong",raw:d,text:f,tokens:this.lexer.inlineTokens(f)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(this.rules.other.newLineCharGlobal," ");const r=this.rules.other.nonSpaceChar.test(n),s=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return r&&s&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:t[0],text:n}}}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[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let n,r;return t[2]==="@"?(n=t[1],r="mailto:"+n):(n=t[1],r=n),{type:"link",raw:t[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}url(e){var n,r;let t;if(t=this.rules.inline.url.exec(e)){let s,i;if(t[2]==="@")s=t[0],i="mailto:"+s;else{let l;do l=t[0],t[0]=(r=(n=this.rules.inline._backpedal.exec(t[0]))==null?void 0:n[0])!=null?r:"";while(l!==t[0]);s=t[0],t[1]==="www."?i="http://"+t[0]:i=t[0]}return{type:"link",raw:t[0],text:s,href:i,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){const n=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:n}}}}class _{constructor(e){x(this,"tokens");x(this,"options");x(this,"state");x(this,"tokenizer");x(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=e||I,this.options.tokenizer=this.options.tokenizer||new F,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={other:y,block:G.normal,inline:D.normal};this.options.pedantic?(t.block=G.pedantic,t.inline=D.pedantic):this.options.gfm&&(t.block=G.gfm,this.options.breaks?t.inline=D.breaks:t.inline=D.gfm),this.tokenizer.rules=t}static get rules(){return{block:G,inline:D}}static lex(e,t){return new _(t).lex(e)}static lexInline(e,t){return new _(t).inlineTokens(e)}lex(e){e=e.replace(y.carriageReturn,"\n"),this.blockTokens(e,this.tokens);for(let t=0;t<this.inlineQueue.length;t++){const n=this.inlineQueue[t];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){var r,s,i;for(this.options.pedantic&&(e=e.replace(y.tabCharGlobal," ").replace(y.spaceLine,""));e;){let l;if((s=(r=this.options.extensions)==null?void 0:r.block)!=null&&s.some(a=>(l=a.call({lexer:this},e,t))?(e=e.substring(l.raw.length),t.push(l),!0):!1))continue;if(l=this.tokenizer.space(e)){e=e.substring(l.raw.length);const a=t.at(-1);l.raw.length===1&&a!==void 0?a.raw+="\n":t.push(l);continue}if(l=this.tokenizer.code(e)){e=e.substring(l.raw.length);const a=t.at(-1);(a==null?void 0:a.type)==="paragraph"||(a==null?void 0:a.type)==="text"?(a.raw+="\n"+l.raw,a.text+="\n"+l.text,this.inlineQueue.at(-1).src=a.text):t.push(l);continue}if(l=this.tokenizer.fences(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.heading(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.hr(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.blockquote(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.list(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.html(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.def(e)){e=e.substring(l.raw.length);const a=t.at(-1);(a==null?void 0:a.type)==="paragraph"||(a==null?void 0:a.type)==="text"?(a.raw+="\n"+l.raw,a.text+="\n"+l.raw,this.inlineQueue.at(-1).src=a.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),t.push(l);continue}if(l=this.tokenizer.lheading(e)){e=e.substring(l.raw.length),t.push(l);continue}let c=e;if((i=this.options.extensions)!=null&&i.startBlock){let a=1/0;const o=e.slice(1);let p;this.options.extensions.startBlock.forEach(u=>{p=u.call({lexer:this},o),typeof p=="number"&&p>=0&&(a=Math.min(a,p))}),a<1/0&&a>=0&&(c=e.substring(0,a+1))}if(this.state.top&&(l=this.tokenizer.paragraph(c))){const a=t.at(-1);n&&(a==null?void 0:a.type)==="paragraph"?(a.raw+="\n"+l.raw,a.text+="\n"+l.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):t.push(l),n=c.length!==e.length,e=e.substring(l.raw.length);continue}if(l=this.tokenizer.text(e)){e=e.substring(l.raw.length);const a=t.at(-1);(a==null?void 0:a.type)==="text"?(a.raw+="\n"+l.raw,a.text+="\n"+l.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):t.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,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){var l,c,a;let n=e,r=null;if(this.tokens.links){const o=Object.keys(this.tokens.links);if(o.length>0)for(;(r=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)o.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(r=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(r=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,r.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let s=!1,i="";for(;e;){s||(i=""),s=!1;let o;if((c=(l=this.options.extensions)==null?void 0:l.inline)!=null&&c.some(u=>(o=u.call({lexer:this},e,t))?(e=e.substring(o.raw.length),t.push(o),!0):!1))continue;if(o=this.tokenizer.escape(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.tag(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.link(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(o.raw.length);const u=t.at(-1);o.type==="text"&&(u==null?void 0:u.type)==="text"?(u.raw+=o.raw,u.text+=o.text):t.push(o);continue}if(o=this.tokenizer.emStrong(e,n,i)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.codespan(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.br(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.del(e)){e=e.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.autolink(e)){e=e.substring(o.raw.length),t.push(o);continue}if(!this.state.inLink&&(o=this.tokenizer.url(e))){e=e.substring(o.raw.length),t.push(o);continue}let p=e;if((a=this.options.extensions)!=null&&a.startInline){let u=1/0;const d=e.slice(1);let f;this.options.extensions.startInline.forEach(g=>{f=g.call({lexer:this},d),typeof f=="number"&&f>=0&&(u=Math.min(u,f))}),u<1/0&&u>=0&&(p=e.substring(0,u+1))}if(o=this.tokenizer.inlineText(p)){e=e.substring(o.raw.length),o.raw.slice(-1)!=="_"&&(i=o.raw.slice(-1)),s=!0;const u=t.at(-1);
1(u==null?void 0:u.type)==="text"?(u.raw+=o.raw,u.text+=o.text):t.push(o);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 t}}class V{constructor(e){x(this,"options");x(this,"parser");this.options=e||I}space(e){return""}code({text:e,lang:t,escaped:n}){var i;const r=(i=(t||"").match(y.notSpaceStart))==null?void 0:i[0],s=e.replace(y.endingNewline,"")+"\n";return r?'<pre><code class="language-'+R(r)+'">'+(n?s:R(s,!0))+"</code></pre>\n":"<pre><code>"+(n?s:R(s,!0))+"</code></pre>\n"}blockquote({tokens:e}){const t=this.parser.parse(e);return"<blockquote>\n".concat(t,"</blockquote>\n")}html({text:e}){return e}heading({tokens:e,depth:t}){return"<h".concat(t,">").concat(this.parser.parseInline(e),"</h").concat(t,">\n")}hr(e){return"<hr>\n"}list(e){const t=e.ordered,n=e.start;let r="";for(let l=0;l<e.items.length;l++){const c=e.items[l];r+=this.listitem(c)}const s=t?"ol":"ul",i=t&&n!==1?' start="'+n+'"':"";return"<"+s+i+">\n"+r+"</"+s+">\n"}listitem(e){var n;let t="";if(e.task){const r=this.checkbox({checked:!!e.checked});e.loose?((n=e.tokens[0])==null?void 0:n.type)==="paragraph"?(e.tokens[0].text=r+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&e.tokens[0].tokens[0].type==="text"&&(e.tokens[0].tokens[0].text=r+" "+R(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:r+" ",text:r+" ",escaped:!0}):t+=r+" "}return t+=this.parser.parse(e.tokens,!!e.loose),"<li>".concat(t,"</li>\n")}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return"<p>".concat(this.parser.parseInline(e),"</p>\n")}table(e){let t="",n="";for(let s=0;s<e.header.length;s++)n+=this.tablecell(e.header[s]);t+=this.tablerow({text:n});let r="";for(let s=0;s<e.rows.length;s++){const i=e.rows[s];n="";for(let l=0;l<i.length;l++)n+=this.tablecell(i[l]);r+=this.tablerow({text:n})}return r&&(r="<tbody>".concat(r,"</tbody>")),"<table>\n<thead>\n"+t+"</thead>\n"+r+"</table>\n"}tablerow({text:e}){return"<tr>\n".concat(e,"</tr>\n")}tablecell(e){const t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?"<".concat(n,' align="').concat(e.align,'">'):"<".concat(n,">"))+t+"</".concat(n,">\n")}strong({tokens:e}){return"<strong>".concat(this.parser.parseInline(e),"</strong>")}em({tokens:e}){return"<em>".concat(this.parser.parseInline(e),"</em>")}codespan({text:e}){return"<code>".concat(R(e,!0),"</code>")}br(e){return"<br>"}del({tokens:e}){return"<del>".concat(this.parser.parseInline(e),"</del>")}link({href:e,title:t,tokens:n}){const r=this.parser.parseInline(n),s=pe(e);if(s===null)return r;e=s;let i='<a href="'+e+'"';return t&&(i+=' title="'+R(t)+'"'),i+=">"+r+"</a>",i}image({href:e,title:t,text:n}){const r=pe(e);if(r===null)return R(n);e=r;let s='<img src="'.concat(e,'" alt="').concat(n,'"');return t&&(s+=' title="'.concat(R(t),'"')),s+=">",s}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:R(e.text)}}class le{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}}class S{constructor(e){x(this,"options");x(this,"renderer");x(this,"textRenderer");this.options=e||I,this.options.renderer=this.options.renderer||new V,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new le}static parse(e,t){return new S(t).parse(e)}static parseInline(e,t){return new S(t).parseInline(e)}parse(e,t=!0){var r,s;let n="";for(let i=0;i<e.length;i++){const l=e[i];if((s=(r=this.options.extensions)==null?void 0:r.renderers)!=null&&s[l.type]){const a=l,o=this.options.extensions.renderers[a.type].call({parser:this},a);if(o!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(a.type)){n+=o||"";continue}}const c=l;switch(c.type){case"space":{n+=this.renderer.space(c);continue}case"hr":{n+=this.renderer.hr(c);continue}case"heading":{n+=this.renderer.heading(c);continue}case"code":{n+=this.renderer.code(c);continue}case"table":{n+=this.renderer.table(c);continue}case"blockquote":{n+=this.renderer.blockquote(c);continue}case"list":{n+=this.renderer.list(c);continue}case"html":{n+=this.renderer.html(c);continue}case"paragraph":{n+=this.renderer.paragraph(c);continue}case"text":{let a=c,o=this.renderer.text(a);for(;i+1<e.length&&e[i+1].type==="text";)a=e[++i],o+="\n"+this.renderer.text(a);t?n+=this.renderer.paragraph({type:"paragraph",raw:o,text:o,tokens:[{type:"text",raw:o,text:o,escaped:!0}]}):n+=o;continue}default:{const a='Token with "'+c.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return n}parseInline(e,t=this.renderer){var r,s;let n="";for(let i=0;i<e.length;i++){const l=e[i];if((s=(r=this.options.extensions)==null?void 0:r.renderers)!=null&&s[l.type]){const a=this.options.extensions.renderers[l.type].call({parser:this},l);if(a!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(l.type)){n+=a||"";continue}}const c=l;switch(c.type){case"escape":{n+=t.text(c);break}case"html":{n+=t.html(c);break}case"link":{n+=t.link(c);break}case"image":{n+=t.image(c);break}case"strong":{n+=t.strong(c);break}case"em":{n+=t.em(c);break}case"codespan":{n+=t.codespan(c);break}case"br":{n+=t.br(c);break}case"del":{n+=t.del(c);break}case"text":{n+=t.text(c);break}default:{const a='Token with "'+c.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return n}}class j{constructor(e){x(this,"options");x(this,"block");this.options=e||I}preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?_.lex:_.lexInline}provideParser(){return this.block?S.parse:S.parseInline}}x(j,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));class Pt{constructor(...e){x(this,"defaults",K());x(this,"options",this.setOptions);x(this,"parse",this.parseMarkdown(!0));x(this,"parseInline",this.parseMarkdown(!1));x(this,"Parser",S);x(this,"Renderer",V);x(this,"TextRenderer",le);x(this,"Lexer",_);x(this,"Tokenizer",F);x(this,"Hooks",j);this.use(...e)}walkTokens(e,t){var r,s;let n=[];for(const i of e)switch(n=n.concat(t.call(this,i)),i.type){case"table":{const l=i;for(const c of l.header)n=n.concat(this.walkTokens(c.tokens,t));for(const c of l.rows)for(const a of c)n=n.concat(this.walkTokens(a.tokens,t));break}case"list":{const l=i;
1n=n.concat(this.walkTokens(l.items,t));break}default:{const l=i;(s=(r=this.defaults.extensions)==null?void 0:r.childTokens)!=null&&s[l.type]?this.defaults.extensions.childTokens[l.type].forEach(c=>{const a=l[c].flat(1/0);n=n.concat(this.walkTokens(a,t))}):l.tokens&&(n=n.concat(this.walkTokens(l.tokens,t)))}}return n}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{const r={...n};if(r.async=this.defaults.async||r.async||!1,n.extensions&&(n.extensions.forEach(s=>{if(!s.name)throw new Error("extension name required");if("renderer"in s){const i=t.renderers[s.name];i?t.renderers[s.name]=function(...l){let c=s.renderer.apply(this,l);return c===!1&&(c=i.apply(this,l)),c}:t.renderers[s.name]=s.renderer}if("tokenizer"in s){if(!s.level||s.level!=="block"&&s.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const i=t[s.level];i?i.unshift(s.tokenizer):t[s.level]=[s.tokenizer],s.start&&(s.level==="block"?t.startBlock?t.startBlock.push(s.start):t.startBlock=[s.start]:s.level==="inline"&&(t.startInline?t.startInline.push(s.start):t.startInline=[s.start]))}"childTokens"in s&&s.childTokens&&(t.childTokens[s.name]=s.childTokens)}),r.extensions=t),n.renderer){const s=this.defaults.renderer||new V(this.defaults);for(const i in n.renderer){if(!(i in s))throw new Error("renderer '".concat(i,"' does not exist"));if(["options","parser"].includes(i))continue;const l=i,c=n.renderer[l],a=s[l];s[l]=(...o)=>{let p=c.apply(s,o);return p===!1&&(p=a.apply(s,o)),p||""}}r.renderer=s}if(n.tokenizer){const s=this.defaults.tokenizer||new F(this.defaults);for(const i in n.tokenizer){if(!(i in s))throw new Error("tokenizer '".concat(i,"' does not exist"));if(["options","rules","lexer"].includes(i))continue;const l=i,c=n.tokenizer[l],a=s[l];s[l]=(...o)=>{let p=c.apply(s,o);return p===!1&&(p=a.apply(s,o)),p}}r.tokenizer=s}if(n.hooks){const s=this.defaults.hooks||new j;for(const i in n.hooks){if(!(i in s))throw new Error("hook '".concat(i,"' does not exist"));if(["options","block"].includes(i))continue;const l=i,c=n.hooks[l],a=s[l];j.passThroughHooks.has(i)?s[l]=o=>{if(this.defaults.async)return Promise.resolve(c.call(s,o)).then(u=>a.call(s,u));const p=c.call(s,o);return a.call(s,p)}:s[l]=(...o)=>{let p=c.apply(s,o);return p===!1&&(p=a.apply(s,o)),p}}r.hooks=s}if(n.walkTokens){const s=this.defaults.walkTokens,i=n.walkTokens;r.walkTokens=function(l){let c=[];return c.push(i.call(this,l)),s&&(c=c.concat(s.call(this,l))),c}}this.defaults={...this.defaults,...r}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return _.lex(e,t!=null?t:this.defaults)}parser(e,t){return S.parse(e,t!=null?t:this.defaults)}parseMarkdown(e){return(n,r)=>{const s={...r},i={...this.defaults,...s},l=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&s.async===!1)return l(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof n>"u"||n===null)return l(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return l(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));i.hooks&&(i.hooks.options=i,i.hooks.block=e);const c=i.hooks?i.hooks.provideLexer():e?_.lex:_.lexInline,a=i.hooks?i.hooks.provideParser():e?S.parse:S.parseInline;if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(n):n).then(o=>c(o,i)).then(o=>i.hooks?i.hooks.processAllTokens(o):o).then(o=>i.walkTokens?Promise.all(this.walkTokens(o,i.walkTokens)).then(()=>o):o).then(o=>a(o,i)).then(o=>i.hooks?i.hooks.postprocess(o):o).catch(l);try{i.hooks&&(n=i.hooks.preprocess(n));let o=c(n,i);i.hooks&&(o=i.hooks.processAllTokens(o)),i.walkTokens&&this.walkTokens(o,i.walkTokens);let p=a(o,i);return i.hooks&&(p=i.hooks.postprocess(p)),p}catch(o){return l(o)}}}onError(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const r="<p>An error occurred:</p><pre>"+R(n.message+"",!0)+"</pre>";return t?Promise.resolve(r):r}if(t)return Promise.reject(n);throw n}}}const C=new Pt;function k(h,e){return C.parse(h,e)}k.options=k.setOptions=function(h){return C.setOptions(h),k.defaults=C.defaults,fe(k.defaults),k};k.getDefaults=K;k.defaults=I;k.use=function(...h){return C.use(...h),k.defaults=C.defaults,fe(k.defaults),k};k.walkTokens=function(h,e){return C.walkTokens(h,e)};k.parseInline=C.parseInline;k.Parser=S;k.parser=S.parse;k.Renderer=V;k.TextRenderer=le;k.Lexer=_;k.lexer=_.lex;k.Tokenizer=F;k.Hooks=j;k.parse=k;k.options;k.setOptions;k.use;k.walkTokens;k.parseInline;S.parse;_.lex;const T=h=>(Ne("data-v-9a16aa62"),h=h(),Ze(),h),Bt={class:"chat-container"},Et=T(()=>m("div",{class:"header-left"},[m("div",null,"è¶³åå°æº")],-1)),Ot=T(()=>m("svg",{t:"1741768432759",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3698",width:"16",height:"16"}
1,[m("path",{d:"M983.480349 307.199781A512.950491 512.950491 0 0 0 513.318399 0a512.365348 512.365348 0 0 0-410.843135 205.531282 42.422827 42.422827 0 0 0 67.80338 50.687964 427.66598 427.66598 0 0 1 343.039755-171.666164 428.251123 428.251123 0 0 1 392.557434 256.438674 42.422827 42.422827 0 0 0 77.604516-33.865118zM34.379313 332.799762A334.55519 334.55519 0 0 0 0.002194 469.869379a42.276541 42.276541 0 0 0 84.699368 0.877713 251.611249 251.611249 0 0 1 24.795411-99.035358A42.422827 42.422827 0 0 0 34.379313 332.799762z m10.166849 387.144867A512.950491 512.950491 0 0 0 513.318399 1023.999269a512.365348 512.365348 0 0 0 410.404278-204.872997 42.422827 42.422827 0 0 0-67.730237-50.761107 427.66598 427.66598 0 0 1-342.674041 171.081021 428.251123 428.251123 0 0 1-391.387149-253.805533 42.422827 42.422827 0 0 0-77.385088 34.377118z m948.954751-24.575983c21.284556-43.885683 30.866264-89.96565 30.50055-142.628469a42.276541 42.276541 0 0 0-84.699368 0.731428c0.292571 40.009114-6.582852 73.362233-21.942842 105.033067a42.422827 42.422827 0 0 0 76.214803 36.937117z",fill:"#ffffff","p-id":"3699"}),m("path",{d:"M776.632497 276.333517A44.982825 44.982825 0 0 0 731.430243 321.096914c0 24.649125 20.260557 44.690254 45.202254 44.690253h177.005588A69.924521 69.924521 0 0 0 1024.001463 296.22836V117.759916a44.982825 44.982825 0 0 0-45.202254-44.617111 44.982825 44.982825 0 0 0-45.275396 44.617111v158.573601h-156.891316zM247.37116 747.665752A44.982825 44.982825 0 0 0 292.573414 702.902355 44.982825 44.982825 0 0 0 247.37116 658.285244H70.365573A69.924521 69.924521 0 0 0 0.002194 727.770909v178.468444c0 24.575982 20.260557 44.617111 45.202254 44.617111a44.982825 44.982825 0 0 0 45.275396-44.617111v-158.573601h156.891316z",fill:"#ffffff","p-id":"3700"})],-1)),Dt=[Ot],qt={key:0,class:"user"},Mt={class:"content"},jt=Me('<div class="avatar" data-v-9a16aa62><div class="shrink-0 w-10 h-10" data-v-9a16aa62><div class="w-full h-full rounded-full border-[0.5px] border-black/5" data-v-9a16aa62><svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg" class="w-full h-full" data-icon="User" aria-hidden="true" data-v-9a16aa62><g clip-path="url(#clip0_5968_39205)" data-v-9a16aa62><rect width="512" height="512" rx="256" fill="#B2DDFF" data-v-9a16aa62></rect><circle opacity="0.68" cx="256" cy="196" r="84" fill="white" data-v-9a16aa62></circle><ellipse opacity="0.68" cx="256" cy="583.5" rx="266" ry="274.5" fill="white" data-v-9a16aa62></ellipse></g><defs data-v-9a16aa62><clipPath id="clip0_5968_39205" data-v-9a16aa62><rect width="512" height="512" rx="256" fill="white" data-v-9a16aa62></rect></clipPath></defs></svg></div></div></div>',1),Nt={key:1,class:"answer"},Zt=T(()=>m("div",{class:"avatar"},[m("div",{class:"shrink-0 relative w-10 h-10"},[m("img",{style:{width:"100%",height:"100%"},src:He,alt:"",srcset:""})])],-1)),Ht={class:"res"},Gt=T(()=>m("div",{class:"flow"},"工使µããã",-1)),Qt=["innerHTML"],Ft={key:0,class:"stop-wrap"},Vt=T(()=>m("svg",{t:"1741771158433",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2591",width:"16",height:"16"},[m("path",{d:"M510.9 60.7c-245.6 0-446.7 199.8-446.7 446.7C64.2 753 263.9 954 510.8 954s446.6-199.7 446.6-446.6c0.1-245.6-199.6-446.7-446.5-446.7z m139.8 574c0 8.8-7.2 16-16 16H389.3c-8.8 0-16-7.2-16-16V389.3c0-8.8 7.2-16 16-16h245.5c8.8 0 16 7.2 16 16v245.4z","p-id":"2592"})],-1)),Ut=T(()=>m("span",{class:"text"},"忢ååº",-1)),Wt=[Vt,Ut],Jt={class:"input-area"},Xt=["disabled"],Kt=T(()=>m("div",null,null,-1)),Yt=T(()=>m("svg",{t:"1741767802626",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2585",width:"16",height:"16"},[m("path",{d:"M0 0l1024 512L0 1024V0z m0 409.6v204.8l512-102.4L0 409.6z","p-id":"2586",fill:"#ffffff"})],-1)),en=je({name:"ViewsSysDeepSeekIndex"}),tn=Object.assign(en,{setup(h){const e=A(""),t=u=>(JSON.stringify(k(u)),k(u)),n=A(""),r=A(!1),s=A([]),i=A(""),l=A(""),c=A(!1),a=()=>{s.value=[],i.value="",l.value=""},o=()=>{console.log("忢"),l.value&&fetch("/js/a/dify/stop?taskId=".concat(l.value),{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer app-iv6Dj2tRoRrhzIh1jMn2oOmt"},body:JSON.stringify({user:"system"})})},p=async()=>
1{if(console.log("ç¹å»åéæé®"),!n.value.trim()||r.value)return;s.value.push({role:"user",content:n.value,timestamp:new Date});let u={role:"assistant",content:"",reasoning_content:"",timestamp:new Date};s.value.push(u),"EventSource"in window?Je("/js/a/dify/sendMessages",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer app-iv6Dj2tRoRrhzIh1jMn2oOmt",Accept:"text/event-stream"},body:JSON.stringify({inputs:{},query:n.value,response_mode:"streaming",conversation_id:i.value,user:"system",files:[]}),openWhenHidden:!0,onmessage(f){try{n.value="",r.value=!0,c.value=!0;const g=f.data?JSON.parse(f.data):{answer:{},event:""};i.value=g.conversation_id,l.value=g.task_id;const w=g.answer;g.event==="message"&&(s.value[s.value.length-1].reasoning_content+=w),g.event=="message_end"&&(r.value=!1,l.value="",c.value=!1),setTimeout(()=>{e.value.scrollTop=e.value.scrollHeight},20)}catch(g){console.log(f,f.data,"0opooppp>>>>>>>>>>>>>>"),console.log("error-----:",g)}},onerror(f){console.log("err:",f)}}):console.log("error")};return(u,d)=>(B(),E("div",Bt,[m("div",{class:"chat-header"},[Et,m("div",{class:"mode-switch",onClick:a},Dt)]),m("div",{class:"messages",ref_key:"messagesRef",ref:e},[(B(!0),E(ze,null,Ae(s.value,f=>(B(),E("div",null,[f.role==="user"?(B(),E("div",qt,[m("div",Mt,Ce(f.content),1),jt])):(B(),E("div",Nt,[Zt,m("div",Ht,[Gt,m("div",{class:"markdown-body",innerHTML:t(f.reasoning_content)},null,8,Qt)])]))]))),256))],512),c.value?(B(),E("div",Ft,[m("div",{class:"stop-btn",onClick:o},Wt)])):Ie("",!0),m("div",Jt,[Le(m("textarea",{"onUpdate:modelValue":d[0]||(d[0]=f=>n.value=f),placeholder:"åæºå¨äººè天...",disabled:r.value,onKeydown:Be(p,["enter"])},null,40,Xt),[[Pe,n.value]]),Kt,Ee(De(qe),{onClick:p,disabled:!n.value.trim()||r.value,type:"button",class:"btn disabled:btn-disabled btn-primary btn-medium ml-3 px-0 w-8",style:{"background-color":"rgb(28, 100, 242)",display:"flex","justify-content":"center","align-items":"center"}},{default:Oe(()=>[Yt]),_:1},8,["disabled"])])]))}}),rn=Te(tn,[["__scopeId","data-v-9a16aa62"]]);export{rn as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.