round-core 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,52 @@
1
+ (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))t(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&t(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function t(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();function ye(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let B=ye();function Ze(r){B=r}const Qe=/[&<>"']/,xt=new RegExp(Qe.source,"g"),We=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,wt=new RegExp(We.source,"g"),St={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ze=r=>St[r];function T(r,e){if(e){if(Qe.test(r))return r.replace(xt,ze)}else if(We.test(r))return r.replace(wt,ze);return r}const _t=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Tt(r){return r.replace(_t,(e,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const $t=/(^|[^\[])\^/g;function k(r,e){let n=typeof r=="string"?r:r.source;e=e||"";const t={replace:(i,s)=>{let o=typeof s=="string"?s:s.source;return o=o.replace($t,"$1"),n=n.replace(i,o),t},getRegex:()=>new RegExp(n,e)};return t}function Ce(r){try{r=encodeURI(r).replace(/%25/g,"%")}catch{return null}return r}const G={exec:()=>null};function Ie(r,e){const n=r.replace(/\|/g,(s,o,l)=>{let a=!1,c=o;for(;--c>=0&&l[c]==="\\";)a=!a;return a?"|":" |"}),t=n.split(/ \|/);let i=0;if(t[0].trim()||t.shift(),t.length>0&&!t[t.length-1].trim()&&t.pop(),e)if(t.length>e)t.splice(e);else for(;t.length<e;)t.push("");for(;i<t.length;i++)t[i]=t[i].trim().replace(/\\\|/g,"|");return t}function ee(r,e,n){const t=r.length;if(t===0)return"";let i=0;for(;i<t&&r.charAt(t-i-1)===e;)i++;return r.slice(0,t-i)}function vt(r,e){if(r.indexOf(e[1])===-1)return-1;let n=0;for(let t=0;t<r.length;t++)if(r[t]==="\\")t++;else if(r[t]===e[0])n++;else if(r[t]===e[1]&&(n--,n<0))return t;return-1}function Re(r,e,n,t){const i=e.href,s=e.title?T(e.title):null,o=r[1].replace(/\\([\[\]])/g,"$1");if(r[0].charAt(0)!=="!"){t.state.inLink=!0;const l={type:"link",raw:n,href:i,title:s,text:o,tokens:t.inlineTokens(o)};return t.state.inLink=!1,l}return{type:"image",raw:n,href:i,title:s,text:T(o)}}function At(r,e){const n=r.match(/^(\s+)(?:```)/);if(n===null)return e;const t=n[1];return e.split(`
2
+ `).map(i=>{const s=i.match(/^\s+/);if(s===null)return i;const[o]=s;return o.length>=t.length?i.slice(t.length):i}).join(`
3
+ `)}class re{options;rules;lexer;constructor(e){this.options=e||B}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 t=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?t:ee(t,`
4
+ `)}}}fences(e){const n=this.rules.block.fences.exec(e);if(n){const t=n[0],i=At(t,n[3]||"");return{type:"code",raw:t,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:i}}}heading(e){const n=this.rules.block.heading.exec(e);if(n){let t=n[2].trim();if(/#$/.test(t)){const i=ee(t,"#");(this.options.pedantic||!i||/ $/.test(i))&&(t=i.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:t,tokens:this.lexer.inline(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){let t=n[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,`
5
+ $1`);t=ee(t.replace(/^ *>[ \t]?/gm,""),`
6
+ `);const i=this.lexer.state.top;this.lexer.state.top=!0;const s=this.lexer.blockTokens(t);return this.lexer.state.top=i,{type:"blockquote",raw:n[0],tokens:s,text:t}}}list(e){let n=this.rules.block.list.exec(e);if(n){let t=n[1].trim();const i=t.length>1,s={type:"list",raw:"",ordered:i,start:i?+t.slice(0,-1):"",loose:!1,items:[]};t=i?`\\d{1,9}\\${t.slice(-1)}`:`\\${t}`,this.options.pedantic&&(t=i?t:"[*+-]");const o=new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`);let l="",a="",c=!1;for(;e;){let u=!1;if(!(n=o.exec(e))||this.rules.block.hr.test(e))break;l=n[0],e=e.substring(l.length);let f=n[2].split(`
7
+ `,1)[0].replace(/^\t+/,E=>" ".repeat(3*E.length)),p=e.split(`
8
+ `,1)[0],h=0;this.options.pedantic?(h=2,a=f.trimStart()):(h=n[2].search(/[^ ]/),h=h>4?1:h,a=f.slice(h),h+=n[1].length);let _=!1;if(!f&&/^ *$/.test(p)&&(l+=p+`
9
+ `,e=e.substring(p.length+1),u=!0),!u){const E=new RegExp(`^ {0,${Math.min(3,h-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),z=new RegExp(`^ {0,${Math.min(3,h-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),W=new RegExp(`^ {0,${Math.min(3,h-1)}}(?:\`\`\`|~~~)`),q=new RegExp(`^ {0,${Math.min(3,h-1)}}#`);for(;e;){const y=e.split(`
10
+ `,1)[0];if(p=y,this.options.pedantic&&(p=p.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),W.test(p)||q.test(p)||E.test(p)||z.test(e))break;if(p.search(/[^ ]/)>=h||!p.trim())a+=`
11
+ `+p.slice(h);else{if(_||f.search(/[^ ]/)>=4||W.test(f)||q.test(f)||z.test(f))break;a+=`
12
+ `+p}!_&&!p.trim()&&(_=!0),l+=y+`
13
+ `,e=e.substring(y.length+1),f=p.slice(h)}}s.loose||(c?s.loose=!0:/\n *\n *$/.test(l)&&(c=!0));let b=null,v;this.options.gfm&&(b=/^\[[ xX]\] /.exec(a),b&&(v=b[0]!=="[ ] ",a=a.replace(/^\[[ xX]\] +/,""))),s.items.push({type:"list_item",raw:l,task:!!b,checked:v,loose:!1,text:a,tokens:[]}),s.raw+=l}s.items[s.items.length-1].raw=l.trimEnd(),s.items[s.items.length-1].text=a.trimEnd(),s.raw=s.raw.trimEnd();for(let u=0;u<s.items.length;u++)if(this.lexer.state.top=!1,s.items[u].tokens=this.lexer.blockTokens(s.items[u].text,[]),!s.loose){const f=s.items[u].tokens.filter(h=>h.type==="space"),p=f.length>0&&f.some(h=>/\n.*\n/.test(h.raw));s.loose=p}if(s.loose)for(let u=0;u<s.items.length;u++)s.items[u].loose=!0;return s}}html(e){const n=this.rules.block.html.exec(e);if(n)return{type:"html",block:!0,raw:n[0],pre:n[1]==="pre"||n[1]==="script"||n[1]==="style",text:n[0]}}def(e){const n=this.rules.block.def.exec(e);if(n){const t=n[1].toLowerCase().replace(/\s+/g," "),i=n[2]?n[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",s=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):n[3];return{type:"def",tag:t,raw:n[0],href:i,title:s}}}table(e){const n=this.rules.block.table.exec(e);if(!n||!/[:|]/.test(n[2]))return;const t=Ie(n[1]),i=n[2].replace(/^\||\| *$/g,"").split("|"),s=n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(`
14
+ `):[],o={type:"table",raw:n[0],header:[],align:[],rows:[]};if(t.length===i.length){for(const l of i)/^ *-+: *$/.test(l)?o.align.push("right"):/^ *:-+: *$/.test(l)?o.align.push("center"):/^ *:-+ *$/.test(l)?o.align.push("left"):o.align.push(null);for(const l of t)o.header.push({text:l,tokens:this.lexer.inline(l)});for(const l of s)o.rows.push(Ie(l,o.header.length).map(a=>({text:a,tokens:this.lexer.inline(a)})));return o}}lheading(e){const n=this.rules.block.lheading.exec(e);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(e){const n=this.rules.block.paragraph.exec(e);if(n){const t=n[1].charAt(n[1].length-1)===`
15
+ `?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:t,tokens:this.lexer.inline(t)}}}text(e){const n=this.rules.block.text.exec(e);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(e){const n=this.rules.inline.escape.exec(e);if(n)return{type:"escape",raw:n[0],text:T(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:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(e){const n=this.rules.inline.link.exec(e);if(n){const t=n[2].trim();if(!this.options.pedantic&&/^</.test(t)){if(!/>$/.test(t))return;const o=ee(t.slice(0,-1),"\\");if((t.length-o.length)%2===0)return}else{const o=vt(n[2],"()");if(o>-1){const a=(n[0].indexOf("!")===0?5:4)+n[1].length+o;n[2]=n[2].substring(0,o),n[0]=n[0].substring(0,a).trim(),n[3]=""}}let i=n[2],s="";if(this.options.pedantic){const o=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);o&&(i=o[1],s=o[3])}else s=n[3]?n[3].slice(1,-1):"";return i=i.trim(),/^</.test(i)&&(this.options.pedantic&&!/>$/.test(t)?i=i.slice(1):i=i.slice(1,-1)),Re(n,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:s&&s.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer)}}reflink(e,n){let t;if((t=this.rules.inline.reflink.exec(e))||(t=this.rules.inline.nolink.exec(e))){const i=(t[2]||t[1]).replace(/\s+/g," "),s=n[i.toLowerCase()];if(!s){const o=t[0].charAt(0);return{type:"text",raw:o,text:o}}return Re(t,s,t[0],this.lexer)}}emStrong(e,n,t=""){let i=this.rules.inline.emStrongLDelim.exec(e);if(!i||i[3]&&t.match(/[\p{L}\p{N}]/u))return;if(!(i[1]||i[2]||"")||!t||this.rules.inline.punctuation.exec(t)){const o=[...i[0]].length-1;let l,a,c=o,u=0;const f=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(f.lastIndex=0,n=n.slice(-1*e.length+o);(i=f.exec(n))!=null;){if(l=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!l)continue;if(a=[...l].length,i[3]||i[4]){c+=a;continue}else if((i[5]||i[6])&&o%3&&!((o+a)%3)){u+=a;continue}if(c-=a,c>0)continue;a=Math.min(a,a+c+u);const p=[...i[0]][0].length,h=e.slice(0,o+i.index+p+a);if(Math.min(o,a)%2){const b=h.slice(1,-1);return{type:"em",raw:h,text:b,tokens:this.lexer.inlineTokens(b)}}const _=h.slice(2,-2);return{type:"strong",raw:h,text:_,tokens:this.lexer.inlineTokens(_)}}}}codespan(e){const n=this.rules.inline.code.exec(e);if(n){let t=n[2].replace(/\n/g," ");const i=/[^ ]/.test(t),s=/^ /.test(t)&&/ $/.test(t);return i&&s&&(t=t.substring(1,t.length-1)),t=T(t,!0),{type:"codespan",raw:n[0],text:t}}}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){const n=this.rules.inline.autolink.exec(e);if(n){let t,i;return n[2]==="@"?(t=T(n[1]),i="mailto:"+t):(t=T(n[1]),i=t),{type:"link",raw:n[0],text:t,href:i,tokens:[{type:"text",raw:t,text:t}]}}}url(e){let n;if(n=this.rules.inline.url.exec(e)){let t,i;if(n[2]==="@")t=T(n[0]),i="mailto:"+t;else{let s;do s=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])?.[0]??"";while(s!==n[0]);t=T(n[0]),n[1]==="www."?i="http://"+n[0]:i=n[0]}return{type:"link",raw:n[0],text:t,href:i,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(e){const n=this.rules.inline.text.exec(e);if(n){let t;return this.lexer.state.inRawBlock?t=n[0]:t=T(n[0]),{type:"text",raw:n[0],text:t}}}}const Et=/^(?: *(?:\n|$))+/,zt=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,Ct=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,X=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,It=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Ue=/(?:[*+-]|\d{1,9}[.)])/,Ge=k(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Ue).replace(/blockCode/g,/ {4}/).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/).getRegex(),xe=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Rt=/^[^\n]+/,we=/(?!\s*\])(?:\\.|[^\[\]\\])+/,jt=k(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",we).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Ot=k(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Ue).getRegex(),fe="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",Se=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Lt=k("^ {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",Se).replace("tag",fe).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ke=k(xe).replace("hr",X).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",fe).getRegex(),Mt=k(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Ke).getRegex(),_e={blockquote:Mt,code:zt,def:jt,fences:Ct,heading:It,hr:X,html:Lt,lheading:Ge,list:Ot,newline:Et,paragraph:Ke,table:G,text:Rt},je=k("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",X).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\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",fe).getRegex(),Pt={..._e,table:je,paragraph:k(xe).replace("hr",X).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",je).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",fe).getRegex()},Nt={..._e,html:k(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Se).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:G,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:k(xe).replace("hr",X).replace("heading",` *#{1,6} *[^
16
+ ]`).replace("lheading",Ge).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Xe=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Bt=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Je=/^( {2,}|\\)\n(?!\s*$)/,Ht=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,J="\\p{P}\\p{S}",Ft=k(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,J).getRegex(),qt=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,Dt=k(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,J).getRegex(),Zt=k("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,J).getRegex(),Qt=k("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,J).getRegex(),Wt=k(/\\([punct])/,"gu").replace(/punct/g,J).getRegex(),Ut=k(/^<(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(),Gt=k(Se).replace("(?:-->|$)","-->").getRegex(),Kt=k("^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",Gt).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),oe=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Xt=k(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",oe).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Ve=k(/^!?\[(label)\]\[(ref)\]/).replace("label",oe).replace("ref",we).getRegex(),Ye=k(/^!?\[(ref)\](?:\[\])?/).replace("ref",we).getRegex(),Jt=k("reflink|nolink(?!\\()","g").replace("reflink",Ve).replace("nolink",Ye).getRegex(),Te={_backpedal:G,anyPunctuation:Wt,autolink:Ut,blockSkip:qt,br:Je,code:Bt,del:G,emStrongLDelim:Dt,emStrongRDelimAst:Zt,emStrongRDelimUnd:Qt,escape:Xe,link:Xt,nolink:Ye,punctuation:Ft,reflink:Ve,reflinkSearch:Jt,tag:Kt,text:Ht,url:G},Vt={...Te,link:k(/^!?\[(label)\]\((.*?)\)/).replace("label",oe).getRegex(),reflink:k(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",oe).getRegex()},ge={...Te,escape:k(Xe).replace("])","~|])").getRegex(),url:k(/^((?: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\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.!#$%&'*+\/=?_`{\|}~-]+@)))/},Yt={...ge,br:k(Je).replace("{2,}","*").getRegex(),text:k(ge.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},te={normal:_e,gfm:Pt,pedantic:Nt},U={normal:Te,gfm:ge,breaks:Yt,pedantic:Vt};class R{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||B,this.options.tokenizer=this.options.tokenizer||new re,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 n={block:te.normal,inline:U.normal};this.options.pedantic?(n.block=te.pedantic,n.inline=U.pedantic):this.options.gfm&&(n.block=te.gfm,this.options.breaks?n.inline=U.breaks:n.inline=U.gfm),this.tokenizer.rules=n}static get rules(){return{block:te,inline:U}}static lex(e,n){return new R(n).lex(e)}static lexInline(e,n){return new R(n).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,`
17
+ `),this.blockTokens(e,this.tokens);for(let n=0;n<this.inlineQueue.length;n++){const t=this.inlineQueue[n];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,n=[]){this.options.pedantic?e=e.replace(/\t/g," ").replace(/^ +$/gm,""):e=e.replace(/^( *)(\t+)/gm,(l,a,c)=>a+" ".repeat(c.length));let t,i,s,o;for(;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(l=>(t=l.call({lexer:this},e,n))?(e=e.substring(t.raw.length),n.push(t),!0):!1))){if(t=this.tokenizer.space(e)){e=e.substring(t.raw.length),t.raw.length===1&&n.length>0?n[n.length-1].raw+=`
18
+ `:n.push(t);continue}if(t=this.tokenizer.code(e)){e=e.substring(t.raw.length),i=n[n.length-1],i&&(i.type==="paragraph"||i.type==="text")?(i.raw+=`
19
+ `+t.raw,i.text+=`
20
+ `+t.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text):n.push(t);continue}if(t=this.tokenizer.fences(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.heading(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.hr(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.blockquote(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.list(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.html(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.def(e)){e=e.substring(t.raw.length),i=n[n.length-1],i&&(i.type==="paragraph"||i.type==="text")?(i.raw+=`
21
+ `+t.raw,i.text+=`
22
+ `+t.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text):this.tokens.links[t.tag]||(this.tokens.links[t.tag]={href:t.href,title:t.title});continue}if(t=this.tokenizer.table(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.lheading(e)){e=e.substring(t.raw.length),n.push(t);continue}if(s=e,this.options.extensions&&this.options.extensions.startBlock){let l=1/0;const a=e.slice(1);let c;this.options.extensions.startBlock.forEach(u=>{c=u.call({lexer:this},a),typeof c=="number"&&c>=0&&(l=Math.min(l,c))}),l<1/0&&l>=0&&(s=e.substring(0,l+1))}if(this.state.top&&(t=this.tokenizer.paragraph(s))){i=n[n.length-1],o&&i.type==="paragraph"?(i.raw+=`
23
+ `+t.raw,i.text+=`
24
+ `+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):n.push(t),o=s.length!==e.length,e=e.substring(t.raw.length);continue}if(t=this.tokenizer.text(e)){e=e.substring(t.raw.length),i=n[n.length-1],i&&i.type==="text"?(i.raw+=`
25
+ `+t.raw,i.text+=`
26
+ `+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):n.push(t);continue}if(e){const l="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(l);break}else throw new Error(l)}}return this.state.top=!0,n}inline(e,n=[]){return this.inlineQueue.push({src:e,tokens:n}),n}inlineTokens(e,n=[]){let t,i,s,o=e,l,a,c;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;(l=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null;)u.includes(l[0].slice(l[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,l.index)+"["+"a".repeat(l[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(l=this.tokenizer.rules.inline.blockSkip.exec(o))!=null;)o=o.slice(0,l.index)+"["+"a".repeat(l[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(l=this.tokenizer.rules.inline.anyPunctuation.exec(o))!=null;)o=o.slice(0,l.index)+"++"+o.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(a||(c=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>(t=u.call({lexer:this},e,n))?(e=e.substring(t.raw.length),n.push(t),!0):!1))){if(t=this.tokenizer.escape(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.tag(e)){e=e.substring(t.raw.length),i=n[n.length-1],i&&t.type==="text"&&i.type==="text"?(i.raw+=t.raw,i.text+=t.text):n.push(t);continue}if(t=this.tokenizer.link(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(t.raw.length),i=n[n.length-1],i&&t.type==="text"&&i.type==="text"?(i.raw+=t.raw,i.text+=t.text):n.push(t);continue}if(t=this.tokenizer.emStrong(e,o,c)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.codespan(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.br(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.del(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.autolink(e)){e=e.substring(t.raw.length),n.push(t);continue}if(!this.state.inLink&&(t=this.tokenizer.url(e))){e=e.substring(t.raw.length),n.push(t);continue}if(s=e,this.options.extensions&&this.options.extensions.startInline){let u=1/0;const f=e.slice(1);let p;this.options.extensions.startInline.forEach(h=>{p=h.call({lexer:this},f),typeof p=="number"&&p>=0&&(u=Math.min(u,p))}),u<1/0&&u>=0&&(s=e.substring(0,u+1))}if(t=this.tokenizer.inlineText(s)){e=e.substring(t.raw.length),t.raw.slice(-1)!=="_"&&(c=t.raw.slice(-1)),a=!0,i=n[n.length-1],i&&i.type==="text"?(i.raw+=t.raw,i.text+=t.text):n.push(t);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 ie{options;constructor(e){this.options=e||B}code(e,n,t){const i=(n||"").match(/^\S*/)?.[0];return e=e.replace(/\n$/,"")+`
27
+ `,i?'<pre><code class="language-'+T(i)+'">'+(t?e:T(e,!0))+`</code></pre>
28
+ `:"<pre><code>"+(t?e:T(e,!0))+`</code></pre>
29
+ `}blockquote(e){return`<blockquote>
30
+ ${e}</blockquote>
31
+ `}html(e,n){return e}heading(e,n,t){return`<h${n}>${e}</h${n}>
32
+ `}hr(){return`<hr>
33
+ `}list(e,n,t){const i=n?"ol":"ul",s=n&&t!==1?' start="'+t+'"':"";return"<"+i+s+`>
34
+ `+e+"</"+i+`>
35
+ `}listitem(e,n,t){return`<li>${e}</li>
36
+ `}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(e){return`<p>${e}</p>
37
+ `}table(e,n){return n&&(n=`<tbody>${n}</tbody>`),`<table>
38
+ <thead>
39
+ `+e+`</thead>
40
+ `+n+`</table>
41
+ `}tablerow(e){return`<tr>
42
+ ${e}</tr>
43
+ `}tablecell(e,n){const t=n.header?"th":"td";return(n.align?`<${t} align="${n.align}">`:`<${t}>`)+e+`</${t}>
44
+ `}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return"<br>"}del(e){return`<del>${e}</del>`}link(e,n,t){const i=Ce(e);if(i===null)return t;e=i;let s='<a href="'+e+'"';return n&&(s+=' title="'+n+'"'),s+=">"+t+"</a>",s}image(e,n,t){const i=Ce(e);if(i===null)return t;e=i;let s=`<img src="${e}" alt="${t}"`;return n&&(s+=` title="${n}"`),s+=">",s}text(e){return e}}class $e{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,t){return""+t}image(e,n,t){return""+t}br(){return""}}class j{options;renderer;textRenderer;constructor(e){this.options=e||B,this.options.renderer=this.options.renderer||new ie,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new $e}static parse(e,n){return new j(n).parse(e)}static parseInline(e,n){return new j(n).parseInline(e)}parse(e,n=!0){let t="";for(let i=0;i<e.length;i++){const s=e[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const o=s,l=this.options.extensions.renderers[o.type].call({parser:this},o);if(l!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(o.type)){t+=l||"";continue}}switch(s.type){case"space":continue;case"hr":{t+=this.renderer.hr();continue}case"heading":{const o=s;t+=this.renderer.heading(this.parseInline(o.tokens),o.depth,Tt(this.parseInline(o.tokens,this.textRenderer)));continue}case"code":{const o=s;t+=this.renderer.code(o.text,o.lang,!!o.escaped);continue}case"table":{const o=s;let l="",a="";for(let u=0;u<o.header.length;u++)a+=this.renderer.tablecell(this.parseInline(o.header[u].tokens),{header:!0,align:o.align[u]});l+=this.renderer.tablerow(a);let c="";for(let u=0;u<o.rows.length;u++){const f=o.rows[u];a="";for(let p=0;p<f.length;p++)a+=this.renderer.tablecell(this.parseInline(f[p].tokens),{header:!1,align:o.align[p]});c+=this.renderer.tablerow(a)}t+=this.renderer.table(l,c);continue}case"blockquote":{const o=s,l=this.parse(o.tokens);t+=this.renderer.blockquote(l);continue}case"list":{const o=s,l=o.ordered,a=o.start,c=o.loose;let u="";for(let f=0;f<o.items.length;f++){const p=o.items[f],h=p.checked,_=p.task;let b="";if(p.task){const v=this.renderer.checkbox(!!h);c?p.tokens.length>0&&p.tokens[0].type==="paragraph"?(p.tokens[0].text=v+" "+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=v+" "+p.tokens[0].tokens[0].text)):p.tokens.unshift({type:"text",text:v+" "}):b+=v+" "}b+=this.parse(p.tokens,c),u+=this.renderer.listitem(b,_,!!h)}t+=this.renderer.list(u,l,a);continue}case"html":{const o=s;t+=this.renderer.html(o.text,o.block);continue}case"paragraph":{const o=s;t+=this.renderer.paragraph(this.parseInline(o.tokens));continue}case"text":{let o=s,l=o.tokens?this.parseInline(o.tokens):o.text;for(;i+1<e.length&&e[i+1].type==="text";)o=e[++i],l+=`
45
+ `+(o.tokens?this.parseInline(o.tokens):o.text);t+=n?this.renderer.paragraph(l):l;continue}default:{const o='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return t}parseInline(e,n){n=n||this.renderer;let t="";for(let i=0;i<e.length;i++){const s=e[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const o=this.options.extensions.renderers[s.type].call({parser:this},s);if(o!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){t+=o||"";continue}}switch(s.type){case"escape":{const o=s;t+=n.text(o.text);break}case"html":{const o=s;t+=n.html(o.text);break}case"link":{const o=s;t+=n.link(o.href,o.title,this.parseInline(o.tokens,n));break}case"image":{const o=s;t+=n.image(o.href,o.title,o.text);break}case"strong":{const o=s;t+=n.strong(this.parseInline(o.tokens,n));break}case"em":{const o=s;t+=n.em(this.parseInline(o.tokens,n));break}case"codespan":{const o=s;t+=n.codespan(o.text);break}case"br":{t+=n.br();break}case"del":{const o=s;t+=n.del(this.parseInline(o.tokens,n));break}case"text":{const o=s;t+=n.text(o.text);break}default:{const o='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return t}}class ne{options;constructor(e){this.options=e||B}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}}class en{defaults=ye();options=this.setOptions;parse=this.#e(R.lex,j.parse);parseInline=this.#e(R.lexInline,j.parseInline);Parser=j;Renderer=ie;TextRenderer=$e;Lexer=R;Tokenizer=re;Hooks=ne;constructor(...e){this.use(...e)}walkTokens(e,n){let t=[];for(const i of e)switch(t=t.concat(n.call(this,i)),i.type){case"table":{const s=i;for(const o of s.header)t=t.concat(this.walkTokens(o.tokens,n));for(const o of s.rows)for(const l of o)t=t.concat(this.walkTokens(l.tokens,n));break}case"list":{const s=i;t=t.concat(this.walkTokens(s.items,n));break}default:{const s=i;this.defaults.extensions?.childTokens?.[s.type]?this.defaults.extensions.childTokens[s.type].forEach(o=>{const l=s[o].flat(1/0);t=t.concat(this.walkTokens(l,n))}):s.tokens&&(t=t.concat(this.walkTokens(s.tokens,n)))}}return t}use(...e){const n=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(t=>{const i={...t};if(i.async=this.defaults.async||i.async||!1,t.extensions&&(t.extensions.forEach(s=>{if(!s.name)throw new Error("extension name required");if("renderer"in s){const o=n.renderers[s.name];o?n.renderers[s.name]=function(...l){let a=s.renderer.apply(this,l);return a===!1&&(a=o.apply(this,l)),a}:n.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 o=n[s.level];o?o.unshift(s.tokenizer):n[s.level]=[s.tokenizer],s.start&&(s.level==="block"?n.startBlock?n.startBlock.push(s.start):n.startBlock=[s.start]:s.level==="inline"&&(n.startInline?n.startInline.push(s.start):n.startInline=[s.start]))}"childTokens"in s&&s.childTokens&&(n.childTokens[s.name]=s.childTokens)}),i.extensions=n),t.renderer){const s=this.defaults.renderer||new ie(this.defaults);for(const o in t.renderer){if(!(o in s))throw new Error(`renderer '${o}' does not exist`);if(o==="options")continue;const l=o,a=t.renderer[l],c=s[l];s[l]=(...u)=>{let f=a.apply(s,u);return f===!1&&(f=c.apply(s,u)),f||""}}i.renderer=s}if(t.tokenizer){const s=this.defaults.tokenizer||new re(this.defaults);for(const o in t.tokenizer){if(!(o in s))throw new Error(`tokenizer '${o}' does not exist`);if(["options","rules","lexer"].includes(o))continue;const l=o,a=t.tokenizer[l],c=s[l];s[l]=(...u)=>{let f=a.apply(s,u);return f===!1&&(f=c.apply(s,u)),f}}i.tokenizer=s}if(t.hooks){const s=this.defaults.hooks||new ne;for(const o in t.hooks){if(!(o in s))throw new Error(`hook '${o}' does not exist`);if(o==="options")continue;const l=o,a=t.hooks[l],c=s[l];ne.passThroughHooks.has(o)?s[l]=u=>{if(this.defaults.async)return Promise.resolve(a.call(s,u)).then(p=>c.call(s,p));const f=a.call(s,u);return c.call(s,f)}:s[l]=(...u)=>{let f=a.apply(s,u);return f===!1&&(f=c.apply(s,u)),f}}i.hooks=s}if(t.walkTokens){const s=this.defaults.walkTokens,o=t.walkTokens;i.walkTokens=function(l){let a=[];return a.push(o.call(this,l)),s&&(a=a.concat(s.call(this,l))),a}}this.defaults={...this.defaults,...i}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,n){return R.lex(e,n??this.defaults)}parser(e,n){return j.parse(e,n??this.defaults)}#e(e,n){return(t,i)=>{const s={...i},o={...this.defaults,...s};this.defaults.async===!0&&s.async===!1&&(o.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),o.async=!0);const l=this.#t(!!o.silent,!!o.async);if(typeof t>"u"||t===null)return l(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return l(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(o.hooks&&(o.hooks.options=o),o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(t):t).then(a=>e(a,o)).then(a=>o.hooks?o.hooks.processAllTokens(a):a).then(a=>o.walkTokens?Promise.all(this.walkTokens(a,o.walkTokens)).then(()=>a):a).then(a=>n(a,o)).then(a=>o.hooks?o.hooks.postprocess(a):a).catch(l);try{o.hooks&&(t=o.hooks.preprocess(t));let a=e(t,o);o.hooks&&(a=o.hooks.processAllTokens(a)),o.walkTokens&&this.walkTokens(a,o.walkTokens);let c=n(a,o);return o.hooks&&(c=o.hooks.postprocess(c)),c}catch(a){return l(a)}}}#t(e,n){return t=>{if(t.message+=`
46
+ Please report this to https://github.com/markedjs/marked.`,e){const i="<p>An error occurred:</p><pre>"+T(t.message+"",!0)+"</pre>";return n?Promise.resolve(i):i}if(n)return Promise.reject(t);throw t}}}const N=new en;function m(r,e){return N.parse(r,e)}m.options=m.setOptions=function(r){return N.setOptions(r),m.defaults=N.defaults,Ze(m.defaults),m};m.getDefaults=ye;m.defaults=B;m.use=function(...r){return N.use(...r),m.defaults=N.defaults,Ze(m.defaults),m};m.walkTokens=function(r,e){return N.walkTokens(r,e)};m.parseInline=N.parseInline;m.Parser=j;m.parser=j.parse;m.Renderer=ie;m.TextRenderer=$e;m.Lexer=R;m.lexer=R.lex;m.Tokenizer=re;m.Hooks=ne;m.parse=m;m.options;m.setOptions;m.use;m.walkTokens;m.parseInline;j.parse;R.lex;var Oe=[];let me=null;function tn(r){me=typeof r=="function"?r:null}function S(r,e){if(me)try{me(r,e)}catch{}}const se=[];function V(){return se[se.length-1]}function et(r,e){se.push(r);try{return e()}finally{se.pop()}}function tt(){return{mountHooks:[],unmountHooks:[],updateHooks:[],nodes:[],isMounted:!1,mountTimerId:null}}function pe(r){const e=V();e?e.mountHooks.push(r):setTimeout(()=>{try{r()}catch(n){S(n,{phase:"onMount"})}},0)}function nt(r){const e=V();e&&e.unmountHooks.push(r)}const nn=nt;function rn(r){const e=V();e&&e.updateHooks.push(r)}function rt(r){if(!r.isMounted){try{const e=r?.nodes?.[0];if(e&&e instanceof Node&&e.isConnected===!1)return}catch{}r.isMounted=!0,r.mountHooks.forEach(e=>{try{const n=e();typeof n=="function"&&r.unmountHooks.push(n)}catch(n){S(n,{phase:"mount",component:r.name??null})}})}}function ve(r){if(r.isMounted){if(r.mountTimerId!=null){try{clearTimeout(r.mountTimerId)}catch{}r.mountTimerId=null}r.isMounted=!1,r.unmountHooks.forEach(e=>{try{e()}catch(n){S(n,{phase:"unmount",component:r.name??null})}})}}function ot(r){r.isMounted&&r.updateHooks.forEach(e=>{try{e()}catch(n){S(n,{phase:"update",component:r.name??null})}})}const Le=typeof MutationObserver<"u"?new MutationObserver(r=>{r.forEach(e=>{e.removedNodes.length>0&&e.removedNodes.forEach(n=>{n._componentInstance&&ve(n._componentInstance),it(n)})})}):null;function it(r){r._componentInstance&&ve(r._componentInstance),r.childNodes.forEach(it)}function st(r){r&&Le&&Le.observe(r,{childList:!0,subtree:!0})}const on=Object.freeze(Object.defineProperty({__proto__:null,createComponentInstance:tt,getCurrentComponent:V,initLifecycleRoot:st,mountComponent:rt,onCleanup:nn,onMount:pe,onUnmount:nt,onUpdate:rn,runInLifecycle:et,triggerUpdate:ot,unmountComponent:ve},Symbol.toStringTag,{value:"Module"}));let Q=[];function sn(r){return r&&(typeof r=="object"||typeof r=="function")&&typeof r.then=="function"}function ln(r,e){e.add(r),r.dependencies.add(e)}function lt(r){Q.push(null);try{return typeof r=="function"?r():void 0}finally{Q.pop()}}function L(r,e,n){let t,i=null,s={onLoad:!0},o=V();typeof r=="function"?(t=r,e&&typeof e=="object"&&(s={...s,...e})):(i=r,t=e,n&&typeof n=="object"&&(s={...s,...n}));const l=()=>{if(typeof l._cleanup=="function"){try{l._cleanup()}catch(a){const c=o?o.name??"Anonymous":null;S(a,{phase:"effect.cleanup",component:c})}l._cleanup=null}Me(l),Q.push(l);try{if(i&&(Array.isArray(i)?i.forEach(a=>{typeof a=="function"&&a()}):typeof i=="function"&&i()),typeof t=="function"){const a=t();typeof a=="function"&&(l._cleanup=a)}o&&o.isMounted&&ot(o)}catch(a){if(sn(a))throw a;const c=o?o.name??"Anonymous":null;S(a,{phase:"effect",component:c})}finally{Q.pop()}};return l.dependencies=new Set,l._cleanup=null,s.onLoad?pe(l):l(),()=>{if(typeof l._cleanup=="function")try{l._cleanup()}catch(a){const c=o?o.name??"Anonymous":null;S(a,{phase:"effect.cleanup",component:c})}l._cleanup=null,Me(l)}}function Me(r){r.dependencies.forEach(e=>e.delete(r)),r.dependencies.clear()}function Pe(r,e){if(r&&r.bind===!0)try{Object.defineProperty(e,"bind",{enumerable:!0,configurable:!1,writable:!1,value:!0})}catch{try{e.bind=!0}catch{}}}function le(r){return!r||typeof r!="function"||typeof r.transform=="function"&&typeof r.validate=="function"&&typeof r.$pick=="function"||(r.$pick=e=>O(r,e),r.transform=(e,n)=>{const t=typeof e=="function"?e:o=>o,i=typeof n=="function"?n:o=>o,s=function(...o){return o.length>0?r(t(o[0])):i(r())};return s.peek=()=>i(r.peek()),Object.defineProperty(s,"value",{enumerable:!0,get(){return s.peek()},set(o){s(o)}}),Pe(r,s),le(s)},r.validate=(e,n={})=>{const t=typeof e=="function"?e:null,i=A(null),s=n&&typeof n=="object"&&typeof n.validateOn=="string"?n.validateOn:"input",o=!!(n&&typeof n=="object"&&n.validateInitial),l=function(...a){if(a.length>0){const c=a[0];if(t){let u=!0;try{u=t(c,r.peek())}catch{u="Invalid value"}return u===!0||u===void 0||u===null?(i(null),r(c)):(typeof u=="string"&&u.length?i(u):i("Invalid value"),r.peek())}return i(null),r(c)}return r()};if(l.check=()=>{if(!t)return i(null),!0;const a=r.peek();let c=!0;try{c=t(a,a)}catch{c="Invalid value"}return c===!0||c===void 0||c===null?(i(null),!0):(typeof c=="string"&&c.length?i(c):i("Invalid value"),!1)},l.peek=()=>r.peek(),Object.defineProperty(l,"value",{enumerable:!0,get(){return l.peek()},set(a){l(a)}}),l.error=i,l.__round_validateOn=s,o)try{l.check()}catch{}return Pe(r,l),le(l)}),r}function A(r){let e=r;const n=new Set,t=()=>{const l=Q[Q.length-1];return l&&ln(l,n),e},i=()=>e,s=l=>(e!==l&&(e=l,[...n].forEach(a=>a())),e),o=function(...l){return l.length>0?s(l[0]):t()};return Object.defineProperty(o,"value",{enumerable:!0,get(){return i()},set(l){s(l)}}),o.peek=i,le(o)}function Z(r){const e=A(r);try{Object.defineProperty(e,"bind",{enumerable:!0,configurable:!1,writable:!1,value:!0})}catch{try{e.bind=!0}catch{}}return le(e)}function ke(r){return typeof r=="function"&&typeof r.peek=="function"&&"value"in r}function ae(r,e){let n=r;for(const t of e){if(n==null)return;n=n[t]}return n}function an(r,e,n){if(!Array.isArray(e)||e.length===0)return n;const t=r&&typeof r=="object"?r:{},i=Array.isArray(t)?t.slice():{...t};let s=i,o=t;for(let l=0;l<e.length-1;l++){const a=e[l],c=o&&typeof o=="object"?o[a]:void 0,u=c&&typeof c=="object"?Array.isArray(c)?c.slice():{...c}:{};s[a]=u,s=u,o=c}return s[e[e.length-1]]=n,i}function at(r){return Array.isArray(r)?r.map(e=>String(e)):typeof r=="string"?r.split(".").filter(Boolean):[String(r)]}function O(r,e){if(!ke(r))throw new Error("[round] pick(root, path) expects root to be a signal (use bindable.object(...) or signal({...})).");const n=at(e),t=function(...i){if(i.length>0){const o=an(r.peek(),n,i[0]);return r(o)}const s=r();return ae(s,n)};if(t.peek=()=>ae(r.peek(),n),Object.defineProperty(t,"value",{enumerable:!0,get(){return t.peek()},set(i){t(i)}}),r.bind===!0)try{Object.defineProperty(t,"bind",{enumerable:!0,configurable:!1,writable:!1,value:!0})}catch{try{t.bind=!0}catch{}}return t}function be(r,e){const n=new Map,t={get(s,o){if(o===Symbol.toStringTag)return"BindableObject";if(o===Symbol.iterator)return;if(o==="peek")return()=>e.length?O(r,e).peek():r.peek();if(o==="value")return e.length?O(r,e).peek():r.peek();if(o==="bind")return!0;if(o==="$pick")return f=>{const p=e.concat(at(f));return be(r,p)};if(o==="_root")return r;if(o==="_path")return e.slice();if(o==="call"||o==="apply")return Reflect.get(s,o);const l=String(o),a=e.concat(l),c=a.join(".");if(n.has(c))return n.get(c);try{const f=ae(r.peek(),a);if(ke(f))return n.set(c,f),f}catch{}const u=be(r,a);return n.set(c,u),u},set(s,o,l){const a=String(o),c=e.concat(a);try{const u=ae(r.peek(),c);if(ke(u))return u(l),!0}catch{}return O(r,c)(l),!0},has(s,o){try{if(Reflect.has(s,o))return!0}catch{}const l=e.length?O(r,e).peek():r.peek();return l!=null&&Object.prototype.hasOwnProperty.call(l,o)}},i=function(...s){return s.length>0?e.length?O(r,e)(s[0]):r(s[0]):e.length?O(r,e)():r()};i.peek=()=>e.length?O(r,e).peek():r.peek(),Object.defineProperty(i,"value",{enumerable:!0,get(){return i.peek()},set(s){i(s)}});try{Object.defineProperty(i,"bind",{enumerable:!0,configurable:!1,writable:!1,value:!0})}catch{try{i.bind=!0}catch{}}return new Proxy(i,t)}Z.object=function(r={}){const e=Z(r&&typeof r=="object"?r:{});return be(e,[])};function cn(r){const e=A();return L(()=>{e(r())},{onLoad:!1}),()=>e()}const un=Object.freeze(Object.defineProperty({__proto__:null,bindable:Z,derive:cn,effect:L,pick:O,signal:A,untrack:lt},Symbol.toStringTag,{value:"Module"}));let fn=1;const I=[];function pn(r){I.push(r)}function hn(){I.pop()}function he(r){for(let e=I.length-1;e>=0;e--){const n=I[e];if(n&&Object.prototype.hasOwnProperty.call(n,r.id))return n[r.id]}return r.defaultValue}function ct(r){const e={id:fn++,defaultValue:r,Provider:null};function n(t={}){const i=t.value,s=Array.isArray(t.children)?t.children[0]:t.children,o=typeof s=="function"?s:()=>s;return d("span",{style:{display:"contents"}},()=>{pn({[e.id]:i});try{return o()}finally{hn()}})}return e.Provider=n,e}function dn(r){return()=>{const e=he(r);if(typeof e=="function")try{return e()}catch{return e}return e}}function ut(){return I.slice()}function ft(r,e){const n=I.slice();I.length=0,I.push(...r);try{return e()}finally{I.length=0,I.push(...n)}}const gn=Object.freeze(Object.defineProperty({__proto__:null,bindContext:dn,captureContext:ut,createContext:ct,readContext:he,runInContext:ft},Symbol.toStringTag,{value:"Module"}));function Ne(r){return r&&(typeof r=="object"||typeof r=="function")&&typeof r.then=="function"}const de=ct(null);function mn(r){if(typeof r!="function")throw new Error("lazy(loader) expects a function that returns a Promise");let e="uninitialized",n=null,t=null,i=null;function s(o){if(!o)return null;if(typeof o=="function")return o;if(typeof o.default=="function")return o.default;if(typeof o.Counter=="function")return o.Counter;const l=[];for(const a of Object.keys(o))typeof o[a]=="function"&&l.push(o[a]);return l.length===1?l[0]:null}return function(l={}){if(e==="resolved")return d(t,l);if(e==="rejected")throw i;if(!n){e="pending";try{n=Promise.resolve(r()).then(a=>{const c=s(a);if(typeof c!="function")throw new Error("lazy() loaded module does not export a component");t=c,e="resolved"}).catch(a=>{i=a instanceof Error?a:new Error(String(a)),e="rejected"})}catch(a){throw i=a instanceof Error?a:new Error(String(a)),e="rejected",i}}throw n}}function kn(r={}){const e=A(0),n=new Set,t=new Set,i=Array.isArray(r.children)?r.children[0]:r.children,s=typeof i=="function"?i:()=>i,o=l=>{t.has(l)||(t.add(l),n.add(l),l.then(()=>{t.delete(l),n.delete(l),e(e.peek()+1)},()=>{t.delete(l),n.delete(l),e(e.peek()+1)}))};return d(de.Provider,{value:{register:o}},()=>{if(e(),n.size>0)return r.fallback??null;try{const l=s();return Ne(l)?(o(l),r.fallback??null):l??null}catch(l){if(Ne(l))return o(l),r.fallback??null;throw l}})}const bn=Object.freeze(Object.defineProperty({__proto__:null,Suspense:kn,SuspenseContext:de,lazy:mn},Symbol.toStringTag,{value:"Module"})),Be=new Set;function ce(r){return r&&(typeof r=="object"||typeof r=="function")&&typeof r.then=="function"}function pt(r,e){try{if(typeof r!="function"||typeof r.peek!="function"||!("value"in r)||e==="child"||typeof e=="string"&&e.startsWith("prop:"))return;const n=`${e}:${r.name??"signal"}`;if(Be.has(n))return;Be.add(n),console.warn("[round] Prefer {signal()} (reactive) or {signal.value} (static). Direct {signal} usage is allowed but discouraged.")}catch{}}function d(r,e={},...n){if(typeof r=="function"){const i=tt(),s=r?.name??"Anonymous";i.name=s;let o=et(i,()=>{const l={...e,children:n};try{const a=lt(()=>r(l));if(ce(a))throw a;return a}catch(a){if(ce(a))throw he(de)?a:new Error("cannot instance a lazy component outside a suspense");return S(a,{phase:"component.render",component:s}),d("div",{style:{padding:"16px"}},`Error in ${s}`)}});if(Array.isArray(o)){const l=document.createElement("span");l.style.display="contents",o.forEach(a=>ue(l,a)),o=l}return o instanceof Node&&(o._componentInstance=i,i.nodes.push(o),i.mountTimerId=setTimeout(()=>{i.mountTimerId=null,rt(i)},0)),o}if(typeof r=="string"){const i=r.includes("-"),s=/^(a|abbr|address|area|article|aside|audio|b|base|bdi|bdo|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|data|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|main|map|mark|meta|meter|nav|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|rp|rt|ruby|s|samp|script|search|section|select|slot|small|source|span|strong|style|sub|summary|sup|svg|table|tbody|td|template|textarea|tfoot|th|thead|time|title|tr|track|u|ul|var|video|wbr|menu|animate|animateMotion|animateTransform|circle|clipPath|defs|desc|ellipse|feBlend|feColorMatrix|feComponentTransfer|feComposite|feConvolveMatrix|feDiffuseLighting|feDisplacementMap|feDistantLight|feDropShadow|feFlood|feFuncA|feFuncB|feFuncG|feFuncR|feGaussianBlur|feImage|feMerge|feMergeNode|feMorphology|feOffset|fePointLight|feSpecularLighting|feSpotLight|feTile|feTurbulence|filter|foreignObject|g|image|line|linearGradient|marker|mask|metadata|mpath|path|pattern|polygon|polyline|radialGradient|rect|set|stop|switch|symbol|text|textPath|tspan|use|view)$/.test(r),o=typeof Oe<"u"&&Oe.includes(r);if(!i&&!s&&!o&&/^[a-z]/.test(r))throw new Error(`Component names must start with an uppercase letter: <${r} />`)}const t=document.createElement(r);return e&&Object.entries(e).forEach(([i,s])=>{if(i==="bind:value"||i==="bind:checked"){const o=typeof s=="function"&&typeof s.peek=="function"&&"value"in s,l=o&&s.bind===!0;if(!o){try{console.warn("[round] bind:* expects a signal/bindable. Example: const name = bindable(''); <input bind:value={name} />")}catch{}return}if(!l)try{console.warn("[round] bind:* is intended to be used with bindable(). Plain signal() is accepted but discouraged.")}catch{}const a=i==="bind:value",c=i==="bind:checked",u=t,f=String(u.tagName??"").toLowerCase(),p=String(u.getAttribute?.("type")??"").toLowerCase(),h=f==="input",_=f==="textarea",b=f==="select";if(c&&!(h&&(p==="checkbox"||p==="radio"))){try{console.warn(`[round] bind:checked is only supported on <input type="checkbox|radio">. Got <${f}${p?` type="${p}"`:""}>.`)}catch{}return}if(a&&!(h||_||b)){try{console.warn(`[round] bind:value is only supported on <input>, <textarea>, and <select>. Got <${f}>.`)}catch{}return}const v=()=>{if(c)return!!u.checked;if(h&&p==="number"){const g=u.value;if(g==="")return"";const x=Number(g);return Number.isFinite(x)?x:g}if(b&&u.multiple)try{return Array.from(u.selectedOptions??[]).map(g=>g.value)}catch{return[]}return u.value},E=g=>{if(c){const x=!!g;u.checked=x;return}if(b&&u.multiple){const x=Array.isArray(g)?g.map(C=>String(C)):[];try{Array.from(u.options??[]).forEach(C=>{C.selected=x.includes(C.value)})}catch{}return}u.value=g??""},z=g=>{try{c&&typeof g!="boolean"&&console.warn("[round] bind:checked expects a boolean signal value."),a&&b&&u.multiple&&!Array.isArray(g)&&console.warn("[round] bind:value on <select multiple> expects an array signal value."),a&&h&&p==="number"&&!(typeof g=="number"||typeof g=="string")&&console.warn('[round] bind:value on <input type="number"> expects number|string (empty string allowed).')}catch{}};L(()=>{const g=s();z(g),E(g)},{onLoad:!1});const q=(a&&s&&typeof s=="function"?s.__round_validateOn:null)==="blur"?"blur":b?"change":"input",y=c?"change":q;u.addEventListener(y,g=>{try{if(!g.currentTarget)return;const C=v();s(C)}catch{}});return}if(i.startsWith("on")&&typeof s=="function"){t.addEventListener(i.toLowerCase().substring(2),s);return}if(i==="dangerouslySetInnerHTML"){typeof s=="function"?L(()=>{const o=s();o&&typeof o=="object"&&"__html"in o&&(t.innerHTML=o.__html??"")},{onLoad:!1}):s&&typeof s=="object"&&"__html"in s&&(t.innerHTML=s.__html??"");return}if(i==="style"){if(typeof s=="function"){L(()=>{const o=s();o&&typeof o=="object"&&Object.assign(t.style,o)},{onLoad:!1});return}if(s&&typeof s=="object"){Object.assign(t.style,s);return}}if(typeof s=="function"){pt(s,`prop:${i}`),L(()=>{const o=s();i==="className"?t.className=o:i==="value"?t.value=o:i==="checked"?t.checked=!!o:t.setAttribute(i,o)},{onLoad:!1});return}if(i==="classList"){s&&typeof s=="object"&&Object.entries(s).forEach(([o,l])=>{typeof l=="function"?L(()=>{t.classList.toggle(o,!!l())},{onLoad:!1}):t.classList.toggle(o,!!l)});return}i==="className"?t.className=s:i==="value"?t.value=s:i==="checked"?t.checked=!!s:t.setAttribute(i,s)}),n.forEach(i=>ue(t,i)),t}function ue(r,e){if(e!=null){if(Array.isArray(e)){e.forEach(n=>ue(r,n));return}if(typeof e=="string"||typeof e=="number"){r.appendChild(document.createTextNode(e));return}if(typeof e=="function"){pt(e,"child");const n=document.createTextNode("");r.appendChild(n);let t=n;const i=ut();L(()=>{ft(i,()=>{let s;try{if(s=e(),ce(s))throw s}catch(o){if(ce(o)){const l=he(de);if(l&&typeof l.register=="function"){l.register(o);return}throw new Error("cannot instance a lazy component outside a suspense")}S(o,{phase:"child.dynamic"}),s=d("div",{style:{padding:"16px"}},"Error")}if(Array.isArray(s)){if(!(t instanceof Element)||!t._roundArrayWrapper){const o=document.createElement("span");o.style.display="contents",o._roundArrayWrapper=!0,t.parentNode&&(t.parentNode.replaceChild(o,t),t=o)}for(;t.firstChild;)t.removeChild(t.firstChild);s.forEach(o=>ue(t,o));return}if(s instanceof Node)t!==s&&t.parentNode&&(t.parentNode.replaceChild(s,t),t=s);else{const o=s??"";if(t instanceof Element){const l=document.createTextNode(o);t.parentNode&&(t.parentNode.replaceChild(l,t),t=l)}else t.textContent=o}})},{onLoad:!1});return}if(e instanceof Node){r.appendChild(e);return}}}function yn(r){return r.children}const xn=Object.freeze(Object.defineProperty({__proto__:null,Fragment:yn,createElement:d},Symbol.toStringTag,{value:"Module"})),H=typeof window<"u"&&typeof document<"u",wn=!0,$=A(H?window.location.pathname:"/");let He=!1,M=null;const F=A(!1),P=A(!0);let Ae=null,Fe=!1,ht=!1;function Y(){!H||He||(He=!0,Cn(),window.addEventListener("popstate",()=>{$(window.location.pathname)}))}function Sn(){return w($())}function _n(){return()=>w($())}function Tn(){return H?{pathname:w(window.location.pathname),search:window.location.search??"",hash:window.location.hash??""}:{pathname:w("/"),search:"",hash:""}}function $n(){return()=>{const r=w($());return H?{pathname:r,search:window.location.search??"",hash:window.location.hash??""}:{pathname:r,search:"",hash:""}}}function vn(){const r=w($());return!!P()&&M===r}function An(){return()=>{const r=w($());return!!P()&&M===r}}function En(){const r=w($());return P()&&M===r?!F():!1}function zn(){return()=>{const r=w($());return P()&&M===r?!F():!1}}function Cn(){if(!H||Fe)return;Fe=!0;const r=document.getElementById("app")??document.body,e=document.createElement("div");e.setAttribute("data-round-auto-notfound","1"),r.appendChild(e);const n=d("span",{style:{display:"contents"}},()=>{if(ht)return null;const t=w($()),i=P(),s=F();if(!i||M!==t||s)return null;const o=Ae;return typeof o=="function"?d(o,{pathname:t}):d("div",{style:{padding:"16px"}},d("h1",null,"404"),d("p",null,"Page not found: ",t))});e.appendChild(n)}function dt(r,e={}){if(!H)return;Y();const n=mt(r);!!e.replace?window.history.replaceState({},"",n):window.history.pushState({},"",n),$(window.location.pathname)}function gt({title:r,meta:e,links:n,icon:t,favicon:i}){if(!H)return;typeof r=="string"&&(document.title=r),document.querySelectorAll('[data-round-head="1"]').forEach(o=>o.remove());const s=t??i;if(typeof s=="string"&&s.length){const o=document.createElement("link");o.setAttribute("data-round-head","1"),o.setAttribute("rel","icon"),o.setAttribute("href",s),document.head.appendChild(o)}Array.isArray(n)&&n.forEach(o=>{if(!o||typeof o!="object")return;const l=document.createElement("link");l.setAttribute("data-round-head","1"),Object.entries(o).forEach(([a,c])=>{c!=null&&l.setAttribute(a,String(c))}),document.head.appendChild(l)}),Array.isArray(e)?e.forEach(o=>{if(!o)return;const l=document.createElement("meta");if(l.setAttribute("data-round-head","1"),Array.isArray(o)&&o.length>=2){const[a,c]=o;typeof a=="string"&&l.setAttribute("name",a),l.setAttribute("content",String(c??""))}else if(typeof o=="object")Object.entries(o).forEach(([a,c])=>{c!=null&&l.setAttribute(a,String(c))});else return;document.head.appendChild(l)}):e&&typeof e=="object"&&Object.entries(e).forEach(([o,l])=>{if(typeof o!="string")return;const a=document.createElement("meta");a.setAttribute("data-round-head","1"),a.setAttribute("name",o),a.setAttribute("content",String(l??"")),document.head.appendChild(a)})}function In(r){return r}function Rn(r){const e=String(r??""),n=e.indexOf("#"),t=e.indexOf("?"),i=n===-1?t:t===-1?n:Math.min(n,t);return i===-1?{path:e,suffix:""}:{path:e.slice(0,i),suffix:e.slice(i)}}function w(r){let e=String(r??"/");return e.startsWith("/")||(e="/"+e),e.length>1&&(wn?e.endsWith("/")||(e+="/"):e.endsWith("/")&&(e=e.slice(0,-1))),e}function mt(r){const{path:e,suffix:n}=Rn(r);return e.startsWith("/")?w(e)+n:String(r??"")}function kt(r,e){const n=w(r),t=w(e);return n===t}function Ee(r){r!==M&&(M=r,F(!1),P(!1),setTimeout(()=>{M===r&&P(!0)},0))}function jn(r){Ae=r}function On(r={}){return Y(),d("span",{style:{display:"contents"}},()=>{const e=w($());Ee(e);const n=r.route??"/";if(!kt(n,e))return null;F(!0);const t=r.head&&typeof r.head=="object"?r.head:{},i=r.description?[{name:"description",content:String(r.description)}].concat(t.meta??r.meta??[]):t.meta??r.meta,s=t.links??r.links,o=t.title??r.title,l=t.icon??r.icon,a=t.favicon??r.favicon;return gt({title:o,meta:i,links:s,icon:l,favicon:a}),r.children})}function Ln(r={}){return Y(),d("span",{style:{display:"contents"}},()=>{const e=w($());Ee(e);const n=r.route??"/";if(!kt(n,e))return null;F(!0);const t=r.head&&typeof r.head=="object"?r.head:{},i=r.description?[{name:"description",content:String(r.description)}].concat(t.meta??r.meta??[]):t.meta??r.meta,s=t.links??r.links,o=t.title??r.title,l=t.icon??r.icon,a=t.favicon??r.favicon;return gt({title:o,meta:i,links:s,icon:l,favicon:a}),r.children})}function Mn(r={}){return Y(),ht=!0,d("span",{style:{display:"contents"}},()=>{const e=w($());Ee(e);const n=P(),t=F();if(!n||M!==e||t)return null;const i=r.component??Ae;return typeof i=="function"?d(i,{pathname:e}):r.children!==void 0?r.children:d("div",{style:{padding:"16px"}},d("h1",null,"404"),d("p",null,"Page not found: ",e))})}function Pn(r={}){Y();const e=r.href??r.to??"#",n=Nn(e),t=r.spa!==void 0?!!r.spa:!0,i=!!r.reload,s=u=>{typeof r.onClick=="function"&&r.onClick(u),!u.defaultPrevented&&(!t||i||u.button===0&&(u.metaKey||u.ctrlKey||u.shiftKey||u.altKey||(u.preventDefault(),dt(n))))},{children:o,to:l,...a}=r,c=Array.isArray(o)?o:o==null?[]:[o];return d("a",{...a,href:n,onClick:s},...c)}function Nn(r){const e=String(r??"#");return e.startsWith("/")?mt(e):e}const Bn=Object.freeze(Object.defineProperty({__proto__:null,Link:Pn,NotFound:Mn,Page:Ln,Route:On,getIsNotFound:En,getLocation:Tn,getPathname:Sn,getRouteReady:vn,navigate:dt,setNotFound:jn,startHead:In,useIsNotFound:zn,useLocation:$n,usePathname:_n,useRouteReady:An},Symbol.toStringTag,{value:"Module"})),Hn=typeof import.meta<"u"&&typeof import.meta.glob=="function"?Object.assign({}):{};function Fn(r={}){const e=A(""),n=i=>{try{return m.parse(i??"")}catch{return""}};typeof r.content=="string"&&e(n(r.content)),pe(async()=>{if(typeof r.src!="string")return;const i=typeof r.base=="string"?r.base:"/src",s=r.src.startsWith("./")?i+r.src.slice(1):r.src,o=Hn[s];if(typeof o=="function")try{const l=await o();e(n(l??""));return}catch(l){S(l instanceof Error?l:new Error(`Failed to load markdown: ${s}`),{phase:"markdown.load",component:"Markdown"}),e("");return}try{const l=await fetch(s);if(!l.ok){S(new Error(`Markdown not found: ${s} (HTTP ${l.status})`),{phase:"markdown.fetch",component:"Markdown"}),e("");return}const a=await l.text();if(/^\s*<!doctype\s+html\b|^\s*<html\b/i.test(a)){S(new Error(`Markdown not found (served HTML fallback): ${s}`),{phase:"markdown.fetch",component:"Markdown"}),e("");return}e(n(a))}catch(l){S(l instanceof Error?l:new Error(`Failed to fetch markdown: ${s}`),{phase:"markdown.fetch",component:"Markdown"}),e("")}});const t=r.className??r.theme??"";return d("div",{className:t,dangerouslySetInnerHTML:()=>({__html:e()})})}const qn=Object.freeze(Object.defineProperty({__proto__:null,Markdown:Fn},Symbol.toStringTag,{value:"Module"})),D=A([]);let qe=null,De=0;function K(r,e={}){const n=r instanceof Error?r:new Error(String(r)),t=n.stack?String(n.stack):"",i=n.message,s=e.phase??null,o=e.component??null,l=`${i}|${o??""}|${s??""}|${t}`,a=Date.now();if(qe===l&&a-De<1500)return;qe=l,De=a;const c={error:n,message:i,stack:t,phase:s,component:o,time:a},u=typeof D.peek=="function"?D.peek():D();D([c,...Array.isArray(u)?u:[]]);try{const f=c.component?` in ${c.component}`:"",p=c.phase?` (${c.phase})`:"",h=`[round] Runtime error${f}${p}`;typeof console.groupCollapsed=="function"?(console.groupCollapsed(h),console.error(c.error),c.stack&&console.log(c.stack),e&&Object.keys(e).length&&console.log("info:",e),console.groupEnd()):(console.error(h),console.error(c.error),c.stack&&console.log(c.stack),e&&Object.keys(e).length&&console.log("info:",e))}catch{}}function Dn(){D([])}function Zn(){return D}tn(K);function bt(r={}){return d("span",{style:{display:"contents"}},()=>{const e=Zn()();if(!Array.isArray(e)||e.length===0)return r.children??null;const n=e[0];return d("div",{style:{position:"fixed",inset:"0",zIndex:2147483647,display:"flex",alignItems:"center",justifyContent:"center",padding:"24px",background:"rgba(17, 24, 39, 0.72)",backdropFilter:"blur(10px)",WebkitBackdropFilter:"blur(10px)"}},d("div",{style:{width:"min(900px, 100%)",borderRadius:"14px",border:"1px solid rgba(255,255,255,0.12)",background:"rgba(0,0,0,0.55)",boxShadow:"0 30px 80px rgba(0,0,0,0.55)",color:"#fff",overflow:"hidden"}},d("div",{style:{padding:"14px 16px",display:"flex",alignItems:"center",gap:"10px",borderBottom:"1px solid rgba(255,255,255,0.10)",background:"linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0))"}},d("div",{style:{width:"10px",height:"10px",borderRadius:"999px",background:"#ef4444",boxShadow:"0 0 0 4px rgba(239,68,68,0.18)"}}),d("strong",{style:{fontFamily:"ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial"}},"Round Error"),d("span",{style:{opacity:.75,fontFamily:"ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial",fontSize:"12px"}},new Date(n.time).toLocaleString()),d("button",{style:{marginLeft:"auto",border:"1px solid rgba(255,255,255,0.16)",background:"rgba(255,255,255,0.08)",color:"#fff",padding:"8px 10px",borderRadius:"10px",cursor:"pointer"},onMouseOver:t=>{try{t.currentTarget.style.background="rgba(255,255,255,0.12)"}catch{}},onMouseOut:t=>{try{t.currentTarget.style.background="rgba(255,255,255,0.08)"}catch{}},onClick:()=>Dn()},"Dismiss")),d("div",{style:{padding:"16px",fontFamily:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'}},d("div",{style:{fontSize:"14px",fontWeight:"700"}},String(n.message??"Error")),d("div",{style:{marginTop:"10px",opacity:.85,fontSize:"12px",lineHeight:"18px"}},n.component?d("div",null,d("span",{style:{opacity:.75}},"Component: "),String(n.component)):null,n.phase?d("div",null,d("span",{style:{opacity:.75}},"Phase: "),String(n.phase)):null),n.stack?d("pre",{style:{marginTop:"12px",padding:"12px",borderRadius:"12px",background:"rgba(0,0,0,0.55)",border:"1px solid rgba(255,255,255,0.10)",whiteSpace:"pre-wrap",fontSize:"12px",lineHeight:"18px",overflow:"auto",maxHeight:"55vh"}},String(n.stack)):null)))})}function yt(r){if(!(typeof document>"u")&&!(!r||!(r instanceof Element))){if(!document.querySelector('[data-round-error-style="1"]')){const e=document.createElement("style");e.setAttribute("data-round-error-style","1"),e.textContent=`
47
+ [data-round-error-root="1"] pre{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,0.28) rgba(255,255,255,0.06);}
48
+ [data-round-error-root="1"] pre::-webkit-scrollbar{width:10px;height:10px;}
49
+ [data-round-error-root="1"] pre::-webkit-scrollbar-track{background:rgba(255,255,255,0.06);border-radius:999px;}
50
+ [data-round-error-root="1"] pre::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.22);border-radius:999px;border:2px solid rgba(0,0,0,0.35);}
51
+ [data-round-error-root="1"] pre::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,0.32);}
52
+ `.trim(),document.head.appendChild(e)}if(!document.querySelector('[data-round-error-root="1"]')){const e=document.createElement("div");e.setAttribute("data-round-error-root","1"),r.appendChild(e),e.appendChild(d(bt,null))}window.__round_error_handlers_installed||(window.__round_error_handlers_installed=!0,window.addEventListener("error",e=>{K(e?.error??e?.message??e,{phase:"window.error"})}),window.addEventListener("unhandledrejection",e=>{K(e?.reason??e,{phase:"window.unhandledrejection"})}))}}const Qn=Object.freeze(Object.defineProperty({__proto__:null,ErrorProvider:bt,initErrorHandling:yt,reportError:K},Symbol.toStringTag,{value:"Module"}));function Wn(){return typeof window<"u"&&typeof document<"u"}function Un(r={},e=null){const n=r&&typeof r=="object"?r:{},t=Object.create(null),i={enabled:!1,key:null,storage:null,persisting:!1,persistNow:null,watchers:new Set};for(const c of Object.keys(n))t[c]=Z(n[c]);function s(c,u){const f=String(c);return Object.prototype.hasOwnProperty.call(t,f)||(t[f]=Z(n[f])),n[f]=u,t[f](u),i.enabled&&typeof i.persistNow=="function"&&i.persistNow(),u}function o(c){if(!(!c||typeof c!="object"))for(const[u,f]of Object.entries(c))s(u,f)}function l(c=!1){const u={};for(const f of Object.keys(t))u[f]=c?t[f]():t[f].peek();return u}const a={use(c){const u=String(c);if(!Object.prototype.hasOwnProperty.call(t,u)&&(t[u]=Z(n[u]),!Object.prototype.hasOwnProperty.call(n,u)))try{S(new Error(`Store key not found: ${u}`),{phase:"store.use",component:"createStore"})}catch{}if(i.enabled){const f=t[u];f&&typeof f=="function"&&!i.watchers.has(u)&&(i.watchers.add(u),L(()=>{f(),!i.persisting&&typeof i.persistNow=="function"&&i.persistNow()},{onLoad:!1}))}return t[u]},set(c,u){return s(c,u)},patch:o,snapshot(c={}){const u=c&&typeof c=="object"&&c.reactive===!0;return l(u)},actions:{}};return e&&typeof e=="object"&&Object.entries(e).forEach(([c,u])=>{if(typeof u!="function")return;const f=(...p)=>{try{const h=u(l(!1),...p);return h&&typeof h=="object"&&o(h),h}catch(h){S(h,{phase:"store.action",component:String(c)})}};a.actions[c]=f,a[c]=f}),a.persist=(c,u)=>{if(typeof c!="string"||!c.length)return a;const f=u&&typeof u.getItem=="function"&&typeof u.setItem=="function",p=!f&&u&&typeof u=="object"?u:{},h=f?u:p.storage??(Wn()?window.localStorage:null);if(!h||typeof h.getItem!="function"||typeof h.setItem!="function")return a;const _=Number.isFinite(Number(p.debounce))?Number(p.debounce):0,b=Array.isArray(p.exclude)?p.exclude.map(String):[];try{const y=h.getItem(c);if(y){const g=JSON.parse(y);if(g&&typeof g=="object"){const x=b.length?Object.fromEntries(Object.entries(g).filter(([C])=>!b.includes(String(C)))):g;o(x)}}}catch{}const v=()=>{try{i.persisting=!0;const y=l(!1),g=b.length?Object.fromEntries(Object.entries(y).filter(([x])=>!b.includes(String(x)))):y;h.setItem(c,JSON.stringify(g))}catch{}finally{i.persisting=!1}};let E=null;const z=()=>{if(_<=0)return v();try{E!=null&&clearTimeout(E)}catch{}E=setTimeout(()=>{E=null,v()},_)};i.enabled=!0,i.key=c,i.storage=h,i.persistNow=z;const W=a.set;a.set=(y,g)=>{const x=W(y,g);return z(),x};const q=a.patch;return a.patch=y=>{q(y),z()},Object.keys(a.actions).forEach(y=>{const g=a.actions[y];typeof g=="function"&&(a.actions[y]=(...x)=>{const C=g(...x);return z(),C},a[y]=a.actions[y])}),Object.keys(t).forEach(y=>{try{a.use(y)}catch{}}),z(),a},a}const Gn=Object.freeze(Object.defineProperty({__proto__:null,createStore:Un},Symbol.toStringTag,{value:"Module"}));function Kn(r,e){st(e),yt(e);try{const n=d(r);e.appendChild(n)}catch(n){K(n,{phase:"render",component:r?.name??"App"})}}({...un,...xn,...on,...Bn,...qn,...Qn,...bn,...gn,...Gn});function Xn(){const r=A(0),e=A(Array.from({length:1e3},(n,t)=>t));return pe(()=>{console.log("Round App Mounted")}),d("div",null,d("h1",null,"Round Benchmark"),d("button",{onClick:()=>r(r()+1)},"Count: ",r),d("ul",null,()=>e().map(n=>d("li",{key:n},"Item ",n))))}Kn(Xn,document.getElementById("app"));
@@ -0,0 +1,8 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <script type="module" crossorigin src="/assets/index-CBBIRhox.js"></script>
4
+
5
+ <body>
6
+ <div id="app"></div>
7
+ </body>
8
+ </html>
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "round-benchmarks",
3
+ "private": true,
4
+ "version": "0.0.0",
5
+ "type": "module",
6
+ "scripts": {
7
+ "bench:build": "node ./scripts/measure-build.js",
8
+ "bench:runtime": "vitest bench --run",
9
+ "bench": "npm run bench:build && npm run bench:runtime"
10
+ },
11
+ "dependencies": {
12
+ "react": "^18.2.0",
13
+ "react-dom": "^18.2.0",
14
+ "round-core": "^0.0.4"
15
+ },
16
+ "devDependencies": {
17
+ "@vitejs/plugin-react": "^4.2.1",
18
+ "happy-dom": "^12.10.3",
19
+ "vite": "^5.0.10",
20
+ "vitest": "^1.1.0"
21
+ }
22
+ }
@@ -0,0 +1,64 @@
1
+ import { execSync } from 'child_process';
2
+ import fs from 'fs';
3
+ import path from 'path';
4
+ import { fileURLToPath } from 'url';
5
+
6
+ const __dirname = path.dirname(fileURLToPath(import.meta.url));
7
+ const rootDir = path.resolve(__dirname, '..');
8
+
9
+ function getDirSize(dirPath) {
10
+ if (!fs.existsSync(dirPath)) return 0;
11
+ const files = fs.readdirSync(dirPath);
12
+ let size = 0;
13
+ for (const file of files) {
14
+ const filePath = path.join(dirPath, file);
15
+ const stats = fs.statSync(filePath);
16
+ if (stats.isDirectory()) {
17
+ size += getDirSize(filePath);
18
+ } else {
19
+ size += stats.size;
20
+ }
21
+ }
22
+ return size;
23
+ }
24
+
25
+ function runBenchmark(name, configPath) {
26
+ console.log(`\nStarting build benchmark for ${name}...`);
27
+ const start = performance.now();
28
+ try {
29
+ execSync(`npx vite build -c ${configPath}`, { stdio: 'inherit', cwd: rootDir });
30
+ } catch (e) {
31
+ console.error(`Build failed for ${name}`);
32
+ return null;
33
+ }
34
+ const end = performance.now();
35
+ const duration = (end - start).toFixed(2);
36
+
37
+ // Check dist size
38
+ const distPath = path.resolve(rootDir, `dist-bench/${name}`);
39
+ const sizeBytes = getDirSize(distPath);
40
+ const sizeKB = (sizeBytes / 1024).toFixed(2);
41
+
42
+ console.log(`${name} Build Time: ${duration}ms`);
43
+ console.log(`${name} Bundle Size: ${sizeKB} KB`);
44
+
45
+ return { name, duration: parseFloat(duration), size: parseFloat(sizeKB) };
46
+ }
47
+
48
+ const roundResult = runBenchmark('round', './apps/round/vite.config.js');
49
+ const reactResult = runBenchmark('react', './apps/react/vite.config.js');
50
+
51
+ if (roundResult && reactResult) {
52
+ console.log('\n--- Final Comparison ---');
53
+ console.log(`Build Speed: Round is ${(reactResult.duration / roundResult.duration).toFixed(2)}x faster`);
54
+ console.log(`Bundle Size: Round is ${(reactResult.size / roundResult.size).toFixed(2)}x smaller`);
55
+
56
+ // Save report
57
+ const report = {
58
+ timestamp: new Date().toISOString(),
59
+ round: roundResult,
60
+ react: reactResult
61
+ };
62
+ if (!fs.existsSync('./reports')) fs.mkdirSync('./reports');
63
+ fs.writeFileSync('./reports/build-bench.json', JSON.stringify(report, null, 2));
64
+ }
@@ -0,0 +1,51 @@
1
+ import { bench, describe } from 'vitest';
2
+ import { signal, effect, createElement } from 'round-core';
3
+ import React from 'react';
4
+ import ReactDOMServer from 'react-dom/server';
5
+
6
+ describe('Component Creation (1000 items)', () => {
7
+ bench('Round: Create and Replcae 1000 rows', () => {
8
+ const div = document.createElement('div');
9
+ const items = Array.from({ length: 1000 }, (_, i) => i);
10
+
11
+ // Round "Component"
12
+ function List() {
13
+ return createElement('ul', {},
14
+ items.map(i => createElement('li', {}, `Item ${i}`))
15
+ );
16
+ }
17
+
18
+ const node = List();
19
+ div.appendChild(node);
20
+ });
21
+
22
+ bench('React: RenderToString 1000 rows', () => {
23
+ const items = Array.from({ length: 1000 }, (_, i) => i);
24
+
25
+ function List() {
26
+ return React.createElement('ul', null,
27
+ items.map(i => React.createElement('li', { key: i }, `Item ${i}`))
28
+ );
29
+ }
30
+
31
+ // Using renderToString because createRoot/flushSync is unstable in this headless bench.
32
+ // This measures pure React rendering/templating overhead.
33
+ ReactDOMServer.renderToString(React.createElement(List));
34
+ });
35
+ });
36
+
37
+ describe('Reactivity (Signal vs State)', () => {
38
+ bench('Round: Signal Update', () => {
39
+ const count = signal(0);
40
+ let dummy;
41
+ const dispose = effect(() => {
42
+ dummy = count();
43
+ });
44
+ count(1);
45
+ count(2);
46
+ dispose();
47
+ });
48
+
49
+ // React hooks require a component, so hard to bench pure state speed in isolation
50
+ // without full render cycle overhead.
51
+ });
@@ -0,0 +1,8 @@
1
+ import { defineConfig } from 'vitest/config';
2
+
3
+ export default defineConfig({
4
+ test: {
5
+ environment: 'happy-dom',
6
+ reporters: ['default']
7
+ }
8
+ });
package/bun.lock CHANGED
@@ -4,6 +4,7 @@
4
4
  "": {
5
5
  "name": "round-core",
6
6
  "dependencies": {
7
+ "happy-dom": "^20.0.11",
7
8
  "marked": "^12.0.2",
8
9
  "vite": "^5.0.0",
9
10
  "vitest": "^1.6.0",
@@ -153,6 +154,8 @@
153
154
 
154
155
  "@types/node": ["@types/node@25.0.2", "", { "dependencies": { "undici-types": "~7.16.0" } }, "sha512-gWEkeiyYE4vqjON/+Obqcoeffmk0NF15WSBwSs7zwVA2bAbTaE0SJ7P0WNGoJn8uE7fiaV5a7dKYIJriEqOrmA=="],
155
156
 
157
+ "@types/whatwg-mimetype": ["@types/whatwg-mimetype@3.0.2", "", {}, "sha512-c2AKvDT8ToxLIOUlN51gTiHXflsfIFisS4pO7pDPoKouJCESkhZnEy623gwP9laCy5lnLDAw1vAzu2vM2YLOrA=="],
158
+
156
159
  "@vitest/expect": ["@vitest/expect@1.6.1", "", { "dependencies": { "@vitest/spy": "1.6.1", "@vitest/utils": "1.6.1", "chai": "^4.3.10" } }, "sha512-jXL+9+ZNIJKruofqXuuTClf44eSpcHlgj3CiuNihUF3Ioujtmc0zIa3UJOW5RjDK1YLBJZnWBlPuqhYycLioog=="],
157
160
 
158
161
  "@vitest/runner": ["@vitest/runner@1.6.1", "", { "dependencies": { "@vitest/utils": "1.6.1", "p-limit": "^5.0.0", "pathe": "^1.1.1" } }, "sha512-3nSnYXkVkf3mXFfE7vVyPmi3Sazhb/2cfZGGs0JRzFsPFvAMBEcrweV1V1GsrstdXeKCTXlJbvnQwGWgEIHmOA=="],
@@ -241,6 +244,8 @@
241
244
 
242
245
  "gopd": ["gopd@1.2.0", "", {}, "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg=="],
243
246
 
247
+ "happy-dom": ["happy-dom@20.0.11", "", { "dependencies": { "@types/node": "^20.0.0", "@types/whatwg-mimetype": "^3.0.2", "whatwg-mimetype": "^3.0.0" } }, "sha512-QsCdAUHAmiDeKeaNojb1OHOPF7NjcWPBR7obdu3NwH2a/oyQaLg5d0aaCy/9My6CdPChYF07dvz5chaXBGaD4g=="],
248
+
244
249
  "has-symbols": ["has-symbols@1.1.0", "", {}, "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ=="],
245
250
 
246
251
  "has-tostringtag": ["has-tostringtag@1.0.2", "", { "dependencies": { "has-symbols": "^1.0.3" } }, "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw=="],
@@ -405,10 +410,16 @@
405
410
 
406
411
  "cssstyle/rrweb-cssom": ["rrweb-cssom@0.8.0", "", {}, "sha512-guoltQEx+9aMf2gDZ0s62EcV8lsXR+0w8915TC3ITdn2YueuNjdAYh/levpU9nFaoChh9RUS5ZdQMrKfVEN9tw=="],
407
412
 
413
+ "happy-dom/@types/node": ["@types/node@20.19.27", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-N2clP5pJhB2YnZJ3PIHFk5RkygRX5WO/5f0WC08tp0wd+sv0rsJk3MqWn3CbNmT2J505a5336jaQj4ph1AdMug=="],
414
+
415
+ "happy-dom/whatwg-mimetype": ["whatwg-mimetype@3.0.0", "", {}, "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q=="],
416
+
408
417
  "mlly/pathe": ["pathe@2.0.3", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
409
418
 
410
419
  "npm-run-path/path-key": ["path-key@4.0.0", "", {}, "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ=="],
411
420
 
412
421
  "pkg-types/pathe": ["pathe@2.0.3", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
422
+
423
+ "happy-dom/@types/node/undici-types": ["undici-types@6.21.0", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="],
413
424
  }
414
425
  }