@negoziator/ai-commit 1.2.222 → 1.2.224

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.
Files changed (2) hide show
  1. package/dist/cli.mjs +4 -4
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -10,7 +10,7 @@ var zt=Object.defineProperty;var o=(u,e)=>zt(u,"name",{value:e,configurable:!0})
10
10
  `);if(i.postprocess){let{postprocess:F}=i;C=C.map((E,d)=>F.call(i,E,d))}return i.paddingTop&&C.unshift(...lD(i.paddingTop)),i.paddingBottom&&C.push(...lD(i.paddingBottom)),C.length>s&&(s=C.length),Mu(fu({},i),{lines:C})}),a=[];for(let i=0;i<s;i+=1){let c=D.map(l=>{var C;let F=(C=l.lines[i])!=null?C:"",E=Number.isFinite(l.width)?" ".repeat(l.width-W(F)):"",d=l.paddingLeftString;return l.align==="right"&&(d+=E),d+=F,l.align==="left"&&(d+=E),d+l.paddingRightString}).join("");a.push(c)}t.push(a.join(`
11
11
  `))}return t.join(`
12
12
  `)}o(tn,"P$3");function rn(u,e){if(!u||u.length===0)return"";let t=Wr(u),r=t.length;if(r===0)return"";let{stdoutColumns:n,columns:s}=Nr(e);if(s.length>r)throw new Error(`${s.length} columns defined, but only ${r} columns found`);let D=Yr(n,s,t);return u.map(a=>tn(D,a)).join(`
13
- `)}o(rn,"mD"),T();var nn=["<",">","=",">=","<="];function on(u){if(!nn.includes(u))throw new TypeError(`Invalid breakpoint operator: ${u}`)}o(on,"xD$1");function sn(u){let e=Object.keys(u).map(t=>{let[r,n]=t.split(" ");on(r);let s=Number.parseInt(n,10);if(Number.isNaN(s))throw new TypeError(`Invalid breakpoint value: ${n}`);let D=u[t];return{operator:r,breakpoint:s,value:D}}).sort((t,r)=>r.breakpoint-t.breakpoint);return t=>{var r;return(r=e.find(({operator:n,breakpoint:s})=>n==="="&&t===s||n===">"&&t>s||n==="<"&&t<s||n===">="&&t>=s||n==="<="&&t<=s))==null?void 0:r.value}}o(sn,"wD");const an=o(u=>u.replace(/[\W_]([a-z\d])?/gi,(e,t)=>t?t.toUpperCase():""),"P$2"),cn=o(u=>u.replace(/\B([A-Z])/g,"-$1").toLowerCase(),"q"),ln={"> 80":[{width:"content-width",paddingLeft:2,paddingRight:8},{width:"auto"}],"> 40":[{width:"auto",paddingLeft:2,paddingRight:8,preprocess:o(u=>u.trim(),"preprocess")},{width:"100%",paddingLeft:2,paddingBottom:1}],"> 0":{stdoutColumns:1e3,columns:[{width:"content-width",paddingLeft:2,paddingRight:8},{width:"content-width"}]}};function Fn(u){let e=!1;return{type:"table",data:{tableData:Object.keys(u).sort((t,r)=>t.localeCompare(r)).map(t=>{const r=u[t],n="alias"in r;return n&&(e=!0),{name:t,flag:r,flagFormatted:`--${cn(t)}`,aliasesEnabled:e,aliasFormatted:n?`-${r.alias}`:void 0}}).map(t=>(t.aliasesEnabled=e,[{type:"flagName",data:t},{type:"flagDescription",data:t}])),tableBreakpoints:ln}}}o(Fn,"D");const FD=o(u=>!u||(u.version??(u.help?u.help.version:void 0)),"A"),CD=o(u=>{const e="parent"in u&&u.parent?.name;return(e?`${e} `:"")+u.name},"C$2");function Cn(u){const e=[];u.name&&e.push(CD(u));const t=FD(u)??("parent"in u&&FD(u.parent));if(t&&e.push(`v${t}`),e.length!==0)return{id:"name",type:"text",data:`${e.join(" ")}
13
+ `)}o(rn,"mD"),T();var nn=["<",">","=",">=","<="];function on(u){if(!nn.includes(u))throw new TypeError(`Invalid breakpoint operator: ${u}`)}o(on,"xD$1");function sn(u){let e=Object.keys(u).map(t=>{let[r,n]=t.split(" ");on(r);let s=Number.parseInt(n,10);if(Number.isNaN(s))throw new TypeError(`Invalid breakpoint value: ${n}`);let D=u[t];return{operator:r,breakpoint:s,value:D}}).sort((t,r)=>r.breakpoint-t.breakpoint);return t=>{var r;return(r=e.find(({operator:n,breakpoint:s})=>n==="="&&t===s||n===">"&&t>s||n==="<"&&t<s||n===">="&&t>=s||n==="<="&&t<=s))==null?void 0:r.value}}o(sn,"wD");const an=o(u=>u.replace(/[\W_]([a-z\d])?/gi,(e,t)=>t?t.toUpperCase():""),"P$2"),cn=o(u=>u.replace(/\B([A-Z])/g,"-$1").toLowerCase(),"q"),ln={"> 80":[{width:"content-width",paddingLeft:2,paddingRight:8},{width:"auto"}],"> 40":[{width:"auto",paddingLeft:2,paddingRight:8,preprocess:o(u=>u.trim(),"preprocess")},{width:"100%",paddingLeft:2,paddingBottom:1}],"> 0":{stdoutColumns:1e3,columns:[{width:"content-width",paddingLeft:2,paddingRight:8},{width:"content-width"}]}};function Fn(u){let e=!1;return{type:"table",data:{tableData:Object.keys(u).sort((t,r)=>t.localeCompare(r)).map(t=>{const r=u[t],n="alias"in r;return n&&(e=!0),{name:t,flag:r,flagFormatted:`--${cn(t)}`,aliasesEnabled:e,aliasFormatted:n?`-${r.alias}`:void 0}}).map(t=>(t.aliasesEnabled=e,[{type:"flagName",data:t},{type:"flagDescription",data:t}])),tableBreakpoints:ln}}}o(Fn,"D");const FD=o(u=>!u||(u.version??(u.help?u.help.version:void 0)),"A"),CD=o(u=>{const e="parent"in u&&u.parent?.name;return(e?`${e} `:"")+u.name},"C$1");function Cn(u){const e=[];u.name&&e.push(CD(u));const t=FD(u)??("parent"in u&&FD(u.parent));if(t&&e.push(`v${t}`),e.length!==0)return{id:"name",type:"text",data:`${e.join(" ")}
14
14
  `}}o(Cn,"R$1");function fn(u){const{help:e}=u;if(!(!e||!e.description))return{id:"description",type:"text",data:`${e.description}
15
15
  `}}o(fn,"L$2");function dn(u){const e=u.help||{};if("usage"in e)return e.usage?{id:"usage",type:"section",data:{title:"Usage:",body:Array.isArray(e.usage)?e.usage.join(`
16
16
  `):e.usage}}:void 0;if(u.name){const t=[],r=[CD(u)];if(u.flags&&Object.keys(u.flags).length>0&&r.push("[flags...]"),u.parameters&&u.parameters.length>0){const{parameters:n}=u,s=n.indexOf("--"),D=s>-1&&n.slice(s+1).some(a=>a.startsWith("<"));r.push(n.map(a=>a!=="--"?a:D?"--":"[--]").join(" "))}if(r.length>1&&t.push(r.join(" ")),"commands"in u&&u.commands?.length&&t.push(`${u.name} <command>`),t.length>0)return{id:"usage",type:"section",data:{title:"Usage:",body:t.join(`
@@ -19,12 +19,12 @@ var zt=Object.defineProperty;var o=(u,e)=>zt(u,"name",{value:e,configurable:!0})
19
19
  `:"")+(t?this.indentText({text:this.render(t),spaces:r}):"")}
20
20
  `}table({tableData:e,tableOptions:t,tableBreakpoints:r}){return rn(e.map(n=>n.map(s=>this.render(s))),r?sn(r):t)}flagParameter(e){return e===Boolean?"":e===String?"<string>":e===Number?"<number>":Array.isArray(e)?this.flagParameter(e[0]):"<value>"}flagOperator(e){return" "}flagName(e){const{flag:t,flagFormatted:r,aliasesEnabled:n,aliasFormatted:s}=e;let D="";if(s?D+=`${s}, `:n&&(D+=" "),D+=r,"placeholder"in t&&typeof t.placeholder=="string")D+=`${this.flagOperator(e)}${t.placeholder}`;else{const a=this.flagParameter("type"in t?t.type:t);a&&(D+=`${this.flagOperator(e)}${a}`)}return D}flagDefault(e){return JSON.stringify(e)}flagDescription({flag:e}){let t="description"in e?e.description??"":"";if("default"in e){let{default:r}=e;typeof r=="function"&&(r=r()),r&&(t+=` (default: ${this.flagDefault(r)})`)}return t}render(e){if(typeof e=="string")return e;if(Array.isArray(e))return e.map(t=>this.render(t)).join(`
21
21
  `);if("type"in e&&this[e.type]){const t=this[e.type];if(typeof t=="function")return t.call(this,e.data)}throw new Error(`Invalid node type: ${JSON.stringify(e)}`)}},o(eu,"J"),eu);const qu=o(u=>u.length>0&&!u.includes(" "),"y$1"),{stringify:M}=JSON,bn=/[|\\{}()[\]^$+*?.]/;function Wu(u){const e=[];let t,r;for(const n of u){if(r)throw new Error(`Invalid parameter: Spread parameter ${M(r)} must be last`);const s=n[0],D=n[n.length-1];let a;if(s==="<"&&D===">"&&(a=!0,t))throw new Error(`Invalid parameter: Required parameter ${M(n)} cannot come after optional parameter ${M(t)}`);if(s==="["&&D==="]"&&(a=!1,t=n),a===void 0)throw new Error(`Invalid parameter: ${M(n)}. Must be wrapped in <> (required parameter) or [] (optional parameter)`);let i=n.slice(1,-1);const c=i.slice(-3)==="...";c&&(r=n,i=i.slice(0,-3));const l=i.match(bn);if(l)throw new Error(`Invalid parameter: ${M(n)}. Invalid character found ${M(l[0])}`);e.push({name:i,required:a,spread:c})}return e}o(Wu,"w$1");function Uu(u,e,t,r){for(let n=0;n<e.length;n+=1){const{name:s,required:D,spread:a}=e[n],i=an(s);if(i in u)throw new Error(`Invalid parameter: ${M(s)} is used more than once.`);const c=a?t.slice(n):t[n];if(a&&(n=e.length),D&&(!c||a&&c.length===0))return console.error(`Error: Missing required parameter ${M(s)}
22
- `),r(),process.exit(1);u[i]=c}}o(Uu,"b$1");function An(u){return u===void 0||u!==!1}o(An,"W$2");function fD(u,e,t,r){const n={...e.flags},s=e.version;s&&(n.version={type:Boolean,description:"Show version"});const{help:D}=e,a=An(D);a&&!("help"in n)&&(n.help={type:Boolean,alias:"h",description:"Show help"});const i=wr(n,r,{ignore:e.ignoreArgv}),c=o(()=>{console.log(e.version)},"f");if(s&&i.flags.version===!0)return c(),process.exit(0);const l=new yn,C=a&&D?.render?D.render:d=>l.render(d),F=o(d=>{const m=gn({...e,...d?{help:d}:{},flags:n});console.log(C(m,l))},"u");if(a&&i.flags.help===!0)return F(),process.exit(0);if(e.parameters){let{parameters:d}=e,m=i._;const f=d.indexOf("--"),p=d.slice(f+1),h=Object.create(null);if(f>-1&&p.length>0){d=d.slice(0,f);const g=i._["--"];m=m.slice(0,-g.length||void 0),Uu(h,Wu(d),m,F),Uu(h,Wu(p),g,F)}else Uu(h,Wu(d),m,F);Object.assign(i._,h)}const E={...i,showVersion:c,showHelp:F};return typeof t=="function"&&t(E),{command:u,...E}}o(fD,"x$1");function wn(u,e){const t=new Map;for(const r of e){const n=[r.options.name],{alias:s}=r.options;s&&(Array.isArray(s)?n.push(...s):n.push(s));for(const D of n){if(t.has(D))throw new Error(`Duplicate command name found: ${M(D)}`);t.set(D,r)}}return t.get(u)}o(wn,"z$1");function vn(u,e,t=process.argv.slice(2)){if(!u)throw new Error("Options is required");if("name"in u&&(!u.name||!qu(u.name)))throw new Error(`Invalid script name: ${M(u.name)}`);const r=t[0];if(u.commands&&r&&qu(r)){const n=wn(r,u.commands);if(n)return fD(n.options.name,{...n.options,parent:u},n.callback,t.slice(1))}return fD(void 0,u,e,t)}o(vn,"Z");function dD(u,e){if(!u)throw new Error("Command options are required");const{name:t}=u;if(t===void 0)throw new Error("Command name is required");if(!qu(t))throw new Error(`Invalid command name ${JSON.stringify(t)}. Command names must be one word.`);return{options:u,callback:e}}o(dD,"G$2");var ED="1.2.222",$n="Writes your git commit messages for you with AI",G=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function J(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}o(J,"getDefaultExportFromCjs");var U={exports:{}},zu,pD;function xn(){if(pD)return zu;pD=1,zu=r,r.sync=n;var u=_u;function e(s,D){var a=D.pathExt!==void 0?D.pathExt:process.env.PATHEXT;if(!a||(a=a.split(";"),a.indexOf("")!==-1))return!0;for(var i=0;i<a.length;i++){var c=a[i].toLowerCase();if(c&&s.substr(-c.length).toLowerCase()===c)return!0}return!1}o(e,"checkPathExt");function t(s,D,a){return!s.isSymbolicLink()&&!s.isFile()?!1:e(D,a)}o(t,"checkStat");function r(s,D,a){u.stat(s,function(i,c){a(i,i?!1:t(c,s,D))})}o(r,"isexe");function n(s,D){return t(u.statSync(s),s,D)}return o(n,"sync"),zu}o(xn,"requireWindows");var Hu,hD;function Sn(){if(hD)return Hu;hD=1,Hu=e,e.sync=t;var u=_u;function e(s,D,a){u.stat(s,function(i,c){a(i,i?!1:r(c,D))})}o(e,"isexe");function t(s,D){return r(u.statSync(s),D)}o(t,"sync");function r(s,D){return s.isFile()&&n(s,D)}o(r,"checkStat");function n(s,D){var a=s.mode,i=s.uid,c=s.gid,l=D.uid!==void 0?D.uid:process.getuid&&process.getuid(),C=D.gid!==void 0?D.gid:process.getgid&&process.getgid(),F=parseInt("100",8),E=parseInt("010",8),d=parseInt("001",8),m=F|E,f=a&d||a&E&&c===C||a&F&&i===l||a&m&&l===0;return f}return o(n,"checkMode"),Hu}o(Sn,"requireMode");var Yu,mD;function On(){if(mD)return Yu;mD=1;var u;process.platform==="win32"||G.TESTING_WINDOWS?u=xn():u=Sn(),Yu=e,e.sync=t;function e(r,n,s){if(typeof n=="function"&&(s=n,n={}),!s){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(D,a){e(r,n||{},function(i,c){i?a(i):D(c)})})}u(r,n||{},function(D,a){D&&(D.code==="EACCES"||n&&n.ignoreErrors)&&(D=null,a=!1),s(D,a)})}o(e,"isexe");function t(r,n){try{return u.sync(r,n||{})}catch(s){if(n&&n.ignoreErrors||s.code==="EACCES")return!1;throw s}}return o(t,"sync"),Yu}o(On,"requireIsexe");var Ku,gD;function Tn(){if(gD)return Ku;gD=1;const u=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",e=V,t=u?";":":",r=On(),n=o(i=>Object.assign(new Error(`not found: ${i}`),{code:"ENOENT"}),"getNotFoundError"),s=o((i,c)=>{const l=c.colon||t,C=i.match(/\//)||u&&i.match(/\\/)?[""]:[...u?[process.cwd()]:[],...(c.path||process.env.PATH||"").split(l)],F=u?c.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",E=u?F.split(l):[""];return u&&i.indexOf(".")!==-1&&E[0]!==""&&E.unshift(""),{pathEnv:C,pathExt:E,pathExtExe:F}},"getPathInfo"),D=o((i,c,l)=>{typeof c=="function"&&(l=c,c={}),c||(c={});const{pathEnv:C,pathExt:F,pathExtExe:E}=s(i,c),d=[],m=o(p=>new Promise((h,g)=>{if(p===C.length)return c.all&&d.length?h(d):g(n(i));const B=C[p],b=/^".*"$/.test(B)?B.slice(1,-1):B,y=e.join(b,i),v=!b&&/^\.[\\\/]/.test(i)?i.slice(0,2)+y:y;h(f(v,p,0))}),"step"),f=o((p,h,g)=>new Promise((B,b)=>{if(g===F.length)return B(m(h+1));const y=F[g];r(p+y,{pathExt:E},(v,k)=>{if(!v&&k)if(c.all)d.push(p+y);else return B(p+y);return B(f(p,h,g+1))})}),"subStep");return l?m(0).then(p=>l(null,p),l):m(0)},"which"),a=o((i,c)=>{c=c||{};const{pathEnv:l,pathExt:C,pathExtExe:F}=s(i,c),E=[];for(let d=0;d<l.length;d++){const m=l[d],f=/^".*"$/.test(m)?m.slice(1,-1):m,p=e.join(f,i),h=!f&&/^\.[\\\/]/.test(i)?i.slice(0,2)+p:p;for(let g=0;g<C.length;g++){const B=h+C[g];try{if(r.sync(B,{pathExt:F}))if(c.all)E.push(B);else return B}catch{}}}if(c.all&&E.length)return E;if(c.nothrow)return null;throw n(i)},"whichSync");return Ku=D,D.sync=a,Ku}o(Tn,"requireWhich");var Eu={exports:{}},BD;function In(){if(BD)return Eu.exports;BD=1;const u=o((e={})=>{const t=e.env||process.env;return(e.platform||process.platform)!=="win32"?"PATH":Object.keys(t).reverse().find(n=>n.toUpperCase()==="PATH")||"Path"},"pathKey");return Eu.exports=u,Eu.exports.default=u,Eu.exports}o(In,"requirePathKey");var Vu,yD;function Pn(){if(yD)return Vu;yD=1;const u=V,e=Tn(),t=In();function r(s,D){const a=s.options.env||process.env,i=process.cwd(),c=s.options.cwd!=null,l=c&&process.chdir!==void 0&&!process.chdir.disabled;if(l)try{process.chdir(s.options.cwd)}catch{}let C;try{C=e.sync(s.command,{path:a[t({env:a})],pathExt:D?u.delimiter:void 0})}catch{}finally{l&&process.chdir(i)}return C&&(C=u.resolve(c?s.options.cwd:"",C)),C}o(r,"resolveCommandAttempt");function n(s){return r(s)||r(s,!0)}return o(n,"resolveCommand"),Vu=n,Vu}o(Pn,"requireResolveCommand");var pu={},bD;function Rn(){if(bD)return pu;bD=1;const u=/([()\][%!^"`<>&|;, *?])/g;function e(r){return r=r.replace(u,"^$1"),r}o(e,"escapeCommand");function t(r,n){return r=`${r}`,r=r.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"'),r=r.replace(/(?=(\\+?)?)\1$/,"$1$1"),r=`"${r}"`,r=r.replace(u,"^$1"),n&&(r=r.replace(u,"^$1")),r}return o(t,"escapeArgument"),pu.command=e,pu.argument=t,pu}o(Rn,"require_escape");var Ju,AD;function _n(){return AD||(AD=1,Ju=/^#!(.*)/),Ju}o(_n,"requireShebangRegex");var Zu,wD;function kn(){if(wD)return Zu;wD=1;const u=_n();return Zu=o((e="")=>{const t=e.match(u);if(!t)return null;const[r,n]=t[0].replace(/#! ?/,"").split(" "),s=r.split("/").pop();return s==="env"?n:n?`${s} ${n}`:s},"shebangCommand"),Zu}o(kn,"requireShebangCommand");var Xu,vD;function Mn(){if(vD)return Xu;vD=1;const u=_u,e=kn();function t(r){const s=Buffer.alloc(150);let D;try{D=u.openSync(r,"r"),u.readSync(D,s,0,150,0),u.closeSync(D)}catch{}return e(s.toString())}return o(t,"readShebang"),Xu=t,Xu}o(Mn,"requireReadShebang");var Qu,$D;function jn(){if($D)return Qu;$D=1;const u=V,e=Pn(),t=Rn(),r=Mn(),n=process.platform==="win32",s=/\.(?:com|exe)$/i,D=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function a(l){l.file=e(l);const C=l.file&&r(l.file);return C?(l.args.unshift(l.file),l.command=C,e(l)):l.file}o(a,"detectShebang");function i(l){if(!n)return l;const C=a(l),F=!s.test(C);if(l.options.forceShell||F){const E=D.test(C);l.command=u.normalize(l.command),l.command=t.command(l.command),l.args=l.args.map(m=>t.argument(m,E));const d=[l.command].concat(l.args).join(" ");l.args=["/d","/s","/c",`"${d}"`],l.command=process.env.comspec||"cmd.exe",l.options.windowsVerbatimArguments=!0}return l}o(i,"parseNonShell");function c(l,C,F){C&&!Array.isArray(C)&&(F=C,C=null),C=C?C.slice(0):[],F=Object.assign({},F);const E={command:l,args:C,options:F,file:void 0,original:{command:l,args:C}};return F.shell?E:i(E)}return o(c,"parse"),Qu=c,Qu}o(jn,"requireParse");var ue,xD;function Nn(){if(xD)return ue;xD=1;const u=process.platform==="win32";function e(s,D){return Object.assign(new Error(`${D} ${s.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${D} ${s.command}`,path:s.command,spawnargs:s.args})}o(e,"notFoundError");function t(s,D){if(!u)return;const a=s.emit;s.emit=function(i,c){if(i==="exit"){const l=r(c,D);if(l)return a.call(s,"error",l)}return a.apply(s,arguments)}}o(t,"hookChildProcess");function r(s,D){return u&&s===1&&!D.file?e(D.original,"spawn"):null}o(r,"verifyENOENT");function n(s,D){return u&&s===1&&!D.file?e(D.original,"spawnSync"):null}return o(n,"verifyENOENTSync"),ue={hookChildProcess:t,verifyENOENT:r,verifyENOENTSync:n,notFoundError:e},ue}o(Nn,"requireEnoent");var SD;function Ln(){if(SD)return U.exports;SD=1;const u=Kt,e=jn(),t=Nn();function r(s,D,a){const i=e(s,D,a),c=u.spawn(i.command,i.args,i.options);return t.hookChildProcess(c,i),c}o(r,"spawn");function n(s,D,a){const i=e(s,D,a),c=u.spawnSync(i.command,i.args,i.options);return c.error=c.error||t.verifyENOENTSync(c.status,i),c}return o(n,"spawnSync"),U.exports=r,U.exports.spawn=r,U.exports.sync=n,U.exports._parse=e,U.exports._enoent=t,U.exports}o(Ln,"requireCrossSpawn");var Gn=Ln(),qn=J(Gn);function Wn(u){const e=typeof u=="string"?`
22
+ `),r(),process.exit(1);u[i]=c}}o(Uu,"b$1");function An(u){return u===void 0||u!==!1}o(An,"W$2");function fD(u,e,t,r){const n={...e.flags},s=e.version;s&&(n.version={type:Boolean,description:"Show version"});const{help:D}=e,a=An(D);a&&!("help"in n)&&(n.help={type:Boolean,alias:"h",description:"Show help"});const i=wr(n,r,{ignore:e.ignoreArgv}),c=o(()=>{console.log(e.version)},"f");if(s&&i.flags.version===!0)return c(),process.exit(0);const l=new yn,C=a&&D?.render?D.render:d=>l.render(d),F=o(d=>{const m=gn({...e,...d?{help:d}:{},flags:n});console.log(C(m,l))},"u");if(a&&i.flags.help===!0)return F(),process.exit(0);if(e.parameters){let{parameters:d}=e,m=i._;const f=d.indexOf("--"),p=d.slice(f+1),h=Object.create(null);if(f>-1&&p.length>0){d=d.slice(0,f);const g=i._["--"];m=m.slice(0,-g.length||void 0),Uu(h,Wu(d),m,F),Uu(h,Wu(p),g,F)}else Uu(h,Wu(d),m,F);Object.assign(i._,h)}const E={...i,showVersion:c,showHelp:F};return typeof t=="function"&&t(E),{command:u,...E}}o(fD,"x$1");function wn(u,e){const t=new Map;for(const r of e){const n=[r.options.name],{alias:s}=r.options;s&&(Array.isArray(s)?n.push(...s):n.push(s));for(const D of n){if(t.has(D))throw new Error(`Duplicate command name found: ${M(D)}`);t.set(D,r)}}return t.get(u)}o(wn,"z$1");function vn(u,e,t=process.argv.slice(2)){if(!u)throw new Error("Options is required");if("name"in u&&(!u.name||!qu(u.name)))throw new Error(`Invalid script name: ${M(u.name)}`);const r=t[0];if(u.commands&&r&&qu(r)){const n=wn(r,u.commands);if(n)return fD(n.options.name,{...n.options,parent:u},n.callback,t.slice(1))}return fD(void 0,u,e,t)}o(vn,"Z");function dD(u,e){if(!u)throw new Error("Command options are required");const{name:t}=u;if(t===void 0)throw new Error("Command name is required");if(!qu(t))throw new Error(`Invalid command name ${JSON.stringify(t)}. Command names must be one word.`);return{options:u,callback:e}}o(dD,"G$2");var ED="1.2.224",$n="Writes your git commit messages for you with AI",G=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function J(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}o(J,"getDefaultExportFromCjs");var U={exports:{}},zu,pD;function xn(){if(pD)return zu;pD=1,zu=r,r.sync=n;var u=_u;function e(s,D){var a=D.pathExt!==void 0?D.pathExt:process.env.PATHEXT;if(!a||(a=a.split(";"),a.indexOf("")!==-1))return!0;for(var i=0;i<a.length;i++){var c=a[i].toLowerCase();if(c&&s.substr(-c.length).toLowerCase()===c)return!0}return!1}o(e,"checkPathExt");function t(s,D,a){return!s.isSymbolicLink()&&!s.isFile()?!1:e(D,a)}o(t,"checkStat");function r(s,D,a){u.stat(s,function(i,c){a(i,i?!1:t(c,s,D))})}o(r,"isexe");function n(s,D){return t(u.statSync(s),s,D)}return o(n,"sync"),zu}o(xn,"requireWindows");var Hu,hD;function Sn(){if(hD)return Hu;hD=1,Hu=e,e.sync=t;var u=_u;function e(s,D,a){u.stat(s,function(i,c){a(i,i?!1:r(c,D))})}o(e,"isexe");function t(s,D){return r(u.statSync(s),D)}o(t,"sync");function r(s,D){return s.isFile()&&n(s,D)}o(r,"checkStat");function n(s,D){var a=s.mode,i=s.uid,c=s.gid,l=D.uid!==void 0?D.uid:process.getuid&&process.getuid(),C=D.gid!==void 0?D.gid:process.getgid&&process.getgid(),F=parseInt("100",8),E=parseInt("010",8),d=parseInt("001",8),m=F|E,f=a&d||a&E&&c===C||a&F&&i===l||a&m&&l===0;return f}return o(n,"checkMode"),Hu}o(Sn,"requireMode");var Yu,mD;function On(){if(mD)return Yu;mD=1;var u;process.platform==="win32"||G.TESTING_WINDOWS?u=xn():u=Sn(),Yu=e,e.sync=t;function e(r,n,s){if(typeof n=="function"&&(s=n,n={}),!s){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(D,a){e(r,n||{},function(i,c){i?a(i):D(c)})})}u(r,n||{},function(D,a){D&&(D.code==="EACCES"||n&&n.ignoreErrors)&&(D=null,a=!1),s(D,a)})}o(e,"isexe");function t(r,n){try{return u.sync(r,n||{})}catch(s){if(n&&n.ignoreErrors||s.code==="EACCES")return!1;throw s}}return o(t,"sync"),Yu}o(On,"requireIsexe");var Ku,gD;function Tn(){if(gD)return Ku;gD=1;const u=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",e=V,t=u?";":":",r=On(),n=o(i=>Object.assign(new Error(`not found: ${i}`),{code:"ENOENT"}),"getNotFoundError"),s=o((i,c)=>{const l=c.colon||t,C=i.match(/\//)||u&&i.match(/\\/)?[""]:[...u?[process.cwd()]:[],...(c.path||process.env.PATH||"").split(l)],F=u?c.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",E=u?F.split(l):[""];return u&&i.indexOf(".")!==-1&&E[0]!==""&&E.unshift(""),{pathEnv:C,pathExt:E,pathExtExe:F}},"getPathInfo"),D=o((i,c,l)=>{typeof c=="function"&&(l=c,c={}),c||(c={});const{pathEnv:C,pathExt:F,pathExtExe:E}=s(i,c),d=[],m=o(p=>new Promise((h,g)=>{if(p===C.length)return c.all&&d.length?h(d):g(n(i));const B=C[p],b=/^".*"$/.test(B)?B.slice(1,-1):B,y=e.join(b,i),v=!b&&/^\.[\\\/]/.test(i)?i.slice(0,2)+y:y;h(f(v,p,0))}),"step"),f=o((p,h,g)=>new Promise((B,b)=>{if(g===F.length)return B(m(h+1));const y=F[g];r(p+y,{pathExt:E},(v,k)=>{if(!v&&k)if(c.all)d.push(p+y);else return B(p+y);return B(f(p,h,g+1))})}),"subStep");return l?m(0).then(p=>l(null,p),l):m(0)},"which"),a=o((i,c)=>{c=c||{};const{pathEnv:l,pathExt:C,pathExtExe:F}=s(i,c),E=[];for(let d=0;d<l.length;d++){const m=l[d],f=/^".*"$/.test(m)?m.slice(1,-1):m,p=e.join(f,i),h=!f&&/^\.[\\\/]/.test(i)?i.slice(0,2)+p:p;for(let g=0;g<C.length;g++){const B=h+C[g];try{if(r.sync(B,{pathExt:F}))if(c.all)E.push(B);else return B}catch{}}}if(c.all&&E.length)return E;if(c.nothrow)return null;throw n(i)},"whichSync");return Ku=D,D.sync=a,Ku}o(Tn,"requireWhich");var Eu={exports:{}},BD;function In(){if(BD)return Eu.exports;BD=1;const u=o((e={})=>{const t=e.env||process.env;return(e.platform||process.platform)!=="win32"?"PATH":Object.keys(t).reverse().find(n=>n.toUpperCase()==="PATH")||"Path"},"pathKey");return Eu.exports=u,Eu.exports.default=u,Eu.exports}o(In,"requirePathKey");var Vu,yD;function Pn(){if(yD)return Vu;yD=1;const u=V,e=Tn(),t=In();function r(s,D){const a=s.options.env||process.env,i=process.cwd(),c=s.options.cwd!=null,l=c&&process.chdir!==void 0&&!process.chdir.disabled;if(l)try{process.chdir(s.options.cwd)}catch{}let C;try{C=e.sync(s.command,{path:a[t({env:a})],pathExt:D?u.delimiter:void 0})}catch{}finally{l&&process.chdir(i)}return C&&(C=u.resolve(c?s.options.cwd:"",C)),C}o(r,"resolveCommandAttempt");function n(s){return r(s)||r(s,!0)}return o(n,"resolveCommand"),Vu=n,Vu}o(Pn,"requireResolveCommand");var pu={},bD;function Rn(){if(bD)return pu;bD=1;const u=/([()\][%!^"`<>&|;, *?])/g;function e(r){return r=r.replace(u,"^$1"),r}o(e,"escapeCommand");function t(r,n){return r=`${r}`,r=r.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"'),r=r.replace(/(?=(\\+?)?)\1$/,"$1$1"),r=`"${r}"`,r=r.replace(u,"^$1"),n&&(r=r.replace(u,"^$1")),r}return o(t,"escapeArgument"),pu.command=e,pu.argument=t,pu}o(Rn,"require_escape");var Ju,AD;function _n(){return AD||(AD=1,Ju=/^#!(.*)/),Ju}o(_n,"requireShebangRegex");var Zu,wD;function kn(){if(wD)return Zu;wD=1;const u=_n();return Zu=o((e="")=>{const t=e.match(u);if(!t)return null;const[r,n]=t[0].replace(/#! ?/,"").split(" "),s=r.split("/").pop();return s==="env"?n:n?`${s} ${n}`:s},"shebangCommand"),Zu}o(kn,"requireShebangCommand");var Xu,vD;function Mn(){if(vD)return Xu;vD=1;const u=_u,e=kn();function t(r){const s=Buffer.alloc(150);let D;try{D=u.openSync(r,"r"),u.readSync(D,s,0,150,0),u.closeSync(D)}catch{}return e(s.toString())}return o(t,"readShebang"),Xu=t,Xu}o(Mn,"requireReadShebang");var Qu,$D;function jn(){if($D)return Qu;$D=1;const u=V,e=Pn(),t=Rn(),r=Mn(),n=process.platform==="win32",s=/\.(?:com|exe)$/i,D=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function a(l){l.file=e(l);const C=l.file&&r(l.file);return C?(l.args.unshift(l.file),l.command=C,e(l)):l.file}o(a,"detectShebang");function i(l){if(!n)return l;const C=a(l),F=!s.test(C);if(l.options.forceShell||F){const E=D.test(C);l.command=u.normalize(l.command),l.command=t.command(l.command),l.args=l.args.map(m=>t.argument(m,E));const d=[l.command].concat(l.args).join(" ");l.args=["/d","/s","/c",`"${d}"`],l.command=process.env.comspec||"cmd.exe",l.options.windowsVerbatimArguments=!0}return l}o(i,"parseNonShell");function c(l,C,F){C&&!Array.isArray(C)&&(F=C,C=null),C=C?C.slice(0):[],F=Object.assign({},F);const E={command:l,args:C,options:F,file:void 0,original:{command:l,args:C}};return F.shell?E:i(E)}return o(c,"parse"),Qu=c,Qu}o(jn,"requireParse");var ue,xD;function Nn(){if(xD)return ue;xD=1;const u=process.platform==="win32";function e(s,D){return Object.assign(new Error(`${D} ${s.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${D} ${s.command}`,path:s.command,spawnargs:s.args})}o(e,"notFoundError");function t(s,D){if(!u)return;const a=s.emit;s.emit=function(i,c){if(i==="exit"){const l=r(c,D);if(l)return a.call(s,"error",l)}return a.apply(s,arguments)}}o(t,"hookChildProcess");function r(s,D){return u&&s===1&&!D.file?e(D.original,"spawn"):null}o(r,"verifyENOENT");function n(s,D){return u&&s===1&&!D.file?e(D.original,"spawnSync"):null}return o(n,"verifyENOENTSync"),ue={hookChildProcess:t,verifyENOENT:r,verifyENOENTSync:n,notFoundError:e},ue}o(Nn,"requireEnoent");var SD;function Ln(){if(SD)return U.exports;SD=1;const u=Kt,e=jn(),t=Nn();function r(s,D,a){const i=e(s,D,a),c=u.spawn(i.command,i.args,i.options);return t.hookChildProcess(c,i),c}o(r,"spawn");function n(s,D,a){const i=e(s,D,a),c=u.spawnSync(i.command,i.args,i.options);return c.error=c.error||t.verifyENOENTSync(c.status,i),c}return o(n,"spawnSync"),U.exports=r,U.exports.spawn=r,U.exports.sync=n,U.exports._parse=e,U.exports._enoent=t,U.exports}o(Ln,"requireCrossSpawn");var Gn=Ln(),qn=J(Gn);function Wn(u){const e=typeof u=="string"?`
23
23
  `:10,t=typeof u=="string"?"\r":13;return u[u.length-1]===e&&(u=u.slice(0,-1)),u[u.length-1]===t&&(u=u.slice(0,-1)),u}o(Wn,"stripFinalNewline");function OD(u={}){const{env:e=process.env,platform:t=process.platform}=u;return t!=="win32"?"PATH":Object.keys(e).reverse().find(r=>r.toUpperCase()==="PATH")||"Path"}o(OD,"pathKey");const Un=o(({cwd:u=$.cwd(),path:e=$.env[OD()],preferLocal:t=!0,execPath:r=$.execPath,addExecPath:n=!0}={})=>{const s=u instanceof URL?qe(u):u,D=K.resolve(s),a=[];return t&&zn(a,D),n&&Hn(a,r,D),[...a,e].join(K.delimiter)},"npmRunPath"),zn=o((u,e)=>{let t;for(;t!==e;)u.push(K.join(e,"node_modules/.bin")),t=e,e=K.resolve(e,"..")},"applyPreferLocal"),Hn=o((u,e,t)=>{const r=e instanceof URL?qe(e):e;u.push(K.resolve(t,r,".."))},"applyExecPath"),Yn=o(({env:u=$.env,...e}={})=>{u={...u};const t=OD({env:u});return e.path=u[t],u[t]=Un(e),u},"npmRunPathEnv"),Kn=o((u,e,t,r)=>{if(t==="length"||t==="prototype"||t==="arguments"||t==="caller")return;const n=Object.getOwnPropertyDescriptor(u,t),s=Object.getOwnPropertyDescriptor(e,t);!Vn(n,s)&&r||Object.defineProperty(u,t,s)},"copyProperty"),Vn=o(function(u,e){return u===void 0||u.configurable||u.writable===e.writable&&u.enumerable===e.enumerable&&u.configurable===e.configurable&&(u.writable||u.value===e.value)},"canCopyProperty"),Jn=o((u,e)=>{const t=Object.getPrototypeOf(e);t!==Object.getPrototypeOf(u)&&Object.setPrototypeOf(u,t)},"changePrototype"),Zn=o((u,e)=>`/* Wrapped ${u}*/
24
24
  ${e}`,"wrappedToString"),Xn=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),Qn=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),uo=o((u,e,t)=>{const r=t===""?"":`with ${t.trim()}() `,n=Zn.bind(null,r,e.toString());Object.defineProperty(n,"name",Qn),Object.defineProperty(u,"toString",{...Xn,value:n})},"changeToString");function eo(u,e,{ignoreNonConfigurable:t=!1}={}){const{name:r}=u;for(const n of Reflect.ownKeys(e))Kn(u,e,n,t);return Jn(u,e),uo(u,e,r),u}o(eo,"mimicFunction");const hu=new WeakMap,TD=o((u,e={})=>{if(typeof u!="function")throw new TypeError("Expected a function");let t,r=0;const n=u.displayName||u.name||"<anonymous>",s=o(function(...D){if(hu.set(s,++r),r===1)t=u.apply(this,D),u=null;else if(e.throw===!0)throw new Error(`Function \`${n}\` can only be called once`);return t},"onetime2");return eo(s,u),hu.set(s,r),s},"onetime");TD.callCount=u=>{if(!hu.has(u))throw new Error(`The given function \`${u.name}\` is not wrapped by the \`onetime\` package`);return hu.get(u)};const Do=o(()=>{const u=PD-ID+1;return Array.from({length:u},to)},"getRealtimeSignals"),to=o((u,e)=>({name:`SIGRT${e+1}`,number:ID+e,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),"getRealtimeSignal"),ID=34,PD=64,ro=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}],RD=o(()=>{const u=Do();return[...ro,...u].map(no)},"getSignals"),no=o(({name:u,number:e,description:t,action:r,forced:n=!1,standard:s})=>{const{signals:{[u]:D}}=We,a=D!==void 0;return{name:u,number:a?D:e,description:t,supported:a,action:r,forced:n,standard:s}},"normalizeSignal"),oo=o(()=>{const u=RD();return Object.fromEntries(u.map(so))},"getSignalsByName"),so=o(({name:u,number:e,description:t,supported:r,action:n,forced:s,standard:D})=>[u,{name:u,number:e,description:t,supported:r,action:n,forced:s,standard:D}],"getSignalByName"),io=oo(),ao=o(()=>{const u=RD(),e=PD+1,t=Array.from({length:e},(r,n)=>co(n,u));return Object.assign({},...t)},"getSignalsByNumber"),co=o((u,e)=>{const t=lo(u,e);if(t===void 0)return{};const{name:r,description:n,supported:s,action:D,forced:a,standard:i}=t;return{[u]:{name:r,number:u,description:n,supported:s,action:D,forced:a,standard:i}}},"getSignalByNumber"),lo=o((u,e)=>{const t=e.find(({name:r})=>We.signals[r]===u);return t!==void 0?t:e.find(r=>r.number===u)},"findSignalByNumber");ao();const Fo=o(({timedOut:u,timeout:e,errorCode:t,signal:r,signalDescription:n,exitCode:s,isCanceled:D})=>u?`timed out after ${e} milliseconds`:D?"was canceled":t!==void 0?`failed with ${t}`:r!==void 0?`was killed with ${r} (${n})`:s!==void 0?`failed with exit code ${s}`:"failed","getErrorPrefix"),_D=o(({stdout:u,stderr:e,all:t,error:r,signal:n,exitCode:s,command:D,escapedCommand:a,timedOut:i,isCanceled:c,killed:l,parsed:{options:{timeout:C,cwd:F=$.cwd()}}})=>{s=s===null?void 0:s,n=n===null?void 0:n;const E=n===void 0?void 0:io[n].description,d=r&&r.code,f=`Command ${Fo({timedOut:i,timeout:C,errorCode:d,signal:n,signalDescription:E,exitCode:s,isCanceled:c})}: ${D}`,p=Object.prototype.toString.call(r)==="[object Error]",h=p?`${f}
25
25
  ${r.message}`:f,g=[h,e,u].filter(Boolean).join(`
26
26
  `);return p?(r.originalMessage=r.message,r.message=g):r=new Error(g),r.shortMessage=h,r.command=D,r.escapedCommand=a,r.exitCode=s,r.signal=n,r.signalDescription=E,r.stdout=u,r.stderr=e,r.cwd=F,t!==void 0&&(r.all=t),"bufferedData"in r&&delete r.bufferedData,r.failed=!0,r.timedOut=!!i,r.isCanceled=c,r.killed=l&&!i,r},"makeError"),mu=["stdin","stdout","stderr"],Co=o(u=>mu.some(e=>u[e]!==void 0),"hasAlias"),fo=o(u=>{if(!u)return;const{stdio:e}=u;if(e===void 0)return mu.map(r=>u[r]);if(Co(u))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${mu.map(r=>`\`${r}\``).join(", ")}`);if(typeof e=="string")return e;if(!Array.isArray(e))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof e}\``);const t=Math.max(e.length,mu.length);return Array.from({length:t},(r,n)=>e[n])},"normalizeStdio");var z={exports:{}},ee={exports:{}},kD;function Eo(){return kD||(kD=1,function(u){u.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],process.platform!=="win32"&&u.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),process.platform==="linux"&&u.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}(ee)),ee.exports}o(Eo,"requireSignals");var MD;function po(){if(MD)return z.exports;MD=1;var u=G.process;const e=o(function(f){return f&&typeof f=="object"&&typeof f.removeListener=="function"&&typeof f.emit=="function"&&typeof f.reallyExit=="function"&&typeof f.listeners=="function"&&typeof f.kill=="function"&&typeof f.pid=="number"&&typeof f.on=="function"},"processOk");if(!e(u))z.exports=function(){return function(){}};else{var t=Ue,r=Eo(),n=/^win/i.test(u.platform),s=ze;typeof s!="function"&&(s=s.EventEmitter);var D;u.__signal_exit_emitter__?D=u.__signal_exit_emitter__:(D=u.__signal_exit_emitter__=new s,D.count=0,D.emitted={}),D.infinite||(D.setMaxListeners(1/0),D.infinite=!0),z.exports=function(f,p){if(!e(G.process))return function(){};t.equal(typeof f,"function","a callback must be provided for exit handler"),l===!1&&C();var h="exit";p&&p.alwaysLast&&(h="afterexit");var g=o(function(){D.removeListener(h,f),D.listeners("exit").length===0&&D.listeners("afterexit").length===0&&a()},"remove");return D.on(h,f),g};var a=o(function(){!l||!e(G.process)||(l=!1,r.forEach(function(p){try{u.removeListener(p,c[p])}catch{}}),u.emit=d,u.reallyExit=F,D.count-=1)},"unload2");z.exports.unload=a;var i=o(function(p,h,g){D.emitted[p]||(D.emitted[p]=!0,D.emit(p,h,g))},"emit2"),c={};r.forEach(function(f){c[f]=o(function(){if(e(G.process)){var h=u.listeners(f);h.length===D.count&&(a(),i("exit",null,f),i("afterexit",null,f),n&&f==="SIGHUP"&&(f="SIGINT"),u.kill(u.pid,f))}},"listener")}),z.exports.signals=function(){return r};var l=!1,C=o(function(){l||!e(G.process)||(l=!0,D.count+=1,r=r.filter(function(p){try{return u.on(p,c[p]),!0}catch{return!1}}),u.emit=m,u.reallyExit=E)},"load2");z.exports.load=C;var F=u.reallyExit,E=o(function(p){e(G.process)&&(u.exitCode=p||0,i("exit",u.exitCode,null),i("afterexit",u.exitCode,null),F.call(u,u.exitCode))},"processReallyExit2"),d=u.emit,m=o(function(p,h){if(p==="exit"&&e(G.process)){h!==void 0&&(u.exitCode=h);var g=d.apply(this,arguments);return i("exit",u.exitCode,null),i("afterexit",u.exitCode,null),g}else return d.apply(this,arguments)},"processEmit2")}return z.exports}o(po,"requireSignalExit");var ho=po(),mo=J(ho);const go=1e3*5,Bo=o((u,e="SIGTERM",t={})=>{const r=u(e);return yo(u,e,t,r),r},"spawnedKill"),yo=o((u,e,t,r)=>{if(!bo(e,t,r))return;const n=wo(t),s=setTimeout(()=>{u("SIGKILL")},n);s.unref&&s.unref()},"setKillTimeout"),bo=o((u,{forceKillAfterTimeout:e},t)=>Ao(u)&&e!==!1&&t,"shouldForceKill"),Ao=o(u=>u===Vt.constants.signals.SIGTERM||typeof u=="string"&&u.toUpperCase()==="SIGTERM","isSigterm"),wo=o(({forceKillAfterTimeout:u=!0})=>{if(u===!0)return go;if(!Number.isFinite(u)||u<0)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${u}\` (${typeof u})`);return u},"getForceKillAfterTimeout"),vo=o((u,e)=>{u.kill()&&(e.isCanceled=!0)},"spawnedCancel"),$o=o((u,e,t)=>{u.kill(e),t(Object.assign(new Error("Timed out"),{timedOut:!0,signal:e}))},"timeoutKill"),xo=o((u,{timeout:e,killSignal:t="SIGTERM"},r)=>{if(e===0||e===void 0)return r;let n;const s=new Promise((a,i)=>{n=setTimeout(()=>{$o(u,t,i)},e)}),D=r.finally(()=>{clearTimeout(n)});return Promise.race([s,D])},"setupTimeout"),So=o(({timeout:u})=>{if(u!==void 0&&(!Number.isFinite(u)||u<0))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${u}\` (${typeof u})`)},"validateTimeout"),Oo=o(async(u,{cleanup:e,detached:t},r)=>{if(!e||t)return r;const n=mo(()=>{u.kill()});return r.finally(()=>{n()})},"setExitHandler");function jD(u){return u!==null&&typeof u=="object"&&typeof u.pipe=="function"}o(jD,"isStream");function ND(u){return jD(u)&&u.writable!==!1&&typeof u._write=="function"&&typeof u._writableState=="object"}o(ND,"isWritableStream");const To=o(u=>u instanceof Yt&&typeof u.then=="function","isExecaChildProcess"),De=o((u,e,t)=>{if(typeof t=="string")return u[e].pipe(Jt(t)),u;if(ND(t))return u[e].pipe(t),u;if(!To(t))throw new TypeError("The second argument must be a string, a stream or an Execa child process.");if(!ND(t.stdin))throw new TypeError("The target child process's stdin must be available.");return u[e].pipe(t.stdin),t},"pipeToTarget"),Io=o(u=>{u.stdout!==null&&(u.pipeStdout=De.bind(void 0,u,"stdout")),u.stderr!==null&&(u.pipeStderr=De.bind(void 0,u,"stderr")),u.all!==void 0&&(u.pipeAll=De.bind(void 0,u,"all"))},"addPipeMethods");var Z={exports:{}},te,LD;function Po(){if(LD)return te;LD=1;const{PassThrough:u}=ku;return te=o(e=>{e={...e};const{array:t}=e;let{encoding:r}=e;const n=r==="buffer";let s=!1;t?s=!(r||n):r=r||"utf8",n&&(r=null);const D=new u({objectMode:s});r&&D.setEncoding(r);let a=0;const i=[];return D.on("data",c=>{i.push(c),s?a=i.length:a+=c.length}),D.getBufferedValue=()=>t?i:n?Buffer.concat(i,a):i.join(""),D.getBufferedLength=()=>a,D},"bufferStream"),te}o(Po,"requireBufferStream");var GD;function Ro(){if(GD)return Z.exports;GD=1;const{constants:u}=Xt,e=ku,{promisify:t}=He,r=Po(),n=t(e.pipeline),a=class a extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}};o(a,"MaxBufferError");let s=a;async function D(i,c){if(!i)throw new Error("Expected a stream");c={maxBuffer:1/0,...c};const{maxBuffer:l}=c,C=r(c);return await new Promise((F,E)=>{const d=o(m=>{m&&C.getBufferedLength()<=u.MAX_LENGTH&&(m.bufferedData=C.getBufferedValue()),E(m)},"rejectPromise");(async()=>{try{await n(i,C),F()}catch(m){d(m)}})(),C.on("data",()=>{C.getBufferedLength()>l&&d(new s)})}),C.getBufferedValue()}return o(D,"getStream"),Z.exports=D,Z.exports.buffer=(i,c)=>D(i,{...c,encoding:"buffer"}),Z.exports.array=(i,c)=>D(i,{...c,array:!0}),Z.exports.MaxBufferError=s,Z.exports}o(Ro,"requireGetStream");var _o=Ro(),qD=J(_o),re,WD;function ko(){if(WD)return re;WD=1;const{PassThrough:u}=ku;return re=o(function(){var e=[],t=new u({objectMode:!0});return t.setMaxListeners(0),t.add=r,t.isEmpty=n,t.on("unpipe",s),Array.prototype.slice.call(arguments).forEach(r),t;function r(D){return Array.isArray(D)?(D.forEach(r),this):(e.push(D),D.once("end",s.bind(null,D)),D.once("error",t.emit.bind(t,"error")),D.pipe(t,{end:!1}),this)}o(r,"add");function n(){return e.length==0}o(n,"isEmpty");function s(D){e=e.filter(function(a){return a!==D}),!e.length&&t.readable&&t.end()}o(s,"remove")},"mergeStream$1"),re}o(ko,"requireMergeStream");var Mo=ko(),jo=J(Mo);const No=o(u=>{if(u!==void 0)throw new TypeError("The `input` and `inputFile` options cannot be both set.")},"validateInputOptions"),Lo=o(({input:u,inputFile:e})=>typeof e!="string"?u:(No(u),Zt(e)),"getInput"),Go=o((u,e)=>{const t=Lo(e);t!==void 0&&(jD(t)?t.pipe(u.stdin):u.stdin.end(t))},"handleInput"),qo=o((u,{all:e})=>{if(!e||!u.stdout&&!u.stderr)return;const t=jo();return u.stdout&&t.add(u.stdout),u.stderr&&t.add(u.stderr),t},"makeAllStream"),ne=o(async(u,e)=>{if(!(!u||e===void 0)){u.destroy();try{return await e}catch(t){return t.bufferedData}}},"getBufferedData"),oe=o((u,{encoding:e,buffer:t,maxBuffer:r})=>{if(!(!u||!t))return e?qD(u,{encoding:e,maxBuffer:r}):qD.buffer(u,{maxBuffer:r})},"getStreamPromise"),Wo=o(async({stdout:u,stderr:e,all:t},{encoding:r,buffer:n,maxBuffer:s},D)=>{const a=oe(u,{encoding:r,buffer:n,maxBuffer:s}),i=oe(e,{encoding:r,buffer:n,maxBuffer:s}),c=oe(t,{encoding:r,buffer:n,maxBuffer:s*2});try{return await Promise.all([D,a,i,c])}catch(l){return Promise.all([{error:l,signal:l.signal,timedOut:l.timedOut},ne(u,a),ne(e,i),ne(t,c)])}},"getSpawnedResult"),Uo=(async()=>{})().constructor.prototype,zo=["then","catch","finally"].map(u=>[u,Reflect.getOwnPropertyDescriptor(Uo,u)]),UD=o((u,e)=>{for(const[t,r]of zo){const n=typeof e=="function"?(...s)=>Reflect.apply(r.value,e(),s):r.value.bind(e);Reflect.defineProperty(u,t,{...r,value:n})}},"mergePromise"),Ho=o(u=>new Promise((e,t)=>{u.on("exit",(r,n)=>{e({exitCode:r,signal:n})}),u.on("error",r=>{t(r)}),u.stdin&&u.stdin.on("error",r=>{t(r)})}),"getSpawnedPromise"),zD=o((u,e=[])=>Array.isArray(e)?[u,...e]:[u],"normalizeArgs"),Yo=/^[\w.-]+$/,Ko=/"/g,Vo=o(u=>typeof u!="string"||Yo.test(u)?u:`"${u.replace(Ko,'\\"')}"`,"escapeArg"),Jo=o((u,e)=>zD(u,e).join(" "),"joinCommand"),Zo=o((u,e)=>zD(u,e).map(t=>Vo(t)).join(" "),"getEscapedCommand"),Xo=Qt("execa").enabled,gu=o((u,e)=>String(u).padStart(e,"0"),"padField"),Qo=o(()=>{const u=new Date;return`${gu(u.getHours(),2)}:${gu(u.getMinutes(),2)}:${gu(u.getSeconds(),2)}.${gu(u.getMilliseconds(),3)}`},"getTimestamp"),us=o((u,{verbose:e})=>{e&&$.stderr.write(`[${Qo()}] ${u}
27
- `)},"logCommand"),es=1e3*1e3*100,Ds=o(({env:u,extendEnv:e,preferLocal:t,localDir:r,execPath:n})=>{const s=e?{...$.env,...u}:u;return t?Yn({env:s,cwd:r,execPath:n}):s},"getEnv"),ts=o((u,e,t={})=>{const r=qn._parse(u,e,t);return u=r.command,e=r.args,t=r.options,t={maxBuffer:es,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:t.cwd||$.cwd(),execPath:$.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:Xo,...t},t.env=Ds(t),t.stdio=fo(t),$.platform==="win32"&&K.basename(u,".exe")==="cmd"&&e.unshift("/q"),{file:u,args:e,options:t,parsed:r}},"handleArguments"),se=o((u,e,t)=>typeof e!="string"&&!Ht.isBuffer(e)?t===void 0?void 0:"":u.stripFinalNewline?Wn(e):e,"handleOutput");function X(u,e,t){const r=ts(u,e,t),n=Jo(u,e),s=Zo(u,e);us(s,r.options),So(r.options);let D;try{D=Ne.spawn(r.file,r.args,r.options)}catch(E){const d=new Ne.ChildProcess,m=Promise.reject(_D({error:E,stdout:"",stderr:"",all:"",command:n,escapedCommand:s,parsed:r,timedOut:!1,isCanceled:!1,killed:!1}));return UD(d,m),d}const a=Ho(D),i=xo(D,r.options,a),c=Oo(D,r.options,i),l={isCanceled:!1};D.kill=Bo.bind(null,D.kill.bind(D)),D.cancel=vo.bind(null,D,l);const F=TD(o(async()=>{const[{error:E,exitCode:d,signal:m,timedOut:f},p,h,g]=await Wo(D,r.options,c),B=se(r.options,p),b=se(r.options,h),y=se(r.options,g);if(E||d!==0||m!==null){const v=_D({error:E,exitCode:d,signal:m,stdout:B,stderr:b,all:y,command:n,escapedCommand:s,parsed:r,timedOut:f,isCanceled:l.isCanceled||(r.options.signal?r.options.signal.aborted:!1),killed:D.killed});if(!r.options.reject)return v;throw v}return{command:n,escapedCommand:s,exitCode:0,stdout:B,stderr:b,all:y,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}},"handlePromise"));return Go(D,r.options),D.all=qo(D,r.options),Io(D),UD(D,F),D}o(X,"execa");let H=!0;const Q=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{};let nu=0;if(Q.process&&Q.process.env&&Q.process.stdout){const{FORCE_COLOR:u,NODE_DISABLE_COLORS:e,NO_COLOR:t,TERM:r,COLORTERM:n}=Q.process.env;e||t||u==="0"?H=!1:u==="1"||u==="2"||u==="3"?H=!0:r==="dumb"?H=!1:"CI"in Q.process.env&&["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(s=>s in Q.process.env)?H=!0:H=process.stdout.isTTY,H&&(process.platform==="win32"||n&&(n==="truecolor"||n==="24bit")?nu=3:r&&(r.endsWith("-256color")||r.endsWith("256"))?nu=2:nu=1)}let HD={enabled:H,supportLevel:nu};function ou(u,e,t=1){const r=`\x1B[${u}m`,n=`\x1B[${e}m`,s=new RegExp(`\\x1b\\[${e}m`,"g");return D=>HD.enabled&&HD.supportLevel>=t?r+(""+D).replace(s,r)+n:""+D}o(ou,"kolorist");const ie=ou(2,22),YD=ou(30,39),Bu=ou(31,39),su=ou(32,39),KD=ou(46,49);var ae,VD;function rs(){if(VD)return ae;VD=1;const u="\x1B",e=`${u}[`,t="\x07",r={to(D,a){return a?`${e}${a+1};${D+1}H`:`${e}${D+1}G`},move(D,a){let i="";return D<0?i+=`${e}${-D}D`:D>0&&(i+=`${e}${D}C`),a<0?i+=`${e}${-a}A`:a>0&&(i+=`${e}${a}B`),i},up:o((D=1)=>`${e}${D}A`,"up"),down:o((D=1)=>`${e}${D}B`,"down"),forward:o((D=1)=>`${e}${D}C`,"forward"),backward:o((D=1)=>`${e}${D}D`,"backward"),nextLine:o((D=1)=>`${e}E`.repeat(D),"nextLine"),prevLine:o((D=1)=>`${e}F`.repeat(D),"prevLine"),left:`${e}G`,hide:`${e}?25l`,show:`${e}?25h`,save:`${u}7`,restore:`${u}8`},n={up:o((D=1)=>`${e}S`.repeat(D),"up"),down:o((D=1)=>`${e}T`.repeat(D),"down")},s={screen:`${e}2J`,up:o((D=1)=>`${e}1J`.repeat(D),"up"),down:o((D=1)=>`${e}J`.repeat(D),"down"),line:`${e}2K`,lineEnd:`${e}K`,lineStart:`${e}1K`,lines(D){let a="";for(let i=0;i<D;i++)a+=this.line+(i<D-1?r.up():"");return D&&(a+=r.left),a}};return ae={cursor:r,scroll:n,erase:s,beep:t},ae}o(rs,"requireSrc$2");var S=rs(),yu={exports:{}},JD;function ns(){if(JD)return yu.exports;JD=1;let u=process||{},e=u.argv||[],t=u.env||{},r=!(t.NO_COLOR||e.includes("--no-color"))&&(!!t.FORCE_COLOR||e.includes("--color")||u.platform==="win32"||(u.stdout||{}).isTTY&&t.TERM!=="dumb"||!!t.CI),n=o((a,i,c=a)=>l=>{let C=""+l,F=C.indexOf(i,a.length);return~F?a+s(C,i,c,F)+i:a+C+i},"formatter"),s=o((a,i,c,l)=>{let C="",F=0;do C+=a.substring(F,l)+c,F=l+i.length,l=a.indexOf(i,F);while(~l);return C+a.substring(F)},"replaceClose"),D=o((a=r)=>{let i=a?n:()=>String;return{isColorSupported:a,reset:i("\x1B[0m","\x1B[0m"),bold:i("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:i("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:i("\x1B[3m","\x1B[23m"),underline:i("\x1B[4m","\x1B[24m"),inverse:i("\x1B[7m","\x1B[27m"),hidden:i("\x1B[8m","\x1B[28m"),strikethrough:i("\x1B[9m","\x1B[29m"),black:i("\x1B[30m","\x1B[39m"),red:i("\x1B[31m","\x1B[39m"),green:i("\x1B[32m","\x1B[39m"),yellow:i("\x1B[33m","\x1B[39m"),blue:i("\x1B[34m","\x1B[39m"),magenta:i("\x1B[35m","\x1B[39m"),cyan:i("\x1B[36m","\x1B[39m"),white:i("\x1B[37m","\x1B[39m"),gray:i("\x1B[90m","\x1B[39m"),bgBlack:i("\x1B[40m","\x1B[49m"),bgRed:i("\x1B[41m","\x1B[49m"),bgGreen:i("\x1B[42m","\x1B[49m"),bgYellow:i("\x1B[43m","\x1B[49m"),bgBlue:i("\x1B[44m","\x1B[49m"),bgMagenta:i("\x1B[45m","\x1B[49m"),bgCyan:i("\x1B[46m","\x1B[49m"),bgWhite:i("\x1B[47m","\x1B[49m"),blackBright:i("\x1B[90m","\x1B[39m"),redBright:i("\x1B[91m","\x1B[39m"),greenBright:i("\x1B[92m","\x1B[39m"),yellowBright:i("\x1B[93m","\x1B[39m"),blueBright:i("\x1B[94m","\x1B[39m"),magentaBright:i("\x1B[95m","\x1B[39m"),cyanBright:i("\x1B[96m","\x1B[39m"),whiteBright:i("\x1B[97m","\x1B[39m"),bgBlackBright:i("\x1B[100m","\x1B[49m"),bgRedBright:i("\x1B[101m","\x1B[49m"),bgGreenBright:i("\x1B[102m","\x1B[49m"),bgYellowBright:i("\x1B[103m","\x1B[49m"),bgBlueBright:i("\x1B[104m","\x1B[49m"),bgMagentaBright:i("\x1B[105m","\x1B[49m"),bgCyanBright:i("\x1B[106m","\x1B[49m"),bgWhiteBright:i("\x1B[107m","\x1B[49m")}},"createColors");return yu.exports=D(),yu.exports.createColors=D,yu.exports}o(ns,"requirePicocolors");var os=ns(),A=J(os);function ss({onlyFirst:u=!1}={}){const e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(e,u?void 0:"g")}o(ss,"DD");const is=ss();function ZD(u){if(typeof u!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof u}\``);return u.replace(is,"")}o(ZD,"P$1");function XD(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}o(XD,"L$1");var QD={exports:{}};(function(u){var e={};u.exports=e,e.eastAsianWidth=function(r){var n=r.charCodeAt(0),s=r.length==2?r.charCodeAt(1):0,D=n;return 55296<=n&&n<=56319&&56320<=s&&s<=57343&&(n&=1023,s&=1023,D=n<<10|s,D+=65536),D==12288||65281<=D&&D<=65376||65504<=D&&D<=65510?"F":D==8361||65377<=D&&D<=65470||65474<=D&&D<=65479||65482<=D&&D<=65487||65490<=D&&D<=65495||65498<=D&&D<=65500||65512<=D&&D<=65518?"H":4352<=D&&D<=4447||4515<=D&&D<=4519||4602<=D&&D<=4607||9001<=D&&D<=9002||11904<=D&&D<=11929||11931<=D&&D<=12019||12032<=D&&D<=12245||12272<=D&&D<=12283||12289<=D&&D<=12350||12353<=D&&D<=12438||12441<=D&&D<=12543||12549<=D&&D<=12589||12593<=D&&D<=12686||12688<=D&&D<=12730||12736<=D&&D<=12771||12784<=D&&D<=12830||12832<=D&&D<=12871||12880<=D&&D<=13054||13056<=D&&D<=19903||19968<=D&&D<=42124||42128<=D&&D<=42182||43360<=D&&D<=43388||44032<=D&&D<=55203||55216<=D&&D<=55238||55243<=D&&D<=55291||63744<=D&&D<=64255||65040<=D&&D<=65049||65072<=D&&D<=65106||65108<=D&&D<=65126||65128<=D&&D<=65131||110592<=D&&D<=110593||127488<=D&&D<=127490||127504<=D&&D<=127546||127552<=D&&D<=127560||127568<=D&&D<=127569||131072<=D&&D<=194367||177984<=D&&D<=196605||196608<=D&&D<=262141?"W":32<=D&&D<=126||162<=D&&D<=163||165<=D&&D<=166||D==172||D==175||10214<=D&&D<=10221||10629<=D&&D<=10630?"Na":D==161||D==164||167<=D&&D<=168||D==170||173<=D&&D<=174||176<=D&&D<=180||182<=D&&D<=186||188<=D&&D<=191||D==198||D==208||215<=D&&D<=216||222<=D&&D<=225||D==230||232<=D&&D<=234||236<=D&&D<=237||D==240||242<=D&&D<=243||247<=D&&D<=250||D==252||D==254||D==257||D==273||D==275||D==283||294<=D&&D<=295||D==299||305<=D&&D<=307||D==312||319<=D&&D<=322||D==324||328<=D&&D<=331||D==333||338<=D&&D<=339||358<=D&&D<=359||D==363||D==462||D==464||D==466||D==468||D==470||D==472||D==474||D==476||D==593||D==609||D==708||D==711||713<=D&&D<=715||D==717||D==720||728<=D&&D<=731||D==733||D==735||768<=D&&D<=879||913<=D&&D<=929||931<=D&&D<=937||945<=D&&D<=961||963<=D&&D<=969||D==1025||1040<=D&&D<=1103||D==1105||D==8208||8211<=D&&D<=8214||8216<=D&&D<=8217||8220<=D&&D<=8221||8224<=D&&D<=8226||8228<=D&&D<=8231||D==8240||8242<=D&&D<=8243||D==8245||D==8251||D==8254||D==8308||D==8319||8321<=D&&D<=8324||D==8364||D==8451||D==8453||D==8457||D==8467||D==8470||8481<=D&&D<=8482||D==8486||D==8491||8531<=D&&D<=8532||8539<=D&&D<=8542||8544<=D&&D<=8555||8560<=D&&D<=8569||D==8585||8592<=D&&D<=8601||8632<=D&&D<=8633||D==8658||D==8660||D==8679||D==8704||8706<=D&&D<=8707||8711<=D&&D<=8712||D==8715||D==8719||D==8721||D==8725||D==8730||8733<=D&&D<=8736||D==8739||D==8741||8743<=D&&D<=8748||D==8750||8756<=D&&D<=8759||8764<=D&&D<=8765||D==8776||D==8780||D==8786||8800<=D&&D<=8801||8804<=D&&D<=8807||8810<=D&&D<=8811||8814<=D&&D<=8815||8834<=D&&D<=8835||8838<=D&&D<=8839||D==8853||D==8857||D==8869||D==8895||D==8978||9312<=D&&D<=9449||9451<=D&&D<=9547||9552<=D&&D<=9587||9600<=D&&D<=9615||9618<=D&&D<=9621||9632<=D&&D<=9633||9635<=D&&D<=9641||9650<=D&&D<=9651||9654<=D&&D<=9655||9660<=D&&D<=9661||9664<=D&&D<=9665||9670<=D&&D<=9672||D==9675||9678<=D&&D<=9681||9698<=D&&D<=9701||D==9711||9733<=D&&D<=9734||D==9737||9742<=D&&D<=9743||9748<=D&&D<=9749||D==9756||D==9758||D==9792||D==9794||9824<=D&&D<=9825||9827<=D&&D<=9829||9831<=D&&D<=9834||9836<=D&&D<=9837||D==9839||9886<=D&&D<=9887||9918<=D&&D<=9919||9924<=D&&D<=9933||9935<=D&&D<=9953||D==9955||9960<=D&&D<=9983||D==10045||D==10071||10102<=D&&D<=10111||11093<=D&&D<=11097||12872<=D&&D<=12879||57344<=D&&D<=63743||65024<=D&&D<=65039||D==65533||127232<=D&&D<=127242||127248<=D&&D<=127277||127280<=D&&D<=127337||127344<=D&&D<=127386||917760<=D&&D<=917999||983040<=D&&D<=1048573||1048576<=D&&D<=1114109?"A":"N"},e.characterLength=function(r){var n=this.eastAsianWidth(r);return n=="F"||n=="W"||n=="A"?2:1};function t(r){return r.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}o(t,"t"),e.length=function(r){for(var n=t(r),s=0,D=0;D<n.length;D++)s=s+this.characterLength(n[D]);return s},e.slice=function(r,n,s){textLen=e.length(r),n=n||0,s=s||1,n<0&&(n=textLen+n),s<0&&(s=textLen+s);for(var D="",a=0,i=t(r),c=0;c<i.length;c++){var l=i[c],C=e.length(l);if(a>=n-(C==2?1:0))if(a+C<=s)D+=l;else break;a+=C}return D}})(QD);var as=QD.exports;const cs=XD(as);var ls=o(function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g},"FD");const Fs=XD(ls);function iu(u,e={}){if(typeof u!="string"||u.length===0||(e={ambiguousIsNarrow:!0,...e},u=ZD(u),u.length===0))return 0;u=u.replace(Fs()," ");const t=e.ambiguousIsNarrow?1:2;let r=0;for(const n of u){const s=n.codePointAt(0);if(!(s<=31||s>=127&&s<=159||s>=768&&s<=879))switch(cs.eastAsianWidth(n)){case"F":case"W":r+=2;break;case"A":r+=t;break;default:r+=1}}return r}o(iu,"p");const ce=10,ut=o((u=0)=>e=>`\x1B[${e+u}m`,"N"),et=o((u=0)=>e=>`\x1B[${38+u};5;${e}m`,"I"),Dt=o((u=0)=>(e,t,r)=>`\x1B[${38+u};2;${e};${t};${r}m`,"R"),w={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(w.modifier);const Cs=Object.keys(w.color),fs=Object.keys(w.bgColor);[...Cs,...fs];function ds(){const u=new Map;for(const[e,t]of Object.entries(w)){for(const[r,n]of Object.entries(t))w[r]={open:`\x1B[${n[0]}m`,close:`\x1B[${n[1]}m`},t[r]=w[r],u.set(n[0],n[1]);Object.defineProperty(w,e,{value:t,enumerable:!1})}return Object.defineProperty(w,"codes",{value:u,enumerable:!1}),w.color.close="\x1B[39m",w.bgColor.close="\x1B[49m",w.color.ansi=ut(),w.color.ansi256=et(),w.color.ansi16m=Dt(),w.bgColor.ansi=ut(ce),w.bgColor.ansi256=et(ce),w.bgColor.ansi16m=Dt(ce),Object.defineProperties(w,{rgbToAnsi256:{value:o((e,t,r)=>e===t&&t===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(r/255*5),"value"),enumerable:!1},hexToRgb:{value:o(e=>{const t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t)return[0,0,0];let[r]=t;r.length===3&&(r=[...r].map(s=>s+s).join(""));const n=Number.parseInt(r,16);return[n>>16&255,n>>8&255,n&255]},"value"),enumerable:!1},hexToAnsi256:{value:o(e=>w.rgbToAnsi256(...w.hexToRgb(e)),"value"),enumerable:!1},ansi256ToAnsi:{value:o(e=>{if(e<8)return 30+e;if(e<16)return 90+(e-8);let t,r,n;if(e>=232)t=((e-232)*10+8)/255,r=t,n=t;else{e-=16;const a=e%36;t=Math.floor(e/36)/5,r=Math.floor(a/6)/5,n=a%6/5}const s=Math.max(t,r,n)*2;if(s===0)return 30;let D=30+(Math.round(n)<<2|Math.round(r)<<1|Math.round(t));return s===2&&(D+=60),D},"value"),enumerable:!1},rgbToAnsi:{value:o((e,t,r)=>w.ansi256ToAnsi(w.rgbToAnsi256(e,t,r)),"value"),enumerable:!1},hexToAnsi:{value:o(e=>w.ansi256ToAnsi(w.hexToAnsi256(e)),"value"),enumerable:!1}}),w}o(ds,"CD");const Es=ds(),bu=new Set(["\x1B","\x9B"]),ps=39,le="\x07",tt="[",hs="]",rt="m",Fe=`${hs}8;;`,nt=o(u=>`${bu.values().next().value}${tt}${u}${rt}`,"z"),ot=o(u=>`${bu.values().next().value}${Fe}${u}${le}`,"K"),ms=o(u=>u.split(" ").map(e=>iu(e)),"aD"),Ce=o((u,e,t)=>{const r=[...e];let n=!1,s=!1,D=iu(ZD(u[u.length-1]));for(const[a,i]of r.entries()){const c=iu(i);if(D+c<=t?u[u.length-1]+=i:(u.push(i),D=0),bu.has(i)&&(n=!0,s=r.slice(a+1).join("").startsWith(Fe)),n){s?i===le&&(n=!1,s=!1):i===rt&&(n=!1);continue}D+=c,D===t&&a<r.length-1&&(u.push(""),D=0)}!D&&u[u.length-1].length>0&&u.length>1&&(u[u.length-2]+=u.pop())},"k$1"),gs=o(u=>{const e=u.split(" ");let t=e.length;for(;t>0&&!(iu(e[t-1])>0);)t--;return t===e.length?u:e.slice(0,t).join(" ")+e.slice(t).join("")},"hD"),Bs=o((u,e,t={})=>{if(t.trim!==!1&&u.trim()==="")return"";let r="",n,s;const D=ms(u);let a=[""];for(const[c,l]of u.split(" ").entries()){t.trim!==!1&&(a[a.length-1]=a[a.length-1].trimStart());let C=iu(a[a.length-1]);if(c!==0&&(C>=e&&(t.wordWrap===!1||t.trim===!1)&&(a.push(""),C=0),(C>0||t.trim===!1)&&(a[a.length-1]+=" ",C++)),t.hard&&D[c]>e){const F=e-C,E=1+Math.floor((D[c]-F-1)/e);Math.floor((D[c]-1)/e)<E&&a.push(""),Ce(a,l,e);continue}if(C+D[c]>e&&C>0&&D[c]>0){if(t.wordWrap===!1&&C<e){Ce(a,l,e);continue}a.push("")}if(C+D[c]>e&&t.wordWrap===!1){Ce(a,l,e);continue}a[a.length-1]+=l}t.trim!==!1&&(a=a.map(c=>gs(c)));const i=[...a.join(`
27
+ `)},"logCommand"),es=1e3*1e3*100,Ds=o(({env:u,extendEnv:e,preferLocal:t,localDir:r,execPath:n})=>{const s=e?{...$.env,...u}:u;return t?Yn({env:s,cwd:r,execPath:n}):s},"getEnv"),ts=o((u,e,t={})=>{const r=qn._parse(u,e,t);return u=r.command,e=r.args,t=r.options,t={maxBuffer:es,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:t.cwd||$.cwd(),execPath:$.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:Xo,...t},t.env=Ds(t),t.stdio=fo(t),$.platform==="win32"&&K.basename(u,".exe")==="cmd"&&e.unshift("/q"),{file:u,args:e,options:t,parsed:r}},"handleArguments"),se=o((u,e,t)=>typeof e!="string"&&!Ht.isBuffer(e)?t===void 0?void 0:"":u.stripFinalNewline?Wn(e):e,"handleOutput");function X(u,e,t){const r=ts(u,e,t),n=Jo(u,e),s=Zo(u,e);us(s,r.options),So(r.options);let D;try{D=Ne.spawn(r.file,r.args,r.options)}catch(E){const d=new Ne.ChildProcess,m=Promise.reject(_D({error:E,stdout:"",stderr:"",all:"",command:n,escapedCommand:s,parsed:r,timedOut:!1,isCanceled:!1,killed:!1}));return UD(d,m),d}const a=Ho(D),i=xo(D,r.options,a),c=Oo(D,r.options,i),l={isCanceled:!1};D.kill=Bo.bind(null,D.kill.bind(D)),D.cancel=vo.bind(null,D,l);const F=TD(o(async()=>{const[{error:E,exitCode:d,signal:m,timedOut:f},p,h,g]=await Wo(D,r.options,c),B=se(r.options,p),b=se(r.options,h),y=se(r.options,g);if(E||d!==0||m!==null){const v=_D({error:E,exitCode:d,signal:m,stdout:B,stderr:b,all:y,command:n,escapedCommand:s,parsed:r,timedOut:f,isCanceled:l.isCanceled||(r.options.signal?r.options.signal.aborted:!1),killed:D.killed});if(!r.options.reject)return v;throw v}return{command:n,escapedCommand:s,exitCode:0,stdout:B,stderr:b,all:y,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}},"handlePromise"));return Go(D,r.options),D.all=qo(D,r.options),Io(D),UD(D,F),D}o(X,"execa");let H=!0;const Q=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{};let nu=0;if(Q.process&&Q.process.env&&Q.process.stdout){const{FORCE_COLOR:u,NODE_DISABLE_COLORS:e,NO_COLOR:t,TERM:r,COLORTERM:n}=Q.process.env;e||t||u==="0"?H=!1:u==="1"||u==="2"||u==="3"?H=!0:r==="dumb"?H=!1:"CI"in Q.process.env&&["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(s=>s in Q.process.env)?H=!0:H=process.stdout.isTTY,H&&(process.platform==="win32"||n&&(n==="truecolor"||n==="24bit")?nu=3:r&&(r.endsWith("-256color")||r.endsWith("256"))?nu=2:nu=1)}let HD={enabled:H,supportLevel:nu};function ou(u,e,t=1){const r=`\x1B[${u}m`,n=`\x1B[${e}m`,s=new RegExp(`\\x1b\\[${e}m`,"g");return D=>HD.enabled&&HD.supportLevel>=t?r+(""+D).replace(s,r)+n:""+D}o(ou,"kolorist");const ie=ou(2,22),YD=ou(30,39),Bu=ou(31,39),su=ou(32,39),KD=ou(46,49);var ae,VD;function rs(){if(VD)return ae;VD=1;const u="\x1B",e=`${u}[`,t="\x07",r={to(D,a){return a?`${e}${a+1};${D+1}H`:`${e}${D+1}G`},move(D,a){let i="";return D<0?i+=`${e}${-D}D`:D>0&&(i+=`${e}${D}C`),a<0?i+=`${e}${-a}A`:a>0&&(i+=`${e}${a}B`),i},up:o((D=1)=>`${e}${D}A`,"up"),down:o((D=1)=>`${e}${D}B`,"down"),forward:o((D=1)=>`${e}${D}C`,"forward"),backward:o((D=1)=>`${e}${D}D`,"backward"),nextLine:o((D=1)=>`${e}E`.repeat(D),"nextLine"),prevLine:o((D=1)=>`${e}F`.repeat(D),"prevLine"),left:`${e}G`,hide:`${e}?25l`,show:`${e}?25h`,save:`${u}7`,restore:`${u}8`},n={up:o((D=1)=>`${e}S`.repeat(D),"up"),down:o((D=1)=>`${e}T`.repeat(D),"down")},s={screen:`${e}2J`,up:o((D=1)=>`${e}1J`.repeat(D),"up"),down:o((D=1)=>`${e}J`.repeat(D),"down"),line:`${e}2K`,lineEnd:`${e}K`,lineStart:`${e}1K`,lines(D){let a="";for(let i=0;i<D;i++)a+=this.line+(i<D-1?r.up():"");return D&&(a+=r.left),a}};return ae={cursor:r,scroll:n,erase:s,beep:t},ae}o(rs,"requireSrc$2");var S=rs(),yu={exports:{}},JD;function ns(){if(JD)return yu.exports;JD=1;let u=process||{},e=u.argv||[],t=u.env||{},r=!(t.NO_COLOR||e.includes("--no-color"))&&(!!t.FORCE_COLOR||e.includes("--color")||u.platform==="win32"||(u.stdout||{}).isTTY&&t.TERM!=="dumb"||!!t.CI),n=o((a,i,c=a)=>l=>{let C=""+l,F=C.indexOf(i,a.length);return~F?a+s(C,i,c,F)+i:a+C+i},"formatter"),s=o((a,i,c,l)=>{let C="",F=0;do C+=a.substring(F,l)+c,F=l+i.length,l=a.indexOf(i,F);while(~l);return C+a.substring(F)},"replaceClose"),D=o((a=r)=>{let i=a?n:()=>String;return{isColorSupported:a,reset:i("\x1B[0m","\x1B[0m"),bold:i("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:i("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:i("\x1B[3m","\x1B[23m"),underline:i("\x1B[4m","\x1B[24m"),inverse:i("\x1B[7m","\x1B[27m"),hidden:i("\x1B[8m","\x1B[28m"),strikethrough:i("\x1B[9m","\x1B[29m"),black:i("\x1B[30m","\x1B[39m"),red:i("\x1B[31m","\x1B[39m"),green:i("\x1B[32m","\x1B[39m"),yellow:i("\x1B[33m","\x1B[39m"),blue:i("\x1B[34m","\x1B[39m"),magenta:i("\x1B[35m","\x1B[39m"),cyan:i("\x1B[36m","\x1B[39m"),white:i("\x1B[37m","\x1B[39m"),gray:i("\x1B[90m","\x1B[39m"),bgBlack:i("\x1B[40m","\x1B[49m"),bgRed:i("\x1B[41m","\x1B[49m"),bgGreen:i("\x1B[42m","\x1B[49m"),bgYellow:i("\x1B[43m","\x1B[49m"),bgBlue:i("\x1B[44m","\x1B[49m"),bgMagenta:i("\x1B[45m","\x1B[49m"),bgCyan:i("\x1B[46m","\x1B[49m"),bgWhite:i("\x1B[47m","\x1B[49m"),blackBright:i("\x1B[90m","\x1B[39m"),redBright:i("\x1B[91m","\x1B[39m"),greenBright:i("\x1B[92m","\x1B[39m"),yellowBright:i("\x1B[93m","\x1B[39m"),blueBright:i("\x1B[94m","\x1B[39m"),magentaBright:i("\x1B[95m","\x1B[39m"),cyanBright:i("\x1B[96m","\x1B[39m"),whiteBright:i("\x1B[97m","\x1B[39m"),bgBlackBright:i("\x1B[100m","\x1B[49m"),bgRedBright:i("\x1B[101m","\x1B[49m"),bgGreenBright:i("\x1B[102m","\x1B[49m"),bgYellowBright:i("\x1B[103m","\x1B[49m"),bgBlueBright:i("\x1B[104m","\x1B[49m"),bgMagentaBright:i("\x1B[105m","\x1B[49m"),bgCyanBright:i("\x1B[106m","\x1B[49m"),bgWhiteBright:i("\x1B[107m","\x1B[49m")}},"createColors");return yu.exports=D(),yu.exports.createColors=D,yu.exports}o(ns,"requirePicocolors");var os=ns(),A=J(os);function ss({onlyFirst:u=!1}={}){const e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(e,u?void 0:"g")}o(ss,"DD");const is=ss();function ZD(u){if(typeof u!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof u}\``);return u.replace(is,"")}o(ZD,"P$1");function XD(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}o(XD,"L$1");var QD={exports:{}};(function(u){var e={};u.exports=e,e.eastAsianWidth=function(r){var n=r.charCodeAt(0),s=r.length==2?r.charCodeAt(1):0,D=n;return 55296<=n&&n<=56319&&56320<=s&&s<=57343&&(n&=1023,s&=1023,D=n<<10|s,D+=65536),D==12288||65281<=D&&D<=65376||65504<=D&&D<=65510?"F":D==8361||65377<=D&&D<=65470||65474<=D&&D<=65479||65482<=D&&D<=65487||65490<=D&&D<=65495||65498<=D&&D<=65500||65512<=D&&D<=65518?"H":4352<=D&&D<=4447||4515<=D&&D<=4519||4602<=D&&D<=4607||9001<=D&&D<=9002||11904<=D&&D<=11929||11931<=D&&D<=12019||12032<=D&&D<=12245||12272<=D&&D<=12283||12289<=D&&D<=12350||12353<=D&&D<=12438||12441<=D&&D<=12543||12549<=D&&D<=12589||12593<=D&&D<=12686||12688<=D&&D<=12730||12736<=D&&D<=12771||12784<=D&&D<=12830||12832<=D&&D<=12871||12880<=D&&D<=13054||13056<=D&&D<=19903||19968<=D&&D<=42124||42128<=D&&D<=42182||43360<=D&&D<=43388||44032<=D&&D<=55203||55216<=D&&D<=55238||55243<=D&&D<=55291||63744<=D&&D<=64255||65040<=D&&D<=65049||65072<=D&&D<=65106||65108<=D&&D<=65126||65128<=D&&D<=65131||110592<=D&&D<=110593||127488<=D&&D<=127490||127504<=D&&D<=127546||127552<=D&&D<=127560||127568<=D&&D<=127569||131072<=D&&D<=194367||177984<=D&&D<=196605||196608<=D&&D<=262141?"W":32<=D&&D<=126||162<=D&&D<=163||165<=D&&D<=166||D==172||D==175||10214<=D&&D<=10221||10629<=D&&D<=10630?"Na":D==161||D==164||167<=D&&D<=168||D==170||173<=D&&D<=174||176<=D&&D<=180||182<=D&&D<=186||188<=D&&D<=191||D==198||D==208||215<=D&&D<=216||222<=D&&D<=225||D==230||232<=D&&D<=234||236<=D&&D<=237||D==240||242<=D&&D<=243||247<=D&&D<=250||D==252||D==254||D==257||D==273||D==275||D==283||294<=D&&D<=295||D==299||305<=D&&D<=307||D==312||319<=D&&D<=322||D==324||328<=D&&D<=331||D==333||338<=D&&D<=339||358<=D&&D<=359||D==363||D==462||D==464||D==466||D==468||D==470||D==472||D==474||D==476||D==593||D==609||D==708||D==711||713<=D&&D<=715||D==717||D==720||728<=D&&D<=731||D==733||D==735||768<=D&&D<=879||913<=D&&D<=929||931<=D&&D<=937||945<=D&&D<=961||963<=D&&D<=969||D==1025||1040<=D&&D<=1103||D==1105||D==8208||8211<=D&&D<=8214||8216<=D&&D<=8217||8220<=D&&D<=8221||8224<=D&&D<=8226||8228<=D&&D<=8231||D==8240||8242<=D&&D<=8243||D==8245||D==8251||D==8254||D==8308||D==8319||8321<=D&&D<=8324||D==8364||D==8451||D==8453||D==8457||D==8467||D==8470||8481<=D&&D<=8482||D==8486||D==8491||8531<=D&&D<=8532||8539<=D&&D<=8542||8544<=D&&D<=8555||8560<=D&&D<=8569||D==8585||8592<=D&&D<=8601||8632<=D&&D<=8633||D==8658||D==8660||D==8679||D==8704||8706<=D&&D<=8707||8711<=D&&D<=8712||D==8715||D==8719||D==8721||D==8725||D==8730||8733<=D&&D<=8736||D==8739||D==8741||8743<=D&&D<=8748||D==8750||8756<=D&&D<=8759||8764<=D&&D<=8765||D==8776||D==8780||D==8786||8800<=D&&D<=8801||8804<=D&&D<=8807||8810<=D&&D<=8811||8814<=D&&D<=8815||8834<=D&&D<=8835||8838<=D&&D<=8839||D==8853||D==8857||D==8869||D==8895||D==8978||9312<=D&&D<=9449||9451<=D&&D<=9547||9552<=D&&D<=9587||9600<=D&&D<=9615||9618<=D&&D<=9621||9632<=D&&D<=9633||9635<=D&&D<=9641||9650<=D&&D<=9651||9654<=D&&D<=9655||9660<=D&&D<=9661||9664<=D&&D<=9665||9670<=D&&D<=9672||D==9675||9678<=D&&D<=9681||9698<=D&&D<=9701||D==9711||9733<=D&&D<=9734||D==9737||9742<=D&&D<=9743||9748<=D&&D<=9749||D==9756||D==9758||D==9792||D==9794||9824<=D&&D<=9825||9827<=D&&D<=9829||9831<=D&&D<=9834||9836<=D&&D<=9837||D==9839||9886<=D&&D<=9887||9918<=D&&D<=9919||9924<=D&&D<=9933||9935<=D&&D<=9953||D==9955||9960<=D&&D<=9983||D==10045||D==10071||10102<=D&&D<=10111||11093<=D&&D<=11097||12872<=D&&D<=12879||57344<=D&&D<=63743||65024<=D&&D<=65039||D==65533||127232<=D&&D<=127242||127248<=D&&D<=127277||127280<=D&&D<=127337||127344<=D&&D<=127386||917760<=D&&D<=917999||983040<=D&&D<=1048573||1048576<=D&&D<=1114109?"A":"N"},e.characterLength=function(r){var n=this.eastAsianWidth(r);return n=="F"||n=="W"||n=="A"?2:1};function t(r){return r.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}o(t,"t"),e.length=function(r){for(var n=t(r),s=0,D=0;D<n.length;D++)s=s+this.characterLength(n[D]);return s},e.slice=function(r,n,s){textLen=e.length(r),n=n||0,s=s||1,n<0&&(n=textLen+n),s<0&&(s=textLen+s);for(var D="",a=0,i=t(r),c=0;c<i.length;c++){var l=i[c],C=e.length(l);if(a>=n-(C==2?1:0))if(a+C<=s)D+=l;else break;a+=C}return D}})(QD);var as=QD.exports;const cs=XD(as);var ls=o(function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g},"FD");const Fs=XD(ls);function iu(u,e={}){if(typeof u!="string"||u.length===0||(e={ambiguousIsNarrow:!0,...e},u=ZD(u),u.length===0))return 0;u=u.replace(Fs()," ");const t=e.ambiguousIsNarrow?1:2;let r=0;for(const n of u){const s=n.codePointAt(0);if(!(s<=31||s>=127&&s<=159||s>=768&&s<=879))switch(cs.eastAsianWidth(n)){case"F":case"W":r+=2;break;case"A":r+=t;break;default:r+=1}}return r}o(iu,"p");const ce=10,ut=o((u=0)=>e=>`\x1B[${e+u}m`,"N"),et=o((u=0)=>e=>`\x1B[${38+u};5;${e}m`,"I"),Dt=o((u=0)=>(e,t,r)=>`\x1B[${38+u};2;${e};${t};${r}m`,"R"),w={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(w.modifier);const Cs=Object.keys(w.color),fs=Object.keys(w.bgColor);[...Cs,...fs];function ds(){const u=new Map;for(const[e,t]of Object.entries(w)){for(const[r,n]of Object.entries(t))w[r]={open:`\x1B[${n[0]}m`,close:`\x1B[${n[1]}m`},t[r]=w[r],u.set(n[0],n[1]);Object.defineProperty(w,e,{value:t,enumerable:!1})}return Object.defineProperty(w,"codes",{value:u,enumerable:!1}),w.color.close="\x1B[39m",w.bgColor.close="\x1B[49m",w.color.ansi=ut(),w.color.ansi256=et(),w.color.ansi16m=Dt(),w.bgColor.ansi=ut(ce),w.bgColor.ansi256=et(ce),w.bgColor.ansi16m=Dt(ce),Object.defineProperties(w,{rgbToAnsi256:{value:o((e,t,r)=>e===t&&t===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(r/255*5),"value"),enumerable:!1},hexToRgb:{value:o(e=>{const t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t)return[0,0,0];let[r]=t;r.length===3&&(r=[...r].map(s=>s+s).join(""));const n=Number.parseInt(r,16);return[n>>16&255,n>>8&255,n&255]},"value"),enumerable:!1},hexToAnsi256:{value:o(e=>w.rgbToAnsi256(...w.hexToRgb(e)),"value"),enumerable:!1},ansi256ToAnsi:{value:o(e=>{if(e<8)return 30+e;if(e<16)return 90+(e-8);let t,r,n;if(e>=232)t=((e-232)*10+8)/255,r=t,n=t;else{e-=16;const a=e%36;t=Math.floor(e/36)/5,r=Math.floor(a/6)/5,n=a%6/5}const s=Math.max(t,r,n)*2;if(s===0)return 30;let D=30+(Math.round(n)<<2|Math.round(r)<<1|Math.round(t));return s===2&&(D+=60),D},"value"),enumerable:!1},rgbToAnsi:{value:o((e,t,r)=>w.ansi256ToAnsi(w.rgbToAnsi256(e,t,r)),"value"),enumerable:!1},hexToAnsi:{value:o(e=>w.ansi256ToAnsi(w.hexToAnsi256(e)),"value"),enumerable:!1}}),w}o(ds,"rD");const Es=ds(),bu=new Set(["\x1B","\x9B"]),ps=39,le="\x07",tt="[",hs="]",rt="m",Fe=`${hs}8;;`,nt=o(u=>`${bu.values().next().value}${tt}${u}${rt}`,"z"),ot=o(u=>`${bu.values().next().value}${Fe}${u}${le}`,"K"),ms=o(u=>u.split(" ").map(e=>iu(e)),"aD"),Ce=o((u,e,t)=>{const r=[...e];let n=!1,s=!1,D=iu(ZD(u[u.length-1]));for(const[a,i]of r.entries()){const c=iu(i);if(D+c<=t?u[u.length-1]+=i:(u.push(i),D=0),bu.has(i)&&(n=!0,s=r.slice(a+1).join("").startsWith(Fe)),n){s?i===le&&(n=!1,s=!1):i===rt&&(n=!1);continue}D+=c,D===t&&a<r.length-1&&(u.push(""),D=0)}!D&&u[u.length-1].length>0&&u.length>1&&(u[u.length-2]+=u.pop())},"k$1"),gs=o(u=>{const e=u.split(" ");let t=e.length;for(;t>0&&!(iu(e[t-1])>0);)t--;return t===e.length?u:e.slice(0,t).join(" ")+e.slice(t).join("")},"hD"),Bs=o((u,e,t={})=>{if(t.trim!==!1&&u.trim()==="")return"";let r="",n,s;const D=ms(u);let a=[""];for(const[c,l]of u.split(" ").entries()){t.trim!==!1&&(a[a.length-1]=a[a.length-1].trimStart());let C=iu(a[a.length-1]);if(c!==0&&(C>=e&&(t.wordWrap===!1||t.trim===!1)&&(a.push(""),C=0),(C>0||t.trim===!1)&&(a[a.length-1]+=" ",C++)),t.hard&&D[c]>e){const F=e-C,E=1+Math.floor((D[c]-F-1)/e);Math.floor((D[c]-1)/e)<E&&a.push(""),Ce(a,l,e);continue}if(C+D[c]>e&&C>0&&D[c]>0){if(t.wordWrap===!1&&C<e){Ce(a,l,e);continue}a.push("")}if(C+D[c]>e&&t.wordWrap===!1){Ce(a,l,e);continue}a[a.length-1]+=l}t.trim!==!1&&(a=a.map(c=>gs(c)));const i=[...a.join(`
28
28
  `)];for(const[c,l]of i.entries()){if(r+=l,bu.has(l)){const{groups:F}=new RegExp(`(?:\\${tt}(?<code>\\d+)m|\\${Fe}(?<uri>.*)${le})`).exec(i.slice(c).join(""))||{groups:{}};if(F.code!==void 0){const E=Number.parseFloat(F.code);n=E===ps?void 0:E}else F.uri!==void 0&&(s=F.uri.length===0?void 0:F.uri)}const C=Es.codes.get(Number(n));i[c+1]===`
29
29
  `?(s&&(r+=ot("")),n&&C&&(r+=nt(C))):l===`
30
30
  `&&(n&&C&&(r+=nt(n)),s&&(r+=ot(s)))}return r},"lD");function st(u,e,t){return String(u).normalize().replace(/\r\n/g,`
@@ -32,7 +32,7 @@ ${r.message}`:f,g=[h,e,u].filter(Boolean).join(`
32
32
  `).map(r=>Bs(r,e,t)).join(`
33
33
  `)}o(st,"Y$1");const ys=["up","down","left","right","space","enter","cancel"],Au={actions:new Set(ys),aliases:new Map([["k","up"],["j","down"],["h","left"],["l","right"],["","cancel"],["escape","cancel"]])};function fe(u,e){if(typeof u=="string")return Au.aliases.get(u)===e;for(const t of u)if(t!==void 0&&fe(t,e))return!0;return!1}o(fe,"$");function bs(u,e){if(u===e)return;const t=u.split(`
34
34
  `),r=e.split(`
35
- `),n=[];for(let s=0;s<Math.max(t.length,r.length);s++)t[s]!==r[s]&&n.push(s);return n}o(bs,"BD");const As=globalThis.process.platform.startsWith("win"),de=Symbol("clack:cancel");function it(u){return u===de}o(it,"pD");function wu(u,e){const t=u;t.isTTY&&t.setRawMode(e)}o(wu,"m");function ws({input:u=Ge,output:e=Le,overwrite:t=!0,hideCursor:r=!0}={}){const n=lu.createInterface({input:u,output:e,prompt:"",tabSize:1});lu.emitKeypressEvents(u,n),u.isTTY&&u.setRawMode(!0);const s=o((D,{name:a,sequence:i})=>{const c=String(D);if(fe([c,a,i],"cancel")){r&&e.write(S.cursor.show),process.exit(0);return}if(!t)return;const l=a==="return"?0:-1,C=a==="return"?-1:0;lu.moveCursor(e,l,C,()=>{lu.clearLine(e,1,()=>{u.once("keypress",s)})})},"i");return r&&e.write(S.cursor.hide),u.once("keypress",s),()=>{u.off("keypress",s),r&&e.write(S.cursor.show),u.isTTY&&!As&&u.setRawMode(!1),n.terminal=!1,n.close()}}o(ws,"fD");var vs=Object.defineProperty,$s=o((u,e,t)=>e in u?vs(u,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):u[e]=t,"vD"),R=o((u,e,t)=>($s(u,typeof e!="symbol"?e+"":e,t),t),"h");const Re=class Re{constructor(e,t=!0){R(this,"input"),R(this,"output"),R(this,"_abortSignal"),R(this,"rl"),R(this,"opts"),R(this,"_render"),R(this,"_track",!1),R(this,"_prevFrame",""),R(this,"_subscribers",new Map),R(this,"_cursor",0),R(this,"state","initial"),R(this,"error",""),R(this,"value");const{input:r=Ge,output:n=Le,render:s,signal:D,...a}=e;this.opts=a,this.onKeypress=this.onKeypress.bind(this),this.close=this.close.bind(this),this.render=this.render.bind(this),this._render=s.bind(this),this._track=t,this._abortSignal=D,this.input=r,this.output=n}unsubscribe(){this._subscribers.clear()}setSubscriber(e,t){const r=this._subscribers.get(e)??[];r.push(t),this._subscribers.set(e,r)}on(e,t){this.setSubscriber(e,{cb:t})}once(e,t){this.setSubscriber(e,{cb:t,once:!0})}emit(e,...t){const r=this._subscribers.get(e)??[],n=[];for(const s of r)s.cb(...t),s.once&&n.push(()=>r.splice(r.indexOf(s),1));for(const s of n)s()}prompt(){return new Promise((e,t)=>{if(this._abortSignal){if(this._abortSignal.aborted)return this.state="cancel",this.close(),e(de);this._abortSignal.addEventListener("abort",()=>{this.state="cancel",this.close()},{once:!0})}const r=new ur;r._write=(n,s,D)=>{this._track&&(this.value=this.rl?.line.replace(/\t/g,""),this._cursor=this.rl?.cursor??0,this.emit("value",this.value)),D()},this.input.pipe(r),this.rl=Ye.createInterface({input:this.input,output:r,tabSize:2,prompt:"",escapeCodeTimeout:50,terminal:!0}),Ye.emitKeypressEvents(this.input,this.rl),this.rl.prompt(),this.opts.initialValue!==void 0&&this._track&&this.rl.write(this.opts.initialValue),this.input.on("keypress",this.onKeypress),wu(this.input,!0),this.output.on("resize",this.render),this.render(),this.once("submit",()=>{this.output.write(S.cursor.show),this.output.off("resize",this.render),wu(this.input,!1),e(this.value)}),this.once("cancel",()=>{this.output.write(S.cursor.show),this.output.off("resize",this.render),wu(this.input,!1),e(de)})})}onKeypress(e,t){if(this.state==="error"&&(this.state="active"),t?.name&&(!this._track&&Au.aliases.has(t.name)&&this.emit("cursor",Au.aliases.get(t.name)),Au.actions.has(t.name)&&this.emit("cursor",t.name)),e&&(e.toLowerCase()==="y"||e.toLowerCase()==="n")&&this.emit("confirm",e.toLowerCase()==="y"),e===" "&&this.opts.placeholder&&(this.value||(this.rl?.write(this.opts.placeholder),this.emit("value",this.opts.placeholder))),e&&this.emit("key",e.toLowerCase()),t?.name==="return"){if(!this.value&&this.opts.placeholder&&(this.rl?.write(this.opts.placeholder),this.emit("value",this.opts.placeholder)),this.opts.validate){const r=this.opts.validate(this.value);r&&(this.error=r instanceof Error?r.message:r,this.state="error",this.rl?.write(this.value))}this.state!=="error"&&(this.state="submit")}fe([e,t?.name,t?.sequence],"cancel")&&(this.state="cancel"),(this.state==="submit"||this.state==="cancel")&&this.emit("finalize"),this.render(),(this.state==="submit"||this.state==="cancel")&&this.close()}close(){this.input.unpipe(),this.input.removeListener("keypress",this.onKeypress),this.output.write(`
35
+ `),n=[];for(let s=0;s<Math.max(t.length,r.length);s++)t[s]!==r[s]&&n.push(s);return n}o(bs,"BD");const As=globalThis.process.platform.startsWith("win"),de=Symbol("clack:cancel");function it(u){return u===de}o(it,"pD");function wu(u,e){const t=u;t.isTTY&&t.setRawMode(e)}o(wu,"m");function ws({input:u=Ge,output:e=Le,overwrite:t=!0,hideCursor:r=!0}={}){const n=lu.createInterface({input:u,output:e,prompt:"",tabSize:1});lu.emitKeypressEvents(u,n),u.isTTY&&u.setRawMode(!0);const s=o((D,{name:a,sequence:i})=>{const c=String(D);if(fe([c,a,i],"cancel")){r&&e.write(S.cursor.show),process.exit(0);return}if(!t)return;const l=a==="return"?0:-1,C=a==="return"?-1:0;lu.moveCursor(e,l,C,()=>{lu.clearLine(e,1,()=>{u.once("keypress",s)})})},"i");return r&&e.write(S.cursor.hide),u.once("keypress",s),()=>{u.off("keypress",s),r&&e.write(S.cursor.show),u.isTTY&&!As&&u.setRawMode(!1),n.terminal=!1,n.close()}}o(ws,"fD");var vs=Object.defineProperty,$s=o((u,e,t)=>e in u?vs(u,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):u[e]=t,"vD"),R=o((u,e,t)=>($s(u,typeof e!="symbol"?e+"":e,t),t),"h");const Re=class Re{constructor(e,t=!0){R(this,"input"),R(this,"output"),R(this,"_abortSignal"),R(this,"rl"),R(this,"opts"),R(this,"_render"),R(this,"_track",!1),R(this,"_prevFrame",""),R(this,"_subscribers",new Map),R(this,"_cursor",0),R(this,"state","initial"),R(this,"error",""),R(this,"value");const{input:r=Ge,output:n=Le,render:s,signal:D,...a}=e;this.opts=a,this.onKeypress=this.onKeypress.bind(this),this.close=this.close.bind(this),this.render=this.render.bind(this),this._render=s.bind(this),this._track=t,this._abortSignal=D,this.input=r,this.output=n}unsubscribe(){this._subscribers.clear()}setSubscriber(e,t){const r=this._subscribers.get(e)??[];r.push(t),this._subscribers.set(e,r)}on(e,t){this.setSubscriber(e,{cb:t})}once(e,t){this.setSubscriber(e,{cb:t,once:!0})}emit(e,...t){const r=this._subscribers.get(e)??[],n=[];for(const s of r)s.cb(...t),s.once&&n.push(()=>r.splice(r.indexOf(s),1));for(const s of n)s()}prompt(){return new Promise((e,t)=>{if(this._abortSignal){if(this._abortSignal.aborted)return this.state="cancel",this.close(),e(de);this._abortSignal.addEventListener("abort",()=>{this.state="cancel",this.close()},{once:!0})}const r=new ur;r._write=(n,s,D)=>{this._track&&(this.value=this.rl?.line.replace(/\t/g,""),this._cursor=this.rl?.cursor??0,this.emit("value",this.value)),D()},this.input.pipe(r),this.rl=Ye.createInterface({input:this.input,output:r,tabSize:2,prompt:"",escapeCodeTimeout:50,terminal:!0}),Ye.emitKeypressEvents(this.input,this.rl),this.rl.prompt(),this.opts.initialValue!==void 0&&this._track&&this.rl.write(this.opts.initialValue),this.input.on("keypress",this.onKeypress),wu(this.input,!0),this.output.on("resize",this.render),this.render(),this.once("submit",()=>{this.output.write(S.cursor.show),this.output.off("resize",this.render),wu(this.input,!1),e(this.value)}),this.once("cancel",()=>{this.output.write(S.cursor.show),this.output.off("resize",this.render),wu(this.input,!1),e(de)})})}onKeypress(e,t){if(this.state==="error"&&(this.state="active"),t?.name&&(!this._track&&Au.aliases.has(t.name)&&this.emit("cursor",Au.aliases.get(t.name)),Au.actions.has(t.name)&&this.emit("cursor",t.name)),e&&(e.toLowerCase()==="y"||e.toLowerCase()==="n")&&this.emit("confirm",e.toLowerCase()==="y"),e===" "&&this.opts.placeholder&&(this.value||(this.rl?.write(this.opts.placeholder),this.emit("value",this.opts.placeholder))),e&&this.emit("key",e.toLowerCase()),t?.name==="return"){if(this.opts.validate){const r=this.opts.validate(this.value);r&&(this.error=r instanceof Error?r.message:r,this.state="error",this.rl?.write(this.value))}this.state!=="error"&&(this.state="submit")}fe([e,t?.name,t?.sequence],"cancel")&&(this.state="cancel"),(this.state==="submit"||this.state==="cancel")&&this.emit("finalize"),this.render(),(this.state==="submit"||this.state==="cancel")&&this.close()}close(){this.input.unpipe(),this.input.removeListener("keypress",this.onKeypress),this.output.write(`
36
36
  `),wu(this.input,!1),this.rl?.close(),this.rl=void 0,this.emit(`${this.state}`,this.value),this.unsubscribe()}restoreCursor(){const e=st(this._prevFrame,process.stdout.columns,{hard:!0}).split(`
37
37
  `).length-1;this.output.write(S.cursor.move(-999,e*-1))}render(){const e=st(this._render(this)??"",process.stdout.columns,{hard:!0});if(e!==this._prevFrame){if(this.state==="initial")this.output.write(S.cursor.hide);else{const t=bs(this._prevFrame,e);if(this.restoreCursor(),t&&t?.length===1){const r=t[0];this.output.write(S.cursor.move(0,r)),this.output.write(S.erase.lines(1));const n=e.split(`
38
38
  `);this.output.write(n[r]),this._prevFrame=e,this.output.write(S.cursor.move(0,n.length-r-1));return}if(t&&t?.length>1){const r=t[0];this.output.write(S.cursor.move(0,r)),this.output.write(S.erase.down());const n=e.split(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@negoziator/ai-commit",
3
- "version": "1.2.222",
3
+ "version": "1.2.224",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },