@mintlify/cli 4.1.77 → 4.1.79

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.
@@ -4,7 +4,7 @@ import { dirname as __mintDirname } from 'node:path';
4
4
  const require = __mintCreateRequire(import.meta.url);
5
5
  const __filename = __mintFileURLToPath(import.meta.url);
6
6
  const __dirname = __mintDirname(__filename);
7
- import{i as e,o as t,t as n}from"./rolldown-runtime-CEAe2Uac.js";import{$ as r,A as i,F as a,G as o,H as s,J as c,K as l,L as u,P as d,R as f,V as p,W as m,X as h,Y as g,Z as _,_ as v,d as y,f as b,g as x,l as S,m as C,n as w,q as T,r as E,t as D,u as O,v as k,w as A,x as ee}from"./dist-DFkRL36G.js";import{$ as j,$n as te,An as ne,Bt as re,C as ie,Cn as ae,Dn as oe,E as se,En as ce,Fn as le,Ft as ue,In as de,It as fe,Jt as pe,Kn as me,Kt as he,Ln as ge,Lt as _e,Mn as ve,Nn as ye,Nt as be,On as xe,Pt as Se,Qt as Ce,Rn as we,Sn as Te,U as Ee,Wn as De,Wt as Oe,X as ke,Xn as Ae,Y as je,Yn as Me,Z as Ne,Zn as Pe,_t as Fe,a as Ie,at as Le,bt as Re,et as ze,ht as Be,ir as Ve,jn as He,k as Ue,m as We,mn as Ge,mt as Ke,o as qe,ot as Je,pn as Ye,qt as Xe,rt as Ze,s as Qe,tr as $e,tt as et,vn as tt,w as nt,wn as rt,xt as it,yn as at,yt as ot}from"./dist-BZO00XVw.js";import{g as st,h as M,m as ct}from"./build-Nkr-5oHQ.js";import{a as lt,i as ut,n as dt}from"./multi-repo-command-B1xakqrg.js";import{c as ft,l as pt,n as mt,t as ht,u as gt}from"./agent-Da2kI1tZ.js";import{A as _t,C as vt,D as yt,E as bt,F as xt,I as St,L as N,M as Ct,N as wt,O as Tt,P as Et,R as Dt,S as Ot,T as kt,_ as At,a as jt,b as Mt,c as Nt,d as Pt,f as Ft,g as It,h as Lt,i as Rt,j as zt,k as Bt,l as Vt,m as Ht,n as Ut,o as Wt,p as Gt,r as Kt,s as qt,t as Jt,u as Yt,v as Xt,w as Zt,x as Qt,y as $t,z as en}from"./config-VhqDayo8.js";import{n as tn,t as nn}from"./client-DXQ6Tgw0.js";import{_ as rn,a as an,b as on,c as sn,d as cn,f as ln,g as un,h as dn,i as fn,l as pn,m as mn,n as hn,o as gn,p as _n,r as vn,s as yn,t as bn,u as xn,v as Sn}from"./esm-BtDK7B-d.js";import{B as Cn,M as wn,P as Tn,Q as En,X as Dn,Z as On,_ as kn,b as An,c as jn,d as Mn,dt as Nn,r as Pn,s as Fn,st as In,t as Ln,tt as Rn,u as zn,w as Bn,x as Vn,y as Hn}from"./utils-D9fHH3a7.js";import{a as Un,c as Wn,i as Gn,n as Kn,o as qn,r as Jn,s as Yn,t as Xn}from"./remark-utils-snuBUKxh.js";import{_ as Zn,a as Qn,c as $n,d as er,f as tr,l as nr,m as rr,o as ir,p as ar,s as or,u as sr,v as cr}from"./schemas-CVKidklE.js";import{t as lr}from"./currencyMath-JTNtcXni.js";import{createRequire as ur}from"node:module";import dr,{basename as fr,dirname as pr,join as mr,normalize as hr,parse as gr,resolve as _r}from"path";import vr,{existsSync as yr,readFileSync as br,readdirSync as xr}from"node:fs";import Sr,{existsSync as Cr,promises as wr}from"fs";import Tr from"os";import Er from"crypto";import Dr from"node:process";import Or from"node:os";import{createRequire as kr}from"module";import Ar,{mkdir as jr,mkdtemp as Mr,readFile as Nr,writeFile as Pr}from"node:fs/promises";import Fr from"node:path";import{execFile as Ir,spawn as Lr}from"node:child_process";import{fileURLToPath as Rr}from"node:url";import{createHash as zr,randomUUID as Br}from"node:crypto";import{format as Vr,stripVTControlCharacters as Hr}from"node:util";import{sep as Ur}from"path/win32";import{setTimeout as Wr}from"node:timers/promises";var P=r();const Gr=(e,t)=>{let n=t.a+e.a-t.a*e.a;if(n===0)return{r:0,g:0,b:0,a:0};let r=t.a/n,i=(e,t)=>Math.round((1-r)*e+r*t);return{r:i(e.r,t.r),g:i(e.g,t.g),b:i(e.b,t.b),a:n}},Kr=e=>{let t=/^#?([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.exec(e)?.[1];if(!t)throw TypeError(`Expected a valid hex string, got ${e}`);let n=t.length<6?[...t].map(e=>e+e).join(``):t,r=Number.parseInt(n.slice(0,6),16);return{red:r>>16,green:r>>8&255,blue:r&255,alpha:n.length===8?Number.parseInt(n.slice(6,8),16)/255:1}},qr=e=>{try{let t=Kr(e);return`${t.red} ${t.green} ${t.blue}`}catch{return`0 0 0`}},Jr=e=>`${e.r} ${e.g} ${e.b}`,Yr=e=>`#${e.r.toString(16).padStart(2,`0`)}${e.g.toString(16).padStart(2,`0`)}${e.b.toString(16).padStart(2,`0`)}`,Xr=(e,t,n)=>{if(t)return n?t:qr(t);let r=Zr(`#09090b`,1,e,.02);return n?Yr(r):Jr(r)},Zr=(e,t,n,r)=>{let i=Kr(e),a=Kr(n);return Gr({r:i.red,g:i.green,b:i.blue,a:t},{r:a.red,g:a.green,b:a.blue,a:r})},Qr=`#4ADE80`,$r=(e=Qr)=>({light:`#ffffff`,dark:Xr(e,void 0,!0)});function ei(e){let t=e?.colors.primary||`#16A34A`,n=e?.colors.light??Qr;e?.theme===`linden`&&(e.background=Object.assign(Object.assign({},e.background),{color:{light:e.background?.color?.light||Yr(Zr(`#FFFFFF`,1,t,.03)),dark:e.background?.color?.dark||Yr(Zr(`#09090B`,1,n,.03))}}));let r=e?.background?.color?.light??`#ffffff`;return{light:qr(r),dark:Xr(n,e?.background?.color?.dark),lightHex:r,darkHex:Xr(n,e?.background?.color?.dark,!0),background:e?.thumbnails?.background}}var F=class e extends Error{constructor(t,n){var r=`KaTeX parse error: `+t,i,a,o=n&&n.loc;if(o&&o.start<=o.end){var s=o.lexer.input;i=o.start,a=o.end,i===s.length?r+=` at end of input: `:r+=` at position `+(i+1)+`: `;var c=s.slice(i,a).replace(/[^]/g,`$&̲`),l=i>15?`…`+s.slice(i-15,i):s.slice(0,i),u=a+15<s.length?s.slice(a,a+15)+`…`:s.slice(a);r+=l+c+u}super(r),this.name=`ParseError`,this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,e.prototype),this.position=i,i!=null&&a!=null&&(this.length=a-i),this.rawMessage=t}},ti=/([A-Z])/g,ni=e=>e.replace(ti,`-$1`).toLowerCase(),ri={"&":`&amp;`,">":`&gt;`,"<":`&lt;`,'"':`&quot;`,"'":`&#x27;`},ii=/[&><"']/g,ai=e=>String(e).replace(ii,e=>ri[e]),oi=e=>e.type===`ordgroup`||e.type===`color`?e.body.length===1?oi(e.body[0]):e:e.type===`font`?oi(e.body):e,si=/* @__PURE__ */ new Set([`mathord`,`textord`,`atom`]),ci=e=>si.has(oi(e).type),li=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return t?t[2]!==`:`||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():`_relative`},ui={displayMode:{type:`boolean`,description:`Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.`,cli:`-d, --display-mode`},output:{type:{enum:[`htmlAndMathml`,`html`,`mathml`]},description:`Determines the markup language of the output.`,cli:`-F, --format <type>`},leqno:{type:`boolean`,description:`Render display math in leqno style (left-justified tags).`},fleqn:{type:`boolean`,description:`Render display math flush left.`},throwOnError:{type:`boolean`,default:!0,cli:`-t, --no-throw-on-error`,cliDescription:`Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error.`},errorColor:{type:`string`,default:`#cc0000`,cli:`-c, --error-color <color>`,cliDescription:`A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.`,cliProcessor:e=>`#`+e},macros:{type:`object`,cli:`-m, --macro <def>`,cliDescription:`Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).`,cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:`number`,description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:`--min-rule-thickness <size>`,cliProcessor:parseFloat},colorIsTextColor:{type:`boolean`,description:`Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.`,cli:`-b, --color-is-text-color`},strict:{type:[{enum:[`warn`,`ignore`,`error`]},`boolean`,`function`],description:`Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.`,cli:`-S, --strict`,cliDefault:!1},trust:{type:[`boolean`,`function`],description:`Trust the input, enabling all HTML features such as \\url.`,cli:`-T, --trust`},maxSize:{type:`number`,default:1/0,description:`If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large`,processor:e=>Math.max(0,e),cli:`-s, --max-size <n>`,cliProcessor:parseInt},maxExpand:{type:`number`,default:1e3,description:`Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.`,processor:e=>Math.max(0,e),cli:`-e, --max-expand <n>`,cliProcessor:e=>e===`Infinity`?1/0:parseInt(e)},globalGroup:{type:`boolean`,cli:!1}};function di(e){if(typeof e!=`string`)return e.enum[0];switch(e){case`boolean`:return!1;case`string`:return``;case`number`:return 0;case`object`:return{};default:throw Error(`Unexpected schema type; settings must declare an explicit default.`)}}function fi(e){return e.default===void 0?di(Array.isArray(e.type)?e.type[0]:e.type):e.default}function pi(e,t,n,r){var i=n[t];e[t]=i===void 0?fi(r):r.processor?r.processor(i):i}var mi=class{constructor(e){e===void 0&&(e={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e||={};for(var t of Object.keys(ui)){var n=ui[t];n&&pi(this,t,e,n)}}reportNonstrict(e,t,n){var r=this.strict;if(typeof r==`function`&&(r=r(e,t,n)),r&&r!==`ignore`){if(r===!0||r===`error`)throw new F(`LaTeX-incompatible input and strict mode is set to 'error': `+(t+` [`+e+`]`),n);r===`warn`?typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(t+` [`+e+`]`)):typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+r+`': `+t+` [`+e+`]`))}}useStrictBehavior(e,t,n){var r=this.strict;if(typeof r==`function`)try{r=r(e,t,n)}catch{r=`error`}return!r||r===`ignore`?!1:r===!0||r===`error`?!0:r===`warn`?(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(t+` [`+e+`]`)),!1):(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+r+`': `+t+` [`+e+`]`)),!1)}isTrusted(e){if(`url`in e&&e.url&&!e.protocol){var t=li(e.url);if(t==null)return!1;e.protocol=t}return!!(typeof this.trust==`function`?this.trust(e):this.trust)}},hi=class{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return wi[Ti[this.id]]}sub(){return wi[Ei[this.id]]}fracNum(){return wi[Di[this.id]]}fracDen(){return wi[Oi[this.id]]}cramp(){return wi[ki[this.id]]}text(){return wi[Ai[this.id]]}isTight(){return this.size>=2}},gi=0,_i=1,vi=2,yi=3,bi=4,xi=5,Si=6,Ci=7,wi=[new hi(gi,0,!1),new hi(_i,0,!0),new hi(vi,1,!1),new hi(yi,1,!0),new hi(bi,2,!1),new hi(xi,2,!0),new hi(Si,3,!1),new hi(Ci,3,!0)],Ti=[bi,xi,bi,xi,Si,Ci,Si,Ci],Ei=[xi,xi,xi,xi,Ci,Ci,Ci,Ci],Di=[vi,yi,bi,xi,Si,Ci,Si,Ci],Oi=[yi,yi,xi,xi,Ci,Ci,Ci,Ci],ki=[_i,_i,yi,yi,xi,xi,Ci,Ci],Ai=[gi,_i,vi,yi,vi,yi,vi,yi],ji={DISPLAY:wi[gi],TEXT:wi[vi],SCRIPT:wi[bi],SCRIPTSCRIPT:wi[Si]},Mi=[{name:`latin`,blocks:[[256,591],[768,879]]},{name:`cyrillic`,blocks:[[1024,1279]]},{name:`armenian`,blocks:[[1328,1423]]},{name:`brahmic`,blocks:[[2304,4255]]},{name:`georgian`,blocks:[[4256,4351]]},{name:`cjk`,blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:`hangul`,blocks:[[44032,55215]]}];function Ni(e){for(var t=0;t<Mi.length;t++)for(var n=Mi[t],r=0;r<n.blocks.length;r++){var i=n.blocks[r];if(e>=i[0]&&e<=i[1])return n.name}return null}var Pi=[];Mi.forEach(e=>e.blocks.forEach(e=>Pi.push(...e)));function Fi(e){for(var t=0;t<Pi.length;t+=2)if(e>=Pi[t]&&e<=Pi[t+1])return!0;return!1}var Ii=e=>e+` `+e,Li=80,Ri=function(e,t){return`M95,`+(622+e+t)+`
7
+ import{i as e,o as t,t as n}from"./rolldown-runtime-CEAe2Uac.js";import{$ as r,A as i,F as a,G as o,H as s,J as c,K as l,L as u,P as d,R as f,V as p,W as m,X as h,Y as g,Z as _,_ as v,d as y,f as b,g as x,l as S,m as C,n as w,q as T,r as E,t as D,u as O,v as k,w as A,x as ee}from"./dist-DM6gzXTY.js";import{$ as j,$n as te,An as ne,Bt as re,C as ie,Cn as ae,Dn as oe,E as se,En as ce,Fn as le,Ft as ue,In as de,It as fe,Jt as pe,Kn as me,Kt as he,Ln as ge,Lt as _e,Mn as ve,Nn as ye,Nt as be,On as xe,Pt as Se,Qt as Ce,Rn as we,Sn as Te,U as Ee,Wn as De,Wt as Oe,X as ke,Xn as Ae,Y as je,Yn as Me,Z as Ne,Zn as Pe,_t as Fe,a as Ie,at as Le,bt as Re,et as ze,ht as Be,ir as Ve,jn as He,k as Ue,m as We,mn as Ge,mt as Ke,o as qe,ot as Je,pn as Ye,qt as Xe,rt as Ze,s as Qe,tr as $e,tt as et,vn as tt,w as nt,wn as rt,xt as it,yn as at,yt as ot}from"./dist-BZO00XVw.js";import{g as st,h as M,m as ct}from"./build-Nkr-5oHQ.js";import{a as lt,i as ut,n as dt}from"./multi-repo-command-LiEtu41m.js";import{c as ft,l as pt,n as mt,t as ht,u as gt}from"./agent-Da2kI1tZ.js";import{A as _t,C as vt,D as yt,E as bt,F as xt,I as St,L as N,M as Ct,N as wt,O as Tt,P as Et,R as Dt,S as Ot,T as kt,_ as At,a as jt,b as Mt,c as Nt,d as Pt,f as Ft,g as It,h as Lt,i as Rt,j as zt,k as Bt,l as Vt,m as Ht,n as Ut,o as Wt,p as Gt,r as Kt,s as qt,t as Jt,u as Yt,v as Xt,w as Zt,x as Qt,y as $t,z as en}from"./config-Bl8bCVjS.js";import{n as tn,t as nn}from"./client-DXQ6Tgw0.js";import{_ as rn,a as an,b as on,c as sn,d as cn,f as ln,g as un,h as dn,i as fn,l as pn,m as mn,n as hn,o as gn,p as _n,r as vn,s as yn,t as bn,u as xn,v as Sn}from"./esm-BtDK7B-d.js";import{B as Cn,M as wn,P as Tn,Q as En,X as Dn,Z as On,_ as kn,b as An,c as jn,d as Mn,dt as Nn,r as Pn,s as Fn,st as In,t as Ln,tt as Rn,u as zn,w as Bn,x as Vn,y as Hn}from"./utils-D9fHH3a7.js";import{a as Un,c as Wn,i as Gn,n as Kn,o as qn,r as Jn,s as Yn,t as Xn}from"./remark-utils-snuBUKxh.js";import{_ as Zn,a as Qn,c as $n,d as er,f as tr,l as nr,m as rr,o as ir,p as ar,s as or,u as sr,v as cr}from"./schemas-CVKidklE.js";import{t as lr}from"./currencyMath-JTNtcXni.js";import{createRequire as ur}from"node:module";import dr,{basename as fr,dirname as pr,join as mr,normalize as hr,parse as gr,resolve as _r}from"path";import vr,{existsSync as yr,readFileSync as br,readdirSync as xr}from"node:fs";import Sr,{existsSync as Cr,promises as wr}from"fs";import Tr from"os";import Er from"crypto";import Dr from"node:process";import Or from"node:os";import{createRequire as kr}from"module";import Ar,{mkdir as jr,mkdtemp as Mr,readFile as Nr,writeFile as Pr}from"node:fs/promises";import Fr from"node:path";import{execFile as Ir,spawn as Lr}from"node:child_process";import{fileURLToPath as Rr}from"node:url";import{createHash as zr,randomUUID as Br}from"node:crypto";import{format as Vr,stripVTControlCharacters as Hr}from"node:util";import{sep as Ur}from"path/win32";import{setTimeout as Wr}from"node:timers/promises";var P=r();const Gr=(e,t)=>{let n=t.a+e.a-t.a*e.a;if(n===0)return{r:0,g:0,b:0,a:0};let r=t.a/n,i=(e,t)=>Math.round((1-r)*e+r*t);return{r:i(e.r,t.r),g:i(e.g,t.g),b:i(e.b,t.b),a:n}},Kr=e=>{let t=/^#?([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.exec(e)?.[1];if(!t)throw TypeError(`Expected a valid hex string, got ${e}`);let n=t.length<6?[...t].map(e=>e+e).join(``):t,r=Number.parseInt(n.slice(0,6),16);return{red:r>>16,green:r>>8&255,blue:r&255,alpha:n.length===8?Number.parseInt(n.slice(6,8),16)/255:1}},qr=e=>{try{let t=Kr(e);return`${t.red} ${t.green} ${t.blue}`}catch{return`0 0 0`}},Jr=e=>`${e.r} ${e.g} ${e.b}`,Yr=e=>`#${e.r.toString(16).padStart(2,`0`)}${e.g.toString(16).padStart(2,`0`)}${e.b.toString(16).padStart(2,`0`)}`,Xr=(e,t,n)=>{if(t)return n?t:qr(t);let r=Zr(`#09090b`,1,e,.02);return n?Yr(r):Jr(r)},Zr=(e,t,n,r)=>{let i=Kr(e),a=Kr(n);return Gr({r:i.red,g:i.green,b:i.blue,a:t},{r:a.red,g:a.green,b:a.blue,a:r})},Qr=`#4ADE80`,$r=(e=Qr)=>({light:`#ffffff`,dark:Xr(e,void 0,!0)});function ei(e){let t=e?.colors.primary||`#16A34A`,n=e?.colors.light??Qr;e?.theme===`linden`&&(e.background=Object.assign(Object.assign({},e.background),{color:{light:e.background?.color?.light||Yr(Zr(`#FFFFFF`,1,t,.03)),dark:e.background?.color?.dark||Yr(Zr(`#09090B`,1,n,.03))}}));let r=e?.background?.color?.light??`#ffffff`;return{light:qr(r),dark:Xr(n,e?.background?.color?.dark),lightHex:r,darkHex:Xr(n,e?.background?.color?.dark,!0),background:e?.thumbnails?.background}}var F=class e extends Error{constructor(t,n){var r=`KaTeX parse error: `+t,i,a,o=n&&n.loc;if(o&&o.start<=o.end){var s=o.lexer.input;i=o.start,a=o.end,i===s.length?r+=` at end of input: `:r+=` at position `+(i+1)+`: `;var c=s.slice(i,a).replace(/[^]/g,`$&̲`),l=i>15?`…`+s.slice(i-15,i):s.slice(0,i),u=a+15<s.length?s.slice(a,a+15)+`…`:s.slice(a);r+=l+c+u}super(r),this.name=`ParseError`,this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,e.prototype),this.position=i,i!=null&&a!=null&&(this.length=a-i),this.rawMessage=t}},ti=/([A-Z])/g,ni=e=>e.replace(ti,`-$1`).toLowerCase(),ri={"&":`&amp;`,">":`&gt;`,"<":`&lt;`,'"':`&quot;`,"'":`&#x27;`},ii=/[&><"']/g,ai=e=>String(e).replace(ii,e=>ri[e]),oi=e=>e.type===`ordgroup`||e.type===`color`?e.body.length===1?oi(e.body[0]):e:e.type===`font`?oi(e.body):e,si=/* @__PURE__ */ new Set([`mathord`,`textord`,`atom`]),ci=e=>si.has(oi(e).type),li=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return t?t[2]!==`:`||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():`_relative`},ui={displayMode:{type:`boolean`,description:`Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.`,cli:`-d, --display-mode`},output:{type:{enum:[`htmlAndMathml`,`html`,`mathml`]},description:`Determines the markup language of the output.`,cli:`-F, --format <type>`},leqno:{type:`boolean`,description:`Render display math in leqno style (left-justified tags).`},fleqn:{type:`boolean`,description:`Render display math flush left.`},throwOnError:{type:`boolean`,default:!0,cli:`-t, --no-throw-on-error`,cliDescription:`Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error.`},errorColor:{type:`string`,default:`#cc0000`,cli:`-c, --error-color <color>`,cliDescription:`A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.`,cliProcessor:e=>`#`+e},macros:{type:`object`,cli:`-m, --macro <def>`,cliDescription:`Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).`,cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:`number`,description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:`--min-rule-thickness <size>`,cliProcessor:parseFloat},colorIsTextColor:{type:`boolean`,description:`Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.`,cli:`-b, --color-is-text-color`},strict:{type:[{enum:[`warn`,`ignore`,`error`]},`boolean`,`function`],description:`Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.`,cli:`-S, --strict`,cliDefault:!1},trust:{type:[`boolean`,`function`],description:`Trust the input, enabling all HTML features such as \\url.`,cli:`-T, --trust`},maxSize:{type:`number`,default:1/0,description:`If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large`,processor:e=>Math.max(0,e),cli:`-s, --max-size <n>`,cliProcessor:parseInt},maxExpand:{type:`number`,default:1e3,description:`Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.`,processor:e=>Math.max(0,e),cli:`-e, --max-expand <n>`,cliProcessor:e=>e===`Infinity`?1/0:parseInt(e)},globalGroup:{type:`boolean`,cli:!1}};function di(e){if(typeof e!=`string`)return e.enum[0];switch(e){case`boolean`:return!1;case`string`:return``;case`number`:return 0;case`object`:return{};default:throw Error(`Unexpected schema type; settings must declare an explicit default.`)}}function fi(e){return e.default===void 0?di(Array.isArray(e.type)?e.type[0]:e.type):e.default}function pi(e,t,n,r){var i=n[t];e[t]=i===void 0?fi(r):r.processor?r.processor(i):i}var mi=class{constructor(e){e===void 0&&(e={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e||={};for(var t of Object.keys(ui)){var n=ui[t];n&&pi(this,t,e,n)}}reportNonstrict(e,t,n){var r=this.strict;if(typeof r==`function`&&(r=r(e,t,n)),r&&r!==`ignore`){if(r===!0||r===`error`)throw new F(`LaTeX-incompatible input and strict mode is set to 'error': `+(t+` [`+e+`]`),n);r===`warn`?typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(t+` [`+e+`]`)):typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+r+`': `+t+` [`+e+`]`))}}useStrictBehavior(e,t,n){var r=this.strict;if(typeof r==`function`)try{r=r(e,t,n)}catch{r=`error`}return!r||r===`ignore`?!1:r===!0||r===`error`?!0:r===`warn`?(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(t+` [`+e+`]`)),!1):(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+r+`': `+t+` [`+e+`]`)),!1)}isTrusted(e){if(`url`in e&&e.url&&!e.protocol){var t=li(e.url);if(t==null)return!1;e.protocol=t}return!!(typeof this.trust==`function`?this.trust(e):this.trust)}},hi=class{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return wi[Ti[this.id]]}sub(){return wi[Ei[this.id]]}fracNum(){return wi[Di[this.id]]}fracDen(){return wi[Oi[this.id]]}cramp(){return wi[ki[this.id]]}text(){return wi[Ai[this.id]]}isTight(){return this.size>=2}},gi=0,_i=1,vi=2,yi=3,bi=4,xi=5,Si=6,Ci=7,wi=[new hi(gi,0,!1),new hi(_i,0,!0),new hi(vi,1,!1),new hi(yi,1,!0),new hi(bi,2,!1),new hi(xi,2,!0),new hi(Si,3,!1),new hi(Ci,3,!0)],Ti=[bi,xi,bi,xi,Si,Ci,Si,Ci],Ei=[xi,xi,xi,xi,Ci,Ci,Ci,Ci],Di=[vi,yi,bi,xi,Si,Ci,Si,Ci],Oi=[yi,yi,xi,xi,Ci,Ci,Ci,Ci],ki=[_i,_i,yi,yi,xi,xi,Ci,Ci],Ai=[gi,_i,vi,yi,vi,yi,vi,yi],ji={DISPLAY:wi[gi],TEXT:wi[vi],SCRIPT:wi[bi],SCRIPTSCRIPT:wi[Si]},Mi=[{name:`latin`,blocks:[[256,591],[768,879]]},{name:`cyrillic`,blocks:[[1024,1279]]},{name:`armenian`,blocks:[[1328,1423]]},{name:`brahmic`,blocks:[[2304,4255]]},{name:`georgian`,blocks:[[4256,4351]]},{name:`cjk`,blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:`hangul`,blocks:[[44032,55215]]}];function Ni(e){for(var t=0;t<Mi.length;t++)for(var n=Mi[t],r=0;r<n.blocks.length;r++){var i=n.blocks[r];if(e>=i[0]&&e<=i[1])return n.name}return null}var Pi=[];Mi.forEach(e=>e.blocks.forEach(e=>Pi.push(...e)));function Fi(e){for(var t=0;t<Pi.length;t+=2)if(e>=Pi[t]&&e<=Pi[t+1])return!0;return!1}var Ii=e=>e+` `+e,Li=80,Ri=function(e,t){return`M95,`+(622+e+t)+`
8
8
  c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
9
9
  c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
10
10
  c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
@@ -4,7 +4,7 @@ import { dirname as __mintDirname } from 'node:path';
4
4
  const require = __mintCreateRequire(import.meta.url);
5
5
  const __filename = __mintFileURLToPath(import.meta.url);
6
6
  const __dirname = __mintDirname(__filename);
7
- import{i as e,o as t,t as n}from"./rolldown-runtime-CEAe2Uac.js";import{K as r,Wn as i,ar as a,cr as o,lr as s,or as c,qn as l,sr as u,tt as d}from"./dist-BZO00XVw.js";import{$ as f,F as p,H as m,P as h,Q as g,V as _,W as v,_ as y,et as b,m as x,w as S}from"./dist-DFkRL36G.js";import{a as C,c as ee,i as te,o as ne,r as re,s as ie,t as ae}from"./agent-Da2kI1tZ.js";import{dt as oe}from"./utils-D9fHH3a7.js";import{r as se}from"./client-DXQ6Tgw0.js";import{f as ce,m as le}from"./schemas-CVKidklE.js";import{createRequire as ue}from"node:module";import w from"path";import{readFileSync as de}from"node:fs";import fe,*as pe from"node:readline";import{AsyncLocalStorage as me,AsyncResource as he}from"node:async_hooks";import{spawn as ge,spawnSync as _e}from"child_process";import ve,{readFileSync as ye,unlinkSync as be,writeFileSync as xe}from"fs";import Se from"os";import T from"node:process";import Ce from"node:os";import we from"node:fs/promises";import Te from"node:path";import{execFile as Ee}from"node:child_process";import{fileURLToPath as De}from"node:url";import{randomUUID as Oe}from"node:crypto";import{promisify as ke,stripVTControlCharacters as Ae}from"node:util";var je=/* @__PURE__ */ n(((t,n)=>{var r=e(`os`),i=e(`fs`),a=e(`child_process`),o=`/etc/resolv.conf`;function s(){var e=`eth`,t=r.platform();return t===`darwin`?e=`en`:t===`win32`&&(e=null),e}function c(){return r.platform()===`win32`?`ipconfig/all`:`/sbin/ifconfig`}function l(e,t){return t===`IPv4`?e===`IPv4`||e===4:t===`IPv6`?e===`IPv6`||e===6:e===t}function u(e,t){typeof e==`function`&&(t=e,e=null);var n={ip:u.ip(e),ipv6:u.ipv6(e),mac:null};u.mac(e,function(e,r){r&&(n.mac=r),t(e,n)})}u.interface=function(e,t){var n=r.networkInterfaces(),i=!t;t||=s(),e||=`IPv4`;for(var a=-1;a<8;a++){var o=n[t+(a>=0?a:``)];if(o)for(var c=0;c<o.length;c++){var u=o[c];if(l(u.family,e))return u}}if(i)for(var d in n)for(var o=n[d],a=0;a<o.length;a++){var u=o[a];if(l(u.family,e)&&!u.address.startsWith(`127.`))return u}},u.ip=function(e){var t=u.interface(`IPv4`,e);return t&&t.address},u.ipv6=function(e){var t=u.interface(`IPv6`,e);return t&&t.address};var d=/^(\w+)\:\s+flags=/,f=/^(\w+)\s{2,}link encap:\w+/i,p=u.MAC_RE=/(?:ether|HWaddr)\s+((?:[a-z0-9]{2}\:){5}[a-z0-9]{2})/i,m=u.MAC_IP_RE=/inet\s(?:addr\:)?(\d+\.\d+\.\d+\.\d+)/;function h(e,t,n){for(var r=e.split(`
7
+ import{i as e,o as t,t as n}from"./rolldown-runtime-CEAe2Uac.js";import{K as r,Wn as i,ar as a,cr as o,lr as s,or as c,qn as l,sr as u,tt as d}from"./dist-BZO00XVw.js";import{$ as f,F as p,H as m,P as h,Q as g,V as _,W as v,_ as y,et as b,m as x,w as S}from"./dist-DM6gzXTY.js";import{a as C,c as ee,i as te,o as ne,r as re,s as ie,t as ae}from"./agent-Da2kI1tZ.js";import{dt as oe}from"./utils-D9fHH3a7.js";import{r as se}from"./client-DXQ6Tgw0.js";import{f as ce,m as le}from"./schemas-CVKidklE.js";import{createRequire as ue}from"node:module";import w from"path";import{readFileSync as de}from"node:fs";import fe,*as pe from"node:readline";import{AsyncLocalStorage as me,AsyncResource as he}from"node:async_hooks";import{spawn as ge,spawnSync as _e}from"child_process";import ve,{readFileSync as ye,unlinkSync as be,writeFileSync as xe}from"fs";import Se from"os";import T from"node:process";import Ce from"node:os";import we from"node:fs/promises";import Te from"node:path";import{execFile as Ee}from"node:child_process";import{fileURLToPath as De}from"node:url";import{randomUUID as Oe}from"node:crypto";import{promisify as ke,stripVTControlCharacters as Ae}from"node:util";var je=/* @__PURE__ */ n(((t,n)=>{var r=e(`os`),i=e(`fs`),a=e(`child_process`),o=`/etc/resolv.conf`;function s(){var e=`eth`,t=r.platform();return t===`darwin`?e=`en`:t===`win32`&&(e=null),e}function c(){return r.platform()===`win32`?`ipconfig/all`:`/sbin/ifconfig`}function l(e,t){return t===`IPv4`?e===`IPv4`||e===4:t===`IPv6`?e===`IPv6`||e===6:e===t}function u(e,t){typeof e==`function`&&(t=e,e=null);var n={ip:u.ip(e),ipv6:u.ipv6(e),mac:null};u.mac(e,function(e,r){r&&(n.mac=r),t(e,n)})}u.interface=function(e,t){var n=r.networkInterfaces(),i=!t;t||=s(),e||=`IPv4`;for(var a=-1;a<8;a++){var o=n[t+(a>=0?a:``)];if(o)for(var c=0;c<o.length;c++){var u=o[c];if(l(u.family,e))return u}}if(i)for(var d in n)for(var o=n[d],a=0;a<o.length;a++){var u=o[a];if(l(u.family,e)&&!u.address.startsWith(`127.`))return u}},u.ip=function(e){var t=u.interface(`IPv4`,e);return t&&t.address},u.ipv6=function(e){var t=u.interface(`IPv6`,e);return t&&t.address};var d=/^(\w+)\:\s+flags=/,f=/^(\w+)\s{2,}link encap:\w+/i,p=u.MAC_RE=/(?:ether|HWaddr)\s+((?:[a-z0-9]{2}\:){5}[a-z0-9]{2})/i,m=u.MAC_IP_RE=/inet\s(?:addr\:)?(\d+\.\d+\.\d+\.\d+)/;function h(e,t,n){for(var r=e.split(`
8
8
  `),i=0;i<r.length;i++){var a=r[i].trimRight(),o=d.exec(a)||f.exec(a);if(o&&o[1].indexOf(t)===0){var s=null,c=null,l=p.exec(a);for(l&&(c=l[1]),i++;;){if(a=r[i],!a||d.exec(a)||f.exec(a)){i--;break}c||(l=p.exec(a),l&&(c=l[1])),s||(l=m.exec(a),l&&(s=l[1])),i++}if(s===n)return c}}}u.mac=function(e,t){typeof e==`function`&&(t=e,e=null),e||=s();var n=u.interface(`IPv4`,e);if(!n)return t();if(process.env.CI||n.mac!==`ff:00:00:00:00:00`&&n.mac!==`00:00:00:00:00:00`||(n.mac=``),n.mac)return t(null,n.mac);a.exec(c(),{timeout:5e3},function(r,i,a){if(r||!i)return t(r);var o=h(i||``,e,n.address);t(null,o)})};var g=/^nameserver\s+(\d+\.\d+\.\d+\.\d+)$/i;u.dns=function(e,t){typeof e==`function`&&(t=e,e=null),e||=o,i.readFile(e,`utf8`,function(e,n){if(e)return t(e);var r=[];n||=``;for(var i=n.split(`
9
9
  `),a=0;a<i.length;a++){var o=i[a].trim(),s=g.exec(o);s&&r.push(s[1])}t(null,r)})},n.exports=u})),Me=/* @__PURE__ */ n(((t,n)=>{let r=e(`net`),i=je(),a=b()(`detect-port`);n.exports=(e,t)=>{let n=``;typeof e==`object`&&e?(n=e.hostname,t=e.callback,e=e.port):typeof e==`function`&&(t=e,e=null),e=parseInt(e)||0;let r=e+10;return r>65535&&(r=65535),a(`detect free port between [%s, %s)`,e,r),typeof t==`function`?o(e,r,n,t):new Promise(t=>{o(e,r,n,(e,n)=>{t(n)})})};function o(e,t,n,r){function c(){e++,e>=t&&(a(`port: %s >= maxPort: %s, give up and use random port`,e,t),e=0,t=0),o(e,t,n,r)}n?s(e,n,(e,t)=>{if(e)return e.code===`EADDRNOTAVAIL`?r(/* @__PURE__ */ Error(`the ip that is not unknown on the machine`)):c();r(null,t)}):s(e,null,(t,n)=>{if(e===0)return r(t,n);if(t)return c(t);s(e,`0.0.0.0`,t=>{if(t)return c(t);s(e,`localhost`,t=>{if(t&&t.code!==`EADDRNOTAVAIL`)return c(t);s(e,i.ip(),(e,t)=>{if(e)return c(e);r(null,t)})})})})}function s(e,t,n){let i=new r.Server;i.on(`error`,r=>(a(`listen %s:%s error: %s`,t,e,r),i.close(),r.code===`ENOTFOUND`?(a(`ignore dns ENOTFOUND error, get free %s:%s`,t,e),n(null,e)):n(r))),i.listen(e,t,()=>(e=i.address().port,i.close(),a(`get free %s:%s`,t,e),n(null,e)))}})),Ne=/* @__PURE__ */ n(((e,t)=>{let n=b()(`wait-port`),r=Me(),i=e=>new Promise(t=>setTimeout(t,e));async function a(e,t={}){let{retryInterval:a=1e3,retries:o=1/0}=t,s=1;async function c(){if(n(`retries`,o,`count`,s),s>o){let e=/* @__PURE__ */ Error(`retries exceeded`);throw e.retries=o,e.count=s,e}return s++,await r(e)!==e||(await i(a),c())}return await c()}t.exports=a})),Pe=/* @__PURE__ */ n(((e,t)=>{t.exports=Me(),t.exports.waitPort=Ne()})),E=/* @__PURE__ */ n((e=>{let t=o().fromCallback,n=u(),r=(/* @__PURE__ */ `access.appendFile.chmod.chown.close.copyFile.fchmod.fchown.fdatasync.fstat.fsync.ftruncate.futimes.lchmod.lchown.link.lstat.mkdir.mkdtemp.open.opendir.readdir.readFile.readlink.realpath.rename.rm.rmdir.stat.symlink.truncate.unlink.utimes.writeFile`.split(`.`)).filter(e=>typeof n[e]==`function`);Object.assign(e,n),r.forEach(r=>{e[r]=t(n[r])}),e.exists=function(e,t){return typeof t==`function`?n.exists(e,t):new Promise(t=>n.exists(e,t))},e.read=function(e,t,r,i,a,o){return typeof o==`function`?n.read(e,t,r,i,a,o):new Promise((o,s)=>{n.read(e,t,r,i,a,(e,t,n)=>{if(e)return s(e);o({bytesRead:t,buffer:n})})})},e.write=function(e,t,...r){return typeof r[r.length-1]==`function`?n.write(e,t,...r):new Promise((i,a)=>{n.write(e,t,...r,(e,t,n)=>{if(e)return a(e);i({bytesWritten:t,buffer:n})})})},e.readv=function(e,t,...r){return typeof r[r.length-1]==`function`?n.readv(e,t,...r):new Promise((i,a)=>{n.readv(e,t,...r,(e,t,n)=>{if(e)return a(e);i({bytesRead:t,buffers:n})})})},e.writev=function(e,t,...r){return typeof r[r.length-1]==`function`?n.writev(e,t,...r):new Promise((i,a)=>{n.writev(e,t,...r,(e,t,n)=>{if(e)return a(e);i({bytesWritten:t,buffers:n})})})},typeof n.realpath.native==`function`?e.realpath.native=t(n.realpath.native):process.emitWarning(`fs.realpath.native is not a function. Is fs being monkey-patched?`,`Warning`,`fs-extra-WARN0003`)})),Fe=/* @__PURE__ */ n(((t,n)=>{let r=e(`path`);n.exports.checkPath=function(e){if(process.platform===`win32`&&/[<>:"|?*]/.test(e.replace(r.parse(e).root,``))){let t=/* @__PURE__ */ Error(`Path contains invalid characters: ${e}`);throw t.code=`EINVAL`,t}}})),Ie=/* @__PURE__ */ n(((e,t)=>{let n=E(),{checkPath:r}=Fe(),i=e=>typeof e==`number`?e:{mode:511,...e}.mode;t.exports.makeDir=async(e,t)=>(r(e),n.mkdir(e,{mode:i(t),recursive:!0})),t.exports.makeDirSync=(e,t)=>(r(e),n.mkdirSync(e,{mode:i(t),recursive:!0}))})),D=/* @__PURE__ */ n(((e,t)=>{let n=o().fromPromise,{makeDir:r,makeDirSync:i}=Ie(),a=n(r);t.exports={mkdirs:a,mkdirsSync:i,mkdirp:a,mkdirpSync:i,ensureDir:a,ensureDirSync:i}})),Le=/* @__PURE__ */ n(((e,t)=>{let n=o().fromPromise,r=E();function i(e){return r.access(e).then(()=>!0).catch(()=>!1)}t.exports={pathExists:n(i),pathExistsSync:r.existsSync}})),Re=/* @__PURE__ */ n(((e,t)=>{let n=E(),r=o().fromPromise;async function i(e,t,r){let i=await n.open(e,`r+`),a=null;try{await n.futimes(i,t,r)}finally{try{await n.close(i)}catch(e){a=e}}if(a)throw a}function a(e,t,r){let i=n.openSync(e,`r+`);return n.futimesSync(i,t,r),n.closeSync(i)}t.exports={utimesMillis:r(i),utimesMillisSync:a}})),ze=/* @__PURE__ */ n(((t,n)=>{let r=E(),i=e(`path`),a=o().fromPromise;function s(e,t,n){let i=n.dereference?e=>r.stat(e,{bigint:!0}):e=>r.lstat(e,{bigint:!0});return Promise.all([i(e),i(t).catch(e=>{if(e.code===`ENOENT`)return null;throw e})]).then(([e,t])=>({srcStat:e,destStat:t}))}function c(e,t,n){let i,a=n.dereference?e=>r.statSync(e,{bigint:!0}):e=>r.lstatSync(e,{bigint:!0}),o=a(e);try{i=a(t)}catch(e){if(e.code===`ENOENT`)return{srcStat:o,destStat:null};throw e}return{srcStat:o,destStat:i}}async function l(e,t,n,r){let{srcStat:a,destStat:o}=await s(e,t,r);if(o){if(p(a,o)){let r=i.basename(e),s=i.basename(t);if(n===`move`&&r!==s&&r.toLowerCase()===s.toLowerCase())return{srcStat:a,destStat:o,isChangingCase:!0};throw Error(`Source and destination must not be the same.`)}if(a.isDirectory()&&!o.isDirectory())throw Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!a.isDirectory()&&o.isDirectory())throw Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(a.isDirectory()&&m(e,t))throw Error(h(e,t,n));return{srcStat:a,destStat:o}}function u(e,t,n,r){let{srcStat:a,destStat:o}=c(e,t,r);if(o){if(p(a,o)){let r=i.basename(e),s=i.basename(t);if(n===`move`&&r!==s&&r.toLowerCase()===s.toLowerCase())return{srcStat:a,destStat:o,isChangingCase:!0};throw Error(`Source and destination must not be the same.`)}if(a.isDirectory()&&!o.isDirectory())throw Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!a.isDirectory()&&o.isDirectory())throw Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(a.isDirectory()&&m(e,t))throw Error(h(e,t,n));return{srcStat:a,destStat:o}}async function d(e,t,n,a){let o=i.resolve(i.dirname(e)),s=i.resolve(i.dirname(n));if(s===o||s===i.parse(s).root)return;let c;try{c=await r.stat(s,{bigint:!0})}catch(e){if(e.code===`ENOENT`)return;throw e}if(p(t,c))throw Error(h(e,n,a));return d(e,t,s,a)}function f(e,t,n,a){let o=i.resolve(i.dirname(e)),s=i.resolve(i.dirname(n));if(s===o||s===i.parse(s).root)return;let c;try{c=r.statSync(s,{bigint:!0})}catch(e){if(e.code===`ENOENT`)return;throw e}if(p(t,c))throw Error(h(e,n,a));return f(e,t,s,a)}function p(e,t){return t.ino&&t.dev&&t.ino===e.ino&&t.dev===e.dev}function m(e,t){let n=i.resolve(e).split(i.sep).filter(e=>e),r=i.resolve(t).split(i.sep).filter(e=>e);return n.every((e,t)=>r[t]===e)}function h(e,t,n){return`Cannot ${n} '${e}' to a subdirectory of itself, '${t}'.`}n.exports={checkPaths:a(l),checkPathsSync:u,checkParentPaths:a(d),checkParentPathsSync:f,isSrcSubdir:m,areIdentical:p}})),Be=/* @__PURE__ */ n(((t,n)=>{let r=E(),i=e(`path`),{mkdirs:a}=D(),{pathExists:o}=Le(),{utimesMillis:s}=Re(),c=ze();async function l(e,t,n={}){typeof n==`function`&&(n={filter:n}),n.clobber=`clobber`in n?!!n.clobber:!0,n.overwrite=`overwrite`in n?!!n.overwrite:n.clobber,n.preserveTimestamps&&process.arch===`ia32`&&process.emitWarning(`Using the preserveTimestamps option in 32-bit node is not recommended;
10
10
 
@@ -4,4 +4,4 @@ import { dirname as __mintDirname } from 'node:path';
4
4
  const require = __mintCreateRequire(import.meta.url);
5
5
  const __filename = __mintFileURLToPath(import.meta.url);
6
6
  const __dirname = __mintDirname(__filename);
7
- export{t as clearConfigValue,n as getAgentSiteMetadata,r as getConfigValue,i as getUpdateState,a as hasShownPublishPrompt,o as isTelemetryEnabled,s as markPublishPromptShown,c as setAgentSiteMetadata,l as setConfigValue,u as setTelemetryEnabled,d as setUpdateState}from"./config-VhqDayo8.js";
7
+ export{t as clearConfigValue,n as getAgentSiteMetadata,r as getConfigValue,i as getUpdateState,a as hasShownPublishPrompt,o as isTelemetryEnabled,s as markPublishPromptShown,c as setAgentSiteMetadata,l as setConfigValue,u as setTelemetryEnabled,d as setUpdateState}from"./config-Bl8bCVjS.js";
@@ -4,4 +4,4 @@ import { dirname as __mintDirname } from 'node:path';
4
4
  const require = __mintCreateRequire(import.meta.url);
5
5
  const __filename = __mintFileURLToPath(import.meta.url);
6
6
  const __dirname = __mintDirname(__filename);
7
- export{k as AddedLog,A as BrokenLinksLog,j as DeletedLog,M as EditedLog,N as EmptyLineLog,P as ErrorLog,F as InfoLog,Q as LOCAL_LINKED_CLI_VERSION,I as LaunchLog,L as LinksToLog,R as Logs,o as PackageIslandCollector,z as RenamedLog,B as SearchDisabledLog,V as SpinnerLog,H as SuccessLog,U as UpdateLog,W as WarningLog,h as addChangeLog,g as addErrorLog,_ as addLog,v as addLogs,y as addRawErrorLog,u as checkBuild,b as clearErrorLogs,x as clearLogs,s as collectPackageIslands,t as dev,d as downloadTargetMint,l as exportSite,m as getClientVersion,S as getCurrentErrorLogs,f as getLatestClientVersion,p as getVersionMap,i as normalizeProviderPath,a as readPackagesSetup,C as removeErrorLogs,w as removeLastLog,T as removeLog,E as removeSpinnerLogs,D as replaceLog,c as resolvePageContent,O as setLoggingCallbacks}from"./dist-DFkRL36G.js";
7
+ export{k as AddedLog,A as BrokenLinksLog,j as DeletedLog,M as EditedLog,N as EmptyLineLog,P as ErrorLog,F as InfoLog,Q as LOCAL_LINKED_CLI_VERSION,I as LaunchLog,L as LinksToLog,R as Logs,o as PackageIslandCollector,z as RenamedLog,B as SearchDisabledLog,V as SpinnerLog,H as SuccessLog,U as UpdateLog,W as WarningLog,h as addChangeLog,g as addErrorLog,_ as addLog,v as addLogs,y as addRawErrorLog,u as checkBuild,b as clearErrorLogs,x as clearLogs,s as collectPackageIslands,t as dev,d as downloadTargetMint,l as exportSite,m as getClientVersion,S as getCurrentErrorLogs,f as getLatestClientVersion,p as getVersionMap,i as normalizeProviderPath,a as readPackagesSetup,C as removeErrorLogs,w as removeLastLog,T as removeLog,E as removeSpinnerLogs,D as replaceLog,c as resolvePageContent,O as setLoggingCallbacks}from"./dist-DM6gzXTY.js";