@visulima/vite-overlay 2.0.0-alpha.31 → 2.0.0-alpha.33
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/CHANGELOG.md +33 -0
- package/dist/index.js +68 -68
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
var
|
|
2
|
-
]`).replace("lheading",
|
|
3
|
-
`),n=e.length-1;for(;n>=0&&
|
|
4
|
-
`)}b(Ut,"ie$2");
|
|
1
|
+
var Gi=Object.defineProperty;var b=(t,e)=>Gi(t,"name",{value:e,configurable:!0});import{createRequire as Wi}from"node:module";import{codeToANSI as Yi}from"@shikijs/cli";import{renderError as Xi,getErrorCauses as Qi}from"@visulima/error/error";import{errorHintFinder as Ki,ruleBasedFinder as Ji}from"@visulima/error/solution";import{distance as mt}from"fastest-levenshtein";import{parseStacktrace as Ne,formatStacktrace as Cr,codeFrame as Vn}from"@visulima/error";import Bt from"@visulima/error/solution/ai/prompt";const Vi=Wi(import.meta.url),et=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,Ct=b(t=>{if(typeof et<"u"&&et.versions&&et.versions.node){const[e,n]=et.versions.node.split(".").map(Number);if(e>22||e===22&&n>=3||e===20&&n>=16)return et.getBuiltinModule(t)}return Vi(t)},"__cjs_getBuiltinModule"),{stripVTControlCharacters:Zi,styleText:Wn}=Ct("node:util"),es=Ct("node:fs"),se=Ct("node:path"),{readFile:Sr}=Ct("node:fs/promises");var ts=Object.defineProperty,A=b((t,e)=>ts(t,"name",{value:e,configurable:!0}),"k$5");function Lt(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}b(Lt,"v$7");A(Lt,"z");var Re=Lt();function rn(t){Re=t}b(rn,"ae$3");A(rn,"G");var Se={exec:A(()=>null,"exec")};function z(t,e=""){let n=typeof t=="string"?t:t.source,r={replace:A((i,o)=>{let s=typeof o=="string"?o:o.source;return s=s.replace(J.caret,"$1"),n=n.replace(i,s),r},"replace"),getRegex:A(()=>new RegExp(n,e),"getRegex")};return r}b(z,"u$5");A(z,"d");var ns=((t="")=>{try{return!!new RegExp("(?<=1)(?<!1)"+t)}catch{return!1}})(),J={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,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,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:A(t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),"listItemRegex"),nextBulletRegex:A(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),"nextBulletRegex"),hrRegex:A(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),"hrRegex"),fencesBeginRegex:A(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),"fencesBeginRegex"),headingBeginRegex:A(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),"headingBeginRegex"),htmlBeginRegex:A(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),"htmlBeginRegex"),blockquoteBeginRegex:A(t=>new RegExp(`^ {0,${Math.min(3,t-1)}}>`),"blockquoteBeginRegex")},rs=/^(?:[ \t]*(?:\n|$))+/,os=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,is=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,at=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ss=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,on=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,Lr=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Tr=z(Lr).replace(/bull/g,on).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(),as=z(Lr).replace(/bull/g,on).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(),sn=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,ls=/^[^\n]+/,an=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,cs=z(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",an).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),ds=z(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,on).getRegex(),Tt="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",ln=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,us=z("^ {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",ln).replace("tag",Tt).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Pr=z(sn).replace("hr",at).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[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Tt).getRegex(),ps=z(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Pr).getRegex(),cn={blockquote:ps,code:os,def:cs,fences:is,heading:ss,hr:at,html:us,lheading:Tr,list:ds,newline:rs,paragraph:Pr,table:Se,text:ls},Zn=z("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",at).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[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Tt).getRegex(),hs={...cn,lheading:as,table:Zn,paragraph:z(sn).replace("hr",at).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Zn).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Tt).getRegex()},gs={...cn,html:z(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ln).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:Se,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:z(sn).replace("hr",at).replace("heading",` *#{1,6} *[^
|
|
2
|
+
]`).replace("lheading",Tr).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},ms=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,fs=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Rr=/^( {2,}|\\)\n(?!\s*$)/,vs=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Ve=/[\p{P}\p{S}]/u,Pt=/[\s\p{P}\p{S}]/u,dn=/[^\s\p{P}\p{S}]/u,ws=z(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Pt).getRegex(),Fr=/(?!~)[\p{P}\p{S}]/u,bs=/(?!~)[\s\p{P}\p{S}]/u,ys=/(?:[^\s\p{P}\p{S}]|~)/u,xs=z(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",ns?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),zr=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,ks=z(zr,"u").replace(/punct/g,Ve).getRegex(),_s=z(zr,"u").replace(/punct/g,Fr).getRegex(),Ar="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",$s=z(Ar,"gu").replace(/notPunctSpace/g,dn).replace(/punctSpace/g,Pt).replace(/punct/g,Ve).getRegex(),Es=z(Ar,"gu").replace(/notPunctSpace/g,ys).replace(/punctSpace/g,bs).replace(/punct/g,Fr).getRegex(),Ss=z("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,dn).replace(/punctSpace/g,Pt).replace(/punct/g,Ve).getRegex(),Cs=z(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,Ve).getRegex(),Ls="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",Ts=z(Ls,"gu").replace(/notPunctSpace/g,dn).replace(/punctSpace/g,Pt).replace(/punct/g,Ve).getRegex(),Ps=z(/\\(punct)/,"gu").replace(/punct/g,Ve).getRegex(),Rs=z(/^<(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(),Fs=z(ln).replace("(?:-->|$)","-->").getRegex(),zs=z("^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",Fs).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),bt=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,As=z(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",bt).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Dr=z(/^!?\[(label)\]\[(ref)\]/).replace("label",bt).replace("ref",an).getRegex(),Mr=z(/^!?\[(ref)\](?:\[\])?/).replace("ref",an).getRegex(),Ds=z("reflink|nolink(?!\\()","g").replace("reflink",Dr).replace("nolink",Mr).getRegex(),Yn=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,un={_backpedal:Se,anyPunctuation:Ps,autolink:Rs,blockSkip:xs,br:Rr,code:fs,del:Se,delLDelim:Se,delRDelim:Se,emStrongLDelim:ks,emStrongRDelimAst:$s,emStrongRDelimUnd:Ss,escape:ms,link:As,nolink:Mr,punctuation:ws,reflink:Dr,reflinkSearch:Ds,tag:zs,text:vs,url:Se},Ms={...un,link:z(/^!?\[(label)\]\((.*?)\)/).replace("label",bt).getRegex(),reflink:z(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",bt).getRegex()},Ht={...un,emStrongRDelimAst:Es,emStrongLDelim:_s,delLDelim:Cs,delRDelim:Ts,url:z(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Yn).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:z(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",Yn).getRegex()},Is={...Ht,br:z(Rr).replace("{2,}","*").getRegex(),text:z(Ht.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},ht={normal:cn,gfm:hs,pedantic:gs},tt={normal:un,gfm:Ht,breaks:Is,pedantic:Ms},Bs={"&":"&","<":"<",">":">",'"':""","'":"'"},Xn=A(t=>Bs[t],"de");function ie(t,e){if(e){if(J.escapeTest.test(t))return t.replace(J.escapeReplace,Xn)}else if(J.escapeTestNoEncode.test(t))return t.replace(J.escapeReplaceNoEncode,Xn);return t}b(ie,"y$7");A(ie,"O");function qt(t){try{t=encodeURI(t).replace(J.percentDecode,"%")}catch{return null}return t}b(qt,"ne$2");A(qt,"J");function Nt(t,e){let n=t.replace(J.findPipe,(o,s,a)=>{let l=!1,c=s;for(;--c>=0&&a[c]==="\\";)l=!l;return l?"|":" |"}),r=n.split(J.splitPipe),i=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),e)if(r.length>e)r.splice(e);else for(;r.length<e;)r.push("");for(;i<r.length;i++)r[i]=r[i].trim().replace(J.slashPipe,"|");return r}b(Nt,"se$2");A(Nt,"V");function me(t,e,n){let r=t.length;if(r===0)return"";let i=0;for(;i<r;){let o=t.charAt(r-i-1);if(o===e&&!n)i++;else if(o!==e&&n)i++;else break}return t.slice(0,r-i)}b(me,"$$5");A(me,"$");function Ut(t){let e=t.split(`
|
|
3
|
+
`),n=e.length-1;for(;n>=0&&J.blankLine.test(e[n]);)n--;return e.length-n<=2?t:e.slice(0,n+1).join(`
|
|
4
|
+
`)}b(Ut,"ie$2");A(Ut,"Y");function Ir(t,e){if(t.indexOf(e[1])===-1)return-1;let n=0;for(let r=0;r<t.length;r++)if(t[r]==="\\")r++;else if(t[r]===e[0])n++;else if(t[r]===e[1]&&(n--,n<0))return r;return n>0?-2:-1}b(Ir,"st");A(Ir,"ge");function Br(t,e=0){let n=e,r="";for(let i of t)if(i===" "){let o=4-n%4;r+=" ".repeat(o),n+=o}else r+=i,n++;return r}b(Br,"it");A(Br,"fe");function Gt(t,e,n,r,i){let o=e.href,s=e.title||null,a=t[1].replace(i.other.outputLinkReplace,"$1");r.state.inLink=!0;let l={type:t[0].charAt(0)==="!"?"image":"link",raw:n,href:o,title:s,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,l}b(Gt,"le");A(Gt,"me");function jr(t,e,n){let r=t.match(n.other.indentCodeCompensation);if(r===null)return e;let i=r[1];return e.split(`
|
|
5
5
|
`).map(o=>{let s=o.match(n.other.beginningSpace);if(s===null)return o;let[a]=s;return a.length>=i.length?o.slice(i.length):o}).join(`
|
|
6
|
-
`)}b(
|
|
6
|
+
`)}b(jr,"lt");A(jr,"rt");var yt=class{static{b(this,"I")}static{A(this,"w")}options;rules;lexer;constructor(e){this.options=e||Re}space(e){let n=this.rules.block.newline.exec(e);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(e){let n=this.rules.block.code.exec(e);if(n){let r=this.options.pedantic?n[0]:Ut(n[0]),i=r.replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:r,codeBlockStyle:"indented",text:i}}}fences(e){let n=this.rules.block.fences.exec(e);if(n){let r=n[0],i=jr(r,n[3]||"",this.rules);return{type:"code",raw:r,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:i}}}heading(e){let n=this.rules.block.heading.exec(e);if(n){let r=n[2].trim();if(this.rules.other.endingHash.test(r)){let i=me(r,"#");(this.options.pedantic||!i||this.rules.other.endingSpaceChar.test(i))&&(r=i.trim())}return{type:"heading",raw:me(n[0],`
|
|
7
7
|
`),depth:n[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(e){let n=this.rules.block.hr.exec(e);if(n)return{type:"hr",raw:me(n[0],`
|
|
8
8
|
`)}}blockquote(e){let n=this.rules.block.blockquote.exec(e);if(n){let r=me(n[0],`
|
|
9
9
|
`).split(`
|
|
10
|
-
`),i="",o="",s=[];for(;r.length>0;){let a=!1,
|
|
11
|
-
`),p=
|
|
10
|
+
`),i="",o="",s=[];for(;r.length>0;){let a=!1,l=[],c;for(c=0;c<r.length;c++)if(this.rules.other.blockquoteStart.test(r[c]))l.push(r[c]),a=!0;else if(!a)l.push(r[c]);else break;r=r.slice(c);let u=l.join(`
|
|
11
|
+
`),p=u.replace(this.rules.other.blockquoteSetextReplace,`
|
|
12
12
|
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");i=i?`${i}
|
|
13
|
-
${
|
|
14
|
-
${p}`:p;let h=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(p,s,!0),this.lexer.state.top=h,r.length===0)break;let f=s.at(-1);if(f?.type==="code")break;if(f?.type==="blockquote"){let v=f,
|
|
13
|
+
${u}`:u,o=o?`${o}
|
|
14
|
+
${p}`:p;let h=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(p,s,!0),this.lexer.state.top=h,r.length===0)break;let f=s.at(-1);if(f?.type==="code")break;if(f?.type==="blockquote"){let v=f,g=v.raw+`
|
|
15
15
|
`+r.join(`
|
|
16
|
-
`),k=this.blockquote(
|
|
16
|
+
`),k=this.blockquote(g);s[s.length-1]=k,i=i.substring(0,i.length-v.raw.length)+k.raw,o=o.substring(0,o.length-v.text.length)+k.text;break}else if(f?.type==="list"){let v=f,g=v.raw+`
|
|
17
17
|
`+r.join(`
|
|
18
|
-
`),k=this.list(
|
|
19
|
-
`);continue}}return{type:"blockquote",raw:i,tokens:s,text:o}}}list(e){let n=this.rules.block.list.exec(e);if(n){let r=n[1].trim(),i=r.length>1,o={type:"list",raw:"",ordered:i,start:i?+r.slice(0,-1):"",loose:!1,items:[]};r=i?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=i?r:"[*+-]");let s=this.rules.other.listItemRegex(r),a=!1;for(;e;){let
|
|
18
|
+
`),k=this.list(g);s[s.length-1]=k,i=i.substring(0,i.length-f.raw.length)+k.raw,o=o.substring(0,o.length-v.raw.length)+k.raw,r=g.substring(s.at(-1).raw.length).split(`
|
|
19
|
+
`);continue}}return{type:"blockquote",raw:i,tokens:s,text:o}}}list(e){let n=this.rules.block.list.exec(e);if(n){let r=n[1].trim(),i=r.length>1,o={type:"list",raw:"",ordered:i,start:i?+r.slice(0,-1):"",loose:!1,items:[]};r=i?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=i?r:"[*+-]");let s=this.rules.other.listItemRegex(r),a=!1;for(;e;){let c=!1,u="",p="";if(!(n=s.exec(e))||this.rules.block.hr.test(e))break;u=n[0],e=e.substring(u.length);let h=Br(n[2].split(`
|
|
20
20
|
`,1)[0],n[1].length),f=e.split(`
|
|
21
|
-
`,1)[0],v=!h.trim(),
|
|
22
|
-
`,e=e.substring(f.length+1),
|
|
23
|
-
`,1)[0],
|
|
24
|
-
`+
|
|
25
|
-
`+f}v=!f.trim(),
|
|
26
|
-
`,e=e.substring(
|
|
21
|
+
`,1)[0],v=!h.trim(),g=0;if(this.options.pedantic?(g=2,p=h.trimStart()):v?g=n[1].length+1:(g=h.search(this.rules.other.nonSpaceChar),g=g>4?1:g,p=h.slice(g),g+=n[1].length),v&&this.rules.other.blankLine.test(f)&&(u+=f+`
|
|
22
|
+
`,e=e.substring(f.length+1),c=!0),!c){let k=this.rules.other.nextBulletRegex(g),T=this.rules.other.hrRegex(g),E=this.rules.other.fencesBeginRegex(g),C=this.rules.other.headingBeginRegex(g),R=this.rules.other.htmlBeginRegex(g),B=this.rules.other.blockquoteBeginRegex(g);for(;e;){let D=e.split(`
|
|
23
|
+
`,1)[0],W;if(f=D,this.options.pedantic?(f=f.replace(this.rules.other.listReplaceNesting," "),W=f):W=f.replace(this.rules.other.tabCharGlobal," "),E.test(f)||C.test(f)||R.test(f)||B.test(f)||k.test(f)||T.test(f))break;if(W.search(this.rules.other.nonSpaceChar)>=g||!f.trim())p+=`
|
|
24
|
+
`+W.slice(g);else{if(v||h.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||E.test(h)||C.test(h)||T.test(h))break;p+=`
|
|
25
|
+
`+f}v=!f.trim(),u+=D+`
|
|
26
|
+
`,e=e.substring(D.length+1),h=W.slice(g)}}o.loose||(a?o.loose=!0:this.rules.other.doubleBlankLine.test(u)&&(a=!0)),o.items.push({type:"list_item",raw:u,task:!!this.options.gfm&&this.rules.other.listIsTask.test(p),loose:!1,text:p,tokens:[]}),o.raw+=u}let l=o.items.at(-1);if(l)l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd();else return;o.raw=o.raw.trimEnd();for(let c of o.items){this.lexer.state.top=!1,c.tokens=this.lexer.blockTokens(c.text,[]);let u=c.tokens[0];if(c.task&&(u?.type==="text"||u?.type==="paragraph")){c.text=c.text.replace(this.rules.other.listReplaceTask,""),u.raw=u.raw.replace(this.rules.other.listReplaceTask,""),u.text=u.text.replace(this.rules.other.listReplaceTask,"");for(let h=this.lexer.inlineQueue.length-1;h>=0;h--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[h].src)){this.lexer.inlineQueue[h].src=this.lexer.inlineQueue[h].src.replace(this.rules.other.listReplaceTask,"");break}let p=this.rules.other.listTaskCheckbox.exec(c.raw);if(p){let h={type:"checkbox",raw:p[0]+" ",checked:p[0]!=="[ ]"};c.checked=h.checked,o.loose?c.tokens[0]&&["paragraph","text"].includes(c.tokens[0].type)&&"tokens"in c.tokens[0]&&c.tokens[0].tokens?(c.tokens[0].raw=h.raw+c.tokens[0].raw,c.tokens[0].text=h.raw+c.tokens[0].text,c.tokens[0].tokens.unshift(h)):c.tokens.unshift({type:"paragraph",raw:h.raw,text:h.raw,tokens:[h]}):c.tokens.unshift(h)}}else c.task&&(c.task=!1);if(!o.loose){let p=c.tokens.filter(f=>f.type==="space"),h=p.length>0&&p.some(f=>this.rules.other.anyLine.test(f.raw));o.loose=h}}if(o.loose)for(let c of o.items){c.loose=!0;for(let u of c.tokens)u.type==="text"&&(u.type="paragraph")}return o}}html(e){let n=this.rules.block.html.exec(e);if(n){let r=Ut(n[0]);return{type:"html",block:!0,raw:r,pre:n[1]==="pre"||n[1]==="script"||n[1]==="style",text:r}}}def(e){let n=this.rules.block.def.exec(e);if(n){let r=n[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),i=n[2]?n[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",o=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):n[3];return{type:"def",tag:r,raw:me(n[0],`
|
|
27
27
|
`),href:i,title:o}}}table(e){let n=this.rules.block.table.exec(e);if(!n||!this.rules.other.tableDelimiter.test(n[2]))return;let r=Nt(n[1]),i=n[2].replace(this.rules.other.tableAlignChars,"").split("|"),o=n[3]?.trim()?n[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
28
28
|
`):[],s={type:"table",raw:me(n[0],`
|
|
29
|
-
`),header:[],align:[],rows:[]};if(r.length===i.length){for(let a of i)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<r.length;a++)s.header.push({text:r[a],tokens:this.lexer.inline(r[a]),header:!0,align:s.align[a]});for(let a of o)s.rows.push(Nt(a,s.header.length).map((c
|
|
29
|
+
`),header:[],align:[],rows:[]};if(r.length===i.length){for(let a of i)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<r.length;a++)s.header.push({text:r[a],tokens:this.lexer.inline(r[a]),header:!0,align:s.align[a]});for(let a of o)s.rows.push(Nt(a,s.header.length).map((l,c)=>({text:l,tokens:this.lexer.inline(l),header:!1,align:s.align[c]})));return s}}lheading(e){let n=this.rules.block.lheading.exec(e);if(n){let r=n[1].trim();return{type:"heading",raw:me(n[0],`
|
|
30
30
|
`),depth:n[2].charAt(0)==="="?1:2,text:r,tokens:this.lexer.inline(r)}}}paragraph(e){let n=this.rules.block.paragraph.exec(e);if(n){let r=n[1].charAt(n[1].length-1)===`
|
|
31
|
-
`?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:r,tokens:this.lexer.inline(r)}}}text(e){let n=this.rules.block.text.exec(e);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(e){let n=this.rules.inline.escape.exec(e);if(n)return{type:"escape",raw:n[0],text:n[1]}}tag(e){let n=this.rules.inline.tag.exec(e);if(n)return!this.lexer.state.inLink&&this.rules.other.startATag.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(e){let n=this.rules.inline.link.exec(e);if(n){let r=n[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(r)){if(!this.rules.other.endAngleBracket.test(r))return;let s=me(r.slice(0,-1),"\\");if((r.length-s.length)%2===0)return}else{let s=
|
|
32
|
-
`),this.blockTokens(e,this.tokens);for(let n=0;n<this.inlineQueue.length;n++){let r=this.inlineQueue[n];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,n=[],r=!1){this.tokenizer.lexer=this,this.options.pedantic&&(e=e.replace(
|
|
31
|
+
`?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:r,tokens:this.lexer.inline(r)}}}text(e){let n=this.rules.block.text.exec(e);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(e){let n=this.rules.inline.escape.exec(e);if(n)return{type:"escape",raw:n[0],text:n[1]}}tag(e){let n=this.rules.inline.tag.exec(e);if(n)return!this.lexer.state.inLink&&this.rules.other.startATag.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(e){let n=this.rules.inline.link.exec(e);if(n){let r=n[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(r)){if(!this.rules.other.endAngleBracket.test(r))return;let s=me(r.slice(0,-1),"\\");if((r.length-s.length)%2===0)return}else{let s=Ir(n[2],"()");if(s===-2)return;if(s>-1){let a=(n[0].indexOf("!")===0?5:4)+n[1].length+s;n[2]=n[2].substring(0,s),n[0]=n[0].substring(0,a).trim(),n[3]=""}}let i=n[2],o="";if(this.options.pedantic){let s=this.rules.other.pedanticHrefTitle.exec(i);s&&(i=s[1],o=s[3])}else o=n[3]?n[3].slice(1,-1):"";return i=i.trim(),this.rules.other.startAngleBracket.test(i)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(r)?i=i.slice(1):i=i.slice(1,-1)),Gt(n,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer,this.rules)}}reflink(e,n){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let i=(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," "),o=n[i.toLowerCase()];if(!o){let s=r[0].charAt(0);return{type:"text",raw:s,text:s}}return Gt(r,o,r[0],this.lexer,this.rules)}}emStrong(e,n,r=""){let i=this.rules.inline.emStrongLDelim.exec(e);if(!(!i||!i[1]&&!i[2]&&!i[3]&&!i[4]||i[4]&&r.match(this.rules.other.unicodeAlphaNumeric))&&(!(i[1]||i[3])||!r||this.rules.inline.punctuation.exec(r))){let o=[...i[0]].length-1,s,a,l=o,c=0,u=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(u.lastIndex=0,n=n.slice(-1*e.length+o);(i=u.exec(n))!==null;){if(s=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!s)continue;if(a=[...s].length,i[3]||i[4]){l+=a;continue}else if((i[5]||i[6])&&o%3&&!((o+a)%3)){c+=a;continue}if(l-=a,l>0)continue;a=Math.min(a,a+l+c);let p=[...i[0]][0].length,h=e.slice(0,o+i.index+p+a);if(Math.min(o,a)%2){let v=h.slice(1,-1);return{type:"em",raw:h,text:v,tokens:this.lexer.inlineTokens(v)}}let f=h.slice(2,-2);return{type:"strong",raw:h,text:f,tokens:this.lexer.inlineTokens(f)}}}}codespan(e){let n=this.rules.inline.code.exec(e);if(n){let r=n[2].replace(this.rules.other.newLineCharGlobal," "),i=this.rules.other.nonSpaceChar.test(r),o=this.rules.other.startingSpaceChar.test(r)&&this.rules.other.endingSpaceChar.test(r);return i&&o&&(r=r.substring(1,r.length-1)),{type:"codespan",raw:n[0],text:r}}}br(e){let n=this.rules.inline.br.exec(e);if(n)return{type:"br",raw:n[0]}}del(e,n,r=""){let i=this.rules.inline.delLDelim.exec(e);if(i&&(!i[1]||!r||this.rules.inline.punctuation.exec(r))){let o=[...i[0]].length-1,s,a,l=o,c=this.rules.inline.delRDelim;for(c.lastIndex=0,n=n.slice(-1*e.length+o);(i=c.exec(n))!==null;){if(s=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!s||(a=[...s].length,a!==o))continue;if(i[3]||i[4]){l+=a;continue}if(l-=a,l>0)continue;a=Math.min(a,a+l);let u=[...i[0]][0].length,p=e.slice(0,o+i.index+u+a),h=p.slice(o,-o);return{type:"del",raw:p,text:h,tokens:this.lexer.inlineTokens(h)}}}}autolink(e){let n=this.rules.inline.autolink.exec(e);if(n){let r,i;return n[2]==="@"?(r=n[1],i="mailto:"+r):(r=n[1],i=r),{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}url(e){let n;if(n=this.rules.inline.url.exec(e)){let r,i;if(n[2]==="@")r=n[0],i="mailto:"+r;else{let o;do o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])?.[0]??"";while(o!==n[0]);r=n[0],n[1]==="www."?i="http://"+n[0]:i=n[0]}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(e){let n=this.rules.inline.text.exec(e);if(n){let r=this.lexer.state.inRawBlock;return{type:"text",raw:n[0],text:n[0],escaped:r}}}},he=class Wt{static{b(this,"H")}static{A(this,"l")}tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Re,this.options.tokenizer=this.options.tokenizer||new yt,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 n={other:J,block:ht.normal,inline:tt.normal};this.options.pedantic?(n.block=ht.pedantic,n.inline=tt.pedantic):this.options.gfm&&(n.block=ht.gfm,this.options.breaks?n.inline=tt.breaks:n.inline=tt.gfm),this.tokenizer.rules=n}static get rules(){return{block:ht,inline:tt}}static lex(e,n){return new Wt(n).lex(e)}static lexInline(e,n){return new Wt(n).inlineTokens(e)}lex(e){e=e.replace(J.carriageReturn,`
|
|
32
|
+
`),this.blockTokens(e,this.tokens);for(let n=0;n<this.inlineQueue.length;n++){let r=this.inlineQueue[n];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,n=[],r=!1){this.tokenizer.lexer=this,this.options.pedantic&&(e=e.replace(J.tabCharGlobal," ").replace(J.spaceLine,""));let i=1/0;for(;e;){if(e.length<i)i=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}let o;if(this.options.extensions?.block?.some(a=>(o=a.call({lexer:this},e,n))?(e=e.substring(o.raw.length),n.push(o),!0):!1))continue;if(o=this.tokenizer.space(e)){e=e.substring(o.raw.length);let a=n.at(-1);o.raw.length===1&&a!==void 0?a.raw+=`
|
|
33
33
|
`:n.push(o);continue}if(o=this.tokenizer.code(e)){e=e.substring(o.raw.length);let a=n.at(-1);a?.type==="paragraph"||a?.type==="text"?(a.raw+=(a.raw.endsWith(`
|
|
34
34
|
`)?"":`
|
|
35
35
|
`)+o.raw,a.text+=`
|
|
36
36
|
`+o.text,this.inlineQueue.at(-1).src=a.text):n.push(o);continue}if(o=this.tokenizer.fences(e)){e=e.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.heading(e)){e=e.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.hr(e)){e=e.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.blockquote(e)){e=e.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.list(e)){e=e.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.html(e)){e=e.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.def(e)){e=e.substring(o.raw.length);let a=n.at(-1);a?.type==="paragraph"||a?.type==="text"?(a.raw+=(a.raw.endsWith(`
|
|
37
37
|
`)?"":`
|
|
38
38
|
`)+o.raw,a.text+=`
|
|
39
|
-
`+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},n.push(o));continue}if(o=this.tokenizer.table(e)){e=e.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.lheading(e)){e=e.substring(o.raw.length),n.push(o);continue}let s=e;if(this.options.extensions?.startBlock){let a=1/0,
|
|
39
|
+
`+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},n.push(o));continue}if(o=this.tokenizer.table(e)){e=e.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.lheading(e)){e=e.substring(o.raw.length),n.push(o);continue}let s=e;if(this.options.extensions?.startBlock){let a=1/0,l=e.slice(1),c;this.options.extensions.startBlock.forEach(u=>{c=u.call({lexer:this},l),typeof c=="number"&&c>=0&&(a=Math.min(a,c))}),a<1/0&&a>=0&&(s=e.substring(0,a+1))}if(this.state.top&&(o=this.tokenizer.paragraph(s))){let a=n.at(-1);r&&a?.type==="paragraph"?(a.raw+=(a.raw.endsWith(`
|
|
40
40
|
`)?"":`
|
|
41
41
|
`)+o.raw,a.text+=`
|
|
42
42
|
`+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):n.push(o),r=s.length!==e.length,e=e.substring(o.raw.length);continue}if(o=this.tokenizer.text(e)){e=e.substring(o.raw.length);let a=n.at(-1);a?.type==="text"?(a.raw+=(a.raw.endsWith(`
|
|
43
43
|
`)?"":`
|
|
44
44
|
`)+o.raw,a.text+=`
|
|
45
|
-
`+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):n.push(o);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return this.state.top=!0,n}inline(e,n=[]){return this.inlineQueue.push({src:e,tokens:n}),n}inlineTokens(e,n=[]){this.tokenizer.lexer=this;let r=e,i=null;if(this.tokens.links){let
|
|
45
|
+
`+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):n.push(o);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return this.state.top=!0,n}inline(e,n=[]){return this.inlineQueue.push({src:e,tokens:n}),n}inlineTokens(e,n=[]){this.tokenizer.lexer=this;let r=e,i=null;if(this.tokens.links){let c=Object.keys(this.tokens.links);if(c.length>0)for(;(i=this.tokenizer.rules.inline.reflinkSearch.exec(r))!==null;)c.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(i=this.tokenizer.rules.inline.anyPunctuation.exec(r))!==null;)r=r.slice(0,i.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let o;for(;(i=this.tokenizer.rules.inline.blockSkip.exec(r))!==null;)o=i[2]?i[2].length:0,r=r.slice(0,i.index+o)+"["+"a".repeat(i[0].length-o-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=this.options.hooks?.emStrongMask?.call({lexer:this},r)??r;let s=!1,a="",l=1/0;for(;e;){if(e.length<l)l=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}s||(a=""),s=!1;let c;if(this.options.extensions?.inline?.some(p=>(c=p.call({lexer:this},e,n))?(e=e.substring(c.raw.length),n.push(c),!0):!1))continue;if(c=this.tokenizer.escape(e)){e=e.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.tag(e)){e=e.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.link(e)){e=e.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(c.raw.length);let p=n.at(-1);c.type==="text"&&p?.type==="text"?(p.raw+=c.raw,p.text+=c.text):n.push(c);continue}if(c=this.tokenizer.emStrong(e,r,a)){e=e.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.codespan(e)){e=e.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.br(e)){e=e.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.del(e,r,a)){e=e.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.autolink(e)){e=e.substring(c.raw.length),n.push(c);continue}if(!this.state.inLink&&(c=this.tokenizer.url(e))){e=e.substring(c.raw.length),n.push(c);continue}let u=e;if(this.options.extensions?.startInline){let p=1/0,h=e.slice(1),f;this.options.extensions.startInline.forEach(v=>{f=v.call({lexer:this},h),typeof f=="number"&&f>=0&&(p=Math.min(p,f))}),p<1/0&&p>=0&&(u=e.substring(0,p+1))}if(c=this.tokenizer.inlineText(u)){e=e.substring(c.raw.length),c.raw.slice(-1)!=="_"&&(a=c.raw.slice(-1)),s=!0;let p=n.at(-1);p?.type==="text"?(p.raw+=c.raw,p.text+=c.text):n.push(c);continue}if(e){this.infiniteLoopError(e.charCodeAt(0));break}}return n}infiniteLoopError(e){let n="Infinite loop on byte: "+e;if(this.options.silent)console.error(n);else throw new Error(n)}},xt=class{static{b(this,"E")}static{A(this,"y")}options;parser;constructor(e){this.options=e||Re}space(e){return""}code({text:e,lang:n,escaped:r}){let i=(n||"").match(J.notSpaceStart)?.[0],o=e.replace(J.endingNewline,"")+`
|
|
46
46
|
`;return i?'<pre><code class="language-'+ie(i)+'">'+(r?o:ie(o,!0))+`</code></pre>
|
|
47
47
|
`:"<pre><code>"+(r?o:ie(o,!0))+`</code></pre>
|
|
48
48
|
`}blockquote({tokens:e}){return`<blockquote>
|
|
49
49
|
${this.parser.parse(e)}</blockquote>
|
|
50
50
|
`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:n}){return`<h${n}>${this.parser.parseInline(e)}</h${n}>
|
|
51
51
|
`}hr(e){return`<hr>
|
|
52
|
-
`}list(e){let n=e.ordered,r=e.start,i="";for(let a=0;a<e.items.length;a++){let
|
|
52
|
+
`}list(e){let n=e.ordered,r=e.start,i="";for(let a=0;a<e.items.length;a++){let l=e.items[a];i+=this.listitem(l)}let o=n?"ol":"ul",s=n&&r!==1?' start="'+r+'"':"";return"<"+o+s+`>
|
|
53
53
|
`+i+"</"+o+`>
|
|
54
54
|
`}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li>
|
|
55
55
|
`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
|
|
@@ -60,9 +60,9 @@ ${this.parser.parse(e)}</blockquote>
|
|
|
60
60
|
`}tablerow({text:e}){return`<tr>
|
|
61
61
|
${e}</tr>
|
|
62
62
|
`}tablecell(e){let n=this.parser.parseInline(e.tokens),r=e.header?"th":"td";return(e.align?`<${r} align="${e.align}">`:`<${r}>`)+n+`</${r}>
|
|
63
|
-
`}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>${ie(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:n,tokens:r}){let i=this.parser.parseInline(r),o=qt(e);if(o===null)return i;e=o;let s='<a href="'+e+'"';return n&&(s+=' title="'+ie(n)+'"'),s+=">"+i+"</a>",s}image({href:e,title:n,text:r,tokens:i}){i&&(r=this.parser.parseInline(i,this.parser.textRenderer));let o=qt(e);if(o===null)return ie(r);e=o;let s=`<img src="${e}" alt="${ie(r)}"`;return n&&(s+=` title="${ie(n)}"`),s+=">",s}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:ie(e.text)}},pn=class{static{b(this,"M")}static{
|
|
64
|
-
Please report this to https://github.com/markedjs/marked.`,e){let i="<p>An error occurred:</p><pre>"+ie(r.message+"",!0)+"</pre>";return n?Promise.resolve(i):i}if(n)return Promise.reject(r);throw r}}},Pe=new
|
|
65
|
-
@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-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-duration:initial;--tw-outline-style:solid;--num:0}}}@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-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-lg:.5rem;--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,:host{color:var(--ono-v-text);font-feature-settings:"kern" 1;letter-spacing:-.01em;-webkit-font-smoothing:antialiased;box-sizing:border-box;background-color:#0000;font-family:Space Grotesk,system-ui,-apple-system,sans-serif;font-size:14px;line-height:1.5}pre,code{font-feature-settings:"kern" 1, "zero" 1;font-family:Space Mono,ui-monospace,Cascadia Code,monospace}a{color:var(--ono-v-link)}a:hover{text-decoration:underline}::selection{background:var(--ono-v-primary)}@supports (color:color-mix(in lab, red, red)){::selection{background:color-mix(in srgb, var(--ono-v-primary) 15%, transparent)}}kbd{background-color:var(--ono-v-chip-bg);color:var(--ono-v-chip-text);border:1px solid var(--ono-v-border);border-radius:0;padding:.125rem .375rem;font-family:inherit;font-size:.75rem}hr{border-color:var(--ono-v-border)}input:where([type=text]),input:where(:not([type])),input:where([type=email]),input:where([type=url]),input:where([type=password]),input:where([type=number]),input:where([type=date]),input:where([type=datetime-local]),input:where([type=month]),input:where([type=search]),input:where([type=tel]),input:where([type=time]),input:where([type=week]),select:where([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(input:where([type=text]),input:where(:not([type])),input:where([type=email]),input:where([type=url]),input:where([type=password]),input:where([type=number]),input:where([type=date]),input:where([type=datetime-local]),input:where([type=month]),input:where([type=search]),input:where([type=tel]),input:where([type=time]),input:where([type=week]),select:where([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{-webkit-print-color-adjust:exact;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}select:where([multiple]),select:where([size]:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;print-color-adjust:unset;padding-right:.75rem}input:where([type=checkbox]),input:where([type=radio]){appearance:none;-webkit-print-color-adjust:exact;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}input:where([type=checkbox]){border-radius:0}input:where([type=radio]){border-radius:100%}input:where([type=checkbox]):focus,input:where([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}input:where([type=checkbox]):checked,input:where([type=radio]):checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}input:where([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){input:where([type=checkbox]):checked{appearance:auto}}input:where([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){input:where([type=radio]):checked{appearance:auto}}input:where([type=checkbox]):checked:hover,input:where([type=checkbox]):checked:focus,input:where([type=radio]):checked:hover,input:where([type=radio]):checked:focus{background-color:currentColor;border-color:#0000}input:where([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){input:where([type=checkbox]):indeterminate{appearance:auto}}input:where([type=checkbox]):indeterminate:hover,input:where([type=checkbox]):indeterminate:focus{background-color:currentColor;border-color:#0000}input:where([type=file]){background:unset;border-color:inherit;font-size:unset;line-height:inherit;border-width:0;border-radius:0;padding:0}input:where([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)}.right-6{right:calc(var(--spacing) * 6)}.left-1\\/2{left:50%}.-z-1{z-index:calc(1 * -1)}.z-1{z-index:1}.z-10{z-index:10}.z-2147483646,.z-\\[2147483646\\]{z-index:2147483646}.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-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-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-1{margin-left:calc(var(--spacing) * 1)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.size-1\\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.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{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.h-5{height:calc(var(--spacing) * 5)}.h-10{height:calc(var(--spacing) * 10)}.h-\\[40vmin\\]{height:40vmin}.max-h-50{max-height:calc(var(--spacing) * 50)}.max-h-\\[80vh\\]{max-height:80vh}.max-h-\\[160px\\]{max-height:160px}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-screen{min-height:100vh}.w-7{width:calc(var(--spacing) * 7)}.w-44{width:calc(var(--spacing) * 44)}.w-\\[calc\\(100\\%-24px\\)\\]{width:calc(100% - 24px)}.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-full{max-width:100%}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-8{min-width:calc(var(--spacing) * 8)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.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}.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}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-6{gap:calc(var(--spacing) * 6)}: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-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-none{--tw-border-style:none;border-style:none}.border-\\(--ono-v-border\\){border-color:var(--ono-v-border)}.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-\\[var\\(--ono-v-surface-muted\\)\\]{background-color:var(--ono-v-surface-muted)}.bg-black\\/65{background-color:#000000a6}@supports (color:color-mix(in lab, red, red)){.bg-black\\/65{background-color:color-mix(in oklab, var(--color-black) 65%, 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-yellow-500{background-color:var(--color-yellow-500)}.p-2{padding:calc(var(--spacing) * 2)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.pe-6{padding-inline-end:calc(var(--spacing) * 6)}.pt-\\[8vh\\]{padding-top:8vh}.pr-1{padding-right:calc(var(--spacing) * 1)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.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-\\[calc\\(10px\\+2vmin\\)\\]{font-size:calc(10px + 2vmin)}.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-nowrap{white-space:nowrap}.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-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-90{opacity:.9}.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-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)}.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,)}.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-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-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.\\[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-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\\:opacity-90:hover{opacity:.9}.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-primary\\):focus{--tw-ring-color:var(--ono-v-primary)}.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-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\\:outline-\\(--ono-v-text\\):focus-visible{outline-color:var(--ono-v-text)}.active\\:opacity-80:active{opacity:.8}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-40:disabled{opacity:.4}@media (min-width:40rem){.sm\\:flex{display:flex}}@media (min-width:48rem){.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\\:bg-gray-700:where(.dark,.dark *){background-color:var(--color-gray-700)}.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)}}: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:;--brand-accent:#d71921;--brand-white:#fff;--brand-bg:#f5f5f5;--brand-border-visible:#ccc;--brand-text-secondary:#666;--brand-surface-dark:#111;--brand-black:#000;--color-background:#f5f5f5;--color-foreground:#1a1a1a;--color-card:#fff;--color-accent:#f0f0f0;--color-muted:#e8e8e8;--color-muted-foreground:#666;--color-primary:#d71921;--color-primary-foreground:#fff;--color-border:#e8e8e8;--color-ring:#ccc;--color-destructive:#d71921;--color-destructive-foreground:#fff;--color-success:#4a9e5c;--color-success-foreground:#4a9e5c;--color-warning:#d4a843;--color-info:#666;--ono-v-bg:var(--color-background);--ono-v-surface:var(--color-card);--ono-v-surface-muted:var(--color-accent);--ono-v-border:var(--color-border);--ono-v-text:var(--color-foreground);--ono-v-text-muted:var(--color-muted-foreground);--ono-v-primary:var(--color-primary);--ono-v-red-orange:var(--color-destructive);--ono-v-link:var(--color-foreground);--ono-v-chip-bg:var(--color-muted);--ono-v-chip-text:var(--color-foreground);--ono-v-hover-overlay:var(--color-foreground)}@supports (color:color-mix(in lab, red, red)){:host{--ono-v-hover-overlay:color-mix(in srgb, var(--color-foreground) 4%, transparent)}}:host{--ono-v-on-accent:var(--color-primary-foreground);--ono-v-neutral:var(--color-muted-foreground);--ono-v-neutral-bg:var(--color-muted);--ono-v-success:var(--color-success);--ono-v-success-bg:var(--color-success)}@supports (color:color-mix(in lab, red, red)){:host{--ono-v-success-bg:color-mix(in srgb, var(--color-success) 12%, transparent)}}.dark{--color-background:#000;--color-foreground:#e8e8e8;--color-card:#111;--color-accent:#1a1a1a;--color-muted:#222;--color-muted-foreground:#999;--color-primary:#d71921;--color-primary-foreground:#fff;--color-border:#222;--color-ring:#333;--color-destructive:#d71921;--color-destructive-foreground:#fff;--color-success:#4a9e5c;--color-success-foreground:#4a9e5c;--color-warning:#d4a843;--color-info:#999;--ono-v-bg:var(--color-background);--ono-v-surface:var(--color-card);--ono-v-surface-muted:var(--color-accent);--ono-v-border:var(--color-border);--ono-v-text:var(--color-foreground);--ono-v-text-muted:var(--color-muted-foreground);--ono-v-primary:var(--color-primary);--ono-v-red-orange:var(--color-destructive);--ono-v-link:var(--color-foreground);--ono-v-chip-bg:var(--color-muted);--ono-v-chip-text:var(--color-foreground);--ono-v-hover-overlay:#ffffff0d;--ono-v-on-accent:var(--color-primary-foreground);--ono-v-neutral:var(--color-muted-foreground);--ono-v-neutral-bg:var(--color-muted);--ono-v-success:var(--color-success);--ono-v-success-bg:var(--color-success)}@supports (color:color-mix(in lab, red, red)){.dark{--ono-v-success-bg:color-mix(in srgb, var(--color-success) 12%, transparent)}}@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}}: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:1px solid var(--ono-v-text);outline-offset:2px}.v-o-label{text-transform:uppercase;letter-spacing:.08em;font-family:Space Mono,ui-monospace,monospace;font-weight:700}.v-o-loading-text{text-transform:uppercase;letter-spacing:.06em;color:var(--ono-v-text-muted);font-family:Space Mono,ui-monospace,monospace;font-size:12px}.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;flex-shrink:0;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}select#editor-selector{background-color:var(--ono-v-surface);color:var(--ono-v-text);border-color:var(--ono-v-border);color-scheme:light}.dark select#editor-selector{color-scheme:dark;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='%23999999' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e")}#__v_o__stacktrace summary .dui{transition:transform .15s ease-out}#__v_o__stacktrace[open] summary .dui{transform:rotate(90deg)}:has(#__v_o__root){overflow:hidden}#__v_o__root:not(.hidden)[data-error-type=server]~#__v_o__balloon_group{display:none!important}.devtools-content-scroll{scrollbar-width:thin;scrollbar-color:var(--color-border) transparent}.devtools-content-scroll::-webkit-scrollbar{width:5px;height:5px}.devtools-content-scroll::-webkit-scrollbar-track{background:0 0}.devtools-content-scroll::-webkit-scrollbar-thumb{background:var(--color-border)}.devtools-content-scroll::-webkit-scrollbar-thumb:hover{background:var(--color-muted-foreground)}#__v_o__root.scrolling-history{-webkit-user-select:none;user-select:none;cursor:grab}#__v_o__root.scrolling-history:active{cursor:grabbing}@property --num{syntax:"<integer>";inherits:false;initial-value:0}#__v_o__balloon_count{counter-reset:num var(--num);font-variant-numeric:tabular-nums;color:#fff;font-size:13px;font-weight:700;line-height:1}#__v_o__balloon_count:after{content:counter(num)}#__v_o__balloon_count.animate-count-up{animation:.2s ease-out forwards counter-animate}@keyframes counter-animate{0%{--num:var(--num-start)}to{--num:var(--num-end)}}@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-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-duration{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@keyframes spin{to{transform:rotate(360deg)}}`;const or=`/* eslint-disable no-bitwise */
|
|
63
|
+
`}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>${ie(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:n,tokens:r}){let i=this.parser.parseInline(r),o=qt(e);if(o===null)return i;e=o;let s='<a href="'+e+'"';return n&&(s+=' title="'+ie(n)+'"'),s+=">"+i+"</a>",s}image({href:e,title:n,text:r,tokens:i}){i&&(r=this.parser.parseInline(i,this.parser.textRenderer));let o=qt(e);if(o===null)return ie(r);e=o;let s=`<img src="${e}" alt="${ie(r)}"`;return n&&(s+=` title="${ie(n)}"`),s+=">",s}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:ie(e.text)}},pn=class{static{b(this,"M")}static{A(this,"L")}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}},ge=class Vt{static{b(this,"O")}static{A(this,"l")}options;renderer;textRenderer;constructor(e){this.options=e||Re,this.options.renderer=this.options.renderer||new xt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new pn}static parse(e,n){return new Vt(n).parse(e)}static parseInline(e,n){return new Vt(n).parseInline(e)}parse(e){this.renderer.parser=this;let n="";for(let r=0;r<e.length;r++){let i=e[r];if(this.options.extensions?.renderers?.[i.type]){let s=i,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)){n+=a||"";continue}}let o=i;switch(o.type){case"space":{n+=this.renderer.space(o);break}case"hr":{n+=this.renderer.hr(o);break}case"heading":{n+=this.renderer.heading(o);break}case"code":{n+=this.renderer.code(o);break}case"table":{n+=this.renderer.table(o);break}case"blockquote":{n+=this.renderer.blockquote(o);break}case"list":{n+=this.renderer.list(o);break}case"checkbox":{n+=this.renderer.checkbox(o);break}case"html":{n+=this.renderer.html(o);break}case"def":{n+=this.renderer.def(o);break}case"paragraph":{n+=this.renderer.paragraph(o);break}case"text":{n+=this.renderer.text(o);break}default:{let s='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(s),"";throw new Error(s)}}}return n}parseInline(e,n=this.renderer){this.renderer.parser=this;let r="";for(let i=0;i<e.length;i++){let o=e[i];if(this.options.extensions?.renderers?.[o.type]){let a=this.options.extensions.renderers[o.type].call({parser:this},o);if(a!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(o.type)){r+=a||"";continue}}let s=o;switch(s.type){case"escape":{r+=n.text(s);break}case"html":{r+=n.html(s);break}case"link":{r+=n.link(s);break}case"image":{r+=n.image(s);break}case"checkbox":{r+=n.checkbox(s);break}case"strong":{r+=n.strong(s);break}case"em":{r+=n.em(s);break}case"codespan":{r+=n.codespan(s);break}case"br":{r+=n.br(s);break}case"del":{r+=n.del(s);break}case"text":{r+=n.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 r}},nt=class{static{b(this,"A")}static{A(this,"P")}options;block;constructor(e){this.options=e||Re}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(e=this.block){return e?he.lex:he.lexInline}provideParser(e=this.block){return e?ge.parse:ge.parseInline}},js=class{static{b(this,"xe")}static{A(this,"D")}defaults=Lt();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=ge;Renderer=xt;TextRenderer=pn;Lexer=he;Tokenizer=yt;Hooks=nt;constructor(...e){this.use(...e)}walkTokens(e,n){let r=[];for(let i of e)switch(r=r.concat(n.call(this,i)),i.type){case"table":{let o=i;for(let s of o.header)r=r.concat(this.walkTokens(s.tokens,n));for(let s of o.rows)for(let a of s)r=r.concat(this.walkTokens(a.tokens,n));break}case"list":{let o=i;r=r.concat(this.walkTokens(o.items,n));break}default:{let o=i;this.defaults.extensions?.childTokens?.[o.type]?this.defaults.extensions.childTokens[o.type].forEach(s=>{let a=o[s].flat(1/0);r=r.concat(this.walkTokens(a,n))}):o.tokens&&(r=r.concat(this.walkTokens(o.tokens,n)))}}return r}use(...e){let n=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(r=>{let i={...r};if(i.async=this.defaults.async||i.async||!1,r.extensions&&(r.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){let s=n.renderers[o.name];s?n.renderers[o.name]=function(...a){let l=o.renderer.apply(this,a);return l===!1&&(l=s.apply(this,a)),l}:n.renderers[o.name]=o.renderer}if("tokenizer"in o){if(!o.level||o.level!=="block"&&o.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let s=n[o.level];s?s.unshift(o.tokenizer):n[o.level]=[o.tokenizer],o.start&&(o.level==="block"?n.startBlock?n.startBlock.push(o.start):n.startBlock=[o.start]:o.level==="inline"&&(n.startInline?n.startInline.push(o.start):n.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(n.childTokens[o.name]=o.childTokens)}),i.extensions=n),r.renderer){let o=this.defaults.renderer||new xt(this.defaults);for(let s in r.renderer){if(!(s in o))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;let a=s,l=r.renderer[a],c=o[a];o[a]=(...u)=>{let p=l.apply(o,u);return p===!1&&(p=c.apply(o,u)),p||""}}i.renderer=o}if(r.tokenizer){let o=this.defaults.tokenizer||new yt(this.defaults);for(let s in r.tokenizer){if(!(s in o))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;let a=s,l=r.tokenizer[a],c=o[a];o[a]=(...u)=>{let p=l.apply(o,u);return p===!1&&(p=c.apply(o,u)),p}}i.tokenizer=o}if(r.hooks){let o=this.defaults.hooks||new nt;for(let s in r.hooks){if(!(s in o))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;let a=s,l=r.hooks[a],c=o[a];nt.passThroughHooks.has(s)?o[a]=u=>{if(this.defaults.async&&nt.passThroughHooksRespectAsync.has(s))return(async()=>{let h=await l.call(o,u);return c.call(o,h)})();let p=l.call(o,u);return c.call(o,p)}:o[a]=(...u)=>{if(this.defaults.async)return(async()=>{let h=await l.apply(o,u);return h===!1&&(h=await c.apply(o,u)),h})();let p=l.apply(o,u);return p===!1&&(p=c.apply(o,u)),p}}i.hooks=o}if(r.walkTokens){let o=this.defaults.walkTokens,s=r.walkTokens;i.walkTokens=function(a){let l=[];return l.push(s.call(this,a)),o&&(l=l.concat(o.call(this,a))),l}}this.defaults={...this.defaults,...i}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,n){return he.lex(e,n??this.defaults)}parser(e,n){return ge.parse(e,n??this.defaults)}parseMarkdown(e){return(n,r)=>{let i={...r},o={...this.defaults,...i},s=this.onError(!!o.silent,!!o.async);if(this.defaults.async===!0&&i.async===!1)return s(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof n>"u"||n===null)return s(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(o.hooks&&(o.hooks.options=o,o.hooks.block=e),o.async)return(async()=>{let a=o.hooks?await o.hooks.preprocess(n):n,l=await(o.hooks?await o.hooks.provideLexer(e):e?he.lex:he.lexInline)(a,o),c=o.hooks?await o.hooks.processAllTokens(l):l;o.walkTokens&&await Promise.all(this.walkTokens(c,o.walkTokens));let u=await(o.hooks?await o.hooks.provideParser(e):e?ge.parse:ge.parseInline)(c,o);return o.hooks?await o.hooks.postprocess(u):u})().catch(s);try{o.hooks&&(n=o.hooks.preprocess(n));let a=(o.hooks?o.hooks.provideLexer(e):e?he.lex:he.lexInline)(n,o);o.hooks&&(a=o.hooks.processAllTokens(a)),o.walkTokens&&this.walkTokens(a,o.walkTokens);let l=(o.hooks?o.hooks.provideParser(e):e?ge.parse:ge.parseInline)(a,o);return o.hooks&&(l=o.hooks.postprocess(l)),l}catch(a){return s(a)}}}onError(e,n){return r=>{if(r.message+=`
|
|
64
|
+
Please report this to https://github.com/markedjs/marked.`,e){let i="<p>An error occurred:</p><pre>"+ie(r.message+"",!0)+"</pre>";return n?Promise.resolve(i):i}if(n)return Promise.reject(r);throw r}}},Pe=new js;function H(t,e){return Pe.parse(t,e)}b(H,"d$b");A(H,"g");H.options=H.setOptions=function(t){return Pe.setOptions(t),H.defaults=Pe.defaults,rn(H.defaults),H};H.getDefaults=Lt;H.defaults=Re;H.use=function(...t){return Pe.use(...t),H.defaults=Pe.defaults,rn(H.defaults),H};H.walkTokens=function(t,e){return Pe.walkTokens(t,e)};H.parseInline=Pe.parseInline;H.Parser=ge;H.parser=ge.parse;H.Renderer=xt;H.TextRenderer=pn;H.Lexer=he;H.lexer=he.lex;H.Tokenizer=yt;H.Hooks=nt;H.parse=H;var Qn=H,Os=Object.defineProperty,Hs=b((t,e)=>Os(t,"name",{value:e,configurable:!0}),"r$3");const qs=["cjs","mjs"],Ns=["mdoc"],Ue=Hs(t=>{const e=(t.split("?")[0]??t).split(".").pop()?.toLowerCase();if(!e||qs.includes(e))return"javascript";if(Ns.includes(e))return"markdown";switch(e){case"js":case"cjs":case"mjs":return"javascript";case"json":return"json";case"json5":return"json5";case"jsonc":return"jsonc";case"jsx":return"jsx";case"sql":return"sql";case"ts":case"cts":case"mts":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";case"txt":return"text";default:return"javascript"}},"findLanguageBasedOnExtension"),Kn=500,Or="visulima:vite-overlay:error",Us="visulima-vite-overlay",Hr="Error",Gs="Runtime error",Ws=8,Jn="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",gt="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",er="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%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%20%2F%3E%20%3Cpath%20d%3D%22M12%206v6l4%202%22%20%2F%3E%20%3C%2Fsvg%3E",tr="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",nr="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",rr="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",or="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",kt="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 Zt=(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))(Zt||{}),Vs=`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
|
|
65
|
+
@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-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-duration:initial;--tw-outline-style:solid;--num:0}}}@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-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-lg:.5rem;--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,:host{color:var(--ono-v-text);font-feature-settings:"kern" 1;letter-spacing:-.01em;-webkit-font-smoothing:antialiased;box-sizing:border-box;background-color:#0000;font-family:Space Grotesk,system-ui,-apple-system,sans-serif;font-size:14px;line-height:1.5}pre,code{font-feature-settings:"kern" 1, "zero" 1;font-family:Space Mono,ui-monospace,Cascadia Code,monospace}a{color:var(--ono-v-link)}a:hover{text-decoration:underline}::selection{background:var(--ono-v-primary)}@supports (color:color-mix(in lab, red, red)){::selection{background:color-mix(in srgb, var(--ono-v-primary) 15%, transparent)}}kbd{background-color:var(--ono-v-chip-bg);color:var(--ono-v-chip-text);border:1px solid var(--ono-v-border);border-radius:0;padding:.125rem .375rem;font-family:inherit;font-size:.75rem}hr{border-color:var(--ono-v-border)}input:where([type=text]),input:where(:not([type])),input:where([type=email]),input:where([type=url]),input:where([type=password]),input:where([type=number]),input:where([type=date]),input:where([type=datetime-local]),input:where([type=month]),input:where([type=search]),input:where([type=tel]),input:where([type=time]),input:where([type=week]),select:where([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(input:where([type=text]),input:where(:not([type])),input:where([type=email]),input:where([type=url]),input:where([type=password]),input:where([type=number]),input:where([type=date]),input:where([type=datetime-local]),input:where([type=month]),input:where([type=search]),input:where([type=tel]),input:where([type=time]),input:where([type=week]),select:where([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{-webkit-print-color-adjust:exact;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}select:where([multiple]),select:where([size]:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;print-color-adjust:unset;padding-right:.75rem}input:where([type=checkbox]),input:where([type=radio]){appearance:none;-webkit-print-color-adjust:exact;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}input:where([type=checkbox]){border-radius:0}input:where([type=radio]){border-radius:100%}input:where([type=checkbox]):focus,input:where([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}input:where([type=checkbox]):checked,input:where([type=radio]):checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}input:where([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){input:where([type=checkbox]):checked{appearance:auto}}input:where([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){input:where([type=radio]):checked{appearance:auto}}input:where([type=checkbox]):checked:hover,input:where([type=checkbox]):checked:focus,input:where([type=radio]):checked:hover,input:where([type=radio]):checked:focus{background-color:currentColor;border-color:#0000}input:where([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){input:where([type=checkbox]):indeterminate{appearance:auto}}input:where([type=checkbox]):indeterminate:hover,input:where([type=checkbox]):indeterminate:focus{background-color:currentColor;border-color:#0000}input:where([type=file]){background:unset;border-color:inherit;font-size:unset;line-height:inherit;border-width:0;border-radius:0;padding:0}input:where([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)}.right-6{right:calc(var(--spacing) * 6)}.left-1\\/2{left:50%}.-z-1{z-index:calc(1 * -1)}.z-1{z-index:1}.z-10{z-index:10}.z-2147483646,.z-\\[2147483646\\]{z-index:2147483646}.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-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-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-1{margin-left:calc(var(--spacing) * 1)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.size-1\\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.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{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.h-5{height:calc(var(--spacing) * 5)}.h-10{height:calc(var(--spacing) * 10)}.h-\\[40vmin\\]{height:40vmin}.max-h-50{max-height:calc(var(--spacing) * 50)}.max-h-\\[80vh\\]{max-height:80vh}.max-h-\\[160px\\]{max-height:160px}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-screen{min-height:100vh}.w-7{width:calc(var(--spacing) * 7)}.w-44{width:calc(var(--spacing) * 44)}.w-\\[calc\\(100\\%-24px\\)\\]{width:calc(100% - 24px)}.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-full{max-width:100%}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-8{min-width:calc(var(--spacing) * 8)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.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}.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}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-6{gap:calc(var(--spacing) * 6)}: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-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-none{--tw-border-style:none;border-style:none}.border-\\(--ono-v-border\\){border-color:var(--ono-v-border)}.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-\\[var\\(--ono-v-surface-muted\\)\\]{background-color:var(--ono-v-surface-muted)}.bg-black\\/65{background-color:#000000a6}@supports (color:color-mix(in lab, red, red)){.bg-black\\/65{background-color:color-mix(in oklab, var(--color-black) 65%, 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-yellow-500{background-color:var(--color-yellow-500)}.p-2{padding:calc(var(--spacing) * 2)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.pe-6{padding-inline-end:calc(var(--spacing) * 6)}.pt-\\[8vh\\]{padding-top:8vh}.pr-1{padding-right:calc(var(--spacing) * 1)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.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-\\[calc\\(10px\\+2vmin\\)\\]{font-size:calc(10px + 2vmin)}.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-nowrap{white-space:nowrap}.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-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-90{opacity:.9}.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-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)}.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,)}.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-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-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.\\[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-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\\:opacity-90:hover{opacity:.9}.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-primary\\):focus{--tw-ring-color:var(--ono-v-primary)}.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-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\\:outline-\\(--ono-v-text\\):focus-visible{outline-color:var(--ono-v-text)}.active\\:opacity-80:active{opacity:.8}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-40:disabled{opacity:.4}@media (min-width:40rem){.sm\\:flex{display:flex}}@media (min-width:48rem){.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\\:bg-gray-700:where(.dark,.dark *){background-color:var(--color-gray-700)}.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)}}: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:;--brand-accent:#d71921;--brand-white:#fff;--brand-bg:#f5f5f5;--brand-border-visible:#ccc;--brand-text-secondary:#666;--brand-surface-dark:#111;--brand-black:#000;--color-background:#f5f5f5;--color-foreground:#1a1a1a;--color-card:#fff;--color-accent:#f0f0f0;--color-muted:#e8e8e8;--color-muted-foreground:#666;--color-primary:#d71921;--color-primary-foreground:#fff;--color-border:#e8e8e8;--color-ring:#ccc;--color-destructive:#d71921;--color-destructive-foreground:#fff;--color-success:#4a9e5c;--color-success-foreground:#4a9e5c;--color-warning:#d4a843;--color-info:#666;--ono-v-bg:var(--color-background);--ono-v-surface:var(--color-card);--ono-v-surface-muted:var(--color-accent);--ono-v-border:var(--color-border);--ono-v-text:var(--color-foreground);--ono-v-text-muted:var(--color-muted-foreground);--ono-v-primary:var(--color-primary);--ono-v-red-orange:var(--color-destructive);--ono-v-link:var(--color-foreground);--ono-v-chip-bg:var(--color-muted);--ono-v-chip-text:var(--color-foreground);--ono-v-hover-overlay:var(--color-foreground)}@supports (color:color-mix(in lab, red, red)){:host{--ono-v-hover-overlay:color-mix(in srgb, var(--color-foreground) 4%, transparent)}}:host{--ono-v-on-accent:var(--color-primary-foreground);--ono-v-neutral:var(--color-muted-foreground);--ono-v-neutral-bg:var(--color-muted);--ono-v-success:var(--color-success);--ono-v-success-bg:var(--color-success)}@supports (color:color-mix(in lab, red, red)){:host{--ono-v-success-bg:color-mix(in srgb, var(--color-success) 12%, transparent)}}.dark{--color-background:#000;--color-foreground:#e8e8e8;--color-card:#111;--color-accent:#1a1a1a;--color-muted:#222;--color-muted-foreground:#999;--color-primary:#d71921;--color-primary-foreground:#fff;--color-border:#222;--color-ring:#333;--color-destructive:#d71921;--color-destructive-foreground:#fff;--color-success:#4a9e5c;--color-success-foreground:#4a9e5c;--color-warning:#d4a843;--color-info:#999;--ono-v-bg:var(--color-background);--ono-v-surface:var(--color-card);--ono-v-surface-muted:var(--color-accent);--ono-v-border:var(--color-border);--ono-v-text:var(--color-foreground);--ono-v-text-muted:var(--color-muted-foreground);--ono-v-primary:var(--color-primary);--ono-v-red-orange:var(--color-destructive);--ono-v-link:var(--color-foreground);--ono-v-chip-bg:var(--color-muted);--ono-v-chip-text:var(--color-foreground);--ono-v-hover-overlay:#ffffff0d;--ono-v-on-accent:var(--color-primary-foreground);--ono-v-neutral:var(--color-muted-foreground);--ono-v-neutral-bg:var(--color-muted);--ono-v-success:var(--color-success);--ono-v-success-bg:var(--color-success)}@supports (color:color-mix(in lab, red, red)){.dark{--ono-v-success-bg:color-mix(in srgb, var(--color-success) 12%, transparent)}}@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}}: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:1px solid var(--ono-v-text);outline-offset:2px}.v-o-label{text-transform:uppercase;letter-spacing:.08em;font-family:Space Mono,ui-monospace,monospace;font-weight:700}.v-o-loading-text{text-transform:uppercase;letter-spacing:.06em;color:var(--ono-v-text-muted);font-family:Space Mono,ui-monospace,monospace;font-size:12px}.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;flex-shrink:0;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}select#editor-selector{background-color:var(--ono-v-surface);color:var(--ono-v-text);border-color:var(--ono-v-border);color-scheme:light}.dark select#editor-selector{color-scheme:dark;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='%23999999' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e")}#__v_o__stacktrace summary .dui{transition:transform .15s ease-out}#__v_o__stacktrace[open] summary .dui{transform:rotate(90deg)}:has(#__v_o__root){overflow:hidden}#__v_o__root:not(.hidden)[data-error-type=server]~#__v_o__balloon_group{display:none!important}.devtools-content-scroll{scrollbar-width:thin;scrollbar-color:var(--color-border) transparent}.devtools-content-scroll::-webkit-scrollbar{width:5px;height:5px}.devtools-content-scroll::-webkit-scrollbar-track{background:0 0}.devtools-content-scroll::-webkit-scrollbar-thumb{background:var(--color-border)}.devtools-content-scroll::-webkit-scrollbar-thumb:hover{background:var(--color-muted-foreground)}#__v_o__root.scrolling-history{-webkit-user-select:none;user-select:none;cursor:grab}#__v_o__root.scrolling-history:active{cursor:grabbing}@property --num{syntax:"<integer>";inherits:false;initial-value:0}#__v_o__balloon_count{counter-reset:num var(--num);font-variant-numeric:tabular-nums;color:#fff;font-size:13px;font-weight:700;line-height:1}#__v_o__balloon_count:after{content:counter(num)}#__v_o__balloon_count.animate-count-up{animation:.2s ease-out forwards counter-animate}@keyframes counter-animate{0%{--num:var(--num-start)}to{--num:var(--num-end)}}@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-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-duration{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@keyframes spin{to{transform:rotate(360deg)}}`;const ir=`/* eslint-disable no-bitwise */
|
|
66
66
|
/* eslint-disable class-methods-use-this */
|
|
67
67
|
/* eslint-disable sonarjs/cognitive-complexity */
|
|
68
68
|
/* eslint-disable no-param-reassign */
|
|
@@ -1725,7 +1725,7 @@ class ErrorOverlay extends HTMLElement {
|
|
|
1725
1725
|
this._updateHistoryToggleVisibility();
|
|
1726
1726
|
}
|
|
1727
1727
|
}
|
|
1728
|
-
`;var
|
|
1728
|
+
`;var Zs=Object.defineProperty,ve=b((t,e)=>Zs(t,"name",{value:e,configurable:!0}),"i$6");const Ys=/([A-Z])/g,sr='<option value="">Auto-detected Editor</option>',Xs="class ErrorOverlay",Qs="var ErrorOverlay = ",Ks="window.ErrorOverlay = ErrorOverlay;",Js=ve(()=>{try{const t=Object.keys(Zt);return[sr,...t.map(e=>`<option value="${String(e)}">${String(Zt[e])}</option>`)].join("")}catch{return sr}},"generateEditorOptions"),ea=ve((t,e,n=!1)=>`<div id="${t}" class="fixed inset-0 z-[2147483646] flex flex-col items-center pt-[8vh] px-4 pb-4 hidden">
|
|
1729
1729
|
<div id="__v_o__backdrop" class="fixed inset-0 -z-1 bg-black/65 pointer-events-auto"></div>
|
|
1730
1730
|
<div class="relative z-1 w-full max-w-(--ono-v-dialog-max-width) mx-auto flex flex-col">
|
|
1731
1731
|
|
|
@@ -1758,7 +1758,7 @@ class ErrorOverlay extends HTMLElement {
|
|
|
1758
1758
|
</button>
|
|
1759
1759
|
<button id="__v_o__history_toggle" type="button" title="Toggle Error History" aria-label="Toggle Error History"
|
|
1760
1760
|
class="error-overlay-history-button inline-flex items-center justify-center size-7 hover:bg-(--ono-v-hover-overlay) active:opacity-80 transition-opacity duration-150 focus-visible:outline-1 focus-visible:outline-(--ono-v-text)">
|
|
1761
|
-
<span class="dui size-4" style="-webkit-mask-image: url('${
|
|
1761
|
+
<span class="dui size-4" style="-webkit-mask-image: url('${er}'); mask-image: url('${er}')"></span>
|
|
1762
1762
|
</button>
|
|
1763
1763
|
<div id="__v_o__history_indicator" class="flex items-center gap-1 text-xs text-(--ono-v-text-muted) hidden">
|
|
1764
1764
|
<span id="__v_o__history_count">0</span>
|
|
@@ -1785,19 +1785,19 @@ class ErrorOverlay extends HTMLElement {
|
|
|
1785
1785
|
<button type="button" title="Switch to dark mode" aria-label="Switch to dark mode"
|
|
1786
1786
|
class="hover:bg-(--ono-v-hover-overlay) active:opacity-80 transition-opacity duration-150 text-(--ono-v-text)" data-v-o-theme-click-value="dark">
|
|
1787
1787
|
<span class="inline-flex items-center justify-center size-8">
|
|
1788
|
-
<span class="dui size-4" style="-webkit-mask-image: url('${
|
|
1788
|
+
<span class="dui size-4" style="-webkit-mask-image: url('${rr}'); mask-image: url('${rr}')"></span>
|
|
1789
1789
|
</span>
|
|
1790
1790
|
</button>
|
|
1791
1791
|
<button type="button" title="Switch to light mode" aria-label="Switch to light mode"
|
|
1792
1792
|
class="hidden hover:bg-(--ono-v-hover-overlay) active:opacity-80 transition-opacity duration-150 text-(--ono-v-text)" data-v-o-theme-click-value="light">
|
|
1793
1793
|
<span class="inline-flex items-center justify-center size-8">
|
|
1794
|
-
<span class="dui size-4" style="-webkit-mask-image: url('${
|
|
1794
|
+
<span class="dui size-4" style="-webkit-mask-image: url('${or}'); mask-image: url('${or}')"></span>
|
|
1795
1795
|
</span>
|
|
1796
1796
|
</button>
|
|
1797
1797
|
</div>
|
|
1798
1798
|
<button type="button" id="__v_o__copy_error" title="Copy Error Info" aria-label="Copy Error Info"
|
|
1799
1799
|
class="inline-flex items-center justify-center size-8 hover:bg-(--ono-v-hover-overlay) active:opacity-80 transition-opacity duration-150 text-(--ono-v-text)">
|
|
1800
|
-
<span class="dui size-4" style="-webkit-mask-image: url('${
|
|
1800
|
+
<span class="dui size-4" style="-webkit-mask-image: url('${tr}'); mask-image: url('${tr}')"></span>
|
|
1801
1801
|
</button>
|
|
1802
1802
|
<button type="button" id="__v_o__close" aria-label="Close error overlay"
|
|
1803
1803
|
class="inline-flex items-center justify-center size-8 hover:bg-(--ono-v-hover-overlay) active:opacity-80 transition-opacity duration-150 text-(--ono-v-text)">
|
|
@@ -1832,7 +1832,7 @@ class ErrorOverlay extends HTMLElement {
|
|
|
1832
1832
|
|
|
1833
1833
|
<div id="__v_o__solutions" class="relative hidden">
|
|
1834
1834
|
<div title="Possible Solution" class="absolute top-4 right-6 z-10 size-6 flex items-center justify-center" style="background-color: var(--ono-v-success);">
|
|
1835
|
-
<span class="dui size-4" style="-webkit-mask-image: url('${
|
|
1835
|
+
<span class="dui size-4" style="-webkit-mask-image: url('${nr}'); mask-image: url('${nr}')"></span>
|
|
1836
1836
|
</div>
|
|
1837
1837
|
<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 dark:prose-invert"></div>
|
|
1838
1838
|
</div>
|
|
@@ -1863,7 +1863,7 @@ class ErrorOverlay extends HTMLElement {
|
|
|
1863
1863
|
<div id="__v_o__history_layer_depth_2" class="relative w-[calc(100%-24px)] h-5 bg-(--ono-v-surface-muted) border border-(--ono-v-border) border-t-0 -mt-3 -z-1"></div>
|
|
1864
1864
|
</div>
|
|
1865
1865
|
</div>
|
|
1866
|
-
</div>`,"rootElement"),
|
|
1866
|
+
</div>`,"rootElement"),ta=ve((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"),qr=ve(t=>{const e=[];return Object.entries(t).forEach(([n,r])=>{if(r!=null){const i=n.replaceAll(Ys,"-$1").toLowerCase();e.push(`${i}: ${String(r)};`)}}),e.join(" ")},"cssPropertiesToString"),na=ve(t=>t?typeof t=="string"?t:qr(t):"","generateStyles"),ra=ve(t=>{if(t?.enabled===!1)return"";const e=t?.position||"bottom-right",n=na(t?.style),r=ta(e),i=t?.icon?`<img src="${t.icon}" alt="" class="size-4" />`:"";return`<div id="__v_o__balloon_group" class="fixed z-2147483646 inline-flex" data-balloon-position="${e}" style="${n} ${r}">
|
|
1867
1867
|
<!-- Toggle button: count + label -->
|
|
1868
1868
|
<button type="button" id="__v_o__balloon" title="Toggle error overlay" aria-label="Toggle error overlay"
|
|
1869
1869
|
class="flex items-center gap-1.5 px-3 py-2 text-white cursor-pointer hover:opacity-90 active:opacity-80 transition-opacity duration-150" style="background: var(--ono-v-red-orange);">
|
|
@@ -1876,44 +1876,44 @@ class ErrorOverlay extends HTMLElement {
|
|
|
1876
1876
|
class="flex items-center justify-center w-7 shrink-0 text-white cursor-pointer hover:opacity-90 active:opacity-80 transition-opacity duration-150" style="background: var(--ono-v-red-orange); border-left: 1px solid rgba(255,255,255,0.15);">
|
|
1877
1877
|
<span class="dui size-3" style="-webkit-mask-image: url('${kt}'); mask-image: url('${kt}')"></span>
|
|
1878
1878
|
</button>
|
|
1879
|
-
</div>`},"generateBalloonButton"),
|
|
1879
|
+
</div>`},"generateBalloonButton"),oa=ve(t=>t?typeof t=="string"?t:qr(t):"","customCSSToString"),ia=ve((t,e,n)=>{const r=Js(),i=oa(n),o=i?`<style>${i}</style>`:"";return`<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
1880
1880
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
1881
1881
|
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap" rel="stylesheet">
|
|
1882
|
-
<style>${
|
|
1882
|
+
<style>${Vs}</style>
|
|
1883
1883
|
${o}
|
|
1884
|
-
${
|
|
1884
|
+
${ea("__v_o__root",r)}
|
|
1885
1885
|
|
|
1886
|
-
${t?
|
|
1887
|
-
${
|
|
1888
|
-
class ViteErrorOverlay`);return s=s.replace(
|
|
1889
|
-
${
|
|
1886
|
+
${t?ra(e):""}`},"generateOverlayTemplate"),sa=ve((t,e,n,r)=>{const i=ia(e,n,r),o=`const overlayTemplate = ${JSON.stringify(i)};`;let s=t.replace(Xs,`${o}
|
|
1887
|
+
${ir}
|
|
1888
|
+
class ViteErrorOverlay`);return s=s.replace(Qs,`${o}
|
|
1889
|
+
${ir}
|
|
1890
1890
|
var ViteErrorOverlay = `),s=`${s}
|
|
1891
1891
|
|
|
1892
|
-
${
|
|
1893
|
-
`)}</ul>`;if(
|
|
1894
|
-
`),header:"Environment Variables"},test:
|
|
1895
|
-
`)},test:
|
|
1896
|
-
`),r=n.findIndex(o=>o.includes(e));if(r===-1)return;const i=n[r]||"";return{column:Math.max(0,i.indexOf(e))+1,line:r+1}},"findImportLocation"),Da=we(async(t,e,n)=>{const r=Ca.exec(t.message)?.[1];if(r&&(t.title="Failed to Load Module (SSR)",t.name="FailedToLoadModuleSSR",t.message=`Failed to load module: ${r}`,t.hint="Verify import path, ensure a plugin handles this file type during SSR, and check for typos or missing files.",n&&e)){const i=Nr(n,r);i&&(t.loc={...i,file:e})}},"enhanceFailedLoadError"),Aa=we(async(t,e,n)=>{const r=La.exec(t.message)?.[1];if(r&&(t.name="InvalidGlob",t.title="Invalid Glob Pattern",t.message=`Invalid glob pattern: ${r}`,t.hint=t.hint||"Ensure your glob follows the expected syntax and matches existing files. Avoid unintended special characters.",n&&e)){const i=Nr(n,r);i&&(t.loc={...i,file:e})}},"enhanceGlobError"),Ma=we(async(t,e)=>{const n=Ta(t);Pa(e,n);const r=Ra(n),i=r?await Fa(r):void 0;return await Da(n,r,i),za(n,r),await Aa(n,r,i),n},"enhanceViteSsrError");var Ia=Object.defineProperty,G=b((t,e)=>Ia(t,"name",{value:e,configurable:!0}),"t$1");const Ur={javascript:G(()=>import("@shikijs/langs/javascript"),"javascript"),typescript:G(()=>import("@shikijs/langs/typescript"),"typescript"),jsx:G(()=>import("@shikijs/langs/jsx"),"jsx"),tsx:G(()=>import("@shikijs/langs/tsx"),"tsx"),json:G(()=>import("@shikijs/langs/json"),"json"),jsonc:G(()=>import("@shikijs/langs/jsonc"),"jsonc"),xml:G(()=>import("@shikijs/langs/xml"),"xml"),sql:G(()=>import("@shikijs/langs/sql"),"sql"),markdown:G(()=>import("@shikijs/langs/markdown"),"markdown"),mdx:G(()=>import("@shikijs/langs/mdx"),"mdx"),html:G(()=>import("@shikijs/langs/html"),"html"),css:G(()=>import("@shikijs/langs/css"),"css"),scss:G(()=>import("@shikijs/langs/scss"),"scss"),less:G(()=>import("@shikijs/langs/less"),"less"),sass:G(()=>import("@shikijs/langs/sass"),"sass"),stylus:G(()=>import("@shikijs/langs/stylus"),"stylus"),styl:G(()=>import("@shikijs/langs/styl"),"styl"),svelte:G(()=>import("@shikijs/langs/svelte"),"svelte"),vue:G(()=>import("@shikijs/langs/vue"),"vue"),bash:G(()=>import("@shikijs/langs/bash"),"bash"),shell:G(()=>import("@shikijs/langs/shell"),"shell"),text:G(()=>Promise.resolve({name:"text",patterns:[],scopeName:"source.text",repository:{}}),"text")};G(async t=>{if(typeof t!="string"||!t)return;const e=Ur[t.toLowerCase()];if(e)return await e()},"getLanguageImport");var Ba=Object.defineProperty,Ge=b((t,e)=>Ba(t,"name",{value:e,configurable:!0}),"a$7");let ft,vt;const ja=Ge(async()=>{const[t,e]=await Promise.all([import("shiki/core"),import("shiki/engine/javascript")]),{createHighlighterCore:n}=t,{createJavaScriptRegexEngine:r}=e,i=await n({themes:[import("./packem_chunks/min-dark.js"),import("./packem_chunks/min-light.js")],langs:[],engine:r()}),o=i;return vt=Ge(()=>{try{i?.dispose?.()}catch{}ft=void 0},"disposeFn"),o},"createSingletonHighlighter"),Oa=Ge(async(t,e)=>{if(e==="text")return;const n=e.toLowerCase();if(!(t.getLoadedLanguages?.()??t.getLanguages?.()??[]).includes(n)){const r=Ur[n];r&&await t.loadLanguage?.(await r())}},"ensureLanguageLoaded"),Gr=Ge(async(t=[])=>{ft||(ft=ja());const e=await ft,n=[];for(const r of t)if(typeof r=="string")n.push(r.toLowerCase());else{const i=r.name;i&&n.push(i.toLowerCase())}return await Promise.all(n.map(r=>Oa(e,r))),e},"getHighlighter");Ge(async()=>{try{vt&&(vt(),vt=void 0)}catch{}},"disposeHighlighter");const lr=Ge((t=[])=>({name:"@shikijs/transformers:compact-line-options",line(e,n){const r=t.find(i=>i.line===n);return r?.classes&&this.addClassToHast(e,r.classes),e}}),"transformerCompactLineOptions");var Ha=Object.defineProperty,Wr=b((t,e)=>Ha(t,"name",{value:e,configurable:!0}),"s$2");const qa=Wr(t=>!Array.isArray(t)||t.length===0?!1:t.some(e=>e&&typeof e=="object"&&("location"in e||"pluginName"in e||"text"in e)),"isESBuildErrorArray"),Na=Wr(t=>t.map((e,n)=>{const{location:r,pluginName:i,text:o}=e,s={message:o||`ESBuild error #${n+1}`,name:e.name||"Error",stack:e.stack||""};return r&&(s.file=r.file,s.line=r.line,s.column=r.column),i&&(s.plugin=i),s}),"processESBuildErrors");var Ua=Object.defineProperty,Vr=b((t,e)=>Ua(t,"name",{value:e,configurable:!0}),"c$7");const Ga=/^\/@fs\//,Wa=/^[./]*/,Va=Vr((t,e)=>{for(const[n,r]of t.moduleGraph.idToModuleMap){if(!r)continue;const i=r,o=[String(i.file||"").replaceAll("\\","/"),String(n||"").replaceAll("\\","/"),String(i.url||"").replaceAll("\\","/")];for(const s of e)if(o.some(a=>a===s||a.includes(s)||s.includes(a)))return r}},"findBestModuleMatch"),it=Vr((t,e)=>{const n=[...e,...e.map(o=>o.replace(Ga,"")),...e.map(o=>o.replace(Wa,""))];let r,i=0;for(const o of n)try{const s=t.moduleGraph.getModuleById(o);if(s){const c=Object.keys(s).length>0,l=!!s.transformResult;let d=0;if(c&&l?d=2:c&&(d=1),c&&(d>i&&(r=s,i=d),l))return s}const a=t.moduleGraph.getModuleByUrl?.(o);if(a){const c=Object.keys(a).length>0,l=!!a.transformResult;let d=0;if(c&&l?d=2:c&&(d=1),c&&(d>i&&(r=a,i=d),l))return a}}catch{}return r||Va(t,e)||void 0},"findModuleForPath");var Za=Object.defineProperty,hn=b((t,e)=>Za(t,"name",{value:e,configurable:!0}),"r$1");const Ya=/^https?:\/\//,Xa=/^\/@fs\//,Qa=hn(t=>{const e=new URL(t),{pathname:n}=e,r=e.search||"",i=[n+r,n,n.replace(Xa,""),decodeURIComponent(n+r),decodeURIComponent(n)];return[...new Set(i)].filter(Boolean)},"generateUrlCandidates"),Zr=hn(t=>Ya.test(t),"isHttpUrl"),Ce=hn(t=>{if(!t)return[];try{if(Zr(t))return Qa(t);const e=[t];if(t.startsWith("/")&&e.push(t.slice(1)),t.includes("?")){const n=t.split("?")[0];n&&e.push(n)}return[...new Set(e)].filter(Boolean)}catch(e){return console.warn(`Failed to normalize path "${t}":`,e),[]}},"normalizeIdCandidates");var Ja=Object.defineProperty,_e=b((t,e)=>Ja(t,"name",{value:e,configurable:!0}),"o$2");const Yr=/\n/,Ka=/\s+/g,el=/[A-Z_$][\w$]{2,}/i,tl=/\s/,nl=_e((t,e)=>t.split(Yr)[e-1]??"","getLine"),cr=_e(t=>t.replaceAll(Ka,""),"removeWhitespace"),rl=_e((t,e)=>{if(e<=0||e>t.length)return"";const n=Math.max(0,e-1),r=t.slice(n,n+64),i=el.exec(r);if(i?.[0])return i[0];let o=r.trim();return o.length<4&&(o=t.slice(Math.max(0,n-16),n+16).trim()),o},"extractCandidateToken"),ol=_e((t,e)=>{let n=0;for(const[r,i]of[...t].entries())if(typeof i=="string"){if(n===e)return r+1;tl.test(i)||(n+=1)}return-1},"mapNormalizedToOriginalPosition"),il=_e((t,e)=>{if(!(!t||t.length<3))for(const[n,r]of e.entries()){if(!r)continue;const i=r.indexOf(t);if(i!==-1)return{column:i+1,line:n+1}}},"tryTokenBasedSearch"),sl=_e((t,e)=>{if(t)for(const[n,r]of e.entries()){if(!r)continue;const i=r.indexOf(t);if(i!==-1)return{column:i+1,line:n+1}}},"tryLineSubstringSearch"),al=_e((t,e)=>{if(!t)return;const n=cr(t);if(n)for(const[r,i]of e.entries()){if(!i)continue;const o=cr(i).indexOf(n);if(o!==-1){const s=ol(i,o);if(s!==-1)return{column:s,line:r+1}}}},"tryWhitespaceInsensitiveSearch"),ll=_e((t,e,n,r)=>{const i=nl(t,e);if(!i)return;const o=r.split(Yr),s=rl(i,n);return il(s,o)||sl(i.trim(),o)||al(i.trim(),o)},"realignOriginalPosition");var cl=Object.defineProperty,te=b((t,e)=>cl(t,"name",{value:e,configurable:!0}),"C$6"),We=44,Xr=59,dr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Qr=new Uint8Array(64),Jr=new Uint8Array(128);for(let t=0;t<dr.length;t++){const e=dr.charCodeAt(t);Qr[t]=e,Jr[e]=t}function N(t,e){let n=0,r=0,i=0;do{const s=t.next();i=Jr[s],n|=(i&31)<<r,r+=5}while(i&32);const o=n&1;return n>>>=1,o&&(n=-2147483648|-n),e+n}b(N,"h$2");te(N,"decodeInteger");function B(t,e,n){let r=e-n;r=r<0?-r<<1|1:r<<1;do{let i=r&31;r>>>=5,r>0&&(i|=32),t.write(Qr[i])}while(r>0);return e}b(B,"i$4");te(B,"encodeInteger");function fe(t,e){return t.pos>=e?!1:t.peek()!==We}b(fe,"S$2");te(fe,"hasMoreVlq");var ur=1024*16,pr=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(t){return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}}:{decode(t){let e="";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e}},gn=class{static{b(this,"T")}static{te(this,"StringWriter")}constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(ur)}write(e){const{buffer:n}=this;n[this.pos++]=e,this.pos===ur&&(this.out+=pr.decode(n),this.pos=0)}flush(){const{buffer:e,out:n,pos:r}=this;return r>0?n+pr.decode(e.subarray(0,r)):n}},mn=class{static{b(this,"w")}static{te(this,"StringReader")}constructor(e){this.pos=0,this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){const{buffer:n,pos:r}=this,i=n.indexOf(e,r);return i===-1?n.length:i}},Kr=[];function dl(t){const{length:e}=t,n=new mn(t),r=[],i=[];let o=0;for(;n.pos<e;n.pos++){o=N(n,o);const s=N(n,0);if(!fe(n,e)){const d=i.pop();d[2]=o,d[3]=s;continue}const a=N(n,0),c=N(n,0)&1?[o,s,0,0,a,N(n,0)]:[o,s,0,0,a];let l=Kr;if(fe(n,e)){l=[];do{const d=N(n,0);l.push(d)}while(fe(n,e))}c.vars=l,r.push(c),i.push(c)}return r}b(dl,"z");te(dl,"decodeOriginalScopes");function ul(t){const e=new gn;for(let n=0;n<t.length;)n=fn(t,n,e,[0]);return e.flush()}b(ul,"F$4");te(ul,"encodeOriginalScopes");function fn(t,e,n,r){const i=t[e],{0:o,1:s,2:a,3:c,4:l,vars:d}=i;e>0&&n.write(We),r[0]=B(n,o,r[0]),B(n,s,0),B(n,l,0);const p=i.length===6?1:0;B(n,p,0),i.length===6&&B(n,i[5],0);for(const h of d)B(n,h,0);for(e++;e<t.length;){const h=t[e],{0:f,1:v}=h;if(f>a||f===a&&v>=c)break;e=fn(t,e,n,r)}return n.write(We),r[0]=B(n,a,r[0]),B(n,c,0),e}b(fn,"P$4");te(fn,"_encodeOriginalScopes");function pl(t){const{length:e}=t,n=new mn(t),r=[],i=[];let o=0,s=0,a=0,c=0,l=0,d=0,p=0,h=0;do{const f=n.indexOf(";");let v=0;for(;n.pos<f;n.pos++){if(v=N(n,v),!fe(n,f)){const M=i.pop();M[2]=o,M[3]=v;continue}const m=N(n,0),k=m&1,L=m&2,T=m&4;let $=null,R=Kr,A;if(k){const M=N(n,s);a=N(n,s===M?a:0),s=M,A=[o,v,0,0,M,a]}else A=[o,v,0,0];if(A.isScope=!!T,L){const M=c,j=l;c=N(n,c);const U=M===c;l=N(n,U?l:0),d=N(n,U&&j===l?d:0),$=[c,l,d]}if(A.callsite=$,fe(n,f)){R=[];do{p=o,h=v;const M=N(n,0);let j;if(M<-1){j=[[N(n,0)]];for(let U=-1;U>M;U--){const O=p;p=N(n,p),h=N(n,p===O?h:0);const ce=N(n,0);j.push([ce,p,h])}}else j=[[M]];R.push(j)}while(fe(n,f))}A.bindings=R,r.push(A),i.push(A)}o++,n.pos=f+1}while(n.pos<e);return r}b(pl,"H$2");te(pl,"decodeGeneratedRanges");function hl(t){if(t.length===0)return"";const e=new gn;for(let n=0;n<t.length;)n=vn(t,n,e,[0,0,0,0,0,0,0]);return e.flush()}b(hl,"J$1");te(hl,"encodeGeneratedRanges");function vn(t,e,n,r){const i=t[e],{0:o,1:s,2:a,3:c,isScope:l,callsite:d,bindings:p}=i;r[0]<o?(Yt(n,r[0],o),r[0]=o,r[1]=0):e>0&&n.write(We),r[1]=B(n,i[1],r[1]);const h=(i.length===6?1:0)|(d?2:0)|(l?4:0);if(B(n,h,0),i.length===6){const{4:f,5:v}=i;f!==r[2]&&(r[3]=0),r[2]=B(n,f,r[2]),r[3]=B(n,v,r[3])}if(d){const{0:f,1:v,2:m}=i.callsite;f!==r[4]?(r[5]=0,r[6]=0):v!==r[5]&&(r[6]=0),r[4]=B(n,f,r[4]),r[5]=B(n,v,r[5]),r[6]=B(n,m,r[6])}if(p)for(const f of p){f.length>1&&B(n,-f.length,0);const v=f[0][0];B(n,v,0);let m=o,k=s;for(let L=1;L<f.length;L++){const T=f[L];m=B(n,T[1],m),k=B(n,T[2],k),B(n,T[0],0)}}for(e++;e<t.length;){const f=t[e],{0:v,1:m}=f;if(v>a||v===a&&m>=c)break;e=vn(t,e,n,r)}return r[0]<a?(Yt(n,r[0],a),r[0]=a,r[1]=0):n.write(We),r[1]=B(n,c,r[1]),e}b(vn,"V$1");te(vn,"_encodeGeneratedRanges");function Yt(t,e,n){do t.write(Xr);while(++e<n)}b(Yt,"U$2");te(Yt,"catchupLine");function eo(t){const{length:e}=t,n=new mn(t),r=[];let i=0,o=0,s=0,a=0,c=0;do{const l=n.indexOf(";"),d=[];let p=!0,h=0;for(i=0;n.pos<l;){let f;i=N(n,i),i<h&&(p=!1),h=i,fe(n,l)?(o=N(n,o),s=N(n,s),a=N(n,a),fe(n,l)?(c=N(n,c),f=[i,o,s,a,c]):f=[i,o,s,a]):f=[i],d.push(f),n.pos++}p||to(d),r.push(d),n.pos=l+1}while(n.pos<=e);return r}b(eo,"K$1");te(eo,"decode");function to(t){t.sort(no)}b(to,"Q$4");te(to,"sort");function no(t,e){return t[0]-e[0]}b(no,"X$3");te(no,"sortComparator");function ro(t){const e=new gn;let n=0,r=0,i=0,o=0;for(let s=0;s<t.length;s++){const a=t[s];if(s>0&&e.write(Xr),a.length===0)continue;let c=0;for(let l=0;l<a.length;l++){const d=a[l];l>0&&e.write(We),c=B(e,d[0],c),d.length!==1&&(n=B(e,d[1],n),r=B(e,d[2],r),i=B(e,d[3],i),d.length!==4&&(o=B(e,d[4],o)))}}return e.flush()}b(ro,"Z$3");te(ro,"encode");var gl=Object.defineProperty,re=b((t,e)=>gl(t,"name",{value:e,configurable:!0}),"c$5");const ml=/^[\w+.-]+:\/\//,fl=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,vl=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function oo(t){return ml.test(t)}b(oo,"R$4");re(oo,"isAbsoluteUrl");function io(t){return t.startsWith("//")}b(io,"q$2");re(io,"isSchemeRelativeUrl");function wn(t){return t.startsWith("/")}b(wn,"m$5");re(wn,"isAbsolutePath");function so(t){return t.startsWith("file:")}b(so,"v$4");re(so,"isFileUrl");function Xt(t){return/^[.?#]/.test(t)}b(Xt,"u$1");re(Xt,"isRelative");function rt(t){const e=fl.exec(t);return bn(e[1],e[2]||"",e[3],e[4]||"",e[5]||"/",e[6]||"",e[7]||"")}b(rt,"f$6");re(rt,"parseAbsoluteUrl");function ao(t){const e=vl.exec(t),n=e[2];return bn("file:","",e[1]||"","",wn(n)?n:"/"+n,e[3]||"",e[4]||"")}b(ao,"w$4");re(ao,"parseFileUrl");function bn(t,e,n,r,i,o,s){return{scheme:t,user:e,host:n,port:r,path:i,query:o,hash:s,type:7}}b(bn,"y$4");re(bn,"makeUrl");function Qt(t){if(io(t)){const n=rt("http:"+t);return n.scheme="",n.type=6,n}if(wn(t)){const n=rt("http://foo.com"+t);return n.scheme="",n.host="",n.type=5,n}if(so(t))return ao(t);if(oo(t))return rt(t);const e=rt("http://foo.com/"+t);return e.scheme="",e.host="",e.type=t?t.startsWith("?")?3:t.startsWith("#")?2:4:1,e}b(Qt,"p$2");re(Qt,"parseUrl");function lo(t){if(t.endsWith("/.."))return t;const e=t.lastIndexOf("/");return t.slice(0,e+1)}b(lo,"P$3");re(lo,"stripPathFilename");function co(t,e){yn(e,e.type),t.path==="/"?t.path=e.path:t.path=lo(e.path)+t.path}b(co,"A$3");re(co,"mergePaths");function yn(t,e){const n=e<=4,r=t.path.split("/");let i=1,o=0,s=!1;for(let c=1;c<r.length;c++){const l=r[c];if(!l){s=!0;continue}if(s=!1,l!=="."){if(l===".."){o?(s=!0,o--,i--):n&&(r[i++]=l);continue}r[i++]=l,o++}}let a="";for(let c=1;c<i;c++)a+="/"+r[c];(!a||s&&!a.endsWith("/.."))&&(a+="/"),t.path=a}b(yn,"d$5");re(yn,"normalizePath");function uo(t,e){if(!t&&!e)return"";const n=Qt(t);let r=n.type;if(e&&r!==7){const o=Qt(e),s=o.type;switch(r){case 1:n.hash=o.hash;case 2:n.query=o.query;case 3:case 4:co(n,o);case 5:n.user=o.user,n.host=o.host,n.port=o.port;case 6:n.scheme=o.scheme}s>r&&(r=s)}yn(n,r);const i=n.query+n.hash;switch(r){case 2:case 3:return i;case 4:{const o=n.path.slice(1);return o?Xt(e||t)&&!Xt(o)?"./"+o+i:o+i:i||"."}case 5:return n.path+i;default:return n.scheme+"//"+n.user+n.host+n.port+n.path+i}}b(uo,"F$3");re(uo,"resolve");var wl=Object.defineProperty,P=b((t,e)=>wl(t,"name",{value:e,configurable:!0}),"i$3");function po(t){if(!t)return"";const e=t.lastIndexOf("/");return t.slice(0,e+1)}b(po,"ae$2");P(po,"stripFilename");function ho(t,e){const n=po(t),r=e?e+"/":"";return i=>uo(r+(i||""),n)}b(ho,"ge");P(ho,"resolver");var ae=0,xn=1,kn=2,_n=3,go=4,mo=1,fo=2;function vo(t,e){const n=Jt(t,0);if(n===t.length)return t;e||(t=t.slice());for(let r=n;r<t.length;r=Jt(t,r+1))t[r]=bo(t[r],e);return t}b(vo,"he");P(vo,"maybeSort");function Jt(t,e){for(let n=e;n<t.length;n++)if(!wo(t[n]))return n;return t.length}b(Jt,"X$2");P(Jt,"nextUnsortedSegmentLine");function wo(t){for(let e=1;e<t.length;e++)if(t[e][ae]<t[e-1][ae])return!1;return!0}b(wo,"_e");P(wo,"isSorted");function bo(t,e){return e||(t=t.slice()),t.sort($n)}b(bo,"ve$1");P(bo,"sortSegments");function $n(t,e){return t[ae]-e[ae]}b($n,"$$2");P($n,"sortComparator");function yo(t,e){const n=e.map(()=>[]);for(let r=0;r<t.length;r++){const i=t[r];for(let o=0;o<i.length;o++){const s=i[o];if(s.length===1)continue;const a=s[xn],c=s[kn],l=s[_n],d=n[a];(d[c]||(d[c]=[])).push([l,r,s[ae]])}}for(let r=0;r<n.length;r++){const i=n[r];for(let o=0;o<i.length;o++){const s=i[o];s&&s.sort($n)}}return n}b(yo,"Se");P(yo,"buildBySources");var Le=!1;function xo(t,e,n,r){for(;n<=r;){const i=n+(r-n>>1),o=t[i][ae]-e;if(o===0)return Le=!0,i;o<0?n=i+1:r=i-1}return Le=!1,n-1}b(xo,"Ee$1");P(xo,"binarySearch");function En(t,e,n){for(let r=n+1;r<t.length&&t[r][ae]===e;n=r++);return n}b(En,"H$1");P(En,"upperBound");function Sn(t,e,n){for(let r=n-1;r>=0&&t[r][ae]===e;n=r--);return n}b(Sn,"Y");P(Sn,"lowerBound");function Cn(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}b(Cn,"k$2");P(Cn,"memoizedState");function ko(t,e,n,r){const{lastKey:i,lastNeedle:o,lastIndex:s}=n;let a=0,c=t.length-1;if(r===i){if(e===o)return Le=s!==-1&&t[s][ae]===e,s;e>=o?a=s===-1?0:s:c=s}return n.lastKey=r,n.lastNeedle=e,n.lastIndex=xo(t,e,a,c)}b(ko,"Me$1");P(ko,"memoizedBinarySearch");function Rt(t){return typeof t=="string"?JSON.parse(t):t}b(Rt,"j");P(Rt,"parse");P(function(t,e){const n=Rt(t);if(!("sections"in n))return new zt(n,e);const r=[],i=[],o=[],s=[],a=[];Ln(n,e,r,i,o,s,a,0,0,1/0,1/0);const c={version:3,file:n.file,names:s,sources:i,sourcesContent:o,mappings:r,ignoreList:a};return To(c)},"FlattenMap");function Ln(t,e,n,r,i,o,s,a,c,l,d){const{sections:p}=t;for(let h=0;h<p.length;h++){const{map:f,offset:v}=p[h];let m=l,k=d;if(h+1<p.length){const L=p[h+1].offset;m=Math.min(l,a+L.line),m===l?k=Math.min(d,c+L.column):m<l&&(k=c+L.column)}_o(f,e,n,r,i,o,s,a+v.line,c+v.column,m,k)}}b(Ln,"ee$2");P(Ln,"recurse");function _o(t,e,n,r,i,o,s,a,c,l,d){const p=Rt(t);if("sections"in p)return Ln(...arguments);const h=new zt(p,e),f=r.length,v=o.length,m=Fe(h),{resolvedSources:k,sourcesContent:L,ignoreList:T}=h;if(wt(r,k),wt(o,h.names),L)wt(i,L);else for(let $=0;$<k.length;$++)i.push(null);if(T)for(let $=0;$<T.length;$++)s.push(T[$]+f);for(let $=0;$<m.length;$++){const R=a+$;if(R>l)return;const A=$o(n,R),M=$===0?c:0,j=m[$];for(let U=0;U<j.length;U++){const O=j[U],ce=M+O[ae];if(R===l&&ce>=d)return;if(O.length===1){A.push([ce]);continue}const Ae=f+O[xn],de=O[kn],$e=O[_n];A.push(O.length===4?[ce,Ae,de,$e]:[ce,Ae,de,$e,v+O[go]])}}}b(_o,"me");P(_o,"addSection");function wt(t,e){for(let n=0;n<e.length;n++)t.push(e[n])}b(wt,"G$1");P(wt,"append");function $o(t,e){for(let n=t.length;n<=e;n++)t[n]=[];return t[e]}b($o,"xe");P($o,"getLine");var Eo="`line` must be greater than 0 (lines start at line 1)",So="`column` must be greater than or equal to 0 (columns start at column 0)",_t=-1,Ft=1,zt=class{static{b(this,"R")}static{P(this,"TraceMap")}constructor(e,n){const r=typeof e=="string";if(!r&&e._decodedMemo)return e;const i=Rt(e),{version:o,file:s,names:a,sourceRoot:c,sources:l,sourcesContent:d}=i;this.version=o,this.file=s,this.names=a||[],this.sourceRoot=c,this.sources=l,this.sourcesContent=d,this.ignoreList=i.ignoreList||i.x_google_ignoreList||void 0;const p=ho(n,c);this.resolvedSources=l.map(p);const{mappings:h}=i;if(typeof h=="string")this._encoded=h,this._decoded=void 0;else if(Array.isArray(h))this._encoded=void 0,this._decoded=vo(h,r);else throw i.sections?new Error("TraceMap passed sectioned source map, please use FlattenMap export instead"):new Error(`invalid source map: ${JSON.stringify(i)}`);this._decodedMemo=Cn(),this._bySources=void 0,this._bySourceMemos=void 0}};function Co(t){var e,n;return(n=(e=t)._encoded)!=null?n:e._encoded=ro(t._decoded)}b(Co,"oe$1");P(Co,"encodedMappings");function Fe(t){var e;return(e=t)._decoded||(e._decoded=eo(t._encoded))}b(Fe,"O$3");P(Fe,"decodedMappings");function bl(t,e,n){const r=Fe(t);if(e>=r.length)return null;const i=r[e],o=lt(i,t._decodedMemo,e,n,Ft);return o===-1?null:i[o]}b(bl,"Oe");P(bl,"traceSegment");function Lo(t,e){let{line:n,column:r,bias:i}=e;if(n--,n<0)throw new Error(Eo);if(r<0)throw new Error(So);const o=Fe(t);if(n>=o.length)return ot(null,null,null,null);const s=o[n],a=lt(s,t._decodedMemo,n,r,i||Ft);if(a===-1)return ot(null,null,null,null);const c=s[a];if(c.length===1)return ot(null,null,null,null);const{names:l,resolvedSources:d}=t;return ot(d[c[xn]],c[kn]+1,c[_n],c.length===5?l[c[go]]:null)}b(Lo,"Le$1");P(Lo,"originalPositionFor");function yl(t,e){const{source:n,line:r,column:i,bias:o}=e;return Pn(t,n,r,i,o||Ft,!1)}b(yl,"ye$1");P(yl,"generatedPositionFor");function xl(t,e){const{source:n,line:r,column:i,bias:o}=e;return Pn(t,n,r,i,o||_t,!0)}b(xl,"Ce");P(xl,"allGeneratedPositionsFor");function kl(t,e){const n=Fe(t),{names:r,resolvedSources:i}=t;for(let o=0;o<n.length;o++){const s=n[o];for(let a=0;a<s.length;a++){const c=s[a],l=o+1,d=c[0];let p=null,h=null,f=null,v=null;c.length!==1&&(p=i[c[1]],h=c[2]+1,f=c[3]),c.length===5&&(v=r[c[4]]),e({generatedLine:l,generatedColumn:d,source:p,originalLine:h,originalColumn:f,name:v})}}}b(kl,"Ie");P(kl,"eachMapping");function Tn(t,e){const{sources:n,resolvedSources:r}=t;let i=n.indexOf(e);return i===-1&&(i=r.indexOf(e)),i}b(Tn,"re$1");P(Tn,"sourceIndex");function _l(t,e){const{sourcesContent:n}=t;if(n==null)return null;const r=Tn(t,e);return r===-1?null:n[r]}b(_l,"Ne");P(_l,"sourceContentFor");function $l(t,e){const{ignoreList:n}=t;if(n==null)return!1;const r=Tn(t,e);return r===-1?!1:n.includes(r)}b($l,"be$1");P($l,"isIgnored");function To(t,e){const n=new zt(Dt(t,[]),e);return n._decoded=t.mappings,n}b(To,"se$1");P(To,"presortedDecodedMap");function El(t){return Dt(t,Fe(t))}b(El,"Re$1");P(El,"decodedMap");function Sl(t){return Dt(t,Co(t))}b(Sl,"we$2");P(Sl,"encodedMap");function Dt(t,e){return{version:t.version,file:t.file,names:t.names,sourceRoot:t.sourceRoot,sources:t.sources,sourcesContent:t.sourcesContent,mappings:e,ignoreList:t.ignoreList||t.x_google_ignoreList}}b(Dt,"B");P(Dt,"clone");function ot(t,e,n,r){return{source:t,line:e,column:n,name:r}}b(ot,"b$4");P(ot,"OMapping");function qe(t,e){return{line:t,column:e}}b(qe,"y$3");P(qe,"GMapping");function lt(t,e,n,r,i){let o=ko(t,r,e,n);return Le?o=(i===_t?En:Sn)(t,r,o):i===_t&&o++,o===-1||o===t.length?-1:o}b(lt,"w$3");P(lt,"traceSegmentInternal");function Po(t,e,n,r,i){let o=lt(t,e,n,r,Ft);if(!Le&&i===_t&&o++,o===-1||o===t.length)return[];const s=Le?r:t[o][ae];Le||(o=Sn(t,s,o));const a=En(t,s,o),c=[];for(;o<=a;o++){const l=t[o];c.push(qe(l[mo]+1,l[fo]))}return c}b(Po,"Ue");P(Po,"sliceGeneratedPositions");function Pn(t,e,n,r,i,o){var s,a;if(n--,n<0)throw new Error(Eo);if(r<0)throw new Error(So);const{sources:c,resolvedSources:l}=t;let d=c.indexOf(e);if(d===-1&&(d=l.indexOf(e)),d===-1)return o?[]:qe(null,null);const p=(s=t)._bySourceMemos||(s._bySourceMemos=c.map(Cn)),h=((a=t)._bySources||(a._bySources=yo(Fe(t),p)))[d][n];if(h==null)return o?[]:qe(null,null);const f=p[d];if(o)return Po(h,f,n,r,i);const v=lt(h,f,n,r,i);if(v===-1)return qe(null,null);const m=h[v];return qe(m[mo]+1,m[fo])}b(Pn,"ie$1");P(Pn,"generatedPosition");var Cl=Object.defineProperty,oe=b((t,e)=>Cl(t,"name",{value:e,configurable:!0}),"f$5");const Ll=/`((?:[^`$]|\$\{[^}]+\})*)`/g,hr=/\$\{[^}]+\}/g,Tl=/[.*+?^${}()|[\]\\]/g,Ro=[/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*`/],Te=oe(t=>t.replaceAll(Tl,String.raw`\$&`),"escapeRegex"),Pl=oe(t=>{const e=Te(t);return[t,`new Error("${e}")`,`new Error('${e}')`,`new Error(\`${Te(t)}\`)`,`throw new Error("${e}")`,`throw new Error('${e}')`,`throw new Error(\`${Te(t)}\`)`,`Error("${e}")`,`Error('${e}')`]},"createErrorPatterns"),gr=oe((t,e)=>{const n=[...t.matchAll(Ll)];for(const r of n){const i=r[1];if(!i)continue;const o=i.split(hr);if(o.every(a=>a===""||e.includes(a))&&o.length>1)return!0;if(!i)continue;const s=i.replaceAll(hr,"(.+?)");try{if(new RegExp(`^${Te(s)}$`).test(e))return!0}catch{}}return!1},"checkTemplateLiteralMatch"),Rl=[/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 (.+?)\)/],Fl=oe(t=>{for(const e of Rl){const n=t.match(e);if(n)return n}},"findDynamicErrorMatch"),mr=oe(t=>{let e,n;for(const r of Ro){const i=t.match(r);i&&(!e||r.source.includes("throw")&&!n?.source.includes("throw"))&&(e=i,n=r)}return{bestMatch:e,bestPattern:n}},"findBestErrorConstructor"),fr=oe((t,e)=>{let n=t.index??0;if(e.source.includes("throw new")&&t[0].startsWith("throw new")){const r=t[0].indexOf("new");r!==-1&&(n+=r)}return n+1},"calculateActualColumn"),zl=oe((t,e,n=0)=>{if(!t||!e)return;const r=t.split(`
|
|
1897
|
-
`),i=Fl(e),o=Pl(e),s=oe((p,h,f)=>{let v=0;for(const[m,k]of p.entries()){if(!k)continue;const L=k.includes(h)||gr(k,h),T=Ro.some($=>$.test(k));if(L&&T){const{bestMatch:$,bestPattern:R}=mr(k);if($&&R&&(v+=1,v>f))return{column:fr($,R),line:m+1}}}},"processErrorConstructorLines")(r,e,n);if(s)return s;i&&oe((p,h,f)=>{if(p[0].includes("Failed to resolve import")){const v=p[1];if(!v)return;const m=Te(v);f.unshift(`import.*from ["']${m}["']`,`import.*["']${m}["']`,v)}else if(p[0].includes("is not defined")){const v=p[1];if(!v)return;f.unshift(v,`{${v}}`,`src={${v}}`,`${v}.`,`=${v}`)}else if(p[0].includes("Cannot read properties")){const v=p[1],m=p[2];if(!m)return;f.unshift(m,`${v}.${m}`,`${v}?.${m}`,`${v}[${m}]`)}else{const v=p[1];if(!v)return;const m=Te(h),k=Te(v);f.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")(i,e,o);const a=oe((p,h,f)=>{let v=0;for(const[m,k]of p.entries()){if(!k||!gr(k,h))continue;const{bestMatch:L,bestPattern:T}=mr(k);if(L&&T&&(v+=1,v>f))return{column:fr(L,T),line:m+1}}},"processTemplateLiteralLines"),c=oe((p,h,f,v)=>{if(!v)return p+1;if(v[0].includes("Failed to resolve import")){const m=v[1];if(f.includes(`"${m}"`)||f.includes(`'${m}'`)){const k=f.includes(`"${m}"`)?'"':"'";return f.indexOf(`${k}${m}${k}`)+1}}else if(v[0].includes("is not defined")){const m=v[1];if(m&&h===m)return p+1;if(m&&h.includes(m))return p+h.indexOf(m)+1}else if(v[0].includes("Cannot read properties")){const m=v[2];if(m&&h.includes(m))return p+h.indexOf(m)+1}else if(h.includes("new Error("))return f.indexOf("new Error(")+1;return p+1},"calculatePatternColumn"),l=oe((p,h,f,v)=>{let m=0;for(const[k,L]of p.entries()){if(!L)continue;let T=-1,$;for(const R of h){const A=L.indexOf(R);A!==-1&&(T===-1||A<T)&&(T=A,$=R)}if(T!==-1&&$&&(m+=1,m>v))return{column:c(T,$,L,f),line:k+1}}},"processPatternLines");return a(r,e,n)||l(r,o,i,n)},"findErrorInSourceCode");var Dl=Object.defineProperty,ct=b((t,e)=>Dl(t,"name",{value:e,configurable:!0}),"m$4");const Al=1,Ml=/^\//,vr=ct((t,e)=>{const n=Math.max(1,t),r=Math.max(0,e);let i,o;return n>=20?i=Math.max(1,Math.round(n*.5)):n>15?i=Math.max(1,Math.round(n*.6)):n>10?i=Math.max(1,n-8):i=Math.max(1,n-3),r>=10||r>7?o=Math.max(0,r-1):r>5?o=Math.max(0,r):o=r,{estimatedColumn:o,estimatedLine:i}},"estimateOriginalPosition"),Il=ct((t,e,n)=>{try{const r=new zt(t);if(e<=0)return;const i=[{column:n,desc:"original",line:e},{column:Math.max(0,n-Al),desc:"offset",line:e},{column:n,desc:"line above",line:e-1},{column:n,desc:"line below",line:e+1},...Array.from({length:5},(o,s)=>({column:Math.max(0,n-2+s),desc:`col ${n-2+s}`,line:e}))].filter(o=>o.line>0);for(const o of i){const s=Lo(r,{column:o.column,line:o.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(r){console.warn("Source map processing failed:",r)}},"resolveSourceMapPosition"),Bl=ct((t,e)=>e?Zr(t)?jl(t,e):e:t,"resolveSourcePath"),jl=ct((t,e)=>{try{const n=new URL(t),r=(n.pathname||"").replace(Ml,""),i=r.includes("/")?r.slice(0,Math.max(0,r.lastIndexOf("/"))):"";return`${n.origin}/${i?`${i}/`:""}${e}`}catch(n){return console.warn("URL parsing failed for source path resolution:",n),t}},"resolveHttpSourcePath"),Kt=ct(async(t,e,n,r,i,o,s=0)=>{if(o&&e)try{let c;if(e.transformResult?.map?.sourcesContent?.[0]?[c]=e.transformResult.map.sourcesContent:e.transformResult?.code&&(c=e.transformResult.code),!c&&(e.id||e.url)){const l=e.id||e.url;if(l)try{const d=await t.transformRequest(l);d?.map&&"sourcesContent"in d.map&&d.map.sourcesContent?.[0]?[c]=d.map.sourcesContent:d?.code&&(c=d.code)}catch(d){console.warn("Failed to get fresh source for error search:",d)}}if(!c&&n)try{const l=await import("node:fs/promises");let d=n;if(n.includes("://"))try{d=new URL(n).pathname}catch{const p=n.indexOf("://");p!==-1&&(d=n.slice(p+3))}d.startsWith("/")||(d=`${t.config.root||process.cwd()}/${d}`),c=await l.readFile(d,"utf8")}catch(l){console.warn("Failed to read source file from disk:",l)}if(c){const l=zl(c,o,s);if(l)return{originalFileColumn:l.column,originalFileLine:l.line,originalFilePath:n}}}catch(c){console.warn("Source code search failed:",c)}let a=e?.transformResult?.map;if(!a&&(e?.id||e?.url)){const c=e.id||e.url;if(c)try{const l=await t.transformRequest(c);l?.map&&(a=l.map)}catch(l){console.warn("Failed to get fresh source map:",l)}}if(!a){const{estimatedColumn:c,estimatedLine:l}=vr(r,i);return{originalFileColumn:c,originalFileLine:l,originalFilePath:n}}try{const c=Il(a,r,i);if(!c){const{estimatedColumn:d,estimatedLine:p}=vr(r,i);return{originalFileColumn:d,originalFileLine:p,originalFilePath:n}}const l=Bl(n,c.source);return{originalFileColumn:c.column,originalFileLine:c.line,originalFilePath:l}}catch(c){return console.warn("Source map resolution failed:",c),{originalFileColumn:i,originalFileLine:r,originalFilePath:n}}},"resolveOriginalLocation");var Ol=Object.defineProperty,Hl=b((t,e)=>Ol(t,"name",{value:e,configurable:!0}),"$e"),ql=Object.defineProperty,Rn=Hl((t,e)=>ql(t,"name",{value:e,configurable:!0}),"W"),Nl=Object.defineProperty,E=Rn((t,e)=>Nl(t,"name",{value:e,configurable:!0}),"u$1");let wr=E(()=>{var t=(()=>{var e=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,o=E((u,g)=>{for(var w in g)e(u,w,{get:g[w],enumerable:!0})},"ne"),s=E((u,g,w,x)=>{if(g&&typeof g=="object"||typeof g=="function")for(let y of r(g))!i.call(u,y)&&y!==w&&e(u,y,{get:E(()=>g[y],"get"),enumerable:!(x=n(g,y))||x.enumerable});return u},"ae"),a=E(u=>s(e({},"__esModule",{value:!0}),u),"oe"),c={};o(c,{zeptomatch:E(()=>Gn,"zeptomatch")});var l=E(u=>{const g=new Set,w=[u];for(let x=0;x<w.length;x++){const y=w[x];if(g.has(y))continue;g.add(y);const{children:_}=y;if(_?.length)for(let C=0,I=_.length;C<I;C++)w.push(_[C])}return Array.from(g)},"M"),d=E(u=>{let g="";const w=l(u);for(let x=0,y=w.length;x<y;x++){const _=w[x];if(!_.regex)continue;const C=_.regex.flags;if(g||(g=C),g!==C)throw new Error(`Inconsistent RegExp flags used: "${g}" and "${C}"`)}return g},"se"),p=E((u,g,w)=>{const x=w.get(u);if(x!==void 0)return x;const y=u.partial??g;let _="";if(u.regex&&(_+=y?"(?:$|":"",_+=u.regex.source),u.children?.length){const C=f(u.children.map(I=>p(I,g,w)).filter(Boolean));if(C?.length){const I=u.children.some(Je=>!Je.regex||!(Je.partial??g)),J=C.length>1||y&&(!_.length||I);_+=J?y?"(?:$|":"(?:":"",_+=C.join("|"),_+=J?")":""}}return u.regex&&(_+=y?")":""),w.set(u,_),_},"O"),h=E((u,g)=>{const w=new Map,x=l(u);for(let y=x.length-1;y>=0;y--){const _=p(x[y],g,w);if(!(y>0))return _}return""},"ie"),f=E(u=>Array.from(new Set(u)),"ue"),v=E((u,g,w)=>v.compile(u,w).test(g),"R");v.compile=(u,g)=>{const w=g?.partial??!1,x=h(u,w),y=d(u);return new RegExp(`^(?:${x})$`,y)};var m=v,k=E((u,g)=>{const w=m.compile(u,g),x=`${w.source.slice(0,-1)}[\\\\/]?$`,y=w.flags;return new RegExp(x,y)},"le"),L=k,T=E(u=>{const g=u.map(x=>x.source).join("|")||"$^",w=u[0]?.flags;return new RegExp(g,w)},"ve"),$=T,R=E(u=>Array.isArray(u),"j"),A=E(u=>typeof u=="function","_"),M=E(u=>u.length===0,"he"),j=(()=>{const{toString:u}=Function.prototype,g=/(?:^\(\s*(?:[^,.()]|\.(?!\.\.))*\s*\)\s*=>|^\s*[a-zA-Z$_][a-zA-Z0-9$_]*\s*=>)/;return w=>(w.length===0||w.length===1)&&g.test(u.call(w))})(),U=E(u=>typeof u=="number","de"),O=E(u=>typeof u=="object"&&u!==null,"xe"),ce=E(u=>u instanceof RegExp,"me"),Ae=(()=>{const u=/\\\(|\((?!\?(?::|=|!|<=|<!))/;return g=>u.test(g.source)})(),de=(()=>{const u=/^[a-zA-Z0-9_-]+$/;return g=>u.test(g.source)&&!g.flags.includes("i")})(),$e=E(u=>typeof u=="string","A"),F=E(u=>u===void 0,"f"),H=E(u=>{const g=new Map;return w=>{const x=g.get(w);if(x!==void 0)return x;const y=u(w);return g.set(w,y),y}},"ye"),X=E((u,g,w={})=>{const x={cache:{},input:u,index:0,indexBacktrackMax:0,options:w,output:[]},y=xe(g)(x),_=Math.max(x.index,x.indexBacktrackMax);if(y&&x.index===u.length)return x.output;throw new Error(`Failed to parse at index ${_}`)},"I"),S=E((u,g)=>R(u)?Me(u,g):$e(u)?Ze(u,g):be(u,g),"i"),Me=E((u,g)=>{const w={};for(const x of u){if(x.length!==1)throw new Error(`Invalid character: "${x}"`);const y=x.charCodeAt(0);w[y]=!0}return x=>{const y=x.input;let _=x.index,C=_;for(;C<y.length&&y.charCodeAt(C)in w;)C+=1;if(C>_){if(!F(g)&&!x.options.silent){const I=y.slice(_,C),J=A(g)?g(I,y,`${_}`):g;F(J)||x.output.push(J)}x.index=C}return!0}},"we"),be=E((u,g)=>{if(de(u))return Ze(u.source,g);{const w=u.source,x=u.flags.replace(/y|$/,"y"),y=new RegExp(w,x);return Ae(u)&&A(g)&&!j(g)?ut(y,g):pt(y,g)}},"$e"),ut=E((u,g)=>w=>{const x=w.index,y=w.input;u.lastIndex=x;const _=u.exec(y);if(_){const C=u.lastIndex;if(!w.options.silent){const I=g(..._,y,`${x}`);F(I)||w.output.push(I)}return w.index=C,!0}else return!1},"Ee"),pt=E((u,g)=>w=>{const x=w.index,y=w.input;if(u.lastIndex=x,u.test(y)){const _=u.lastIndex;if(!F(g)&&!w.options.silent){const C=A(g)?g(y.slice(x,_),y,`${x}`):g;F(C)||w.output.push(C)}return w.index=_,!0}else return!1},"Ce"),Ze=E((u,g)=>w=>{const x=w.index,y=w.input;if(y.startsWith(u,x)){if(!F(g)&&!w.options.silent){const _=A(g)?g(u,y,`${x}`):g;F(_)||w.output.push(_)}return w.index+=u.length,!0}else return!1},"F"),Ie=E((u,g,w,x)=>{const y=xe(u),_=g>1;return Xe(ue(ye(C=>{let I=0;for(;I<w;){const J=C.index;if(!y(C)||(I+=1,C.index===J))break}return I>=g},_),x))},"k"),Ye=E((u,g)=>Ie(u,0,1,g),"L"),Be=E((u,g)=>Ie(u,0,1/0,g),"$"),je=E((u,g)=>Ie(u,1,1/0,g),"Re"),V=E((u,g)=>{const w=u.map(xe);return Xe(ue(ye(x=>{for(let y=0,_=w.length;y<_;y++)if(!w[y](x))return!1;return!0}),g))},"x"),Z=E((u,g)=>{const w=u.map(xe);return Xe(ue(x=>{for(let y=0,_=w.length;y<_;y++)if(w[y](x))return!0;return!1},g))},"p"),ye=E((u,g=!0,w=!1)=>{const x=xe(u);return g?y=>{const _=y.index,C=y.output.length,I=x(y);return!I&&!w&&(y.indexBacktrackMax=Math.max(y.indexBacktrackMax,y.index)),(!I||w)&&(y.index=_,y.output.length!==C&&(y.output.length=C)),I}:x},"q"),ue=E((u,g)=>{const w=xe(u);return g?x=>{if(x.options.silent)return w(x);const y=x.output.length;if(w(x)){const _=x.output.splice(y,1/0),C=g(_);return F(C)||x.output.push(C),!0}else return!1}:w},"B"),Xe=(()=>{let u=0;return g=>{const w=xe(g),x=u+=1;return y=>{var _;if(y.options.memoization===!1)return w(y);const C=y.index,I=(_=y.cache)[x]||(_[x]={indexMax:-1,queue:[]}),J=I.queue;if(C<=I.indexMax){const Ke=I.store||(I.store=new Map);if(J.length){for(let He=0,Hi=J.length;He<Hi;He+=2){const qi=J[He*2],Ni=J[He*2+1];Ke.set(qi,Ni)}J.length=0}const pe=Ke.get(C);if(pe===!1)return!1;if(U(pe))return y.index=pe,!0;if(pe)return y.index=pe.index,pe.output?.length&&y.output.push(...pe.output),!0}const Je=y.output.length,Oi=w(y);if(I.indexMax=Math.max(I.indexMax,C),Oi){const Ke=y.index,pe=y.output.length;if(pe>Je){const He=y.output.slice(Je,pe);J.push(C,{index:Ke,output:He})}else J.push(C,Ke);return!0}else return J.push(C,!1),!1}}})(),Dn=E(u=>{let g;return w=>(g||(g=xe(u())),g(w))},"G"),xe=H(u=>{if(A(u))return M(u)?Dn(u):u;if($e(u)||ce(u))return S(u);if(R(u))return V(u);if(O(u))return Z(Object.values(u));throw new Error("Invalid rule")}),Ee=E(u=>u,"d"),Bo=E(u=>typeof u=="string","ke"),jo=E(u=>{const g=new WeakMap,w=new WeakMap;return(x,y)=>{const _=y?.partial?w:g,C=_.get(x);if(C!==void 0)return C;const I=u(x,y);return _.set(x,I),I}},"Be"),Oo=E(u=>{const g={},w={};return(x,y)=>{const _=y?.partial?w:g;return _[x]??(_[x]=u(x,y))}},"Pe"),Ho=S(/\\./,Ee),qo=S(/./,Ee),No=S(/\*\*\*+/,"*"),Uo=S(/([^/{[(!])\*\*/,(u,g)=>`${g}*`),Go=S(/(^|.)\*\*(?=[^*/)\]}])/,(u,g)=>`${g}*`),Wo=Be(Z([Ho,No,Uo,Go,qo])),Vo=Wo,Zo=E(u=>X(u,Vo,{memoization:!1}).join(""),"Ie"),Yo=Zo,An="abcdefghijklmnopqrstuvwxyz",Xo=E(u=>{let g="";for(;u>0;){const w=(u-1)%26;g=An[w]+g,u=Math.floor((u-1)/26)}return g},"Le"),Mn=E(u=>{let g=0;for(let w=0,x=u.length;w<x;w++)g=g*26+An.indexOf(u[w])+1;return g},"V"),Mt=E((u,g)=>{if(g<u)return Mt(g,u);const w=[];for(;u<=g;)w.push(u++);return w},"b"),Qo=E((u,g,w)=>Mt(u,g).map(x=>String(x).padStart(w,"0")),"qe"),In=E((u,g)=>Mt(Mn(u),Mn(g)).map(Xo),"W"),Y=E(u=>({partial:!1,regex:new RegExp(u,"s"),children:[]}),"c"),Qe=E(u=>({children:u}),"y"),Oe=(()=>{const u=E((g,w,x)=>{if(x.has(g))return;x.add(g);const{children:y}=g;if(!y.length)y.push(w);else for(let _=0,C=y.length;_<C;_++)u(y[_],w,x)},"e");return g=>{if(!g.length)return Qe([]);for(let w=g.length-1;w>=1;w--){const x=new Set,y=g[w-1],_=g[w];u(y,_,x)}return g[0]}})(),ke=E(()=>({regex:new RegExp("[\\\\/]","s"),children:[]}),"g"),Jo=S(/\\./,Y),Ko=S(/[$.*+?^(){}[\]\|]/,u=>Y(`\\${u}`)),ei=S(/[\\\/]/,ke),ti=S(/[^$.*+?^(){}[\]\|\\\/]+/,Y),ni=S(/^(?:!!)*!(.*)$/,(u,g)=>Y(`(?!^${Gn.compile(g).source}$).*?`)),ri=S(/^(!!)+/),oi=Z([ni,ri]),ii=S(/\/(\*\*\/)+/,()=>Qe([Oe([ke(),Y(".+?"),ke()]),ke()])),si=S(/^(\*\*\/)+/,()=>Qe([Y("^"),Oe([Y(".*?"),ke()])])),ai=S(/\/(\*\*)$/,()=>Qe([Oe([ke(),Y(".*?")]),Y("$")])),li=S(/\*\*/,()=>Y(".*?")),Bn=Z([ii,si,ai,li]),ci=S(/\*\/(?!\*\*\/|\*$)/,()=>Oe([Y("[^\\\\/]*?"),ke()])),di=S(/\*/,()=>Y("[^\\\\/]*")),jn=Z([ci,di]),On=S("?",()=>Y("[^\\\\/]")),ui=S("[",Ee),pi=S("]",Ee),hi=S(/[!^]/,"^\\\\/"),gi=S(/[a-z]-[a-z]|[0-9]-[0-9]/i,Ee),mi=S(/\\./,Ee),fi=S(/[$.*+?^(){}[\|]/,u=>`\\${u}`),vi=S(/[\\\/]/,"\\\\/"),wi=S(/[^$.*+?^(){}[\]\|\\\/]+/,Ee),bi=Z([mi,fi,vi,gi,wi]),Hn=V([ui,Ye(hi),Be(bi),pi],u=>Y(u.join(""))),yi=S("{","(?:"),xi=S("}",")"),ki=S(/(\d+)\.\.(\d+)/,(u,g,w)=>Qo(+g,+w,Math.min(g.length,w.length)).join("|")),_i=S(/([a-z]+)\.\.([a-z]+)/,(u,g,w)=>In(g,w).join("|")),$i=S(/([A-Z]+)\.\.([A-Z]+)/,(u,g,w)=>In(g.toLowerCase(),w.toLowerCase()).join("|").toUpperCase()),Ei=Z([ki,_i,$i]),qn=V([yi,Ei,xi],u=>Y(u.join(""))),Si=S("{"),Ci=S("}"),Li=S(","),Ti=S(/\\./,Y),Pi=S(/[$.*+?^(){[\]\|]/,u=>Y(`\\${u}`)),Ri=S(/[\\\/]/,ke),Fi=S(/[^$.*+?^(){}[\]\|\\\/,]+/,Y),zi=Dn(()=>Un),Di=S("",()=>Y("(?:)")),Ai=je(Z([Bn,jn,On,Hn,qn,zi,Ti,Pi,Ri,Fi]),Oe),Nn=Z([Ai,Di]),Un=V([Si,Ye(V([Nn,Be(V([Li,Nn]))])),Ci],Qe),Mi=Be(Z([oi,Bn,jn,On,Hn,qn,Un,Jo,Ko,ei,ti]),Oe),Ii=Mi,Bi=E(u=>X(u,Ii,{memoization:!1})[0],"kr"),ji=Bi,It=E((u,g,w)=>It.compile(u,w).test(g),"N");It.compile=(()=>{const u=Oo((w,x)=>L(ji(Yo(w)),x)),g=jo((w,x)=>$(w.map(y=>u(y,x))));return(w,x)=>Bo(w)?u(w,x):g(w,x)})();var Gn=It;return a(c)})();return t.default||t},"_lazyMatch"),jt;const Ul=E((t,e)=>(jt||(jt=wr(),wr=null),jt(t,e)),"default");var Gl=Object.defineProperty,Wl=Rn((t,e)=>Gl(t,"name",{value:e,configurable:!0}),"t$1");const Vl=/^[A-Z]:\//i,ze=Wl((t="")=>t&&t.replaceAll("\\","/").replace(Vl,e=>e.toUpperCase()),"normalizeWindowsPath");var Zl=Object.defineProperty,ne=Rn((t,e)=>Zl(t,"name",{value:e,configurable:!0}),"r");const Yl=/^[/\\]{2}/,Xl=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Z]:[/\\]/i,Fo=/^[A-Z]:$/i,br=/^\/([A-Z]:)?$/i,Ql=/.(\.[^./]+)$/,Jl=/^[/\\]|^[a-z]:[/\\]/i,Kl=/\/$/,ec=ne(()=>typeof process.cwd=="function"?process.cwd().replaceAll("\\","/"):"/","cwd"),zo=ne((t,e)=>{let n="",r=0,i=-1,o=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(!(i===a-1||o===1))if(o===2){if(n.length<2||r!==2||!n.endsWith(".")||n.at(-2)!=="."){if(n.length>2){const c=n.lastIndexOf("/");c===-1?(n="",r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf("/")),i=a,o=0;continue}else if(n.length>0){n="",r=0,i=a,o=0;continue}}e&&(n+=n.length>0?"/..":"..",r=2)}else n.length>0?n+=`/${t.slice(i+1,a)}`:n=t.slice(i+1,a),r=a-i-1;i=a,o=0}else s==="."&&o!==-1?++o:o=-1}return n},"normalizeString"),st=ne(t=>Xl.test(t),"isAbsolute"),$t=ne(function(t){if(t.length===0)return".";t=ze(t);const e=Yl.exec(t),n=st(t),r=t.at(-1)==="/";return t=zo(t,!n),t.length===0?n?"/":r?"./":".":(r&&(t+="/"),Fo.test(t)&&(t+="/"),e?n?`//${t}`:`//./${t}`:n&&!st(t)?`/${t}`:t)},"normalize");ne((...t)=>{let e="";for(const n of t)if(n)if(e.length>0){const r=e.at(-1)==="/",i=n[0]==="/";r&&i?e+=n.slice(1):e+=r||i?n:`/${n}`}else e+=n;return $t(e)},"join");const Et=ne(function(...t){t=t.map(r=>ze(r));let e="",n=!1;for(let r=t.length-1;r>=-1&&!n;r--){const i=r>=0?t[r]:ec();!i||i.length===0||(e=`${i}/${e}`,n=st(i))}return e=zo(e,!n),n&&!st(e)?`/${e}`:e.length>0?e:"."},"resolve");ne(function(t){return ze(t)},"toNamespacedPath");const tc=ne(function(t){return Ql.exec(ze(t))?.[1]??""},"extname");ne(function(t,e){const n=Et(t).replace(br,"$1").split("/"),r=Et(e).replace(br,"$1").split("/");if(r[0][1]===":"&&n[0][1]===":"&&n[0]!==r[0])return r.join("/");const i=[...n];for(const o of i){if(r[0]!==o)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")},"relative");const nc=ne(t=>{const e=ze(t).replace(Kl,"").split("/").slice(0,-1);return e.length===1&&Fo.test(e[0])&&(e[0]=`${e[0]}/`),e.join("/")||(st(t)?"/":".")},"dirname");ne(function(t){const e=[t.root,t.dir,t.base??t.name+t.ext].filter(Boolean);return ze(t.root?Et(...e):e.join("/"))},"format");const rc=ne((t,e)=>{const n=ze(t).split("/").pop();return e&&n.endsWith(e)?n.slice(0,-e.length):n},"basename");ne(function(t){const e=Jl.exec(t)?.[0]?.replaceAll("\\","/")??"",n=rc(t),r=tc(n);return{base:n,dir:nc(t),ext:r,name:n.slice(0,n.length-r.length),root:e}},"parse");ne((t,e)=>Ul(e,$t(t)),"matchesGlob");var oc=Object.defineProperty,le=b((t,e)=>oc(t,"name",{value:e,configurable:!0}),"e$1");const en="/",yr=":",ic="at ",sc=/https?:\/\/[^\s)]+/g,ac=/file:\/\//g,Do=/\/@fs\//g,lc=/\([^)]*:\d+:\d+\)/,cc=/\([^)]*:\d+\)/,dc=/[^(\s][^:]*:\d+:\d+/,uc=/[^(\s][^:]*:\d+/,pc=/:(\d+)(?::(\d+))?$/,hc=/\n/,gc=new Set([".cjs",".js",".jsx",".mjs",".svelte",".ts",".tsx",".vue"]),mc=new Set(["<anonymous>","<unknown>","native"]),fc=le(t=>{const e=t.match(pc),n=e?.[1],r=e?.[2];return{baseUrl:e?t.slice(0,-e[0].length):t,col:r,line:n}},"parseUrlWithLocation"),vc=le((t,e)=>{const n=new URL(t);let r=decodeURIComponent(n.pathname||"");return r=r.replaceAll(Do,en),Et(e,r.startsWith(en)?r.slice(1):r)},"urlToAbsolutePath"),wc=le((t,e,n)=>{if(!e)return t;const r=n?`${yr}${n}`:"";return`${t}${yr}${e}${r}`},"formatAbsolutePath"),bc=le(t=>{const e=t.trim();return!e.startsWith(ic)||!([...gc].some(n=>e.includes(n))||[...mc].some(n=>e.includes(n)))?!1:lc.test(e)||cc.test(e)||dc.test(e)||uc.test(e)||e.includes("native")||e.includes("<unknown>")},"isValidStackFrame"),yc=le(t=>{let e=t.replaceAll(Do,en);return e=e.replaceAll(ac,""),e.includes("<unknown>")?e.trim()||"":e.trim()&&!bc(e)?"":e},"cleanStackLine"),xc=le((t,e)=>{try{const{baseUrl:n,col:r,line:i}=fc(t),o=vc(n,e);return wc(o,i,r)}catch(n){return console.warn("Failed to absolutize URL:",t,n),t}},"absolutizeUrl"),Fn=le(t=>t&&t.replaceAll(`\r
|
|
1892
|
+
${Ks};`,s},"patchOverlay");var aa=Object.defineProperty,G=b((t,e)=>aa(t,"name",{value:e,configurable:!0}),"n$2");const la=/Failed to resolve import ["']([^"']+)["']/,ca=/Cannot resolve module ["']([^"']+)["']/,da=/Cannot resolve ["'](\.\.?\/[^"']*)["']/,ua=4,ar=1e3,pa=5,ha=.5,ga=[".js",".ts",".jsx",".tsx",".mjs",".cjs"],ma=[".css",".scss",".sass",".less"],Nr=[".svg",".png",".jpg",".jpeg",".gif",".webp",".ico"],fa=new Set([...Nr,...ga,...ma]),Q=G((t,...e)=>{const n=t.toLowerCase();return e.some(r=>n.includes(r.toLowerCase()))},"has"),va=G((t,e)=>{const n=se.relative(t,e);return n.startsWith(".")?n:`./${n}`},"getRelativePath"),wa=G(t=>t===0?"":t===1?" (in parent directory)":t===2?" (in grandparent directory)":` (${t} directories away)`,"getPathContext"),ba=G((t,e)=>{try{const n=se.relative(t,e).split(se.sep).filter(i=>i&&i!==".");let r=0;for(const i of n)r+=i===".."?2:1;return r}catch{return 10}},"calculatePathDistance"),ya=G((t,e,n,r)=>{if(e&&r===e){const o=mt(t,n);return o<=Math.max(3,Math.floor(t.length*ha))?10-o:0}if(!e){const o=mt(t,n);return o===0?9:o<=Math.max(2,Math.floor(t.length*.3))&&fa.has(r)?7-o:0}const i=mt(t,n);return i<=Math.max(2,Math.floor(t.length*.4))?5-i:0},"calculateRelevanceScore"),xa=G((t,e,n)=>{const r=[],i=G((o,s=0)=>{if(!(s>ua||r.length>ar))try{const a=es.readdirSync(o,{withFileTypes:!0});for(const l of a){if(r.length>ar)break;const c=se.join(o,l.name);if(l.isDirectory()&&!l.name.startsWith(".")&&l.name!=="node_modules")i(c,s+1);else if(l.isFile()){const u=se.extname(l.name),p=se.basename(l.name,u),h=ya(e,n,p,u);h>0&&r.push({baseName:p,extension:u,fullPath:c,path:c,relevanceScore:h})}}}catch{}},"walk");return i(t),r},"collectFileCandidates"),lr=G((t,e,n)=>{const r=se.basename(t),i=se.extname(r),o=se.basename(r,i),s=se.dirname(e),a=xa(n,o,i).map(h=>{const f=mt(o,h.baseName),v=ba(s,se.dirname(h.fullPath)),g=h.relevanceScore*.7+v*.2+f*.1;return{...h,nameDistance:f,pathDistance:v,score:g}});a.sort((h,f)=>h.score-f.score);const l=[],c=a.slice(0,8);let u=!1;for(const h of c){const f=va(s,h.fullPath);if(!l.includes(f)){const v=wa(h.pathDistance);l.push(f+v);const g=h.fullPath.replaceAll("\\","/").split("/"),k=g.indexOf("public");k!==-1&&k<g.length-1&&(u=!0)}}let p=`<ul>${[...new Set(l)].slice(0,pa).map(h=>`<li>\`${h}\`</li>`).join(`
|
|
1893
|
+
`)}</ul>`;if(u){const h=r;[...Nr].some(f=>h.includes(f))&&(p+=`Files in the \`public\` folder should be accessed via absolute URLs like \`/${h}\`.`)}return p},"findSimilarFiles"),ka=[{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:G(t=>Q(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:G(t=>Q(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:G(t=>Q(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(`
|
|
1894
|
+
`),header:"Environment Variables"},test:G(t=>Q(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:G(t=>Q(t,"Failed to load")&&Q(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:G(t=>Q(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:G(t=>Q(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:G((t,e)=>Q(t,"TypeScript")||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:G(t=>Q(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:G(t=>Q(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:G(t=>Q(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:G(t=>Q(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:G(t=>Q(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(`
|
|
1895
|
+
`)},test:G(t=>Q(t,"hydration failed","did not match","expected server html","text content does not match"),"test")}],_a=G(t=>({async handle(e,n){const{file:r,language:i}=n,o=e.message??"";if(Q(o,"Failed to resolve import","Cannot resolve module")){const s=o.match(la),a=o.match(ca),l=s?.[1]||a?.[1];if(l&&r){const c=lr(l,r,t);if(c)return{body:`The import path \`${l}\` could not be resolved.<br/><br/>Did you mean one of these files?<br/>${c}`};if([".jsx",".tsx"].includes(i)||Q(o,"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(i==="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(Q(o,"Cannot resolve")&&(i==="typescript"||i==="javascript")){const s=o.match(da);if(s){const a=s[1];if(a&&r){const l=lr(a,r,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 ka)if(s.test(o,r))return s.solution},name:"vite-solution-finder",priority:20}),"createViteSolutionFinder");var $a=Object.defineProperty,we=b((t,e)=>$a(t,"name",{value:e,configurable:!0}),"o$4");const Ea=/\.mdx$/i,Sa=1,Ca=/syntax error/i,La=/Failed to load url\s+(.*?)\s+\(resolved id:/i,Ta=/glob:\s*"(.+)"\s*\(/i,Pa=we(t=>t instanceof Error?t:new Error(String(t)),"createEnhancedError"),Ra=we((t,e)=>{try{t.ssrFixStacktrace(e)}catch(n){console.warn("[visulima:vite-overlay:server] SSR stack trace fix failed:",n)}},"safeSsrFixStacktrace"),Fa=we(t=>{try{const e=Ne(t,{frameLimit:Sa})?.[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"),za=we(async t=>{try{return await Sr(t,"utf8")}catch(e){console.warn(`[visulima:vite-overlay:server] Failed to read file ${t}:`,e);return}},"safeReadFile"),Aa=we((t,e)=>{const n=t.id||t.loc?.file||e;n&&Ea.test(String(n))&&Ca.test(t.message)&&(t.hint=t.hint||"MDX detected without an appropriate integration. Install and configure the MDX plugin for Vite/your framework.")},"enhanceMdxError"),Ur=we((t,e)=>{const n=t.split(`
|
|
1896
|
+
`),r=n.findIndex(o=>o.includes(e));if(r===-1)return;const i=n[r]||"";return{column:Math.max(0,i.indexOf(e))+1,line:r+1}},"findImportLocation"),Da=we(async(t,e,n)=>{const r=La.exec(t.message)?.[1];if(r&&(t.title="Failed to Load Module (SSR)",t.name="FailedToLoadModuleSSR",t.message=`Failed to load module: ${r}`,t.hint="Verify import path, ensure a plugin handles this file type during SSR, and check for typos or missing files.",n&&e)){const i=Ur(n,r);i&&(t.loc={...i,file:e})}},"enhanceFailedLoadError"),Ma=we(async(t,e,n)=>{const r=Ta.exec(t.message)?.[1];if(r&&(t.name="InvalidGlob",t.title="Invalid Glob Pattern",t.message=`Invalid glob pattern: ${r}`,t.hint=t.hint||"Ensure your glob follows the expected syntax and matches existing files. Avoid unintended special characters.",n&&e)){const i=Ur(n,r);i&&(t.loc={...i,file:e})}},"enhanceGlobError"),Ia=we(async(t,e)=>{const n=Pa(t);Ra(e,n);const r=Fa(n),i=r&&!r.includes("://")&&!r.startsWith("\0")?await za(r):void 0;return await Da(n,r,i),Aa(n,r),await Ma(n,r,i),n},"enhanceViteSsrError");var Ba=Object.defineProperty,U=b((t,e)=>Ba(t,"name",{value:e,configurable:!0}),"t$1");const Gr={javascript:U(()=>import("@shikijs/langs/javascript"),"javascript"),typescript:U(()=>import("@shikijs/langs/typescript"),"typescript"),jsx:U(()=>import("@shikijs/langs/jsx"),"jsx"),tsx:U(()=>import("@shikijs/langs/tsx"),"tsx"),json:U(()=>import("@shikijs/langs/json"),"json"),jsonc:U(()=>import("@shikijs/langs/jsonc"),"jsonc"),xml:U(()=>import("@shikijs/langs/xml"),"xml"),sql:U(()=>import("@shikijs/langs/sql"),"sql"),markdown:U(()=>import("@shikijs/langs/markdown"),"markdown"),mdx:U(()=>import("@shikijs/langs/mdx"),"mdx"),html:U(()=>import("@shikijs/langs/html"),"html"),css:U(()=>import("@shikijs/langs/css"),"css"),scss:U(()=>import("@shikijs/langs/scss"),"scss"),less:U(()=>import("@shikijs/langs/less"),"less"),sass:U(()=>import("@shikijs/langs/sass"),"sass"),stylus:U(()=>import("@shikijs/langs/stylus"),"stylus"),styl:U(()=>import("@shikijs/langs/styl"),"styl"),svelte:U(()=>import("@shikijs/langs/svelte"),"svelte"),vue:U(()=>import("@shikijs/langs/vue"),"vue"),bash:U(()=>import("@shikijs/langs/bash"),"bash"),shell:U(()=>import("@shikijs/langs/shell"),"shell"),text:U(()=>Promise.resolve({name:"text",patterns:[],scopeName:"source.text",repository:{}}),"text")};U(async t=>{if(typeof t!="string"||!t)return;const e=Gr[t.toLowerCase()];if(e)return await e()},"getLanguageImport");var ja=Object.defineProperty,Ge=b((t,e)=>ja(t,"name",{value:e,configurable:!0}),"a$7");let ft,vt;const Oa=Ge(async()=>{const[t,e]=await Promise.all([import("shiki/core"),import("shiki/engine/javascript")]),{createHighlighterCore:n}=t,{createJavaScriptRegexEngine:r}=e,i=await n({themes:[import("./packem_chunks/min-dark.js"),import("./packem_chunks/min-light.js")],langs:[],engine:r()}),o=i;return vt=Ge(()=>{try{i?.dispose?.()}catch{}ft=void 0},"disposeFn"),o},"createSingletonHighlighter"),Ha=Ge(async(t,e)=>{if(e==="text")return;const n=e.toLowerCase();if(!(t.getLoadedLanguages?.()??t.getLanguages?.()??[]).includes(n)){const r=Gr[n];r&&await t.loadLanguage?.(await r())}},"ensureLanguageLoaded"),Wr=Ge(async(t=[])=>{ft||(ft=Oa());const e=await ft,n=[];for(const r of t)if(typeof r=="string")n.push(r.toLowerCase());else{const i=r.name;i&&n.push(i.toLowerCase())}return await Promise.all(n.map(r=>Ha(e,r))),e},"getHighlighter");Ge(async()=>{try{vt&&(vt(),vt=void 0)}catch{}},"disposeHighlighter");const cr=Ge((t=[])=>({name:"@shikijs/transformers:compact-line-options",line(e,n){const r=t.find(i=>i.line===n);return r?.classes&&this.addClassToHast(e,r.classes),e}}),"transformerCompactLineOptions");var qa=Object.defineProperty,Vr=b((t,e)=>qa(t,"name",{value:e,configurable:!0}),"s$2");const Na=Vr(t=>!Array.isArray(t)||t.length===0?!1:t.some(e=>e&&typeof e=="object"&&("location"in e||"pluginName"in e||"text"in e)),"isESBuildErrorArray"),Ua=Vr(t=>t.map((e,n)=>{const{location:r,pluginName:i,text:o}=e,s={message:o||`ESBuild error #${n+1}`,name:e.name||"Error",stack:e.stack||""};return r&&(s.file=r.file,s.line=r.line,s.column=r.column),i&&(s.plugin=i),s}),"processESBuildErrors");var Ga=Object.defineProperty,Zr=b((t,e)=>Ga(t,"name",{value:e,configurable:!0}),"c$7");const Wa=/^\/@fs\//,Va=/^[./]*/,Za=Zr((t,e)=>{for(const[n,r]of t.moduleGraph.idToModuleMap){if(!r)continue;const i=r,o=[String(i.file||"").replaceAll("\\","/"),String(n||"").replaceAll("\\","/"),String(i.url||"").replaceAll("\\","/")];for(const s of e)if(o.some(a=>a===s||a.includes(s)||s.includes(a)))return r}},"findBestModuleMatch"),it=Zr((t,e)=>{const n=[...e,...e.map(o=>o.replace(Wa,"")),...e.map(o=>o.replace(Va,""))];let r,i=0;for(const o of n)try{const s=t.moduleGraph.getModuleById(o);if(s){const l=Object.keys(s).length>0,c=!!s.transformResult;let u=0;if(l&&c?u=2:l&&(u=1),l&&(u>i&&(r=s,i=u),c))return s}const a=t.moduleGraph.getModuleByUrl?.(o);if(a){const l=Object.keys(a).length>0,c=!!a.transformResult;let u=0;if(l&&c?u=2:l&&(u=1),l&&(u>i&&(r=a,i=u),c))return a}}catch{}return r||Za(t,e)||void 0},"findModuleForPath");var Ya=Object.defineProperty,hn=b((t,e)=>Ya(t,"name",{value:e,configurable:!0}),"r$1");const Xa=/^https?:\/\//,Qa=/^\/@fs\//,Ka=hn(t=>{const e=new URL(t),{pathname:n}=e,r=e.search||"",i=[n+r,n,n.replace(Qa,""),decodeURIComponent(n+r),decodeURIComponent(n)];return[...new Set(i)].filter(Boolean)},"generateUrlCandidates"),Yr=hn(t=>Xa.test(t),"isHttpUrl"),Ce=hn(t=>{if(!t)return[];try{if(Yr(t))return Ka(t);const e=[t];if(t.startsWith("/")&&e.push(t.slice(1)),t.includes("?")){const n=t.split("?")[0];n&&e.push(n)}return[...new Set(e)].filter(Boolean)}catch(e){return console.warn(`Failed to normalize path "${t}":`,e),[]}},"normalizeIdCandidates");var Ja=Object.defineProperty,_e=b((t,e)=>Ja(t,"name",{value:e,configurable:!0}),"o$2");const Xr=/\n/,el=/\s+/g,tl=/[A-Z_$][\w$]{2,}/i,nl=/\s/,rl=_e((t,e)=>t.split(Xr)[e-1]??"","getLine"),dr=_e(t=>t.replaceAll(el,""),"removeWhitespace"),ol=_e((t,e)=>{if(e<=0||e>t.length)return"";const n=Math.max(0,e-1),r=t.slice(n,n+64),i=tl.exec(r);if(i?.[0])return i[0];let o=r.trim();return o.length<4&&(o=t.slice(Math.max(0,n-16),n+16).trim()),o},"extractCandidateToken"),il=_e((t,e)=>{let n=0;for(const[r,i]of[...t].entries())if(typeof i=="string"){if(n===e)return r+1;nl.test(i)||(n+=1)}return-1},"mapNormalizedToOriginalPosition"),sl=_e((t,e)=>{if(!(!t||t.length<3))for(const[n,r]of e.entries()){if(!r)continue;const i=r.indexOf(t);if(i!==-1)return{column:i+1,line:n+1}}},"tryTokenBasedSearch"),al=_e((t,e)=>{if(t)for(const[n,r]of e.entries()){if(!r)continue;const i=r.indexOf(t);if(i!==-1)return{column:i+1,line:n+1}}},"tryLineSubstringSearch"),ll=_e((t,e)=>{if(!t)return;const n=dr(t);if(n)for(const[r,i]of e.entries()){if(!i)continue;const o=dr(i).indexOf(n);if(o!==-1){const s=il(i,o);if(s!==-1)return{column:s,line:r+1}}}},"tryWhitespaceInsensitiveSearch"),cl=_e((t,e,n,r)=>{const i=rl(t,e);if(!i)return;const o=r.split(Xr),s=ol(i,n);return sl(s,o)||al(i.trim(),o)||ll(i.trim(),o)},"realignOriginalPosition");var dl=Object.defineProperty,te=b((t,e)=>dl(t,"name",{value:e,configurable:!0}),"C$5"),We=44,Qr=59,ur="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Kr=new Uint8Array(64),Jr=new Uint8Array(128);for(let t=0;t<ur.length;t++){const e=ur.charCodeAt(t);Kr[t]=e,Jr[e]=t}function q(t,e){let n=0,r=0,i=0;do{const s=t.next();i=Jr[s],n|=(i&31)<<r,r+=5}while(i&32);const o=n&1;return n>>>=1,o&&(n=-2147483648|-n),e+n}b(q,"h$2");te(q,"decodeInteger");function I(t,e,n){let r=e-n;r=r<0?-r<<1|1:r<<1;do{let i=r&31;r>>>=5,r>0&&(i|=32),t.write(Kr[i])}while(r>0);return e}b(I,"i$4");te(I,"encodeInteger");function fe(t,e){return t.pos>=e?!1:t.peek()!==We}b(fe,"S$2");te(fe,"hasMoreVlq");var pr=1024*16,hr=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(t){return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}}:{decode(t){let e="";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e}},gn=class{static{b(this,"T")}static{te(this,"StringWriter")}constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(pr)}write(e){const{buffer:n}=this;n[this.pos++]=e,this.pos===pr&&(this.out+=hr.decode(n),this.pos=0)}flush(){const{buffer:e,out:n,pos:r}=this;return r>0?n+hr.decode(e.subarray(0,r)):n}},mn=class{static{b(this,"w")}static{te(this,"StringReader")}constructor(e){this.pos=0,this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){const{buffer:n,pos:r}=this,i=n.indexOf(e,r);return i===-1?n.length:i}},eo=[];function ul(t){const{length:e}=t,n=new mn(t),r=[],i=[];let o=0;for(;n.pos<e;n.pos++){o=q(n,o);const s=q(n,0);if(!fe(n,e)){const u=i.pop();u[2]=o,u[3]=s;continue}const a=q(n,0),l=q(n,0)&1?[o,s,0,0,a,q(n,0)]:[o,s,0,0,a];let c=eo;if(fe(n,e)){c=[];do{const u=q(n,0);c.push(u)}while(fe(n,e))}l.vars=c,r.push(l),i.push(l)}return r}b(ul,"z");te(ul,"decodeOriginalScopes");function pl(t){const e=new gn;for(let n=0;n<t.length;)n=fn(t,n,e,[0]);return e.flush()}b(pl,"F$4");te(pl,"encodeOriginalScopes");function fn(t,e,n,r){const i=t[e],{0:o,1:s,2:a,3:l,4:c,vars:u}=i;e>0&&n.write(We),r[0]=I(n,o,r[0]),I(n,s,0),I(n,c,0);const p=i.length===6?1:0;I(n,p,0),i.length===6&&I(n,i[5],0);for(const h of u)I(n,h,0);for(e++;e<t.length;){const h=t[e],{0:f,1:v}=h;if(f>a||f===a&&v>=l)break;e=fn(t,e,n,r)}return n.write(We),r[0]=I(n,a,r[0]),I(n,l,0),e}b(fn,"P$4");te(fn,"_encodeOriginalScopes");function hl(t){const{length:e}=t,n=new mn(t),r=[],i=[];let o=0,s=0,a=0,l=0,c=0,u=0,p=0,h=0;do{const f=n.indexOf(";");let v=0;for(;n.pos<f;n.pos++){if(v=q(n,v),!fe(n,f)){const D=i.pop();D[2]=o,D[3]=v;continue}const g=q(n,0),k=g&1,T=g&2,E=g&4;let C=null,R=eo,B;if(k){const D=q(n,s);a=q(n,s===D?a:0),s=D,B=[o,v,0,0,D,a]}else B=[o,v,0,0];if(B.isScope=!!E,T){const D=l,W=c;l=q(n,l);const N=D===l;c=q(n,N?c:0),u=q(n,N&&W===c?u:0),C=[l,c,u]}if(B.callsite=C,fe(n,f)){R=[];do{p=o,h=v;const D=q(n,0);let W;if(D<-1){W=[[q(n,0)]];for(let N=-1;N>D;N--){const j=p;p=q(n,p),h=q(n,p===j?h:0);const ce=q(n,0);W.push([ce,p,h])}}else W=[[D]];R.push(W)}while(fe(n,f))}B.bindings=R,r.push(B),i.push(B)}o++,n.pos=f+1}while(n.pos<e);return r}b(hl,"H$2");te(hl,"decodeGeneratedRanges");function gl(t){if(t.length===0)return"";const e=new gn;for(let n=0;n<t.length;)n=vn(t,n,e,[0,0,0,0,0,0,0]);return e.flush()}b(gl,"J$1");te(gl,"encodeGeneratedRanges");function vn(t,e,n,r){const i=t[e],{0:o,1:s,2:a,3:l,isScope:c,callsite:u,bindings:p}=i;r[0]<o?(Yt(n,r[0],o),r[0]=o,r[1]=0):e>0&&n.write(We),r[1]=I(n,i[1],r[1]);const h=(i.length===6?1:0)|(u?2:0)|(c?4:0);if(I(n,h,0),i.length===6){const{4:f,5:v}=i;f!==r[2]&&(r[3]=0),r[2]=I(n,f,r[2]),r[3]=I(n,v,r[3])}if(u){const{0:f,1:v,2:g}=i.callsite;f!==r[4]?(r[5]=0,r[6]=0):v!==r[5]&&(r[6]=0),r[4]=I(n,f,r[4]),r[5]=I(n,v,r[5]),r[6]=I(n,g,r[6])}if(p)for(const f of p){f.length>1&&I(n,-f.length,0);const v=f[0][0];I(n,v,0);let g=o,k=s;for(let T=1;T<f.length;T++){const E=f[T];g=I(n,E[1],g),k=I(n,E[2],k),I(n,E[0],0)}}for(e++;e<t.length;){const f=t[e],{0:v,1:g}=f;if(v>a||v===a&&g>=l)break;e=vn(t,e,n,r)}return r[0]<a?(Yt(n,r[0],a),r[0]=a,r[1]=0):n.write(We),r[1]=I(n,l,r[1]),e}b(vn,"V$1");te(vn,"_encodeGeneratedRanges");function Yt(t,e,n){do t.write(Qr);while(++e<n)}b(Yt,"U$2");te(Yt,"catchupLine");function to(t){const{length:e}=t,n=new mn(t),r=[];let i=0,o=0,s=0,a=0,l=0;do{const c=n.indexOf(";"),u=[];let p=!0,h=0;for(i=0;n.pos<c;){let f;i=q(n,i),i<h&&(p=!1),h=i,fe(n,c)?(o=q(n,o),s=q(n,s),a=q(n,a),fe(n,c)?(l=q(n,l),f=[i,o,s,a,l]):f=[i,o,s,a]):f=[i],u.push(f),n.pos++}p||no(u),r.push(u),n.pos=c+1}while(n.pos<=e);return r}b(to,"K$1");te(to,"decode");function no(t){t.sort(ro)}b(no,"Q$4");te(no,"sort");function ro(t,e){return t[0]-e[0]}b(ro,"X$3");te(ro,"sortComparator");function oo(t){const e=new gn;let n=0,r=0,i=0,o=0;for(let s=0;s<t.length;s++){const a=t[s];if(s>0&&e.write(Qr),a.length===0)continue;let l=0;for(let c=0;c<a.length;c++){const u=a[c];c>0&&e.write(We),l=I(e,u[0],l),u.length!==1&&(n=I(e,u[1],n),r=I(e,u[2],r),i=I(e,u[3],i),u.length!==4&&(o=I(e,u[4],o)))}}return e.flush()}b(oo,"Z$3");te(oo,"encode");var ml=Object.defineProperty,re=b((t,e)=>ml(t,"name",{value:e,configurable:!0}),"c$5");const fl=/^[\w+.-]+:\/\//,vl=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,wl=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function io(t){return fl.test(t)}b(io,"R$3");re(io,"isAbsoluteUrl");function so(t){return t.startsWith("//")}b(so,"q$2");re(so,"isSchemeRelativeUrl");function wn(t){return t.startsWith("/")}b(wn,"m$5");re(wn,"isAbsolutePath");function ao(t){return t.startsWith("file:")}b(ao,"v$4");re(ao,"isFileUrl");function Xt(t){return/^[.?#]/.test(t)}b(Xt,"u$1");re(Xt,"isRelative");function rt(t){const e=vl.exec(t);return bn(e[1],e[2]||"",e[3],e[4]||"",e[5]||"/",e[6]||"",e[7]||"")}b(rt,"f$6");re(rt,"parseAbsoluteUrl");function lo(t){const e=wl.exec(t),n=e[2];return bn("file:","",e[1]||"","",wn(n)?n:"/"+n,e[3]||"",e[4]||"")}b(lo,"w$4");re(lo,"parseFileUrl");function bn(t,e,n,r,i,o,s){return{scheme:t,user:e,host:n,port:r,path:i,query:o,hash:s,type:7}}b(bn,"y$4");re(bn,"makeUrl");function Qt(t){if(so(t)){const n=rt("http:"+t);return n.scheme="",n.type=6,n}if(wn(t)){const n=rt("http://foo.com"+t);return n.scheme="",n.host="",n.type=5,n}if(ao(t))return lo(t);if(io(t))return rt(t);const e=rt("http://foo.com/"+t);return e.scheme="",e.host="",e.type=t?t.startsWith("?")?3:t.startsWith("#")?2:4:1,e}b(Qt,"p$2");re(Qt,"parseUrl");function co(t){if(t.endsWith("/.."))return t;const e=t.lastIndexOf("/");return t.slice(0,e+1)}b(co,"P$3");re(co,"stripPathFilename");function uo(t,e){yn(e,e.type),t.path==="/"?t.path=e.path:t.path=co(e.path)+t.path}b(uo,"A$4");re(uo,"mergePaths");function yn(t,e){const n=e<=4,r=t.path.split("/");let i=1,o=0,s=!1;for(let l=1;l<r.length;l++){const c=r[l];if(!c){s=!0;continue}if(s=!1,c!=="."){if(c===".."){o?(s=!0,o--,i--):n&&(r[i++]=c);continue}r[i++]=c,o++}}let a="";for(let l=1;l<i;l++)a+="/"+r[l];(!a||s&&!a.endsWith("/.."))&&(a+="/"),t.path=a}b(yn,"d$5");re(yn,"normalizePath");function po(t,e){if(!t&&!e)return"";const n=Qt(t);let r=n.type;if(e&&r!==7){const o=Qt(e),s=o.type;switch(r){case 1:n.hash=o.hash;case 2:n.query=o.query;case 3:case 4:uo(n,o);case 5:n.user=o.user,n.host=o.host,n.port=o.port;case 6:n.scheme=o.scheme}s>r&&(r=s)}yn(n,r);const i=n.query+n.hash;switch(r){case 2:case 3:return i;case 4:{const o=n.path.slice(1);return o?Xt(e||t)&&!Xt(o)?"./"+o+i:o+i:i||"."}case 5:return n.path+i;default:return n.scheme+"//"+n.user+n.host+n.port+n.path+i}}b(po,"F$3");re(po,"resolve");var bl=Object.defineProperty,P=b((t,e)=>bl(t,"name",{value:e,configurable:!0}),"i$3");function ho(t){if(!t)return"";const e=t.lastIndexOf("/");return t.slice(0,e+1)}b(ho,"ae$2");P(ho,"stripFilename");function go(t,e){const n=ho(t),r=e?e+"/":"";return i=>po(r+(i||""),n)}b(go,"ge");P(go,"resolver");var ae=0,xn=1,kn=2,_n=3,mo=4,fo=1,vo=2;function wo(t,e){const n=Kt(t,0);if(n===t.length)return t;e||(t=t.slice());for(let r=n;r<t.length;r=Kt(t,r+1))t[r]=yo(t[r],e);return t}b(wo,"he");P(wo,"maybeSort");function Kt(t,e){for(let n=e;n<t.length;n++)if(!bo(t[n]))return n;return t.length}b(Kt,"X$2");P(Kt,"nextUnsortedSegmentLine");function bo(t){for(let e=1;e<t.length;e++)if(t[e][ae]<t[e-1][ae])return!1;return!0}b(bo,"_e");P(bo,"isSorted");function yo(t,e){return e||(t=t.slice()),t.sort($n)}b(yo,"ve$1");P(yo,"sortSegments");function $n(t,e){return t[ae]-e[ae]}b($n,"$$2");P($n,"sortComparator");function xo(t,e){const n=e.map(()=>[]);for(let r=0;r<t.length;r++){const i=t[r];for(let o=0;o<i.length;o++){const s=i[o];if(s.length===1)continue;const a=s[xn],l=s[kn],c=s[_n],u=n[a];(u[l]||(u[l]=[])).push([c,r,s[ae]])}}for(let r=0;r<n.length;r++){const i=n[r];for(let o=0;o<i.length;o++){const s=i[o];s&&s.sort($n)}}return n}b(xo,"Se$1");P(xo,"buildBySources");var Le=!1;function ko(t,e,n,r){for(;n<=r;){const i=n+(r-n>>1),o=t[i][ae]-e;if(o===0)return Le=!0,i;o<0?n=i+1:r=i-1}return Le=!1,n-1}b(ko,"Ee$1");P(ko,"binarySearch");function En(t,e,n){for(let r=n+1;r<t.length&&t[r][ae]===e;n=r++);return n}b(En,"H$1");P(En,"upperBound");function Sn(t,e,n){for(let r=n-1;r>=0&&t[r][ae]===e;n=r--);return n}b(Sn,"Y");P(Sn,"lowerBound");function Cn(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}b(Cn,"k$3");P(Cn,"memoizedState");function _o(t,e,n,r){const{lastKey:i,lastNeedle:o,lastIndex:s}=n;let a=0,l=t.length-1;if(r===i){if(e===o)return Le=s!==-1&&t[s][ae]===e,s;e>=o?a=s===-1?0:s:l=s}return n.lastKey=r,n.lastNeedle=e,n.lastIndex=ko(t,e,a,l)}b(_o,"Me$1");P(_o,"memoizedBinarySearch");function Rt(t){return typeof t=="string"?JSON.parse(t):t}b(Rt,"j");P(Rt,"parse");P(function(t,e){const n=Rt(t);if(!("sections"in n))return new zt(n,e);const r=[],i=[],o=[],s=[],a=[];Ln(n,e,r,i,o,s,a,0,0,1/0,1/0);const l={version:3,file:n.file,names:s,sources:i,sourcesContent:o,mappings:r,ignoreList:a};return Po(l)},"FlattenMap");function Ln(t,e,n,r,i,o,s,a,l,c,u){const{sections:p}=t;for(let h=0;h<p.length;h++){const{map:f,offset:v}=p[h];let g=c,k=u;if(h+1<p.length){const T=p[h+1].offset;g=Math.min(c,a+T.line),g===c?k=Math.min(u,l+T.column):g<c&&(k=l+T.column)}$o(f,e,n,r,i,o,s,a+v.line,l+v.column,g,k)}}b(Ln,"ee$2");P(Ln,"recurse");function $o(t,e,n,r,i,o,s,a,l,c,u){const p=Rt(t);if("sections"in p)return Ln(...arguments);const h=new zt(p,e),f=r.length,v=o.length,g=Fe(h),{resolvedSources:k,sourcesContent:T,ignoreList:E}=h;if(wt(r,k),wt(o,h.names),T)wt(i,T);else for(let C=0;C<k.length;C++)i.push(null);if(E)for(let C=0;C<E.length;C++)s.push(E[C]+f);for(let C=0;C<g.length;C++){const R=a+C;if(R>c)return;const B=Eo(n,R),D=C===0?l:0,W=g[C];for(let N=0;N<W.length;N++){const j=W[N],ce=D+j[ae];if(R===c&&ce>=u)return;if(j.length===1){B.push([ce]);continue}const De=f+j[xn],de=j[kn],$e=j[_n];B.push(j.length===4?[ce,De,de,$e]:[ce,De,de,$e,v+j[mo]])}}}b($o,"me");P($o,"addSection");function wt(t,e){for(let n=0;n<e.length;n++)t.push(e[n])}b(wt,"G$1");P(wt,"append");function Eo(t,e){for(let n=t.length;n<=e;n++)t[n]=[];return t[e]}b(Eo,"xe");P(Eo,"getLine");var So="`line` must be greater than 0 (lines start at line 1)",Co="`column` must be greater than or equal to 0 (columns start at column 0)",_t=-1,Ft=1,zt=class{static{b(this,"R")}static{P(this,"TraceMap")}constructor(e,n){const r=typeof e=="string";if(!r&&e._decodedMemo)return e;const i=Rt(e),{version:o,file:s,names:a,sourceRoot:l,sources:c,sourcesContent:u}=i;this.version=o,this.file=s,this.names=a||[],this.sourceRoot=l,this.sources=c,this.sourcesContent=u,this.ignoreList=i.ignoreList||i.x_google_ignoreList||void 0;const p=go(n,l);this.resolvedSources=c.map(p);const{mappings:h}=i;if(typeof h=="string")this._encoded=h,this._decoded=void 0;else if(Array.isArray(h))this._encoded=void 0,this._decoded=wo(h,r);else throw i.sections?new Error("TraceMap passed sectioned source map, please use FlattenMap export instead"):new Error(`invalid source map: ${JSON.stringify(i)}`);this._decodedMemo=Cn(),this._bySources=void 0,this._bySourceMemos=void 0}};function Lo(t){var e,n;return(n=(e=t)._encoded)!=null?n:e._encoded=oo(t._decoded)}b(Lo,"oe$1");P(Lo,"encodedMappings");function Fe(t){var e;return(e=t)._decoded||(e._decoded=to(t._encoded))}b(Fe,"O$3");P(Fe,"decodedMappings");function yl(t,e,n){const r=Fe(t);if(e>=r.length)return null;const i=r[e],o=lt(i,t._decodedMemo,e,n,Ft);return o===-1?null:i[o]}b(yl,"Oe");P(yl,"traceSegment");function To(t,e){let{line:n,column:r,bias:i}=e;if(n--,n<0)throw new Error(So);if(r<0)throw new Error(Co);const o=Fe(t);if(n>=o.length)return ot(null,null,null,null);const s=o[n],a=lt(s,t._decodedMemo,n,r,i||Ft);if(a===-1)return ot(null,null,null,null);const l=s[a];if(l.length===1)return ot(null,null,null,null);const{names:c,resolvedSources:u}=t;return ot(u[l[xn]],l[kn]+1,l[_n],l.length===5?c[l[mo]]:null)}b(To,"Le$1");P(To,"originalPositionFor");function xl(t,e){const{source:n,line:r,column:i,bias:o}=e;return Pn(t,n,r,i,o||Ft,!1)}b(xl,"ye$1");P(xl,"generatedPositionFor");function kl(t,e){const{source:n,line:r,column:i,bias:o}=e;return Pn(t,n,r,i,o||_t,!0)}b(kl,"Ce");P(kl,"allGeneratedPositionsFor");function _l(t,e){const n=Fe(t),{names:r,resolvedSources:i}=t;for(let o=0;o<n.length;o++){const s=n[o];for(let a=0;a<s.length;a++){const l=s[a],c=o+1,u=l[0];let p=null,h=null,f=null,v=null;l.length!==1&&(p=i[l[1]],h=l[2]+1,f=l[3]),l.length===5&&(v=r[l[4]]),e({generatedLine:c,generatedColumn:u,source:p,originalLine:h,originalColumn:f,name:v})}}}b(_l,"Ie");P(_l,"eachMapping");function Tn(t,e){const{sources:n,resolvedSources:r}=t;let i=n.indexOf(e);return i===-1&&(i=r.indexOf(e)),i}b(Tn,"re$1");P(Tn,"sourceIndex");function $l(t,e){const{sourcesContent:n}=t;if(n==null)return null;const r=Tn(t,e);return r===-1?null:n[r]}b($l,"Ne");P($l,"sourceContentFor");function El(t,e){const{ignoreList:n}=t;if(n==null)return!1;const r=Tn(t,e);return r===-1?!1:n.includes(r)}b(El,"be$1");P(El,"isIgnored");function Po(t,e){const n=new zt(At(t,[]),e);return n._decoded=t.mappings,n}b(Po,"se$1");P(Po,"presortedDecodedMap");function Sl(t){return At(t,Fe(t))}b(Sl,"Re$1");P(Sl,"decodedMap");function Cl(t){return At(t,Lo(t))}b(Cl,"we$2");P(Cl,"encodedMap");function At(t,e){return{version:t.version,file:t.file,names:t.names,sourceRoot:t.sourceRoot,sources:t.sources,sourcesContent:t.sourcesContent,mappings:e,ignoreList:t.ignoreList||t.x_google_ignoreList}}b(At,"B");P(At,"clone");function ot(t,e,n,r){return{source:t,line:e,column:n,name:r}}b(ot,"b$5");P(ot,"OMapping");function qe(t,e){return{line:t,column:e}}b(qe,"y$3");P(qe,"GMapping");function lt(t,e,n,r,i){let o=_o(t,r,e,n);return Le?o=(i===_t?En:Sn)(t,r,o):i===_t&&o++,o===-1||o===t.length?-1:o}b(lt,"w$3");P(lt,"traceSegmentInternal");function Ro(t,e,n,r,i){let o=lt(t,e,n,r,Ft);if(!Le&&i===_t&&o++,o===-1||o===t.length)return[];const s=Le?r:t[o][ae];Le||(o=Sn(t,s,o));const a=En(t,s,o),l=[];for(;o<=a;o++){const c=t[o];l.push(qe(c[fo]+1,c[vo]))}return l}b(Ro,"Ue");P(Ro,"sliceGeneratedPositions");function Pn(t,e,n,r,i,o){var s,a;if(n--,n<0)throw new Error(So);if(r<0)throw new Error(Co);const{sources:l,resolvedSources:c}=t;let u=l.indexOf(e);if(u===-1&&(u=c.indexOf(e)),u===-1)return o?[]:qe(null,null);const p=(s=t)._bySourceMemos||(s._bySourceMemos=l.map(Cn)),h=((a=t)._bySources||(a._bySources=xo(Fe(t),p)))[u][n];if(h==null)return o?[]:qe(null,null);const f=p[u];if(o)return Ro(h,f,n,r,i);const v=lt(h,f,n,r,i);if(v===-1)return qe(null,null);const g=h[v];return qe(g[fo]+1,g[vo])}b(Pn,"ie$1");P(Pn,"generatedPosition");var Ll=Object.defineProperty,oe=b((t,e)=>Ll(t,"name",{value:e,configurable:!0}),"f$5");const Tl=/`((?:[^`$]|\$\{[^}]+\})*)`/g,gr=/\$\{[^}]+\}/g,Pl=/[.*+?^${}()|[\]\\]/g,Fo=[/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*`/],Te=oe(t=>t.replaceAll(Pl,String.raw`\$&`),"escapeRegex"),Rl=oe(t=>{const e=Te(t);return[t,`new Error("${e}")`,`new Error('${e}')`,`new Error(\`${Te(t)}\`)`,`throw new Error("${e}")`,`throw new Error('${e}')`,`throw new Error(\`${Te(t)}\`)`,`Error("${e}")`,`Error('${e}')`]},"createErrorPatterns"),mr=oe((t,e)=>{const n=[...t.matchAll(Tl)];for(const r of n){const i=r[1];if(!i)continue;const o=i.split(gr);if(o.every(a=>a===""||e.includes(a))&&o.length>1)return!0;if(!i)continue;const s=i.replaceAll(gr,"(.+?)");try{if(new RegExp(`^${Te(s)}$`).test(e))return!0}catch{}}return!1},"checkTemplateLiteralMatch"),Fl=[/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 (.+?)\)/],zl=oe(t=>{for(const e of Fl){const n=t.match(e);if(n)return n}},"findDynamicErrorMatch"),fr=oe(t=>{let e,n;for(const r of Fo){const i=t.match(r);i&&(!e||r.source.includes("throw")&&!n?.source.includes("throw"))&&(e=i,n=r)}return{bestMatch:e,bestPattern:n}},"findBestErrorConstructor"),vr=oe((t,e)=>{let n=t.index??0;if(e.source.includes("throw new")&&t[0].startsWith("throw new")){const r=t[0].indexOf("new");r!==-1&&(n+=r)}return n+1},"calculateActualColumn"),Al=oe((t,e,n=0)=>{if(!t||!e)return;const r=t.split(`
|
|
1897
|
+
`),i=zl(e),o=Rl(e),s=oe((p,h,f)=>{let v=0;for(const[g,k]of p.entries()){if(!k)continue;const T=k.includes(h)||mr(k,h),E=Fo.some(C=>C.test(k));if(T&&E){const{bestMatch:C,bestPattern:R}=fr(k);if(C&&R&&(v+=1,v>f))return{column:vr(C,R),line:g+1}}}},"processErrorConstructorLines")(r,e,n);if(s)return s;i&&oe((p,h,f)=>{if(p[0].includes("Failed to resolve import")){const v=p[1];if(!v)return;const g=Te(v);f.unshift(`import.*from ["']${g}["']`,`import.*["']${g}["']`,v)}else if(p[0].includes("is not defined")){const v=p[1];if(!v)return;f.unshift(v,`{${v}}`,`src={${v}}`,`${v}.`,`=${v}`)}else if(p[0].includes("Cannot read properties")){const v=p[1],g=p[2];if(!g)return;f.unshift(g,`${v}.${g}`,`${v}?.${g}`,`${v}[${g}]`)}else{const v=p[1];if(!v)return;const g=Te(h),k=Te(v);f.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")(i,e,o);const a=oe((p,h,f)=>{let v=0;for(const[g,k]of p.entries()){if(!k||!mr(k,h))continue;const{bestMatch:T,bestPattern:E}=fr(k);if(T&&E&&(v+=1,v>f))return{column:vr(T,E),line:g+1}}},"processTemplateLiteralLines"),l=oe((p,h,f,v)=>{if(!v)return p+1;if(v[0].includes("Failed to resolve import")){const g=v[1];if(f.includes(`"${g}"`)||f.includes(`'${g}'`)){const k=f.includes(`"${g}"`)?'"':"'";return f.indexOf(`${k}${g}${k}`)+1}}else if(v[0].includes("is not defined")){const g=v[1];if(g&&h===g)return p+1;if(g&&h.includes(g))return p+h.indexOf(g)+1}else if(v[0].includes("Cannot read properties")){const g=v[2];if(g&&h.includes(g))return p+h.indexOf(g)+1}else if(h.includes("new Error("))return f.indexOf("new Error(")+1;return p+1},"calculatePatternColumn"),c=oe((p,h,f,v)=>{let g=0;for(const[k,T]of p.entries()){if(!T)continue;let E=-1,C;for(const R of h){const B=T.indexOf(R);B!==-1&&(E===-1||B<E)&&(E=B,C=R)}if(E!==-1&&C&&(g+=1,g>v))return{column:l(E,C,T,f),line:k+1}}},"processPatternLines");return a(r,e,n)||c(r,o,i,n)},"findErrorInSourceCode");var Dl=Object.defineProperty,ct=b((t,e)=>Dl(t,"name",{value:e,configurable:!0}),"m$4");const Ml=1,Il=/^\//,wr=ct((t,e)=>{const n=Math.max(1,t),r=Math.max(0,e);let i,o;return n>=20?i=Math.max(1,Math.round(n*.5)):n>15?i=Math.max(1,Math.round(n*.6)):n>10?i=Math.max(1,n-8):i=Math.max(1,n-3),r>=10||r>7?o=Math.max(0,r-1):r>5?o=Math.max(0,r):o=r,{estimatedColumn:o,estimatedLine:i}},"estimateOriginalPosition"),Bl=ct((t,e,n)=>{try{const r=new zt(t);if(e<=0)return;const i=[{column:n,desc:"original",line:e},{column:Math.max(0,n-Ml),desc:"offset",line:e},{column:n,desc:"line above",line:e-1},{column:n,desc:"line below",line:e+1},...Array.from({length:5},(o,s)=>({column:Math.max(0,n-2+s),desc:`col ${n-2+s}`,line:e}))].filter(o=>o.line>0);for(const o of i){const s=To(r,{column:o.column,line:o.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(r){console.warn("Source map processing failed:",r)}},"resolveSourceMapPosition"),jl=ct((t,e)=>e?Yr(t)?Ol(t,e):e:t,"resolveSourcePath"),Ol=ct((t,e)=>{try{const n=new URL(t),r=(n.pathname||"").replace(Il,""),i=r.includes("/")?r.slice(0,Math.max(0,r.lastIndexOf("/"))):"";return`${n.origin}/${i?`${i}/`:""}${e}`}catch(n){return console.warn("URL parsing failed for source path resolution:",n),t}},"resolveHttpSourcePath"),Jt=ct(async(t,e,n,r,i,o,s=0)=>{if(o&&e)try{let l;if(e.transformResult?.map?.sourcesContent?.[0]?[l]=e.transformResult.map.sourcesContent:e.transformResult?.code&&(l=e.transformResult.code),!l&&(e.id||e.url)){const c=e.id||e.url;if(c)try{const u=await t.transformRequest(c);u?.map&&"sourcesContent"in u.map&&u.map.sourcesContent?.[0]?[l]=u.map.sourcesContent:u?.code&&(l=u.code)}catch(u){console.warn("Failed to get fresh source for error search:",u)}}if(!l&&n)try{const c=await import("node:fs/promises");let u=n;if(n.includes("://"))try{u=new URL(n).pathname}catch{const p=n.indexOf("://");p!==-1&&(u=n.slice(p+3))}u.startsWith("/")||(u=`${t.config.root||process.cwd()}/${u}`),l=await c.readFile(u,"utf8")}catch(c){console.warn("Failed to read source file from disk:",c)}if(l){const c=Al(l,o,s);if(c)return{originalFileColumn:c.column,originalFileLine:c.line,originalFilePath:n}}}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 c=await t.transformRequest(l);c?.map&&(a=c.map)}catch(c){console.warn("Failed to get fresh source map:",c)}}if(!a){const{estimatedColumn:l,estimatedLine:c}=wr(r,i);return{originalFileColumn:l,originalFileLine:c,originalFilePath:n}}try{const l=Bl(a,r,i);if(!l){const{estimatedColumn:u,estimatedLine:p}=wr(r,i);return{originalFileColumn:u,originalFileLine:p,originalFilePath:n}}const c=jl(n,l.source);return{originalFileColumn:l.column,originalFileLine:l.line,originalFilePath:c}}catch(l){return console.warn("Source map resolution failed:",l),{originalFileColumn:i,originalFileLine:r,originalFilePath:n}}},"resolveOriginalLocation");var Hl=Object.defineProperty,ql=b((t,e)=>Hl(t,"name",{value:e,configurable:!0}),"$e"),Nl=Object.defineProperty,Rn=ql((t,e)=>Nl(t,"name",{value:e,configurable:!0}),"W"),Ul=Object.defineProperty,$=Rn((t,e)=>Ul(t,"name",{value:e,configurable:!0}),"u$1");let br=$(()=>{var t=(()=>{var e=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,o=$((d,m)=>{for(var w in m)e(d,w,{get:m[w],enumerable:!0})},"ne"),s=$((d,m,w,x)=>{if(m&&typeof m=="object"||typeof m=="function")for(let y of r(m))!i.call(d,y)&&y!==w&&e(d,y,{get:$(()=>m[y],"get"),enumerable:!(x=n(m,y))||x.enumerable});return d},"ae"),a=$(d=>s(e({},"__esModule",{value:!0}),d),"oe"),l={};o(l,{zeptomatch:$(()=>Gn,"zeptomatch")});var c=$(d=>{const m=new Set,w=[d];for(let x=0;x<w.length;x++){const y=w[x];if(m.has(y))continue;m.add(y);const{children:_}=y;if(_?.length)for(let L=0,M=_.length;L<M;L++)w.push(_[L])}return Array.from(m)},"M"),u=$(d=>{let m="";const w=c(d);for(let x=0,y=w.length;x<y;x++){const _=w[x];if(!_.regex)continue;const L=_.regex.flags;if(m||(m=L),m!==L)throw new Error(`Inconsistent RegExp flags used: "${m}" and "${L}"`)}return m},"se"),p=$((d,m,w)=>{const x=w.get(d);if(x!==void 0)return x;const y=d.partial??m;let _="";if(d.regex&&(_+=y?"(?:$|":"",_+=d.regex.source),d.children?.length){const L=f(d.children.map(M=>p(M,m,w)).filter(Boolean));if(L?.length){const M=d.children.some(Ke=>!Ke.regex||!(Ke.partial??m)),K=L.length>1||y&&(!_.length||M);_+=K?y?"(?:$|":"(?:":"",_+=L.join("|"),_+=K?")":""}}return d.regex&&(_+=y?")":""),w.set(d,_),_},"O"),h=$((d,m)=>{const w=new Map,x=c(d);for(let y=x.length-1;y>=0;y--){const _=p(x[y],m,w);if(!(y>0))return _}return""},"ie"),f=$(d=>Array.from(new Set(d)),"ue"),v=$((d,m,w)=>v.compile(d,w).test(m),"R");v.compile=(d,m)=>{const w=m?.partial??!1,x=h(d,w),y=u(d);return new RegExp(`^(?:${x})$`,y)};var g=v,k=$((d,m)=>{const w=g.compile(d,m),x=`${w.source.slice(0,-1)}[\\\\/]?$`,y=w.flags;return new RegExp(x,y)},"le"),T=k,E=$(d=>{const m=d.map(x=>x.source).join("|")||"$^",w=d[0]?.flags;return new RegExp(m,w)},"ve"),C=E,R=$(d=>Array.isArray(d),"j"),B=$(d=>typeof d=="function","_"),D=$(d=>d.length===0,"he"),W=(()=>{const{toString:d}=Function.prototype,m=/(?:^\(\s*(?:[^,.()]|\.(?!\.\.))*\s*\)\s*=>|^\s*[a-zA-Z$_][a-zA-Z0-9$_]*\s*=>)/;return w=>(w.length===0||w.length===1)&&m.test(d.call(w))})(),N=$(d=>typeof d=="number","de"),j=$(d=>typeof d=="object"&&d!==null,"xe"),ce=$(d=>d instanceof RegExp,"me"),De=(()=>{const d=/\\\(|\((?!\?(?::|=|!|<=|<!))/;return m=>d.test(m.source)})(),de=(()=>{const d=/^[a-zA-Z0-9_-]+$/;return m=>d.test(m.source)&&!m.flags.includes("i")})(),$e=$(d=>typeof d=="string","A"),F=$(d=>d===void 0,"f"),O=$(d=>{const m=new Map;return w=>{const x=m.get(w);if(x!==void 0)return x;const y=d(w);return m.set(w,y),y}},"ye"),X=$((d,m,w={})=>{const x={cache:{},input:d,index:0,indexBacktrackMax:0,options:w,output:[]},y=xe(m)(x),_=Math.max(x.index,x.indexBacktrackMax);if(y&&x.index===d.length)return x.output;throw new Error(`Failed to parse at index ${_}`)},"I"),S=$((d,m)=>R(d)?Me(d,m):$e(d)?Ze(d,m):be(d,m),"i"),Me=$((d,m)=>{const w={};for(const x of d){if(x.length!==1)throw new Error(`Invalid character: "${x}"`);const y=x.charCodeAt(0);w[y]=!0}return x=>{const y=x.input;let _=x.index,L=_;for(;L<y.length&&y.charCodeAt(L)in w;)L+=1;if(L>_){if(!F(m)&&!x.options.silent){const M=y.slice(_,L),K=B(m)?m(M,y,`${_}`):m;F(K)||x.output.push(K)}x.index=L}return!0}},"we"),be=$((d,m)=>{if(de(d))return Ze(d.source,m);{const w=d.source,x=d.flags.replace(/y|$/,"y"),y=new RegExp(w,x);return De(d)&&B(m)&&!W(m)?ut(y,m):pt(y,m)}},"$e"),ut=$((d,m)=>w=>{const x=w.index,y=w.input;d.lastIndex=x;const _=d.exec(y);if(_){const L=d.lastIndex;if(!w.options.silent){const M=m(..._,y,`${x}`);F(M)||w.output.push(M)}return w.index=L,!0}else return!1},"Ee"),pt=$((d,m)=>w=>{const x=w.index,y=w.input;if(d.lastIndex=x,d.test(y)){const _=d.lastIndex;if(!F(m)&&!w.options.silent){const L=B(m)?m(y.slice(x,_),y,`${x}`):m;F(L)||w.output.push(L)}return w.index=_,!0}else return!1},"Ce"),Ze=$((d,m)=>w=>{const x=w.index,y=w.input;if(y.startsWith(d,x)){if(!F(m)&&!w.options.silent){const _=B(m)?m(d,y,`${x}`):m;F(_)||w.output.push(_)}return w.index+=d.length,!0}else return!1},"F"),Ie=$((d,m,w,x)=>{const y=xe(d),_=m>1;return Xe(ue(ye(L=>{let M=0;for(;M<w;){const K=L.index;if(!y(L)||(M+=1,L.index===K))break}return M>=m},_),x))},"k"),Ye=$((d,m)=>Ie(d,0,1,m),"L"),Be=$((d,m)=>Ie(d,0,1/0,m),"$"),je=$((d,m)=>Ie(d,1,1/0,m),"Re"),V=$((d,m)=>{const w=d.map(xe);return Xe(ue(ye(x=>{for(let y=0,_=w.length;y<_;y++)if(!w[y](x))return!1;return!0}),m))},"x"),Z=$((d,m)=>{const w=d.map(xe);return Xe(ue(x=>{for(let y=0,_=w.length;y<_;y++)if(w[y](x))return!0;return!1},m))},"p"),ye=$((d,m=!0,w=!1)=>{const x=xe(d);return m?y=>{const _=y.index,L=y.output.length,M=x(y);return!M&&!w&&(y.indexBacktrackMax=Math.max(y.indexBacktrackMax,y.index)),(!M||w)&&(y.index=_,y.output.length!==L&&(y.output.length=L)),M}:x},"q"),ue=$((d,m)=>{const w=xe(d);return m?x=>{if(x.options.silent)return w(x);const y=x.output.length;if(w(x)){const _=x.output.splice(y,1/0),L=m(_);return F(L)||x.output.push(L),!0}else return!1}:w},"B"),Xe=(()=>{let d=0;return m=>{const w=xe(m),x=d+=1;return y=>{var _;if(y.options.memoization===!1)return w(y);const L=y.index,M=(_=y.cache)[x]||(_[x]={indexMax:-1,queue:[]}),K=M.queue;if(L<=M.indexMax){const Je=M.store||(M.store=new Map);if(K.length){for(let He=0,qi=K.length;He<qi;He+=2){const Ni=K[He*2],Ui=K[He*2+1];Je.set(Ni,Ui)}K.length=0}const pe=Je.get(L);if(pe===!1)return!1;if(N(pe))return y.index=pe,!0;if(pe)return y.index=pe.index,pe.output?.length&&y.output.push(...pe.output),!0}const Ke=y.output.length,Hi=w(y);if(M.indexMax=Math.max(M.indexMax,L),Hi){const Je=y.index,pe=y.output.length;if(pe>Ke){const He=y.output.slice(Ke,pe);K.push(L,{index:Je,output:He})}else K.push(L,Je);return!0}else return K.push(L,!1),!1}}})(),An=$(d=>{let m;return w=>(m||(m=xe(d())),m(w))},"G"),xe=O(d=>{if(B(d))return D(d)?An(d):d;if($e(d)||ce(d))return S(d);if(R(d))return V(d);if(j(d))return Z(Object.values(d));throw new Error("Invalid rule")}),Ee=$(d=>d,"d"),jo=$(d=>typeof d=="string","ke"),Oo=$(d=>{const m=new WeakMap,w=new WeakMap;return(x,y)=>{const _=y?.partial?w:m,L=_.get(x);if(L!==void 0)return L;const M=d(x,y);return _.set(x,M),M}},"Be"),Ho=$(d=>{const m={},w={};return(x,y)=>{const _=y?.partial?w:m;return _[x]??(_[x]=d(x,y))}},"Pe"),qo=S(/\\./,Ee),No=S(/./,Ee),Uo=S(/\*\*\*+/,"*"),Go=S(/([^/{[(!])\*\*/,(d,m)=>`${m}*`),Wo=S(/(^|.)\*\*(?=[^*/)\]}])/,(d,m)=>`${m}*`),Vo=Be(Z([qo,Uo,Go,Wo,No])),Zo=Vo,Yo=$(d=>X(d,Zo,{memoization:!1}).join(""),"Ie"),Xo=Yo,Dn="abcdefghijklmnopqrstuvwxyz",Qo=$(d=>{let m="";for(;d>0;){const w=(d-1)%26;m=Dn[w]+m,d=Math.floor((d-1)/26)}return m},"Le"),Mn=$(d=>{let m=0;for(let w=0,x=d.length;w<x;w++)m=m*26+Dn.indexOf(d[w])+1;return m},"V"),Mt=$((d,m)=>{if(m<d)return Mt(m,d);const w=[];for(;d<=m;)w.push(d++);return w},"b"),Ko=$((d,m,w)=>Mt(d,m).map(x=>String(x).padStart(w,"0")),"qe"),In=$((d,m)=>Mt(Mn(d),Mn(m)).map(Qo),"W"),Y=$(d=>({partial:!1,regex:new RegExp(d,"s"),children:[]}),"c"),Qe=$(d=>({children:d}),"y"),Oe=(()=>{const d=$((m,w,x)=>{if(x.has(m))return;x.add(m);const{children:y}=m;if(!y.length)y.push(w);else for(let _=0,L=y.length;_<L;_++)d(y[_],w,x)},"e");return m=>{if(!m.length)return Qe([]);for(let w=m.length-1;w>=1;w--){const x=new Set,y=m[w-1],_=m[w];d(y,_,x)}return m[0]}})(),ke=$(()=>({regex:new RegExp("[\\\\/]","s"),children:[]}),"g"),Jo=S(/\\./,Y),ei=S(/[$.*+?^(){}[\]\|]/,d=>Y(`\\${d}`)),ti=S(/[\\\/]/,ke),ni=S(/[^$.*+?^(){}[\]\|\\\/]+/,Y),ri=S(/^(?:!!)*!(.*)$/,(d,m)=>Y(`(?!^${Gn.compile(m).source}$).*?`)),oi=S(/^(!!)+/),ii=Z([ri,oi]),si=S(/\/(\*\*\/)+/,()=>Qe([Oe([ke(),Y(".+?"),ke()]),ke()])),ai=S(/^(\*\*\/)+/,()=>Qe([Y("^"),Oe([Y(".*?"),ke()])])),li=S(/\/(\*\*)$/,()=>Qe([Oe([ke(),Y(".*?")]),Y("$")])),ci=S(/\*\*/,()=>Y(".*?")),Bn=Z([si,ai,li,ci]),di=S(/\*\/(?!\*\*\/|\*$)/,()=>Oe([Y("[^\\\\/]*?"),ke()])),ui=S(/\*/,()=>Y("[^\\\\/]*")),jn=Z([di,ui]),On=S("?",()=>Y("[^\\\\/]")),pi=S("[",Ee),hi=S("]",Ee),gi=S(/[!^]/,"^\\\\/"),mi=S(/[a-z]-[a-z]|[0-9]-[0-9]/i,Ee),fi=S(/\\./,Ee),vi=S(/[$.*+?^(){}[\|]/,d=>`\\${d}`),wi=S(/[\\\/]/,"\\\\/"),bi=S(/[^$.*+?^(){}[\]\|\\\/]+/,Ee),yi=Z([fi,vi,wi,mi,bi]),Hn=V([pi,Ye(gi),Be(yi),hi],d=>Y(d.join(""))),xi=S("{","(?:"),ki=S("}",")"),_i=S(/(\d+)\.\.(\d+)/,(d,m,w)=>Ko(+m,+w,Math.min(m.length,w.length)).join("|")),$i=S(/([a-z]+)\.\.([a-z]+)/,(d,m,w)=>In(m,w).join("|")),Ei=S(/([A-Z]+)\.\.([A-Z]+)/,(d,m,w)=>In(m.toLowerCase(),w.toLowerCase()).join("|").toUpperCase()),Si=Z([_i,$i,Ei]),qn=V([xi,Si,ki],d=>Y(d.join(""))),Ci=S("{"),Li=S("}"),Ti=S(","),Pi=S(/\\./,Y),Ri=S(/[$.*+?^(){[\]\|]/,d=>Y(`\\${d}`)),Fi=S(/[\\\/]/,ke),zi=S(/[^$.*+?^(){}[\]\|\\\/,]+/,Y),Ai=An(()=>Un),Di=S("",()=>Y("(?:)")),Mi=je(Z([Bn,jn,On,Hn,qn,Ai,Pi,Ri,Fi,zi]),Oe),Nn=Z([Mi,Di]),Un=V([Ci,Ye(V([Nn,Be(V([Ti,Nn]))])),Li],Qe),Ii=Be(Z([ii,Bn,jn,On,Hn,qn,Un,Jo,ei,ti,ni]),Oe),Bi=Ii,ji=$(d=>X(d,Bi,{memoization:!1})[0],"kr"),Oi=ji,It=$((d,m,w)=>It.compile(d,w).test(m),"N");It.compile=(()=>{const d=Ho((w,x)=>T(Oi(Xo(w)),x)),m=Oo((w,x)=>C(w.map(y=>d(y,x))));return(w,x)=>jo(w)?d(w,x):m(w,x)})();var Gn=It;return a(l)})();return t.default||t},"_lazyMatch"),jt;const Gl=$((t,e)=>(jt||(jt=br(),br=null),jt(t,e)),"default");var Wl=Object.defineProperty,Vl=Rn((t,e)=>Wl(t,"name",{value:e,configurable:!0}),"t$1");const Zl=/^[A-Z]:\//i,ze=Vl((t="")=>t&&t.replaceAll("\\","/").replace(Zl,e=>e.toUpperCase()),"normalizeWindowsPath");var Yl=Object.defineProperty,ne=Rn((t,e)=>Yl(t,"name",{value:e,configurable:!0}),"r");const Xl=/^[/\\]{2}/,Ql=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Z]:[/\\]/i,zo=/^[A-Z]:$/i,yr=/^\/([A-Z]:)?$/i,Kl=/.(\.[^./]+)$/,Jl=/^[/\\]|^[a-z]:[/\\]/i,ec=/\/$/,tc=ne(()=>typeof process.cwd=="function"?process.cwd().replaceAll("\\","/"):"/","cwd"),Ao=ne((t,e)=>{let n="",r=0,i=-1,o=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(!(i===a-1||o===1))if(o===2){if(n.length<2||r!==2||!n.endsWith(".")||n.at(-2)!=="."){if(n.length>2){const l=n.lastIndexOf("/");l===-1?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=a,o=0;continue}else if(n.length>0){n="",r=0,i=a,o=0;continue}}e&&(n+=n.length>0?"/..":"..",r=2)}else n.length>0?n+=`/${t.slice(i+1,a)}`:n=t.slice(i+1,a),r=a-i-1;i=a,o=0}else s==="."&&o!==-1?++o:o=-1}return n},"normalizeString"),st=ne(t=>Ql.test(t),"isAbsolute"),$t=ne(function(t){if(t.length===0)return".";t=ze(t);const e=Xl.exec(t),n=st(t),r=t.at(-1)==="/";return t=Ao(t,!n),t.length===0?n?"/":r?"./":".":(r&&(t+="/"),zo.test(t)&&(t+="/"),e?n?`//${t}`:`//./${t}`:n&&!st(t)?`/${t}`:t)},"normalize");ne((...t)=>{let e="";for(const n of t)if(n)if(e.length>0){const r=e.at(-1)==="/",i=n[0]==="/";r&&i?e+=n.slice(1):e+=r||i?n:`/${n}`}else e+=n;return $t(e)},"join");const Et=ne(function(...t){t=t.map(r=>ze(r));let e="",n=!1;for(let r=t.length-1;r>=-1&&!n;r--){const i=r>=0?t[r]:tc();!i||i.length===0||(e=`${i}/${e}`,n=st(i))}return e=Ao(e,!n),n&&!st(e)?`/${e}`:e.length>0?e:"."},"resolve");ne(function(t){return ze(t)},"toNamespacedPath");const nc=ne(function(t){return Kl.exec(ze(t))?.[1]??""},"extname");ne(function(t,e){const n=Et(t).replace(yr,"$1").split("/"),r=Et(e).replace(yr,"$1").split("/");if(r[0][1]===":"&&n[0][1]===":"&&n[0]!==r[0])return r.join("/");const i=[...n];for(const o of i){if(r[0]!==o)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")},"relative");const rc=ne(t=>{const e=ze(t).replace(ec,"").split("/").slice(0,-1);return e.length===1&&zo.test(e[0])&&(e[0]=`${e[0]}/`),e.join("/")||(st(t)?"/":".")},"dirname");ne(function(t){const e=[t.root,t.dir,t.base??t.name+t.ext].filter(Boolean);return ze(t.root?Et(...e):e.join("/"))},"format");const oc=ne((t,e)=>{const n=ze(t).split("/").pop();return e&&n.endsWith(e)?n.slice(0,-e.length):n},"basename");ne(function(t){const e=Jl.exec(t)?.[0]?.replaceAll("\\","/")??"",n=oc(t),r=nc(n);return{base:n,dir:rc(t),ext:r,name:n.slice(0,n.length-r.length),root:e}},"parse");ne((t,e)=>Gl(e,$t(t)),"matchesGlob");var ic=Object.defineProperty,le=b((t,e)=>ic(t,"name",{value:e,configurable:!0}),"e$1");const en="/",xr=":",sc="at ",ac=/https?:\/\/[^\s)]+/g,lc=/file:\/\//g,Do=/\/@fs\//g,cc=/\([^)]*:\d+:\d+\)/,dc=/\([^)]*:\d+\)/,uc=/[^(\s][^:]*:\d+:\d+/,pc=/[^(\s][^:]*:\d+/,hc=/:(\d+)(?::(\d+))?$/,gc=/\n/,mc=new Set([".cjs",".js",".jsx",".mjs",".svelte",".ts",".tsx",".vue"]),fc=new Set(["<anonymous>","<unknown>","native"]),vc=le(t=>{const e=t.match(hc),n=e?.[1],r=e?.[2];return{baseUrl:e?t.slice(0,-e[0].length):t,col:r,line:n}},"parseUrlWithLocation"),wc=le((t,e)=>{const n=new URL(t);let r=decodeURIComponent(n.pathname||"");return r=r.replaceAll(Do,en),Et(e,r.startsWith(en)?r.slice(1):r)},"urlToAbsolutePath"),bc=le((t,e,n)=>{if(!e)return t;const r=n?`${xr}${n}`:"";return`${t}${xr}${e}${r}`},"formatAbsolutePath"),yc=le(t=>{const e=t.trim();return!e.startsWith(sc)||!([...mc].some(n=>e.includes(n))||[...fc].some(n=>e.includes(n)))?!1:cc.test(e)||dc.test(e)||uc.test(e)||pc.test(e)||e.includes("native")||e.includes("<unknown>")},"isValidStackFrame"),xc=le(t=>{let e=t.replaceAll(Do,en);return e=e.replaceAll(lc,""),e.includes("<unknown>")?e.trim()||"":e.trim()&&!yc(e)?"":e},"cleanStackLine"),kc=le((t,e)=>{try{const{baseUrl:n,col:r,line:i}=vc(t),o=wc(n,e);return bc(o,i,r)}catch(n){return console.warn("Failed to absolutize URL:",t,n),t}},"absolutizeUrl"),Fn=le(t=>t&&t.replaceAll(`\r
|
|
1898
1898
|
`,`
|
|
1899
1899
|
`).replaceAll("\r",`
|
|
1900
|
-
`).split(
|
|
1901
|
-
`),"cleanErrorStack"),
|
|
1902
|
-
`)[0]||t;if(e&&n>0&&r>0)return{column:r,line:n,message:s,originalFilePath:e}},"parseVueCompilationError");var
|
|
1900
|
+
`).split(gc).map(e=>xc(e)).filter(e=>e.trim()!=="").join(`
|
|
1901
|
+
`),"cleanErrorStack"),_c=le(t=>{const e=typeof t=="string"?t:t.message||String(t);return Zi(e)},"cleanErrorMessage"),$c=le(t=>t instanceof AggregateError||t!==null&&typeof t=="object"&&"errors"in t&&Array.isArray(t.errors),"isAggregateError"),Ec=le(t=>$c(t)?t.errors:[t],"extractErrors"),Dt=le((t,e)=>t&&String(t).replaceAll(ac,n=>kc(n,e)),"absolutizeStackUrls");var Sc=Object.defineProperty,Cc=b((t,e)=>Sc(t,"name",{value:e,configurable:!0}),"c$3");const Lc=/\((\d+):(\d+)\)/,Tc=/(\S+\.vue)/,Pc=Cc(t=>{if(!t.includes("[vue/compiler-sfc]"))return;let e="",n=0,r=0;const i=t.match(Lc);i?.[1]&&i[2]&&(n=Number.parseInt(i[1],10),r=Number.parseInt(i[2],10));const o=t.match(Tc);o?.[1]&&(e=o[1]||"");const s=t.split(`
|
|
1902
|
+
`)[0]||t;if(e&&n>0&&r>0)return{column:r,line:n,message:s,originalFilePath:e}},"parseVueCompilationError");var Rc=Object.defineProperty,Mo=b((t,e)=>Rc(t,"name",{value:e,configurable:!0}),"l$2");const Fc=/<style\b[^>]*>[\s\S]*?<\/style>/gi,zc=/<script\b[^>]*>[\s\S]*?<\/script>/gi,Ac=/<template\b[^>]*>[\s\S]*?<\/template>/gi,Dc=/style="([^"]*)"/g,Mc=Mo(t=>{let e=t.replaceAll(Fc,"").replaceAll(zc,"").replaceAll(Ac,"").replaceAll("<!--$?-->","").replaceAll("<!--/$-->","");return e=e.replaceAll(Dc,(n,r)=>`style="${(r.trim().endsWith(";")?r:`${r};`).replaceAll(" ","")}"`),e},"removeStyleAndDataAttributes"),Ic="https://react.dev/link/hydration-mismatch",Bc=Mo(t=>{const[e,n]=t.message.split(Ic);if(e){const[o]=e?.split(`
|
|
1903
1903
|
|
|
1904
|
-
`);t.message=o.replace(" This can happen if a SSR-ed Client Component used:","")}const r=[];for(const o of
|
|
1904
|
+
`);t.message=o.replace(" This can happen if a SSR-ed Client Component used:","")}const r=[];for(const o of Mc(n?.trim()||"").split(`
|
|
1905
1905
|
`)||[])o.startsWith("+ ")?r.push(`[!code ++] ${o.slice(1)}`):o.startsWith("- ")?r.push(`[!code --] ${o.slice(1)}`):o.includes(" ...")||r.push(o);let i=r.findIndex(o=>o.startsWith("[!code ++]"));if(i===-1&&(i=r.findIndex(o=>o.startsWith("[!code --]"))),i!==-1)return r.slice(Math.max(0,i-5)).join(`
|
|
1906
|
-
`)},"processHydrationDiff");var
|
|
1907
|
-
at `)&&(r=e.replace(
|
|
1908
|
-
at `).replaceAll(
|
|
1909
|
-
at $1 $2`).replaceAll(qc,`
|
|
1906
|
+
`)},"processHydrationDiff");var jc=Object.defineProperty,Oc=b((t,e)=>jc(t,"name",{value:e,configurable:!0}),"m");const Hc=/^(Error:.*?)at /,qc=/at ([^<\s]+)\s*(<[^>]+>:\d+:\d+)/g,Nc=/at ([^<\s]+)\s*(<unknown>:\d+:\d+)/g,Uc=/at ([^<\s]+)\s*<([^>]+)>:\d+:\d+/g,Gc=/at ([^<\s]+)(?=\s*at|$)/g,Wc=Oc(async(t,e,n)=>{let r=e;if(e.includes("at ")&&!e.includes(`
|
|
1907
|
+
at `)&&(r=e.replace(Hc,`$1
|
|
1908
|
+
at `).replaceAll(qc,`
|
|
1910
1909
|
at $1 $2`).replaceAll(Nc,`
|
|
1911
|
-
at $1
|
|
1912
|
-
at $1
|
|
1913
|
-
`)[
|
|
1914
|
-
`)
|
|
1915
|
-
`),
|
|
1916
|
-
`)
|
|
1910
|
+
at $1 $2`).replaceAll(Uc,`
|
|
1911
|
+
at $1 <$2>:0:0`),r=r.replaceAll(Gc,`
|
|
1912
|
+
at $1 <unknown>:0:0`)),!r.includes("<unknown>")&&!r.includes("react-dom")&&!r.includes("react"))return r;const i=Ne({stack:r}),o=await Promise.all(i.map(async s=>{const{file:a}=s,l=s.line??0,c=s.column??0;if(a&&a!=="<unknown>"&&l>0&&c>0&&!a.includes("react-dom")&&!a.includes("react"))return s;if(!a||l<=0||c<=0){if((a==="<unknown>"||a&&(a.includes("react-dom")||a.includes("react")))&&s.methodName){const{methodName:u}=s,p={batchedUpdates:"Batch Updates",dispatchEvent:"Event System",executeDispatch:"Event Dispatcher",processDispatchQueue:"Event Queue",runWithFiber:"Fiber Reconciliation"};for(const[h,f]of Object.entries(p))if(u.includes(h))return{...s,column:0,file:`[React] ${f}`,line:0};if(!u.includes("$")&&!u.includes("anonymous")){const h=Ce(u),f=it(t,h);if(f){const v=await Jt(t,f,"",1,1);if(v.originalFilePath)return{...s,column:v.originalFileColumn||1,file:v.originalFilePath,line:v.originalFileLine||1}}}}return s}try{const u=Ce(a),p=it(t,u);if(!p)return s;const h=await Jt(t,p,a,l,c);return{...s,column:h.originalFileColumn,file:h.originalFilePath,line:h.originalFileLine}}catch{return s}}));return Cr(o,{header:n})},"remapStackToOriginal");var Vc=Object.defineProperty,dt=b((t,e)=>Vc(t,"name",{value:e,configurable:!0}),"t");const Zc=dt(t=>!!(t&&Array.isArray(t.sources)&&Array.isArray(t.sourcesContent)),"isValidSourceMap"),Ot=dt(t=>{if(typeof t=="string")return t},"getSourceContent"),Yc=dt((t,e)=>t===e||t.endsWith(e)||e.endsWith(t),"isPartialMatch"),Xc=dt((t,e)=>{if(!t||t.length===0)return-1;const n=t.indexOf(e);if(n!==-1)return n;if(!(e.includes("\\")||e.includes("/")))return-1;const r=$t(e),i=t.indexOf(r);if(i!==-1)return i;for(const[o,s]of t.entries()){if(!s||typeof s!="string")continue;const a=$t(s);if(Yc(a,r))return o}return-1},"findSourceIndex"),kr=dt((t,e)=>{if(!Zc(t))return;if(!e&&t.sourcesContent?.[0])return Ot(t.sourcesContent[0]);const n=Xc(t.sources,e||"");return n>=0&&t.sourcesContent?.[n]?Ot(t.sourcesContent[n]):t.sourcesContent?.[0]?Ot(t.sourcesContent[0]):void 0},"getSourceFromMap");var Qc=Object.defineProperty,Kc=b((t,e)=>Qc(t,"name",{value:e,configurable:!0}),"f");const _r=Kc(async(t,e,n,r)=>{let i,o;if(e&&typeof e=="object"&&"transformResult"in e&&e.transformResult){const a=e.transformResult;a.code&&!o&&(o=a.code),a.map&&!i&&(i=kr(a.map,n))}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:r[0];if(s&&(!i||!o))try{const a=await t.transformRequest(s);if(a?.code&&!o&&(o=a.code),a?.map&&!i){const{map:l}=a,c=l;typeof l=="object"&&l!==null&&"mappings"in l&&c.mappings!==""&&(i=kr(c,n))}}catch{}if(!i&&e&&typeof e=="object"&&"file"in e&&e.file)try{i=await Sr(e.file,"utf8")}catch{}return{compiledSourceText:o,originalSourceText:i}},"retrieveSourceTexts");var Jc=Object.defineProperty,ed=b((t,e)=>Jc(t,"name",{value:e,configurable:!0}),"a");const td=ed((t={})=>{const{classActivePre:e="has-diff",classLineAdd:n="diff add",classLineRemove:r="diff remove"}=t;return{code(i){this.addClassToHast(this.pre,e),i.children.filter(o=>o.type==="element").forEach(o=>{for(const s of o.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(o,n)),a.value.startsWith("[!code --]")&&(a.value=a.value.slice(10),this.addClassToHast(o,r)))}})},name:"shiki-diff"}},"shikiDiffTransformer");var nd=Object.defineProperty,rd=b((t,e)=>nd(t,"name",{value:e,configurable:!0}),"r");const od=rd((t,e)=>!e||t.includes("?")?t:t+e,"addQueryToUrl");var id=Object.defineProperty,sd=b((t,e)=>id(t,"name",{value:e,configurable:!0}),"e");const ad=sd(t=>{try{return new URL(t).search}catch{return""}},"extractQueryFromHttpUrl");var ld=Object.defineProperty,Ae=b((t,e)=>ld(t,"name",{value:e,configurable:!0}),"T");const cd=/[&<>"']/g,$r=/^https?:\/\/[^/]+/,Er=/^\//,dd={'"':""","&":"&","'":"'","<":"<",">":">"},tn=Ae(t=>t.replaceAll(cd,e=>dd[e]||e),"escapeHtml"),ud=Ae(t=>Array.isArray(t)&&Na(t)?Ua(t).map(e=>({message:e.message||"ESBuild error",name:e.name||"Error",stack:e.stack||""})):Ec(t),"extractIndividualErrors"),pd=Ae(t=>{const e=Ne(t,{frameLimit:10}),n=e?.find(r=>r?.file?.startsWith("http"))||e?.[0];return{compiledColumn:n?.column??0,compiledFilePath:n?.file??"",compiledLine:n?.line??0}},"extractLocationFromStack"),hd=Ae(async(t,e,n,r,i,o,s=0,a)=>{const l=i?.originalFilePath||e,c=i?.line??r,u=i?.column??n;if(l){let p=l,h=l;if(l.startsWith("http://")||l.startsWith("https://"))try{p=new URL(l).pathname,p.startsWith("/")&&(p=p.slice(1));const T=t.config.root||process.cwd();h=p.startsWith("/")?p:`${T}/${p}`}catch{console.warn("Failed to parse HTTP URL:",l)}const f=Ce(p),v=it(t,f);if(v)try{const T=await Jt(t,v,e||a||p,c,u,o,s),E=h||T.originalFilePath;return{originalFileColumn:T.originalFileColumn,originalFileLine:T.originalFileLine,originalFilePath:E}}catch{console.warn("Source map resolution failed, using estimation")}let g,k=u;return c>=20?g=Math.max(1,Math.round(c*.5)):c>15?g=Math.max(1,Math.round(c*.6)):c>10?g=Math.max(1,c-8):g=Math.max(1,c-3),u>=10||u>7?k=Math.max(0,u-1):u>5&&(k=Math.max(0,u)),{originalFileColumn:k,originalFileLine:g,originalFilePath:h||l}}return{originalFileColumn:u,originalFileLine:c,originalFilePath:l}},"resolveOriginalLocationInfo"),gd=Ae((t,e,n,r,i,o)=>({compiledCodeFrameContent:void 0,compiledColumn:t,compiledFilePath:e,compiledLine:n,fixPrompt:"",originalCodeFrameContent:void 0,originalFileColumn:r,originalFileLine:i,originalFilePath:o,originalSnippet:""}),"createEmptyResult"),md=Ae(async(t,e,n,r,i,o)=>{let s,a;const l=Ue(n),c=Ue(r)||l;if(l==="text"&&t&&t.trim()&&(s=`<pre class="shiki"><code>${tn(t)}</code></pre>`),c==="text"&&e&&e.trim()&&(a=`<pre class="shiki"><code>${tn(e)}</code></pre>`),l==="text"&&c==="text")return{compiledCodeFrameContent:a,originalCodeFrameContent:s};const u=await Wr([c,l]),p={themes:{dark:"min-dark",light:"min-light"}};if(t&&t.trim())try{s=u.codeToHtml(t,{...p,lang:l,transformers:[cr([{classes:["error-line"],line:i}])]})}catch{}if(e&&e.trim())try{a=u.codeToHtml(e,{...p,lang:c,transformers:[cr([{classes:["error-line"],line:o}])]})}catch{}return{compiledCodeFrameContent:a,originalCodeFrameContent:s}},"generateSyntaxHighlightedFrames"),fd=Ae(async(t,e,n=0,r,i,o)=>{const s=r==="vue"&&t?.message?Pc(t.message):void 0,a=ud(t),l=a[0]||t,c=r==="react"&&t.message&&(t.message.toLowerCase().includes("hydration")||t.message.toLowerCase().includes("hydrating"));let u="";if(o&&o.length>1)for(const F of o.slice(1)){const O=F.stack||"",X=Ne({stack:O},{frameLimit:10})?.find(S=>S?.file?.startsWith("http"));if(X?.file&&(u=ad(X.file),u))break}const p=_c(l),h=Fn(l.stack||""),f=await Wc(e,h,{message:p,name:l.name});let v,g,k;if(i?.file&&i?.line&&i?.column)v=i.column,g=i.file,k=i.line;else{const F=pd(l);if(v=F.compiledColumn,g=F.compiledFilePath,k=F.compiledLine,g&&!g.startsWith("http")){const O=e.config.root;let X=g;g.startsWith(O)&&(X=g.slice(O.length)),X.startsWith("/")||(X=`/${X}`);const S=e.config.server.port||e.config.preview?.port||5173,Me=e.config.server.host||e.config.preview?.host||"localhost";let be=`${e.config.server.https?"https":"http"}://${Me}:${S}${X}`;u&&(be=od(be,u)),g=be}}if(c){const F=Bc(t);if(F){const O=g?Ue(g):"javascript";if(O==="text")return{errorCount:1,fixPrompt:Bt({applicationType:void 0,error:l,file:{file:g,language:"jsx",line:k,snippet:F}}),message:l.message,originalCodeFrameContent:`<pre class="shiki"><code>${tn(F)}</code></pre>`,originalFileColumn:v,originalFileLine:k,originalFilePath:g,originalSnippet:F,originalStack:l.stack||""};const X=await Wr([O]);return{errorCount:1,fixPrompt:Bt({applicationType:void 0,error:l,file:{file:g,language:"jsx",line:k,snippet:F}}),message:l.message,originalCodeFrameContent:X.codeToHtml(F,{lang:O,themes:{dark:"min-dark",light:"min-light"},transformers:[td()]}),originalFileColumn:v,originalFileLine:k,originalFilePath:g,originalSnippet:F,originalStack:l.stack||""}}}let T=i?.file||g;if(!i?.file&&l.stack){const F=Ne(l,{frameLimit:10})?.find(O=>O?.file&&!O.file.startsWith("http")&&!O.file.includes("node_modules")&&!O.file.includes(".vite")&&O.file.includes(".tsx"));F?.file&&(T=F.file)}let{originalFileColumn:E,originalFileLine:C,originalFilePath:R}=await hd(e,T,v,k,s,l.message,n,g);const B=i?.plugin;let D="",W="",N,j;try{const[F,O]=await Promise.all([it(e,Ce(g)),it(e,Ce(R))]);if(!F&&!O)return gd(v,g,k,E,C,R);const X=g.startsWith("http")?g.replace($r,"").replace(Er,""):g,S=R.startsWith("http")?R.replace($r,"").replace(Er,""):R,Me=F||O;if(Me?.transformResult?.code&&(j=Me.transformResult.code),O?.transformResult?.map&&!N){const V=O.transformResult.map;try{const Z=V.sourcesContent?.[0];Z&&(N=Z)}catch(Z){console.warn("Failed to get original source from source map:",Z)}}const be={compiledSourceText:void 0,originalSourceText:void 0};let ut=Promise.resolve(be);!j&&F&&(ut=_r(e,F,X,Ce(X)));let pt=Promise.resolve(be);!N&&O&&(pt=_r(e,O,S,Ce(S)));const[Ze,Ie]=await Promise.all([ut,pt]);if(!j&&Ze.compiledSourceText&&({compiledSourceText:j}=Ze),!N&&Ie.originalSourceText&&({originalSourceText:N}=Ie),N){if(j&&C<=0&&k>0){const V=cl(j,k,v,N);V&&(C=V.line,E=V.column)}try{D=Vn(N,{start:{column:Math.max(1,E),line:Math.max(1,C)}},{showGutter:!1})}catch{D=N?.slice(0,500)||""}}const Ye=j&&k>0,Be=C>0&&E>0;let je=!1;if(Ye&&k>0&&l.message&&j){const V=j.split(`
|
|
1913
|
+
`)[k-1];if(V&&v<=V.length){const Z=l.message,ye=Math.max(0,v-1),ue=V.slice(Math.max(0,ye));je=ue.includes("new Error(")||ue.includes("throw new Error")||ue.includes("throw ")||ue.includes(Z.slice(0,20)),!je&&Be&&(R.includes(".svelte")||R.includes(".vue")||R.includes(".astro")||g.includes(".js")||g.includes(".ts"))&&(je=!0)}}if(Ye&&je&&j){const V=j.split(`
|
|
1914
|
+
`),Z=V.length,ye=Math.min(k,Z)||Math.max(1,Z-2),ue=V[ye-1]?Math.min(v||1,V[ye-1]?.length||1):1;try{W=Vn(j,{start:{column:ue,line:ye}},{showGutter:!1})}catch(Xe){console.warn("Compiled codeFrame failed:",Xe),W=j?.slice(0,500)||""}}}catch(F){console.warn("Source retrieval failed:",F)}const{compiledCodeFrameContent:ce,originalCodeFrameContent:De}=await md(D,W,R,g,C,k);let de=D;if(!de&&N){const F=N.split(`
|
|
1915
|
+
`),O=Math.max(0,C-3),X=Math.min(F.length,C+2);de=F.slice(O,X).join(`
|
|
1916
|
+
`)}de||(de=W||`Error at line ${C} in ${R}`);const $e=Bt({applicationType:void 0,error:t,file:{file:R,language:Ue(R),line:C,snippet:de}});return{compiledCodeFrameContent:ce,compiledColumn:v,compiledFilePath:g,compiledLine:k,compiledStack:Cr(Ne({message:p,name:l.name,stack:h}),{header:{message:p,name:l.name}}),errorCount:a.length,fixPrompt:$e,originalCodeFrameContent:De,originalFileColumn:E,originalFileLine:C,originalFilePath:R,originalSnippet:D,originalStack:f||h,plugin:B}},"buildExtendedErrorData");var vd=Object.defineProperty,wd=b((t,e)=>vd(t,"name",{value:e,configurable:!0}),"n");const bd=wd((t,e,n)=>{const r=e.map(i=>{const o=i.charAt(0).toUpperCase()+i.slice(1);return`
|
|
1917
1917
|
var orig${o} = console.${i};
|
|
1918
1918
|
|
|
1919
1919
|
console.${i} = function(...args) {
|
|
@@ -2011,7 +2011,7 @@ async function sendError(error, loc) {
|
|
|
2011
2011
|
|
|
2012
2012
|
var causeChain = extractCauseChain(error);
|
|
2013
2013
|
|
|
2014
|
-
hot.send('${
|
|
2014
|
+
hot.send('${Or}', {
|
|
2015
2015
|
name: error?.name || null,
|
|
2016
2016
|
message: error.message,
|
|
2017
2017
|
stack: error.stack,
|
|
@@ -2122,9 +2122,9 @@ window.__visulima_overlay__ = {
|
|
|
2122
2122
|
};
|
|
2123
2123
|
|
|
2124
2124
|
${r}
|
|
2125
|
-
`},"generateClientScript");var
|
|
2126
|
-
${String(t?.stack||"")}`,"createErrorSignature")
|
|
2127
|
-
`)||[]).find(k=>k.includes("at ")&&!k.includes("node_modules"));if(
|
|
2128
|
-
${
|
|
2129
|
-
${
|
|
2130
|
-
`)),l.send(
|
|
2125
|
+
`},"generateClientScript");var yd=Object.defineProperty,ee=b((t,e)=>yd(t,"name",{value:e,configurable:!0}),"d");const xd=/at\s+[^(\s]+\s*\(([^:)]+):(\d+):(\d+)\)/,kd=/at\s+([^:)]+):(\d+):(\d+)/,Io=/Failed to resolve import ["']([^"']+)["'] from ["']([^"']+)["']/,St=ee((t,e,n)=>{try{const r=n instanceof Error?n.message:String(n);t.config.logger.error(`${e}: ${r}`,{clear:!0,timestamp:!0})}catch{}},"logError"),_d=ee(t=>({error:ee(e=>{t.config.logger.error(String(e??""),{clear:!0,timestamp:!0})},"error"),log:ee(e=>{t.config.logger.info(String(e??""))},"log")}),"createDevelopmentLogger"),$d=ee(()=>{const t=new Map;return{recentErrors:t,shouldSkip:ee(e=>{const n=Date.now();for(const[i,o]of t)n-o>=Kn&&t.delete(i);const r=t.get(e)||0;return n-r<Kn?!0:(t.set(e,n),!1)},"shouldSkip")}},"createRecentErrorTracker"),Bo=ee(t=>`${String(t?.message||"")}
|
|
2126
|
+
${String(t?.stack||"")}`,"createErrorSignature"),Ed=ee((t,e,n)=>async r=>{const i=r instanceof Error?r:new Error(String(r?.stack||r));try{t.ssrFixStacktrace(i)}catch(o){St(t,"[visulima:vite-overlay:server] ssrFixStacktrace failed",o)}try{const o=await Ia(i,t);Object.assign(i,o)}catch(o){St(t,"[visulima:vite-overlay:server] enhanceViteSsrError failed",o)}try{i.stack=Dt(Fn(String(i.stack||"")),e)}catch{}await n.error(Xi(i)),t.ws.send({err:i,type:"error"})},"createUnhandledRejectionHandler"),Sd=ee(async(t,e,n)=>{let r;e.push(Ki,_a(n),Ji);for await(const i of e.toSorted((o,s)=>s.priority-o.priority)){const{handle:o,name:s}=i;if(process.env.DEBUG&&console.debug(`Running solution finder: ${s}`),typeof o=="function")try{const a=await o({hint:t?.hint??"",message:t.message,name:t.name,stack:t?.stack},{file:t?.originalFilePath??"",language:Ue(t?.originalFilePath??""),line:t?.originalFileLine??0,snippet:t?.originalSnippet??""});if(a===void 0)continue;const l=await Qn(a.header??"");r={body:await Qn(a.body??""),header:l};break}catch{continue}}return r},"findSolution"),nn=ee(async(t,e,n,r,i,o,s)=>{const a=Qi(t);if(a.length===0)throw new Error("No errors found in the error stack");const l=await Promise.all(a.map(async(u,p)=>{let h=r;if(p>0){const g=(u?.stack?.split(`
|
|
2127
|
+
`)||[]).find(k=>k.includes("at ")&&!k.includes("node_modules"));if(g){const k=g.match(xd)||g.match(kd);if(k){const[,T,E,C]=k;h={column:Number.parseInt(C||"0",10),file:T,line:Number.parseInt(E||"0",10),plugin:r?.plugin}}}}let f=h;p===0&&u?.sourceFile&&(f={...h,file:u.sourceFile});const v=await fd(u,e,p,s,f,a);return{hint:u?.hint,message:u?.message||"",name:u?.name||Hr,stack:Dt(Fn(u?.stack||""),n),...v}})),c=await Sd(l[0],o,n);return{errors:l,errorType:i,rootPath:n,solution:c}},"buildExtendedError"),zn=ee((t,e=0)=>{if(!t||e>=Ws)return;const n=new Error(String(t.message||"Caused by error"));return n.name=String(t.name||"Error"),n.stack=String(t.stack||""),t.cause&&(n.cause=zn(t.cause,e+1)),n},"reconstructCauseChain"),Cd=ee((t,e,n,r,i)=>{const o=t.ws.send.bind(t.ws);t.ws.send=async(s,a)=>{try{if(s&&typeof s=="object"&&s.type==="error"&&s.err){const{err:l}=s,c=Bo(l);if(e(c))return;if(l.message?.includes("Failed to resolve import")){const u=l.message.match(Io);if(u){const p=u[2],h=new Error(l.message);h.name="ImportResolutionError",h.stack=l.stack;const f=await nn(h,t,n,{column:l.loc?.column||1,file:p,line:l.loc?.line||1,plugin:l.plugin||"vite:import-analysis"},"server",r,i);s.err=f}}else{const u=String(l?.name||"Error"),p=String(l.message),h=String(l.stack),f=new Error(p);f.name=u,f.stack=`${u}: ${p}
|
|
2128
|
+
${Dt(h,n)}`,l.cause&&(f.cause=zn(l.cause));const v=l.sourceFile?{column:l.column,file:l.sourceFile,line:l.line,plugin:l.plugin}:void 0,g=await nn(f,t,n,v,"server",r,i);s.err=g}}o(s,a)}catch(l){St(t,"[visulima:vite-overlay:server] ws.send intercept failed",l),a&&typeof a.send=="function"?a.send(s,a):o(s,a)}}},"setupWebSocketInterception"),Ld=ee((t,e,n,r,i,o,s)=>{t.ws.on(Or,async(a,l)=>{if(!o)return;const c=a&&typeof a=="object"?a:{message:Gs,stack:""},u=Bo(c);if(n(u))return;const p=String(c?.name||"Error"),h=String(c.message),f=String(c.stack),v=new Error(h);v.name=p,v.stack=`${p}: ${h}
|
|
2129
|
+
${Dt(f,r)}`,c.cause&&(v.cause=zn(c.cause));try{const g=await nn(v,t,r,{column:c?.column,file:c?.file,line:c?.line,plugin:c?.plugin},"client",i,s),k={err:{...g},type:"error"};g.solution&&(k.solution=g.solution);const T=[...g.errors],E=T.shift();if(!E){await e.error("No error information available"),l.send(k);return}const C=[`${Wn("red","[client]")} ${E.name}: ${E.message}`,...E.originalFilePath.includes("-extension://")?[]:["",Wn("blue",`${E.originalFilePath}:${E.originalFileLine}:${E.originalFileColumn}`),"",await Yi(E.originalSnippet,Ue(E.originalFilePath),"nord"),"","Raw stack trace:","",E.originalStack]];T.forEach((R,B)=>{const D=" ".repeat(2*B);C.push("",`${D}Caused by: `,"",`${D}${R.name}: ${R.message}`,`${D}at ${R.originalFilePath}:${R.originalFileLine}:${R.originalFileColumn}`)}),await e.error(C.join(`
|
|
2130
|
+
`)),l.send(k)}catch(g){St(t,"[visulima:vite-overlay:server] failed to build extended client error",g),l.send({err:{message:g.message,name:String(g.name||Hr),stack:g.stack},type:"error"})}})},"setupHMRHandler"),Td=ee((t,e)=>t.flat().some(n=>n&&(e&&n.name===e||n.name==="vite:react-swc"||n.name==="vite:react-refresh"||n.name==="vite:react-babel"||n.name==="@vitejs/plugin-react"||typeof n=="function"&&n.name?.includes("react")||n.constructor&&n.constructor.name?.includes("React"))),"hasReactPlugin"),Pd=ee((t,e)=>t.flat().some(n=>n&&(e&&n.name===e||n.name==="vite:vue"||n.name==="@vitejs/plugin-vue"||typeof n=="function"&&n.name?.includes("vue")||n.constructor&&n.constructor.name?.includes("Vue"))),"hasVuePlugin"),Vd=ee((t={})=>{let e,n,r;const i=(t.logClientRuntimeError===void 0?t.forwardConsole:t.logClientRuntimeError)??!0,o=t.forwardedConsoleMethods??["error"];if(t.logClientRuntimeError!==void 0&&console.warn("[vite-overlay] The 'logClientRuntimeError' option is deprecated. Please use 'forwardConsole' instead."),o.length===0)throw new Error("forwardedConsoleMethods must be an array of console method names");return{apply:"serve",config(s,a){return s.plugins&&(n=Td(s.plugins,t?.reactPluginName),r=Pd(s.plugins,t?.vuePluginName)),e=a.mode||"development",s},configureServer(s){const a=s.config.root||process.cwd(),l=_d(s),{shouldSkip:c}=$d(),u=s.transformRequest.bind(s);s.transformRequest=async(f,v)=>{try{return await u(f,v)}catch(g){if(g?.message?.includes("Failed to resolve import")){const k=g.message.match(Io);if(k){const[,T,E]=k;g.sourceFile=E,g.importPath=T}}throw g}};let p;n?p="react":r&&(p="vue"),Cd(s,c,a,t?.solutionFinders??[],p),Ld(s,l,c,a,t?.solutionFinders??[],i,p);const h=Ed(s,a,l);process.on("unhandledRejection",h),s.httpServer?.on("close",()=>{process.off("unhandledRejection",h)})},enforce:"pre",name:Us,transform(s,a,l){if(l?.ssr||!(a.includes("vite/dist/client/client.mjs")||a.includes("/@vite/client")))return null;const c=t?.showBallonButton===void 0?t?.overlay?.balloon?.enabled??!0:t.showBallonButton;return sa(s,c,t?.overlay?.balloon,t?.overlay?.customCSS)},transformIndexHtml(){return{html:"",tags:[{attrs:{type:"module"},children:bd(e,o,t?.overlay?.balloon),injectTo:"head",tag:"script"}]}}}},"errorOverlayPlugin");export{Vd as default};
|