@visulima/vite-overlay 1.3.6 → 2.0.0-alpha.1

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.
package/dist/index.js CHANGED
@@ -1,63 +1,63 @@
1
- var lo=Object.defineProperty;var S=(t,e)=>lo(t,"name",{value:e,configurable:!0});import{createRequire as co}from"node:module";import{codeToANSI as uo}from"@shikijs/cli";import{renderError as go,getErrorCauses as mo}from"@visulima/error/error";import{errorHintFinder as fo,ruleBasedFinder as vo}from"@visulima/error/solution";import{distance as Ge}from"fastest-levenshtein";import{parseStacktrace as Ee,formatStacktrace as Cr,codeFrame as Jt}from"@visulima/error";import Kt from"@visulima/error/solution/ai/prompt";import{TraceMap as bo,originalPositionFor as yo}from"@jridgewell/trace-mapping";const po=co(import.meta.url),Re=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,tt=S(t=>{if(typeof Re<"u"&&Re.versions&&Re.versions.node){const[e,r]=Re.versions.node.split(".").map(Number);if(e>22||e===22&&r>=3||e===20&&r>=16)return Re.getBuiltinModule(t)}return po(t)},"__cjs_getBuiltinModule"),{stripVTControlCharacters:ho,styleText:Qt}=tt("node:util"),wo=tt("node:fs"),te=tt("node:path"),{readFile:Lr}=tt("node:fs/promises");var ko=Object.defineProperty,z=S((t,e)=>ko(t,"name",{value:e,configurable:!0}),"k$2");function rt(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}S(rt,"E$5");z(rt,"L");var be=rt();function Et(t){be=t}S(Et,"ie");z(Et,"G");var He={exec:z(()=>null,"exec")};function L(t,e=""){let r=typeof t=="string"?t:t.source,n={replace:z((o,i)=>{let a=typeof i=="string"?i:i.source;return a=a.replace(W.caret,"$1"),r=r.replace(o,a),n},"replace"),getRegex:z(()=>new RegExp(r,e),"getRegex")};return n}S(L,"p$6");z(L,"k");var xo=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),W={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]\] +/,listTaskCheckbox:/\[[ 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:z(t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),"listItemRegex"),nextBulletRegex:z(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),"nextBulletRegex"),hrRegex:z(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),"hrRegex"),fencesBeginRegex:z(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),"fencesBeginRegex"),headingBeginRegex:z(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),"headingBeginRegex"),htmlBeginRegex:z(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),"htmlBeginRegex")},_o=/^(?:[ \t]*(?:\n|$))+/,$o=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Eo=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,je=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,So=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,St=/(?:[*+-]|\d{1,9}[.)])/,Tr=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Pr=L(Tr).replace(/bull/g,St).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(),Co=L(Tr).replace(/bull/g,St).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(),Ct=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Lo=/^[^\n]+/,Lt=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,To=L(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Lt).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Po=L(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,St).getRegex(),nt="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",Tt=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Mo=L("^ {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",Tt).replace("tag",nt).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Mr=L(Ct).replace("hr",je).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",nt).getRegex(),Ro=L(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Mr).getRegex(),Pt={blockquote:Ro,code:$o,def:To,fences:Eo,heading:So,hr:je,html:Mo,lheading:Pr,list:Po,newline:_o,paragraph:Mr,table:He,text:Lo},er=L("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",je).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",nt).getRegex(),Fo={...Pt,lheading:Co,table:er,paragraph:L(Ct).replace("hr",je).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",er).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",nt).getRegex()},zo={...Pt,html:L(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Tt).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:He,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:L(Ct).replace("hr",je).replace("heading",` *#{1,6} *[^
2
- ]`).replace("lheading",Pr).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Ho=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Ao=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Rr=/^( {2,}|\\)\n(?!\s*$)/,Io=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,ot=/[\p{P}\p{S}]/u,Mt=/[\s\p{P}\p{S}]/u,Fr=/[^\s\p{P}\p{S}]/u,Do=L(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Mt).getRegex(),zr=/(?!~)[\p{P}\p{S}]/u,Bo=/(?!~)[\s\p{P}\p{S}]/u,jo=/(?:[^\s\p{P}\p{S}]|~)/u,Oo=L(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",xo?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),Hr=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,qo=L(Hr,"u").replace(/punct/g,ot).getRegex(),Vo=L(Hr,"u").replace(/punct/g,zr).getRegex(),Ar="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Zo=L(Ar,"gu").replace(/notPunctSpace/g,Fr).replace(/punctSpace/g,Mt).replace(/punct/g,ot).getRegex(),Uo=L(Ar,"gu").replace(/notPunctSpace/g,jo).replace(/punctSpace/g,Bo).replace(/punct/g,zr).getRegex(),No=L("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Fr).replace(/punctSpace/g,Mt).replace(/punct/g,ot).getRegex(),Wo=L(/\\(punct)/,"gu").replace(/punct/g,ot).getRegex(),Go=L(/^<(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(),Yo=L(Tt).replace("(?:-->|$)","-->").getRegex(),Xo=L("^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",Yo).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ye=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Qo=L(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Ye).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Ir=L(/^!?\[(label)\]\[(ref)\]/).replace("label",Ye).replace("ref",Lt).getRegex(),Dr=L(/^!?\[(ref)\](?:\[\])?/).replace("ref",Lt).getRegex(),Jo=L("reflink|nolink(?!\\()","g").replace("reflink",Ir).replace("nolink",Dr).getRegex(),tr=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,Rt={_backpedal:He,anyPunctuation:Wo,autolink:Go,blockSkip:Oo,br:Rr,code:Ao,del:He,emStrongLDelim:qo,emStrongRDelimAst:Zo,emStrongRDelimUnd:No,escape:Ho,link:Qo,nolink:Dr,punctuation:Do,reflink:Ir,reflinkSearch:Jo,tag:Xo,text:Io,url:He},Ko={...Rt,link:L(/^!?\[(label)\]\((.*?)\)/).replace("label",Ye).getRegex(),reflink:L(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ye).getRegex()},mt={...Rt,emStrongRDelimAst:Uo,emStrongLDelim:Vo,url:L(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",tr).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\S]|[^\s~\\]))\1(?=[^~]|$)/,text:L(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",tr).getRegex()},ei={...mt,br:L(Rr).replace("{2,}","*").getRegex(),text:L(mt.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},We={normal:Pt,gfm:Fo,pedantic:zo},Fe={normal:Rt,gfm:mt,breaks:ei,pedantic:Ko},ti={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},rr=z(t=>ti[t],"de");function oe(t,e){if(e){if(W.escapeTest.test(t))return t.replace(W.escapeReplace,rr)}else if(W.escapeTestNoEncode.test(t))return t.replace(W.escapeReplaceNoEncode,rr);return t}S(oe,"$");z(oe,"w");function ft(t){try{t=encodeURI(t).replace(W.percentDecode,"%")}catch{return null}return t}S(ft,"ne$1");z(ft,"J");function vt(t,e){let r=t.replace(W.findPipe,(i,a,l)=>{let s=!1,p=a;for(;--p>=0&&l[p]==="\\";)s=!s;return s?"|":" |"}),n=r.split(W.splitPipe),o=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;o<n.length;o++)n[o]=n[o].trim().replace(W.slashPipe,"|");return n}S(vt,"se");z(vt,"V");function $e(t,e,r){let n=t.length;if(n===0)return"";let o=0;for(;o<n;){let i=t.charAt(n-o-1);if(i===e&&!r)o++;else if(i!==e&&r)o++;else break}return t.slice(0,n-o)}S($e,"_$1");z($e,"z");function Br(t,e){if(t.indexOf(e[1])===-1)return-1;let r=0;for(let n=0;n<t.length;n++)if(t[n]==="\\")n++;else if(t[n]===e[0])r++;else if(t[n]===e[1]&&(r--,r<0))return n;return r>0?-2:-1}S(Br,"et");z(Br,"ge");function wt(t,e,r,n,o){let i=e.href,a=e.title||null,l=t[1].replace(o.other.outputLinkReplace,"$1");n.state.inLink=!0;let s={type:t[0].charAt(0)==="!"?"image":"link",raw:r,href:i,title:a,text:l,tokens:n.inlineTokens(l)};return n.state.inLink=!1,s}S(wt,"le");z(wt,"fe");function jr(t,e,r){let n=t.match(r.other.indentCodeCompensation);if(n===null)return e;let o=n[1];return e.split(`
3
- `).map(i=>{let a=i.match(r.other.beginningSpace);if(a===null)return i;let[l]=a;return l.length>=o.length?i.slice(o.length):i}).join(`
4
- `)}S(jr,"tt");z(jr,"Ve");var Xe=class{static{S(this,"I")}static{z(this,"y")}options;rules;lexer;constructor(e){this.options=e||be}space(e){let r=this.rules.block.newline.exec(e);if(r&&r[0].length>0)return{type:"space",raw:r[0]}}code(e){let r=this.rules.block.code.exec(e);if(r){let n=r[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:r[0],codeBlockStyle:"indented",text:this.options.pedantic?n:$e(n,`
5
- `)}}}fences(e){let r=this.rules.block.fences.exec(e);if(r){let n=r[0],o=jr(n,r[3]||"",this.rules);return{type:"code",raw:n,lang:r[2]?r[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):r[2],text:o}}}heading(e){let r=this.rules.block.heading.exec(e);if(r){let n=r[2].trim();if(this.rules.other.endingHash.test(n)){let o=$e(n,"#");(this.options.pedantic||!o||this.rules.other.endingSpaceChar.test(o))&&(n=o.trim())}return{type:"heading",raw:r[0],depth:r[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){let r=this.rules.block.hr.exec(e);if(r)return{type:"hr",raw:$e(r[0],`
6
- `)}}blockquote(e){let r=this.rules.block.blockquote.exec(e);if(r){let n=$e(r[0],`
1
+ var po=Object.defineProperty;var S=(t,e)=>po(t,"name",{value:e,configurable:!0});import{createRequire as ho}from"node:module";import{codeToANSI as mo}from"@shikijs/cli";import{renderError as fo,getErrorCauses as vo}from"@visulima/error/error";import{errorHintFinder as wo,ruleBasedFinder as bo}from"@visulima/error/solution";import{distance as Ye}from"fastest-levenshtein";import{parseStacktrace as Ee,formatStacktrace as Lr,codeFrame as Jt}from"@visulima/error";import Kt from"@visulima/error/solution/ai/prompt";import{TraceMap as ko,originalPositionFor as xo}from"@jridgewell/trace-mapping";const uo=ho(import.meta.url),Fe=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,nt=S(t=>{if(typeof Fe<"u"&&Fe.versions&&Fe.versions.node){const[e,r]=Fe.versions.node.split(".").map(Number);if(e>22||e===22&&r>=3||e===20&&r>=16)return Fe.getBuiltinModule(t)}return uo(t)},"__cjs_getBuiltinModule"),{stripVTControlCharacters:go,styleText:Qt}=nt("node:util"),yo=nt("node:fs"),K=nt("node:path"),{readFile:Tr}=nt("node:fs/promises");var _o=Object.defineProperty,R=S((t,e)=>_o(t,"name",{value:e,configurable:!0}),"k$3");function ot(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}S(ot,"E$6");R(ot,"L");var be=ot();function St(t){be=t}S(St,"le");R(St,"Z");var De={exec:R(()=>null,"exec")};function L(t,e=""){let r=typeof t=="string"?t:t.source,o={replace:R((n,i)=>{let s=typeof i=="string"?i:i.source;return s=s.replace(W.caret,"$1"),r=r.replace(n,s),o},"replace"),getRegex:R(()=>new RegExp(r,e),"getRegex")};return o}S(L,"p$6");R(L,"k");var $o=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),W={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]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ 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:R(t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),"listItemRegex"),nextBulletRegex:R(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),"nextBulletRegex"),hrRegex:R(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),"hrRegex"),fencesBeginRegex:R(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),"fencesBeginRegex"),headingBeginRegex:R(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),"headingBeginRegex"),htmlBeginRegex:R(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),"htmlBeginRegex")},Eo=/^(?:[ \t]*(?:\n|$))+/,So=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Co=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,je=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Lo=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Ct=/(?:[*+-]|\d{1,9}[.)])/,Pr=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Mr=L(Pr).replace(/bull/g,Ct).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(),To=L(Pr).replace(/bull/g,Ct).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(),Lt=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Po=/^[^\n]+/,Tt=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Mo=L(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Tt).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Fo=L(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Ct).getRegex(),it="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",Pt=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Ro=L("^ {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",Pt).replace("tag",it).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Fr=L(Lt).replace("hr",je).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",it).getRegex(),zo=L(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Fr).getRegex(),Mt={blockquote:zo,code:So,def:Mo,fences:Co,heading:Lo,hr:je,html:Ro,lheading:Mr,list:Fo,newline:Eo,paragraph:Fr,table:De,text:Po},er=L("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",je).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",it).getRegex(),Do={...Mt,lheading:To,table:er,paragraph:L(Lt).replace("hr",je).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",er).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",it).getRegex()},Ho={...Mt,html:L(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Pt).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:De,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:L(Lt).replace("hr",je).replace("heading",` *#{1,6} *[^
2
+ ]`).replace("lheading",Mr).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Ao=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Io=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Rr=/^( {2,}|\\)\n(?!\s*$)/,Bo=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,st=/[\p{P}\p{S}]/u,Ft=/[\s\p{P}\p{S}]/u,zr=/[^\s\p{P}\p{S}]/u,jo=L(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Ft).getRegex(),Dr=/(?!~)[\p{P}\p{S}]/u,Oo=/(?!~)[\s\p{P}\p{S}]/u,qo=/(?:[^\s\p{P}\p{S}]|~)/u,Vo=L(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",$o?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),Hr=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Zo=L(Hr,"u").replace(/punct/g,st).getRegex(),Uo=L(Hr,"u").replace(/punct/g,Dr).getRegex(),Ar="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",No=L(Ar,"gu").replace(/notPunctSpace/g,zr).replace(/punctSpace/g,Ft).replace(/punct/g,st).getRegex(),Wo=L(Ar,"gu").replace(/notPunctSpace/g,qo).replace(/punctSpace/g,Oo).replace(/punct/g,Dr).getRegex(),Go=L("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,zr).replace(/punctSpace/g,Ft).replace(/punct/g,st).getRegex(),Yo=L(/\\(punct)/,"gu").replace(/punct/g,st).getRegex(),Xo=L(/^<(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(),Qo=L(Pt).replace("(?:-->|$)","-->").getRegex(),Jo=L("^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",Qo).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Xe=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Ko=L(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Xe).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Ir=L(/^!?\[(label)\]\[(ref)\]/).replace("label",Xe).replace("ref",Tt).getRegex(),Br=L(/^!?\[(ref)\](?:\[\])?/).replace("ref",Tt).getRegex(),ei=L("reflink|nolink(?!\\()","g").replace("reflink",Ir).replace("nolink",Br).getRegex(),tr=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,Rt={_backpedal:De,anyPunctuation:Yo,autolink:Xo,blockSkip:Vo,br:Rr,code:Io,del:De,emStrongLDelim:Zo,emStrongRDelimAst:No,emStrongRDelimUnd:Go,escape:Ao,link:Ko,nolink:Br,punctuation:jo,reflink:Ir,reflinkSearch:ei,tag:Jo,text:Bo,url:De},ti={...Rt,link:L(/^!?\[(label)\]\((.*?)\)/).replace("label",Xe).getRegex(),reflink:L(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Xe).getRegex()},ft={...Rt,emStrongRDelimAst:Wo,emStrongLDelim:Uo,url:L(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",tr).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\S]|[^\s~\\]))\1(?=[^~]|$)/,text:L(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",tr).getRegex()},ri={...ft,br:L(Rr).replace("{2,}","*").getRegex(),text:L(ft.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},We={normal:Mt,gfm:Do,pedantic:Ho},Re={normal:Rt,gfm:ft,breaks:ri,pedantic:ti},ni={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},rr=R(t=>ni[t],"ke");function ne(t,e){if(e){if(W.escapeTest.test(t))return t.replace(W.escapeReplace,rr)}else if(W.escapeTestNoEncode.test(t))return t.replace(W.escapeReplaceNoEncode,rr);return t}S(ne,"$$1");R(ne,"w");function vt(t){try{t=encodeURI(t).replace(W.percentDecode,"%")}catch{return null}return t}S(vt,"re$1");R(vt,"X");function wt(t,e){let r=t.replace(W.findPipe,(i,s,a)=>{let l=!1,d=s;for(;--d>=0&&a[d]==="\\";)l=!l;return l?"|":" |"}),o=r.split(W.splitPipe),n=0;if(o[0].trim()||o.shift(),o.length>0&&!o.at(-1)?.trim()&&o.pop(),e)if(o.length>e)o.splice(e);else for(;o.length<e;)o.push("");for(;n<o.length;n++)o[n]=o[n].trim().replace(W.slashPipe,"|");return o}S(wt,"se");R(wt,"J");function $e(t,e,r){let o=t.length;if(o===0)return"";let n=0;for(;n<o;){let i=t.charAt(o-n-1);if(i===e&&!r)n++;else if(i!==e&&r)n++;else break}return t.slice(0,o-n)}S($e,"_$2");R($e,"z");function jr(t,e){if(t.indexOf(e[1])===-1)return-1;let r=0;for(let o=0;o<t.length;o++)if(t[o]==="\\")o++;else if(t[o]===e[0])r++;else if(t[o]===e[1]&&(r--,r<0))return o;return r>0?-2:-1}S(jr,"Ye");R(jr,"de");function bt(t,e,r,o,n){let i=e.href,s=e.title||null,a=t[1].replace(n.other.outputLinkReplace,"$1");o.state.inLink=!0;let l={type:t[0].charAt(0)==="!"?"image":"link",raw:r,href:i,title:s,text:a,tokens:o.inlineTokens(a)};return o.state.inLink=!1,l}S(bt,"ne$1");R(bt,"ge");function Or(t,e,r){let o=t.match(r.other.indentCodeCompensation);if(o===null)return e;let n=o[1];return e.split(`
3
+ `).map(i=>{let s=i.match(r.other.beginningSpace);if(s===null)return i;let[a]=s;return a.length>=n.length?i.slice(n.length):i}).join(`
4
+ `)}S(Or,"et");R(Or,"Je");var Qe=class{static{S(this,"I")}static{R(this,"y")}options;rules;lexer;constructor(e){this.options=e||be}space(e){let r=this.rules.block.newline.exec(e);if(r&&r[0].length>0)return{type:"space",raw:r[0]}}code(e){let r=this.rules.block.code.exec(e);if(r){let o=r[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:r[0],codeBlockStyle:"indented",text:this.options.pedantic?o:$e(o,`
5
+ `)}}}fences(e){let r=this.rules.block.fences.exec(e);if(r){let o=r[0],n=Or(o,r[3]||"",this.rules);return{type:"code",raw:o,lang:r[2]?r[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):r[2],text:n}}}heading(e){let r=this.rules.block.heading.exec(e);if(r){let o=r[2].trim();if(this.rules.other.endingHash.test(o)){let n=$e(o,"#");(this.options.pedantic||!n||this.rules.other.endingSpaceChar.test(n))&&(o=n.trim())}return{type:"heading",raw:r[0],depth:r[1].length,text:o,tokens:this.lexer.inline(o)}}}hr(e){let r=this.rules.block.hr.exec(e);if(r)return{type:"hr",raw:$e(r[0],`
6
+ `)}}blockquote(e){let r=this.rules.block.blockquote.exec(e);if(r){let o=$e(r[0],`
7
7
  `).split(`
8
- `),o="",i="",a=[];for(;n.length>0;){let l=!1,s=[],p;for(p=0;p<n.length;p++)if(this.rules.other.blockquoteStart.test(n[p]))s.push(n[p]),l=!0;else if(!l)s.push(n[p]);else break;n=n.slice(p);let d=s.join(`
9
- `),g=d.replace(this.rules.other.blockquoteSetextReplace,`
10
- $1`).replace(this.rules.other.blockquoteSetextReplace2,"");o=o?`${o}
11
- ${d}`:d,i=i?`${i}
12
- ${g}`:g;let f=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(g,a,!0),this.lexer.state.top=f,n.length===0)break;let y=a.at(-1);if(y?.type==="code")break;if(y?.type==="blockquote"){let b=y,m=b.raw+`
13
- `+n.join(`
14
- `),k=this.blockquote(m);a[a.length-1]=k,o=o.substring(0,o.length-b.raw.length)+k.raw,i=i.substring(0,i.length-b.text.length)+k.text;break}else if(y?.type==="list"){let b=y,m=b.raw+`
15
- `+n.join(`
16
- `),k=this.list(m);a[a.length-1]=k,o=o.substring(0,o.length-y.raw.length)+k.raw,i=i.substring(0,i.length-b.raw.length)+k.raw,n=m.substring(a.at(-1).raw.length).split(`
17
- `);continue}}return{type:"blockquote",raw:o,tokens:a,text:i}}}list(e){let r=this.rules.block.list.exec(e);if(r){let n=r[1].trim(),o=n.length>1,i={type:"list",raw:"",ordered:o,start:o?+n.slice(0,-1):"",loose:!1,items:[]};n=o?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=o?n:"[*+-]");let a=this.rules.other.listItemRegex(n),l=!1;for(;e;){let p=!1,d="",g="";if(!(r=a.exec(e))||this.rules.block.hr.test(e))break;d=r[0],e=e.substring(d.length);let f=r[2].split(`
18
- `,1)[0].replace(this.rules.other.listReplaceTabs,T=>" ".repeat(3*T.length)),y=e.split(`
19
- `,1)[0],b=!f.trim(),m=0;if(this.options.pedantic?(m=2,g=f.trimStart()):b?m=r[1].length+1:(m=r[2].search(this.rules.other.nonSpaceChar),m=m>4?1:m,g=f.slice(m),m+=r[1].length),b&&this.rules.other.blankLine.test(y)&&(d+=y+`
20
- `,e=e.substring(y.length+1),p=!0),!p){let T=this.rules.other.nextBulletRegex(m),M=this.rules.other.hrRegex(m),C=this.rules.other.fencesBeginRegex(m),R=this.rules.other.headingBeginRegex(m),D=this.rules.other.htmlBeginRegex(m);for(;e;){let X=e.split(`
21
- `,1)[0],O;if(y=X,this.options.pedantic?(y=y.replace(this.rules.other.listReplaceNesting," "),O=y):O=y.replace(this.rules.other.tabCharGlobal," "),C.test(y)||R.test(y)||D.test(y)||T.test(y)||M.test(y))break;if(O.search(this.rules.other.nonSpaceChar)>=m||!y.trim())g+=`
22
- `+O.slice(m);else{if(b||f.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||C.test(f)||R.test(f)||M.test(f))break;g+=`
23
- `+y}!b&&!y.trim()&&(b=!0),d+=X+`
24
- `,e=e.substring(X.length+1),f=O.slice(m)}}i.loose||(l?i.loose=!0:this.rules.other.doubleBlankLine.test(d)&&(l=!0));let k=null;this.options.gfm&&(k=this.rules.other.listIsTask.exec(g),k&&(g=g.replace(this.rules.other.listReplaceTask,""))),i.items.push({type:"list_item",raw:d,task:!!k,loose:!1,text:g,tokens:[]}),i.raw+=d}let s=i.items.at(-1);if(s)s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd();else return;i.raw=i.raw.trimEnd();for(let p of i.items){if(this.lexer.state.top=!1,p.tokens=this.lexer.blockTokens(p.text,[]),p.task){let d=this.rules.other.listTaskCheckbox.exec(p.raw);if(d){let g={type:"checkbox",raw:d[0]+" ",checked:d[0]!=="[ ]"};p.checked=g.checked,i.loose?p.tokens[0]&&["paragraph","text"].includes(p.tokens[0].type)&&"tokens"in p.tokens[0]&&p.tokens[0].tokens?(p.tokens[0].raw=g.raw+p.tokens[0].raw,p.tokens[0].text=g.raw+p.tokens[0].text,p.tokens[0].tokens.unshift(g)):p.tokens.unshift({type:"paragraph",raw:g.raw,text:g.raw,tokens:[g]}):p.tokens.unshift(g)}}if(!i.loose){let d=p.tokens.filter(f=>f.type==="space"),g=d.length>0&&d.some(f=>this.rules.other.anyLine.test(f.raw));i.loose=g}}if(i.loose)for(let p of i.items){p.loose=!0;for(let d of p.tokens)d.type==="text"&&(d.type="paragraph")}return i}}html(e){let r=this.rules.block.html.exec(e);if(r)return{type:"html",block:!0,raw:r[0],pre:r[1]==="pre"||r[1]==="script"||r[1]==="style",text:r[0]}}def(e){let r=this.rules.block.def.exec(e);if(r){let n=r[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),o=r[2]?r[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=r[3]?r[3].substring(1,r[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):r[3];return{type:"def",tag:n,raw:r[0],href:o,title:i}}}table(e){let r=this.rules.block.table.exec(e);if(!r||!this.rules.other.tableDelimiter.test(r[2]))return;let n=vt(r[1]),o=r[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=r[3]?.trim()?r[3].replace(this.rules.other.tableRowBlankLine,"").split(`
25
- `):[],a={type:"table",raw:r[0],header:[],align:[],rows:[]};if(n.length===o.length){for(let l of o)this.rules.other.tableAlignRight.test(l)?a.align.push("right"):this.rules.other.tableAlignCenter.test(l)?a.align.push("center"):this.rules.other.tableAlignLeft.test(l)?a.align.push("left"):a.align.push(null);for(let l=0;l<n.length;l++)a.header.push({text:n[l],tokens:this.lexer.inline(n[l]),header:!0,align:a.align[l]});for(let l of i)a.rows.push(vt(l,a.header.length).map((s,p)=>({text:s,tokens:this.lexer.inline(s),header:!1,align:a.align[p]})));return a}}lheading(e){let r=this.rules.block.lheading.exec(e);if(r)return{type:"heading",raw:r[0],depth:r[2].charAt(0)==="="?1:2,text:r[1],tokens:this.lexer.inline(r[1])}}paragraph(e){let r=this.rules.block.paragraph.exec(e);if(r){let n=r[1].charAt(r[1].length-1)===`
26
- `?r[1].slice(0,-1):r[1];return{type:"paragraph",raw:r[0],text:n,tokens:this.lexer.inline(n)}}}text(e){let r=this.rules.block.text.exec(e);if(r)return{type:"text",raw:r[0],text:r[0],tokens:this.lexer.inline(r[0])}}escape(e){let r=this.rules.inline.escape.exec(e);if(r)return{type:"escape",raw:r[0],text:r[1]}}tag(e){let r=this.rules.inline.tag.exec(e);if(r)return!this.lexer.state.inLink&&this.rules.other.startATag.test(r[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(r[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(r[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(r[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:r[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:r[0]}}link(e){let r=this.rules.inline.link.exec(e);if(r){let n=r[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;let a=$e(n.slice(0,-1),"\\");if((n.length-a.length)%2===0)return}else{let a=Br(r[2],"()");if(a===-2)return;if(a>-1){let l=(r[0].indexOf("!")===0?5:4)+r[1].length+a;r[2]=r[2].substring(0,a),r[0]=r[0].substring(0,l).trim(),r[3]=""}}let o=r[2],i="";if(this.options.pedantic){let a=this.rules.other.pedanticHrefTitle.exec(o);a&&(o=a[1],i=a[3])}else i=r[3]?r[3].slice(1,-1):"";return o=o.trim(),this.rules.other.startAngleBracket.test(o)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?o=o.slice(1):o=o.slice(1,-1)),wt(r,{href:o&&o.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},r[0],this.lexer,this.rules)}}reflink(e,r){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let o=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),i=r[o.toLowerCase()];if(!i){let a=n[0].charAt(0);return{type:"text",raw:a,text:a}}return wt(n,i,n[0],this.lexer,this.rules)}}emStrong(e,r,n=""){let o=this.rules.inline.emStrongLDelim.exec(e);if(!(!o||o[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(o[1]||o[2])||!n||this.rules.inline.punctuation.exec(n))){let i=[...o[0]].length-1,a,l,s=i,p=0,d=o[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(d.lastIndex=0,r=r.slice(-1*e.length+i);(o=d.exec(r))!=null;){if(a=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!a)continue;if(l=[...a].length,o[3]||o[4]){s+=l;continue}else if((o[5]||o[6])&&i%3&&!((i+l)%3)){p+=l;continue}if(s-=l,s>0)continue;l=Math.min(l,l+s+p);let g=[...o[0]][0].length,f=e.slice(0,i+o.index+g+l);if(Math.min(i,l)%2){let b=f.slice(1,-1);return{type:"em",raw:f,text:b,tokens:this.lexer.inlineTokens(b)}}let y=f.slice(2,-2);return{type:"strong",raw:f,text:y,tokens:this.lexer.inlineTokens(y)}}}}codespan(e){let r=this.rules.inline.code.exec(e);if(r){let n=r[2].replace(this.rules.other.newLineCharGlobal," "),o=this.rules.other.nonSpaceChar.test(n),i=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return o&&i&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:r[0],text:n}}}br(e){let r=this.rules.inline.br.exec(e);if(r)return{type:"br",raw:r[0]}}del(e){let r=this.rules.inline.del.exec(e);if(r)return{type:"del",raw:r[0],text:r[2],tokens:this.lexer.inlineTokens(r[2])}}autolink(e){let r=this.rules.inline.autolink.exec(e);if(r){let n,o;return r[2]==="@"?(n=r[1],o="mailto:"+n):(n=r[1],o=n),{type:"link",raw:r[0],text:n,href:o,tokens:[{type:"text",raw:n,text:n}]}}}url(e){let r;if(r=this.rules.inline.url.exec(e)){let n,o;if(r[2]==="@")n=r[0],o="mailto:"+n;else{let i;do i=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])?.[0]??"";while(i!==r[0]);n=r[0],r[1]==="www."?o="http://"+r[0]:o=r[0]}return{type:"link",raw:r[0],text:n,href:o,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(e){let r=this.rules.inline.text.exec(e);if(r){let n=this.lexer.state.inRawBlock;return{type:"text",raw:r[0],text:r[0],escaped:n}}}},ie=class bt{static{S(this,"Q")}static{z(this,"l")}tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||be,this.options.tokenizer=this.options.tokenizer||new Xe,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let r={other:W,block:We.normal,inline:Fe.normal};this.options.pedantic?(r.block=We.pedantic,r.inline=Fe.pedantic):this.options.gfm&&(r.block=We.gfm,this.options.breaks?r.inline=Fe.breaks:r.inline=Fe.gfm),this.tokenizer.rules=r}static get rules(){return{block:We,inline:Fe}}static lex(e,r){return new bt(r).lex(e)}static lexInline(e,r){return new bt(r).inlineTokens(e)}lex(e){e=e.replace(W.carriageReturn,`
27
- `),this.blockTokens(e,this.tokens);for(let r=0;r<this.inlineQueue.length;r++){let n=this.inlineQueue[r];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,r=[],n=!1){for(this.options.pedantic&&(e=e.replace(W.tabCharGlobal," ").replace(W.spaceLine,""));e;){let o;if(this.options.extensions?.block?.some(a=>(o=a.call({lexer:this},e,r))?(e=e.substring(o.raw.length),r.push(o),!0):!1))continue;if(o=this.tokenizer.space(e)){e=e.substring(o.raw.length);let a=r.at(-1);o.raw.length===1&&a!==void 0?a.raw+=`
28
- `:r.push(o);continue}if(o=this.tokenizer.code(e)){e=e.substring(o.raw.length);let a=r.at(-1);a?.type==="paragraph"||a?.type==="text"?(a.raw+=(a.raw.endsWith(`
8
+ `),n="",i="",s=[];for(;o.length>0;){let a=!1,l=[],d;for(d=0;d<o.length;d++)if(this.rules.other.blockquoteStart.test(o[d]))l.push(o[d]),a=!0;else if(!a)l.push(o[d]);else break;o=o.slice(d);let p=l.join(`
9
+ `),m=p.replace(this.rules.other.blockquoteSetextReplace,`
10
+ $1`).replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n}
11
+ ${p}`:p,i=i?`${i}
12
+ ${m}`:m;let v=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(m,s,!0),this.lexer.state.top=v,o.length===0)break;let y=s.at(-1);if(y?.type==="code")break;if(y?.type==="blockquote"){let b=y,g=b.raw+`
13
+ `+o.join(`
14
+ `),k=this.blockquote(g);s[s.length-1]=k,n=n.substring(0,n.length-b.raw.length)+k.raw,i=i.substring(0,i.length-b.text.length)+k.text;break}else if(y?.type==="list"){let b=y,g=b.raw+`
15
+ `+o.join(`
16
+ `),k=this.list(g);s[s.length-1]=k,n=n.substring(0,n.length-y.raw.length)+k.raw,i=i.substring(0,i.length-b.raw.length)+k.raw,o=g.substring(s.at(-1).raw.length).split(`
17
+ `);continue}}return{type:"blockquote",raw:n,tokens:s,text:i}}}list(e){let r=this.rules.block.list.exec(e);if(r){let o=r[1].trim(),n=o.length>1,i={type:"list",raw:"",ordered:n,start:n?+o.slice(0,-1):"",loose:!1,items:[]};o=n?`\\d{1,9}\\${o.slice(-1)}`:`\\${o}`,this.options.pedantic&&(o=n?o:"[*+-]");let s=this.rules.other.listItemRegex(o),a=!1;for(;e;){let d=!1,p="",m="";if(!(r=s.exec(e))||this.rules.block.hr.test(e))break;p=r[0],e=e.substring(p.length);let v=r[2].split(`
18
+ `,1)[0].replace(this.rules.other.listReplaceTabs,k=>" ".repeat(3*k.length)),y=e.split(`
19
+ `,1)[0],b=!v.trim(),g=0;if(this.options.pedantic?(g=2,m=v.trimStart()):b?g=r[1].length+1:(g=r[2].search(this.rules.other.nonSpaceChar),g=g>4?1:g,m=v.slice(g),g+=r[1].length),b&&this.rules.other.blankLine.test(y)&&(p+=y+`
20
+ `,e=e.substring(y.length+1),d=!0),!d){let k=this.rules.other.nextBulletRegex(g),P=this.rules.other.hrRegex(g),M=this.rules.other.fencesBeginRegex(g),C=this.rules.other.headingBeginRegex(g),z=this.rules.other.htmlBeginRegex(g);for(;e;){let I=e.split(`
21
+ `,1)[0],U;if(y=I,this.options.pedantic?(y=y.replace(this.rules.other.listReplaceNesting," "),U=y):U=y.replace(this.rules.other.tabCharGlobal," "),M.test(y)||C.test(y)||z.test(y)||k.test(y)||P.test(y))break;if(U.search(this.rules.other.nonSpaceChar)>=g||!y.trim())m+=`
22
+ `+U.slice(g);else{if(b||v.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||M.test(v)||C.test(v)||P.test(v))break;m+=`
23
+ `+y}!b&&!y.trim()&&(b=!0),p+=I+`
24
+ `,e=e.substring(I.length+1),v=U.slice(g)}}i.loose||(a?i.loose=!0:this.rules.other.doubleBlankLine.test(p)&&(a=!0)),i.items.push({type:"list_item",raw:p,task:!!this.options.gfm&&this.rules.other.listIsTask.test(m),loose:!1,text:m,tokens:[]}),i.raw+=p}let l=i.items.at(-1);if(l)l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd();else return;i.raw=i.raw.trimEnd();for(let d of i.items){if(this.lexer.state.top=!1,d.tokens=this.lexer.blockTokens(d.text,[]),d.task){if(d.text=d.text.replace(this.rules.other.listReplaceTask,""),d.tokens[0]?.type==="text"||d.tokens[0]?.type==="paragraph"){d.tokens[0].raw=d.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),d.tokens[0].text=d.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let m=this.lexer.inlineQueue.length-1;m>=0;m--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[m].src)){this.lexer.inlineQueue[m].src=this.lexer.inlineQueue[m].src.replace(this.rules.other.listReplaceTask,"");break}}let p=this.rules.other.listTaskCheckbox.exec(d.raw);if(p){let m={type:"checkbox",raw:p[0]+" ",checked:p[0]!=="[ ]"};d.checked=m.checked,i.loose?d.tokens[0]&&["paragraph","text"].includes(d.tokens[0].type)&&"tokens"in d.tokens[0]&&d.tokens[0].tokens?(d.tokens[0].raw=m.raw+d.tokens[0].raw,d.tokens[0].text=m.raw+d.tokens[0].text,d.tokens[0].tokens.unshift(m)):d.tokens.unshift({type:"paragraph",raw:m.raw,text:m.raw,tokens:[m]}):d.tokens.unshift(m)}}if(!i.loose){let p=d.tokens.filter(v=>v.type==="space"),m=p.length>0&&p.some(v=>this.rules.other.anyLine.test(v.raw));i.loose=m}}if(i.loose)for(let d of i.items){d.loose=!0;for(let p of d.tokens)p.type==="text"&&(p.type="paragraph")}return i}}html(e){let r=this.rules.block.html.exec(e);if(r)return{type:"html",block:!0,raw:r[0],pre:r[1]==="pre"||r[1]==="script"||r[1]==="style",text:r[0]}}def(e){let r=this.rules.block.def.exec(e);if(r){let o=r[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=r[2]?r[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=r[3]?r[3].substring(1,r[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):r[3];return{type:"def",tag:o,raw:r[0],href:n,title:i}}}table(e){let r=this.rules.block.table.exec(e);if(!r||!this.rules.other.tableDelimiter.test(r[2]))return;let o=wt(r[1]),n=r[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=r[3]?.trim()?r[3].replace(this.rules.other.tableRowBlankLine,"").split(`
25
+ `):[],s={type:"table",raw:r[0],header:[],align:[],rows:[]};if(o.length===n.length){for(let a of n)this.rules.other.tableAlignRight.test(a)?s.align.push("right"):this.rules.other.tableAlignCenter.test(a)?s.align.push("center"):this.rules.other.tableAlignLeft.test(a)?s.align.push("left"):s.align.push(null);for(let a=0;a<o.length;a++)s.header.push({text:o[a],tokens:this.lexer.inline(o[a]),header:!0,align:s.align[a]});for(let a of i)s.rows.push(wt(a,s.header.length).map((l,d)=>({text:l,tokens:this.lexer.inline(l),header:!1,align:s.align[d]})));return s}}lheading(e){let r=this.rules.block.lheading.exec(e);if(r)return{type:"heading",raw:r[0],depth:r[2].charAt(0)==="="?1:2,text:r[1],tokens:this.lexer.inline(r[1])}}paragraph(e){let r=this.rules.block.paragraph.exec(e);if(r){let o=r[1].charAt(r[1].length-1)===`
26
+ `?r[1].slice(0,-1):r[1];return{type:"paragraph",raw:r[0],text:o,tokens:this.lexer.inline(o)}}}text(e){let r=this.rules.block.text.exec(e);if(r)return{type:"text",raw:r[0],text:r[0],tokens:this.lexer.inline(r[0])}}escape(e){let r=this.rules.inline.escape.exec(e);if(r)return{type:"escape",raw:r[0],text:r[1]}}tag(e){let r=this.rules.inline.tag.exec(e);if(r)return!this.lexer.state.inLink&&this.rules.other.startATag.test(r[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(r[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(r[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(r[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:r[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:r[0]}}link(e){let r=this.rules.inline.link.exec(e);if(r){let o=r[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(o)){if(!this.rules.other.endAngleBracket.test(o))return;let s=$e(o.slice(0,-1),"\\");if((o.length-s.length)%2===0)return}else{let s=jr(r[2],"()");if(s===-2)return;if(s>-1){let a=(r[0].indexOf("!")===0?5:4)+r[1].length+s;r[2]=r[2].substring(0,s),r[0]=r[0].substring(0,a).trim(),r[3]=""}}let n=r[2],i="";if(this.options.pedantic){let s=this.rules.other.pedanticHrefTitle.exec(n);s&&(n=s[1],i=s[3])}else i=r[3]?r[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(o)?n=n.slice(1):n=n.slice(1,-1)),bt(r,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},r[0],this.lexer,this.rules)}}reflink(e,r){let o;if((o=this.rules.inline.reflink.exec(e))||(o=this.rules.inline.nolink.exec(e))){let n=(o[2]||o[1]).replace(this.rules.other.multipleSpaceGlobal," "),i=r[n.toLowerCase()];if(!i){let s=o[0].charAt(0);return{type:"text",raw:s,text:s}}return bt(o,i,o[0],this.lexer,this.rules)}}emStrong(e,r,o=""){let n=this.rules.inline.emStrongLDelim.exec(e);if(!(!n||n[3]&&o.match(this.rules.other.unicodeAlphaNumeric))&&(!(n[1]||n[2])||!o||this.rules.inline.punctuation.exec(o))){let i=[...n[0]].length-1,s,a,l=i,d=0,p=n[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(p.lastIndex=0,r=r.slice(-1*e.length+i);(n=p.exec(r))!=null;){if(s=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!s)continue;if(a=[...s].length,n[3]||n[4]){l+=a;continue}else if((n[5]||n[6])&&i%3&&!((i+a)%3)){d+=a;continue}if(l-=a,l>0)continue;a=Math.min(a,a+l+d);let m=[...n[0]][0].length,v=e.slice(0,i+n.index+m+a);if(Math.min(i,a)%2){let b=v.slice(1,-1);return{type:"em",raw:v,text:b,tokens:this.lexer.inlineTokens(b)}}let y=v.slice(2,-2);return{type:"strong",raw:v,text:y,tokens:this.lexer.inlineTokens(y)}}}}codespan(e){let r=this.rules.inline.code.exec(e);if(r){let o=r[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(o),i=this.rules.other.startingSpaceChar.test(o)&&this.rules.other.endingSpaceChar.test(o);return n&&i&&(o=o.substring(1,o.length-1)),{type:"codespan",raw:r[0],text:o}}}br(e){let r=this.rules.inline.br.exec(e);if(r)return{type:"br",raw:r[0]}}del(e){let r=this.rules.inline.del.exec(e);if(r)return{type:"del",raw:r[0],text:r[2],tokens:this.lexer.inlineTokens(r[2])}}autolink(e){let r=this.rules.inline.autolink.exec(e);if(r){let o,n;return r[2]==="@"?(o=r[1],n="mailto:"+o):(o=r[1],n=o),{type:"link",raw:r[0],text:o,href:n,tokens:[{type:"text",raw:o,text:o}]}}}url(e){let r;if(r=this.rules.inline.url.exec(e)){let o,n;if(r[2]==="@")o=r[0],n="mailto:"+o;else{let i;do i=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])?.[0]??"";while(i!==r[0]);o=r[0],r[1]==="www."?n="http://"+r[0]:n=r[0]}return{type:"link",raw:r[0],text:o,href:n,tokens:[{type:"text",raw:o,text:o}]}}}inlineText(e){let r=this.rules.inline.text.exec(e);if(r){let o=this.lexer.state.inRawBlock;return{type:"text",raw:r[0],text:r[0],escaped:o}}}},oe=class yt{static{S(this,"O")}static{R(this,"u")}tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||be,this.options.tokenizer=this.options.tokenizer||new Qe,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let r={other:W,block:We.normal,inline:Re.normal};this.options.pedantic?(r.block=We.pedantic,r.inline=Re.pedantic):this.options.gfm&&(r.block=We.gfm,this.options.breaks?r.inline=Re.breaks:r.inline=Re.gfm),this.tokenizer.rules=r}static get rules(){return{block:We,inline:Re}}static lex(e,r){return new yt(r).lex(e)}static lexInline(e,r){return new yt(r).inlineTokens(e)}lex(e){e=e.replace(W.carriageReturn,`
27
+ `),this.blockTokens(e,this.tokens);for(let r=0;r<this.inlineQueue.length;r++){let o=this.inlineQueue[r];this.inlineTokens(o.src,o.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,r=[],o=!1){for(this.options.pedantic&&(e=e.replace(W.tabCharGlobal," ").replace(W.spaceLine,""));e;){let n;if(this.options.extensions?.block?.some(s=>(n=s.call({lexer:this},e,r))?(e=e.substring(n.raw.length),r.push(n),!0):!1))continue;if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length);let s=r.at(-1);n.raw.length===1&&s!==void 0?s.raw+=`
28
+ `:r.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length);let s=r.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=(s.raw.endsWith(`
29
29
  `)?"":`
30
- `)+o.raw,a.text+=`
31
- `+o.text,this.inlineQueue.at(-1).src=a.text):r.push(o);continue}if(o=this.tokenizer.fences(e)){e=e.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.heading(e)){e=e.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.hr(e)){e=e.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.blockquote(e)){e=e.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.list(e)){e=e.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.html(e)){e=e.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.def(e)){e=e.substring(o.raw.length);let a=r.at(-1);a?.type==="paragraph"||a?.type==="text"?(a.raw+=(a.raw.endsWith(`
30
+ `)+n.raw,s.text+=`
31
+ `+n.text,this.inlineQueue.at(-1).src=s.text):r.push(n);continue}if(n=this.tokenizer.fences(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.heading(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.hr(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.blockquote(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.list(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.html(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length);let s=r.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=(s.raw.endsWith(`
32
32
  `)?"":`
33
- `)+o.raw,a.text+=`
34
- `+o.raw,this.inlineQueue.at(-1).src=a.text):this.tokens.links[o.tag]||(this.tokens.links[o.tag]={href:o.href,title:o.title},r.push(o));continue}if(o=this.tokenizer.table(e)){e=e.substring(o.raw.length),r.push(o);continue}if(o=this.tokenizer.lheading(e)){e=e.substring(o.raw.length),r.push(o);continue}let i=e;if(this.options.extensions?.startBlock){let a=1/0,l=e.slice(1),s;this.options.extensions.startBlock.forEach(p=>{s=p.call({lexer:this},l),typeof s=="number"&&s>=0&&(a=Math.min(a,s))}),a<1/0&&a>=0&&(i=e.substring(0,a+1))}if(this.state.top&&(o=this.tokenizer.paragraph(i))){let a=r.at(-1);n&&a?.type==="paragraph"?(a.raw+=(a.raw.endsWith(`
33
+ `)+n.raw,s.text+=`
34
+ `+n.raw,this.inlineQueue.at(-1).src=s.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title},r.push(n));continue}if(n=this.tokenizer.table(e)){e=e.substring(n.raw.length),r.push(n);continue}if(n=this.tokenizer.lheading(e)){e=e.substring(n.raw.length),r.push(n);continue}let i=e;if(this.options.extensions?.startBlock){let s=1/0,a=e.slice(1),l;this.options.extensions.startBlock.forEach(d=>{l=d.call({lexer:this},a),typeof l=="number"&&l>=0&&(s=Math.min(s,l))}),s<1/0&&s>=0&&(i=e.substring(0,s+1))}if(this.state.top&&(n=this.tokenizer.paragraph(i))){let s=r.at(-1);o&&s?.type==="paragraph"?(s.raw+=(s.raw.endsWith(`
35
35
  `)?"":`
36
- `)+o.raw,a.text+=`
37
- `+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):r.push(o),n=i.length!==e.length,e=e.substring(o.raw.length);continue}if(o=this.tokenizer.text(e)){e=e.substring(o.raw.length);let a=r.at(-1);a?.type==="text"?(a.raw+=(a.raw.endsWith(`
36
+ `)+n.raw,s.text+=`
37
+ `+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):r.push(n),o=i.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length);let s=r.at(-1);s?.type==="text"?(s.raw+=(s.raw.endsWith(`
38
38
  `)?"":`
39
- `)+o.raw,a.text+=`
40
- `+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):r.push(o);continue}if(e){let 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,r}inline(e,r=[]){return this.inlineQueue.push({src:e,tokens:r}),r}inlineTokens(e,r=[]){let n=e,o=null;if(this.tokens.links){let s=Object.keys(this.tokens.links);if(s.length>0)for(;(o=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)s.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(o=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,o.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let i;for(;(o=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)i=o[2]?o[2].length:0,n=n.slice(0,o.index+i)+"["+"a".repeat(o[0].length-i-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let a=!1,l="";for(;e;){a||(l=""),a=!1;let s;if(this.options.extensions?.inline?.some(d=>(s=d.call({lexer:this},e,r))?(e=e.substring(s.raw.length),r.push(s),!0):!1))continue;if(s=this.tokenizer.escape(e)){e=e.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.tag(e)){e=e.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.link(e)){e=e.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(s.raw.length);let d=r.at(-1);s.type==="text"&&d?.type==="text"?(d.raw+=s.raw,d.text+=s.text):r.push(s);continue}if(s=this.tokenizer.emStrong(e,n,l)){e=e.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.codespan(e)){e=e.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.br(e)){e=e.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.del(e)){e=e.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.autolink(e)){e=e.substring(s.raw.length),r.push(s);continue}if(!this.state.inLink&&(s=this.tokenizer.url(e))){e=e.substring(s.raw.length),r.push(s);continue}let p=e;if(this.options.extensions?.startInline){let d=1/0,g=e.slice(1),f;this.options.extensions.startInline.forEach(y=>{f=y.call({lexer:this},g),typeof f=="number"&&f>=0&&(d=Math.min(d,f))}),d<1/0&&d>=0&&(p=e.substring(0,d+1))}if(s=this.tokenizer.inlineText(p)){e=e.substring(s.raw.length),s.raw.slice(-1)!=="_"&&(l=s.raw.slice(-1)),a=!0;let d=r.at(-1);d?.type==="text"?(d.raw+=s.raw,d.text+=s.text):r.push(s);continue}if(e){let d="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(d);break}else throw new Error(d)}}return r}},Qe=class{static{S(this,"L")}static{z(this,"P")}options;parser;constructor(e){this.options=e||be}space(e){return""}code({text:e,lang:r,escaped:n}){let o=(r||"").match(W.notSpaceStart)?.[0],i=e.replace(W.endingNewline,"")+`
41
- `;return o?'<pre><code class="language-'+oe(o)+'">'+(n?i:oe(i,!0))+`</code></pre>
42
- `:"<pre><code>"+(n?i:oe(i,!0))+`</code></pre>
39
+ `)+n.raw,s.text+=`
40
+ `+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):r.push(n);continue}if(e){let s="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(s);break}else throw new Error(s)}}return this.state.top=!0,r}inline(e,r=[]){return this.inlineQueue.push({src:e,tokens:r}),r}inlineTokens(e,r=[]){let o=e,n=null;if(this.tokens.links){let l=Object.keys(this.tokens.links);if(l.length>0)for(;(n=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null;)l.includes(n[0].slice(n[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,n.index)+"["+"a".repeat(n[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(n=this.tokenizer.rules.inline.anyPunctuation.exec(o))!=null;)o=o.slice(0,n.index)+"++"+o.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let i;for(;(n=this.tokenizer.rules.inline.blockSkip.exec(o))!=null;)i=n[2]?n[2].length:0,o=o.slice(0,n.index+i)+"["+"a".repeat(n[0].length-i-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);o=this.options.hooks?.emStrongMask?.call({lexer:this},o)??o;let s=!1,a="";for(;e;){s||(a=""),s=!1;let l;if(this.options.extensions?.inline?.some(p=>(l=p.call({lexer:this},e,r))?(e=e.substring(l.raw.length),r.push(l),!0):!1))continue;if(l=this.tokenizer.escape(e)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.tag(e)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.link(e)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(l.raw.length);let p=r.at(-1);l.type==="text"&&p?.type==="text"?(p.raw+=l.raw,p.text+=l.text):r.push(l);continue}if(l=this.tokenizer.emStrong(e,o,a)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.codespan(e)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.br(e)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.del(e)){e=e.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.autolink(e)){e=e.substring(l.raw.length),r.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(e))){e=e.substring(l.raw.length),r.push(l);continue}let d=e;if(this.options.extensions?.startInline){let p=1/0,m=e.slice(1),v;this.options.extensions.startInline.forEach(y=>{v=y.call({lexer:this},m),typeof v=="number"&&v>=0&&(p=Math.min(p,v))}),p<1/0&&p>=0&&(d=e.substring(0,p+1))}if(l=this.tokenizer.inlineText(d)){e=e.substring(l.raw.length),l.raw.slice(-1)!=="_"&&(a=l.raw.slice(-1)),s=!0;let p=r.at(-1);p?.type==="text"?(p.raw+=l.raw,p.text+=l.text):r.push(l);continue}if(e){let p="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(p);break}else throw new Error(p)}}return r}},Je=class{static{S(this,"L")}static{R(this,"P")}options;parser;constructor(e){this.options=e||be}space(e){return""}code({text:e,lang:r,escaped:o}){let n=(r||"").match(W.notSpaceStart)?.[0],i=e.replace(W.endingNewline,"")+`
41
+ `;return n?'<pre><code class="language-'+ne(n)+'">'+(o?i:ne(i,!0))+`</code></pre>
42
+ `:"<pre><code>"+(o?i:ne(i,!0))+`</code></pre>
43
43
  `}blockquote({tokens:e}){return`<blockquote>
44
44
  ${this.parser.parse(e)}</blockquote>
45
45
  `}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:r}){return`<h${r}>${this.parser.parseInline(e)}</h${r}>
46
46
  `}hr(e){return`<hr>
47
- `}list(e){let r=e.ordered,n=e.start,o="";for(let l=0;l<e.items.length;l++){let s=e.items[l];o+=this.listitem(s)}let i=r?"ol":"ul",a=r&&n!==1?' start="'+n+'"':"";return"<"+i+a+`>
48
- `+o+"</"+i+`>
47
+ `}list(e){let r=e.ordered,o=e.start,n="";for(let a=0;a<e.items.length;a++){let l=e.items[a];n+=this.listitem(l)}let i=r?"ol":"ul",s=r&&o!==1?' start="'+o+'"':"";return"<"+i+s+`>
48
+ `+n+"</"+i+`>
49
49
  `}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li>
50
50
  `}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
51
- `}table(e){let r="",n="";for(let i=0;i<e.header.length;i++)n+=this.tablecell(e.header[i]);r+=this.tablerow({text:n});let o="";for(let i=0;i<e.rows.length;i++){let a=e.rows[i];n="";for(let l=0;l<a.length;l++)n+=this.tablecell(a[l]);o+=this.tablerow({text:n})}return o&&(o=`<tbody>${o}</tbody>`),`<table>
51
+ `}table(e){let r="",o="";for(let i=0;i<e.header.length;i++)o+=this.tablecell(e.header[i]);r+=this.tablerow({text:o});let n="";for(let i=0;i<e.rows.length;i++){let s=e.rows[i];o="";for(let a=0;a<s.length;a++)o+=this.tablecell(s[a]);n+=this.tablerow({text:o})}return n&&(n=`<tbody>${n}</tbody>`),`<table>
52
52
  <thead>
53
53
  `+r+`</thead>
54
- `+o+`</table>
54
+ `+n+`</table>
55
55
  `}tablerow({text:e}){return`<tr>
56
56
  ${e}</tr>
57
- `}tablecell(e){let r=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+r+`</${n}>
58
- `}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${oe(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:r,tokens:n}){let o=this.parser.parseInline(n),i=ft(e);if(i===null)return o;e=i;let a='<a href="'+e+'"';return r&&(a+=' title="'+oe(r)+'"'),a+=">"+o+"</a>",a}image({href:e,title:r,text:n,tokens:o}){o&&(n=this.parser.parseInline(o,this.parser.textRenderer));let i=ft(e);if(i===null)return oe(n);e=i;let a=`<img src="${e}" alt="${n}"`;return r&&(a+=` title="${oe(r)}"`),a+=">",a}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:oe(e.text)}},Ft=class{static{S(this,"D")}static{z(this,"$")}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""}checkbox({raw:e}){return e}},ae=class yt{static{S(this,"N")}static{z(this,"l")}options;renderer;textRenderer;constructor(e){this.options=e||be,this.options.renderer=this.options.renderer||new Qe,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Ft}static parse(e,r){return new yt(r).parse(e)}static parseInline(e,r){return new yt(r).parseInline(e)}parse(e){let r="";for(let n=0;n<e.length;n++){let o=e[n];if(this.options.extensions?.renderers?.[o.type]){let a=o,l=this.options.extensions.renderers[a.type].call({parser:this},a);if(l!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(a.type)){r+=l||"";continue}}let i=o;switch(i.type){case"space":{r+=this.renderer.space(i);break}case"hr":{r+=this.renderer.hr(i);break}case"heading":{r+=this.renderer.heading(i);break}case"code":{r+=this.renderer.code(i);break}case"table":{r+=this.renderer.table(i);break}case"blockquote":{r+=this.renderer.blockquote(i);break}case"list":{r+=this.renderer.list(i);break}case"checkbox":{r+=this.renderer.checkbox(i);break}case"html":{r+=this.renderer.html(i);break}case"def":{r+=this.renderer.def(i);break}case"paragraph":{r+=this.renderer.paragraph(i);break}case"text":{r+=this.renderer.text(i);break}default:{let a='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return r}parseInline(e,r=this.renderer){let n="";for(let o=0;o<e.length;o++){let i=e[o];if(this.options.extensions?.renderers?.[i.type]){let l=this.options.extensions.renderers[i.type].call({parser:this},i);if(l!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){n+=l||"";continue}}let a=i;switch(a.type){case"escape":{n+=r.text(a);break}case"html":{n+=r.html(a);break}case"link":{n+=r.link(a);break}case"image":{n+=r.image(a);break}case"checkbox":{n+=r.checkbox(a);break}case"strong":{n+=r.strong(a);break}case"em":{n+=r.em(a);break}case"codespan":{n+=r.codespan(a);break}case"br":{n+=r.br(a);break}case"del":{n+=r.del(a);break}case"text":{n+=r.text(a);break}default:{let l='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return n}},ze=class{static{S(this,"T")}static{z(this,"S")}options;block;constructor(e){this.options=e||be}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){return this.block?ie.lex:ie.lexInline}provideParser(){return this.block?ae.parse:ae.parseInline}},ri=class{static{S(this,"xe")}static{z(this,"B")}defaults=rt();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=ae;Renderer=Qe;TextRenderer=Ft;Lexer=ie;Tokenizer=Xe;Hooks=ze;constructor(...e){this.use(...e)}walkTokens(e,r){let n=[];for(let o of e)switch(n=n.concat(r.call(this,o)),o.type){case"table":{let i=o;for(let a of i.header)n=n.concat(this.walkTokens(a.tokens,r));for(let a of i.rows)for(let l of a)n=n.concat(this.walkTokens(l.tokens,r));break}case"list":{let i=o;n=n.concat(this.walkTokens(i.items,r));break}default:{let i=o;this.defaults.extensions?.childTokens?.[i.type]?this.defaults.extensions.childTokens[i.type].forEach(a=>{let l=i[a].flat(1/0);n=n.concat(this.walkTokens(l,r))}):i.tokens&&(n=n.concat(this.walkTokens(i.tokens,r)))}}return n}use(...e){let r=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{let o={...n};if(o.async=this.defaults.async||o.async||!1,n.extensions&&(n.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){let a=r.renderers[i.name];a?r.renderers[i.name]=function(...l){let s=i.renderer.apply(this,l);return s===!1&&(s=a.apply(this,l)),s}:r.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let a=r[i.level];a?a.unshift(i.tokenizer):r[i.level]=[i.tokenizer],i.start&&(i.level==="block"?r.startBlock?r.startBlock.push(i.start):r.startBlock=[i.start]:i.level==="inline"&&(r.startInline?r.startInline.push(i.start):r.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(r.childTokens[i.name]=i.childTokens)}),o.extensions=r),n.renderer){let i=this.defaults.renderer||new Qe(this.defaults);for(let a in n.renderer){if(!(a in i))throw new Error(`renderer '${a}' does not exist`);if(["options","parser"].includes(a))continue;let l=a,s=n.renderer[l],p=i[l];i[l]=(...d)=>{let g=s.apply(i,d);return g===!1&&(g=p.apply(i,d)),g||""}}o.renderer=i}if(n.tokenizer){let i=this.defaults.tokenizer||new Xe(this.defaults);for(let a in n.tokenizer){if(!(a in i))throw new Error(`tokenizer '${a}' does not exist`);if(["options","rules","lexer"].includes(a))continue;let l=a,s=n.tokenizer[l],p=i[l];i[l]=(...d)=>{let g=s.apply(i,d);return g===!1&&(g=p.apply(i,d)),g}}o.tokenizer=i}if(n.hooks){let i=this.defaults.hooks||new ze;for(let a in n.hooks){if(!(a in i))throw new Error(`hook '${a}' does not exist`);if(["options","block"].includes(a))continue;let l=a,s=n.hooks[l],p=i[l];ze.passThroughHooks.has(a)?i[l]=d=>{if(this.defaults.async&&ze.passThroughHooksRespectAsync.has(a))return(async()=>{let f=await s.call(i,d);return p.call(i,f)})();let g=s.call(i,d);return p.call(i,g)}:i[l]=(...d)=>{if(this.defaults.async)return(async()=>{let f=await s.apply(i,d);return f===!1&&(f=await p.apply(i,d)),f})();let g=s.apply(i,d);return g===!1&&(g=p.apply(i,d)),g}}o.hooks=i}if(n.walkTokens){let i=this.defaults.walkTokens,a=n.walkTokens;o.walkTokens=function(l){let s=[];return s.push(a.call(this,l)),i&&(s=s.concat(i.call(this,l))),s}}this.defaults={...this.defaults,...o}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,r){return ie.lex(e,r??this.defaults)}parser(e,r){return ae.parse(e,r??this.defaults)}parseMarkdown(e){return(r,n)=>{let o={...n},i={...this.defaults,...o},a=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&o.async===!1)return a(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 r>"u"||r===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(i.hooks&&(i.hooks.options=i,i.hooks.block=e),i.async)return(async()=>{let l=i.hooks?await i.hooks.preprocess(r):r,s=await(i.hooks?await i.hooks.provideLexer():e?ie.lex:ie.lexInline)(l,i),p=i.hooks?await i.hooks.processAllTokens(s):s;i.walkTokens&&await Promise.all(this.walkTokens(p,i.walkTokens));let d=await(i.hooks?await i.hooks.provideParser():e?ae.parse:ae.parseInline)(p,i);return i.hooks?await i.hooks.postprocess(d):d})().catch(a);try{i.hooks&&(r=i.hooks.preprocess(r));let l=(i.hooks?i.hooks.provideLexer():e?ie.lex:ie.lexInline)(r,i);i.hooks&&(l=i.hooks.processAllTokens(l)),i.walkTokens&&this.walkTokens(l,i.walkTokens);let s=(i.hooks?i.hooks.provideParser():e?ae.parse:ae.parseInline)(l,i);return i.hooks&&(s=i.hooks.postprocess(s)),s}catch(l){return a(l)}}}onError(e,r){return n=>{if(n.message+=`
59
- Please report this to https://github.com/markedjs/marked.`,e){let o="<p>An error occurred:</p><pre>"+oe(n.message+"",!0)+"</pre>";return r?Promise.resolve(o):o}if(r)return Promise.reject(n);throw n}}},we=new ri;function H(t,e){return we.parse(t,e)}S(H,"g$5");z(H,"d");H.options=H.setOptions=function(t){return we.setOptions(t),H.defaults=we.defaults,Et(H.defaults),H};H.getDefaults=rt;H.defaults=be;H.use=function(...t){return we.use(...t),H.defaults=we.defaults,Et(H.defaults),H};H.walkTokens=function(t,e){return we.walkTokens(t,e)};H.parseInline=we.parseInline;H.Parser=ae;H.parser=ae.parse;H.Renderer=Qe;H.TextRenderer=Ft;H.Lexer=ie;H.lexer=ie.lex;H.Tokenizer=Xe;H.Hooks=ze;H.parse=H;var nr=H,ni=Object.defineProperty,oi=S((t,e)=>ni(t,"name",{value:e,configurable:!0}),"t$1");const ii=["cjs","mjs"],ai=["mdoc"],Ce=oi(t=>{const e=(t.split("?")[0]??t).split(".").pop()?.toLowerCase();if(!e||ii.includes(e))return"javascript";if(ai.includes(e))return"markdown";switch(e){case"js":return"javascript";case"json":return"json";case"json5":return"json5";case"jsonc":return"jsonc";case"jsx":return"jsx";case"sql":return"sql";case"ts":return"typescript";case"tsx":return"tsx";case"xml":return"xml";case"md":return"markdown";case"mdx":return"mdx";case"svelte":return"svelte";case"vue":return"vue";case"html":return"html";case"css":return"css";case"scss":return"scss";case"less":return"less";case"sass":return"sass";case"stylus":return"stylus";case"styl":return"styl";default:return"javascript"}},"findLanguageBasedOnExtension"),si=500,Or="visulima:vite-overlay:error",li="visulima-vite-overlay",qr="Error",ci="Runtime error",or="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-copy%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Crect%20width%3D%2214%22%20height%3D%2214%22%20x%3D%228%22%20y%3D%228%22%20rx%3D%222%22%20ry%3D%222%22%20%2F%3E%20%3Cpath%20d%3D%22M4%2016c-1.1%200-2-.9-2-2V4c0-1.1.9-2%202-2h10c1.1%200%202%20.9%202%202%22%20%2F%3E%20%3C%2Fsvg%3E",ir="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-info%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%20%2F%3E%20%3Cpath%20d%3D%22M12%2016v-4%22%20%2F%3E%20%3Cpath%20d%3D%22M12%208h.01%22%20%2F%3E%20%3C%2Fsvg%3E",ar="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-moon-star%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M18%205h4%22%20%2F%3E%20%3Cpath%20d%3D%22M20%203v4%22%20%2F%3E%20%3Cpath%20d%3D%22M20.985%2012.486a9%209%200%201%201-9.473-9.472c.405-.022.617.46.402.803a6%206%200%200%200%208.268%208.268c.344-.215.825-.004.803.401%22%20%2F%3E%20%3C%2Fsvg%3E",sr="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-sun%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224%22%20%2F%3E%20%3Cpath%20d%3D%22M12%202v2%22%20%2F%3E%20%3Cpath%20d%3D%22M12%2020v2%22%20%2F%3E%20%3Cpath%20d%3D%22m4.93%204.93%201.41%201.41%22%20%2F%3E%20%3Cpath%20d%3D%22m17.66%2017.66%201.41%201.41%22%20%2F%3E%20%3Cpath%20d%3D%22M2%2012h2%22%20%2F%3E%20%3Cpath%20d%3D%22M20%2012h2%22%20%2F%3E%20%3Cpath%20d%3D%22m6.34%2017.66-1.41%201.41%22%20%2F%3E%20%3Cpath%20d%3D%22m19.07%204.93-1.41%201.41%22%20%2F%3E%20%3C%2Fsvg%3E",lr="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-x%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M18%206%206%2018%22%20%2F%3E%20%3Cpath%20d%3D%22m6%206%2012%2012%22%20%2F%3E%20%3C%2Fsvg%3E";var kt=(t=>(t.appcode="AppCode",t["android-studio"]="Android Studio",t.atom="Atom",t["atom-beta"]="Atom Beta",t.brackets="Brackets",t.clion="CLion",t.code="Visual Studio Code",t["code-insiders"]="Visual Studio Code Insiders",t.codium="VSCodium",t.cursor="Cursor",t.emacs="GNU Emacs",t.emacsforosx="GNU Emacs for Mac OS X",t.intellij="IntelliJ IDEA",t.idea="IntelliJ IDEA",t.nano="GNU nano",t.neovim="NeoVim",t["notepad++"]="Notepad++",t.phpstorm="PhpStorm",t.pycharm="PyCharm",t.rider="Rider",t.rubymine="RubyMine",t.sublime="SublimeText",t.textmate="TextMate",t.vim="Vim",t.visualstudio="Visual Studio",t.vscode="Visual Studio Code",t.vscodium="VSCodium",t.webstorm="WebStorm",t.xcode="Xcode",t.zed="Zed",t))(kt||{}),di=`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
60
- @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-outline-style:solid}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-600:oklch(68.1% .162 75.834);--color-lime-800:oklch(45.3% .124 130.933);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-emerald-500:oklch(69.6% .17 162.48);--color-cyan-600:oklch(60.9% .126 221.723);--color-blue-50:oklch(97% .014 254.604);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25/1.875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--radius-md:.375rem;--radius-lg:.5rem;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}button:not(:disabled),[role=button]:not(:disabled){cursor:pointer}body{background-color:var(--ono-v-bg);color:var(--ono-v-text)}pre,code{color:var(--ono-v-text)}.text-muted{color:var(--ono-v-text-muted)}a{color:var(--ono-v-link)}a:hover{text-decoration:underline}::selection{background:var(--ono-v-red-orange)}@supports (color:color-mix(in lab, red, red)){::selection{background:color-mix(in srgb,var(--ono-v-red-orange)20%,transparent)}}kbd{background-color:var(--ono-v-chip-bg);color:var(--ono-v-chip-text);border-radius:.375rem;padding:.125rem .375rem;font:.75rem ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}hr{border-color:var(--ono-v-border)}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{appearance:none;--tw-shadow:0 0 #0000;background-color:#fff;border-width:1px;border-color:oklch(55.1% .027 264.364);border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem}:is([type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select):focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:oklch(54.6% .245 262.881);outline:2px solid #0000}input::placeholder,textarea::placeholder{color:oklch(55.1% .027 264.364);opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-date-and-time-value{text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-year-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-month-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-day-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-hour-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-minute-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-second-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-millisecond-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{print-color-adjust:exact;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='oklch(55.1%25 0.027 264.364)' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;print-color-adjust:unset;padding-right:.75rem}[type=checkbox],[type=radio]{appearance:none;print-color-adjust:exact;vertical-align:middle;-webkit-user-select:none;user-select:none;color:oklch(54.6% .245 262.881);--tw-shadow:0 0 #0000;background-color:#fff;background-origin:border-box;border-width:1px;border-color:oklch(55.1% .027 264.364);flex-shrink:0;width:1rem;height:1rem;padding:0;display:inline-block}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{background-color:currentColor;border-color:#0000}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{background-color:currentColor;border-color:#0000}[type=file]{background:unset;border-color:inherit;font-size:unset;line-height:inherit;border-width:0;border-radius:0;padding:0}[type=file]:focus{outline:1px solid buttontext;outline:1px auto -webkit-focus-ring-color}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:calc(var(--spacing)*0)}.top-4{top:calc(var(--spacing)*4)}.top-\\[calc\\(var\\(--ono-v-dialog-border-width\\)\\*-1\\)\\]{top:calc(var(--ono-v-dialog-border-width)*-1)}.right-6{right:calc(var(--spacing)*6)}.right-\\[-54px\\]{right:-54px}.left-\\[-54px\\]{left:-54px}.-z-1{z-index:calc(1*-1)}.z-2{z-index:2}.z-10{z-index:10}.z-\\[2147483647\\]{z-index:2147483647}.m-1{margin:calc(var(--spacing)*1)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-auto{margin-inline:auto}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);margin-top:1.2em;margin-bottom:1.2em;font-size:1.25em;line-height:1.6}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:decimal}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:disc}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.25em;font-weight:600}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;font-style:italic;font-weight:500}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:0;margin-bottom:.888889em;font-size:2.25em;font-weight:800;line-height:1.11111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:2em;margin-bottom:1em;font-size:1.5em;font-weight:700;line-height:1.33333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.6em;margin-bottom:.6em;font-size:1.25em;font-weight:600;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em;display:block}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;border-radius:.3125rem;padding-inline-start:.375em;font-family:inherit;font-size:.875em;font-weight:500}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"\`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);padding-top:.857143em;padding-inline-end:1.14286em;padding-bottom:.857143em;border-radius:.375rem;margin-top:1.71429em;margin-bottom:1.71429em;padding-inline-start:1.14286em;font-size:.875em;font-weight:400;line-height:1.71429;overflow-x:auto}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;background-color:#0000;border-width:0;border-radius:0;padding:0}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){table-layout:auto;width:100%;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.71429}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);vertical-align:bottom;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em;font-weight:600}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);margin-top:.857143em;font-size:.875em;line-height:1.42857}.prose{--tw-prose-body:oklch(37.3% .034 259.733);--tw-prose-headings:oklch(21% .034 264.665);--tw-prose-lead:oklch(44.6% .03 256.802);--tw-prose-links:oklch(21% .034 264.665);--tw-prose-bold:oklch(21% .034 264.665);--tw-prose-counters:oklch(55.1% .027 264.364);--tw-prose-bullets:oklch(87.2% .01 258.338);--tw-prose-hr:oklch(92.8% .006 264.531);--tw-prose-quotes:oklch(21% .034 264.665);--tw-prose-quote-borders:oklch(92.8% .006 264.531);--tw-prose-captions:oklch(55.1% .027 264.364);--tw-prose-kbd:oklch(21% .034 264.665);--tw-prose-kbd-shadows:oklab(21% -.00316127 -.0338527/.1);--tw-prose-code:oklch(21% .034 264.665);--tw-prose-pre-code:oklch(92.8% .006 264.531);--tw-prose-pre-bg:oklch(27.8% .033 256.848);--tw-prose-th-borders:oklch(87.2% .01 258.338);--tw-prose-td-borders:oklch(92.8% .006 264.531);--tw-prose-invert-body:oklch(87.2% .01 258.338);--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:oklch(70.7% .022 261.325);--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:oklch(70.7% .022 261.325);--tw-prose-invert-bullets:oklch(44.6% .03 256.802);--tw-prose-invert-hr:oklch(37.3% .034 259.733);--tw-prose-invert-quotes:oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders:oklch(37.3% .034 259.733);--tw-prose-invert-captions:oklch(70.7% .022 261.325);--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:#ffffff1a;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg:#00000080;--tw-prose-invert-th-borders:oklch(44.6% .03 256.802);--tw-prose-invert-td-borders:oklch(37.3% .034 259.733);font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.571429em;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.71429}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.888889em;margin-bottom:.888889em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.33333em;margin-bottom:1.33333em;padding-inline-start:1.11111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:.8em;font-size:2.14286em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.6em;margin-bottom:.8em;font-size:1.42857em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.55556em;margin-bottom:.444444em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.42857em;margin-bottom:.571429em;line-height:1.42857}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.142857em;padding-inline-end:.357143em;padding-bottom:.142857em;border-radius:.3125rem;padding-inline-start:.357143em;font-size:.857143em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;border-radius:.25rem;margin-top:1.66667em;margin-bottom:1.66667em;padding-inline-start:1em;font-size:.857143em;line-height:1.66667}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em;padding-inline-start:1.57143em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;margin-bottom:.285714em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.428571em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;padding-inline-start:1.57143em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.85714em;margin-bottom:2.85714em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.666667em;font-size:.857143em;line-height:1.33333}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.-mt-3{margin-top:calc(var(--spacing)*-3)}.-mt-5{margin-top:calc(var(--spacing)*-5)}.mt-8{margin-top:calc(var(--spacing)*8)}.mb-0{margin-bottom:calc(var(--spacing)*0)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.ml-2{margin-left:calc(var(--spacing)*2)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.size-5{width:calc(var(--spacing)*5);height:calc(var(--spacing)*5)}.size-6\\.5{width:calc(var(--spacing)*6.5);height:calc(var(--spacing)*6.5)}.size-8{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-10{height:calc(var(--spacing)*10)}.h-\\[40vmin\\]{height:40vmin}.h-\\[calc\\(100\\%\\+var\\(--ono-v-dialog-border-width\\)\\)\\]{height:calc(100% + var(--ono-v-dialog-border-width))}.h-\\[var\\(--ono-v-dialog-notch-height\\)\\]{height:var(--ono-v-dialog-notch-height)}.max-h-50{max-height:calc(var(--spacing)*50)}.max-h-\\[140px\\]{max-height:140px}.max-h-\\[calc\\(100\\%-56px\\)\\]{max-height:calc(100% - 56px)}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-screen{min-height:100vh}.w-1\\/2{width:50%}.w-1\\/3{width:33.3333%}.w-2\\/3{width:66.6667%}.w-2\\/5{width:40%}.w-3\\/4{width:75%}.w-3\\/5{width:60%}.w-4{width:calc(var(--spacing)*4)}.w-4\\/5{width:80%}.w-6{width:calc(var(--spacing)*6)}.w-42{width:calc(var(--spacing)*42)}.w-44{width:calc(var(--spacing)*44)}.w-\\[calc\\(100\\%-24px\\)\\]{width:calc(100% - 24px)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-\\[calc\\(var\\(--ono-v-dialog-max-width\\)-24px\\)\\]{max-width:calc(var(--ono-v-dialog-max-width) - 24px)}.max-w-\\[var\\(--ono-v-dialog-max-width\\)\\]{max-width:var(--ono-v-dialog-max-width)}.max-w-full{max-width:100%}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-5{min-width:calc(var(--spacing)*5)}.min-w-8{min-width:calc(var(--spacing)*8)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.translate-x-\\[calc\\(var\\(--ono-v-dialog-border-width\\)\\*-1\\)\\]{--tw-translate-x:calc(var(--ono-v-dialog-border-width)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-\\[var\\(--ono-v-dialog-border-width\\)\\]{--tw-translate-x:var(--ono-v-dialog-border-width);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\\[var\\(--ono-v-dialog-border-width\\)\\]{--tw-translate-y:var(--ono-v-dialog-border-width);translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.\\[transform\\:rotateY\\(180deg\\)\\]{transform:rotateY(180deg)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-\\[spin_20s_linear_infinite\\]{animation:20s linear infinite spin}.animate-pulse{animation:var(--animate-pulse)}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-0\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\[var\\(--ono-v-radius-md\\)\\]{border-radius:var(--ono-v-radius-md)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-tl-\\[var\\(--ono-v-dialog-radius\\)\\]{border-top-left-radius:var(--ono-v-dialog-radius)}.rounded-tr-\\[var\\(--ono-v-dialog-radius\\)\\]{border-top-right-radius:var(--ono-v-dialog-radius)}.rounded-b-\\[var\\(--ono-v-dialog-radius\\)\\]{border-bottom-right-radius:var(--ono-v-dialog-radius);border-bottom-left-radius:var(--ono-v-dialog-radius)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.border-none{--tw-border-style:none;border-style:none}.border-\\[var\\(--ono-v-border\\)\\]{border-color:var(--ono-v-border)}.border-\\[var\\(--stroke-color\\)\\]{border-color:var(--stroke-color)}.bg-\\[\\#282c34\\]{background-color:#282c34}.bg-\\[\\#b0c8aa\\]{background-color:#b0c8aa}.bg-\\[var\\(--background-color\\)\\]{background-color:var(--background-color)}.bg-\\[var\\(--ono-v-chip-bg\\)\\]{background-color:var(--ono-v-chip-bg)}.bg-\\[var\\(--ono-v-red-orange\\)\\]{background-color:var(--ono-v-red-orange)}.bg-\\[var\\(--ono-v-success-bg\\)\\]{background-color:var(--ono-v-success-bg)}.bg-\\[var\\(--ono-v-surface\\)\\]{background-color:var(--ono-v-surface)}.bg-\\[var\\(--ono-v-surface-muted\\)\\]{background-color:var(--ono-v-surface-muted)}.bg-black\\/60{background-color:#0009}@supports (color:color-mix(in lab, red, red)){.bg-black\\/60{background-color:color-mix(in oklab,var(--color-black)60%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-cyan-600{background-color:var(--color-cyan-600)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-600{background-color:var(--color-gray-600)}.bg-green-500{background-color:var(--color-green-500)}.bg-red-500{background-color:var(--color-red-500)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\\/20{background-color:#fff3}@supports (color:color-mix(in lab, red, red)){.bg-white\\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.bg-yellow-500{background-color:var(--color-yellow-500)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-\\[15px\\]{padding-inline:15px}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.pe-6{padding-inline-end:calc(var(--spacing)*6)}.pt-5{padding-top:calc(var(--spacing)*5)}.pt-\\[10vh\\]{padding-top:10vh}.pr-0{padding-right:calc(var(--spacing)*0)}.pl-0{padding-left:calc(var(--spacing)*0)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[calc\\(10px\\+2vmin\\)\\]{font-size:calc(10px + 2vmin)}.leading-4{--tw-leading:calc(var(--spacing)*4);line-height:calc(var(--spacing)*4)}.leading-5{--tw-leading:calc(var(--spacing)*5);line-height:calc(var(--spacing)*5)}.leading-none{--tw-leading:1;line-height:1}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[\\#61dafb\\]{color:#61dafb}.text-\\[var\\(--ono-v-red-orange\\)\\]{color:var(--ono-v-red-orange)}.text-\\[var\\(--ono-v-text\\)\\]{color:var(--ono-v-text)}.text-\\[var\\(--ono-v-text-muted\\)\\]{color:var(--ono-v-text-muted)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[var\\(--ono-v-elevation-1\\)\\]{--tw-shadow:var(--ono-v-elevation-1);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[var\\(--ono-v-elevation-2\\)\\]{--tw-shadow:var(--ono-v-elevation-2);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.inset-shadow-\\[var\\(--ono-v-elevation-2\\)\\]{--tw-inset-shadow:inset var(--ono-v-elevation-2);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.\\[vite\\:legacy\\]{vite:legacy}.\\[vite\\:react-babel\\]{vite:react-babel}.\\[vite\\:vue\\]{vite:vue}.hover\\:bg-\\[var\\(--ono-v-hover-overlay\\)\\]:hover{background-color:var(--ono-v-hover-overlay)}.hover\\:bg-blue-600:hover{background-color:var(--color-blue-600)}.hover\\:bg-green-600:hover{background-color:var(--color-green-600)}.hover\\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\\:bg-yellow-600:hover{background-color:var(--color-yellow-600)}.hover\\:text-\\[var\\(--ono-v-text\\)\\]:hover{color:var(--ono-v-text)}.hover\\:text-\\[var\\(--ono-v-text-muted\\)\\]:hover{color:var(--ono-v-text-muted)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:brightness-105:hover{--tw-brightness:brightness(105%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.focus\\:bg-\\[var\\(--ono-v-hover-overlay\\)\\]:focus{background-color:var(--ono-v-hover-overlay)}.focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-\\[var\\(--ono-v-red-orange\\)\\]:focus{--tw-ring-color:var(--ono-v-red-orange)}.focus\\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus\\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus-visible\\:outline:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\\:outline-\\[var\\(--ono-v-red-orange\\)\\]:focus-visible{outline-color:var(--ono-v-red-orange)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}@media (min-width:40rem){.sm\\:flex{display:flex}}@media (min-width:48rem){.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}}.dark\\:bg-gray-700:where(.dark,.dark *){background-color:var(--color-gray-700)}.dark\\:bg-lime-800:where(.dark,.dark *){background-color:var(--color-lime-800)}.dark\\:text-gray-400:where(.dark,.dark *){color:var(--color-gray-400)}.dark\\:prose-invert:where(.dark,.dark *){--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-kbd:var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows:var(--tw-prose-invert-kbd-shadows);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}.prose-headings\\:text-white :where(h1,h2,h3,h4,h5,h6,th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--color-white)}.prose-ul\\:list-none :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:none}.prose-hr\\:my-6 :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-block:calc(var(--spacing)*6)}.prose-hr\\:border :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-style:var(--tw-border-style);border-width:1px}}:host{--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:rotateX(0);--tw-rotate-y:rotateY(0);--tw-rotate-z:rotateZ(0);--tw-skew-x:skewX(0);--tw-skew-y:skewY(0);--tw-space-x-reverse:0;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial:;--ono-v-white-smoke:#f5f5f5;--ono-v-red-orange:#ff4628;--ono-v-charcoal-black:#202020;--ono-v-bg:var(--ono-v-white-smoke);--ono-v-surface:#fff;--ono-v-surface-muted:#fafafa;--ono-v-border:#b9c8d780;--ono-v-hover-overlay:#2020200d;--ono-v-success:#2ea043;--ono-v-success-bg:#d6eed1;--ono-v-neutral:#6e7681;--ono-v-neutral-bg:#6e76812e;--ono-v-chip-bg:#6e768124;--ono-v-chip-text:var(--ono-v-text);--ono-v-radius-md:.5rem;--ono-v-radius-lg:.75rem;--ono-v-elevation-1:0 1px 2px #0000000a,0 1px 1px #00000005;--ono-v-elevation-2:0 10px 25px -5px #2020201a,0 8px 10px -6px #2020201a;--ono-v-text:#111827;--ono-v-text-muted:#374151;--ono-v-link:#c4311d;--ono-v-muted-on-surface:#374151;--ono-v-on-accent:#fff;--ono-v-dialog-border-width:1px;--ono-v-dialog-radius:12px;--ono-v-dialog-max-width:960px;--ono-v-dialog-row-padding:16px;--ono-v-dialog-padding:12px;--ono-v-dialog-notch-height:42px}.dark{--ono-v-bg:#161b22;--ono-v-surface:#0d1117;--ono-v-surface-muted:#0f141b;--ono-v-border:#30363d99;--ono-v-text:#c9d1d9;--ono-v-text-muted:#8b949e;--ono-v-link:#ff6a52;--ono-v-muted-on-surface:#8b949e;--ono-v-hover-overlay:#f0f6fc0f;--ono-v-on-accent:#fff;--ono-v-success:#2ea043;--ono-v-success-bg:#2ea04333;--ono-v-neutral:#6e7681;--ono-v-neutral-bg:#6e768140;--ono-v-chip-bg:#6e768133;--ono-v-chip-text:var(--ono-v-text)}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (min-width:576px){:host{--ono-v-dialog-max-width:540px}}@media (min-width:768px){:host{--ono-v-dialog-max-width:720px}}@media (min-width:992px){:host{--ono-v-dialog-max-width:960px}}button:focus-visible,[role=tab]:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,[data-open-in-editor]:focus-visible,.js-clipboard:focus-visible{outline:2px solid var(--ono-v-red-orange);outline-offset:2px}.lucide{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.dui{width:1rem;height:1rem;-webkit-mask-image:var(--icon);-webkit-mask-position:50%;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-image:var(--icon);-webkit-mask-image:var(--icon);mask-image:var(--icon);background-color:currentColor;display:inline-block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.dui.hidden{display:none!important}.shiki{max-width:100%;max-height:300px;padding-bottom:calc(var(--spacing)*4);overflow-wrap:break-word;overflow:auto}.shiki pre{max-width:100%;overflow:auto}.dark .shiki,.dark .shiki span{color:var(--shiki-dark)!important;background-color:var(--shiki-dark-bg)!important;font-style:var(--shiki-dark-font-style)!important;font-weight:var(--shiki-dark-font-weight)!important;-webkit-text-decoration:var(--shiki-dark-text-decoration)!important;-webkit-text-decoration:var(--shiki-dark-text-decoration)!important;text-decoration:var(--shiki-dark-text-decoration)!important}.shiki.has-diff .diff{position:relative}.shiki.has-diff .diff.add span{background-color:#00c75826}@supports (color:color-mix(in lab, red, red)){.shiki.has-diff .diff.add span{background-color:color-mix(in oklab,var(--color-green-500)15%,transparent)}}.shiki.has-diff .diff.remove span{background-color:#fb2c3626}@supports (color:color-mix(in lab, red, red)){.shiki.has-diff .diff.remove span{background-color:color-mix(in oklab,var(--color-red-500)15%,transparent)}}.shiki.has-diff .diff.add:before{pointer-events:none;left:calc(var(--spacing)*3);margin-top:calc(var(--spacing)*.5);--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold);color:var(--color-green-500);-webkit-user-select:none;user-select:none;content:"+";position:absolute}.shiki.has-diff .diff.remove:before{pointer-events:none;left:calc(var(--spacing)*3);margin-top:calc(var(--spacing)*.5);--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold);color:var(--color-red-500);-webkit-user-select:none;user-select:none;content:"−";position:absolute}.dark .shiki.has-diff .diff.add{background-color:#00c75833!important}@supports (color:color-mix(in lab, red, red)){.dark .shiki.has-diff .diff.add{background-color:color-mix(in oklab,var(--color-green-500)20%,transparent)!important}}.dark .shiki.has-diff .diff.remove{background-color:#fb2c3633!important}@supports (color:color-mix(in lab, red, red)){.dark .shiki.has-diff .diff.remove{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)!important}}.dark .shiki.has-diff .diff.add:before{color:var(--color-green-400)}.dark .shiki.has-diff .diff.remove:before{color:var(--color-red-400)}.dark [type=checkbox]:checked,.dark [type=radio]:checked{background-color:currentColor}.v-o-skeleton{background:linear-gradient(90deg,#00000014 25%,#0000 50%,#00000014 75%) 0 0/200% 100%}.dark .v-o-skeleton{background:linear-gradient(90deg,#ffffff1a 25%,#0000 50%,#ffffff1a 75%)}#__v_o__stacktrace summary svg{transition:transform .2s}#__v_o__stacktrace[open] summary svg{transform:rotate(90deg)}:has(#__v_o__root){overflow:hidden}#__v_o__root{scrollbar-width:thin;scrollbar-color:var(--ono-v-border)transparent}#__v_o__root::-webkit-scrollbar{width:8px;height:8px}#__v_o__root::-webkit-scrollbar-track{background:var(--ono-v-surface-muted);border-radius:4px}#__v_o__root::-webkit-scrollbar-thumb{background:var(--ono-v-border);border:1px solid var(--ono-v-surface-muted);border-radius:4px}#__v_o__root::-webkit-scrollbar-thumb:hover{background:var(--ono-v-neutral)}#__v_o__root::-webkit-scrollbar-thumb:active{background:var(--ono-v-link)}#__v_o__root::-webkit-scrollbar-corner{background:var(--ono-v-surface-muted)}.dark #__v_o__root{scrollbar-color:#6e768199 transparent}.dark #__v_o__root::-webkit-scrollbar-track{background:#0f141bcc}.dark #__v_o__root::-webkit-scrollbar-thumb{background:#6e768199;border-color:#0f141bcc}.dark #__v_o__root::-webkit-scrollbar-thumb:hover{background:#6e768199}.dark #__v_o__root::-webkit-scrollbar-thumb:active{background:var(--ono-v-red-orange)}.dark #__v_o__root::-webkit-scrollbar-corner{background:#0f141bcc}#__v_o__root{pointer-events:auto}#__v_o__root.scrolling-history{-webkit-user-select:none;user-select:none;cursor:grab}#__v_o__root.scrolling-history:active{cursor:grabbing}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}`;const cr=`/* eslint-disable no-bitwise */
57
+ `}tablecell(e){let r=this.parser.parseInline(e.tokens),o=e.header?"th":"td";return(e.align?`<${o} align="${e.align}">`:`<${o}>`)+r+`</${o}>
58
+ `}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${ne(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:r,tokens:o}){let n=this.parser.parseInline(o),i=vt(e);if(i===null)return n;e=i;let s='<a href="'+e+'"';return r&&(s+=' title="'+ne(r)+'"'),s+=">"+n+"</a>",s}image({href:e,title:r,text:o,tokens:n}){n&&(o=this.parser.parseInline(n,this.parser.textRenderer));let i=vt(e);if(i===null)return ne(o);e=i;let s=`<img src="${e}" alt="${o}"`;return r&&(s+=` title="${ne(r)}"`),s+=">",s}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:ne(e.text)}},zt=class{static{S(this,"D")}static{R(this,"$")}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""}checkbox({raw:e}){return e}},ie=class kt{static{S(this,"H")}static{R(this,"u")}options;renderer;textRenderer;constructor(e){this.options=e||be,this.options.renderer=this.options.renderer||new Je,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new zt}static parse(e,r){return new kt(r).parse(e)}static parseInline(e,r){return new kt(r).parseInline(e)}parse(e){let r="";for(let o=0;o<e.length;o++){let n=e[o];if(this.options.extensions?.renderers?.[n.type]){let s=n,a=this.options.extensions.renderers[s.type].call({parser:this},s);if(a!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(s.type)){r+=a||"";continue}}let i=n;switch(i.type){case"space":{r+=this.renderer.space(i);break}case"hr":{r+=this.renderer.hr(i);break}case"heading":{r+=this.renderer.heading(i);break}case"code":{r+=this.renderer.code(i);break}case"table":{r+=this.renderer.table(i);break}case"blockquote":{r+=this.renderer.blockquote(i);break}case"list":{r+=this.renderer.list(i);break}case"checkbox":{r+=this.renderer.checkbox(i);break}case"html":{r+=this.renderer.html(i);break}case"def":{r+=this.renderer.def(i);break}case"paragraph":{r+=this.renderer.paragraph(i);break}case"text":{r+=this.renderer.text(i);break}default:{let s='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(s),"";throw new Error(s)}}}return r}parseInline(e,r=this.renderer){let o="";for(let n=0;n<e.length;n++){let i=e[n];if(this.options.extensions?.renderers?.[i.type]){let a=this.options.extensions.renderers[i.type].call({parser:this},i);if(a!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){o+=a||"";continue}}let s=i;switch(s.type){case"escape":{o+=r.text(s);break}case"html":{o+=r.html(s);break}case"link":{o+=r.link(s);break}case"image":{o+=r.image(s);break}case"checkbox":{o+=r.checkbox(s);break}case"strong":{o+=r.strong(s);break}case"em":{o+=r.em(s);break}case"codespan":{o+=r.codespan(s);break}case"br":{o+=r.br(s);break}case"del":{o+=r.del(s);break}case"text":{o+=r.text(s);break}default:{let a='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return o}},ze=class{static{S(this,"T")}static{R(this,"S")}options;block;constructor(e){this.options=e||be}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){return this.block?oe.lex:oe.lexInline}provideParser(){return this.block?ie.parse:ie.parseInline}},oi=class{static{S(this,"fe")}static{R(this,"B")}defaults=ot();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=ie;Renderer=Je;TextRenderer=zt;Lexer=oe;Tokenizer=Qe;Hooks=ze;constructor(...t){this.use(...t)}walkTokens(t,e){let r=[];for(let o of t)switch(r=r.concat(e.call(this,o)),o.type){case"table":{let n=o;for(let i of n.header)r=r.concat(this.walkTokens(i.tokens,e));for(let i of n.rows)for(let s of i)r=r.concat(this.walkTokens(s.tokens,e));break}case"list":{let n=o;r=r.concat(this.walkTokens(n.items,e));break}default:{let n=o;this.defaults.extensions?.childTokens?.[n.type]?this.defaults.extensions.childTokens[n.type].forEach(i=>{let s=n[i].flat(1/0);r=r.concat(this.walkTokens(s,e))}):n.tokens&&(r=r.concat(this.walkTokens(n.tokens,e)))}}return r}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(r=>{let o={...r};if(o.async=this.defaults.async||o.async||!1,r.extensions&&(r.extensions.forEach(n=>{if(!n.name)throw new Error("extension name required");if("renderer"in n){let i=e.renderers[n.name];i?e.renderers[n.name]=function(...s){let a=n.renderer.apply(this,s);return a===!1&&(a=i.apply(this,s)),a}:e.renderers[n.name]=n.renderer}if("tokenizer"in n){if(!n.level||n.level!=="block"&&n.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let i=e[n.level];i?i.unshift(n.tokenizer):e[n.level]=[n.tokenizer],n.start&&(n.level==="block"?e.startBlock?e.startBlock.push(n.start):e.startBlock=[n.start]:n.level==="inline"&&(e.startInline?e.startInline.push(n.start):e.startInline=[n.start]))}"childTokens"in n&&n.childTokens&&(e.childTokens[n.name]=n.childTokens)}),o.extensions=e),r.renderer){let n=this.defaults.renderer||new Je(this.defaults);for(let i in r.renderer){if(!(i in n))throw new Error(`renderer '${i}' does not exist`);if(["options","parser"].includes(i))continue;let s=i,a=r.renderer[s],l=n[s];n[s]=(...d)=>{let p=a.apply(n,d);return p===!1&&(p=l.apply(n,d)),p||""}}o.renderer=n}if(r.tokenizer){let n=this.defaults.tokenizer||new Qe(this.defaults);for(let i in r.tokenizer){if(!(i in n))throw new Error(`tokenizer '${i}' does not exist`);if(["options","rules","lexer"].includes(i))continue;let s=i,a=r.tokenizer[s],l=n[s];n[s]=(...d)=>{let p=a.apply(n,d);return p===!1&&(p=l.apply(n,d)),p}}o.tokenizer=n}if(r.hooks){let n=this.defaults.hooks||new ze;for(let i in r.hooks){if(!(i in n))throw new Error(`hook '${i}' does not exist`);if(["options","block"].includes(i))continue;let s=i,a=r.hooks[s],l=n[s];ze.passThroughHooks.has(i)?n[s]=d=>{if(this.defaults.async&&ze.passThroughHooksRespectAsync.has(i))return(async()=>{let m=await a.call(n,d);return l.call(n,m)})();let p=a.call(n,d);return l.call(n,p)}:n[s]=(...d)=>{if(this.defaults.async)return(async()=>{let m=await a.apply(n,d);return m===!1&&(m=await l.apply(n,d)),m})();let p=a.apply(n,d);return p===!1&&(p=l.apply(n,d)),p}}o.hooks=n}if(r.walkTokens){let n=this.defaults.walkTokens,i=r.walkTokens;o.walkTokens=function(s){let a=[];return a.push(i.call(this,s)),n&&(a=a.concat(n.call(this,s))),a}}this.defaults={...this.defaults,...o}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return oe.lex(t,e??this.defaults)}parser(t,e){return ie.parse(t,e??this.defaults)}parseMarkdown(t){return(e,r)=>{let o={...r},n={...this.defaults,...o},i=this.onError(!!n.silent,!!n.async);if(this.defaults.async===!0&&o.async===!1)return i(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 e>"u"||e===null)return i(new Error("marked(): input parameter is undefined or null"));if(typeof e!="string")return i(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(n.hooks&&(n.hooks.options=n,n.hooks.block=t),n.async)return(async()=>{let s=n.hooks?await n.hooks.preprocess(e):e,a=await(n.hooks?await n.hooks.provideLexer():t?oe.lex:oe.lexInline)(s,n),l=n.hooks?await n.hooks.processAllTokens(a):a;n.walkTokens&&await Promise.all(this.walkTokens(l,n.walkTokens));let d=await(n.hooks?await n.hooks.provideParser():t?ie.parse:ie.parseInline)(l,n);return n.hooks?await n.hooks.postprocess(d):d})().catch(i);try{n.hooks&&(e=n.hooks.preprocess(e));let s=(n.hooks?n.hooks.provideLexer():t?oe.lex:oe.lexInline)(e,n);n.hooks&&(s=n.hooks.processAllTokens(s)),n.walkTokens&&this.walkTokens(s,n.walkTokens);let a=(n.hooks?n.hooks.provideParser():t?ie.parse:ie.parseInline)(s,n);return n.hooks&&(a=n.hooks.postprocess(a)),a}catch(s){return i(s)}}}onError(t,e){return r=>{if(r.message+=`
59
+ Please report this to https://github.com/markedjs/marked.`,t){let o="<p>An error occurred:</p><pre>"+ne(r.message+"",!0)+"</pre>";return e?Promise.resolve(o):o}if(e)return Promise.reject(r);throw r}}},we=new oi;function D(t,e){return we.parse(t,e)}S(D,"g$5");R(D,"d");D.options=D.setOptions=function(t){return we.setOptions(t),D.defaults=we.defaults,St(D.defaults),D};D.getDefaults=ot;D.defaults=be;D.use=function(...t){return we.use(...t),D.defaults=we.defaults,St(D.defaults),D};D.walkTokens=function(t,e){return we.walkTokens(t,e)};D.parseInline=we.parseInline;D.Parser=ie;D.parser=ie.parse;D.Renderer=Je;D.TextRenderer=zt;D.Lexer=oe;D.lexer=oe.lex;D.Tokenizer=Qe;D.Hooks=ze;D.parse=D;var nr=D,ii=Object.defineProperty,si=S((t,e)=>ii(t,"name",{value:e,configurable:!0}),"t$1");const ai=["cjs","mjs"],li=["mdoc"],Ce=si(t=>{const e=(t.split("?")[0]??t).split(".").pop()?.toLowerCase();if(!e||ai.includes(e))return"javascript";if(li.includes(e))return"markdown";switch(e){case"js":return"javascript";case"json":return"json";case"json5":return"json5";case"jsonc":return"jsonc";case"jsx":return"jsx";case"sql":return"sql";case"ts":return"typescript";case"tsx":return"tsx";case"xml":return"xml";case"md":return"markdown";case"mdx":return"mdx";case"svelte":return"svelte";case"vue":return"vue";case"html":return"html";case"css":return"css";case"scss":return"scss";case"less":return"less";case"sass":return"sass";case"stylus":return"stylus";case"styl":return"styl";default:return"javascript"}},"findLanguageBasedOnExtension"),ci=500,qr="visulima:vite-overlay:error",di="visulima-vite-overlay",Vr="Error",pi="Runtime error",or="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-chevron-left%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22m15%2018-6-6%206-6%22%20%2F%3E%20%3C%2Fsvg%3E",Ge="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-chevron-right%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22m9%2018%206-6-6-6%22%20%2F%3E%20%3C%2Fsvg%3E",ir="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-clock%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M12%206v6l4%202%22%20%2F%3E%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%20%2F%3E%20%3C%2Fsvg%3E",sr="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-copy%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Crect%20width%3D%2214%22%20height%3D%2214%22%20x%3D%228%22%20y%3D%228%22%20rx%3D%222%22%20ry%3D%222%22%20%2F%3E%20%3Cpath%20d%3D%22M4%2016c-1.1%200-2-.9-2-2V4c0-1.1.9-2%202-2h10c1.1%200%202%20.9%202%202%22%20%2F%3E%20%3C%2Fsvg%3E",ar="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-info%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%20%2F%3E%20%3Cpath%20d%3D%22M12%2016v-4%22%20%2F%3E%20%3Cpath%20d%3D%22M12%208h.01%22%20%2F%3E%20%3C%2Fsvg%3E",lr="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-moon-star%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M18%205h4%22%20%2F%3E%20%3Cpath%20d%3D%22M20%203v4%22%20%2F%3E%20%3Cpath%20d%3D%22M20.985%2012.486a9%209%200%201%201-9.473-9.472c.405-.022.617.46.402.803a6%206%200%200%200%208.268%208.268c.344-.215.825-.004.803.401%22%20%2F%3E%20%3C%2Fsvg%3E",cr="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-sun%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224%22%20%2F%3E%20%3Cpath%20d%3D%22M12%202v2%22%20%2F%3E%20%3Cpath%20d%3D%22M12%2020v2%22%20%2F%3E%20%3Cpath%20d%3D%22m4.93%204.93%201.41%201.41%22%20%2F%3E%20%3Cpath%20d%3D%22m17.66%2017.66%201.41%201.41%22%20%2F%3E%20%3Cpath%20d%3D%22M2%2012h2%22%20%2F%3E%20%3Cpath%20d%3D%22M20%2012h2%22%20%2F%3E%20%3Cpath%20d%3D%22m6.34%2017.66-1.41%201.41%22%20%2F%3E%20%3Cpath%20d%3D%22m19.07%204.93-1.41%201.41%22%20%2F%3E%20%3C%2Fsvg%3E",Ke="data:image/svg+xml;charset=utf-8,%3Csvg%20class%3D%22lucide%20lucide-x%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M18%206%206%2018%22%20%2F%3E%20%3Cpath%20d%3D%22m6%206%2012%2012%22%20%2F%3E%20%3C%2Fsvg%3E";var xt=(t=>(t.appcode="AppCode",t["android-studio"]="Android Studio",t.atom="Atom",t["atom-beta"]="Atom Beta",t.brackets="Brackets",t.clion="CLion",t.code="Visual Studio Code",t["code-insiders"]="Visual Studio Code Insiders",t.codium="VSCodium",t.cursor="Cursor",t.emacs="GNU Emacs",t.emacsforosx="GNU Emacs for Mac OS X",t.intellij="IntelliJ IDEA",t.idea="IntelliJ IDEA",t.nano="GNU nano",t.neovim="NeoVim",t["notepad++"]="Notepad++",t.phpstorm="PhpStorm",t.pycharm="PyCharm",t.rider="Rider",t.rubymine="RubyMine",t.sublime="SublimeText",t.textmate="TextMate",t.vim="Vim",t.visualstudio="Visual Studio",t.vscode="Visual Studio Code",t.vscodium="VSCodium",t.webstorm="WebStorm",t.xcode="Xcode",t.zed="Zed",t))(xt||{}),hi=`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
60
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-outline-style:solid}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-600:oklch(68.1% .162 75.834);--color-lime-800:oklch(45.3% .124 130.933);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-emerald-500:oklch(69.6% .17 162.48);--color-cyan-600:oklch(60.9% .126 221.723);--color-blue-50:oklch(97% .014 254.604);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25/1.875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--radius-md:.375rem;--radius-lg:.5rem;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}button:not(:disabled),[role=button]:not(:disabled){cursor:pointer}body{background-color:var(--ono-v-bg);color:var(--ono-v-text)}pre,code{color:var(--ono-v-text)}.text-muted{color:var(--ono-v-text-muted)}a{color:var(--ono-v-link)}a:hover{text-decoration:underline}::selection{background:var(--ono-v-red-orange)}@supports (color:color-mix(in lab, red, red)){::selection{background:color-mix(in srgb,var(--ono-v-red-orange)20%,transparent)}}kbd{background-color:var(--ono-v-chip-bg);color:var(--ono-v-chip-text);border-radius:.375rem;padding:.125rem .375rem;font:.75rem ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}hr{border-color:var(--ono-v-border)}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{appearance:none;--tw-shadow:0 0 #0000;background-color:#fff;border-width:1px;border-color:oklch(55.1% .027 264.364);border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem}:is([type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select):focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:oklch(54.6% .245 262.881);outline:2px solid #0000}input::placeholder,textarea::placeholder{color:oklch(55.1% .027 264.364);opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-date-and-time-value{text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-year-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-month-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-day-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-hour-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-minute-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-second-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-millisecond-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{print-color-adjust:exact;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='oklch(55.1%25 0.027 264.364)' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;print-color-adjust:unset;padding-right:.75rem}[type=checkbox],[type=radio]{appearance:none;print-color-adjust:exact;vertical-align:middle;-webkit-user-select:none;user-select:none;color:oklch(54.6% .245 262.881);--tw-shadow:0 0 #0000;background-color:#fff;background-origin:border-box;border-width:1px;border-color:oklch(55.1% .027 264.364);flex-shrink:0;width:1rem;height:1rem;padding:0;display:inline-block}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{background-color:currentColor;border-color:#0000}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{background-color:currentColor;border-color:#0000}[type=file]{background:unset;border-color:inherit;font-size:unset;line-height:inherit;border-width:0;border-radius:0;padding:0}[type=file]:focus{outline:1px solid buttontext;outline:1px auto -webkit-focus-ring-color}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:calc(var(--spacing)*0)}.top-4{top:calc(var(--spacing)*4)}.top-\\[calc\\(var\\(--ono-v-dialog-border-width\\)\\*-1\\)\\]{top:calc(var(--ono-v-dialog-border-width)*-1)}.right-6{right:calc(var(--spacing)*6)}.right-\\[-54px\\]{right:-54px}.left-\\[-54px\\]{left:-54px}.-z-1{z-index:calc(1*-1)}.z-2{z-index:2}.z-10{z-index:10}.z-2147483647,.z-\\[2147483647\\]{z-index:2147483647}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-1{margin:calc(var(--spacing)*1)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-auto{margin-inline:auto}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);margin-top:1.2em;margin-bottom:1.2em;font-size:1.25em;line-height:1.6}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:decimal}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:disc}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.25em;font-weight:600}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;font-style:italic;font-weight:500}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:0;margin-bottom:.888889em;font-size:2.25em;font-weight:800;line-height:1.11111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:2em;margin-bottom:1em;font-size:1.5em;font-weight:700;line-height:1.33333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.6em;margin-bottom:.6em;font-size:1.25em;font-weight:600;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em;display:block}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;border-radius:.3125rem;padding-inline-start:.375em;font-family:inherit;font-size:.875em;font-weight:500}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"\`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);padding-top:.857143em;padding-inline-end:1.14286em;padding-bottom:.857143em;border-radius:.375rem;margin-top:1.71429em;margin-bottom:1.71429em;padding-inline-start:1.14286em;font-size:.875em;font-weight:400;line-height:1.71429;overflow-x:auto}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;background-color:#0000;border-width:0;border-radius:0;padding:0}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){table-layout:auto;width:100%;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.71429}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);vertical-align:bottom;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em;font-weight:600}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);margin-top:.857143em;font-size:.875em;line-height:1.42857}.prose{--tw-prose-body:oklch(37.3% .034 259.733);--tw-prose-headings:oklch(21% .034 264.665);--tw-prose-lead:oklch(44.6% .03 256.802);--tw-prose-links:oklch(21% .034 264.665);--tw-prose-bold:oklch(21% .034 264.665);--tw-prose-counters:oklch(55.1% .027 264.364);--tw-prose-bullets:oklch(87.2% .01 258.338);--tw-prose-hr:oklch(92.8% .006 264.531);--tw-prose-quotes:oklch(21% .034 264.665);--tw-prose-quote-borders:oklch(92.8% .006 264.531);--tw-prose-captions:oklch(55.1% .027 264.364);--tw-prose-kbd:oklch(21% .034 264.665);--tw-prose-kbd-shadows:oklab(21% -.00316127 -.0338527/.1);--tw-prose-code:oklch(21% .034 264.665);--tw-prose-pre-code:oklch(92.8% .006 264.531);--tw-prose-pre-bg:oklch(27.8% .033 256.848);--tw-prose-th-borders:oklch(87.2% .01 258.338);--tw-prose-td-borders:oklch(92.8% .006 264.531);--tw-prose-invert-body:oklch(87.2% .01 258.338);--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:oklch(70.7% .022 261.325);--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:oklch(70.7% .022 261.325);--tw-prose-invert-bullets:oklch(44.6% .03 256.802);--tw-prose-invert-hr:oklch(37.3% .034 259.733);--tw-prose-invert-quotes:oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders:oklch(37.3% .034 259.733);--tw-prose-invert-captions:oklch(70.7% .022 261.325);--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:#ffffff1a;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg:#00000080;--tw-prose-invert-th-borders:oklch(44.6% .03 256.802);--tw-prose-invert-td-borders:oklch(37.3% .034 259.733);font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.571429em;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.71429}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.888889em;margin-bottom:.888889em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.33333em;margin-bottom:1.33333em;padding-inline-start:1.11111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:.8em;font-size:2.14286em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.6em;margin-bottom:.8em;font-size:1.42857em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.55556em;margin-bottom:.444444em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.42857em;margin-bottom:.571429em;line-height:1.42857}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.142857em;padding-inline-end:.357143em;padding-bottom:.142857em;border-radius:.3125rem;padding-inline-start:.357143em;font-size:.857143em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;border-radius:.25rem;margin-top:1.66667em;margin-bottom:1.66667em;padding-inline-start:1em;font-size:.857143em;line-height:1.66667}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em;padding-inline-start:1.57143em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;margin-bottom:.285714em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.428571em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;padding-inline-start:1.57143em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.85714em;margin-bottom:2.85714em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.666667em;font-size:.857143em;line-height:1.33333}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.-mt-3{margin-top:calc(var(--spacing)*-3)}.-mt-5{margin-top:calc(var(--spacing)*-5)}.mt-8{margin-top:calc(var(--spacing)*8)}.mb-0{margin-bottom:calc(var(--spacing)*0)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.ml-2{margin-left:calc(var(--spacing)*2)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-5{width:calc(var(--spacing)*5);height:calc(var(--spacing)*5)}.size-6\\.5{width:calc(var(--spacing)*6.5);height:calc(var(--spacing)*6.5)}.size-8{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.h-\\(--ono-v-dialog-notch-height\\){height:var(--ono-v-dialog-notch-height)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-10{height:calc(var(--spacing)*10)}.h-\\[40vmin\\]{height:40vmin}.h-\\[calc\\(100\\%\\+var\\(--ono-v-dialog-border-width\\)\\)\\]{height:calc(100% + var(--ono-v-dialog-border-width))}.max-h-50{max-height:calc(var(--spacing)*50)}.max-h-\\[140px\\]{max-height:140px}.max-h-\\[calc\\(100\\%-56px\\)\\]{max-height:calc(100% - 56px)}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-screen{min-height:100vh}.w-1\\/2{width:50%}.w-1\\/3{width:33.3333%}.w-2\\/3{width:66.6667%}.w-2\\/5{width:40%}.w-3\\/4{width:75%}.w-3\\/5{width:60%}.w-4{width:calc(var(--spacing)*4)}.w-4\\/5{width:80%}.w-6{width:calc(var(--spacing)*6)}.w-42{width:calc(var(--spacing)*42)}.w-44{width:calc(var(--spacing)*44)}.w-\\[calc\\(100\\%-24px\\)\\]{width:calc(100% - 24px)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\\(--ono-v-dialog-max-width\\){max-width:var(--ono-v-dialog-max-width)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-\\[calc\\(var\\(--ono-v-dialog-max-width\\)-24px\\)\\]{max-width:calc(var(--ono-v-dialog-max-width) - 24px)}.max-w-full{max-width:100%}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-5{min-width:calc(var(--spacing)*5)}.min-w-8{min-width:calc(var(--spacing)*8)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.translate-x-\\(--ono-v-dialog-border-width\\){--tw-translate-x:var(--ono-v-dialog-border-width);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-\\[calc\\(var\\(--ono-v-dialog-border-width\\)\\*-1\\)\\]{--tw-translate-x:calc(var(--ono-v-dialog-border-width)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\\(--ono-v-dialog-border-width\\){--tw-translate-y:var(--ono-v-dialog-border-width);translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.\\[transform\\:rotateY\\(180deg\\)\\]{transform:rotateY(180deg)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-\\[spin_20s_linear_infinite\\]{animation:20s linear infinite spin}.animate-pulse{animation:var(--animate-pulse)}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-0\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\(--ono-v-radius-md\\){border-radius:var(--ono-v-radius-md)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-tl-\\(--ono-v-dialog-radius\\){border-top-left-radius:var(--ono-v-dialog-radius)}.rounded-tr-\\(--ono-v-dialog-radius\\){border-top-right-radius:var(--ono-v-dialog-radius)}.rounded-b-\\(--ono-v-dialog-radius\\){border-bottom-right-radius:var(--ono-v-dialog-radius);border-bottom-left-radius:var(--ono-v-dialog-radius)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.border-none{--tw-border-style:none;border-style:none}.border-\\(--ono-v-border\\){border-color:var(--ono-v-border)}.border-\\(--stroke-color\\){border-color:var(--stroke-color)}.bg-\\(--background-color\\){background-color:var(--background-color)}.bg-\\(--ono-v-chip-bg\\){background-color:var(--ono-v-chip-bg)}.bg-\\(--ono-v-red-orange\\){background-color:var(--ono-v-red-orange)}.bg-\\(--ono-v-success-bg\\){background-color:var(--ono-v-success-bg)}.bg-\\(--ono-v-surface\\){background-color:var(--ono-v-surface)}.bg-\\(--ono-v-surface-muted\\){background-color:var(--ono-v-surface-muted)}.bg-\\[\\#282c34\\]{background-color:#282c34}.bg-\\[\\#b0c8aa\\]{background-color:#b0c8aa}.bg-black\\/60{background-color:#0009}@supports (color:color-mix(in lab, red, red)){.bg-black\\/60{background-color:color-mix(in oklab,var(--color-black)60%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-cyan-600{background-color:var(--color-cyan-600)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-600{background-color:var(--color-gray-600)}.bg-green-500{background-color:var(--color-green-500)}.bg-red-500{background-color:var(--color-red-500)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\\/20{background-color:#fff3}@supports (color:color-mix(in lab, red, red)){.bg-white\\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.bg-yellow-500{background-color:var(--color-yellow-500)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-\\[15px\\]{padding-inline:15px}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.pe-6{padding-inline-end:calc(var(--spacing)*6)}.pt-5{padding-top:calc(var(--spacing)*5)}.pt-\\[10vh\\]{padding-top:10vh}.pr-0{padding-right:calc(var(--spacing)*0)}.pl-0{padding-left:calc(var(--spacing)*0)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[calc\\(10px\\+2vmin\\)\\]{font-size:calc(10px + 2vmin)}.leading-4{--tw-leading:calc(var(--spacing)*4);line-height:calc(var(--spacing)*4)}.leading-5{--tw-leading:calc(var(--spacing)*5);line-height:calc(var(--spacing)*5)}.leading-none{--tw-leading:1;line-height:1}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\(--ono-v-red-orange\\){color:var(--ono-v-red-orange)}.text-\\(--ono-v-text\\){color:var(--ono-v-text)}.text-\\(--ono-v-text-muted\\){color:var(--ono-v-text-muted)}.text-\\[\\#61dafb\\]{color:#61dafb}.text-\\[var\\(--ono-v-text\\)\\]{color:var(--ono-v-text)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\(--ono-v-elevation-1\\){--tw-shadow:var(--ono-v-elevation-1);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\(--ono-v-elevation-2\\){--tw-shadow:var(--ono-v-elevation-2);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[--ono-v-elevation-2\\]{--tw-shadow:--ono-v-elevation-2;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.inset-shadow-\\(--ono-v-elevation-2\\){--tw-inset-shadow:inset var(--ono-v-elevation-2);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.\\[vite\\:legacy\\]{vite:legacy}.\\[vite\\:react-babel\\]{vite:react-babel}.\\[vite\\:vue\\]{vite:vue}.hover\\:bg-\\(--ono-v-hover-overlay\\):hover{background-color:var(--ono-v-hover-overlay)}.hover\\:bg-blue-600:hover{background-color:var(--color-blue-600)}.hover\\:bg-green-600:hover{background-color:var(--color-green-600)}.hover\\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\\:bg-white\\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-white\\/20:hover{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.hover\\:bg-yellow-600:hover{background-color:var(--color-yellow-600)}.hover\\:text-\\(--ono-v-text\\):hover{color:var(--ono-v-text)}.hover\\:text-\\[var\\(--ono-v-text-muted\\)\\]:hover{color:var(--ono-v-text-muted)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:brightness-105:hover{--tw-brightness:brightness(105%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.focus\\:bg-\\(--ono-v-hover-overlay\\):focus{background-color:var(--ono-v-hover-overlay)}.focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-\\(--ono-v-red-orange\\):focus{--tw-ring-color:var(--ono-v-red-orange)}.focus\\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus\\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus-visible\\:outline:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\\:outline-\\(--ono-v-red-orange\\):focus-visible{outline-color:var(--ono-v-red-orange)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}@media (min-width:40rem){.sm\\:flex{display:flex}}@media (min-width:48rem){.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}}.dark\\:bg-gray-700:where(.dark,.dark *){background-color:var(--color-gray-700)}.dark\\:bg-lime-800:where(.dark,.dark *){background-color:var(--color-lime-800)}.dark\\:text-gray-400:where(.dark,.dark *){color:var(--color-gray-400)}.dark\\:prose-invert:where(.dark,.dark *){--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-kbd:var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows:var(--tw-prose-invert-kbd-shadows);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}.prose-headings\\:text-white :where(h1,h2,h3,h4,h5,h6,th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--color-white)}.prose-ul\\:list-none :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:none}.prose-hr\\:my-6 :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-block:calc(var(--spacing)*6)}.prose-hr\\:border :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-style:var(--tw-border-style);border-width:1px}}:host{--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:rotateX(0);--tw-rotate-y:rotateY(0);--tw-rotate-z:rotateZ(0);--tw-skew-x:skewX(0);--tw-skew-y:skewY(0);--tw-space-x-reverse:0;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial:;--ono-v-white-smoke:#f5f5f5;--ono-v-red-orange:#ff4628;--ono-v-charcoal-black:#202020;--ono-v-bg:var(--ono-v-white-smoke);--ono-v-surface:#fff;--ono-v-surface-muted:#fafafa;--ono-v-border:#b9c8d780;--ono-v-hover-overlay:#2020200d;--ono-v-success:#2ea043;--ono-v-success-bg:#d6eed1;--ono-v-neutral:#6e7681;--ono-v-neutral-bg:#6e76812e;--ono-v-chip-bg:#6e768124;--ono-v-chip-text:var(--ono-v-text);--ono-v-radius-md:.5rem;--ono-v-radius-lg:.75rem;--ono-v-elevation-1:0 1px 2px #0000000a,0 1px 1px #00000005;--ono-v-elevation-2:0 10px 25px -5px #2020201a,0 8px 10px -6px #2020201a;--ono-v-text:#111827;--ono-v-text-muted:#374151;--ono-v-link:#c4311d;--ono-v-muted-on-surface:#374151;--ono-v-on-accent:#fff;--ono-v-dialog-border-width:1px;--ono-v-dialog-radius:12px;--ono-v-dialog-max-width:960px;--ono-v-dialog-row-padding:16px;--ono-v-dialog-padding:12px;--ono-v-dialog-notch-height:42px}.dark{--ono-v-bg:#161b22;--ono-v-surface:#0d1117;--ono-v-surface-muted:#0f141b;--ono-v-border:#30363d99;--ono-v-text:#c9d1d9;--ono-v-text-muted:#8b949e;--ono-v-link:#ff6a52;--ono-v-muted-on-surface:#8b949e;--ono-v-hover-overlay:#f0f6fc0f;--ono-v-on-accent:#fff;--ono-v-success:#2ea043;--ono-v-success-bg:#2ea04333;--ono-v-neutral:#6e7681;--ono-v-neutral-bg:#6e768140;--ono-v-chip-bg:#6e768133;--ono-v-chip-text:var(--ono-v-text)}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (min-width:576px){:host{--ono-v-dialog-max-width:540px}}@media (min-width:768px){:host{--ono-v-dialog-max-width:720px}}@media (min-width:992px){:host{--ono-v-dialog-max-width:960px}}button:focus-visible,[role=tab]:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,[data-open-in-editor]:focus-visible,.js-clipboard:focus-visible{outline:2px solid var(--ono-v-red-orange);outline-offset:2px}.lucide{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.dui{width:1rem;height:1rem;-webkit-mask-image:var(--icon);-webkit-mask-position:50%;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-image:var(--icon);-webkit-mask-image:var(--icon);mask-image:var(--icon);background-color:currentColor;display:inline-block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.dui.hidden{display:none!important}.shiki{max-width:100%;max-height:300px;padding-bottom:calc(var(--spacing)*4);overflow-wrap:break-word;overflow:auto}.shiki pre{max-width:100%;overflow:auto}.dark .shiki,.dark .shiki span{color:var(--shiki-dark)!important;background-color:var(--shiki-dark-bg)!important;font-style:var(--shiki-dark-font-style)!important;font-weight:var(--shiki-dark-font-weight)!important;-webkit-text-decoration:var(--shiki-dark-text-decoration)!important;-webkit-text-decoration:var(--shiki-dark-text-decoration)!important;text-decoration:var(--shiki-dark-text-decoration)!important}.shiki.has-diff .diff{position:relative}.shiki.has-diff .diff.add span{background-color:#00c75826}@supports (color:color-mix(in lab, red, red)){.shiki.has-diff .diff.add span{background-color:color-mix(in oklab,var(--color-green-500)15%,transparent)}}.shiki.has-diff .diff.remove span{background-color:#fb2c3626}@supports (color:color-mix(in lab, red, red)){.shiki.has-diff .diff.remove span{background-color:color-mix(in oklab,var(--color-red-500)15%,transparent)}}.shiki.has-diff .diff.add:before{pointer-events:none;left:calc(var(--spacing)*3);margin-top:calc(var(--spacing)*.5);--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold);color:var(--color-green-500);-webkit-user-select:none;user-select:none;content:"+";position:absolute}.shiki.has-diff .diff.remove:before{pointer-events:none;left:calc(var(--spacing)*3);margin-top:calc(var(--spacing)*.5);--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold);color:var(--color-red-500);-webkit-user-select:none;user-select:none;content:"−";position:absolute}.dark .shiki.has-diff .diff.add{background-color:#00c75833!important}@supports (color:color-mix(in lab, red, red)){.dark .shiki.has-diff .diff.add{background-color:color-mix(in oklab,var(--color-green-500)20%,transparent)!important}}.dark .shiki.has-diff .diff.remove{background-color:#fb2c3633!important}@supports (color:color-mix(in lab, red, red)){.dark .shiki.has-diff .diff.remove{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)!important}}.dark .shiki.has-diff .diff.add:before{color:var(--color-green-400)}.dark .shiki.has-diff .diff.remove:before{color:var(--color-red-400)}.dark [type=checkbox]:checked,.dark [type=radio]:checked{background-color:currentColor}.v-o-skeleton{background:linear-gradient(90deg,#00000014 25%,#0000 50%,#00000014 75%) 0 0/200% 100%}.dark .v-o-skeleton{background:linear-gradient(90deg,#ffffff1a 25%,#0000 50%,#ffffff1a 75%)}#__v_o__stacktrace summary svg{transition:transform .2s}#__v_o__stacktrace[open] summary svg{transform:rotate(90deg)}:has(#__v_o__root){overflow:hidden}#__v_o__root{scrollbar-width:thin;scrollbar-color:var(--ono-v-border)transparent}#__v_o__root::-webkit-scrollbar{width:8px;height:8px}#__v_o__root::-webkit-scrollbar-track{background:var(--ono-v-surface-muted);border-radius:4px}#__v_o__root::-webkit-scrollbar-thumb{background:var(--ono-v-border);border:1px solid var(--ono-v-surface-muted);border-radius:4px}#__v_o__root::-webkit-scrollbar-thumb:hover{background:var(--ono-v-neutral)}#__v_o__root::-webkit-scrollbar-thumb:active{background:var(--ono-v-link)}#__v_o__root::-webkit-scrollbar-corner{background:var(--ono-v-surface-muted)}.dark #__v_o__root{scrollbar-color:#6e768199 transparent}.dark #__v_o__root::-webkit-scrollbar-track{background:#0f141bcc}.dark #__v_o__root::-webkit-scrollbar-thumb{background:#6e768199;border-color:#0f141bcc}.dark #__v_o__root::-webkit-scrollbar-thumb:hover{background:#6e768199}.dark #__v_o__root::-webkit-scrollbar-thumb:active{background:var(--ono-v-red-orange)}.dark #__v_o__root::-webkit-scrollbar-corner{background:#0f141bcc}#__v_o__root{pointer-events:auto}#__v_o__root.scrolling-history{-webkit-user-select:none;user-select:none;cursor:grab}#__v_o__root.scrolling-history:active{cursor:grabbing}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}`;const dr=`/* eslint-disable no-bitwise */
61
61
  /* eslint-disable class-methods-use-this */
62
62
  /* eslint-disable sonarjs/cognitive-complexity */
63
63
  /* eslint-disable no-param-reassign */
@@ -100,6 +100,8 @@ class ErrorOverlay extends HTMLElement {
100
100
  // Event listeners for cleanup
101
101
  __eventListeners = new Map();
102
102
 
103
+ __v_oBalloonDismissed = false;
104
+
103
105
  // Core state
104
106
  __v_oCurrentHistoryIndex = -1;
105
107
 
@@ -193,14 +195,14 @@ class ErrorOverlay extends HTMLElement {
193
195
  const editorSelect = this.root.querySelector("#editor-selector");
194
196
 
195
197
  if (editorSelect) {
196
- const saved = localStorage.getItem("vo:editor");
198
+ const saved = localStorage.getItem("__v-o__editor");
197
199
 
198
200
  if (saved && editorSelect.value !== saved) {
199
201
  editorSelect.value = saved;
200
202
  }
201
203
 
202
204
  editorSelect.addEventListener("change", function () {
203
- localStorage.setItem("vo:editor", this.value || "");
205
+ localStorage.setItem("__v-o__editor", this.value || "");
204
206
  });
205
207
  }
206
208
 
@@ -334,6 +336,7 @@ class ErrorOverlay extends HTMLElement {
334
336
  this.__elements = {
335
337
  balloon: root.querySelector("#__v_o__balloon"),
336
338
  balloonCount: root.querySelector("#__v_o__balloon_count"),
339
+ balloonGroup: root.querySelector("#__v_o__balloon_group"),
337
340
  balloonText: root.querySelector("#__v_o__balloon_text"),
338
341
  fileButton: root.querySelector("button[class*=\\"underline\\"]"),
339
342
  heading: root.querySelector("#__v_o__heading"),
@@ -442,9 +445,9 @@ class ErrorOverlay extends HTMLElement {
442
445
  * @param {number} total - The total number of errors to display
443
446
  */
444
447
  _initializeBalloon(total) {
445
- const { balloon, balloonCount, balloonText, root } = this.__elements || {};
448
+ const { balloon, balloonCount, balloonGroup, balloonText, root } = this.__elements || {};
446
449
 
447
- if (!balloon || !balloonCount || !root) {
450
+ if (!balloonGroup || !balloonCount || !root) {
448
451
  return;
449
452
  }
450
453
 
@@ -457,19 +460,53 @@ class ErrorOverlay extends HTMLElement {
457
460
 
458
461
  this._restoreBalloonState();
459
462
 
460
- balloon.classList.toggle("hidden", total <= 0);
463
+ // Show balloon if there are errors and it's not dismissed
464
+ if (total > 0 && !this.__v_oBalloonDismissed) {
465
+ balloonGroup.classList.add("inline-flex");
466
+ balloonGroup.classList.remove("hidden");
467
+ } else {
468
+ balloonGroup.classList.remove("inline-flex");
469
+ balloonGroup.classList.add("hidden");
470
+ }
461
471
 
462
472
  const clickHandler = (event) => {
473
+ // Don't toggle overlay if clicking the close button
474
+ if (event.target.closest("#__v_o__balloon_close")) {
475
+ return;
476
+ }
477
+
463
478
  event.preventDefault();
464
479
  const isHidden = root.classList.contains("hidden");
465
480
 
466
481
  root.classList.toggle("hidden");
482
+
467
483
  this._saveBalloonState("overlay", isHidden ? "open" : "closed");
468
484
  };
469
485
 
470
- this._makeBalloonDraggable(balloon);
471
-
472
486
  balloon.addEventListener("click", clickHandler);
487
+
488
+ // Handle close button click
489
+ const closeButton = this.root.querySelector("#__v_o__balloon_close");
490
+
491
+ if (closeButton) {
492
+ const closeHandler = (event) => {
493
+ event.preventDefault();
494
+ event.stopPropagation();
495
+
496
+ // Hide the balloon and mark as dismissed
497
+ balloonGroup.classList.add("hidden");
498
+ balloonGroup.classList.remove("inline-flex");
499
+ this.__v_oBalloonDismissed = true;
500
+ };
501
+
502
+ // Remove existing listener if any
503
+ const existingCloseButton = closeButton.cloneNode(true);
504
+
505
+ closeButton.parentNode.replaceChild(existingCloseButton, closeButton);
506
+ existingCloseButton.addEventListener("click", closeHandler);
507
+ }
508
+
509
+ this._makeBalloonDraggable(balloonGroup);
473
510
  } catch {
474
511
  // Fail silently if DOM is not available
475
512
  }
@@ -571,7 +608,7 @@ class ErrorOverlay extends HTMLElement {
571
608
  * @private
572
609
  */
573
610
  _initializeHistoryToggle() {
574
- const toggleButton = this.__elements.historyToggle;
611
+ const toggleButton = this.__elements?.historyToggle;
575
612
 
576
613
  if (!toggleButton) {
577
614
  return;
@@ -631,7 +668,7 @@ class ErrorOverlay extends HTMLElement {
631
668
  }
632
669
 
633
670
  fileElement.textContent = isHttpLink ? fullPath : \`.\${displayPath}\${line ? \`:\${line}\` : ""}\`;
634
- const editor = localStorage.getItem("vo:editor");
671
+ const editor = localStorage.getItem("__v-o__editor");
635
672
 
636
673
  // Remove any existing event listeners
637
674
  const newFileElement = fileElement.cloneNode(true);
@@ -726,7 +763,7 @@ class ErrorOverlay extends HTMLElement {
726
763
  resolved = abs;
727
764
  }
728
765
 
729
- const editor = localStorage.getItem("vo:editor");
766
+ const editor = localStorage.getItem("__v-o__editor");
730
767
 
731
768
  // injected by the hmr plugin when served
732
769
  // eslint-disable-next-line no-undef
@@ -984,7 +1021,7 @@ class ErrorOverlay extends HTMLElement {
984
1021
 
985
1022
  const isDark = currentTheme === "dark";
986
1023
 
987
- const rootElement = this.__elements.root;
1024
+ const rootElement = this.__elements?.root;
988
1025
  const darkButton = this.root.querySelector("[data-v-o-theme-click-value=\\"dark\\"]");
989
1026
  const lightButton = this.root.querySelector("[data-v-o-theme-click-value=\\"light\\"]");
990
1027
 
@@ -1167,8 +1204,8 @@ class ErrorOverlay extends HTMLElement {
1167
1204
  };
1168
1205
 
1169
1206
  const handleMouseDown = (event) => {
1170
- if (event.target.closest("#__v_o__balloon_count")) {
1171
- return; // Don't drag when clicking count
1207
+ if (event.target.closest("#__v_o__balloon_count") || event.target.closest("#__v_o__balloon_close")) {
1208
+ return; // Don't drag when clicking count or close button
1172
1209
  }
1173
1210
 
1174
1211
  isDragging = true;
@@ -1246,9 +1283,8 @@ class ErrorOverlay extends HTMLElement {
1246
1283
  */
1247
1284
  _restoreBalloonState() {
1248
1285
  try {
1249
- const balloonStates = JSON.parse(localStorage.getItem("v-o-balloon") || "{}");
1250
- const balloon = this.root.querySelector("#__v_o__balloon");
1251
- const rootElement = this.__elements.root;
1286
+ const balloonStates = JSON.parse(localStorage.getItem("__v-o__balloon") || "{}");
1287
+ const { balloon, root: rootElement } = this.__elements || {};
1252
1288
 
1253
1289
  if (balloon && rootElement) {
1254
1290
  if (balloonStates.overlay === "open") {
@@ -1296,12 +1332,12 @@ class ErrorOverlay extends HTMLElement {
1296
1332
 
1297
1333
  _saveBalloonState(key, value) {
1298
1334
  try {
1299
- const item = localStorage.getItem("v-o-balloon");
1335
+ const item = localStorage.getItem("__v-o__balloon");
1300
1336
  const balloonStates = item ? JSON.parse(item) : {};
1301
1337
 
1302
1338
  balloonStates[key] = value;
1303
1339
 
1304
- localStorage.setItem("v-o-balloon", JSON.stringify(balloonStates));
1340
+ localStorage.setItem("__v-o__balloon", JSON.stringify(balloonStates));
1305
1341
  } catch {
1306
1342
  // Fail silently if localStorage is not available
1307
1343
  }
@@ -1364,7 +1400,7 @@ class ErrorOverlay extends HTMLElement {
1364
1400
  historyLayerDepth.classList.add("opacity-0");
1365
1401
  }
1366
1402
 
1367
- const timeElement = this.__elements.historyTimestamp;
1403
+ const timeElement = this.__elements?.historyTimestamp;
1368
1404
 
1369
1405
  if (timeElement) {
1370
1406
  timeElement.classList.add("hidden");
@@ -1423,7 +1459,7 @@ class ErrorOverlay extends HTMLElement {
1423
1459
  const historyEntry = this.__v_oHistory[this.__v_oCurrentHistoryIndex];
1424
1460
 
1425
1461
  // Update timestamp on right notch
1426
- const timeElement = this.__elements.historyTimestamp;
1462
+ const timeElement = this.__elements?.historyTimestamp;
1427
1463
 
1428
1464
  if (timeElement && historyEntry) {
1429
1465
  timeElement.classList.remove("hidden");
@@ -1468,8 +1504,6 @@ class ErrorOverlay extends HTMLElement {
1468
1504
 
1469
1505
  if (root && typeof root.classList?.add === "function") {
1470
1506
  root.classList.add("hidden");
1471
-
1472
- this._saveBalloonState("overlay", "closed");
1473
1507
  }
1474
1508
 
1475
1509
  // Don't remove the overlay - just hide it so it can be reopened
@@ -1492,6 +1526,16 @@ class ErrorOverlay extends HTMLElement {
1492
1526
  this._saveBalloonState("overlay", "open");
1493
1527
  }
1494
1528
 
1529
+ // Show balloon and clear dismissed state when new error occurs
1530
+ const balloonGroup = this.__elements?.balloonGroup;
1531
+
1532
+ if (balloonGroup) {
1533
+ // Clear dismissed state and show balloon for new errors
1534
+ this.__v_oBalloonDismissed = false;
1535
+ balloonGroup.classList.add("inline-flex");
1536
+ balloonGroup.classList.remove("hidden");
1537
+ }
1538
+
1495
1539
  // Update code frame
1496
1540
  const overlay = this.__elements?.overlay;
1497
1541
 
@@ -1529,7 +1573,7 @@ class ErrorOverlay extends HTMLElement {
1529
1573
  this._updateHistoryToggleVisibility();
1530
1574
  }
1531
1575
  }
1532
- `;var pi=Object.defineProperty,it=S((t,e)=>pi(t,"name",{value:e,configurable:!0}),"a$8");const dr='<option value="">Auto-detected Editor</option>',hi="class ErrorOverlay",ui="var ErrorOverlay = ",gi="window.ErrorOverlay = ErrorOverlay;",mi=it(()=>{try{const t=Object.keys(kt);return[dr,...t.map(e=>`<option value="${String(e)}">${String(kt[e])}</option>`)].join("")}catch{return dr}},"generateEditorOptions"),pr=`<svg width="60" height="42" viewBox="0 0 60 42" fill="none" xmlns="http://www.w3.org/2000/svg" class="error-overlay-notch-tail absolute top-[calc(var(--ono-v-dialog-border-width)*-1)] -z-1 h-[calc(100%+var(--ono-v-dialog-border-width))] right-[-54px] pointer-events-none" preserveAspectRatio="none">
1576
+ `;var ui=Object.defineProperty,se=S((t,e)=>ui(t,"name",{value:e,configurable:!0}),"r$3");const pr='<option value="">Auto-detected Editor</option>',gi="class ErrorOverlay",mi="var ErrorOverlay = ",fi="window.ErrorOverlay = ErrorOverlay;",vi=se(()=>{try{const t=Object.keys(xt);return[pr,...t.map(e=>`<option value="${String(e)}">${String(xt[e])}</option>`)].join("")}catch{return pr}},"generateEditorOptions"),hr=`<svg width="60" height="42" viewBox="0 0 60 42" fill="none" xmlns="http://www.w3.org/2000/svg" class="error-overlay-notch-tail absolute top-[calc(var(--ono-v-dialog-border-width)*-1)] -z-1 h-[calc(100%+var(--ono-v-dialog-border-width))] right-[-54px] pointer-events-none" preserveAspectRatio="none">
1533
1577
  <mask id="error_overlay_nav_mask0_2667_14687" maskUnits="userSpaceOnUse" x="0" y="-1" width="60" height="43" style="mask-type: alpha;">
1534
1578
  <mask id="error_overlay_nav_path_1_outside_1_2667_14687" maskUnits="userSpaceOnUse" x="0" y="-1" width="60" height="43" fill="black">
1535
1579
  <rect fill="white" y="-1" width="60" height="43"></rect>
@@ -1546,7 +1590,7 @@ class ErrorOverlay extends HTMLElement {
1546
1590
  <path d="M0 1.02441H7.0783C14.772 1.02441 21.7836 5.43765 25.111 12.3746L33.8889 30.6743C37.2164 37.6112 44.228 42.0244 51.9217 42.0244H59H0L0 1.02441Z" fill="var(--background-color)"></path>
1547
1591
  <path d="M0 1.02441L0 0.0244141H-1V1.02441H0ZM0 42.0244H-1V43.0244H0L0 42.0244ZM33.8889 30.6743L32.9873 31.1068L33.8889 30.6743ZM25.111 12.3746L26.0127 11.9421L25.111 12.3746ZM0 2.02441H7.0783V0.0244141H0L0 2.02441ZM59 41.0244H0L0 43.0244H59V41.0244ZM1 42.0244L1 1.02441H-1L-1 42.0244H1ZM24.2094 12.8071L32.9873 31.1068L34.7906 30.2418L26.0127 11.9421L24.2094 12.8071ZM51.9217 43.0244H59V41.0244H51.9217V43.0244ZM32.9873 31.1068C36.4811 38.3905 43.8433 43.0244 51.9217 43.0244V41.0244C44.6127 41.0244 37.9517 36.8318 34.7906 30.2418L32.9873 31.1068ZM7.0783 2.02441C14.3873 2.02441 21.0483 6.21699 24.2094 12.8071L26.0127 11.9421C22.5188 4.65831 15.1567 0.0244141 7.0783 0.0244141V2.02441Z" fill="var(--stroke-color)" mask="url(#error_overlay_nav_path_3_outside_2_2667_14687)"></path>
1548
1592
  </g>
1549
- </svg>`,hr=`<svg width="60" height="42" viewBox="0 0 60 42" fill="none" xmlns="http://www.w3.org/2000/svg" class="error-overlay-notch-tail absolute top-[calc(var(--ono-v-dialog-border-width)*-1)] -z-1 h-[calc(100%+var(--ono-v-dialog-border-width))] left-[-54px] pointer-events-none [transform:rotateY(180deg)]" preserveAspectRatio="none">
1593
+ </svg>`,ur=`<svg width="60" height="42" viewBox="0 0 60 42" fill="none" xmlns="http://www.w3.org/2000/svg" class="error-overlay-notch-tail absolute top-[calc(var(--ono-v-dialog-border-width)*-1)] -z-1 h-[calc(100%+var(--ono-v-dialog-border-width))] left-[-54px] pointer-events-none [transform:rotateY(180deg)]" preserveAspectRatio="none">
1550
1594
  <mask id="error_overlay_nav_mask0_2667_14687" maskUnits="userSpaceOnUse" x="0" y="-1" width="60" height="43" style="mask-type: alpha;">
1551
1595
  <mask id="error_overlay_nav_path_1_outside_1_2667_14687" maskUnits="userSpaceOnUse" x="0" y="-1" width="60" height="43" fill="black">
1552
1596
  <rect fill="white" y="-1" width="60" height="43"></rect>
@@ -1563,33 +1607,27 @@ class ErrorOverlay extends HTMLElement {
1563
1607
  <path d="M0 1.02441H7.0783C14.772 1.02441 21.7836 5.43765 25.111 12.3746L33.8889 30.6743C37.2164 37.6112 44.228 42.0244 51.9217 42.0244H59H0L0 1.02441Z" fill="var(--background-color)"></path>
1564
1608
  <path d="M0 1.02441L0 0.0244141H-1V1.02441H0ZM0 42.0244H-1V43.0244H0L0 42.0244ZM33.8889 30.6743L32.9873 31.1068L33.8889 30.6743ZM25.111 12.3746L26.0127 11.9421L25.111 12.3746ZM0 2.02441H7.0783V0.0244141H0L0 2.02441ZM59 41.0244H0L0 43.0244H59V41.0244ZM1 42.0244L1 1.02441H-1L-1 42.0244H1ZM24.2094 12.8071L32.9873 31.1068L34.7906 30.2418L26.0127 11.9421L24.2094 12.8071ZM51.9217 43.0244H59V41.0244H51.9217V43.0244ZM32.9873 31.1068C36.4811 38.3905 43.8433 43.0244 51.9217 43.0244V41.0244C44.6127 41.0244 37.9517 36.8318 34.7906 30.2418L32.9873 31.1068ZM7.0783 2.02441C14.3873 2.02441 21.0483 6.21699 24.2094 12.8071L26.0127 11.9421C22.5188 4.65831 15.1567 0.0244141 7.0783 0.0244141V2.02441Z" fill="var(--stroke-color)" mask="url(#error_overlay_nav_path_3_outside_2_2667_14687)"></path>
1565
1609
  </g>
1566
- </svg>`,fi=it((t,e,r=!1)=>`<div id="${t}" class="fixed inset-0 z-[2147483647] flex flex-col items-center pt-[10vh] px-[15px] shadow-[var(--ono-v-elevation-2)] hidden">
1610
+ </svg>`,wi=se((t,e,r=!1)=>`<div id="${t}" class="fixed inset-0 z-[2147483647] flex flex-col items-center pt-[10vh] px-[15px] shadow-[--ono-v-elevation-2] hidden">
1567
1611
  <div id="__v_o__backdrop" class="fixed inset-0 -z-1 bg-black/60 backdrop-blur-sm md:backdrop-blur pointer-events-auto"></div>
1568
- <div id="__v_o__notch" class="relative z-2 flex w-full max-w-[var(--ono-v-dialog-max-width)] items-end justify-between outline-none translate-x-[var(--ono-v-dialog-border-width)] translate-y-[var(--ono-v-dialog-border-width)]" style="--stroke-color: var(--ono-v-border); --background-color: var(--ono-v-surface);">
1569
- <div class="error-overlay-notch relative translate-x-[calc(var(--ono-v-dialog-border-width)*-1)] h-[var(--ono-v-dialog-notch-height)] p-3 pr-0 bg-[var(--background-color)] border border-[var(--stroke-color)] border-b-0 rounded-tl-[var(--ono-v-dialog-radius)]" data-side="left">
1612
+ <div id="__v_o__notch" class="relative z-2 flex w-full max-w-(--ono-v-dialog-max-width) items-end justify-between outline-none translate-x-(--ono-v-dialog-border-width) translate-y-(--ono-v-dialog-border-width)" style="--stroke-color: var(--ono-v-border); --background-color: var(--ono-v-surface);">
1613
+ <div class="error-overlay-notch relative text-(--ono-v-text) translate-x-[calc(var(--ono-v-dialog-border-width)*-1)] h-(--ono-v-dialog-notch-height) p-3 pr-0 bg-(--background-color) border border-(--stroke-color) border-b-0 rounded-tl-(--ono-v-dialog-radius)" data-side="left">
1570
1614
  <nav class="error-overlay-pagination dialog-exclude-closing-from-outside-click flex justify-center items-center gap-2 w-fit">
1571
- <button id="__v_o__error-overlay-pagination-previous" type="button" aria-disabled="true" class="error-overlay-pagination-button flex justify-center items-center w-6 h-6 bg-[var(--ono-v-chip-bg)] rounded-full disabled:opacity-50 disabled:cursor-not-allowed focus-visible:outline focus-visible:outline-[var(--ono-v-red-orange)] hover:bg-[var(--ono-v-hover-overlay)] transition-colors" disabled>
1572
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" aria-label="previous" class="error-overlay-pagination-button-icon">
1573
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.24996 12.0608L8.71963 11.5304L5.89641 8.70722C5.50588 8.3167 5.50588 7.68353 5.89641 7.29301L8.71963 4.46978L9.24996 3.93945L10.3106 5.00011L9.78029 5.53044L7.31062 8.00011L9.78029 10.4698L10.3106 11.0001L9.24996 12.0608Z" fill="currentColor"></path>
1574
- </svg>
1615
+ <button id="__v_o__error-overlay-pagination-previous" type="button" aria-disabled="true" class="error-overlay-pagination-button flex justify-center items-center w-6 h-6 bg-(--ono-v-chip-bg) rounded-full disabled:opacity-50 disabled:cursor-not-allowed focus-visible:outline focus-visible:outline-(--ono-v-red-orange) hover:bg-(--ono-v-hover-overlay) transition-colors" disabled>
1616
+ <span class="dui size-4" style="-webkit-mask-image: url('${or}'); mask-image: url('${or}')" aria-label="previous"></span>
1575
1617
  </button>
1576
- <div id="__v_o__error-overlay_pagination_count" class="inline-flex justify-center items-center min-w-8 h-5 gap-1 text-[var(--ono-v-text)] text-center text-[11px] font-medium leading-4 rounded-full px-1.5">
1618
+ <div id="__v_o__error-overlay_pagination_count" class="inline-flex justify-center items-center min-w-8 h-5 gap-1 text-(--ono-v-text) text-center text-[11px] font-medium leading-4 rounded-full px-1.5">
1577
1619
  <span id="__v_o__pagination_current">1</span>
1578
- <span class="text-[var(--ono-v-text-muted)]">/</span>
1620
+ <span class="text-(--ono-v-text-muted)">/</span>
1579
1621
  <span id="__v_o__pagination_total">1</span>
1580
1622
  </div>
1581
- <button type="button" id="__v_o__error-overlay-pagination-next" aria-disabled="true" class="error-overlay-pagination-button flex justify-center items-center w-6 h-6 bg-[var(--ono-v-chip-bg)] rounded-full disabled:opacity-50 disabled:cursor-not-allowed focus-visible:outline focus-visible:outline-[var(--ono-v-red-orange)] hover:bg-[var(--ono-v-hover-overlay)] transition-colors" disabled>
1582
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" class="error-overlay-pagination-button-icon" aria-label="next">
1583
- <path fill-rule="evenodd" clip-rule="evenodd" d="M6.75011 3.93945L7.28044 4.46978L10.1037 7.29301C10.4942 7.68353 10.4942 8.3167 10.1037 8.70722L7.28044 11.5304L6.75011 12.0608L5.68945 11.0001L6.21978 10.4698L8.68945 8.00011L6.21978 5.53044L5.68945 5.00011L6.75011 3.93945Z" fill="currentColor"></path>
1584
- </svg>
1623
+ <button type="button" id="__v_o__error-overlay-pagination-next" aria-disabled="true" class="error-overlay-pagination-button flex justify-center items-center w-6 h-6 bg-(--ono-v-chip-bg) rounded-full disabled:opacity-50 disabled:cursor-not-allowed focus-visible:outline focus-visible:outline-(--ono-v-red-orange) hover:bg-(--ono-v-hover-overlay) transition-colors" disabled>
1624
+ <span class="dui size-4" style="-webkit-mask-image: url('${Ge}'); mask-image: url('${Ge}')" aria-label="next"></span>
1585
1625
  </button>
1586
1626
  <div class="flex items-center gap-1">
1587
- <button type="button" id="__v_o__history_toggle" title="Toggle Error History" aria-label="Toggle Error History" class="error-overlay-history-button flex justify-center items-center w-6 h-6 bg-[var(--ono-v-chip-bg)] rounded-full hover:bg-[var(--ono-v-hover-overlay)] focus-visible:outline focus-visible:outline-[var(--ono-v-red-orange)] transition-colors">
1588
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" aria-label="history">
1589
- <path fill-rule="evenodd" clip-rule="evenodd" d="M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM2.5 8a5.5 5.5 0 1 1 11 0 5.5 5.5 0 0 1-11 0ZM8 4a.5.5 0 0 1 .5.5v3.5a.5.5 0 0 1-1 0V4.5A.5.5 0 0 1 8 4Z" fill="currentColor"></path>
1590
- </svg>
1627
+ <button type="button" id="__v_o__history_toggle" title="Toggle Error History" aria-label="Toggle Error History" class="error-overlay-history-button flex justify-center items-center w-6 h-6 bg-(--ono-v-chip-bg) rounded-full hover:bg-(--ono-v-hover-overlay) focus-visible:outline focus-visible:outline-(--ono-v-red-orange) transition-colors">
1628
+ <span class="dui size-4" style="-webkit-mask-image: url('${ir}'); mask-image: url('${ir}')"></span>
1591
1629
  </button>
1592
- <div id="__v_o__history_indicator" class="flex items-center gap-1 text-xs text-[var(--ono-v-text-muted)] hidden">
1630
+ <div id="__v_o__history_indicator" class="flex items-center gap-1 text-xs text-(--ono-v-text-muted) hidden">
1593
1631
  <span id="__v_o__history_count">0</span>
1594
1632
  <span>/</span>
1595
1633
  <span id="__v_o__history_total">0</span>
@@ -1597,74 +1635,74 @@ class ErrorOverlay extends HTMLElement {
1597
1635
  </div>
1598
1636
  </div>
1599
1637
  </nav>
1600
- ${pr}
1638
+ ${hr}
1601
1639
  </div>
1602
1640
  <div class="grow flex justify-center items-end">
1603
- <div id="__v_o__history_timestamp" class="bg-[var(--ono-v-surface)] text-sm text-[var(--ono-v-text-muted)] flex items-end justify-center relative w-42 border-t border-[var(--stroke-color)] hidden">
1604
- ${hr}
1641
+ <div id="__v_o__history_timestamp" class="bg-(--ono-v-surface) text-sm text-(--ono-v-text-muted) flex items-end justify-center relative w-42 border-t border-(--stroke-color) hidden">
1642
+ ${ur}
1605
1643
  <span></span>
1606
- ${pr}
1644
+ ${hr}
1607
1645
  </div>
1608
1646
  </div>
1609
- <div class="error-overlay-notch flex gap-1 relative translate-x-[calc(var(--ono-v-dialog-border-width)*-1)] h-[var(--ono-v-dialog-notch-height)] p-3 pl-0 bg-[var(--background-color)] border border-[var(--stroke-color)] border-b-0 rounded-tr-[var(--ono-v-dialog-radius)]" data-side="right">
1647
+ <div class="error-overlay-notch flex gap-1 relative translate-x-[calc(var(--ono-v-dialog-border-width)*-1)] h-(--ono-v-dialog-notch-height) p-3 pl-0 bg-(--background-color) border border-(--stroke-color) border-b-0 rounded-tr-(--ono-v-dialog-radius)" data-side="right">
1610
1648
  ${r?"":`<div id="__v_o__editor" class="hidden sm:flex items-center gap-1">
1611
1649
  <label for="editor-selector" class="sr-only">Editor</label>
1612
- <select id="editor-selector" class="py-1 cursor-pointer px-2 pe-6 block w-44 bg-[var(--ono-v-surface)] border border-[var(--ono-v-border)] rounded-[var(--ono-v-radius-md)] text-xs text-[var(--ono-v-text)] shadow-[var(--ono-v-elevation-1)] hover:bg-[var(--ono-v-hover-overlay)] focus:outline-hidden focus:ring-1 focus:ring-[var(--ono-v-red-orange)]">${e}</select>
1650
+ <select id="editor-selector" class="py-1 cursor-pointer px-2 pe-6 block w-44 bg-(--ono-v-surface) border border-(--ono-v-border) rounded-(--ono-v-radius-md) text-xs text-(--ono-v-text) shadow-(--ono-v-elevation-1) hover:bg-(--ono-v-hover-overlay) focus:outline-hidden focus:ring-1 focus:ring-(--ono-v-red-orange)">${e}</select>
1613
1651
  </div>
1614
1652
 
1615
1653
  <div id="v-o-theme-switch" class="flex items-center gap-1">
1616
- <button type="button" title="Switch to dark mode" aria-label="Switch to dark mode" class="font-medium rounded-full hover:bg-[var(--ono-v-hover-overlay)] focus:outline-hidden focus:bg-[var(--ono-v-hover-overlay)] text-[var(--ono-v-text)]" data-v-o-theme-click-value="dark">
1654
+ <button type="button" title="Switch to dark mode" aria-label="Switch to dark mode" class="font-medium rounded-full hover:bg-(--ono-v-hover-overlay) focus:outline-hidden focus:bg-(--ono-v-hover-overlay) text-(--ono-v-text)" data-v-o-theme-click-value="dark">
1617
1655
  <span class="inline-flex shrink-0 justify-center items-center size-8">
1618
- <span class="dui size-5" style="-webkit-mask-image: url('${ar}'); mask-image: url('${ar}')"></span>
1656
+ <span class="dui size-5" style="-webkit-mask-image: url('${lr}'); mask-image: url('${lr}')"></span>
1619
1657
  </span>
1620
1658
  </button>
1621
- <button type="button" title="Switch to light mode" aria-label="Switch to light mode" class="hidden font-medium rounded-full hover:bg-[var(--ono-v-hover-overlay)] focus:outline-hidden focus:bg-[var(--ono-v-hover-overlay)] text-[var(--ono-v-text)]" data-v-o-theme-click-value="light">
1659
+ <button type="button" title="Switch to light mode" aria-label="Switch to light mode" class="hidden font-medium rounded-full hover:bg-(--ono-v-hover-overlay) focus:outline-hidden focus:bg-(--ono-v-hover-overlay) text-(--ono-v-text)" data-v-o-theme-click-value="light">
1622
1660
  <span class="inline-flex shrink-0 justify-center items-center size-8">
1623
- <span class="dui size-5" style="-webkit-mask-image: url('${sr}'); mask-image: url('${sr}')"></span>
1661
+ <span class="dui size-5" style="-webkit-mask-image: url('${cr}'); mask-image: url('${cr}')"></span>
1624
1662
  </span>
1625
1663
  </button>
1626
1664
  </div>
1627
1665
 
1628
1666
  <div class="flex items-center">
1629
- <button type="button" id="__v_o__close" aria-label="Close error overlay" class="font-medium rounded-full hover:bg-[var(--ono-v-hover-overlay)] focus:outline-hidden focus:bg-[var(--ono-v-hover-overlay)] text-[var(--ono-v-text)]">
1667
+ <button type="button" id="__v_o__close" aria-label="Close error overlay" class="font-medium rounded-full hover:bg-(--ono-v-hover-overlay) focus:outline-hidden focus:bg-(--ono-v-hover-overlay) text-(--ono-v-text)">
1630
1668
  <span class="inline-flex shrink-0 justify-center items-center size-8">
1631
- <span class="dui size-5" style="-webkit-mask-image: url('${lr}'); mask-image: url('${lr}')"></span>
1669
+ <span class="dui size-5" style="-webkit-mask-image: url('${Ke}'); mask-image: url('${Ke}')"></span>
1632
1670
  </span>
1633
1671
  </button>
1634
1672
  </div>`}
1635
- ${hr}
1673
+ ${ur}
1636
1674
  </div>
1637
1675
  </div>
1638
1676
 
1639
- <div id="__v_o__panel" role="dialog" aria-modal="true" aria-label="Runtime Error Overlay" class="relative z-10 flex w-full max-w-[var(--ono-v-dialog-max-width)] max-h-[calc(100%-56px)] scale-100 opacity-100 flex-col overflow-hidden rounded-b-[var(--ono-v-dialog-radius)] bg-[var(--ono-v-surface)] text-[var(--ono-v-text)] shadow-[var(--ono-v-elevation-1)] border-b border-[var(--ono-v-border)] ">
1640
- <div id="__v_o__header" class="flex items-center gap-1 justify-between border-b border-[var(--ono-v-border)] bg-[var(--ono-v-surface)] px-4 py-2">
1677
+ <div id="__v_o__panel" role="dialog" aria-modal="true" aria-label="Runtime Error Overlay" class="relative z-10 flex w-full max-w-(--ono-v-dialog-max-width) max-h-[calc(100%-56px)] scale-100 opacity-100 flex-col overflow-hidden rounded-b-(--ono-v-dialog-radius) bg-(--ono-v-surface) text-(--ono-v-text) shadow-(--ono-v-elevation-1) border-b border-(--ono-v-border) ">
1678
+ <div id="__v_o__header" class="flex items-center gap-1 justify-between border-b border-(--ono-v-border) bg-(--ono-v-surface) px-4 py-2">
1641
1679
  <div id="__v_o__header_loader" class="v-o-skeleton h-6 w-3/5 rounded animate-pulse"></div>
1642
- <div id="__v_o__title" class="flex items-center gap-2 w-full font-bold text-[var(--ono-v-text)] hidden">
1643
- <span id="__v_o__heading" class="leading-none rounded-md text-[var(--ono-v-red-orange)] font-mono text-sm"></span>
1644
- <button type="button" id="__v_o__filelink" class="ml-2 text-xs font-normal font-mono underline text-[var(--ono-v-text-muted)] hover:text-[var(--ono-v-text)] bg-transparent border-none cursor-pointer"></button>
1680
+ <div id="__v_o__title" class="flex items-center gap-2 w-full font-bold text-(--ono-v-text) hidden">
1681
+ <span id="__v_o__heading" class="leading-none rounded-md text-(--ono-v-red-orange) font-mono text-sm"></span>
1682
+ <button type="button" id="__v_o__filelink" class="ml-2 text-xs font-normal font-mono underline text-(--ono-v-text-muted) hover:text-(--ono-v-text) bg-transparent border-none cursor-pointer"></button>
1645
1683
  </div>
1646
1684
  <div id="__v_o__mode" class="sm:flex items-center gap-1">
1647
- <button type="button" data-flame-mode="original" class="inline-flex items-center gap-1 px-2 py-1 text-xs font-medium text-[var(--ono-v-text)] bg-[var(--ono-v-chip-bg)] rounded-full hover:bg-[var(--ono-v-hover-overlay)] focus:outline-hidden focus:bg-[var(--ono-v-hover-overlay)]" style="display:none">Original</button>
1648
- <button type="button" data-flame-mode="compiled" class="inline-flex items-center gap-1 px-2 py-1 text-xs font-medium text-[var(--ono-v-text)] bg-[var(--ono-v-chip-bg)] rounded-full hover:bg-[var(--ono-v-hover-overlay)] focus:outline-hidden focus:bg-[var(--ono-v-hover-overlay)]" style="display:none">Compiled</button>
1685
+ <button type="button" data-flame-mode="original" class="inline-flex items-center gap-1 px-2 py-1 text-xs font-medium text-(--ono-v-text) bg-(--ono-v-chip-bg) rounded-full hover:bg-(--ono-v-hover-overlay) focus:outline-hidden focus:bg-(--ono-v-hover-overlay)" style="display:none">Original</button>
1686
+ <button type="button" data-flame-mode="compiled" class="inline-flex items-center gap-1 px-2 py-1 text-xs font-medium text-(--ono-v-text) bg-(--ono-v-chip-bg) rounded-full hover:bg-(--ono-v-hover-overlay) focus:outline-hidden focus:bg-(--ono-v-hover-overlay)" style="display:none">Compiled</button>
1649
1687
  </div>
1650
- <button type="button" id="__v_o__copy_error" title="Copy Error Info" aria-label="Copy Error Info" class="font-medium rounded-full hover:bg-[var(--ono-v-hover-overlay)] focus:outline-hidden focus:bg-[var(--ono-v-hover-overlay)] text-[var(--ono-v-text)]">
1688
+ <button type="button" id="__v_o__copy_error" title="Copy Error Info" aria-label="Copy Error Info" class="font-medium rounded-full hover:bg-(--ono-v-hover-overlay) focus:outline-hidden focus:bg-(--ono-v-hover-overlay) text-(--ono-v-text)">
1651
1689
  <span class="inline-flex shrink-0 justify-center items-center size-8">
1652
- <span class="dui size-5" style="-webkit-mask-image: url('${or}'); mask-image: url('${or}')"></span>
1690
+ <span class="dui size-5" style="-webkit-mask-image: url('${sr}'); mask-image: url('${sr}')"></span>
1653
1691
  </span>
1654
1692
  </button>
1655
1693
  </div>
1656
1694
 
1657
- <div id="__v_o__message_loader" class="px-4 py-2 bg-[var(--ono-v-surface-muted)] border-b border-[var(--ono-v-border)]">
1695
+ <div id="__v_o__message_loader" class="px-4 py-2 bg-(--ono-v-surface-muted) border-b border-(--ono-v-border)">
1658
1696
  <div class="v-o-skeleton h-4 w-full rounded animate-pulse"></div>
1659
1697
  </div>
1660
- <div id="__v_o__message" class="px-4 py-2 text-sm text-[var(--ono-v-red-orange)] font-mono bg-[var(--ono-v-surface-muted)] border-b border-[var(--ono-v-border)] font-medium hidden"></div>
1698
+ <div id="__v_o__message" class="px-4 py-2 text-sm text-(--ono-v-red-orange) font-mono bg-(--ono-v-surface-muted) border-b border-(--ono-v-border) font-medium hidden"></div>
1661
1699
  <div id="__v_o__solutions" class="relative hidden">
1662
- <div title="Possible Solution" class="bg-[#b0c8aa] dark:bg-lime-800 rounded-[var(--ono-v-radius-md)] absolute top-4 right-6 z-10 size-6.5 flex items-center justify-center shadow-[var(--ono-v-elevation-1)]">
1663
- <span class="dui size-5" style="-webkit-mask-image: url('${ir}'); mask-image: url('${ir}')"></span>
1700
+ <div title="Possible Solution" class="bg-[#b0c8aa] dark:bg-lime-800 rounded-(--ono-v-radius-md) absolute top-4 right-6 z-10 size-6.5 flex items-center justify-center shadow-(--ono-v-elevation-1)">
1701
+ <span class="dui size-5" style="-webkit-mask-image: url('${ar}'); mask-image: url('${ar}')"></span>
1664
1702
  </div>
1665
- <div id="__v_o__solutions_container" class="max-h-50 overflow-y-auto px-4 py-2 bg-[var(--ono-v-success-bg)] m-1 mb-0 prose prose-sm max-w-full prose-headings:text-white prose-ul:list-none prose-hr:my-6 prose-hr:border dark:prose-invert"></div>
1703
+ <div id="__v_o__solutions_container" class="max-h-50 overflow-y-auto px-4 py-2 bg-(--ono-v-success-bg) m-1 mb-0 prose prose-sm max-w-full prose-headings:text-white prose-ul:list-none prose-hr:my-6 prose-hr:border dark:prose-invert"></div>
1666
1704
  </div>
1667
- <div id="__v_o__body" class="relative flex min-h-0 mx-1 py-2 bg-[var(--ono-v-surface)]">
1705
+ <div id="__v_o__body" class="relative flex min-h-0 mx-1 py-2 bg-(--ono-v-surface)">
1668
1706
  <div id="__v_o__body_loader" class="w-full space-y-1.5">
1669
1707
  <div class="v-o-skeleton h-4 w-full rounded animate-pulse"></div>
1670
1708
  <div class="v-o-skeleton h-4 w-3/4 rounded animate-pulse"></div>
@@ -1679,57 +1717,62 @@ class ErrorOverlay extends HTMLElement {
1679
1717
  </div>
1680
1718
  </div>
1681
1719
 
1682
- <details id="__v_o__stacktrace" class="relative -mt-5 pt-5 w-full max-w-[var(--ono-v-dialog-max-width)] rounded-b-[var(--ono-v-dialog-radius)] bg-[var(--ono-v-surface-muted)] shadow-[var(--ono-v-elevation-2)]">
1683
- <summary class="cursor-pointer px-4 py-3 text-xs font-mono text-[var(--ono-v-text-muted)] hover:text-[var(--ono-v-text)] transition-colors duration-200 list-none flex items-center gap-2 font-medium">
1684
- <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
1685
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
1686
- </svg>
1720
+ <details id="__v_o__stacktrace" class="relative -mt-5 pt-5 w-full max-w-(--ono-v-dialog-max-width) rounded-b-(--ono-v-dialog-radius) bg-(--ono-v-surface-muted) shadow-(--ono-v-elevation-2)">
1721
+ <summary class="cursor-pointer px-4 py-3 text-xs font-mono text-(--ono-v-text-muted) hover:text-(--ono-v-text) transition-colors duration-200 list-none flex items-center gap-2 font-medium">
1722
+ <span class="dui w-4 h-4" style="-webkit-mask-image: url('${Ge}'); mask-image: url('${Ge}')"></span>
1687
1723
  Raw stack trace
1688
1724
  </summary>
1689
- <div class="px-4 py-3 text-[var(--ono-v-text)] text-xs rounded-b-[var(--ono-v-dialog-radius)] font-mono leading-5 overflow-auto space-y-0.5 max-h-[140px] bg-[var(--ono-v-surface)] border-t border-[var(--ono-v-border)]"></div>
1725
+ <div class="px-4 py-3 text-(--ono-v-text) text-xs rounded-b-(--ono-v-dialog-radius) font-mono leading-5 overflow-auto space-y-0.5 max-h-[140px] bg-(--ono-v-surface) border-t border-(--ono-v-border)"></div>
1690
1726
  </details>
1691
1727
  <div id="__v_o__history_layer_depth" class="relative flex items-center flex-col -z-1 w-full max-w-[calc(var(--ono-v-dialog-max-width)-24px)] h-10 opacity-0 transition-opacity duration-200 pointer-events-none">
1692
- <div id="__v_o__history_layer_depth_1" class="relative w-full rounded-b-[var(--ono-v-dialog-radius)] h-5 bg-[var(--ono-v-surface-muted)] inset-shadow-[var(--ono-v-elevation-2)] -mt-3 shadow-md"></div>
1693
- <div id="__v_o__history_layer_depth_2" class="relative w-[calc(100%-24px)] rounded-b-[var(--ono-v-dialog-radius)] h-5 bg-[var(--ono-v-surface-muted)] inset-shadow-[var(--ono-v-elevation-2)] -mt-3 -z-1"></div>
1728
+ <div id="__v_o__history_layer_depth_1" class="relative w-full rounded-b-(--ono-v-dialog-radius) h-5 bg-(--ono-v-surface-muted) inset-shadow-(--ono-v-elevation-2) -mt-3 shadow-md"></div>
1729
+ <div id="__v_o__history_layer_depth_2" class="relative w-[calc(100%-24px)] rounded-b-(--ono-v-dialog-radius) h-5 bg-(--ono-v-surface-muted) inset-shadow-(--ono-v-elevation-2) -mt-3 -z-1"></div>
1694
1730
  </div>
1695
- </div>`,"rootElement"),vi=it(t=>{const e=mi();return`<style>${di}</style>
1696
- ${fi("__v_o__root",e)}
1697
-
1698
- ${t?`
1699
- <button type="button" id="__v_o__balloon" title="Toggle error overlay" aria-label="Toggle error overlay" class="fixed z-[2147483647] inline-flex items-center gap-2 px-2.5 py-1.5 rounded-full bg-[var(--ono-v-red-orange)] text-white font-sans text-xs leading-none shadow-lg cursor-pointer transition-all duration-200 hover:brightness-105" style="bottom: 8px; right: 8px;">
1731
+ </div>`,"rootElement"),bi=se((t="bottom-right")=>({"bottom-left":"bottom: 8px; left: 8px;","bottom-right":"bottom: 8px; right: 8px;","top-left":"top: 8px; left: 8px;","top-right":"top: 8px; right: 8px;"})[t],"getPositionStyles"),Zr=se(t=>{const e=[];return Object.entries(t).forEach(([r,o])=>{if(o!=null){const n=r.replaceAll(/([A-Z])/g,"-$1").toLowerCase();e.push(`${n}: ${String(o)};`)}}),e.join(" ")},"cssPropertiesToString"),yi=se(t=>t?typeof t=="string"?t:Zr(t):"","generateStyles"),ki=se(t=>{if(t?.enabled===!1)return"";const e=t?.position||"bottom-right",r=yi(t?.style),o=bi(e),n=t?.icon?`<img src="${t.icon}" alt="" class="w-4 h-4" />`:"",i=n?`${n}
1700
1732
  <span id="__v_o__balloon_count" class="inline-flex items-center justify-center min-w-5 h-5 px-1.5 rounded-full bg-white/20 text-white font-bold">0</span>
1701
- <span id="__v_o__balloon_text">Errors</span>
1702
- </button>`:""}`},"generateOverlayTemplate"),wi=it((t,e)=>{const r=vi(e),n=`const overlayTemplate = ${JSON.stringify(r)};`;let o=t.replace(hi,`${n}
1703
- ${cr}
1704
- class ViteErrorOverlay`);return o=o.replace(ui,`${n}
1705
- ${cr}
1706
- var ViteErrorOverlay = `),o=`${o}
1707
-
1708
- ${gi};`,o},"patchOverlay");var bi=Object.defineProperty,I=S((t,e)=>bi(t,"name",{value:e,configurable:!0}),"n$2");const yi=4,ur=1e3,ki=5,xi=.5,_i=[".js",".ts",".jsx",".tsx",".mjs",".cjs"],$i=[".css",".scss",".sass",".less"],Vr=[".svg",".png",".jpg",".jpeg",".gif",".webp",".ico"],Ei=new Set([...Vr,..._i,...$i]),j=I((t,...e)=>{const r=t.toLowerCase();return e.some(n=>r.includes(n.toLowerCase()))},"has"),Si=I((t,e)=>{const r=te.relative(t,e);return r.startsWith(".")?r:`./${r}`},"getRelativePath"),Ci=I(t=>t===0?"":t===1?" (in parent directory)":t===2?" (in grandparent directory)":` (${t} directories away)`,"getPathContext"),Li=I((t,e)=>{try{const r=te.relative(t,e).split(te.sep).filter(o=>o&&o!==".");let n=0;for(const o of r)n+=o===".."?2:1;return n}catch{return 10}},"calculatePathDistance"),Ti=I((t,e,r,n)=>{if(e&&n===e){const i=Ge(t,r);return i<=Math.max(3,Math.floor(t.length*xi))?10-i:0}if(!e){const i=Ge(t,r);return i===0?9:i<=Math.max(2,Math.floor(t.length*.3))&&Ei.has(n)?7-i:0}const o=Ge(t,r);return o<=Math.max(2,Math.floor(t.length*.4))?5-o:0},"calculateRelevanceScore"),Pi=I((t,e,r)=>{const n=[],o=I((i,a=0)=>{if(!(a>yi||n.length>ur))try{const l=wo.readdirSync(i,{withFileTypes:!0});for(const s of l){if(n.length>ur)break;const p=te.join(i,s.name);if(s.isDirectory()&&!s.name.startsWith(".")&&s.name!=="node_modules")o(p,a+1);else if(s.isFile()){const d=te.extname(s.name),g=te.basename(s.name,d),f=Ti(e,r,g,d);f>0&&n.push({baseName:g,extension:d,fullPath:p,path:p,relevanceScore:f})}}}catch{}},"walk");return o(t),n},"collectFileCandidates"),gr=I((t,e,r)=>{const n=te.basename(t),o=te.extname(n),i=te.basename(n,o),a=te.dirname(e),l=Pi(r,i,o).map(f=>{const y=Ge(i,f.baseName),b=Li(a,te.dirname(f.fullPath)),m=f.relevanceScore*.7+b*.2+y*.1;return{...f,nameDistance:y,pathDistance:b,score:m}});l.sort((f,y)=>f.score-y.score);const s=[],p=l.slice(0,8);let d=!1;for(const f of p){const y=Si(a,f.fullPath);if(!s.includes(y)){const b=Ci(f.pathDistance);s.push(y+b);const m=f.fullPath.replaceAll("\\","/").split("/"),k=m.indexOf("public");k!==-1&&k<m.length-1&&(d=!0)}}let g=`<ul>${[...new Set(s)].slice(0,ki).map(f=>`<li>\`${f}\`</li>`).join(`
1709
- `)}</ul>`;if(d){const f=n;[...Vr].some(y=>f.includes(y))&&(g+=`Files in the \`public\` folder should be accessed via absolute URLs like \`/${f}\`.`)}return g},"findSimilarFiles"),Mi=[{solution:{body:"Browser APIs like `window` and `document` are not available during server-side rendering. Use dynamic imports or check for SSR environment before using browser APIs.",header:"SSR Browser API Error"},test:I(t=>j(t,"window is not defined","document is not defined"),"test")},{solution:{body:"Some plugins need specific ordering. Use `enforce: 'pre'` for plugins that need to run first, or `enforce: 'post'` for plugins that need to run last.",header:"Plugin Ordering Issue"},test:I(t=>j(t,"Plugin ordering","enforce"),"test")},{solution:{body:"CSS Modules require proper configuration. Make sure your CSS files use the `.module.css` extension and are imported correctly.",header:"CSS Modules Configuration"},test:I(t=>j(t,"CSS Modules","module.css"),"test")},{solution:{body:["Only variables prefixed with `VITE_` are exposed on `import.meta.env` to the client at build time.","Server-only variables should not be prefixed with `VITE_`.","- Do not use `process.env` in browser code; prefer `import.meta.env.*`","- Custom vars must be prefixed with `VITE_` to be exposed to client",'- For TS, add `/// <reference types="vite/client" />` for type-safe access'].join(`
1710
- `),header:"Environment Variables"},test:I(t=>j(t,"VITE_","process.env"),"test")},{solution:{body:"For static assets, use the `new URL('./path/to/asset', import.meta.url)` syntax or import them and use the returned URL.",header:"Asset Import Issue"},test:I(t=>j(t,"Failed to load")&&j(t,".png",".jpg",".svg"),"test")},{solution:{body:"Some issues only occur in production builds. Check if the error happens in development mode. You might need different configurations for build vs dev.",header:"Build vs Development Mode"},test:I(t=>j(t,"production","build"),"test")},{solution:{body:"HMR issues can occur with certain patterns. Make sure you're not mutating module-level variables and consider using `import.meta.hot` guards.",header:"Hot Module Replacement Issue"},test:I(t=>j(t,"HMR","hot reload"),"test")},{solution:{body:"Check your `tsconfig.json` and make sure it includes proper paths and compiler options. For Vite, you might need a `vite-env.d.ts` file.",header:"TypeScript Configuration"},test:I((t,e)=>j(t,"TypeScript")||e&&e.endsWith(".ts"),"test")},{solution:{body:"Some dependencies need to be excluded from pre-bundling. Add them to `optimizeDeps.exclude` in your Vite config.",header:"Dependency Optimization"},test:I(t=>j(t,"optimizeDeps","pre-bundling"),"test")},{solution:{body:"Configure path aliases in your Vite config using the `resolve.alias` option to match your TypeScript path mappings.",header:"Path Resolution"},test:I(t=>j(t,"resolve.alias","Cannot find module"),"test")},{solution:{body:"Server middleware and proxy settings should be configured in the `server` section of your Vite config.",header:"Server Configuration"},test:I(t=>j(t,"middleware","proxy"),"test")},{solution:{body:"Check your plugin configuration in `vite.config.js/ts`. Make sure all required options are provided and options are correctly typed.",header:"Plugin Configuration"},test:I(t=>j(t,"plugin","configuration"),"test")},{solution:{body:"Configure your build output directory using `build.outDir` in your Vite config. Make sure the directory is writable.",header:"Build Output Configuration"},test:I(t=>j(t,"build.outDir","dist"),"test")},{solution:{body:["Client and server rendered markup differ.","","Checklist:","- A server/client branch `if (typeof window !== 'undefined')`.","- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.","- Date formatting in a user's locale which doesn't match the server.","- External changing data without sending a snapshot of it along with the HTML.","- Invalid HTML tag nesting.","","It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.","","https://react.dev/link/hydration-mismatch"].join(`
1711
- `)},test:I(t=>j(t,"hydration failed","did not match","expected server html","text content does not match"),"test")}],Ri=I(t=>({async handle(e,r){const{file:n,language:o}=r,i=e.message??"";if(j(i,"Failed to resolve import","Cannot resolve module")){const a=i.match(/Failed to resolve import ["']([^"']+)["']/),l=i.match(/Cannot resolve module ["']([^"']+)["']/),s=a?.[1]||l?.[1];if(s&&n){const p=gr(s,n,t);if(p)return{body:`The import path \`${s}\` could not be resolved.<br/><br/>Did you mean one of these files?<br/>${p}`};if([".jsx",".tsx"].includes(o)||j(i,"react"))return{body:"Install and configure the React plugin. Add `@vitejs/plugin-react` to your dependencies and include it in your Vite config.",header:"Missing React Plugin"};if(o==="vue")return{body:"Install and configure the Vue plugin. Add `@vitejs/plugin-vue` to your dependencies and include it in your Vite config.",header:"Missing Vue Plugin"}}}if(j(i,"Cannot resolve")&&(o==="typescript"||o==="javascript")){const a=i.match(/Cannot resolve ["'](\.\.?\/[^"']*)["']/);if(a){const l=a[1];if(l&&n){const s=gr(l,n,t);if(s)return{body:`Cannot resolve \`${l}\`. Did you mean one of these files?${s}`,header:"File Not Found"}}}return{body:"In Vite, you may need to include file extensions in imports, especially for TypeScript files. Try adding `.js` extension to your imports.",header:"Missing File Extension"}}for(const a of Mi)if(a.test(i,n))return a.solution},name:"vite-solution-finder",priority:20}),"createViteSolutionFinder");var Fi=Object.defineProperty,Se=S((t,e)=>Fi(t,"name",{value:e,configurable:!0}),"r$2");let Ae,Ie;const zi=Se(async(t=[])=>{try{const[e,r]=await Promise.all([import("shiki/core"),import("shiki/engine/javascript")]),{createHighlighterCore:n}=e,{createJavaScriptRegexEngine:o}=r,i=await n({themes:[import("@shikijs/themes/github-dark-default"),import("@shikijs/themes/github-light")],langs:[import("@shikijs/langs/javascript"),import("@shikijs/langs/typescript"),import("@shikijs/langs/jsx"),import("@shikijs/langs/tsx"),import("@shikijs/langs/json"),import("@shikijs/langs/jsonc"),import("@shikijs/langs/xml"),import("@shikijs/langs/sql"),import("@shikijs/langs/bash"),import("@shikijs/langs/shell"),import("@shikijs/langs/markdown"),import("@shikijs/langs/mdx"),import("@shikijs/langs/html"),import("@shikijs/langs/css"),import("@shikijs/langs/scss"),import("@shikijs/langs/less"),import("@shikijs/langs/sass"),import("@shikijs/langs/stylus"),import("@shikijs/langs/styl"),...t],engine:o()}),a=i;return Ie=Se(()=>{try{i?.dispose?.()}catch{}Ae=void 0},"disposeFn"),a}catch{const{createHighlighter:e}=await import("shiki"),r=await e({langs:["javascript","typescript","jsx","tsx","json","jsonc","xml","sql","bash","shell","markdown","mdx"],themes:["github-dark-default","github-light"]});return Ie=Se(()=>{try{r?.dispose?.()}catch{}Ae=void 0},"disposeFn"),r}},"createSingletonHighlighter"),Zr=Se(async(t=[])=>(Ae||(Ae=zi(t)),Ae),"getHighlighter");Se(async()=>{try{Ie&&(Ie(),Ie=void 0)}catch{}},"disposeHighlighter");const mr=Se((t=[])=>({name:"@shikijs/transformers:compact-line-options",line(e,r){const n=t.find(o=>o.line===r);return n?.classes&&this.addClassToHast(e,n.classes),e}}),"transformerCompactLineOptions");var Hi=Object.defineProperty,Ur=S((t,e)=>Hi(t,"name",{value:e,configurable:!0}),"s$3");const Ai=Ur(t=>!Array.isArray(t)||t.length===0?!1:t.some(e=>e&&typeof e=="object"&&(e.location||e.pluginName||e.text)),"isESBuildErrorArray"),Ii=Ur(t=>t.map((e,r)=>{const{location:n,pluginName:o,text:i}=e,a={message:i||`ESBuild error #${r+1}`};return n&&(a.file=n.file,a.line=n.line,a.column=n.column),o&&(a.plugin=o),a.name=e.name||"Error",a.stack=e.stack||"",a}),"processESBuildErrors");var Di=Object.defineProperty,Nr=S((t,e)=>Di(t,"name",{value:e,configurable:!0}),"c$6");const Bi=Nr((t,e)=>{for(const[r,n]of t.moduleGraph.idToModuleMap){if(!n)continue;const o=n,i=[String(o.file||"").replaceAll("\\","/"),String(r||"").replaceAll("\\","/"),String(o.url||"").replaceAll("\\","/")];for(const a of e)if(i.some(l=>l===a||l.includes(a)||a.includes(l)))return n}},"findBestModuleMatch"),De=Nr((t,e)=>{const r=[...e,...e.map(i=>i.replace(/^\/@fs\//,"")),...e.map(i=>i.replace(/^[./]*/,""))];let n,o=0;for(const i of r)try{const a=t.moduleGraph.getModuleById(i);if(a){const s=Object.keys(a).length>0,p=!!a.transformResult;let d=0;if(s&&p?d=2:s&&(d=1),s&&(d>o&&(n=a,o=d),p))return a}const l=t.moduleGraph.getModuleByUrl?.(i);if(l){const s=Object.keys(l).length>0,p=!!l.transformResult;let d=0;if(s&&p?d=2:s&&(d=1),s&&(d>o&&(n=l,o=d),p))return l}}catch{}return n||Bi(t,e)||void 0},"findModuleForPath");var ji=Object.defineProperty,zt=S((t,e)=>ji(t,"name",{value:e,configurable:!0}),"r$1");const Oi=/^https?:\/\//,qi=zt(t=>{const e=new URL(t),{pathname:r}=e,n=e.search||"",o=[r+n,r,r.replace(/^\/@fs\//,""),decodeURIComponent(r+n),decodeURIComponent(r)];return[...new Set(o)].filter(Boolean)},"generateUrlCandidates"),Wr=zt(t=>Oi.test(t),"isHttpUrl"),fe=zt(t=>{if(!t)return[];try{if(Wr(t))return qi(t);const e=[t];if(t.startsWith("/")&&e.push(t.slice(1)),t.includes("?")){const r=t.split("?")[0];r&&e.push(r)}return[...new Set(e)].filter(Boolean)}catch(e){return console.warn(`Failed to normalize path "${t}":`,e),[]}},"normalizeIdCandidates");var Vi=Object.defineProperty,he=S((t,e)=>Vi(t,"name",{value:e,configurable:!0}),"o$4");const Zi=he((t,e)=>t.split(/\n/g)[e-1]??"","getLine"),fr=he(t=>t.replaceAll(/\s+/g,""),"removeWhitespace"),Ui=he((t,e)=>{if(e<=0||e>t.length)return"";const r=Math.max(0,e-1),n=t.slice(r,r+64),o=/[A-Z_$][\w$]{2,}/i.exec(n);if(o?.[0])return o[0];let i=n.trim();return i.length<4&&(i=t.slice(Math.max(0,r-16),r+16).trim()),i},"extractCandidateToken"),Ni=he((t,e)=>{if(!t||t.length<3)return null;for(const[r,n]of e.entries()){if(!n)continue;const o=n.indexOf(t);if(o!==-1)return{column:o+1,line:r+1}}return null},"tryTokenBasedSearch"),Wi=he((t,e)=>{if(!t)return null;for(const[r,n]of e.entries()){if(!n)continue;const o=n.indexOf(t);if(o!==-1)return{column:o+1,line:r+1}}return null},"tryLineSubstringSearch"),Gi=he((t,e)=>{if(!t)return null;const r=fr(t);if(!r)return null;for(const[n,o]of e.entries()){if(!o)continue;const i=fr(o).indexOf(r);if(i!==-1){const a=Yi(o,i);if(a!==-1)return{column:a,line:n+1}}}return null},"tryWhitespaceInsensitiveSearch"),Yi=he((t,e)=>{let r=0;for(const[n,o]of[...t].entries())if(typeof o=="string"){if(r===e)return n+1;/\s/.test(o)||r++}return-1},"mapNormalizedToOriginalPosition"),Xi=he((t,e,r,n)=>{const o=Zi(t,e);if(!o)return null;const i=n.split(/\n/g),a=Ui(o,r);return Ni(a,i)||Wi(o.trim(),i)||Gi(o.trim(),i)},"realignOriginalPosition");var Qi=Object.defineProperty,ee=S((t,e)=>Qi(t,"name",{value:e,configurable:!0}),"u$1");const Ji=/`((?:[^`$]|\$\{[^}]+\})*)`/g,vr=/\$\{[^}]+\}/g,Ki=/[.*+?^${}()|[\]\\]/g,Gr=[/new Error\(/,/throw new Error\(/,/new Error`/,/throw new Error`/,/new [A-Z]\w*\(/,/throw new [A-Z]\w*\(/,/new [A-Z]\w*`/,/throw new [A-Z]\w*`/],ve=ee(t=>t.replaceAll(Ki,String.raw`\$&`),"escapeRegex"),ea=ee(t=>{const e=ve(t);return[t,`new Error("${e}")`,`new Error('${e}')`,`new Error(\`${ve(t)}\`)`,`throw new Error("${e}")`,`throw new Error('${e}')`,`throw new Error(\`${ve(t)}\`)`,`Error("${e}")`,`Error('${e}')`]},"createErrorPatterns"),wr=ee((t,e)=>{const r=[...t.matchAll(Ji)];for(const n of r){const o=n[1];if(!o)continue;const i=o.split(vr);if(i.every(l=>l===""||e.includes(l))&&i.length>1)return!0;if(!o)continue;const a=o.replaceAll(vr,"(.+?)");try{if(new RegExp(`^${ve(a)}$`).test(e))return!0}catch{}}return!1},"checkTemplateLiteralMatch"),ta=[/Failed to resolve import ["']([^"']+)["'](?:\s+from ["']([^"']+)["'])?/,/(.+?)\s+from line \d+/,/(.+?)\s+is not defined/,/(.+?)\s+is not a function/,/Cannot read properties of (.+?)\s+\(reading (.+?)\)/],ra=ee(t=>{for(const e of ta){const r=t.match(e);if(r)return r}return null},"findDynamicErrorMatch"),br=ee(t=>{let e=null,r=null;for(const n of Gr){const o=t.match(n);o&&(!e||n.source.includes("throw")&&!r?.source.includes("throw"))&&(e=o,r=n)}return{bestMatch:e,bestPattern:r}},"findBestErrorConstructor"),yr=ee((t,e)=>{let r=t.index;if(e.source.includes("throw new")&&t[0].startsWith("throw new")){const n=t[0].indexOf("new");n!==-1&&(r+=n)}return r+1},"calculateActualColumn"),na=ee((t,e,r=0)=>{if(!t||!e)return null;const n=t.split(`
1712
- `),o=ra(e),i=ea(e),a=ee((g,f,y)=>{let b=0;for(const[m,k]of g.entries()){if(!k)continue;const T=k.includes(f)||wr(k,f),M=Gr.some(C=>C.test(k));if(T&&M){const{bestMatch:C,bestPattern:R}=br(k);if(C&&R&&(b++,b>y))return{column:yr(C,R),line:m+1}}}return null},"processErrorConstructorLines")(n,e,r);if(a)return a;o&&ee((g,f,y)=>{if(g[0].includes("Failed to resolve import")){const b=g[1];if(!b)return;const m=ve(b);y.unshift(`import.*from ["']${m}["']`,`import.*["']${m}["']`,b)}else if(g[0].includes("is not defined")){const b=g[1];if(!b)return;y.unshift(b,`{${b}}`,`src={${b}}`,`${b}.`,`=${b}`)}else if(g[0].includes("Cannot read properties")){const b=g[1],m=g[2];if(!m)return;y.unshift(m,`${b}.${m}`,`${b}?.${m}`,`${b}[${m}]`)}else{const b=g[1];if(!b)return;const m=ve(f),k=ve(b);y.unshift(`new Error(\`${k}`,`throw new Error(\`${k}`,`new Error("${k}`,`new Error('${k}`,`throw new Error("${k}`,`throw new Error('${k}`,`new Error("${m}")`,`new Error('${m}')`,`throw new Error("${m}")`,`throw new Error('${m}')`,`new Error(\`${m}\`)`,`throw new Error(\`${m}\`)`)}},"addDynamicPatterns")(o,e,i);const l=ee((g,f,y)=>{let b=0;for(const[m,k]of g.entries()){if(!k||!wr(k,f))continue;const{bestMatch:T,bestPattern:M}=br(k);if(T&&M&&(b++,b>y))return{column:yr(T,M),line:m+1}}return null},"processTemplateLiteralLines"),s=ee((g,f,y,b)=>{let m=0;for(const[k,T]of g.entries()){if(!T)continue;let M=-1,C=null;for(const R of f){const D=T.indexOf(R);D!==-1&&(M===-1||D<M)&&(M=D,C=R)}if(M!==-1&&C&&(m++,m>b))return{column:p(M,C,T,y),line:k+1}}return null},"processPatternLines"),p=ee((g,f,y,b)=>{if(!b)return g+1;if(b[0].includes("Failed to resolve import")){const m=b[1];if(y.includes(`"${m}"`)||y.includes(`'${m}'`)){const k=y.includes(`"${m}"`)?'"':"'";return y.indexOf(`${k}${m}${k}`)+1}}else if(b[0].includes("is not defined")){const m=b[1];if(m&&f===m)return g+1;if(m&&f.includes(m))return g+f.indexOf(m)+1}else if(b[0].includes("Cannot read properties")){const m=b[2];if(m&&f.includes(m))return g+f.indexOf(m)+1}else if(f.includes("new Error("))return y.indexOf("new Error(")+1;return g+1},"calculatePatternColumn");return l(n,e,r)||s(n,i,o,r)},"findErrorInSourceCode");var oa=Object.defineProperty,Oe=S((t,e)=>oa(t,"name",{value:e,configurable:!0}),"m$4");const ia=1,kr=Oe((t,e)=>{let r=t,n=e;return t>=20?r=Math.max(1,Math.round(t*.5)):t>15?r=Math.max(1,Math.round(t*.6)):t>10?r=Math.max(1,t-8):r=Math.max(1,t-3),e>=10||e>7?n=Math.max(0,e-1):e>5&&(n=Math.max(0,e)),{estimatedColumn:n,estimatedLine:r}},"estimateOriginalPosition"),aa=Oe((t,e,r)=>{try{const n=new bo(t),o=[{column:r,desc:"original",line:e},{column:Math.max(0,r-ia),desc:"offset",line:e},{column:r,desc:"line above",line:e-1},{column:r,desc:"line below",line:e+1},...Array.from({length:5},(i,a)=>({column:Math.max(0,r-2+a),desc:`col ${r-2+a}`,line:e}))];for(const i of o){const a=yo(n,{column:i.column,line:i.line});if(a.source&&a.line!==void 0&&a.column!==void 0&&a.line>0&&a.column>=0)return{column:a.column,line:a.line,source:a.source}}}catch(n){console.warn("Source map processing failed:",n)}return null},"resolveSourceMapPosition"),sa=Oe((t,e)=>e?Wr(t)?la(t,e):e:t,"resolveSourcePath"),la=Oe((t,e)=>{try{const r=new URL(t),n=(r.pathname||"").replace(/^\//,""),o=n.includes("/")?n.slice(0,Math.max(0,n.lastIndexOf("/"))):"";return`${r.origin}/${o?`${o}/`:""}${e}`}catch(r){return console.warn("URL parsing failed for source path resolution:",r),t}},"resolveHttpSourcePath"),xt=Oe(async(t,e,r,n,o,i,a=0)=>{if(i&&e)try{let s=null;if(e.transformResult?.map?.sourcesContent?.[0]?s=e.transformResult.map.sourcesContent[0]:e.transformResult?.code&&(s=e.transformResult.code),!s&&(e.id||e.url)){const p=e.id||e.url;if(p)try{const d=await t.transformRequest(p);d?.map&&"sourcesContent"in d.map&&d.map.sourcesContent?.[0]?s=d.map.sourcesContent[0]:d?.code&&(s=d.code)}catch(d){console.warn("Failed to get fresh source for error search:",d)}}if(!s&&r)try{const p=await import("node:fs/promises");let d=r;if(r.includes("://"))try{d=new URL(r).pathname}catch{const g=r.indexOf("://");g!==-1&&(d=r.slice(g+3))}d.startsWith("/")||(d=`${t.config.root||process.cwd()}/${d}`),s=await p.readFile(d,"utf8")}catch(p){console.warn("Failed to read source file from disk:",p)}if(s){const p=na(s,i,a);if(p)return{originalFileColumn:p.column,originalFileLine:p.line,originalFilePath:r}}}catch(s){console.warn("Source code search failed:",s)}let l=e?.transformResult?.map;if(!l&&(e?.id||e?.url)){const s=e.id||e.url;if(s)try{const p=await t.transformRequest(s);p?.map&&(l=p.map)}catch(p){console.warn("Failed to get fresh source map:",p)}}if(!l){const{estimatedColumn:s,estimatedLine:p}=kr(n,o);return{originalFileColumn:s,originalFileLine:p,originalFilePath:r}}try{const s=aa(l,n,o);if(!s){const{estimatedColumn:d,estimatedLine:g}=kr(n,o);return{originalFileColumn:d,originalFileLine:g,originalFilePath:r}}const p=sa(r,s.source);return{originalFileColumn:s.column,originalFileLine:s.line,originalFilePath:p}}catch(s){return console.warn("Source map resolution failed:",s),{originalFileColumn:o,originalFileLine:n,originalFilePath:r}}},"resolveOriginalLocation");var ca=Object.defineProperty,da=S((t,e)=>ca(t,"name",{value:e,configurable:!0}),"$e"),pa=Object.defineProperty,Ht=da((t,e)=>pa(t,"name",{value:e,configurable:!0}),"W"),ha=Object.defineProperty,_=Ht((t,e)=>ha(t,"name",{value:e,configurable:!0}),"u$1");let xr=_(()=>{var t=(()=>{var e=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,i=_((c,h)=>{for(var u in h)e(c,u,{get:h[u],enumerable:!0})},"ne"),a=_((c,h,u,w)=>{if(h&&typeof h=="object"||typeof h=="function")for(let v of n(h))!o.call(c,v)&&v!==u&&e(c,v,{get:_(()=>h[v],"get"),enumerable:!(w=r(h,v))||w.enumerable});return c},"ae"),l=_(c=>a(e({},"__esModule",{value:!0}),c),"oe"),s={};i(s,{zeptomatch:_(()=>Xt,"zeptomatch")});var p=_(c=>{const h=new Set,u=[c];for(let w=0;w<u.length;w++){const v=u[w];if(h.has(v))continue;h.add(v);const{children:x}=v;if(x?.length)for(let E=0,F=x.length;E<F;E++)u.push(x[E])}return Array.from(h)},"M"),d=_(c=>{let h="";const u=p(c);for(let w=0,v=u.length;w<v;w++){const x=u[w];if(!x.regex)continue;const E=x.regex.flags;if(h||(h=E),h!==E)throw new Error(`Inconsistent RegExp flags used: "${h}" and "${E}"`)}return h},"se"),g=_((c,h,u)=>{const w=u.get(c);if(w!==void 0)return w;const v=c.partial??h;let x="";if(c.regex&&(x+=v?"(?:$|":"",x+=c.regex.source),c.children?.length){const E=y(c.children.map(F=>g(F,h,u)).filter(Boolean));if(E?.length){const F=c.children.some(Pe=>!Pe.regex||!(Pe.partial??h)),Z=E.length>1||v&&(!x.length||F);x+=Z?v?"(?:$|":"(?:":"",x+=E.join("|"),x+=Z?")":""}}return c.regex&&(x+=v?")":""),u.set(c,x),x},"O"),f=_((c,h)=>{const u=new Map,w=p(c);for(let v=w.length-1;v>=0;v--){const x=g(w[v],h,u);if(!(v>0))return x}return""},"ie"),y=_(c=>Array.from(new Set(c)),"ue"),b=_((c,h,u)=>b.compile(c,u).test(h),"R");b.compile=(c,h)=>{const u=h?.partial??!1,w=f(c,u),v=d(c);return new RegExp(`^(?:${w})$`,v)};var m=b,k=_((c,h)=>{const u=m.compile(c,h),w=`${u.source.slice(0,-1)}[\\\\/]?$`,v=u.flags;return new RegExp(w,v)},"le"),T=k,M=_(c=>{const h=c.map(w=>w.source).join("|")||"$^",u=c[0]?.flags;return new RegExp(h,u)},"ve"),C=M,R=_(c=>Array.isArray(c),"j"),D=_(c=>typeof c=="function","_"),X=_(c=>c.length===0,"he"),O=(()=>{const{toString:c}=Function.prototype,h=/(?:^\(\s*(?:[^,.()]|\.(?!\.\.))*\s*\)\s*=>|^\s*[a-zA-Z$_][a-zA-Z0-9$_]*\s*=>)/;return u=>(u.length===0||u.length===1)&&h.test(c.call(u))})(),Q=_(c=>typeof c=="number","de"),N=_(c=>typeof c=="object"&&c!==null,"xe"),st=_(c=>c instanceof RegExp,"me"),lt=(()=>{const c=/\\\(|\((?!\?(?::|=|!|<=|<!))/;return h=>c.test(h.source)})(),ue=(()=>{const c=/^[a-zA-Z0-9_-]+$/;return h=>c.test(h.source)&&!h.flags.includes("i")})(),Ve=_(c=>typeof c=="string","A"),P=_(c=>c===void 0,"f"),A=_(c=>{const h=new Map;return u=>{const w=h.get(u);if(w!==void 0)return w;const v=c(u);return h.set(u,v),v}},"ye"),q=_((c,h,u={})=>{const w={cache:{},input:c,index:0,indexBacktrackMax:0,options:u,output:[]},v=de(h)(w),x=Math.max(w.index,w.indexBacktrackMax);if(v&&w.index===c.length)return w.output;throw new Error(`Failed to parse at index ${x}`)},"I"),$=_((c,h)=>R(c)?ke(c,h):Ve(c)?Ne(c,h):le(c,h),"i"),ke=_((c,h)=>{const u={};for(const w of c){if(w.length!==1)throw new Error(`Invalid character: "${w}"`);const v=w.charCodeAt(0);u[v]=!0}return w=>{const v=w.input;let x=w.index,E=x;for(;E<v.length&&v.charCodeAt(E)in u;)E+=1;if(E>x){if(!P(h)&&!w.options.silent){const F=v.slice(x,E),Z=D(h)?h(F,v,`${x}`):h;P(Z)||w.output.push(Z)}w.index=E}return!0}},"we"),le=_((c,h)=>{if(ue(c))return Ne(c.source,h);{const u=c.source,w=c.flags.replace(/y|$/,"y"),v=new RegExp(u,w);return lt(c)&&D(h)&&!O(h)?Ze(v,h):Ue(v,h)}},"$e"),Ze=_((c,h)=>u=>{const w=u.index,v=u.input;c.lastIndex=w;const x=c.exec(v);if(x){const E=c.lastIndex;if(!u.options.silent){const F=h(...x,v,`${w}`);P(F)||u.output.push(F)}return u.index=E,!0}else return!1},"Ee"),Ue=_((c,h)=>u=>{const w=u.index,v=u.input;if(c.lastIndex=w,c.test(v)){const x=c.lastIndex;if(!P(h)&&!u.options.silent){const E=D(h)?h(v.slice(w,x),v,`${w}`):h;P(E)||u.output.push(E)}return u.index=x,!0}else return!1},"Ce"),Ne=_((c,h)=>u=>{const w=u.index,v=u.input;if(v.startsWith(c,w)){if(!P(h)&&!u.options.silent){const x=D(h)?h(c,v,`${w}`):h;P(x)||u.output.push(x)}return u.index+=c.length,!0}else return!1},"F"),ce=_((c,h,u,w)=>{const v=de(c),x=h>1;return dt(ct(Dt(E=>{let F=0;for(;F<u;){const Z=E.index;if(!v(E)||(F+=1,E.index===Z))break}return F>=h},x),w))},"k"),V=_((c,h)=>ce(c,0,1,h),"L"),G=_((c,h)=>ce(c,0,1/0,h),"$"),ge=_((c,h)=>ce(c,1,1/0,h),"Re"),J=_((c,h)=>{const u=c.map(de);return dt(ct(Dt(w=>{for(let v=0,x=u.length;v<x;v++)if(!u[v](w))return!1;return!0}),h))},"x"),K=_((c,h)=>{const u=c.map(de);return dt(ct(w=>{for(let v=0,x=u.length;v<x;v++)if(u[v](w))return!0;return!1},h))},"p"),Dt=_((c,h=!0,u=!1)=>{const w=de(c);return h?v=>{const x=v.index,E=v.output.length,F=w(v);return!F&&!u&&(v.indexBacktrackMax=Math.max(v.indexBacktrackMax,v.index)),(!F||u)&&(v.index=x,v.output.length!==E&&(v.output.length=E)),F}:w},"q"),ct=_((c,h)=>{const u=de(c);return h?w=>{if(w.options.silent)return u(w);const v=w.output.length;if(u(w)){const x=w.output.splice(v,1/0),E=h(x);return P(E)||w.output.push(E),!0}else return!1}:u},"B"),dt=(()=>{let c=0;return h=>{const u=de(h),w=c+=1;return v=>{var x;if(v.options.memoization===!1)return u(v);const E=v.index,F=(x=v.cache)[w]||(x[w]={indexMax:-1,queue:[]}),Z=F.queue;if(E<=F.indexMax){const Me=F.store||(F.store=new Map);if(Z.length){for(let _e=0,io=Z.length;_e<io;_e+=2){const ao=Z[_e*2],so=Z[_e*2+1];Me.set(ao,so)}Z.length=0}const ne=Me.get(E);if(ne===!1)return!1;if(Q(ne))return v.index=ne,!0;if(ne)return v.index=ne.index,ne.output?.length&&v.output.push(...ne.output),!0}const Pe=v.output.length,oo=u(v);if(F.indexMax=Math.max(F.indexMax,E),oo){const Me=v.index,ne=v.output.length;if(ne>Pe){const _e=v.output.slice(Pe,ne);Z.push(E,{index:Me,output:_e})}else Z.push(E,Me);return!0}else return Z.push(E,!1),!1}}})(),Bt=_(c=>{let h;return u=>(h||(h=de(c())),h(u))},"G"),de=A(c=>{if(D(c))return X(c)?Bt(c):c;if(Ve(c)||st(c))return $(c);if(R(c))return J(c);if(N(c))return K(Object.values(c));throw new Error("Invalid rule")}),me=_(c=>c,"d"),tn=_(c=>typeof c=="string","ke"),rn=_(c=>{const h=new WeakMap,u=new WeakMap;return(w,v)=>{const x=v?.partial?u:h,E=x.get(w);if(E!==void 0)return E;const F=c(w,v);return x.set(w,F),F}},"Be"),nn=_(c=>{const h={},u={};return(w,v)=>{const x=v?.partial?u:h;return x[w]??(x[w]=c(w,v))}},"Pe"),on=$(/\\./,me),an=$(/./,me),sn=$(/\*\*\*+/,"*"),ln=$(/([^/{[(!])\*\*/,(c,h)=>`${h}*`),cn=$(/(^|.)\*\*(?=[^*/)\]}])/,(c,h)=>`${h}*`),dn=G(K([on,sn,ln,cn,an])),pn=dn,hn=_(c=>q(c,pn,{memoization:!1}).join(""),"Ie"),un=hn,jt="abcdefghijklmnopqrstuvwxyz",gn=_(c=>{let h="";for(;c>0;){const u=(c-1)%26;h=jt[u]+h,c=Math.floor((c-1)/26)}return h},"Le"),Ot=_(c=>{let h=0;for(let u=0,w=c.length;u<w;u++)h=h*26+jt.indexOf(c[u])+1;return h},"V"),pt=_((c,h)=>{if(h<c)return pt(h,c);const u=[];for(;c<=h;)u.push(c++);return u},"b"),mn=_((c,h,u)=>pt(c,h).map(w=>String(w).padStart(u,"0")),"qe"),qt=_((c,h)=>pt(Ot(c),Ot(h)).map(gn),"W"),B=_(c=>({partial:!1,regex:new RegExp(c,"s"),children:[]}),"c"),Te=_(c=>({children:c}),"y"),xe=(()=>{const c=_((h,u,w)=>{if(w.has(h))return;w.add(h);const{children:v}=h;if(!v.length)v.push(u);else for(let x=0,E=v.length;x<E;x++)c(v[x],u,w)},"e");return h=>{if(!h.length)return Te([]);for(let u=h.length-1;u>=1;u--){const w=new Set,v=h[u-1],x=h[u];c(v,x,w)}return h[0]}})(),pe=_(()=>({regex:new RegExp("[\\\\/]","s"),children:[]}),"g"),fn=$(/\\./,B),vn=$(/[$.*+?^(){}[\]\|]/,c=>B(`\\${c}`)),wn=$(/[\\\/]/,pe),bn=$(/[^$.*+?^(){}[\]\|\\\/]+/,B),yn=$(/^(?:!!)*!(.*)$/,(c,h)=>B(`(?!^${Xt.compile(h).source}$).*?`)),kn=$(/^(!!)+/),xn=K([yn,kn]),_n=$(/\/(\*\*\/)+/,()=>Te([xe([pe(),B(".+?"),pe()]),pe()])),$n=$(/^(\*\*\/)+/,()=>Te([B("^"),xe([B(".*?"),pe()])])),En=$(/\/(\*\*)$/,()=>Te([xe([pe(),B(".*?")]),B("$")])),Sn=$(/\*\*/,()=>B(".*?")),Vt=K([_n,$n,En,Sn]),Cn=$(/\*\/(?!\*\*\/|\*$)/,()=>xe([B("[^\\\\/]*?"),pe()])),Ln=$(/\*/,()=>B("[^\\\\/]*")),Zt=K([Cn,Ln]),Ut=$("?",()=>B("[^\\\\/]")),Tn=$("[",me),Pn=$("]",me),Mn=$(/[!^]/,"^\\\\/"),Rn=$(/[a-z]-[a-z]|[0-9]-[0-9]/i,me),Fn=$(/\\./,me),zn=$(/[$.*+?^(){}[\|]/,c=>`\\${c}`),Hn=$(/[\\\/]/,"\\\\/"),An=$(/[^$.*+?^(){}[\]\|\\\/]+/,me),In=K([Fn,zn,Hn,Rn,An]),Nt=J([Tn,V(Mn),G(In),Pn],c=>B(c.join(""))),Dn=$("{","(?:"),Bn=$("}",")"),jn=$(/(\d+)\.\.(\d+)/,(c,h,u)=>mn(+h,+u,Math.min(h.length,u.length)).join("|")),On=$(/([a-z]+)\.\.([a-z]+)/,(c,h,u)=>qt(h,u).join("|")),qn=$(/([A-Z]+)\.\.([A-Z]+)/,(c,h,u)=>qt(h.toLowerCase(),u.toLowerCase()).join("|").toUpperCase()),Vn=K([jn,On,qn]),Wt=J([Dn,Vn,Bn],c=>B(c.join(""))),Zn=$("{"),Un=$("}"),Nn=$(","),Wn=$(/\\./,B),Gn=$(/[$.*+?^(){[\]\|]/,c=>B(`\\${c}`)),Yn=$(/[\\\/]/,pe),Xn=$(/[^$.*+?^(){}[\]\|\\\/,]+/,B),Qn=Bt(()=>Yt),Jn=$("",()=>B("(?:)")),Kn=ge(K([Vt,Zt,Ut,Nt,Wt,Qn,Wn,Gn,Yn,Xn]),xe),Gt=K([Kn,Jn]),Yt=J([Zn,V(J([Gt,G(J([Nn,Gt]))])),Un],Te),eo=G(K([xn,Vt,Zt,Ut,Nt,Wt,Yt,fn,vn,wn,bn]),xe),to=eo,ro=_(c=>q(c,to,{memoization:!1})[0],"kr"),no=ro,ht=_((c,h,u)=>ht.compile(c,u).test(h),"N");ht.compile=(()=>{const c=nn((u,w)=>T(no(un(u)),w)),h=rn((u,w)=>C(u.map(v=>c(v,w))));return(u,w)=>tn(u)?c(u,w):h(u,w)})();var Xt=ht;return l(s)})();return t.default||t},"_lazyMatch"),ut;const ua=_((t,e)=>(ut||(ut=xr(),xr=null),ut(t,e)),"default");var ga=Object.defineProperty,ma=Ht((t,e)=>ga(t,"name",{value:e,configurable:!0}),"t$1");const fa=/^[A-Z]:\//i,ye=ma((t="")=>t&&t.replaceAll("\\","/").replace(fa,e=>e.toUpperCase()),"normalizeWindowsPath");var va=Object.defineProperty,Y=Ht((t,e)=>va(t,"name",{value:e,configurable:!0}),"r");const wa=/^[/\\]{2}/,ba=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Z]:[/\\]/i,Yr=/^[A-Z]:$/i,_r=/^\/([A-Z]:)?$/i,ya=/.(\.[^./]+)$/,ka=/^[/\\]|^[a-z]:[/\\]/i,xa=Y(()=>typeof process.cwd=="function"?process.cwd().replaceAll("\\","/"):"/","cwd"),Xr=Y((t,e)=>{let r="",n=0,o=-1,i=0,a;for(let l=0;l<=t.length;++l){if(l<t.length)a=t[l];else{if(a==="/")break;a="/"}if(a==="/"){if(!(o===l-1||i===1))if(i===2){if(r.length<2||n!==2||!r.endsWith(".")||r.at(-2)!=="."){if(r.length>2){const s=r.lastIndexOf("/");s===-1?(r="",n=0):(r=r.slice(0,s),n=r.length-1-r.lastIndexOf("/")),o=l,i=0;continue}else if(r.length>0){r="",n=0,o=l,i=0;continue}}e&&(r+=r.length>0?"/..":"..",n=2)}else r.length>0?r+=`/${t.slice(o+1,l)}`:r=t.slice(o+1,l),n=l-o-1;o=l,i=0}else a==="."&&i!==-1?++i:i=-1}return r},"normalizeString"),Be=Y(t=>ba.test(t),"isAbsolute"),Je=Y(function(t){if(t.length===0)return".";t=ye(t);const e=wa.exec(t),r=Be(t),n=t.at(-1)==="/";return t=Xr(t,!r),t.length===0?r?"/":n?"./":".":(n&&(t+="/"),Yr.test(t)&&(t+="/"),e?r?`//${t}`:`//./${t}`:r&&!Be(t)?`/${t}`:t)},"normalize");Y((...t)=>{let e="";for(const r of t)if(r)if(e.length>0){const n=e[e.length-1]==="/",o=r[0]==="/";n&&o?e+=r.slice(1):e+=n||o?r:`/${r}`}else e+=r;return Je(e)},"join");const Ke=Y(function(...t){t=t.map(n=>ye(n));let e="",r=!1;for(let n=t.length-1;n>=-1&&!r;n--){const o=n>=0?t[n]:xa();!o||o.length===0||(e=`${o}/${e}`,r=Be(o))}return e=Xr(e,!r),r&&!Be(e)?`/${e}`:e.length>0?e:"."},"resolve");Y(function(t){return ye(t)},"toNamespacedPath");const _a=Y(function(t){return ya.exec(ye(t))?.[1]??""},"extname");Y(function(t,e){const r=Ke(t).replace(_r,"$1").split("/"),n=Ke(e).replace(_r,"$1").split("/");if(n[0][1]===":"&&r[0][1]===":"&&r[0]!==n[0])return n.join("/");const o=[...r];for(const i of o){if(n[0]!==i)break;r.shift(),n.shift()}return[...r.map(()=>".."),...n].join("/")},"relative");const $a=Y(t=>{const e=ye(t).replace(/\/$/,"").split("/").slice(0,-1);return e.length===1&&Yr.test(e[0])&&(e[0]+="/"),e.join("/")||(Be(t)?"/":".")},"dirname");Y(function(t){const e=[t.root,t.dir,t.base??t.name+t.ext].filter(Boolean);return ye(t.root?Ke(...e):e.join("/"))},"format");const Ea=Y((t,e)=>{const r=ye(t).split("/").pop();return e&&r.endsWith(e)?r.slice(0,-e.length):r},"basename");Y(function(t){const e=ka.exec(t)?.[0]?.replaceAll("\\","/")??"",r=Ea(t),n=_a(r);return{base:r,dir:$a(t),ext:n,name:r.slice(0,r.length-n.length),root:e}},"parse");Y((t,e)=>ua(e,Je(t)),"matchesGlob");var Sa=Object.defineProperty,re=S((t,e)=>Sa(t,"name",{value:e,configurable:!0}),"e$1");const _t="/",$r=":",Ca="at ",La=/https?:\/\/[^\s)]+/g,Ta=/file:\/\//g,Qr=/\/@fs\//g,Pa=new Set([".cjs",".js",".jsx",".mjs",".svelte",".ts",".tsx",".vue"]),Ma=new Set(["<anonymous>","<unknown>","native"]),Ra=re(t=>{const e=t.trim();return!e.startsWith(Ca)||!([...Pa].some(r=>e.includes(r))||[...Ma].some(r=>e.includes(r)))?!1:/\([^)]*:\d+:\d+\)/.test(e)||/\([^)]*:\d+\)/.test(e)||/[^(\s][^:]*:\d+:\d+/.test(e)||/[^(\s][^:]*:\d+/.test(e)||e.includes("native")||e.includes("<unknown>")},"isValidStackFrame"),Fa=re(t=>(t=t.replaceAll(Qr,_t),t=t.replaceAll(Ta,""),t.includes("<unknown>")?t.trim()||"":t.trim()&&!Ra(t)?"":t),"cleanStackLine"),za=re((t,e)=>{try{const{baseUrl:r,col:n,line:o}=Ha(t),i=Aa(r,e);return Ia(i,o,n)}catch(r){return console.warn("Failed to absolutize URL:",t,r),t}},"absolutizeUrl"),Ha=re(t=>{const e=t.match(/:(\d+)(?::(\d+))?$/),r=e?.[1],n=e?.[2];return{baseUrl:e?t.slice(0,-e[0].length):t,col:n,line:r}},"parseUrlWithLocation"),Aa=re((t,e)=>{const r=new URL(t);let n=decodeURIComponent(r.pathname||"");return n=n.replaceAll(Qr,_t),Ke(e,n.startsWith(_t)?n.slice(1):n)},"urlToAbsolutePath"),Ia=re((t,e,r)=>{if(!e)return t;const n=r?`${$r}${r}`:"";return`${t}${$r}${e}${n}`},"formatAbsolutePath"),At=re(t=>t&&t.replaceAll(`\r
1733
+ <span id="__v_o__balloon_text">Errors</span>`:`<span id="__v_o__balloon_count" class="inline-flex items-center justify-center min-w-5 h-5 px-1.5 rounded-full bg-white/20 text-white font-bold">0</span>
1734
+ <span id="__v_o__balloon_text">Errors</span>`;return`<div id="__v_o__balloon_group" class="fixed z-2147483647 inline-flex items-center px-2.5 py-1.5 rounded-full bg-(--ono-v-red-orange) text-white font-sans text-xs leading-none shadow-lg cursor-pointer transition-all duration-200 hover:brightness-105" data-balloon-position="${e}" style="${r} ${o}">
1735
+ <button type="button" id="__v_o__balloon" title="Toggle error overlay" aria-label="Toggle error overlay" class="w-full flex items-center gap-2">
1736
+ ${i}
1737
+ </button>
1738
+ <button type="button" id="__v_o__balloon_close" title="Dismiss balloon" aria-label="Dismiss balloon" class="ml-2 inline-flex items-center justify-center w-4 h-4 rounded-full hover:bg-white/20 transition-colors border">
1739
+ <span class="dui" style="-webkit-mask-image: url('${Ke}'); mask-image: url('${Ke}')"></span>
1740
+ </button>
1741
+ </div>`},"generateBalloonButton"),xi=se(t=>t?typeof t=="string"?t:Zr(t):"","customCSSToString"),_i=se((t,e,r)=>{const o=vi(),n=xi(r),i=n?`<style>${n}</style>`:"";return`<style>${hi}</style>
1742
+ ${i}
1743
+ ${wi("__v_o__root",o)}
1744
+
1745
+ ${t?ki(e):""}`},"generateOverlayTemplate"),$i=se((t,e,r,o)=>{const n=_i(e,r,o),i=`const overlayTemplate = ${JSON.stringify(n)};`;let s=t.replace(gi,`${i}
1746
+ ${dr}
1747
+ class ViteErrorOverlay`);return s=s.replace(mi,`${i}
1748
+ ${dr}
1749
+ var ViteErrorOverlay = `),s=`${s}
1750
+
1751
+ ${fi};`,s},"patchOverlay");var Ei=Object.defineProperty,A=S((t,e)=>Ei(t,"name",{value:e,configurable:!0}),"n$2");const Si=4,gr=1e3,Ci=5,Li=.5,Ti=[".js",".ts",".jsx",".tsx",".mjs",".cjs"],Pi=[".css",".scss",".sass",".less"],Ur=[".svg",".png",".jpg",".jpeg",".gif",".webp",".ico"],Mi=new Set([...Ur,...Ti,...Pi]),j=A((t,...e)=>{const r=t.toLowerCase();return e.some(o=>r.includes(o.toLowerCase()))},"has"),Fi=A((t,e)=>{const r=K.relative(t,e);return r.startsWith(".")?r:`./${r}`},"getRelativePath"),Ri=A(t=>t===0?"":t===1?" (in parent directory)":t===2?" (in grandparent directory)":` (${t} directories away)`,"getPathContext"),zi=A((t,e)=>{try{const r=K.relative(t,e).split(K.sep).filter(n=>n&&n!==".");let o=0;for(const n of r)o+=n===".."?2:1;return o}catch{return 10}},"calculatePathDistance"),Di=A((t,e,r,o)=>{if(e&&o===e){const i=Ye(t,r);return i<=Math.max(3,Math.floor(t.length*Li))?10-i:0}if(!e){const i=Ye(t,r);return i===0?9:i<=Math.max(2,Math.floor(t.length*.3))&&Mi.has(o)?7-i:0}const n=Ye(t,r);return n<=Math.max(2,Math.floor(t.length*.4))?5-n:0},"calculateRelevanceScore"),Hi=A((t,e,r)=>{const o=[],n=A((i,s=0)=>{if(!(s>Si||o.length>gr))try{const a=yo.readdirSync(i,{withFileTypes:!0});for(const l of a){if(o.length>gr)break;const d=K.join(i,l.name);if(l.isDirectory()&&!l.name.startsWith(".")&&l.name!=="node_modules")n(d,s+1);else if(l.isFile()){const p=K.extname(l.name),m=K.basename(l.name,p),v=Di(e,r,m,p);v>0&&o.push({baseName:m,extension:p,fullPath:d,path:d,relevanceScore:v})}}}catch{}},"walk");return n(t),o},"collectFileCandidates"),mr=A((t,e,r)=>{const o=K.basename(t),n=K.extname(o),i=K.basename(o,n),s=K.dirname(e),a=Hi(r,i,n).map(v=>{const y=Ye(i,v.baseName),b=zi(s,K.dirname(v.fullPath)),g=v.relevanceScore*.7+b*.2+y*.1;return{...v,nameDistance:y,pathDistance:b,score:g}});a.sort((v,y)=>v.score-y.score);const l=[],d=a.slice(0,8);let p=!1;for(const v of d){const y=Fi(s,v.fullPath);if(!l.includes(y)){const b=Ri(v.pathDistance);l.push(y+b);const g=v.fullPath.replaceAll("\\","/").split("/"),k=g.indexOf("public");k!==-1&&k<g.length-1&&(p=!0)}}let m=`<ul>${[...new Set(l)].slice(0,Ci).map(v=>`<li>\`${v}\`</li>`).join(`
1752
+ `)}</ul>`;if(p){const v=o;[...Ur].some(y=>v.includes(y))&&(m+=`Files in the \`public\` folder should be accessed via absolute URLs like \`/${v}\`.`)}return m},"findSimilarFiles"),Ai=[{solution:{body:"Browser APIs like `window` and `document` are not available during server-side rendering. Use dynamic imports or check for SSR environment before using browser APIs.",header:"SSR Browser API Error"},test:A(t=>j(t,"window is not defined","document is not defined"),"test")},{solution:{body:"Some plugins need specific ordering. Use `enforce: 'pre'` for plugins that need to run first, or `enforce: 'post'` for plugins that need to run last.",header:"Plugin Ordering Issue"},test:A(t=>j(t,"Plugin ordering","enforce"),"test")},{solution:{body:"CSS Modules require proper configuration. Make sure your CSS files use the `.module.css` extension and are imported correctly.",header:"CSS Modules Configuration"},test:A(t=>j(t,"CSS Modules","module.css"),"test")},{solution:{body:["Only variables prefixed with `VITE_` are exposed on `import.meta.env` to the client at build time.","Server-only variables should not be prefixed with `VITE_`.","- Do not use `process.env` in browser code; prefer `import.meta.env.*`","- Custom vars must be prefixed with `VITE_` to be exposed to client",'- For TS, add `/// <reference types="vite/client" />` for type-safe access'].join(`
1753
+ `),header:"Environment Variables"},test:A(t=>j(t,"VITE_","process.env"),"test")},{solution:{body:"For static assets, use the `new URL('./path/to/asset', import.meta.url)` syntax or import them and use the returned URL.",header:"Asset Import Issue"},test:A(t=>j(t,"Failed to load")&&j(t,".png",".jpg",".svg"),"test")},{solution:{body:"Some issues only occur in production builds. Check if the error happens in development mode. You might need different configurations for build vs dev.",header:"Build vs Development Mode"},test:A(t=>j(t,"production","build"),"test")},{solution:{body:"HMR issues can occur with certain patterns. Make sure you're not mutating module-level variables and consider using `import.meta.hot` guards.",header:"Hot Module Replacement Issue"},test:A(t=>j(t,"HMR","hot reload"),"test")},{solution:{body:"Check your `tsconfig.json` and make sure it includes proper paths and compiler options. For Vite, you might need a `vite-env.d.ts` file.",header:"TypeScript Configuration"},test:A((t,e)=>j(t,"TypeScript")||e&&e.endsWith(".ts"),"test")},{solution:{body:"Some dependencies need to be excluded from pre-bundling. Add them to `optimizeDeps.exclude` in your Vite config.",header:"Dependency Optimization"},test:A(t=>j(t,"optimizeDeps","pre-bundling"),"test")},{solution:{body:"Configure path aliases in your Vite config using the `resolve.alias` option to match your TypeScript path mappings.",header:"Path Resolution"},test:A(t=>j(t,"resolve.alias","Cannot find module"),"test")},{solution:{body:"Server middleware and proxy settings should be configured in the `server` section of your Vite config.",header:"Server Configuration"},test:A(t=>j(t,"middleware","proxy"),"test")},{solution:{body:"Check your plugin configuration in `vite.config.js/ts`. Make sure all required options are provided and options are correctly typed.",header:"Plugin Configuration"},test:A(t=>j(t,"plugin","configuration"),"test")},{solution:{body:"Configure your build output directory using `build.outDir` in your Vite config. Make sure the directory is writable.",header:"Build Output Configuration"},test:A(t=>j(t,"build.outDir","dist"),"test")},{solution:{body:["Client and server rendered markup differ.","","Checklist:","- A server/client branch `if (typeof window !== 'undefined')`.","- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.","- Date formatting in a user's locale which doesn't match the server.","- External changing data without sending a snapshot of it along with the HTML.","- Invalid HTML tag nesting.","","It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.","","https://react.dev/link/hydration-mismatch"].join(`
1754
+ `)},test:A(t=>j(t,"hydration failed","did not match","expected server html","text content does not match"),"test")}],Ii=A(t=>({async handle(e,r){const{file:o,language:n}=r,i=e.message??"";if(j(i,"Failed to resolve import","Cannot resolve module")){const s=i.match(/Failed to resolve import ["']([^"']+)["']/),a=i.match(/Cannot resolve module ["']([^"']+)["']/),l=s?.[1]||a?.[1];if(l&&o){const d=mr(l,o,t);if(d)return{body:`The import path \`${l}\` could not be resolved.<br/><br/>Did you mean one of these files?<br/>${d}`};if([".jsx",".tsx"].includes(n)||j(i,"react"))return{body:"Install and configure the React plugin. Add `@vitejs/plugin-react` to your dependencies and include it in your Vite config.",header:"Missing React Plugin"};if(n==="vue")return{body:"Install and configure the Vue plugin. Add `@vitejs/plugin-vue` to your dependencies and include it in your Vite config.",header:"Missing Vue Plugin"}}}if(j(i,"Cannot resolve")&&(n==="typescript"||n==="javascript")){const s=i.match(/Cannot resolve ["'](\.\.?\/[^"']*)["']/);if(s){const a=s[1];if(a&&o){const l=mr(a,o,t);if(l)return{body:`Cannot resolve \`${a}\`. Did you mean one of these files?${l}`,header:"File Not Found"}}}return{body:"In Vite, you may need to include file extensions in imports, especially for TypeScript files. Try adding `.js` extension to your imports.",header:"Missing File Extension"}}for(const s of Ai)if(s.test(i,o))return s.solution},name:"vite-solution-finder",priority:20}),"createViteSolutionFinder");var Bi=Object.defineProperty,Se=S((t,e)=>Bi(t,"name",{value:e,configurable:!0}),"r$2");let He,Ae;const ji=Se(async(t=[])=>{try{const[e,r]=await Promise.all([import("shiki/core"),import("shiki/engine/javascript")]),{createHighlighterCore:o}=e,{createJavaScriptRegexEngine:n}=r,i=await o({themes:[import("@shikijs/themes/github-dark-default"),import("@shikijs/themes/github-light")],langs:[import("@shikijs/langs/javascript"),import("@shikijs/langs/typescript"),import("@shikijs/langs/jsx"),import("@shikijs/langs/tsx"),import("@shikijs/langs/json"),import("@shikijs/langs/jsonc"),import("@shikijs/langs/xml"),import("@shikijs/langs/sql"),import("@shikijs/langs/bash"),import("@shikijs/langs/shell"),import("@shikijs/langs/markdown"),import("@shikijs/langs/mdx"),import("@shikijs/langs/html"),import("@shikijs/langs/css"),import("@shikijs/langs/scss"),import("@shikijs/langs/less"),import("@shikijs/langs/sass"),import("@shikijs/langs/stylus"),import("@shikijs/langs/styl"),...t],engine:n()}),s=i;return Ae=Se(()=>{try{i?.dispose?.()}catch{}He=void 0},"disposeFn"),s}catch{const{createHighlighter:e}=await import("shiki"),r=await e({langs:["javascript","typescript","jsx","tsx","json","jsonc","xml","sql","bash","shell","markdown","mdx"],themes:["github-dark-default","github-light"]});return Ae=Se(()=>{try{r?.dispose?.()}catch{}He=void 0},"disposeFn"),r}},"createSingletonHighlighter"),Nr=Se(async(t=[])=>(He||(He=ji(t)),He),"getHighlighter");Se(async()=>{try{Ae&&(Ae(),Ae=void 0)}catch{}},"disposeHighlighter");const fr=Se((t=[])=>({name:"@shikijs/transformers:compact-line-options",line(e,r){const o=t.find(n=>n.line===r);return o?.classes&&this.addClassToHast(e,o.classes),e}}),"transformerCompactLineOptions");var Oi=Object.defineProperty,Wr=S((t,e)=>Oi(t,"name",{value:e,configurable:!0}),"s$4");const qi=Wr(t=>!Array.isArray(t)||t.length===0?!1:t.some(e=>e&&typeof e=="object"&&(e.location||e.pluginName||e.text)),"isESBuildErrorArray"),Vi=Wr(t=>t.map((e,r)=>{const{location:o,pluginName:n,text:i}=e,s={message:i||`ESBuild error #${r+1}`};return o&&(s.file=o.file,s.line=o.line,s.column=o.column),n&&(s.plugin=n),s.name=e.name||"Error",s.stack=e.stack||"",s}),"processESBuildErrors");var Zi=Object.defineProperty,Gr=S((t,e)=>Zi(t,"name",{value:e,configurable:!0}),"c$5");const Ui=Gr((t,e)=>{for(const[r,o]of t.moduleGraph.idToModuleMap){if(!o)continue;const n=o,i=[String(n.file||"").replaceAll("\\","/"),String(r||"").replaceAll("\\","/"),String(n.url||"").replaceAll("\\","/")];for(const s of e)if(i.some(a=>a===s||a.includes(s)||s.includes(a)))return o}},"findBestModuleMatch"),Ie=Gr((t,e)=>{const r=[...e,...e.map(i=>i.replace(/^\/@fs\//,"")),...e.map(i=>i.replace(/^[./]*/,""))];let o,n=0;for(const i of r)try{const s=t.moduleGraph.getModuleById(i);if(s){const l=Object.keys(s).length>0,d=!!s.transformResult;let p=0;if(l&&d?p=2:l&&(p=1),l&&(p>n&&(o=s,n=p),d))return s}const a=t.moduleGraph.getModuleByUrl?.(i);if(a){const l=Object.keys(a).length>0,d=!!a.transformResult;let p=0;if(l&&d?p=2:l&&(p=1),l&&(p>n&&(o=a,n=p),d))return a}}catch{}return o||Ui(t,e)||void 0},"findModuleForPath");var Ni=Object.defineProperty,Dt=S((t,e)=>Ni(t,"name",{value:e,configurable:!0}),"r$1");const Wi=/^https?:\/\//,Gi=Dt(t=>{const e=new URL(t),{pathname:r}=e,o=e.search||"",n=[r+o,r,r.replace(/^\/@fs\//,""),decodeURIComponent(r+o),decodeURIComponent(r)];return[...new Set(n)].filter(Boolean)},"generateUrlCandidates"),Yr=Dt(t=>Wi.test(t),"isHttpUrl"),fe=Dt(t=>{if(!t)return[];try{if(Yr(t))return Gi(t);const e=[t];if(t.startsWith("/")&&e.push(t.slice(1)),t.includes("?")){const r=t.split("?")[0];r&&e.push(r)}return[...new Set(e)].filter(Boolean)}catch(e){return console.warn(`Failed to normalize path "${t}":`,e),[]}},"normalizeIdCandidates");var Yi=Object.defineProperty,he=S((t,e)=>Yi(t,"name",{value:e,configurable:!0}),"o$4");const Xi=he((t,e)=>t.split(/\n/g)[e-1]??"","getLine"),vr=he(t=>t.replaceAll(/\s+/g,""),"removeWhitespace"),Qi=he((t,e)=>{if(e<=0||e>t.length)return"";const r=Math.max(0,e-1),o=t.slice(r,r+64),n=/[A-Z_$][\w$]{2,}/i.exec(o);if(n?.[0])return n[0];let i=o.trim();return i.length<4&&(i=t.slice(Math.max(0,r-16),r+16).trim()),i},"extractCandidateToken"),Ji=he((t,e)=>{if(!t||t.length<3)return null;for(const[r,o]of e.entries()){if(!o)continue;const n=o.indexOf(t);if(n!==-1)return{column:n+1,line:r+1}}return null},"tryTokenBasedSearch"),Ki=he((t,e)=>{if(!t)return null;for(const[r,o]of e.entries()){if(!o)continue;const n=o.indexOf(t);if(n!==-1)return{column:n+1,line:r+1}}return null},"tryLineSubstringSearch"),es=he((t,e)=>{if(!t)return null;const r=vr(t);if(!r)return null;for(const[o,n]of e.entries()){if(!n)continue;const i=vr(n).indexOf(r);if(i!==-1){const s=ts(n,i);if(s!==-1)return{column:s,line:o+1}}}return null},"tryWhitespaceInsensitiveSearch"),ts=he((t,e)=>{let r=0;for(const[o,n]of[...t].entries())if(typeof n=="string"){if(r===e)return o+1;/\s/.test(n)||r++}return-1},"mapNormalizedToOriginalPosition"),rs=he((t,e,r,o)=>{const n=Xi(t,e);if(!n)return null;const i=o.split(/\n/g),s=Qi(n,r);return Ji(s,i)||Ki(n.trim(),i)||es(n.trim(),i)},"realignOriginalPosition");var ns=Object.defineProperty,J=S((t,e)=>ns(t,"name",{value:e,configurable:!0}),"u$1");const os=/`((?:[^`$]|\$\{[^}]+\})*)`/g,wr=/\$\{[^}]+\}/g,is=/[.*+?^${}()|[\]\\]/g,Xr=[/new Error\(/,/throw new Error\(/,/new Error`/,/throw new Error`/,/new [A-Z]\w*\(/,/throw new [A-Z]\w*\(/,/new [A-Z]\w*`/,/throw new [A-Z]\w*`/],ve=J(t=>t.replaceAll(is,String.raw`\$&`),"escapeRegex"),ss=J(t=>{const e=ve(t);return[t,`new Error("${e}")`,`new Error('${e}')`,`new Error(\`${ve(t)}\`)`,`throw new Error("${e}")`,`throw new Error('${e}')`,`throw new Error(\`${ve(t)}\`)`,`Error("${e}")`,`Error('${e}')`]},"createErrorPatterns"),br=J((t,e)=>{const r=[...t.matchAll(os)];for(const o of r){const n=o[1];if(!n)continue;const i=n.split(wr);if(i.every(a=>a===""||e.includes(a))&&i.length>1)return!0;if(!n)continue;const s=n.replaceAll(wr,"(.+?)");try{if(new RegExp(`^${ve(s)}$`).test(e))return!0}catch{}}return!1},"checkTemplateLiteralMatch"),as=[/Failed to resolve import ["']([^"']+)["'](?:\s+from ["']([^"']+)["'])?/,/(.+?)\s+from line \d+/,/(.+?)\s+is not defined/,/(.+?)\s+is not a function/,/Cannot read properties of (.+?)\s+\(reading (.+?)\)/],ls=J(t=>{for(const e of as){const r=t.match(e);if(r)return r}return null},"findDynamicErrorMatch"),yr=J(t=>{let e=null,r=null;for(const o of Xr){const n=t.match(o);n&&(!e||o.source.includes("throw")&&!r?.source.includes("throw"))&&(e=n,r=o)}return{bestMatch:e,bestPattern:r}},"findBestErrorConstructor"),kr=J((t,e)=>{let r=t.index;if(e.source.includes("throw new")&&t[0].startsWith("throw new")){const o=t[0].indexOf("new");o!==-1&&(r+=o)}return r+1},"calculateActualColumn"),cs=J((t,e,r=0)=>{if(!t||!e)return null;const o=t.split(`
1755
+ `),n=ls(e),i=ss(e),s=J((m,v,y)=>{let b=0;for(const[g,k]of m.entries()){if(!k)continue;const P=k.includes(v)||br(k,v),M=Xr.some(C=>C.test(k));if(P&&M){const{bestMatch:C,bestPattern:z}=yr(k);if(C&&z&&(b++,b>y))return{column:kr(C,z),line:g+1}}}return null},"processErrorConstructorLines")(o,e,r);if(s)return s;n&&J((m,v,y)=>{if(m[0].includes("Failed to resolve import")){const b=m[1];if(!b)return;const g=ve(b);y.unshift(`import.*from ["']${g}["']`,`import.*["']${g}["']`,b)}else if(m[0].includes("is not defined")){const b=m[1];if(!b)return;y.unshift(b,`{${b}}`,`src={${b}}`,`${b}.`,`=${b}`)}else if(m[0].includes("Cannot read properties")){const b=m[1],g=m[2];if(!g)return;y.unshift(g,`${b}.${g}`,`${b}?.${g}`,`${b}[${g}]`)}else{const b=m[1];if(!b)return;const g=ve(v),k=ve(b);y.unshift(`new Error(\`${k}`,`throw new Error(\`${k}`,`new Error("${k}`,`new Error('${k}`,`throw new Error("${k}`,`throw new Error('${k}`,`new Error("${g}")`,`new Error('${g}')`,`throw new Error("${g}")`,`throw new Error('${g}')`,`new Error(\`${g}\`)`,`throw new Error(\`${g}\`)`)}},"addDynamicPatterns")(n,e,i);const a=J((m,v,y)=>{let b=0;for(const[g,k]of m.entries()){if(!k||!br(k,v))continue;const{bestMatch:P,bestPattern:M}=yr(k);if(P&&M&&(b++,b>y))return{column:kr(P,M),line:g+1}}return null},"processTemplateLiteralLines"),l=J((m,v,y,b)=>{let g=0;for(const[k,P]of m.entries()){if(!P)continue;let M=-1,C=null;for(const z of v){const I=P.indexOf(z);I!==-1&&(M===-1||I<M)&&(M=I,C=z)}if(M!==-1&&C&&(g++,g>b))return{column:d(M,C,P,y),line:k+1}}return null},"processPatternLines"),d=J((m,v,y,b)=>{if(!b)return m+1;if(b[0].includes("Failed to resolve import")){const g=b[1];if(y.includes(`"${g}"`)||y.includes(`'${g}'`)){const k=y.includes(`"${g}"`)?'"':"'";return y.indexOf(`${k}${g}${k}`)+1}}else if(b[0].includes("is not defined")){const g=b[1];if(g&&v===g)return m+1;if(g&&v.includes(g))return m+v.indexOf(g)+1}else if(b[0].includes("Cannot read properties")){const g=b[2];if(g&&v.includes(g))return m+v.indexOf(g)+1}else if(v.includes("new Error("))return y.indexOf("new Error(")+1;return m+1},"calculatePatternColumn");return a(o,e,r)||l(o,i,n,r)},"findErrorInSourceCode");var ds=Object.defineProperty,Oe=S((t,e)=>ds(t,"name",{value:e,configurable:!0}),"m$3");const ps=1,xr=Oe((t,e)=>{let r=t,o=e;return t>=20?r=Math.max(1,Math.round(t*.5)):t>15?r=Math.max(1,Math.round(t*.6)):t>10?r=Math.max(1,t-8):r=Math.max(1,t-3),e>=10||e>7?o=Math.max(0,e-1):e>5&&(o=Math.max(0,e)),{estimatedColumn:o,estimatedLine:r}},"estimateOriginalPosition"),hs=Oe((t,e,r)=>{try{const o=new ko(t),n=[{column:r,desc:"original",line:e},{column:Math.max(0,r-ps),desc:"offset",line:e},{column:r,desc:"line above",line:e-1},{column:r,desc:"line below",line:e+1},...Array.from({length:5},(i,s)=>({column:Math.max(0,r-2+s),desc:`col ${r-2+s}`,line:e}))];for(const i of n){const s=xo(o,{column:i.column,line:i.line});if(s.source&&s.line!==void 0&&s.column!==void 0&&s.line>0&&s.column>=0)return{column:s.column,line:s.line,source:s.source}}}catch(o){console.warn("Source map processing failed:",o)}return null},"resolveSourceMapPosition"),us=Oe((t,e)=>e?Yr(t)?gs(t,e):e:t,"resolveSourcePath"),gs=Oe((t,e)=>{try{const r=new URL(t),o=(r.pathname||"").replace(/^\//,""),n=o.includes("/")?o.slice(0,Math.max(0,o.lastIndexOf("/"))):"";return`${r.origin}/${n?`${n}/`:""}${e}`}catch(r){return console.warn("URL parsing failed for source path resolution:",r),t}},"resolveHttpSourcePath"),_t=Oe(async(t,e,r,o,n,i,s=0)=>{if(i&&e)try{let l=null;if(e.transformResult?.map?.sourcesContent?.[0]?l=e.transformResult.map.sourcesContent[0]:e.transformResult?.code&&(l=e.transformResult.code),!l&&(e.id||e.url)){const d=e.id||e.url;if(d)try{const p=await t.transformRequest(d);p?.map&&"sourcesContent"in p.map&&p.map.sourcesContent?.[0]?l=p.map.sourcesContent[0]:p?.code&&(l=p.code)}catch(p){console.warn("Failed to get fresh source for error search:",p)}}if(!l&&r)try{const d=await import("node:fs/promises");let p=r;if(r.includes("://"))try{p=new URL(r).pathname}catch{const m=r.indexOf("://");m!==-1&&(p=r.slice(m+3))}p.startsWith("/")||(p=`${t.config.root||process.cwd()}/${p}`),l=await d.readFile(p,"utf8")}catch(d){console.warn("Failed to read source file from disk:",d)}if(l){const d=cs(l,i,s);if(d)return{originalFileColumn:d.column,originalFileLine:d.line,originalFilePath:r}}}catch(l){console.warn("Source code search failed:",l)}let a=e?.transformResult?.map;if(!a&&(e?.id||e?.url)){const l=e.id||e.url;if(l)try{const d=await t.transformRequest(l);d?.map&&(a=d.map)}catch(d){console.warn("Failed to get fresh source map:",d)}}if(!a){const{estimatedColumn:l,estimatedLine:d}=xr(o,n);return{originalFileColumn:l,originalFileLine:d,originalFilePath:r}}try{const l=hs(a,o,n);if(!l){const{estimatedColumn:p,estimatedLine:m}=xr(o,n);return{originalFileColumn:p,originalFileLine:m,originalFilePath:r}}const d=us(r,l.source);return{originalFileColumn:l.column,originalFileLine:l.line,originalFilePath:d}}catch(l){return console.warn("Source map resolution failed:",l),{originalFileColumn:n,originalFileLine:o,originalFilePath:r}}},"resolveOriginalLocation");var ms=Object.defineProperty,x=S((t,e)=>ms(t,"name",{value:e,configurable:!0}),"s$3");let _r=x(()=>{var t=(()=>{var e=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,i=x((c,h)=>{for(var u in h)e(c,u,{get:h[u],enumerable:!0})},"ne"),s=x((c,h,u,w)=>{if(h&&typeof h=="object"||typeof h=="function")for(let f of o(h))!n.call(c,f)&&f!==u&&e(c,f,{get:x(()=>h[f],"get"),enumerable:!(w=r(h,f))||w.enumerable});return c},"ae"),a=x(c=>s(e({},"__esModule",{value:!0}),c),"oe"),l={};i(l,{zeptomatch:x(()=>Xt,"zeptomatch")});var d=x(c=>{const h=new Set,u=[c];for(let w=0;w<u.length;w++){const f=u[w];if(h.has(f))continue;h.add(f);const{children:_}=f;if(_?.length)for(let E=0,F=_.length;E<F;E++)u.push(_[E])}return Array.from(h)},"M"),p=x(c=>{let h="";const u=d(c);for(let w=0,f=u.length;w<f;w++){const _=u[w];if(!_.regex)continue;const E=_.regex.flags;if(h||(h=E),h!==E)throw new Error(`Inconsistent RegExp flags used: "${h}" and "${E}"`)}return h},"se"),m=x((c,h,u)=>{const w=u.get(c);if(w!==void 0)return w;const f=c.partial??h;let _="";if(c.regex&&(_+=f?"(?:$|":"",_+=c.regex.source),c.children?.length){const E=y(c.children.map(F=>m(F,h,u)).filter(Boolean));if(E?.length){const F=c.children.some(Pe=>!Pe.regex||!(Pe.partial??h)),V=E.length>1||f&&(!_.length||F);_+=V?f?"(?:$|":"(?:":"",_+=E.join("|"),_+=V?")":""}}return c.regex&&(_+=f?")":""),u.set(c,_),_},"O"),v=x((c,h)=>{const u=new Map,w=d(c);for(let f=w.length-1;f>=0;f--){const _=m(w[f],h,u);if(!(f>0))return _}return""},"ie"),y=x(c=>Array.from(new Set(c)),"ue"),b=x((c,h,u)=>b.compile(c,u).test(h),"R");b.compile=(c,h)=>{const u=h?.partial??!1,w=v(c,u),f=p(c);return new RegExp(`^(?:${w})$`,f)};var g=b,k=x((c,h)=>{const u=g.compile(c,h),w=`${u.source.slice(0,-1)}[\\\\/]?$`,f=u.flags;return new RegExp(w,f)},"le"),P=k,M=x(c=>{const h=c.map(w=>w.source).join("|")||"$^",u=c[0]?.flags;return new RegExp(h,u)},"ve"),C=M,z=x(c=>Array.isArray(c),"j"),I=x(c=>typeof c=="function","_"),U=x(c=>c.length===0,"he"),te=(()=>{const{toString:c}=Function.prototype,h=/(?:^\(\s*(?:[^,.()]|\.(?!\.\.))*\s*\)\s*=>|^\s*[a-zA-Z$_][a-zA-Z0-9$_]*\s*=>)/;return u=>(u.length===0||u.length===1)&&h.test(c.call(u))})(),Y=x(c=>typeof c=="number","de"),N=x(c=>typeof c=="object"&&c!==null,"xe"),lt=x(c=>c instanceof RegExp,"me"),ct=(()=>{const c=/\\\(|\((?!\?(?::|=|!|<=|<!))/;return h=>c.test(h.source)})(),ue=(()=>{const c=/^[a-zA-Z0-9_-]+$/;return h=>c.test(h.source)&&!h.flags.includes("i")})(),Ve=x(c=>typeof c=="string","A"),T=x(c=>c===void 0,"f"),H=x(c=>{const h=new Map;return u=>{const w=h.get(u);if(w!==void 0)return w;const f=c(u);return h.set(u,f),f}},"ye"),O=x((c,h,u={})=>{const w={cache:{},input:c,index:0,indexBacktrackMax:0,options:u,output:[]},f=de(h)(w),_=Math.max(w.index,w.indexBacktrackMax);if(f&&w.index===c.length)return w.output;throw new Error(`Failed to parse at index ${_}`)},"I"),$=x((c,h)=>z(c)?ke(c,h):Ve(c)?Ne(c,h):le(c,h),"i"),ke=x((c,h)=>{const u={};for(const w of c){if(w.length!==1)throw new Error(`Invalid character: "${w}"`);const f=w.charCodeAt(0);u[f]=!0}return w=>{const f=w.input;let _=w.index,E=_;for(;E<f.length&&f.charCodeAt(E)in u;)E+=1;if(E>_){if(!T(h)&&!w.options.silent){const F=f.slice(_,E),V=I(h)?h(F,f,`${_}`):h;T(V)||w.output.push(V)}w.index=E}return!0}},"we"),le=x((c,h)=>{if(ue(c))return Ne(c.source,h);{const u=c.source,w=c.flags.replace(/y|$/,"y"),f=new RegExp(u,w);return ct(c)&&I(h)&&!te(h)?Ze(f,h):Ue(f,h)}},"$e"),Ze=x((c,h)=>u=>{const w=u.index,f=u.input;c.lastIndex=w;const _=c.exec(f);if(_){const E=c.lastIndex;if(!u.options.silent){const F=h(..._,f,`${w}`);T(F)||u.output.push(F)}return u.index=E,!0}else return!1},"Ee"),Ue=x((c,h)=>u=>{const w=u.index,f=u.input;if(c.lastIndex=w,c.test(f)){const _=c.lastIndex;if(!T(h)&&!u.options.silent){const E=I(h)?h(f.slice(w,_),f,`${w}`):h;T(E)||u.output.push(E)}return u.index=_,!0}else return!1},"Ce"),Ne=x((c,h)=>u=>{const w=u.index,f=u.input;if(f.startsWith(c,w)){if(!T(h)&&!u.options.silent){const _=I(h)?h(c,f,`${w}`):h;T(_)||u.output.push(_)}return u.index+=c.length,!0}else return!1},"F"),ce=x((c,h,u,w)=>{const f=de(c),_=h>1;return pt(dt(It(E=>{let F=0;for(;F<u;){const V=E.index;if(!f(E)||(F+=1,E.index===V))break}return F>=h},_),w))},"k"),q=x((c,h)=>ce(c,0,1,h),"L"),G=x((c,h)=>ce(c,0,1/0,h),"$"),ge=x((c,h)=>ce(c,1,1/0,h),"Re"),X=x((c,h)=>{const u=c.map(de);return pt(dt(It(w=>{for(let f=0,_=u.length;f<_;f++)if(!u[f](w))return!1;return!0}),h))},"x"),Q=x((c,h)=>{const u=c.map(de);return pt(dt(w=>{for(let f=0,_=u.length;f<_;f++)if(u[f](w))return!0;return!1},h))},"p"),It=x((c,h=!0,u=!1)=>{const w=de(c);return h?f=>{const _=f.index,E=f.output.length,F=w(f);return!F&&!u&&(f.indexBacktrackMax=Math.max(f.indexBacktrackMax,f.index)),(!F||u)&&(f.index=_,f.output.length!==E&&(f.output.length=E)),F}:w},"q"),dt=x((c,h)=>{const u=de(c);return h?w=>{if(w.options.silent)return u(w);const f=w.output.length;if(u(w)){const _=w.output.splice(f,1/0),E=h(_);return T(E)||w.output.push(E),!0}else return!1}:u},"B"),pt=(()=>{let c=0;return h=>{const u=de(h),w=c+=1;return f=>{var _;if(f.options.memoization===!1)return u(f);const E=f.index,F=(_=f.cache)[w]||(_[w]={indexMax:-1,queue:[]}),V=F.queue;if(E<=F.indexMax){const Me=F.store||(F.store=new Map);if(V.length){for(let _e=0,ao=V.length;_e<ao;_e+=2){const lo=V[_e*2],co=V[_e*2+1];Me.set(lo,co)}V.length=0}const re=Me.get(E);if(re===!1)return!1;if(Y(re))return f.index=re,!0;if(re)return f.index=re.index,re.output?.length&&f.output.push(...re.output),!0}const Pe=f.output.length,so=u(f);if(F.indexMax=Math.max(F.indexMax,E),so){const Me=f.index,re=f.output.length;if(re>Pe){const _e=f.output.slice(Pe,re);V.push(E,{index:Me,output:_e})}else V.push(E,Me);return!0}else return V.push(E,!1),!1}}})(),Bt=x(c=>{let h;return u=>(h||(h=de(c())),h(u))},"G"),de=H(c=>{if(I(c))return U(c)?Bt(c):c;if(Ve(c)||lt(c))return $(c);if(z(c))return X(c);if(N(c))return Q(Object.values(c));throw new Error("Invalid rule")}),me=x(c=>c,"d"),nn=x(c=>typeof c=="string","ke"),on=x(c=>{const h=new WeakMap,u=new WeakMap;return(w,f)=>{const _=f?.partial?u:h,E=_.get(w);if(E!==void 0)return E;const F=c(w,f);return _.set(w,F),F}},"Be"),sn=x(c=>{const h={},u={};return(w,f)=>{const _=f?.partial?u:h;return _[w]??(_[w]=c(w,f))}},"Pe"),an=$(/\\./,me),ln=$(/./,me),cn=$(/\*\*\*+/,"*"),dn=$(/([^/{[(!])\*\*/,(c,h)=>`${h}*`),pn=$(/(^|.)\*\*(?=[^*/)\]}])/,(c,h)=>`${h}*`),hn=G(Q([an,cn,dn,pn,ln])),un=hn,gn=x(c=>O(c,un,{memoization:!1}).join(""),"Ie"),mn=gn,jt="abcdefghijklmnopqrstuvwxyz",fn=x(c=>{let h="";for(;c>0;){const u=(c-1)%26;h=jt[u]+h,c=Math.floor((c-1)/26)}return h},"Le"),Ot=x(c=>{let h=0;for(let u=0,w=c.length;u<w;u++)h=h*26+jt.indexOf(c[u])+1;return h},"V"),ht=x((c,h)=>{if(h<c)return ht(h,c);const u=[];for(;c<=h;)u.push(c++);return u},"b"),vn=x((c,h,u)=>ht(c,h).map(w=>String(w).padStart(u,"0")),"qe"),qt=x((c,h)=>ht(Ot(c),Ot(h)).map(fn),"W"),B=x(c=>({partial:!1,regex:new RegExp(c,"s"),children:[]}),"c"),Te=x(c=>({children:c}),"y"),xe=(()=>{const c=x((h,u,w)=>{if(w.has(h))return;w.add(h);const{children:f}=h;if(!f.length)f.push(u);else for(let _=0,E=f.length;_<E;_++)c(f[_],u,w)},"e");return h=>{if(!h.length)return Te([]);for(let u=h.length-1;u>=1;u--){const w=new Set,f=h[u-1],_=h[u];c(f,_,w)}return h[0]}})(),pe=x(()=>({regex:new RegExp("[\\\\/]","s"),children:[]}),"g"),wn=$(/\\./,B),bn=$(/[$.*+?^(){}[\]\|]/,c=>B(`\\${c}`)),yn=$(/[\\\/]/,pe),kn=$(/[^$.*+?^(){}[\]\|\\\/]+/,B),xn=$(/^(?:!!)*!(.*)$/,(c,h)=>B(`(?!^${Xt.compile(h).source}$).*?`)),_n=$(/^(!!)+/),$n=Q([xn,_n]),En=$(/\/(\*\*\/)+/,()=>Te([xe([pe(),B(".+?"),pe()]),pe()])),Sn=$(/^(\*\*\/)+/,()=>Te([B("^"),xe([B(".*?"),pe()])])),Cn=$(/\/(\*\*)$/,()=>Te([xe([pe(),B(".*?")]),B("$")])),Ln=$(/\*\*/,()=>B(".*?")),Vt=Q([En,Sn,Cn,Ln]),Tn=$(/\*\/(?!\*\*\/|\*$)/,()=>xe([B("[^\\\\/]*?"),pe()])),Pn=$(/\*/,()=>B("[^\\\\/]*")),Zt=Q([Tn,Pn]),Ut=$("?",()=>B("[^\\\\/]")),Mn=$("[",me),Fn=$("]",me),Rn=$(/[!^]/,"^\\\\/"),zn=$(/[a-z]-[a-z]|[0-9]-[0-9]/i,me),Dn=$(/\\./,me),Hn=$(/[$.*+?^(){}[\|]/,c=>`\\${c}`),An=$(/[\\\/]/,"\\\\/"),In=$(/[^$.*+?^(){}[\]\|\\\/]+/,me),Bn=Q([Dn,Hn,An,zn,In]),Nt=X([Mn,q(Rn),G(Bn),Fn],c=>B(c.join(""))),jn=$("{","(?:"),On=$("}",")"),qn=$(/(\d+)\.\.(\d+)/,(c,h,u)=>vn(+h,+u,Math.min(h.length,u.length)).join("|")),Vn=$(/([a-z]+)\.\.([a-z]+)/,(c,h,u)=>qt(h,u).join("|")),Zn=$(/([A-Z]+)\.\.([A-Z]+)/,(c,h,u)=>qt(h.toLowerCase(),u.toLowerCase()).join("|").toUpperCase()),Un=Q([qn,Vn,Zn]),Wt=X([jn,Un,On],c=>B(c.join(""))),Nn=$("{"),Wn=$("}"),Gn=$(","),Yn=$(/\\./,B),Xn=$(/[$.*+?^(){[\]\|]/,c=>B(`\\${c}`)),Qn=$(/[\\\/]/,pe),Jn=$(/[^$.*+?^(){}[\]\|\\\/,]+/,B),Kn=Bt(()=>Yt),eo=$("",()=>B("(?:)")),to=ge(Q([Vt,Zt,Ut,Nt,Wt,Kn,Yn,Xn,Qn,Jn]),xe),Gt=Q([to,eo]),Yt=X([Nn,q(X([Gt,G(X([Gn,Gt]))])),Wn],Te),ro=G(Q([$n,Vt,Zt,Ut,Nt,Wt,Yt,wn,bn,yn,kn]),xe),no=ro,oo=x(c=>O(c,no,{memoization:!1})[0],"kr"),io=oo,ut=x((c,h,u)=>ut.compile(c,u).test(h),"N");ut.compile=(()=>{const c=sn((u,w)=>P(io(mn(u)),w)),h=on((u,w)=>C(u.map(f=>c(f,w))));return(u,w)=>nn(u)?c(u,w):h(u,w)})();var Xt=ut;return a(l)})();return t.default||t},"_lazyMatch"),gt;const fs=x((t,e)=>(gt||(gt=_r(),_r=null),gt(t,e)),"zeptomatch"),vs=/^[A-Z]:\//i,ye=x((t="")=>t&&t.replaceAll("\\","/").replace(vs,e=>e.toUpperCase()),"normalizeWindowsPath"),ws=/^[/\\]{2}/,bs=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Z]:[/\\]/i,Qr=/^[A-Z]:$/i,$r=/^\/([A-Z]:)?$/i,ys=/.(\.[^./]+)$/,ks=/^[/\\]|^[a-z]:[/\\]/i,xs=x(()=>typeof process.cwd=="function"?process.cwd().replaceAll("\\","/"):"/","cwd"),Jr=x((t,e)=>{let r="",o=0,n=-1,i=0,s;for(let a=0;a<=t.length;++a){if(a<t.length)s=t[a];else{if(s==="/")break;s="/"}if(s==="/"){if(!(n===a-1||i===1))if(i===2){if(r.length<2||o!==2||!r.endsWith(".")||r.at(-2)!=="."){if(r.length>2){const l=r.lastIndexOf("/");l===-1?(r="",o=0):(r=r.slice(0,l),o=r.length-1-r.lastIndexOf("/")),n=a,i=0;continue}else if(r.length>0){r="",o=0,n=a,i=0;continue}}e&&(r+=r.length>0?"/..":"..",o=2)}else r.length>0?r+=`/${t.slice(n+1,a)}`:r=t.slice(n+1,a),o=a-n-1;n=a,i=0}else s==="."&&i!==-1?++i:i=-1}return r},"normalizeString"),Be=x(t=>bs.test(t),"isAbsolute"),et=x(function(t){if(t.length===0)return".";t=ye(t);const e=ws.exec(t),r=Be(t),o=t.at(-1)==="/";return t=Jr(t,!r),t.length===0?r?"/":o?"./":".":(o&&(t+="/"),Qr.test(t)&&(t+="/"),e?r?`//${t}`:`//./${t}`:r&&!Be(t)?`/${t}`:t)},"normalize");x((...t)=>{let e="";for(const r of t)if(r)if(e.length>0){const o=e[e.length-1]==="/",n=r[0]==="/";o&&n?e+=r.slice(1):e+=o||n?r:`/${r}`}else e+=r;return et(e)},"join");const tt=x(function(...t){t=t.map(o=>ye(o));let e="",r=!1;for(let o=t.length-1;o>=-1&&!r;o--){const n=o>=0?t[o]:xs();!n||n.length===0||(e=`${n}/${e}`,r=Be(n))}return e=Jr(e,!r),r&&!Be(e)?`/${e}`:e.length>0?e:"."},"resolve");x(function(t){return ye(t)},"toNamespacedPath");const _s=x(function(t){return ys.exec(ye(t))?.[1]??""},"extname");x(function(t,e){const r=tt(t).replace($r,"$1").split("/"),o=tt(e).replace($r,"$1").split("/");if(o[0][1]===":"&&r[0][1]===":"&&r[0]!==o[0])return o.join("/");const n=[...r];for(const i of n){if(o[0]!==i)break;r.shift(),o.shift()}return[...r.map(()=>".."),...o].join("/")},"relative");const $s=x(t=>{const e=ye(t).replace(/\/$/,"").split("/").slice(0,-1);return e.length===1&&Qr.test(e[0])&&(e[0]+="/"),e.join("/")||(Be(t)?"/":".")},"dirname");x(function(t){const e=[t.root,t.dir,t.base??t.name+t.ext].filter(Boolean);return ye(t.root?tt(...e):e.join("/"))},"format");const Es=x((t,e)=>{const r=ye(t).split("/").pop();return e&&r.endsWith(e)?r.slice(0,-e.length):r},"basename");x(function(t){const e=ks.exec(t)?.[0]?.replaceAll("\\","/")??"",r=Es(t),o=_s(r);return{base:r,dir:$s(t),ext:o,name:r.slice(0,r.length-o.length),root:e}},"parse");x((t,e)=>fs(e,et(t)),"matchesGlob");var Ss=Object.defineProperty,ee=S((t,e)=>Ss(t,"name",{value:e,configurable:!0}),"e$1");const $t="/",Er=":",Cs="at ",Ls=/https?:\/\/[^\s)]+/g,Ts=/file:\/\//g,Kr=/\/@fs\//g,Ps=new Set([".cjs",".js",".jsx",".mjs",".svelte",".ts",".tsx",".vue"]),Ms=new Set(["<anonymous>","<unknown>","native"]),Fs=ee(t=>{const e=t.trim();return!e.startsWith(Cs)||!([...Ps].some(r=>e.includes(r))||[...Ms].some(r=>e.includes(r)))?!1:/\([^)]*:\d+:\d+\)/.test(e)||/\([^)]*:\d+\)/.test(e)||/[^(\s][^:]*:\d+:\d+/.test(e)||/[^(\s][^:]*:\d+/.test(e)||e.includes("native")||e.includes("<unknown>")},"isValidStackFrame"),Rs=ee(t=>(t=t.replaceAll(Kr,$t),t=t.replaceAll(Ts,""),t.includes("<unknown>")?t.trim()||"":t.trim()&&!Fs(t)?"":t),"cleanStackLine"),zs=ee((t,e)=>{try{const{baseUrl:r,col:o,line:n}=Ds(t),i=Hs(r,e);return As(i,n,o)}catch(r){return console.warn("Failed to absolutize URL:",t,r),t}},"absolutizeUrl"),Ds=ee(t=>{const e=t.match(/:(\d+)(?::(\d+))?$/),r=e?.[1],o=e?.[2];return{baseUrl:e?t.slice(0,-e[0].length):t,col:o,line:r}},"parseUrlWithLocation"),Hs=ee((t,e)=>{const r=new URL(t);let o=decodeURIComponent(r.pathname||"");return o=o.replaceAll(Kr,$t),tt(e,o.startsWith($t)?o.slice(1):o)},"urlToAbsolutePath"),As=ee((t,e,r)=>{if(!e)return t;const o=r?`${Er}${r}`:"";return`${t}${Er}${e}${o}`},"formatAbsolutePath"),Ht=ee(t=>t&&t.replaceAll(`\r
1713
1756
  `,`
1714
1757
  `).replaceAll("\r",`
1715
- `).split(/\n/).map(Fa).filter(e=>e.trim()!=="").join(`
1716
- `),"cleanErrorStack"),Da=re(t=>{const e=typeof t=="string"?t:t.message||String(t);return ho(e)},"cleanErrorMessage"),Ba=re(t=>t instanceof AggregateError||t&&typeof t=="object"&&"errors"in t&&Array.isArray(t.errors),"isAggregateError"),ja=re(t=>Ba(t)?t.errors:[t],"extractErrors"),at=re((t,e)=>t&&String(t).replaceAll(La,r=>za(r,e)),"absolutizeStackUrls");var Oa=Object.defineProperty,qa=S((t,e)=>Oa(t,"name",{value:e,configurable:!0}),"a$4");const Va=qa(t=>{if(!t.includes("[vue/compiler-sfc]"))return;let e="",r=0,n=0;const o=/\((\d+):(\d+)\)/,i=t.match(o);i&&i[1]&&i[2]&&(r=Number.parseInt(i[1],10),n=Number.parseInt(i[2],10));const a=/(\S+\.vue)/,l=t.match(a);l&&l[1]&&(e=l[1]||"");const s=t.split(`
1717
- `)[0]||t;if(e&&r>0&&n>0)return{column:n,line:r,message:s,originalFilePath:e}},"parseVueCompilationError");var Za=Object.defineProperty,Jr=S((t,e)=>Za(t,"name",{value:e,configurable:!0}),"a$3");const Ua=Jr(t=>{const e=/<style\b[^>]*>[\s\S]*?<\/style>/gi,r=/<script\b[^>]*>[\s\S]*?<\/script>/gi,n=/<template\b[^>]*>[\s\S]*?<\/template>/gi,o=/style="([^"]*)"/g;let i=t.replaceAll(e,"").replaceAll(r,"").replaceAll(n,"").replaceAll("<!--$?-->","").replaceAll("<!--/$-->","");return i=i.replaceAll(o,(a,l)=>`style="${(l.trim().endsWith(";")?l:`${l};`).replaceAll(" ","")}"`),i},"removeStyleAndDataAttributes"),Na="https://react.dev/link/hydration-mismatch",Wa=Jr(t=>{const[e,r]=t.message.split(Na);if(e){const[i]=e?.split(`
1718
-
1719
- `);t.message=i.replace(" This can happen if a SSR-ed Client Component used:","")}const n=[];for(const i of Ua(r?.trim()||"").split(`
1720
- `)||[])i.startsWith("+ ")?n.push(`[!code ++] ${i.slice(1)}`):i.startsWith("- ")?n.push(`[!code --] ${i.slice(1)}`):i.includes(" ...")||n.push(i);let o=n.findIndex(i=>i.startsWith("[!code ++]"));if(o===-1&&(o=n.findIndex(i=>i.startsWith("[!code --]"))),o!==-1)return n.slice(Math.max(0,o-5)).join(`
1721
- `)},"processHydrationDiff");var Ga=Object.defineProperty,Ya=S((t,e)=>Ga(t,"name",{value:e,configurable:!0}),"m$1");const Xa=Ya(async(t,e,r)=>{let n=e;if(e.includes("at ")&&!e.includes(`
1722
- at `)&&(n=e.replace(/^(Error:.*?)at /,`$1
1758
+ `).split(/\n/).map(Rs).filter(e=>e.trim()!=="").join(`
1759
+ `),"cleanErrorStack"),Is=ee(t=>{const e=typeof t=="string"?t:t.message||String(t);return go(e)},"cleanErrorMessage"),Bs=ee(t=>t instanceof AggregateError||t&&typeof t=="object"&&"errors"in t&&Array.isArray(t.errors),"isAggregateError"),js=ee(t=>Bs(t)?t.errors:[t],"extractErrors"),at=ee((t,e)=>t&&String(t).replaceAll(Ls,r=>zs(r,e)),"absolutizeStackUrls");var Os=Object.defineProperty,qs=S((t,e)=>Os(t,"name",{value:e,configurable:!0}),"a$3");const Vs=qs(t=>{if(!t.includes("[vue/compiler-sfc]"))return;let e="",r=0,o=0;const n=/\((\d+):(\d+)\)/,i=t.match(n);i&&i[1]&&i[2]&&(r=Number.parseInt(i[1],10),o=Number.parseInt(i[2],10));const s=/(\S+\.vue)/,a=t.match(s);a&&a[1]&&(e=a[1]||"");const l=t.split(`
1760
+ `)[0]||t;if(e&&r>0&&o>0)return{column:o,line:r,message:l,originalFilePath:e}},"parseVueCompilationError");var Zs=Object.defineProperty,en=S((t,e)=>Zs(t,"name",{value:e,configurable:!0}),"a$2");const Us=en(t=>{const e=/<style\b[^>]*>[\s\S]*?<\/style>/gi,r=/<script\b[^>]*>[\s\S]*?<\/script>/gi,o=/<template\b[^>]*>[\s\S]*?<\/template>/gi,n=/style="([^"]*)"/g;let i=t.replaceAll(e,"").replaceAll(r,"").replaceAll(o,"").replaceAll("<!--$?-->","").replaceAll("<!--/$-->","");return i=i.replaceAll(n,(s,a)=>`style="${(a.trim().endsWith(";")?a:`${a};`).replaceAll(" ","")}"`),i},"removeStyleAndDataAttributes"),Ns="https://react.dev/link/hydration-mismatch",Ws=en(t=>{const[e,r]=t.message.split(Ns);if(e){const[i]=e?.split(`
1761
+
1762
+ `);t.message=i.replace(" This can happen if a SSR-ed Client Component used:","")}const o=[];for(const i of Us(r?.trim()||"").split(`
1763
+ `)||[])i.startsWith("+ ")?o.push(`[!code ++] ${i.slice(1)}`):i.startsWith("- ")?o.push(`[!code --] ${i.slice(1)}`):i.includes(" ...")||o.push(i);let n=o.findIndex(i=>i.startsWith("[!code ++]"));if(n===-1&&(n=o.findIndex(i=>i.startsWith("[!code --]"))),n!==-1)return o.slice(Math.max(0,n-5)).join(`
1764
+ `)},"processHydrationDiff");var Gs=Object.defineProperty,Ys=S((t,e)=>Gs(t,"name",{value:e,configurable:!0}),"m$1");const Xs=Ys(async(t,e,r)=>{let o=e;if(e.includes("at ")&&!e.includes(`
1765
+ at `)&&(o=e.replace(/^(Error:.*?)at /,`$1
1723
1766
  at `).replaceAll(/at ([^<\s]+)\s*(<[^>]+>:\d+:\d+)/g,`
1724
1767
  at $1 $2`).replaceAll(/at ([^<\s]+)\s*(<unknown>:\d+:\d+)/g,`
1725
1768
  at $1 $2`).replaceAll(/at ([^<\s]+)\s*<([^>]+)>:\d+:\d+/g,`
1726
- at $1 <$2>:d+:d+`),n=n.replaceAll(/at ([^<\s]+)(?=\s*at|$)/g,`
1727
- at $1 <unknown>:0:0`)),!n.includes("<unknown>")&&!n.includes("react-dom")&&!n.includes("react"))return n;const o=Ee({stack:n}),i=await Promise.all(o.map(async a=>{const{file:l}=a,s=a.line??0,p=a.column??0;if(l&&l!=="<unknown>"&&s>0&&p>0&&!l.includes("react-dom")&&!l.includes("react"))return a;if(!l||s<=0||p<=0){if((l==="<unknown>"||l&&(l.includes("react-dom")||l.includes("react")))&&a.methodName){const{methodName:d}=a,g={batchedUpdates:"Batch Updates",dispatchEvent:"Event System",executeDispatch:"Event Dispatcher",processDispatchQueue:"Event Queue",runWithFiber:"Fiber Reconciliation"};for(const[f,y]of Object.entries(g))if(d.includes(f))return{...a,column:0,file:`[React] ${y}`,line:0};if(!d.includes("$")&&!d.includes("anonymous")){const f=fe(d),y=De(t,f);if(y){const b=await xt(t,y,"",1,1);if(b.originalFilePath)return{...a,column:b.originalFileColumn||1,file:b.originalFilePath,line:b.originalFileLine||1}}}}return a}try{const d=fe(l),g=De(t,d);if(!g)return a;const f=await xt(t,g,l,s,p);return{...a,column:f.originalFileColumn,file:f.originalFilePath,line:f.originalFileLine}}catch{return a}}));return Cr(i,{header:r})},"remapStackToOriginal");var Qa=Object.defineProperty,qe=S((t,e)=>Qa(t,"name",{value:e,configurable:!0}),"t");const Ja=qe(t=>!!(t&&Array.isArray(t.sources)&&Array.isArray(t.sourcesContent)),"isValidSourceMap"),gt=qe(t=>typeof t=="string"?t:void 0,"getSourceContent"),Ka=qe((t,e)=>t===e||t.endsWith(e)||e.endsWith(t),"isPartialMatch"),es=qe((t,e)=>{if(!t||t.length===0)return-1;const r=t.indexOf(e);if(r!==-1)return r;if(!(e.includes("\\")||e.includes("/")))return-1;const n=Je(e),o=t.indexOf(n);if(o!==-1)return o;for(const[i,a]of t.entries()){if(!a||typeof a!="string")continue;const l=Je(a);if(Ka(l,n))return i}return-1},"findSourceIndex"),Er=qe((t,e)=>{if(!Ja(t))return;if(!e&&t.sourcesContent?.[0])return gt(t.sourcesContent[0]);const r=es(t.sources,e||"");return r>=0&&t.sourcesContent?.[r]?gt(t.sourcesContent[r]):t.sourcesContent?.[0]?gt(t.sourcesContent[0]):void 0},"getSourceFromMap");var ts=Object.defineProperty,rs=S((t,e)=>ts(t,"name",{value:e,configurable:!0}),"f");const Sr=rs(async(t,e,r,n)=>{let o,i;if(e&&typeof e=="object"&&"transformResult"in e&&e.transformResult){const l=e.transformResult;l.code&&!i&&(i=l.code),l.map&&!o&&(o=Er(l.map,r))}const a=e&&typeof e=="object"&&("id"in e&&e.id||"url"in e&&e.url)?"id"in e&&e.id||"url"in e&&e.url:n[0];if(a&&(!o||!i))try{const l=await t.transformRequest(a);if(l?.code&&!i&&(i=l.code),l?.map&&!o){const{map:s}=l;typeof s=="object"&&s!==null&&"mappings"in s&&s.mappings!==""&&(o=Er(s,r))}}catch{}if(!o&&e&&typeof e=="object"&&"file"in e&&e.file)try{o=await Lr(e.file,"utf8")}catch{}return{compiledSourceText:i,originalSourceText:o}},"retrieveSourceTexts");var ns=Object.defineProperty,os=S((t,e)=>ns(t,"name",{value:e,configurable:!0}),"a$1");const is=os((t={})=>{const{classActivePre:e="has-diff",classLineAdd:r="diff add",classLineRemove:n="diff remove"}=t;return{code(o){this.addClassToHast(this.pre,e),o.children.filter(i=>i.type==="element").forEach(i=>{for(const a of i.children){if(a.type!=="element")continue;const l=a.children[0];l.type==="text"&&(l.value.startsWith("[!code ++]")&&(l.value=l.value.slice(10),this.addClassToHast(i,r)),l.value.startsWith("[!code --]")&&(l.value=l.value.slice(10),this.addClassToHast(i,n)))}})},name:"shiki-diff"}},"shikiDiffTransformer");var as=Object.defineProperty,ss=S((t,e)=>as(t,"name",{value:e,configurable:!0}),"r");const ls=ss((t,e)=>!e||t.includes("?")?t:t+e,"addQueryToUrl");var cs=Object.defineProperty,ds=S((t,e)=>cs(t,"name",{value:e,configurable:!0}),"e");const ps=ds(t=>{try{return new URL(t).search}catch{return""}},"extractQueryFromHttpUrl");var hs=Object.defineProperty,Le=S((t,e)=>hs(t,"name",{value:e,configurable:!0}),"E$1");const us=Le(t=>Array.isArray(t)&&Ai(t)?Ii(t).map(e=>({message:e.message||"ESBuild error",name:e.name||"Error",stack:e.stack||""})):ja(t),"extractIndividualErrors"),gs=Le(t=>{const e=Ee(t,{frameLimit:10}),r=e?.find(n=>n?.file?.startsWith("http"))||e?.[0];return{compiledColumn:r?.column??0,compiledFilePath:r?.file??"",compiledLine:r?.line??0}},"extractLocationFromStack"),ms=Le(async(t,e,r,n,o,i,a=0,l)=>{const s=o?.originalFilePath||e,p=o?.line??n,d=o?.column??r;if(s){let g=s,f=s;if(s.startsWith("http://")||s.startsWith("https://"))try{g=new URL(s).pathname,g.startsWith("/")&&(g=g.slice(1));const T=t.config.root||process.cwd();f=g.startsWith("/")?g:`${T}/${g}`}catch{console.warn("Failed to parse HTTP URL:",s)}const y=fe(g),b=De(t,y);if(b)try{const T=await xt(t,b,e||l||g,p,d,i,a),M=f||T.originalFilePath;return{originalFileColumn:T.originalFileColumn,originalFileLine:T.originalFileLine,originalFilePath:M}}catch{console.warn("⚠️ Source map resolution failed, using estimation")}let m,k=d;return p>=20?m=Math.max(1,Math.round(p*.5)):p>15?m=Math.max(1,Math.round(p*.6)):p>10?m=Math.max(1,p-8):m=Math.max(1,p-3),d>=10||d>7?k=Math.max(0,d-1):d>5&&(k=Math.max(0,d)),{originalFileColumn:k,originalFileLine:m,originalFilePath:f||s}}return{originalFileColumn:d,originalFileLine:p,originalFilePath:s}},"resolveOriginalLocationInfo"),fs=Le((t,e,r,n,o,i)=>({compiledCodeFrameContent:void 0,compiledColumn:t,compiledFilePath:e,compiledLine:r,fixPrompt:"",originalCodeFrameContent:void 0,originalFileColumn:n,originalFileLine:o,originalFilePath:i,originalSnippet:""}),"createEmptyResult"),vs=Le(async(t,e,r,n,o,i)=>{let a,l;const s=Ce(r)||"text",p=Ce(n)||s,d=[],g=new Set([p,s]);g.has("svelte")&&d.push(import("@shikijs/langs/svelte")),g.has("vue")&&d.push(import("@shikijs/langs/vue"));const f=await Zr(d),y={themes:{dark:"github-dark-default",light:"github-light"}};if(t&&t.trim())try{a=f.codeToHtml(t,{...y,lang:s,transformers:[mr([{classes:["error-line"],line:o}])]})}catch{}if(e&&e.trim())try{l=f.codeToHtml(e,{...y,lang:p,transformers:[mr([{classes:["error-line"],line:i}])]})}catch{}return{compiledCodeFrameContent:l,originalCodeFrameContent:a}},"generateSyntaxHighlightedFrames"),ws=Le(async(t,e,r=0,n,o,i)=>{const a=n==="vue"&&t?.message?Va(t.message):void 0,l=us(t),s=l[0]||t,p=n==="react"&&t.message&&(t.message.toLowerCase().includes("hydration")||t.message.toLowerCase().includes("hydrating"));let d="";if(i&&i.length>1)for(const P of i.slice(1)){const A=P.stack||"",q=Ee({stack:A},{frameLimit:10})?.find($=>$?.file?.startsWith("http"));if(q?.file&&(d=ps(q.file),d))break}const g=Da(s),f=At(s.stack||""),y=await Xa(e,f,{message:g,name:s.name});let b,m,k;if(o?.file&&o?.line&&o?.column)b=o.column,m=o.file,k=o.line;else{const P=gs(s);if(b=P.compiledColumn,m=P.compiledFilePath,k=P.compiledLine,m&&!m.startsWith("http")){const A=e.config.root;let q=m;m.startsWith(A)&&(q=m.slice(A.length)),q.startsWith("/")||(q=`/${q}`);const $=e.config.server.port||e.config.preview?.port||5173,ke=e.config.server.host||e.config.preview?.host||"localhost";let le=`${e.config.server.https?"https":"http"}://${ke}:${$}${q}`;d&&(le=ls(le,d)),m=le}}if(p){const P=Wa(t);if(P){const A=await Zr();return{errorCount:1,fixPrompt:Kt({applicationType:void 0,error:s,file:{file:m,language:"jsx",line:k,snippet:P}}),message:s.message,originalCodeFrameContent:A.codeToHtml(P,{lang:m?Ce(m):"text",themes:{dark:"github-dark-default",light:"github-light"},transformers:[is()]}),originalFileColumn:b,originalFileLine:k,originalFilePath:m,originalSnippet:P,originalStack:s.stack||""}}}let T=o?.file||m;if(!o?.file&&s.stack){const P=Ee(s,{frameLimit:10})?.find(A=>A?.file&&!A.file.startsWith("http")&&!A.file.includes("node_modules")&&!A.file.includes(".vite")&&A.file.includes(".tsx"));P?.file&&(T=P.file)}let{originalFileColumn:M,originalFileLine:C,originalFilePath:R}=await ms(e,T,b,k,a,s.message,r,m);const D=o?.plugin;let X="",O="",Q,N;try{const[P,A]=await Promise.all([De(e,fe(m)),De(e,fe(R))]);if(!P&&!A)return fs(b,m,k,M,C,R);const q=m.startsWith("http")?m.replace(/^https?:\/\/[^/]+/,"").replace(/^\//,""):m,$=R.startsWith("http")?R.replace(/^https?:\/\/[^/]+/,"").replace(/^\//,""):R,ke=P||A;if(ke?.transformResult?.code&&(N=ke.transformResult.code),A?.transformResult?.map&&!Q){const V=A.transformResult.map;try{const G=V.sourcesContent?.[0];G&&(Q=G)}catch(G){console.warn("Failed to get original source from source map:",G)}}const[le,Ze]=await Promise.all([!N&&P?Sr(e,P,q,fe(q)):Promise.resolve({compiledSourceText:void 0,originalSourceText:void 0}),!Q&&A?Sr(e,A,$,fe($)):Promise.resolve({compiledSourceText:void 0,originalSourceText:void 0})]);if(!N&&le.compiledSourceText&&({compiledSourceText:N}=le),!Q&&Ze.originalSourceText&&({originalSourceText:Q}=Ze),Q){if(N&&C<=0&&k>0){const V=Xi(N,k,b,Q);V&&(C=V.line,M=V.column)}try{X=Jt(Q,{start:{column:Math.max(1,M),line:Math.max(1,C)}},{showGutter:!1})}catch{X=Q?.slice(0,500)||""}}const Ue=N&&k>0,Ne=C>0&&M>0;let ce=!1;if(Ue&&k>0&&s.message&&N){const V=N.split(`
1728
- `)[k-1];if(V&&b<=V.length){const G=s.message,ge=Math.max(0,b-1),J=new Set(V.slice(Math.max(0,ge)));ce=J.has("new Error(")||J.has("throw new Error")||J.has("throw ")||J.has(G.slice(0,20)),!ce&&Ne&&(R.includes(".svelte")||R.includes(".vue")||R.includes(".astro")||m.includes(".js")||m.includes(".ts"))&&(ce=!0)}}if(Ue&&ce&&N){const V=N.split(`
1729
- `),G=V.length,ge=Math.min(k,G)||Math.max(1,G-2),J=V[ge-1]?Math.min(b||1,V[ge-1]?.length||1):1;try{O=Jt(N,{start:{column:J,line:ge}},{showGutter:!1})}catch(K){console.warn("Compiled codeFrame failed:",K),O=N?.slice(0,500)||""}}}catch(P){console.warn("Source retrieval failed:",P)}const{compiledCodeFrameContent:st,originalCodeFrameContent:lt}=await vs(X,O,R,m,C,k);let ue=X;if(!ue&&Q){const P=Q.split(`
1730
- `),A=Math.max(0,C-3),q=Math.min(P.length,C+2);ue=P.slice(A,q).join(`
1731
- `)}ue||(ue=O||`Error at line ${C} in ${R}`);const Ve=Kt({applicationType:void 0,error:t,file:{file:R,language:Ce(R),line:C,snippet:ue}});return{compiledCodeFrameContent:st,compiledColumn:b,compiledFilePath:m,compiledLine:k,compiledStack:Cr(Ee({message:g,name:s.name,stack:f}),{header:{message:g,name:s.name}}),errorCount:l.length,fixPrompt:Ve,originalCodeFrameContent:lt,originalFileColumn:M,originalFileLine:C,originalFilePath:R,originalSnippet:X,originalStack:y||f,plugin:D}},"buildExtendedErrorData");var bs=Object.defineProperty,ys=S((t,e)=>bs(t,"name",{value:e,configurable:!0}),"a");const ks=ys((t,e)=>{const r=e.map(n=>{const o=n.charAt(0).toUpperCase()+n.slice(1);return`
1732
- var orig${o} = console.${n};
1769
+ at $1 <$2>:d+:d+`),o=o.replaceAll(/at ([^<\s]+)(?=\s*at|$)/g,`
1770
+ at $1 <unknown>:0:0`)),!o.includes("<unknown>")&&!o.includes("react-dom")&&!o.includes("react"))return o;const n=Ee({stack:o}),i=await Promise.all(n.map(async s=>{const{file:a}=s,l=s.line??0,d=s.column??0;if(a&&a!=="<unknown>"&&l>0&&d>0&&!a.includes("react-dom")&&!a.includes("react"))return s;if(!a||l<=0||d<=0){if((a==="<unknown>"||a&&(a.includes("react-dom")||a.includes("react")))&&s.methodName){const{methodName:p}=s,m={batchedUpdates:"Batch Updates",dispatchEvent:"Event System",executeDispatch:"Event Dispatcher",processDispatchQueue:"Event Queue",runWithFiber:"Fiber Reconciliation"};for(const[v,y]of Object.entries(m))if(p.includes(v))return{...s,column:0,file:`[React] ${y}`,line:0};if(!p.includes("$")&&!p.includes("anonymous")){const v=fe(p),y=Ie(t,v);if(y){const b=await _t(t,y,"",1,1);if(b.originalFilePath)return{...s,column:b.originalFileColumn||1,file:b.originalFilePath,line:b.originalFileLine||1}}}}return s}try{const p=fe(a),m=Ie(t,p);if(!m)return s;const v=await _t(t,m,a,l,d);return{...s,column:v.originalFileColumn,file:v.originalFilePath,line:v.originalFileLine}}catch{return s}}));return Lr(i,{header:r})},"remapStackToOriginal");var Qs=Object.defineProperty,qe=S((t,e)=>Qs(t,"name",{value:e,configurable:!0}),"t");const Js=qe(t=>!!(t&&Array.isArray(t.sources)&&Array.isArray(t.sourcesContent)),"isValidSourceMap"),mt=qe(t=>typeof t=="string"?t:void 0,"getSourceContent"),Ks=qe((t,e)=>t===e||t.endsWith(e)||e.endsWith(t),"isPartialMatch"),ea=qe((t,e)=>{if(!t||t.length===0)return-1;const r=t.indexOf(e);if(r!==-1)return r;if(!(e.includes("\\")||e.includes("/")))return-1;const o=et(e),n=t.indexOf(o);if(n!==-1)return n;for(const[i,s]of t.entries()){if(!s||typeof s!="string")continue;const a=et(s);if(Ks(a,o))return i}return-1},"findSourceIndex"),Sr=qe((t,e)=>{if(!Js(t))return;if(!e&&t.sourcesContent?.[0])return mt(t.sourcesContent[0]);const r=ea(t.sources,e||"");return r>=0&&t.sourcesContent?.[r]?mt(t.sourcesContent[r]):t.sourcesContent?.[0]?mt(t.sourcesContent[0]):void 0},"getSourceFromMap");var ta=Object.defineProperty,ra=S((t,e)=>ta(t,"name",{value:e,configurable:!0}),"f");const Cr=ra(async(t,e,r,o)=>{let n,i;if(e&&typeof e=="object"&&"transformResult"in e&&e.transformResult){const a=e.transformResult;a.code&&!i&&(i=a.code),a.map&&!n&&(n=Sr(a.map,r))}const s=e&&typeof e=="object"&&("id"in e&&e.id||"url"in e&&e.url)?"id"in e&&e.id||"url"in e&&e.url:o[0];if(s&&(!n||!i))try{const a=await t.transformRequest(s);if(a?.code&&!i&&(i=a.code),a?.map&&!n){const{map:l}=a;typeof l=="object"&&l!==null&&"mappings"in l&&l.mappings!==""&&(n=Sr(l,r))}}catch{}if(!n&&e&&typeof e=="object"&&"file"in e&&e.file)try{n=await Tr(e.file,"utf8")}catch{}return{compiledSourceText:i,originalSourceText:n}},"retrieveSourceTexts");var na=Object.defineProperty,oa=S((t,e)=>na(t,"name",{value:e,configurable:!0}),"a");const ia=oa((t={})=>{const{classActivePre:e="has-diff",classLineAdd:r="diff add",classLineRemove:o="diff remove"}=t;return{code(n){this.addClassToHast(this.pre,e),n.children.filter(i=>i.type==="element").forEach(i=>{for(const s of i.children){if(s.type!=="element")continue;const a=s.children[0];a.type==="text"&&(a.value.startsWith("[!code ++]")&&(a.value=a.value.slice(10),this.addClassToHast(i,r)),a.value.startsWith("[!code --]")&&(a.value=a.value.slice(10),this.addClassToHast(i,o)))}})},name:"shiki-diff"}},"shikiDiffTransformer");var sa=Object.defineProperty,aa=S((t,e)=>sa(t,"name",{value:e,configurable:!0}),"r");const la=aa((t,e)=>!e||t.includes("?")?t:t+e,"addQueryToUrl");var ca=Object.defineProperty,da=S((t,e)=>ca(t,"name",{value:e,configurable:!0}),"e");const pa=da(t=>{try{return new URL(t).search}catch{return""}},"extractQueryFromHttpUrl");var ha=Object.defineProperty,Le=S((t,e)=>ha(t,"name",{value:e,configurable:!0}),"E$1");const ua=Le(t=>Array.isArray(t)&&qi(t)?Vi(t).map(e=>({message:e.message||"ESBuild error",name:e.name||"Error",stack:e.stack||""})):js(t),"extractIndividualErrors"),ga=Le(t=>{const e=Ee(t,{frameLimit:10}),r=e?.find(o=>o?.file?.startsWith("http"))||e?.[0];return{compiledColumn:r?.column??0,compiledFilePath:r?.file??"",compiledLine:r?.line??0}},"extractLocationFromStack"),ma=Le(async(t,e,r,o,n,i,s=0,a)=>{const l=n?.originalFilePath||e,d=n?.line??o,p=n?.column??r;if(l){let m=l,v=l;if(l.startsWith("http://")||l.startsWith("https://"))try{m=new URL(l).pathname,m.startsWith("/")&&(m=m.slice(1));const P=t.config.root||process.cwd();v=m.startsWith("/")?m:`${P}/${m}`}catch{console.warn("Failed to parse HTTP URL:",l)}const y=fe(m),b=Ie(t,y);if(b)try{const P=await _t(t,b,e||a||m,d,p,i,s),M=v||P.originalFilePath;return{originalFileColumn:P.originalFileColumn,originalFileLine:P.originalFileLine,originalFilePath:M}}catch{console.warn("⚠️ Source map resolution failed, using estimation")}let g,k=p;return d>=20?g=Math.max(1,Math.round(d*.5)):d>15?g=Math.max(1,Math.round(d*.6)):d>10?g=Math.max(1,d-8):g=Math.max(1,d-3),p>=10||p>7?k=Math.max(0,p-1):p>5&&(k=Math.max(0,p)),{originalFileColumn:k,originalFileLine:g,originalFilePath:v||l}}return{originalFileColumn:p,originalFileLine:d,originalFilePath:l}},"resolveOriginalLocationInfo"),fa=Le((t,e,r,o,n,i)=>({compiledCodeFrameContent:void 0,compiledColumn:t,compiledFilePath:e,compiledLine:r,fixPrompt:"",originalCodeFrameContent:void 0,originalFileColumn:o,originalFileLine:n,originalFilePath:i,originalSnippet:""}),"createEmptyResult"),va=Le(async(t,e,r,o,n,i)=>{let s,a;const l=Ce(r)||"text",d=Ce(o)||l,p=[],m=new Set([d,l]);m.has("svelte")&&p.push(import("@shikijs/langs/svelte")),m.has("vue")&&p.push(import("@shikijs/langs/vue"));const v=await Nr(p),y={themes:{dark:"github-dark-default",light:"github-light"}};if(t&&t.trim())try{s=v.codeToHtml(t,{...y,lang:l,transformers:[fr([{classes:["error-line"],line:n}])]})}catch{}if(e&&e.trim())try{a=v.codeToHtml(e,{...y,lang:d,transformers:[fr([{classes:["error-line"],line:i}])]})}catch{}return{compiledCodeFrameContent:a,originalCodeFrameContent:s}},"generateSyntaxHighlightedFrames"),wa=Le(async(t,e,r=0,o,n,i)=>{const s=o==="vue"&&t?.message?Vs(t.message):void 0,a=ua(t),l=a[0]||t,d=o==="react"&&t.message&&(t.message.toLowerCase().includes("hydration")||t.message.toLowerCase().includes("hydrating"));let p="";if(i&&i.length>1)for(const T of i.slice(1)){const H=T.stack||"",O=Ee({stack:H},{frameLimit:10})?.find($=>$?.file?.startsWith("http"));if(O?.file&&(p=pa(O.file),p))break}const m=Is(l),v=Ht(l.stack||""),y=await Xs(e,v,{message:m,name:l.name});let b,g,k;if(n?.file&&n?.line&&n?.column)b=n.column,g=n.file,k=n.line;else{const T=ga(l);if(b=T.compiledColumn,g=T.compiledFilePath,k=T.compiledLine,g&&!g.startsWith("http")){const H=e.config.root;let O=g;g.startsWith(H)&&(O=g.slice(H.length)),O.startsWith("/")||(O=`/${O}`);const $=e.config.server.port||e.config.preview?.port||5173,ke=e.config.server.host||e.config.preview?.host||"localhost";let le=`${e.config.server.https?"https":"http"}://${ke}:${$}${O}`;p&&(le=la(le,p)),g=le}}if(d){const T=Ws(t);if(T){const H=await Nr();return{errorCount:1,fixPrompt:Kt({applicationType:void 0,error:l,file:{file:g,language:"jsx",line:k,snippet:T}}),message:l.message,originalCodeFrameContent:H.codeToHtml(T,{lang:g?Ce(g):"text",themes:{dark:"github-dark-default",light:"github-light"},transformers:[ia()]}),originalFileColumn:b,originalFileLine:k,originalFilePath:g,originalSnippet:T,originalStack:l.stack||""}}}let P=n?.file||g;if(!n?.file&&l.stack){const T=Ee(l,{frameLimit:10})?.find(H=>H?.file&&!H.file.startsWith("http")&&!H.file.includes("node_modules")&&!H.file.includes(".vite")&&H.file.includes(".tsx"));T?.file&&(P=T.file)}let{originalFileColumn:M,originalFileLine:C,originalFilePath:z}=await ma(e,P,b,k,s,l.message,r,g);const I=n?.plugin;let U="",te="",Y,N;try{const[T,H]=await Promise.all([Ie(e,fe(g)),Ie(e,fe(z))]);if(!T&&!H)return fa(b,g,k,M,C,z);const O=g.startsWith("http")?g.replace(/^https?:\/\/[^/]+/,"").replace(/^\//,""):g,$=z.startsWith("http")?z.replace(/^https?:\/\/[^/]+/,"").replace(/^\//,""):z,ke=T||H;if(ke?.transformResult?.code&&(N=ke.transformResult.code),H?.transformResult?.map&&!Y){const q=H.transformResult.map;try{const G=q.sourcesContent?.[0];G&&(Y=G)}catch(G){console.warn("Failed to get original source from source map:",G)}}const[le,Ze]=await Promise.all([!N&&T?Cr(e,T,O,fe(O)):Promise.resolve({compiledSourceText:void 0,originalSourceText:void 0}),!Y&&H?Cr(e,H,$,fe($)):Promise.resolve({compiledSourceText:void 0,originalSourceText:void 0})]);if(!N&&le.compiledSourceText&&({compiledSourceText:N}=le),!Y&&Ze.originalSourceText&&({originalSourceText:Y}=Ze),Y){if(N&&C<=0&&k>0){const q=rs(N,k,b,Y);q&&(C=q.line,M=q.column)}try{U=Jt(Y,{start:{column:Math.max(1,M),line:Math.max(1,C)}},{showGutter:!1})}catch{U=Y?.slice(0,500)||""}}const Ue=N&&k>0,Ne=C>0&&M>0;let ce=!1;if(Ue&&k>0&&l.message&&N){const q=N.split(`
1771
+ `)[k-1];if(q&&b<=q.length){const G=l.message,ge=Math.max(0,b-1),X=new Set(q.slice(Math.max(0,ge)));ce=X.has("new Error(")||X.has("throw new Error")||X.has("throw ")||X.has(G.slice(0,20)),!ce&&Ne&&(z.includes(".svelte")||z.includes(".vue")||z.includes(".astro")||g.includes(".js")||g.includes(".ts"))&&(ce=!0)}}if(Ue&&ce&&N){const q=N.split(`
1772
+ `),G=q.length,ge=Math.min(k,G)||Math.max(1,G-2),X=q[ge-1]?Math.min(b||1,q[ge-1]?.length||1):1;try{te=Jt(N,{start:{column:X,line:ge}},{showGutter:!1})}catch(Q){console.warn("Compiled codeFrame failed:",Q),te=N?.slice(0,500)||""}}}catch(T){console.warn("Source retrieval failed:",T)}const{compiledCodeFrameContent:lt,originalCodeFrameContent:ct}=await va(U,te,z,g,C,k);let ue=U;if(!ue&&Y){const T=Y.split(`
1773
+ `),H=Math.max(0,C-3),O=Math.min(T.length,C+2);ue=T.slice(H,O).join(`
1774
+ `)}ue||(ue=te||`Error at line ${C} in ${z}`);const Ve=Kt({applicationType:void 0,error:t,file:{file:z,language:Ce(z),line:C,snippet:ue}});return{compiledCodeFrameContent:lt,compiledColumn:b,compiledFilePath:g,compiledLine:k,compiledStack:Lr(Ee({message:m,name:l.name,stack:v}),{header:{message:m,name:l.name}}),errorCount:a.length,fixPrompt:Ve,originalCodeFrameContent:ct,originalFileColumn:M,originalFileLine:C,originalFilePath:z,originalSnippet:U,originalStack:y||v,plugin:I}},"buildExtendedErrorData");var ba=Object.defineProperty,ya=S((t,e)=>ba(t,"name",{value:e,configurable:!0}),"o$1");const ka=ya((t,e,r)=>{const o=e.map(n=>{const i=n.charAt(0).toUpperCase()+n.slice(1);return`
1775
+ var orig${i} = console.${n};
1733
1776
 
1734
1777
  console.${n} = function(...args) {
1735
1778
  function parseConsoleArgs(args) {
@@ -1782,7 +1825,7 @@ console.${n} = function(...args) {
1782
1825
  }
1783
1826
  } catch {}
1784
1827
 
1785
- return orig${o}.apply(console, args);
1828
+ return orig${i}.apply(console, args);
1786
1829
  };`}).join(`
1787
1830
  `);return String.raw`
1788
1831
  import { createHotContext } from '/@vite/client';
@@ -1826,7 +1869,7 @@ async function sendError(error, loc) {
1826
1869
 
1827
1870
  var causeChain = extractCauseChain(error);
1828
1871
 
1829
- hot.send('${Or}', {
1872
+ hot.send('${qr}', {
1830
1873
  name: error?.name || null,
1831
1874
  message: error.message,
1832
1875
  stack: error.stack,
@@ -1870,13 +1913,36 @@ window.addEventListener("unhandledrejection", function (evt) {
1870
1913
  sendError(evt.reason);
1871
1914
  });
1872
1915
 
1873
- window.__flameSendError = sendError;
1874
-
1875
- ${r}
1876
- `},"generateClientScript");var xs=Object.defineProperty,se=S((t,e)=>xs(t,"name",{value:e,configurable:!0}),"o");const _s=/\.mdx$/i,$s=1,Es=/Failed to load url\s+(.*?)\s+\(resolved id:/i,Ss=/glob:\s*"(.+)"\s*\(/i,Cs=se(t=>t instanceof Error?t:new Error(String(t)),"createEnhancedError"),Ls=se((t,e)=>{try{t.ssrFixStacktrace(e)}catch(r){console.warn("[visulima:vite-overlay:server] SSR stack trace fix failed:",r)}},"safeSsrFixStacktrace"),Ts=se(t=>{try{const e=Ee(t,{frameLimit:$s})?.[0];return String(e?.file||t.loc?.file||t.id||"")}catch(e){console.warn("[visulima:vite-overlay:server] Stack trace parsing failed:",e);return}},"extractTopFileFromStack"),Ps=se(async t=>{try{return await Lr(t,"utf8")}catch(e){console.warn(`[visulima:vite-overlay:server] Failed to read file ${t}:`,e);return}},"safeReadFile"),Ms=se((t,e)=>{const r=t.id||t.loc?.file||e;r&&_s.test(String(r))&&/syntax error/i.test(t.message)&&(t.hint=t.hint||"MDX detected without an appropriate integration. Install and configure the MDX plugin for Vite/your framework.")},"enhanceMdxError"),Kr=se((t,e)=>{const r=t.split(`
1877
- `),n=r.findIndex(i=>i.includes(e));if(n===-1)return;const o=r[n]||"";return{column:Math.max(0,o.indexOf(e))+1,line:n+1}},"findImportLocation"),Rs=se(async(t,e,r)=>{const n=Es.exec(t.message)?.[1];if(n&&(t.title="Failed to Load Module (SSR)",t.name="FailedToLoadModuleSSR",t.message=`Failed to load module: ${n}`,t.hint="Verify import path, ensure a plugin handles this file type during SSR, and check for typos or missing files.",r&&e)){const o=Kr(r,n);o&&(t.loc={...o,file:e})}},"enhanceFailedLoadError"),Fs=se(async(t,e,r)=>{const n=Ss.exec(t.message)?.[1];if(n&&(t.name="InvalidGlob",t.title="Invalid Glob Pattern",t.message=`Invalid glob pattern: ${n}`,t.hint=t.hint||"Ensure your glob follows the expected syntax and matches existing files. Avoid unintended special characters.",r&&e)){const o=Kr(r,n);o&&(t.loc={...o,file:e})}},"enhanceGlobError"),zs=se(async(t,e)=>{const r=Cs(t);Ls(e,r);const n=Ts(r),o=n?await Ps(n):void 0;return await Rs(r,n,o),Ms(r,n),await Fs(r,n,o),r},"enhanceViteSsrError");var Hs=Object.defineProperty,U=S((t,e)=>Hs(t,"name",{value:e,configurable:!0}),"d");const et=U((t,e,r)=>{try{const n=r instanceof Error?r.message:String(r);t.config.logger.error(`${e}: ${n}`,{clear:!0,timestamp:!0})}catch{}},"logError"),As=U(t=>({error:U(e=>t.config.logger.error(String(e??""),{clear:!0,timestamp:!0}),"error"),log:U(e=>t.config.logger.info(String(e??"")),"log")}),"createDevelopmentLogger"),Is=U(()=>{const t=new Map;return{recentErrors:t,shouldSkip:U(e=>{const r=Date.now(),n=t.get(e)||0;return r-n<si?!0:(t.set(e,r),!1)},"shouldSkip")}},"createRecentErrorTracker"),en=U(t=>`${String(t?.message||"")}
1878
- ${String(t?.stack||"")}`,"createErrorSignature"),Ds=U((t,e,r)=>async n=>{const o=n instanceof Error?n:new Error(String(n?.stack||n));try{t.ssrFixStacktrace(o)}catch(i){et(t,"[visulima:vite-overlay:server] ssrFixStacktrace failed",i)}try{const i=await zs(o,t);Object.assign(o,i)}catch(i){et(t,"[visulima:vite-overlay:server] enhanceViteSsrError failed",i)}try{o.stack=at(At(String(o.stack||"")),e)}catch{}await r.error(go(o)),t.ws.send({err:o,type:"error"})},"createUnhandledRejectionHandler"),Bs=U(async(t,e,r)=>{let n;e.push(fo,Ri(r),vo);for await(const o of e.toSorted((i,a)=>a.priority-i.priority)){const{handle:i,name:a}=o;if(process.env.DEBUG&&console.debug(`Running solution finder: ${a}`),typeof i=="function")try{const l=await i({hint:t?.hint??"",message:t.message,name:t.name,stack:t?.stack},{file:t?.originalFilePath??"",language:Ce(t?.originalFilePath??""),line:t?.originalFileLine??0,snippet:t?.originalSnippet??""});if(l===void 0)continue;const s=await nr(l.header??"");n={body:await nr(l.body??""),header:s};break}catch{continue}}return n},"findSolution"),$t=U(async(t,e,r,n,o,i,a)=>{const l=mo(t);if(l.length===0)throw new Error("No errors found in the error stack");const s=await Promise.all(l.map(async(d,g)=>{let f=n;if(g>0){const m=(d?.stack?.split(`
1879
- `)||[]).find(k=>k.includes("at ")&&!k.includes("node_modules"));if(m){const k=m.match(/at\s+[^(\s]+\s*\(([^:)]+):(\d+):(\d+)\)/)||m.match(/at\s+([^:)]+):(\d+):(\d+)/);if(k){const[,T,M,C]=k;f={column:Number.parseInt(C||"0",10),file:T,line:Number.parseInt(M||"0",10),plugin:n?.plugin}}}}let y=f;g===0&&d?.sourceFile&&(y={...f,file:d.sourceFile});const b=await ws(d,e,g,a,y,l);return{hint:d?.hint,message:d?.message||"",name:d?.name||qr,stack:at(At(d?.stack||""),r),...b}})),p=await Bs(s[0],i,r);return{errors:s,errorType:o,rootPath:r,solution:p}},"buildExtendedError"),It=U(t=>{if(!t)return null;const e=new Error(String(t.message||"Caused by error"));return e.name=String(t.name||"Error"),e.stack=String(t.stack||""),t.cause&&(e.cause=It(t.cause)),e},"reconstructCauseChain"),js=U((t,e,r,n,o,i)=>{const a=t.ws.send.bind(t.ws);t.ws.send=async(l,s)=>{try{if(l&&typeof l=="object"&&l.type==="error"&&l.err){const{err:p}=l,d=en(p);if(e(d))return;if(p.message?.includes("Failed to resolve import")){const g=p.message.match(/Failed to resolve import ["']([^"']+)["'] from ["']([^"']+)["']/);if(g){const f=g[2],y=new Error(p.message);y.name="ImportResolutionError",y.stack=p.stack;const b=await $t(y,t,n,{column:p.loc?.column||1,file:f,line:p.loc?.line||1,plugin:p.plugin||"vite:import-analysis"},"server",o,i);l.err=b,r.set(JSON.stringify(b),Date.now())}}else{const g=String(p?.name||"Error"),f=String(p.message),y=String(p.stack),b=new Error(f);b.name=g,b.stack=`${g}: ${f}
1880
- ${at(y,n)}`,p.cause&&(b.cause=It(p.cause));const m=p.sourceFile?{column:p.column,file:p.sourceFile,line:p.line,plugin:p.plugin}:void 0,k=await $t(b,t,n,m,"server",o,i);l.err=k,r.set(JSON.stringify(k),Date.now())}}a(l,s)}catch(p){et(t,"[visulima:vite-overlay:server] ws.send intercept failed",p),s.send(l,s)}}},"setupWebSocketInterception"),Os=U((t,e,r,n,o,i,a,l)=>{t.ws.on(Or,async(s,p)=>{if(!a)return;const d=s&&typeof s=="object"?s:{message:ci,stack:""},g=en(d);if(r(g))return;const f=String(d?.name||"Error"),y=String(d.message),b=String(d.stack),m=new Error(y);m.name=f,m.stack=`${f}: ${y}
1881
- ${at(b,o)}`,d.cause&&(m.cause=It(d.cause));try{const k=await $t(m,t,o,{column:d?.column,file:d?.file,line:d?.line,plugin:d?.plugin},"client",i,l);n.set(JSON.stringify(k),Date.now());const T={err:{...k},type:"error"};k.solution&&(T.solutions=k.solution);const M=[...k.errors],C=M.shift();if(!C){await e.error("No error information available"),p.send(T);return}const R=[`${Qt("red","[client]")} ${C.name}: ${C.message}`,...C.originalFilePath.includes("-extension://")?[]:["",Qt("blue",`${C.originalFilePath}:${C.originalFileLine}:${C.originalFileColumn}`),"",await uo(C.originalSnippet,Ce(C.originalFilePath)||"text","nord"),"","Raw stack trace:","",C.originalStack]];M.forEach((D,X)=>{const O=" ".repeat(2*X);R.push("",`${O}Caused by: `,"",`${O}${D.name}: ${D.message}`,`${O}at ${D.originalFilePath}:${D.originalFileLine}:${D.originalFileColumn}`)}),await e.error(R.join(`
1882
- `)),p.send(T)}catch(k){et(t,"[visulima:vite-overlay:server] failed to build extended client error",k),p.send({err:{message:k.message,name:String(k.name||qr),stack:k.stack},type:"error"})}})},"setupHMRHandler"),qs=U((t,e)=>t.flat().some(r=>r&&(e&&r.name===e||r.name==="vite:react-swc"||r.name==="vite:react-refresh"||r.name==="vite:react-babel"||r.name==="@vitejs/plugin-react"||typeof r=="function"&&r.name?.includes("react")||r.constructor&&r.constructor.name?.includes("React"))),"hasReactPlugin"),Vs=U((t,e)=>t.flat().some(r=>r&&(e&&r.name===e||r.name==="vite:vue"||r.name==="@vitejs/plugin-vue"||typeof r=="function"&&r.name?.includes("vue")||r.constructor&&r.constructor.name?.includes("Vue"))),"hasVuePlugin"),ol=U((t={})=>{let e,r,n;const o=(t.logClientRuntimeError===void 0?t.forwardConsole:t.logClientRuntimeError)??!0,i=t.forwardedConsoleMethods??["error"];if(t.logClientRuntimeError!==void 0&&console.warn("[vite-overlay] The 'logClientRuntimeError' option is deprecated. Please use 'forwardConsole' instead."),i.length===0)throw new Error("forwardedConsoleMethods must be an array of console method names");return{apply:"serve",config(a,l){return a.plugins&&(r=qs(a.plugins,t?.reactPluginName),n=Vs(a.plugins,t?.vuePluginName)),e=l.mode||"development",a},configureServer(a){const l=a.config.root||process.cwd(),s=As(a),{recentErrors:p,shouldSkip:d}=Is(),g=a.transformRequest.bind(a);a.transformRequest=async(b,m)=>{try{return await g(b,m)}catch(k){if(k?.message?.includes("Failed to resolve import")){const T=k.message.match(/Failed to resolve import ["']([^"']+)["'] from ["']([^"']+)["']/);if(T){const[,M,C]=T;k.sourceFile=C,k.importPath=M}}throw k}};let f;r?f="react":n&&(f="vue"),js(a,d,p,l,t?.solutionFinders??[],f),Os(a,s,d,p,l,t?.solutionFinders??[],o,f);const y=Ds(a,l,s);process.on("unhandledRejection",y),a.httpServer?.on("close",()=>{process.off("unhandledRejection",y)})},enforce:"pre",name:li,transform(a,l,s){return s?.ssr||!(l.includes("vite/dist/client/client.mjs")||l.includes("/@vite/client"))?null:wi(a,t?.showBallonButton??!0)},transformIndexHtml(){return{html:"",tags:[{attrs:{type:"module"},children:ks(e,i),injectTo:"head",tag:"script"}]}}}},"errorOverlayPlugin");export{ol as default};
1916
+ // Expose overlay API for manual control
1917
+ window.__visulima_overlay__ = {
1918
+ open: function() {
1919
+ const overlay = globalThis.__v_o__current;
1920
+ if (overlay && overlay.__elements?.root) {
1921
+ overlay.__elements.root.classList.remove("hidden");
1922
+ if (typeof overlay._saveBalloonState === "function") {
1923
+ overlay._saveBalloonState("overlay", "open");
1924
+ }
1925
+ }
1926
+ },
1927
+ close: function() {
1928
+ const overlay = globalThis.__v_o__current;
1929
+ if (overlay && typeof overlay.close === "function") {
1930
+ overlay.close();
1931
+ }
1932
+ },
1933
+ // Get the current overlay instance if available
1934
+ getInstance: function() {
1935
+ return globalThis.__v_o__current || null;
1936
+ },
1937
+ // Send/report an error to the overlay
1938
+ sendError: sendError
1939
+ };
1940
+
1941
+ ${o}
1942
+ `},"generateClientScript");var xa=Object.defineProperty,ae=S((t,e)=>xa(t,"name",{value:e,configurable:!0}),"o");const _a=/\.mdx$/i,$a=1,Ea=/Failed to load url\s+(.*?)\s+\(resolved id:/i,Sa=/glob:\s*"(.+)"\s*\(/i,Ca=ae(t=>t instanceof Error?t:new Error(String(t)),"createEnhancedError"),La=ae((t,e)=>{try{t.ssrFixStacktrace(e)}catch(r){console.warn("[visulima:vite-overlay:server] SSR stack trace fix failed:",r)}},"safeSsrFixStacktrace"),Ta=ae(t=>{try{const e=Ee(t,{frameLimit:$a})?.[0];return String(e?.file||t.loc?.file||t.id||"")}catch(e){console.warn("[visulima:vite-overlay:server] Stack trace parsing failed:",e);return}},"extractTopFileFromStack"),Pa=ae(async t=>{try{return await Tr(t,"utf8")}catch(e){console.warn(`[visulima:vite-overlay:server] Failed to read file ${t}:`,e);return}},"safeReadFile"),Ma=ae((t,e)=>{const r=t.id||t.loc?.file||e;r&&_a.test(String(r))&&/syntax error/i.test(t.message)&&(t.hint=t.hint||"MDX detected without an appropriate integration. Install and configure the MDX plugin for Vite/your framework.")},"enhanceMdxError"),tn=ae((t,e)=>{const r=t.split(`
1943
+ `),o=r.findIndex(i=>i.includes(e));if(o===-1)return;const n=r[o]||"";return{column:Math.max(0,n.indexOf(e))+1,line:o+1}},"findImportLocation"),Fa=ae(async(t,e,r)=>{const o=Ea.exec(t.message)?.[1];if(o&&(t.title="Failed to Load Module (SSR)",t.name="FailedToLoadModuleSSR",t.message=`Failed to load module: ${o}`,t.hint="Verify import path, ensure a plugin handles this file type during SSR, and check for typos or missing files.",r&&e)){const n=tn(r,o);n&&(t.loc={...n,file:e})}},"enhanceFailedLoadError"),Ra=ae(async(t,e,r)=>{const o=Sa.exec(t.message)?.[1];if(o&&(t.name="InvalidGlob",t.title="Invalid Glob Pattern",t.message=`Invalid glob pattern: ${o}`,t.hint=t.hint||"Ensure your glob follows the expected syntax and matches existing files. Avoid unintended special characters.",r&&e)){const n=tn(r,o);n&&(t.loc={...n,file:e})}},"enhanceGlobError"),za=ae(async(t,e)=>{const r=Ca(t);La(e,r);const o=Ta(r),n=o?await Pa(o):void 0;return await Fa(r,o,n),Ma(r,o),await Ra(r,o,n),r},"enhanceViteSsrError");var Da=Object.defineProperty,Z=S((t,e)=>Da(t,"name",{value:e,configurable:!0}),"d");const rt=Z((t,e,r)=>{try{const o=r instanceof Error?r.message:String(r);t.config.logger.error(`${e}: ${o}`,{clear:!0,timestamp:!0})}catch{}},"logError"),Ha=Z(t=>({error:Z(e=>t.config.logger.error(String(e??""),{clear:!0,timestamp:!0}),"error"),log:Z(e=>t.config.logger.info(String(e??"")),"log")}),"createDevelopmentLogger"),Aa=Z(()=>{const t=new Map;return{recentErrors:t,shouldSkip:Z(e=>{const r=Date.now(),o=t.get(e)||0;return r-o<ci?!0:(t.set(e,r),!1)},"shouldSkip")}},"createRecentErrorTracker"),rn=Z(t=>`${String(t?.message||"")}
1944
+ ${String(t?.stack||"")}`,"createErrorSignature"),Ia=Z((t,e,r)=>async o=>{const n=o instanceof Error?o:new Error(String(o?.stack||o));try{t.ssrFixStacktrace(n)}catch(i){rt(t,"[visulima:vite-overlay:server] ssrFixStacktrace failed",i)}try{const i=await za(n,t);Object.assign(n,i)}catch(i){rt(t,"[visulima:vite-overlay:server] enhanceViteSsrError failed",i)}try{n.stack=at(Ht(String(n.stack||"")),e)}catch{}await r.error(fo(n)),t.ws.send({err:n,type:"error"})},"createUnhandledRejectionHandler"),Ba=Z(async(t,e,r)=>{let o;e.push(wo,Ii(r),bo);for await(const n of e.toSorted((i,s)=>s.priority-i.priority)){const{handle:i,name:s}=n;if(process.env.DEBUG&&console.debug(`Running solution finder: ${s}`),typeof i=="function")try{const a=await i({hint:t?.hint??"",message:t.message,name:t.name,stack:t?.stack},{file:t?.originalFilePath??"",language:Ce(t?.originalFilePath??""),line:t?.originalFileLine??0,snippet:t?.originalSnippet??""});if(a===void 0)continue;const l=await nr(a.header??"");o={body:await nr(a.body??""),header:l};break}catch{continue}}return o},"findSolution"),Et=Z(async(t,e,r,o,n,i,s)=>{const a=vo(t);if(a.length===0)throw new Error("No errors found in the error stack");const l=await Promise.all(a.map(async(p,m)=>{let v=o;if(m>0){const g=(p?.stack?.split(`
1945
+ `)||[]).find(k=>k.includes("at ")&&!k.includes("node_modules"));if(g){const k=g.match(/at\s+[^(\s]+\s*\(([^:)]+):(\d+):(\d+)\)/)||g.match(/at\s+([^:)]+):(\d+):(\d+)/);if(k){const[,P,M,C]=k;v={column:Number.parseInt(C||"0",10),file:P,line:Number.parseInt(M||"0",10),plugin:o?.plugin}}}}let y=v;m===0&&p?.sourceFile&&(y={...v,file:p.sourceFile});const b=await wa(p,e,m,s,y,a);return{hint:p?.hint,message:p?.message||"",name:p?.name||Vr,stack:at(Ht(p?.stack||""),r),...b}})),d=await Ba(l[0],i,r);return{errors:l,errorType:n,rootPath:r,solution:d}},"buildExtendedError"),At=Z(t=>{if(!t)return null;const e=new Error(String(t.message||"Caused by error"));return e.name=String(t.name||"Error"),e.stack=String(t.stack||""),t.cause&&(e.cause=At(t.cause)),e},"reconstructCauseChain"),ja=Z((t,e,r,o,n,i)=>{const s=t.ws.send.bind(t.ws);t.ws.send=async(a,l)=>{try{if(a&&typeof a=="object"&&a.type==="error"&&a.err){const{err:d}=a,p=rn(d);if(e(p))return;if(d.message?.includes("Failed to resolve import")){const m=d.message.match(/Failed to resolve import ["']([^"']+)["'] from ["']([^"']+)["']/);if(m){const v=m[2],y=new Error(d.message);y.name="ImportResolutionError",y.stack=d.stack;const b=await Et(y,t,o,{column:d.loc?.column||1,file:v,line:d.loc?.line||1,plugin:d.plugin||"vite:import-analysis"},"server",n,i);a.err=b,r.set(JSON.stringify(b),Date.now())}}else{const m=String(d?.name||"Error"),v=String(d.message),y=String(d.stack),b=new Error(v);b.name=m,b.stack=`${m}: ${v}
1946
+ ${at(y,o)}`,d.cause&&(b.cause=At(d.cause));const g=d.sourceFile?{column:d.column,file:d.sourceFile,line:d.line,plugin:d.plugin}:void 0,k=await Et(b,t,o,g,"server",n,i);a.err=k,r.set(JSON.stringify(k),Date.now())}}s(a,l)}catch(d){rt(t,"[visulima:vite-overlay:server] ws.send intercept failed",d),l.send(a,l)}}},"setupWebSocketInterception"),Oa=Z((t,e,r,o,n,i,s,a)=>{t.ws.on(qr,async(l,d)=>{if(!s)return;const p=l&&typeof l=="object"?l:{message:pi,stack:""},m=rn(p);if(r(m))return;const v=String(p?.name||"Error"),y=String(p.message),b=String(p.stack),g=new Error(y);g.name=v,g.stack=`${v}: ${y}
1947
+ ${at(b,n)}`,p.cause&&(g.cause=At(p.cause));try{const k=await Et(g,t,n,{column:p?.column,file:p?.file,line:p?.line,plugin:p?.plugin},"client",i,a);o.set(JSON.stringify(k),Date.now());const P={err:{...k},type:"error"};k.solution&&(P.solutions=k.solution);const M=[...k.errors],C=M.shift();if(!C){await e.error("No error information available"),d.send(P);return}const z=[`${Qt("red","[client]")} ${C.name}: ${C.message}`,...C.originalFilePath.includes("-extension://")?[]:["",Qt("blue",`${C.originalFilePath}:${C.originalFileLine}:${C.originalFileColumn}`),"",await mo(C.originalSnippet,Ce(C.originalFilePath)||"text","nord"),"","Raw stack trace:","",C.originalStack]];M.forEach((I,U)=>{const te=" ".repeat(2*U);z.push("",`${te}Caused by: `,"",`${te}${I.name}: ${I.message}`,`${te}at ${I.originalFilePath}:${I.originalFileLine}:${I.originalFileColumn}`)}),await e.error(z.join(`
1948
+ `)),d.send(P)}catch(k){rt(t,"[visulima:vite-overlay:server] failed to build extended client error",k),d.send({err:{message:k.message,name:String(k.name||Vr),stack:k.stack},type:"error"})}})},"setupHMRHandler"),qa=Z((t,e)=>t.flat().some(r=>r&&(e&&r.name===e||r.name==="vite:react-swc"||r.name==="vite:react-refresh"||r.name==="vite:react-babel"||r.name==="@vitejs/plugin-react"||typeof r=="function"&&r.name?.includes("react")||r.constructor&&r.constructor.name?.includes("React"))),"hasReactPlugin"),Va=Z((t,e)=>t.flat().some(r=>r&&(e&&r.name===e||r.name==="vite:vue"||r.name==="@vitejs/plugin-vue"||typeof r=="function"&&r.name?.includes("vue")||r.constructor&&r.constructor.name?.includes("Vue"))),"hasVuePlugin"),nl=Z((t={})=>{let e,r,o;const n=(t.logClientRuntimeError===void 0?t.forwardConsole:t.logClientRuntimeError)??!0,i=t.forwardedConsoleMethods??["error"];if(t.logClientRuntimeError!==void 0&&console.warn("[vite-overlay] The 'logClientRuntimeError' option is deprecated. Please use 'forwardConsole' instead."),i.length===0)throw new Error("forwardedConsoleMethods must be an array of console method names");return{apply:"serve",config(s,a){return s.plugins&&(r=qa(s.plugins,t?.reactPluginName),o=Va(s.plugins,t?.vuePluginName)),e=a.mode||"development",s},configureServer(s){const a=s.config.root||process.cwd(),l=Ha(s),{recentErrors:d,shouldSkip:p}=Aa(),m=s.transformRequest.bind(s);s.transformRequest=async(b,g)=>{try{return await m(b,g)}catch(k){if(k?.message?.includes("Failed to resolve import")){const P=k.message.match(/Failed to resolve import ["']([^"']+)["'] from ["']([^"']+)["']/);if(P){const[,M,C]=P;k.sourceFile=C,k.importPath=M}}throw k}};let v;r?v="react":o&&(v="vue"),ja(s,p,d,a,t?.solutionFinders??[],v),Oa(s,l,p,d,a,t?.solutionFinders??[],n,v);const y=Ia(s,a,l);process.on("unhandledRejection",y),s.httpServer?.on("close",()=>{process.off("unhandledRejection",y)})},enforce:"pre",name:di,transform(s,a,l){if(l?.ssr||!(a.includes("vite/dist/client/client.mjs")||a.includes("/@vite/client")))return null;const d=t?.showBallonButton===void 0?t?.overlay?.balloon?.enabled??!0:t.showBallonButton;return $i(s,d,t?.overlay?.balloon,t?.overlay?.customCSS)},transformIndexHtml(){return{html:"",tags:[{attrs:{type:"module"},children:ka(e,i,t?.overlay?.balloon),injectTo:"head",tag:"script"}]}}}},"errorOverlayPlugin");export{nl as default};