create-chayns-app 1.1.28 → 1.2.0-beta.0

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 (44) hide show
  1. package/dist/index.cjs +126 -0
  2. package/package.json +23 -15
  3. package/templates/api-v5/page/src/components/AppWrapper.jsx +7 -9
  4. package/templates/api-v5/page/src/index.html +1 -1
  5. package/templates/api-v5/page/src/index.jsx +1 -1
  6. package/templates/api-v5/page-module/src/components/App.jsx +19 -16
  7. package/templates/api-v5/page-module/src/components/AppWrapper.jsx +10 -12
  8. package/templates/api-v5/page-module-redux/src/components/App.jsx +20 -14
  9. package/templates/api-v5/page-module-redux/src/components/AppWrapper.jsx +7 -7
  10. package/templates/api-v5/page-redux/src/components/AppWrapper.jsx +9 -11
  11. package/templates/api-v5/page-redux/src/index.html +1 -1
  12. package/templates/api-v5/page-redux/src/index.jsx +1 -1
  13. package/templates/api-v5/page-ts/src/components/AppWrapper.tsx +7 -9
  14. package/templates/api-v5/page-ts/src/index.html +1 -1
  15. package/templates/api-v5/page-ts/src/index.tsx +1 -1
  16. package/templates/api-v5/page-ts-module/src/components/App.tsx +17 -14
  17. package/templates/api-v5/page-ts-module/src/components/AppWrapper.tsx +7 -7
  18. package/templates/api-v5/page-ts-module-redux/src/components/App.tsx +21 -14
  19. package/templates/api-v5/page-ts-module-redux/src/components/AppWrapper.tsx +13 -9
  20. package/templates/api-v5/page-ts-redux/src/components/AppWrapper.tsx +9 -11
  21. package/templates/api-v5/page-ts-redux/src/index.html +1 -1
  22. package/templates/api-v5/page-ts-redux/src/index.tsx +0 -1
  23. package/templates/api-v5/shared/.env.development.local +0 -2
  24. package/templates/api-v5/shared/js/src/constants/server-urls.js +0 -1
  25. package/templates/api-v5/shared/js/src/redux-modules/index.js +1 -1
  26. package/templates/api-v5/shared/toolkit.config-module.js +4 -2
  27. package/templates/api-v5/shared/toolkit.config.js +3 -3
  28. package/templates/api-v5/shared/ts/src/constants/server-urls.ts +0 -1
  29. package/templates/api-v5/shared/ts/src/redux-modules/index.ts +1 -1
  30. package/templates/api-v5/shared/ts/src/types/environment.d.ts +2 -2
  31. package/templates/api-v5/shared/ts/src/types/global.d.ts +5 -0
  32. package/templates/api-v5/shared/ts/tsconfig.json +17 -19
  33. package/templates/page/README.md +5 -8
  34. package/templates/page/src/index.html +1 -1
  35. package/templates/shared/README.md +5 -8
  36. package/templates/shared/tests/setup.js +9 -0
  37. package/templates/shared/vitest.config.mjs +18 -0
  38. package/.github/workflows/publish.yml +0 -21
  39. package/dist/index.js +0 -40
  40. package/templates/api-v5/shared/js/template-package-redux.json +0 -40
  41. package/templates/api-v5/shared/js/template-package.json +0 -38
  42. package/templates/api-v5/shared/ts/template-package-redux.json +0 -39
  43. package/templates/api-v5/shared/ts/template-package.json +0 -37
  44. package/templates/page/template-package.json +0 -33
package/dist/index.cjs ADDED
@@ -0,0 +1,126 @@
1
+ #! /usr/bin/env node
2
+ var jd=Object.create;var au=Object.defineProperty;var Md=Object.getOwnPropertyDescriptor;var Nd=Object.getOwnPropertyNames;var qd=Object.getPrototypeOf,Hd=Object.prototype.hasOwnProperty;var d=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Vd=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Nd(e))!Hd.call(t,s)&&s!==r&&au(t,s,{get:()=>e[s],enumerable:!(i=Md(e,s))||i.enumerable});return t};var L=(t,e,r)=>(r=t!=null?jd(qd(t)):{},Vd(e||!t||!t.__esModule?au(r,"default",{value:t,enumerable:!0}):r,t));var fu=d((ZF,Et)=>{"use strict";var Wd=typeof process<"u"&&process.env.TERM_PROGRAM==="Hyper",Gd=typeof process<"u"&&process.platform==="win32",lu=typeof process<"u"&&process.platform==="linux",pi={ballotDisabled:"\u2612",ballotOff:"\u2610",ballotOn:"\u2611",bullet:"\u2022",bulletWhite:"\u25E6",fullBlock:"\u2588",heart:"\u2764",identicalTo:"\u2261",line:"\u2500",mark:"\u203B",middot:"\xB7",minus:"\uFF0D",multiplication:"\xD7",obelus:"\xF7",pencilDownRight:"\u270E",pencilRight:"\u270F",pencilUpRight:"\u2710",percent:"%",pilcrow2:"\u2761",pilcrow:"\xB6",plusMinus:"\xB1",question:"?",section:"\xA7",starsOff:"\u2606",starsOn:"\u2605",upDownArrow:"\u2195"},cu=Object.assign({},pi,{check:"\u221A",cross:"\xD7",ellipsisLarge:"...",ellipsis:"...",info:"i",questionSmall:"?",pointer:">",pointerSmall:"\xBB",radioOff:"( )",radioOn:"(*)",warning:"\u203C"}),hu=Object.assign({},pi,{ballotCross:"\u2718",check:"\u2714",cross:"\u2716",ellipsisLarge:"\u22EF",ellipsis:"\u2026",info:"\u2139",questionFull:"\uFF1F",questionSmall:"\uFE56",pointer:lu?"\u25B8":"\u276F",pointerSmall:lu?"\u2023":"\u203A",radioOff:"\u25EF",radioOn:"\u25C9",warning:"\u26A0"});Et.exports=Gd&&!Wd?cu:hu;Reflect.defineProperty(Et.exports,"common",{enumerable:!1,value:pi});Reflect.defineProperty(Et.exports,"windows",{enumerable:!1,value:cu});Reflect.defineProperty(Et.exports,"other",{enumerable:!1,value:hu})});var Qt=d((JF,di)=>{"use strict";var Ud=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),zd=/[\u001b\u009b][[\]#;?()]*(?:(?:(?:[^\W_]*;?[^\W_]*)\u0007)|(?:(?:[0-9]{1,4}(;[0-9]{0,4})*)?[~0-9=<>cf-nqrtyA-PRZ]))/g,Kd=()=>typeof process<"u"?process.env.FORCE_COLOR!=="0":!1,pu=()=>{let t={enabled:Kd(),visible:!0,styles:{},keys:{}},e=n=>{let o=n.open=`\x1B[${n.codes[0]}m`,u=n.close=`\x1B[${n.codes[1]}m`,a=n.regex=new RegExp(`\\u001b\\[${n.codes[1]}m`,"g");return n.wrap=(l,c)=>{l.includes(u)&&(l=l.replace(a,u+o));let h=o+l+u;return c?h.replace(/\r*\n/g,`${u}$&${o}`):h},n},r=(n,o,u)=>typeof n=="function"?n(o):n.wrap(o,u),i=(n,o)=>{if(n===""||n==null)return"";if(t.enabled===!1)return n;if(t.visible===!1)return"";let u=""+n,a=u.includes(`
3
+ `),l=o.length;for(l>0&&o.includes("unstyle")&&(o=[...new Set(["unstyle",...o])].reverse());l-- >0;)u=r(t.styles[o[l]],u,a);return u},s=(n,o,u)=>{t.styles[n]=e({name:n,codes:o}),(t.keys[u]||(t.keys[u]=[])).push(n),Reflect.defineProperty(t,n,{configurable:!0,enumerable:!0,set(l){t.alias(n,l)},get(){let l=c=>i(c,l.stack);return Reflect.setPrototypeOf(l,t),l.stack=this.stack?this.stack.concat(n):[n],l}})};return s("reset",[0,0],"modifier"),s("bold",[1,22],"modifier"),s("dim",[2,22],"modifier"),s("italic",[3,23],"modifier"),s("underline",[4,24],"modifier"),s("inverse",[7,27],"modifier"),s("hidden",[8,28],"modifier"),s("strikethrough",[9,29],"modifier"),s("black",[30,39],"color"),s("red",[31,39],"color"),s("green",[32,39],"color"),s("yellow",[33,39],"color"),s("blue",[34,39],"color"),s("magenta",[35,39],"color"),s("cyan",[36,39],"color"),s("white",[37,39],"color"),s("gray",[90,39],"color"),s("grey",[90,39],"color"),s("bgBlack",[40,49],"bg"),s("bgRed",[41,49],"bg"),s("bgGreen",[42,49],"bg"),s("bgYellow",[43,49],"bg"),s("bgBlue",[44,49],"bg"),s("bgMagenta",[45,49],"bg"),s("bgCyan",[46,49],"bg"),s("bgWhite",[47,49],"bg"),s("blackBright",[90,39],"bright"),s("redBright",[91,39],"bright"),s("greenBright",[92,39],"bright"),s("yellowBright",[93,39],"bright"),s("blueBright",[94,39],"bright"),s("magentaBright",[95,39],"bright"),s("cyanBright",[96,39],"bright"),s("whiteBright",[97,39],"bright"),s("bgBlackBright",[100,49],"bgBright"),s("bgRedBright",[101,49],"bgBright"),s("bgGreenBright",[102,49],"bgBright"),s("bgYellowBright",[103,49],"bgBright"),s("bgBlueBright",[104,49],"bgBright"),s("bgMagentaBright",[105,49],"bgBright"),s("bgCyanBright",[106,49],"bgBright"),s("bgWhiteBright",[107,49],"bgBright"),t.ansiRegex=zd,t.hasColor=t.hasAnsi=n=>(t.ansiRegex.lastIndex=0,typeof n=="string"&&n!==""&&t.ansiRegex.test(n)),t.alias=(n,o)=>{let u=typeof o=="string"?t[o]:o;if(typeof u!="function")throw new TypeError("Expected alias to be the name of an existing color (string) or a function");u.stack||(Reflect.defineProperty(u,"name",{value:n}),t.styles[n]=u,u.stack=[n]),Reflect.defineProperty(t,n,{configurable:!0,enumerable:!0,set(a){t.alias(n,a)},get(){let a=l=>i(l,a.stack);return Reflect.setPrototypeOf(a,t),a.stack=this.stack?this.stack.concat(u.stack):u.stack,a}})},t.theme=n=>{if(!Ud(n))throw new TypeError("Expected theme to be an object");for(let o of Object.keys(n))t.alias(o,n[o]);return t},t.alias("unstyle",n=>typeof n=="string"&&n!==""?(t.ansiRegex.lastIndex=0,n.replace(t.ansiRegex,"")):""),t.alias("noop",n=>n),t.none=t.clear=t.noop,t.stripColor=t.unstyle,t.symbols=fu(),t.define=s,t};di.exports=pu();di.exports.create=pu});var te=d(k=>{"use strict";var Yd=Object.prototype.toString,he=Qt(),du=!1,Ct=new Set,mu={yellow:"blue",cyan:"red",green:"magenta",black:"white",blue:"yellow",red:"cyan",magenta:"green",white:"black"};k.longest=(t,e)=>t.reduce((r,i)=>Math.max(r,e?i[e].length:i.length),0);k.hasColor=t=>!!t&&he.hasColor(t);var Xt=k.isObject=t=>t!==null&&typeof t=="object"&&!Array.isArray(t);k.nativeType=t=>Yd.call(t).slice(8,-1).toLowerCase().replace(/\s/g,"");k.isAsyncFn=t=>k.nativeType(t)==="asyncfunction";k.isPrimitive=t=>t!=null&&typeof t!="object"&&typeof t!="function";k.resolve=(t,e,...r)=>typeof e=="function"?e.call(t,...r):e;k.scrollDown=(t=[])=>[...t.slice(1),t[0]];k.scrollUp=(t=[])=>[t.pop(),...t];k.reorder=(t=[])=>{let e=t.slice();return e.sort((r,i)=>r.index>i.index?1:r.index<i.index?-1:0),e};k.swap=(t,e,r)=>{let i=t.length,s=r===i?0:r<0?i-1:r,n=t[e];t[e]=t[s],t[s]=n};k.width=(t,e=80)=>{let r=t&&t.columns?t.columns:e;return t&&typeof t.getWindowSize=="function"&&(r=t.getWindowSize()[0]),process.platform==="win32"?r-1:r};k.height=(t,e=20)=>{let r=t&&t.rows?t.rows:e;return t&&typeof t.getWindowSize=="function"&&(r=t.getWindowSize()[1]),r};k.wordWrap=(t,e={})=>{if(!t)return t;typeof e=="number"&&(e={width:e});let{indent:r="",newline:i=`
4
+ `+r,width:s=80}=e,n=(i+r).match(/[^\S\n]/g)||[];s-=n.length;let o=`.{1,${s}}([\\s\\u200B]+|$)|[^\\s\\u200B]+?([\\s\\u200B]+|$)`,u=t.trim(),a=new RegExp(o,"g"),l=u.match(a)||[];return l=l.map(c=>c.replace(/\n$/,"")),e.padEnd&&(l=l.map(c=>c.padEnd(s," "))),e.padStart&&(l=l.map(c=>c.padStart(s," "))),r+l.join(i)};k.unmute=t=>{let e=t.stack.find(i=>he.keys.color.includes(i));return e?he[e]:t.stack.find(i=>i.slice(2)==="bg")?he[e.slice(2)]:i=>i};k.pascal=t=>t?t[0].toUpperCase()+t.slice(1):"";k.inverse=t=>{if(!t||!t.stack)return t;let e=t.stack.find(i=>he.keys.color.includes(i));if(e){let i=he["bg"+k.pascal(e)];return i?i.black:t}let r=t.stack.find(i=>i.slice(0,2)==="bg");return r?he[r.slice(2).toLowerCase()]||t:he.none};k.complement=t=>{if(!t||!t.stack)return t;let e=t.stack.find(i=>he.keys.color.includes(i)),r=t.stack.find(i=>i.slice(0,2)==="bg");if(e&&!r)return he[mu[e]||e];if(r){let i=r.slice(2).toLowerCase(),s=mu[i];return s&&he["bg"+k.pascal(s)]||t}return he.none};k.meridiem=t=>{let e=t.getHours(),r=t.getMinutes(),i=e>=12?"pm":"am";e=e%12;let s=e===0?12:e,n=r<10?"0"+r:r;return s+":"+n+" "+i};k.set=(t={},e="",r)=>e.split(".").reduce((i,s,n,o)=>{let u=o.length-1>n?i[s]||{}:r;return!k.isObject(u)&&n<o.length-1&&(u={}),i[s]=u},t);k.get=(t={},e="",r)=>{let i=t[e]==null?e.split(".").reduce((s,n)=>s&&s[n],t):t[e];return i??r};k.mixin=(t,e)=>{if(!Xt(t))return e;if(!Xt(e))return t;for(let r of Object.keys(e)){let i=Object.getOwnPropertyDescriptor(e,r);if(hasOwnProperty.call(i,"value"))if(hasOwnProperty.call(t,r)&&Xt(i.value)){let s=Object.getOwnPropertyDescriptor(t,r);Xt(s.value)&&s.value!==i.value?t[r]=k.merge({},t[r],e[r]):Reflect.defineProperty(t,r,i)}else Reflect.defineProperty(t,r,i);else Reflect.defineProperty(t,r,i)}return t};k.merge=(...t)=>{let e={};for(let r of t)k.mixin(e,r);return e};k.mixinEmitter=(t,e)=>{let r=e.constructor.prototype;for(let i of Object.keys(r)){let s=r[i];typeof s=="function"?k.define(t,i,s.bind(e)):k.define(t,i,s)}};var Zt=(t,e)=>{du||(du=!0,Ct.forEach(r=>r()),t===!0&&process.exit(128+e))},Du=Zt.bind(null,!0,15),gu=Zt.bind(null,!0,2);k.onExit=t=>(Ct.size===0&&(process.once("SIGTERM",Du),process.once("SIGINT",gu),process.once("exit",Zt)),Ct.add(t),()=>{Ct.delete(t),Ct.size===0&&(process.off("SIGTERM",Du),process.off("SIGINT",gu),process.off("exit",Zt))});k.define=(t,e,r)=>{Reflect.defineProperty(t,e,{value:r})};k.defineExport=(t,e,r)=>{let i;Reflect.defineProperty(t,e,{enumerable:!0,configurable:!0,set(s){i=s},get(){return i?i():r()}})}});var _u=d((tE,yu)=>{"use strict";yu.exports=({onlyFirst:t=!1}={})=>{let e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(e,t?void 0:"g")}});var $e=d((rE,bu)=>{"use strict";var Qd=_u();bu.exports=t=>typeof t=="string"?t.replace(Qd(),""):t});var Fu=d(st=>{"use strict";st.ctrl={a:"first",b:"backward",c:"cancel",d:"deleteForward",e:"last",f:"forward",g:"reset",i:"tab",k:"cutForward",l:"reset",n:"newItem",m:"cancel",j:"submit",p:"search",r:"remove",s:"save",u:"undo",w:"cutLeft",x:"toggleCursor",v:"paste"};st.shift={up:"shiftUp",down:"shiftDown",left:"shiftLeft",right:"shiftRight",tab:"prev"};st.fn={up:"pageUp",down:"pageDown",left:"pageLeft",right:"pageRight",delete:"deleteForward"};st.option={b:"backward",f:"forward",d:"cutRight",left:"cutLeft",up:"altUp",down:"altDown"};st.keys={pageup:"pageUp",pagedown:"pageDown",home:"home",end:"end",cancel:"cancel",delete:"deleteForward",backspace:"delete",down:"down",enter:"submit",escape:"cancel",left:"left",space:"space",number:"number",return:"submit",right:"right",tab:"next",up:"up"}});var Cu=d((nE,Eu)=>{"use strict";Eu.exports=class{_queue=[];_executing=!1;_jobRunner=null;constructor(e){this._jobRunner=e}enqueue=(...e)=>{this._queue.push(e),this._dequeue()};destroy(){this._queue.length=0,this._jobRunner=null}_dequeue(){this._executing||!this._queue.length||(this._executing=!0,this._jobRunner(...this._queue.shift()),setTimeout(()=>{this._executing=!1,this._dequeue()}))}}});var mi=d((oE,vu)=>{"use strict";var wu=require("readline"),Xd=Fu(),Zd=Cu(),Jd=/^(?:\x1b)([a-zA-Z0-9])$/,em=/^(?:\x1b+)(O|N|\[|\[\[)(?:(\d+)(?:;(\d+))?([~^$])|(?:1;)?(\d+)?([a-zA-Z]))/,tm={OP:"f1",OQ:"f2",OR:"f3",OS:"f4","[11~":"f1","[12~":"f2","[13~":"f3","[14~":"f4","[[A":"f1","[[B":"f2","[[C":"f3","[[D":"f4","[[E":"f5","[15~":"f5","[17~":"f6","[18~":"f7","[19~":"f8","[20~":"f9","[21~":"f10","[23~":"f11","[24~":"f12","[A":"up","[B":"down","[C":"right","[D":"left","[E":"clear","[F":"end","[H":"home",OA:"up",OB:"down",OC:"right",OD:"left",OE:"clear",OF:"end",OH:"home","[1~":"home","[2~":"insert","[3~":"delete","[4~":"end","[5~":"pageup","[6~":"pagedown","[[5~":"pageup","[[6~":"pagedown","[7~":"home","[8~":"end","[a":"up","[b":"down","[c":"right","[d":"left","[e":"clear","[2$":"insert","[3$":"delete","[5$":"pageup","[6$":"pagedown","[7$":"home","[8$":"end",Oa:"up",Ob:"down",Oc:"right",Od:"left",Oe:"clear","[2^":"insert","[3^":"delete","[5^":"pageup","[6^":"pagedown","[7^":"home","[8^":"end","[Z":"tab"};function rm(t){return["[a","[b","[c","[d","[e","[2$","[3$","[5$","[6$","[7$","[8$","[Z"].includes(t)}function im(t){return["Oa","Ob","Oc","Od","Oe","[2^","[3^","[5^","[6^","[7^","[8^"].includes(t)}var Jt=(t="",e={})=>{let r,i={name:e.name,ctrl:!1,meta:!1,shift:!1,option:!1,sequence:t,raw:t,...e};if(Buffer.isBuffer(t)?t[0]>127&&t[1]===void 0?(t[0]-=128,t="\x1B"+String(t)):t=String(t):t!==void 0&&typeof t!="string"?t=String(t):t||(t=i.sequence||""),i.sequence=i.sequence||t||i.name,t==="\r")i.raw=void 0,i.name="return";else if(t===`
5
+ `)i.name="enter";else if(t===" ")i.name="tab";else if(t==="\b"||t==="\x7F"||t==="\x1B\x7F"||t==="\x1B\b")i.name="backspace",i.meta=t.charAt(0)==="\x1B";else if(t==="\x1B"||t==="\x1B\x1B")i.name="escape",i.meta=t.length===2;else if(t===" "||t==="\x1B ")i.name="space",i.meta=t.length===2;else if(t<="")i.name=String.fromCharCode(t.charCodeAt(0)+97-1),i.ctrl=!0;else if(t.length===1&&t>="0"&&t<="9")i.name="number";else if(t.length===1&&t>="a"&&t<="z")i.name=t;else if(t.length===1&&t>="A"&&t<="Z")i.name=t.toLowerCase(),i.shift=!0;else if(r=Jd.exec(t))i.meta=!0,i.shift=/^[A-Z]$/.test(r[1]);else if(r=em.exec(t)){let s=[...t];s[0]==="\x1B"&&s[1]==="\x1B"&&(i.option=!0);let n=[r[1],r[2],r[4],r[6]].filter(Boolean).join(""),o=(r[3]||r[5]||1)-1;i.ctrl=!!(o&4),i.meta=!!(o&10),i.shift=!!(o&1),i.code=n,i.name=tm[n],i.shift=rm(n)||i.shift,i.ctrl=im(n)||i.ctrl}return i};Jt.listen=(t={},e)=>{let{stdin:r}=t;if(!r||r!==process.stdin&&!r.isTTY)throw new Error("Invalid stream passed");let i=wu.createInterface({terminal:!0,input:r});wu.emitKeypressEvents(r,i);let s=new Zd((u,a)=>e(u,Jt(u,a),i)),n=r.isRaw;return r.isTTY&&r.setRawMode(!0),r.on("keypress",s.enqueue),i.resume(),()=>{r.isTTY&&r.setRawMode(n),r.removeListener("keypress",s.enqueue),s.destroy(),i.pause(),i.close()}};Jt.action=(t,e,r)=>{let i={...Xd,...r};return e.ctrl?(e.action=i.ctrl[e.name],e):e.option&&i.option?(e.action=i.option[e.name],e):e.shift?(e.action=i.shift[e.name],e):(e.action=i.keys[e.name],e)};vu.exports=Jt});var Au=d((uE,xu)=>{"use strict";xu.exports=t=>{t.timers=t.timers||{};let e=t.options.timers;if(e)for(let r of Object.keys(e)){let i=e[r];typeof i=="number"&&(i={interval:i}),sm(t,r,i)}};function sm(t,e,r={}){let i=t.timers[e]={name:e,start:Date.now(),ms:0,tick:0},s=r.interval||120;i.frames=r.frames||[],i.loading=!0;let n=setInterval(()=>{i.ms=Date.now()-i.start,i.tick++,t.render()},s);return i.stop=()=>{i.loading=!1,clearInterval(n)},Reflect.defineProperty(i,"interval",{value:n}),t.once("close",()=>i.stop()),i.stop}});var Ou=d((aE,Su)=>{"use strict";var{define:nm,width:om}=te(),Di=class{constructor(e){let r=e.options;nm(this,"_prompt",e),this.type=e.type,this.name=e.name,this.message="",this.header="",this.footer="",this.error="",this.hint="",this.input="",this.cursor=0,this.index=0,this.lines=0,this.tick=0,this.prompt="",this.buffer="",this.width=om(r.stdout||process.stdout),Object.assign(this,r),this.name=this.name||this.message,this.message=this.message||this.name,this.symbols=e.symbols,this.styles=e.styles,this.required=new Set,this.cancelled=!1,this.submitted=!1}clone(){let e={...this};return e.status=this.status,e.buffer=Buffer.from(e.buffer),delete e.clone,e}set color(e){this._color=e}get color(){let e=this.prompt.styles;if(this.cancelled)return e.cancelled;if(this.submitted)return e.submitted;let r=this._color||e[this.status];return typeof r=="function"?r:e.pending}set loading(e){this._loading=e}get loading(){return typeof this._loading=="boolean"?this._loading:this.loadingChoices?"choices":!1}get status(){return this.cancelled?"cancelled":this.submitted?"submitted":"pending"}};Su.exports=Di});var Bu=d((lE,Tu)=>{"use strict";var gi=te(),ee=Qt(),yi={default:ee.noop,noop:ee.noop,set inverse(t){this._inverse=t},get inverse(){return this._inverse||gi.inverse(this.primary)},set complement(t){this._complement=t},get complement(){return this._complement||gi.complement(this.primary)},primary:ee.cyan,success:ee.green,danger:ee.magenta,strong:ee.bold,warning:ee.yellow,muted:ee.dim,disabled:ee.gray,dark:ee.dim.gray,underline:ee.underline,set info(t){this._info=t},get info(){return this._info||this.primary},set em(t){this._em=t},get em(){return this._em||this.primary.underline},set heading(t){this._heading=t},get heading(){return this._heading||this.muted.underline},set pending(t){this._pending=t},get pending(){return this._pending||this.primary},set submitted(t){this._submitted=t},get submitted(){return this._submitted||this.success},set cancelled(t){this._cancelled=t},get cancelled(){return this._cancelled||this.danger},set typing(t){this._typing=t},get typing(){return this._typing||this.dim},set placeholder(t){this._placeholder=t},get placeholder(){return this._placeholder||this.primary.dim},set highlight(t){this._highlight=t},get highlight(){return this._highlight||this.inverse}};yi.merge=(t={})=>{t.styles&&typeof t.styles.enabled=="boolean"&&(ee.enabled=t.styles.enabled),t.styles&&typeof t.styles.visible=="boolean"&&(ee.visible=t.styles.visible);let e=gi.merge({},yi,t.styles);delete e.merge;for(let r of Object.keys(ee))hasOwnProperty.call(e,r)||Reflect.defineProperty(e,r,{get:()=>ee[r]});for(let r of Object.keys(ee.styles))hasOwnProperty.call(e,r)||Reflect.defineProperty(e,r,{get:()=>ee[r]});return e};Tu.exports=yi});var Ru=d((cE,Pu)=>{"use strict";var _i=process.platform==="win32",Te=Qt(),um=te(),bi={...Te.symbols,upDownDoubleArrow:"\u21D5",upDownDoubleArrow2:"\u2B0D",upDownArrow:"\u2195",asterisk:"*",asterism:"\u2042",bulletWhite:"\u25E6",electricArrow:"\u2301",ellipsisLarge:"\u22EF",ellipsisSmall:"\u2026",fullBlock:"\u2588",identicalTo:"\u2261",indicator:Te.symbols.check,leftAngle:"\u2039",mark:"\u203B",minus:"\u2212",multiplication:"\xD7",obelus:"\xF7",percent:"%",pilcrow:"\xB6",pilcrow2:"\u2761",pencilUpRight:"\u2710",pencilDownRight:"\u270E",pencilRight:"\u270F",plus:"+",plusMinus:"\xB1",pointRight:"\u261E",rightAngle:"\u203A",section:"\xA7",hexagon:{off:"\u2B21",on:"\u2B22",disabled:"\u2B22"},ballot:{on:"\u2611",off:"\u2610",disabled:"\u2612"},stars:{on:"\u2605",off:"\u2606",disabled:"\u2606"},folder:{on:"\u25BC",off:"\u25B6",disabled:"\u25B6"},prefix:{pending:Te.symbols.question,submitted:Te.symbols.check,cancelled:Te.symbols.cross},separator:{pending:Te.symbols.pointerSmall,submitted:Te.symbols.middot,cancelled:Te.symbols.middot},radio:{off:_i?"( )":"\u25EF",on:_i?"(*)":"\u25C9",disabled:_i?"(|)":"\u24BE"},numbers:["\u24EA","\u2460","\u2461","\u2462","\u2463","\u2464","\u2465","\u2466","\u2467","\u2468","\u2469","\u246A","\u246B","\u246C","\u246D","\u246E","\u246F","\u2470","\u2471","\u2472","\u2473","\u3251","\u3252","\u3253","\u3254","\u3255","\u3256","\u3257","\u3258","\u3259","\u325A","\u325B","\u325C","\u325D","\u325E","\u325F","\u32B1","\u32B2","\u32B3","\u32B4","\u32B5","\u32B6","\u32B7","\u32B8","\u32B9","\u32BA","\u32BB","\u32BC","\u32BD","\u32BE","\u32BF"]};bi.merge=t=>{let e=um.merge({},Te.symbols,bi,t.symbols);return delete e.merge,e};Pu.exports=bi});var $u=d((hE,ku)=>{"use strict";var am=Bu(),lm=Ru(),cm=te();ku.exports=t=>{t.options=cm.merge({},t.options.theme,t.options),t.symbols=lm.merge(t.options),t.styles=am.merge(t.options)}});var Nu=d((ju,Mu)=>{"use strict";var Iu=process.env.TERM_PROGRAM==="Apple_Terminal",hm=$e(),Fi=te(),ye=Mu.exports=ju,z="\x1B[",Lu="\x07",Ei=!1,Ie=ye.code={bell:Lu,beep:Lu,beginning:`${z}G`,down:`${z}J`,esc:z,getPosition:`${z}6n`,hide:`${z}?25l`,line:`${z}2K`,lineEnd:`${z}K`,lineStart:`${z}1K`,restorePosition:z+(Iu?"8":"u"),savePosition:z+(Iu?"7":"s"),screen:`${z}2J`,show:`${z}?25h`,up:`${z}1J`},Ke=ye.cursor={get hidden(){return Ei},hide(){return Ei=!0,Ie.hide},show(){return Ei=!1,Ie.show},forward:(t=1)=>`${z}${t}C`,backward:(t=1)=>`${z}${t}D`,nextLine:(t=1)=>`${z}E`.repeat(t),prevLine:(t=1)=>`${z}F`.repeat(t),up:(t=1)=>t?`${z}${t}A`:"",down:(t=1)=>t?`${z}${t}B`:"",right:(t=1)=>t?`${z}${t}C`:"",left:(t=1)=>t?`${z}${t}D`:"",to(t,e){return e?`${z}${e+1};${t+1}H`:`${z}${t+1}G`},move(t=0,e=0){let r="";return r+=t<0?Ke.left(-t):t>0?Ke.right(t):"",r+=e<0?Ke.up(-e):e>0?Ke.down(e):"",r},strLen(t){for(var e=0,r=t.length,i=-1,s=0;s<r;s++)i=t.charCodeAt(s),i>=0&&i<=128?e+=1:e+=2;return e},restore(t={}){let{after:e,cursor:r,initial:i,input:s,prompt:n,size:o,value:u}=t;if(i=Fi.isPrimitive(i)?String(i):"",s=Fi.isPrimitive(s)?String(s):"",u=Fi.isPrimitive(u)?String(u):"",o){let a=ye.cursor.up(o)+ye.cursor.to(this.strLen(n)),l=s.length-r;return l>0&&(a+=ye.cursor.left(l)),a}if(u||e){let a=!s&&i?-this.strLen(i):-this.strLen(s)+r;return e&&(a-=this.strLen(e)),s===""&&i&&!n.includes(i)&&(a+=this.strLen(i)),ye.cursor.move(a)}}},Ci=ye.erase={screen:Ie.screen,up:Ie.up,down:Ie.down,line:Ie.line,lineEnd:Ie.lineEnd,lineStart:Ie.lineStart,lines(t){let e="";for(let r=0;r<t;r++)e+=ye.erase.line+(r<t-1?ye.cursor.up(1):"");return t&&(e+=ye.code.beginning),e}};ye.clear=(t="",e=process.stdout.columns)=>{if(!e)return Ci.line+Ke.to(0);let r=n=>[...hm(n)].length,i=t.split(/\r?\n/),s=0;for(let n of i)s+=1+Math.floor(Math.max(r(n)-1,0)/e);return(Ci.line+Ke.prevLine()).repeat(s-1)+Ci.line+Ke.to(0)}});var nt=d((fE,Hu)=>{"use strict";var fm=require("events"),qu=$e(),wi=mi(),pm=Au(),dm=Ou(),mm=$u(),oe=te(),Ye=Nu(),vi=class t extends fm{constructor(e={}){super(),this.name=e.name,this.type=e.type,this.options=e,mm(this),pm(this),this.state=new dm(this),this.initial=[e.initial,e.default].find(r=>r!=null),this.stdout=e.stdout||process.stdout,this.stdin=e.stdin||process.stdin,this.scale=e.scale||1,this.term=this.options.term||process.env.TERM_PROGRAM,this.margin=gm(this.options.margin),this.setMaxListeners(0),Dm(this)}async keypress(e,r={}){this.keypressed=!0;let i=wi.action(e,wi(e,r),this.options.actions);this.state.keypress=i,this.emit("keypress",e,i),this.emit("state",this.state.clone());let s=this.options[i.action]||this[i.action]||this.dispatch;if(typeof s=="function")return await s.call(this,e,i);this.alert()}alert(){delete this.state.alert,this.options.show===!1?this.emit("alert"):this.stdout.write(Ye.code.beep)}cursorHide(){this.stdout.write(Ye.cursor.hide());let e=oe.onExit(()=>this.cursorShow());this.on("close",()=>{this.cursorShow(),e()})}cursorShow(){this.stdout.write(Ye.cursor.show())}write(e){e&&(this.stdout&&this.state.show!==!1&&this.stdout.write(e),this.state.buffer+=e)}clear(e=0){let r=this.state.buffer;this.state.buffer="",!(!r&&!e||this.options.show===!1)&&this.stdout.write(Ye.cursor.down(e)+Ye.clear(r,this.width))}restore(){if(this.state.closed||this.options.show===!1)return;let{prompt:e,after:r,rest:i}=this.sections(),{cursor:s,initial:n="",input:o="",value:u=""}=this,a=this.state.size=i.length,l={after:r,cursor:s,initial:n,input:o,prompt:e,size:a,value:u},c=Ye.cursor.restore(l);c&&this.stdout.write(c)}sections(){let{buffer:e,input:r,prompt:i}=this.state;i=qu(i);let s=qu(e),n=s.indexOf(i),o=s.slice(0,n),a=s.slice(n).split(`
6
+ `),l=a[0],c=a[a.length-1],f=(i+(r?" "+r:"")).length,_=f<l.length?l.slice(f+1):"";return{header:o,prompt:l,after:_,rest:a.slice(1),last:c}}async submit(){this.state.submitted=!0,this.state.validating=!0,this.options.onSubmit&&await this.options.onSubmit.call(this,this.name,this.value,this);let e=this.state.error||await this.validate(this.value,this.state);if(e!==!0){let r=`
7
+ `+this.symbols.pointer+" ";typeof e=="string"?r+=e.trim():r+="Invalid input",this.state.error=`
8
+ `+this.styles.danger(r),this.state.submitted=!1,await this.render(),await this.alert(),this.state.validating=!1,this.state.error=void 0;return}this.state.validating=!1,await this.render(),await this.close(),this.value=await this.result(this.value),this.emit("submit",this.value)}async cancel(e){this.state.cancelled=this.state.submitted=!0,await this.render(),await this.close(),typeof this.options.onCancel=="function"&&await this.options.onCancel.call(this,this.name,this.value,this),this.emit("cancel",await this.error(e))}async close(){this.state.closed=!0;try{let e=this.sections(),r=Math.ceil(e.prompt.length/this.width);e.rest&&this.write(Ye.cursor.down(e.rest.length)),this.write(`
9
+ `.repeat(r))}catch{}this.emit("close")}start(){!this.stop&&this.options.show!==!1&&(this.stop=wi.listen(this,this.keypress.bind(this)),this.once("close",this.stop),this.emit("start",this))}async skip(){return this.skipped=this.options.skip===!0,typeof this.options.skip=="function"&&(this.skipped=await this.options.skip.call(this,this.name,this.value)),this.skipped}async initialize(){let{format:e,options:r,result:i}=this;if(this.format=()=>e.call(this,this.value),this.result=()=>i.call(this,this.value),typeof r.initial=="function"&&(this.initial=await r.initial.call(this,this)),typeof r.onRun=="function"&&await r.onRun.call(this,this),typeof r.onSubmit=="function"){let s=r.onSubmit.bind(this),n=this.submit.bind(this);delete this.options.onSubmit,this.submit=async()=>(await s(this.name,this.value,this),n())}await this.start(),await this.render()}render(){throw new Error("expected prompt to have a custom render method")}run(){return new Promise(async(e,r)=>{if(this.once("submit",e),this.once("cancel",r),await this.skip())return this.render=()=>{},this.submit();await this.initialize(),this.emit("run")})}async element(e,r,i){let{options:s,state:n,symbols:o,timers:u}=this,a=u&&u[e];n.timer=a;let l=s[e]||n[e]||o[e],c=r&&r[e]!=null?r[e]:await l;if(c==="")return c;let h=await this.resolve(c,n,r,i);return!h&&r&&r[e]?this.resolve(l,n,r,i):h}async prefix(){let e=await this.element("prefix")||this.symbols,r=this.timers&&this.timers.prefix,i=this.state;return i.timer=r,oe.isObject(e)&&(e=e[i.status]||e.pending),oe.hasColor(e)?e:(this.styles[i.status]||this.styles.pending)(e)}async message(){let e=await this.element("message");return oe.hasColor(e)?e:this.styles.strong(e)}async separator(){let e=await this.element("separator")||this.symbols,r=this.timers&&this.timers.separator,i=this.state;i.timer=r;let s=e[i.status]||e.pending||i.separator,n=await this.resolve(s,i);return oe.isObject(n)&&(n=n[i.status]||n.pending),oe.hasColor(n)?n:this.styles.muted(n)}async pointer(e,r){let i=await this.element("pointer",e,r);if(typeof i=="string"&&oe.hasColor(i))return i;if(i){let s=this.styles,n=this.index===r,o=n?s.primary:l=>l,u=await this.resolve(i[n?"on":"off"]||i,this.state),a=oe.hasColor(u)?u:o(u);return n?a:" ".repeat(u.length)}}async indicator(e,r){let i=await this.element("indicator",e,r);if(typeof i=="string"&&oe.hasColor(i))return i;if(i){let s=this.styles,n=e.enabled===!0,o=n?s.success:s.dark,u=i[n?"on":"off"]||i;return oe.hasColor(u)?u:o(u)}return""}body(){return null}footer(){if(this.state.status==="pending")return this.element("footer")}header(){if(this.state.status==="pending")return this.element("header")}async hint(){if(this.state.status==="pending"&&!this.isValue(this.state.input)){let e=await this.element("hint");return oe.hasColor(e)?e:this.styles.muted(e)}}error(e){return this.state.submitted?"":e||this.state.error}format(e){return e}result(e){return e}validate(e){return this.options.required===!0?this.isValue(e):!0}isValue(e){return e!=null&&e!==""}resolve(e,...r){return oe.resolve(this,e,...r)}get base(){return t.prototype}get style(){return this.styles[this.state.status]}get height(){return this.options.rows||oe.height(this.stdout,25)}get width(){return this.options.columns||oe.width(this.stdout,80)}get size(){return{width:this.width,height:this.height}}set cursor(e){this.state.cursor=e}get cursor(){return this.state.cursor}set input(e){this.state.input=e}get input(){return this.state.input}set value(e){this.state.value=e}get value(){let{input:e,value:r}=this.state,i=[r,e].find(this.isValue.bind(this));return this.isValue(i)?i:this.initial}static get prompt(){return e=>new this(e).run()}};function Dm(t){let e=s=>t[s]===void 0||typeof t[s]=="function",r=["actions","choices","initial","margin","roles","styles","symbols","theme","timers","value"],i=["body","footer","error","header","hint","indicator","message","prefix","separator","skip"];for(let s of Object.keys(t.options)){if(r.includes(s)||/^on[A-Z]/.test(s))continue;let n=t.options[s];typeof n=="function"&&e(s)?i.includes(s)||(t[s]=n.bind(t)):typeof t[s]!="function"&&(t[s]=n)}}function gm(t){typeof t=="number"&&(t=[t,t,t,t]);let e=[].concat(t||[]),r=s=>s%2===0?`
10
+ `:" ",i=[];for(let s=0;s<4;s++){let n=r(s);e[s]?i.push(n.repeat(e[s])):i.push("")}return i}Hu.exports=vi});var Gu=d((pE,Wu)=>{"use strict";var ym=te(),Vu={default(t,e){return e},checkbox(t,e){throw new Error("checkbox role is not implemented yet")},editable(t,e){throw new Error("editable role is not implemented yet")},expandable(t,e){throw new Error("expandable role is not implemented yet")},heading(t,e){return e.disabled="",e.indicator=[e.indicator," "].find(r=>r!=null),e.message=e.message||"",e},input(t,e){throw new Error("input role is not implemented yet")},option(t,e){return Vu.default(t,e)},radio(t,e){throw new Error("radio role is not implemented yet")},separator(t,e){return e.disabled="",e.indicator=[e.indicator," "].find(r=>r!=null),e.message=e.message||t.symbols.line.repeat(5),e},spacer(t,e){return e}};Wu.exports=(t,e={})=>{let r=ym.merge({},Vu,e.roles);return r[t]||r.default}});var wt=d((dE,Ku)=>{"use strict";var _m=$e(),bm=nt(),Fm=Gu(),er=te(),{reorder:xi,scrollUp:Em,scrollDown:Cm,isObject:Uu,swap:wm}=er,Ai=class extends bm{constructor(e){super(e),this.cursorHide(),this.maxSelected=e.maxSelected||1/0,this.multiple=e.multiple||!1,this.initial=e.initial||0,this.delay=e.delay||0,this.longest=0,this.num=""}async initialize(){typeof this.options.initial=="function"&&(this.initial=await this.options.initial.call(this)),await this.reset(!0),await super.initialize()}async reset(){let{choices:e,initial:r,autofocus:i,suggest:s}=this.options;if(this.state._choices=[],this.state.choices=[],this.choices=await Promise.all(await this.toChoices(e)),this.choices.forEach(n=>n.enabled=!1),typeof s!="function"&&this.selectable.length===0)throw new Error("At least one choice must be selectable");Uu(r)&&(r=Object.keys(r)),Array.isArray(r)?(i!=null&&(this.index=this.findIndex(i)),r.forEach(n=>this.enable(this.find(n))),await this.render()):(i!=null&&(r=i),typeof r=="string"&&(r=this.findIndex(r)),typeof r=="number"&&r>-1&&(this.index=Math.max(0,Math.min(r,this.choices.length)),this.enable(this.find(this.index)))),this.isDisabled(this.focused)&&await this.down()}async toChoices(e,r){this.state.loadingChoices=!0;let i=[],s=0,n=async(o,u)=>{typeof o=="function"&&(o=await o.call(this)),o instanceof Promise&&(o=await o);for(let a=0;a<o.length;a++){let l=o[a]=await this.toChoice(o[a],s++,u);i.push(l),l.choices&&await n(l.choices,l)}return i};return n(e,r).then(o=>(this.state.loadingChoices=!1,o))}async toChoice(e,r,i){if(typeof e=="function"&&(e=await e.call(this,this)),e instanceof Promise&&(e=await e),typeof e=="string"&&(e={name:e}),e.normalized)return e;e.normalized=!0;let s=e.value;if(e=Fm(e.role,this.options)(this,e),typeof e.disabled=="string"&&!e.hint&&(e.hint=e.disabled,e.disabled=!0),e.disabled===!0&&e.hint==null&&(e.hint="(disabled)"),e.index!=null)return e;e.name=e.name||e.key||e.title||e.value||e.message,e.message=e.message||e.name||"",e.value=[e.value,e.name].find(this.isValue.bind(this)),e.input="",e.index=r,e.cursor=0,er.define(e,"parent",i),e.level=i?i.level+1:1,e.indent==null&&(e.indent=i?i.indent+" ":e.indent||""),e.path=i?i.path+"."+e.name:e.name,e.enabled=!!(this.multiple&&!this.isDisabled(e)&&(e.enabled||this.isSelected(e))),this.isDisabled(e)||(this.longest=Math.max(this.longest,_m(e.message).length));let o={...e};return e.reset=(u=o.input,a=o.value)=>{for(let l of Object.keys(o))e[l]=o[l];e.input=u,e.value=a},s==null&&typeof e.initial=="function"&&(e.input=await e.initial.call(this,this.state,e,r)),e}async onChoice(e,r){this.emit("choice",e,r,this),typeof e.onChoice=="function"&&await e.onChoice.call(this,this.state,e,r)}async addChoice(e,r,i){let s=await this.toChoice(e,r,i);return this.choices.push(s),this.index=this.choices.length-1,this.limit=this.choices.length,s}async newItem(e,r,i){let s={name:"New choice name?",editable:!0,newChoice:!0,...e},n=await this.addChoice(s,r,i);return n.updateChoice=()=>{delete n.newChoice,n.name=n.message=n.input,n.input="",n.cursor=0},this.render()}indent(e){return e.indent==null?e.level>1?" ".repeat(e.level-1):"":e.indent}dispatch(e,r){if(this.multiple&&this[r.name])return this[r.name]();this.alert()}focus(e,r){return typeof r!="boolean"&&(r=e.enabled),r&&!e.enabled&&this.selected.length>=this.maxSelected?this.alert():(this.index=e.index,e.enabled=r&&!this.isDisabled(e),e)}space(){if(!this.multiple)return this.alert();if(this.focused)return this.toggle(this.focused),this.render()}a(){if(this.maxSelected<this.choices.length)return this.alert();let e=this.selectable.every(r=>r.enabled);return this.choices.forEach(r=>r.enabled=!e),this.render()}i(){return this.choices.length-this.selected.length>this.maxSelected?this.alert():(this.choices.forEach(e=>e.enabled=!e.enabled),this.render())}g(){if(!this.choices.some(r=>!!r.parent))return this.a();let e=this.focused;return this.toggle(e.parent&&!e.choices?e.parent:e),this.render()}toggle(e,r){if(!e.enabled&&this.selected.length>=this.maxSelected)return this.alert();typeof r!="boolean"&&(r=!e.enabled),e.enabled=r,e.choices&&e.choices.forEach(s=>this.toggle(s,r));let i=e.parent;for(;i;){let s=i.choices.filter(n=>this.isDisabled(n));i.enabled=s.every(n=>n.enabled===!0),i=i.parent}return zu(this,this.choices),this.emit("toggle",e,this),e}enable(e){return this.selected.length>=this.maxSelected?this.alert():(e.enabled=!this.isDisabled(e),e.choices&&e.choices.forEach(this.enable.bind(this)),e)}disable(e){return e.enabled=!1,e.choices&&e.choices.forEach(this.disable.bind(this)),e}number(e){this.num+=e;let r=i=>{let s=Number(i);if(s>this.choices.length-1)return this.alert();let n=this.focused,o=this.choices.find(u=>s===u.index);if(!o.enabled&&this.selected.length>=this.maxSelected)return this.alert();if(this.visible.indexOf(o)===-1){let u=xi(this.choices),a=u.indexOf(o);if(n.index>a){let l=u.slice(a,a+this.limit),c=u.filter(h=>!l.includes(h));this.choices=l.concat(c)}else{let l=a-this.limit+1;this.choices=u.slice(l).concat(u.slice(0,l))}}return this.index=this.choices.indexOf(o),this.toggle(this.focused),this.render()};return clearTimeout(this.numberTimeout),new Promise(i=>{let s=this.choices.length,n=this.num,o=(u=!1,a)=>{clearTimeout(this.numberTimeout),u&&(a=r(n)),this.num="",i(a)};if(n==="0"||n.length===1&&+(n+"0")>s)return o(!0);if(Number(n)>s)return o(!1,this.alert());this.numberTimeout=setTimeout(()=>o(!0),this.delay)})}home(){return this.choices=xi(this.choices),this.index=0,this.render()}end(){let e=this.choices.length-this.limit,r=xi(this.choices);return this.choices=r.slice(e).concat(r.slice(0,e)),this.index=this.limit-1,this.render()}first(){return this.index=0,this.render()}last(){return this.index=this.visible.length-1,this.render()}prev(){return this.visible.length<=1?this.alert():this.up()}next(){return this.visible.length<=1?this.alert():this.down()}right(){return this.cursor>=this.input.length?this.alert():(this.cursor++,this.render())}left(){return this.cursor<=0?this.alert():(this.cursor--,this.render())}up(){let e=this.choices.length,r=this.visible.length,i=this.index;return this.options.scroll===!1&&i===0?this.alert():e>r&&i===0?this.scrollUp():(this.index=(i-1%e+e)%e,this.isDisabled()&&!this.allChoicesAreDisabled()?this.up():this.render())}down(){let e=this.choices.length,r=this.visible.length,i=this.index;return this.options.scroll===!1&&i===r-1?this.alert():e>r&&i===r-1?this.scrollDown():(this.index=(i+1)%e,this.isDisabled()&&!this.allChoicesAreDisabled()?this.down():this.render())}scrollUp(e=0){return this.choices=Em(this.choices),this.index=e,this.isDisabled()?this.up():this.render()}scrollDown(e=this.visible.length-1){return this.choices=Cm(this.choices),this.index=e,this.isDisabled()?this.down():this.render()}async shiftUp(){if(this.options.sort===!0){this.sorting=!0,this.swap(this.index-1),await this.up(),this.sorting=!1;return}return this.scrollUp(this.index)}async shiftDown(){if(this.options.sort===!0){this.sorting=!0,this.swap(this.index+1),await this.down(),this.sorting=!1;return}return this.scrollDown(this.index)}pageUp(){return this.visible.length<=1?this.alert():(this.limit=Math.max(this.limit-1,0),this.index=Math.min(this.limit-1,this.index),this._limit=this.limit,this.isDisabled()?this.up():this.render())}pageDown(){return this.visible.length>=this.choices.length?this.alert():(this.index=Math.max(0,this.index),this.limit=Math.min(this.limit+1,this.choices.length),this._limit=this.limit,this.isDisabled()?this.down():this.render())}swap(e){wm(this.choices,this.index,e)}allChoicesAreDisabled(e=this.choices){return e.every(r=>this.isDisabled(r))}isDisabled(e=this.focused){return e&&["disabled","collapsed","hidden","completing","readonly"].some(i=>e[i]===!0)?!0:e&&e.role==="heading"}isEnabled(e=this.focused){if(Array.isArray(e))return e.every(r=>this.isEnabled(r));if(e.choices){let r=e.choices.filter(i=>!this.isDisabled(i));return e.enabled&&r.every(i=>this.isEnabled(i))}return e.enabled&&!this.isDisabled(e)}isChoice(e,r){return e.name===r||e.index===Number(r)}isSelected(e){return Array.isArray(this.initial)?this.initial.some(r=>this.isChoice(e,r)):this.isChoice(e,this.initial)}map(e=[],r="value"){return[].concat(e||[]).reduce((i,s)=>(i[s]=this.find(s,r),i),{})}filter(e,r){let s=typeof e=="function"?e:(u,a)=>[u.name,a].includes(e),o=(this.options.multiple?this.state._choices:this.choices).filter(s);return r?o.map(u=>u[r]):o}find(e,r){if(Uu(e))return r?e[r]:e;let s=typeof e=="function"?e:(o,u)=>[o.name,u].includes(e),n=this.choices.find(s);if(n)return r?n[r]:n}findIndex(e){return this.choices.indexOf(this.find(e))}async submit(){let e=this.focused;if(!e)return this.alert();if(e.newChoice)return e.input?(e.updateChoice(),this.render()):this.alert();if(this.choices.some(o=>o.newChoice))return this.alert();let{reorder:r,sort:i}=this.options,s=this.multiple===!0,n=this.selected;return n===void 0?this.alert():(Array.isArray(n)&&r!==!1&&i!==!0&&(n=er.reorder(n)),this.value=s?n.map(o=>o.name):n.name,super.submit())}set choices(e=[]){this.state._choices=this.state._choices||[],this.state.choices=e;for(let r of e)this.state._choices.some(i=>i.name===r.name)||this.state._choices.push(r);if(!this._initial&&this.options.initial){this._initial=!0;let r=this.initial;if(typeof r=="string"||typeof r=="number"){let i=this.find(r);i&&(this.initial=i.index,this.focus(i,!0))}}}get choices(){return zu(this,this.state.choices||[])}set visible(e){this.state.visible=e}get visible(){return(this.state.visible||this.choices).slice(0,this.limit)}set limit(e){this.state.limit=e}get limit(){let{state:e,options:r,choices:i}=this,s=e.limit||this._limit||r.limit||i.length;return Math.min(s,this.height)}set value(e){super.value=e}get value(){return typeof super.value!="string"&&super.value===this.initial?this.input:super.value}set index(e){this.state.index=e}get index(){return Math.max(0,this.state?this.state.index:0)}get enabled(){return this.filter(this.isEnabled.bind(this))}get focused(){let e=this.choices[this.index];return e&&this.state.submitted&&this.multiple!==!0&&(e.enabled=!0),e}get selectable(){return this.choices.filter(e=>!this.isDisabled(e))}get selected(){return this.multiple?this.enabled:this.focused}};function zu(t,e){if(e instanceof Promise)return e;if(typeof e=="function"){if(er.isAsyncFn(e))return e;e=e.call(t,t)}for(let r of e){if(Array.isArray(r.choices)){let i=r.choices.filter(s=>!t.isDisabled(s));r.enabled=i.every(s=>s.enabled===!0)}t.isDisabled(r)===!0&&delete r.enabled}return e}Ku.exports=Ai});var Le=d((mE,Yu)=>{"use strict";var vm=wt(),Si=te(),Oi=class extends vm{constructor(e){super(e),this.emptyError=this.options.emptyError||"No items were selected"}async dispatch(e,r){if(this.multiple)return this[r.name]?await this[r.name](e,r):await super.dispatch(e,r);this.alert()}separator(){if(this.options.separator)return super.separator();let e=this.styles.muted(this.symbols.ellipsis);return this.state.submitted?super.separator():e}pointer(e,r){return!this.multiple||this.options.pointer?super.pointer(e,r):""}indicator(e,r){return this.multiple?super.indicator(e,r):""}choiceMessage(e,r){let i=this.resolve(e.message,this.state,e,r);return e.role==="heading"&&!Si.hasColor(i)&&(i=this.styles.strong(i)),this.resolve(i,this.state,e,r)}choiceSeparator(){return":"}async renderChoice(e,r){await this.onChoice(e,r);let i=this.index===r,s=await this.pointer(e,r),n=await this.indicator(e,r)+(e.pad||""),o=await this.resolve(e.hint,this.state,e,r);o&&!Si.hasColor(o)&&(o=this.styles.muted(o));let u=this.indent(e),a=await this.choiceMessage(e,r),l=()=>[this.margin[3],u+s+n,a,this.margin[1],o].filter(Boolean).join(" ");return e.role==="heading"?l():e.disabled?(Si.hasColor(a)||(a=this.styles.disabled(a)),l()):(i&&(a=this.styles.em(a)),l())}async renderChoices(){if(this.state.loading==="choices")return this.styles.warning("Loading choices");if(this.state.submitted)return"";let e=this.visible.map(async(n,o)=>await this.renderChoice(n,o)),r=await Promise.all(e);r.length||r.push(this.styles.danger("No matching choices"));let i=this.margin[0]+r.join(`
11
+ `),s;return this.options.choicesHeader&&(s=await this.resolve(this.options.choicesHeader,this.state)),[s,i].filter(Boolean).join(`
12
+ `)}format(){return!this.state.submitted||this.state.cancelled?"":Array.isArray(this.selected)?this.selected.map(e=>this.styles.primary(e.name)).join(", "):this.styles.primary(this.selected.name)}async render(){let{submitted:e,size:r}=this.state,i="",s=await this.header(),n=await this.prefix(),o=await this.separator(),u=await this.message();this.options.promptLine!==!1&&(i=[n,u,o,""].join(" "),this.state.prompt=i);let a=await this.format(),l=await this.error()||await this.hint(),c=await this.renderChoices(),h=await this.footer();a&&(i+=a),l&&!i.includes(l)&&(i+=" "+l),e&&!a&&!c.trim()&&this.multiple&&this.emptyError!=null&&(i+=this.styles.danger(this.emptyError)),this.clear(r),this.write([s,i,c,h].filter(Boolean).join(`
13
+ `)),this.write(this.margin[2]),this.restore()}};Yu.exports=Oi});var Xu=d((DE,Qu)=>{"use strict";var xm=Le(),Am=(t,e)=>{let r=t?new RegExp(t,"ig"):/$^/;return i=>t?i.replace(r,s=>e(s)):i},Ti=class extends xm{constructor(e){super(e),this.cursorShow()}moveCursor(e){this.state.cursor+=e}dispatch(e){return this.append(e)}space(e){return this.options.multiple?super.space(e):this.append(e)}append(e){let{cursor:r,input:i}=this.state;return this.input=i.slice(0,r)+e+i.slice(r),this.moveCursor(1),this.complete()}delete(){let{cursor:e,input:r}=this.state;return r?(this.input=r.slice(0,e-1)+r.slice(e),this.moveCursor(-1),this.complete()):this.alert()}deleteForward(){let{cursor:e,input:r}=this.state;return r[e]===void 0?this.alert():(this.input=`${r}`.slice(0,e)+`${r}`.slice(e+1),this.complete())}number(e){return this.append(e)}async complete(){this.completing=!0,this.choices=await this.suggest(this.input,this.state._choices),this.state.limit=void 0,this.index=Math.min(Math.max(this.visible.length-1,0),this.index),await this.render(),this.completing=!1}suggest(e=this.input,r=this.state._choices){if(typeof this.options.suggest=="function")return this.options.suggest.call(this,e,r);let i=e.toLowerCase();return r.filter(s=>s.message.toLowerCase().includes(i))}pointer(){return""}format(){if(!this.focused)return this.input;if(this.options.multiple&&this.state.submitted)return this.selected.map(e=>this.styles.primary(e.message)).join(", ");if(this.state.submitted){let e=this.value=this.input=this.focused.value;return this.styles.primary(e)}return this.input}async render(){if(this.state.status!=="pending")return super.render();let e=this.options.highlight||this.styles.complement,r=(n,o)=>n&&(e.stack?e(n):e.call(this,n)),i=Am(this.input,r),s=this.choices;this.choices=s.map(n=>({...n,message:i(n.message)})),await super.render(),this.choices=s}submit(){return this.options.multiple&&(this.value=this.selected.map(e=>e.name)),super.submit()}};Qu.exports=Ti});var Pi=d((gE,Zu)=>{"use strict";var Bi=te();Zu.exports=(t,e={})=>{t.cursorHide();let{input:r="",initial:i="",pos:s,showCursor:n=!0,color:o}=e,u=o||t.styles.placeholder,a=Bi.inverse(t.styles.primary),l=D=>a(t.styles.black(D)),c=r,h=" ",f=l(h);if(t.blink&&t.blink.off===!0&&(l=D=>D,f=""),n&&s===0&&i===""&&r==="")return l(h);if(n&&s===0&&(r===i||r===""))return l(i[0])+u(i.slice(1));i=Bi.isPrimitive(i)?`${i}`:"",r=Bi.isPrimitive(r)?`${r}`:"";let _=i&&i.startsWith(r)&&i!==r,p=_?l(i[r.length]):f;if(s!==r.length&&n===!0&&(c=r.slice(0,s)+l(r[s])+r.slice(s+1),p=""),n===!1&&(p=""),_){let D=t.styles.unstyle(c+p);return c+p+u(i.slice(D.length))}return c+p}});var tr=d((yE,Ju)=>{"use strict";var Sm=$e(),Om=Le(),Tm=Pi(),Ri=class extends Om{constructor(e){super({...e,multiple:!0}),this.type="form",this.initial=this.options.initial,this.align=[this.options.align,"right"].find(r=>r!=null),this.emptyError="",this.values={}}async reset(e){return await super.reset(),e===!0&&(this._index=this.index),this.index=this._index,this.values={},this.choices.forEach(r=>r.reset&&r.reset()),this.render()}dispatch(e){return!!e&&this.append(e)}append(e){let r=this.focused;if(!r)return this.alert();let{cursor:i,input:s}=r;return r.value=r.input=s.slice(0,i)+e+s.slice(i),r.cursor++,this.render()}delete(){let e=this.focused;if(!e||e.cursor<=0)return this.alert();let{cursor:r,input:i}=e;return e.value=e.input=i.slice(0,r-1)+i.slice(r),e.cursor--,this.render()}deleteForward(){let e=this.focused;if(!e)return this.alert();let{cursor:r,input:i}=e;if(i[r]===void 0)return this.alert();let s=`${i}`.slice(0,r)+`${i}`.slice(r+1);return e.value=e.input=s,this.render()}right(){let e=this.focused;return e?e.cursor>=e.input.length?this.alert():(e.cursor++,this.render()):this.alert()}left(){let e=this.focused;return e?e.cursor<=0?this.alert():(e.cursor--,this.render()):this.alert()}space(e,r){return this.dispatch(e,r)}number(e,r){return this.dispatch(e,r)}next(){let e=this.focused;if(!e)return this.alert();let{initial:r,input:i}=e;return r&&r.startsWith(i)&&i!==r?(e.value=e.input=r,e.cursor=e.value.length,this.render()):super.next()}prev(){let e=this.focused;return e?e.cursor===0?super.prev():(e.value=e.input="",e.cursor=0,this.render()):this.alert()}separator(){return""}format(e){return this.state.submitted?"":super.format(e)}pointer(){return""}indicator(e){return e.input?"\u29BF":"\u2299"}async choiceSeparator(e,r){let i=await this.resolve(e.separator,this.state,e,r)||":";return i?" "+this.styles.disabled(i):""}async renderChoice(e,r){await this.onChoice(e,r);let{state:i,styles:s}=this,{cursor:n,initial:o="",name:u,input:a=""}=e,{muted:l,submitted:c,primary:h,danger:f}=s,_=this.index===r,p=e.validate||(()=>!0),D=await this.choiceSeparator(e,r),x=e.message;this.align==="right"&&(x=x.padStart(this.longest+1," ")),this.align==="left"&&(x=x.padEnd(this.longest+1," "));let F=this.values[u]=a||o,w=a?"success":"dark";await p.call(e,F,this.state)!==!0&&(w="danger");let b=s[w],B=b(await this.indicator(e,r))+(e.pad||""),A=this.indent(e),T=()=>[A,B,x+D,a].filter(Boolean).join(" ");if(i.submitted)return x=Sm(x),a=c(a),T();if(e.format)a=await e.format.call(this,a,e,r);else{let O=this.styles.muted;a=Tm(this,{input:a,initial:o,pos:n,showCursor:_,color:O})}return this.isValue(a)||(a=this.styles.muted(this.symbols.ellipsis)),e.result&&(this.values[u]=await e.result.call(this,F,e,r)),_&&(x=h(x)),e.error?a+=(a?" ":"")+f(e.error.trim()):e.hint&&(a+=(a?" ":"")+l(e.hint.trim())),T()}async submit(){return this.value=this.values,super.base.submit.call(this)}};Ju.exports=Ri});var ki=d((_E,ta)=>{"use strict";var Bm=tr(),Pm=()=>{throw new Error("expected prompt to have a custom authenticate method")},ea=(t=Pm)=>{class e extends Bm{constructor(i){super(i)}async submit(){this.value=await t.call(this,this.values,this.state),super.base.submit.call(this)}static create(i){return ea(i)}}return e};ta.exports=ea()});var sa=d((bE,ia)=>{"use strict";var Rm=ki();function km(t,e){return t.username===this.options.username&&t.password===this.options.password}var ra=(t=km)=>{let e=[{name:"username",message:"username"},{name:"password",message:"password",format(i){return this.options.showPassword?i:(this.state.submitted?this.styles.primary:this.styles.muted)(this.symbols.asterisk.repeat(i.length))}}];class r extends Rm.create(t){constructor(s){super({...s,choices:e})}static create(s){return ra(s)}}return r};ia.exports=ra()});var rr=d((FE,na)=>{"use strict";var $m=nt(),{isPrimitive:Im,hasColor:Lm}=te(),$i=class extends $m{constructor(e){super(e),this.cursorHide()}async initialize(){let e=await this.resolve(this.initial,this.state);this.input=await this.cast(e),await super.initialize()}dispatch(e){return this.isValue(e)?(this.input=e,this.submit()):this.alert()}format(e){let{styles:r,state:i}=this;return i.submitted?r.success(e):r.primary(e)}cast(e){return this.isTrue(e)}isTrue(e){return/^[ty1]/i.test(e)}isFalse(e){return/^[fn0]/i.test(e)}isValue(e){return Im(e)&&(this.isTrue(e)||this.isFalse(e))}async hint(){if(this.state.status==="pending"){let e=await this.element("hint");return Lm(e)?e:this.styles.muted(e)}}async render(){let{input:e,size:r}=this.state,i=await this.prefix(),s=await this.separator(),n=await this.message(),o=this.styles.muted(this.default),u=[i,n,o,s].filter(Boolean).join(" ");this.state.prompt=u;let a=await this.header(),l=this.value=this.cast(e),c=await this.format(l),h=await this.error()||await this.hint(),f=await this.footer();h&&!u.includes(h)&&(c+=" "+h),u+=" "+c,this.clear(r),this.write([a,u,f].filter(Boolean).join(`
14
+ `)),this.restore()}set value(e){super.value=e}get value(){return this.cast(super.value)}};na.exports=$i});var ua=d((EE,oa)=>{"use strict";var jm=rr(),Ii=class extends jm{constructor(e){super(e),this.default=this.options.default||(this.initial?"(Y/n)":"(y/N)")}};oa.exports=Ii});var la=d((CE,aa)=>{"use strict";var Mm=Le(),Nm=tr(),ot=Nm.prototype,Li=class extends Mm{constructor(e){super({...e,multiple:!0}),this.align=[this.options.align,"left"].find(r=>r!=null),this.emptyError="",this.values={}}dispatch(e,r){let i=this.focused,s=i.parent||{};return!i.editable&&!s.editable&&(e==="a"||e==="i")?super[e]():ot.dispatch.call(this,e,r)}append(e,r){return ot.append.call(this,e,r)}delete(e,r){return ot.delete.call(this,e,r)}space(e){return this.focused.editable?this.append(e):super.space()}number(e){return this.focused.editable?this.append(e):super.number(e)}next(){return this.focused.editable?ot.next.call(this):super.next()}prev(){return this.focused.editable?ot.prev.call(this):super.prev()}async indicator(e,r){let i=e.indicator||"",s=e.editable?i:super.indicator(e,r);return await this.resolve(s,this.state,e,r)||""}indent(e){return e.role==="heading"?"":e.editable?" ":" "}async renderChoice(e,r){return e.indent="",e.editable?ot.renderChoice.call(this,e,r):super.renderChoice(e,r)}error(){return""}footer(){return this.state.error}async validate(){let e=!0;for(let r of this.choices){if(typeof r.validate!="function"||r.role==="heading")continue;let i=r.parent?this.value[r.parent.name]:this.value;if(r.editable?i=r.value===r.name?r.initial||"":r.value:this.isDisabled(r)||(i=r.enabled===!0),e=await r.validate(i,this.state),e!==!0)break}return e!==!0&&(this.state.error=typeof e=="string"?e:"Invalid Input"),e}submit(){if(this.focused.newChoice===!0)return super.submit();if(this.choices.some(e=>e.newChoice))return this.alert();this.value={};for(let e of this.choices){let r=e.parent?this.value[e.parent.name]:this.value;if(e.role==="heading"){this.value[e.name]={};continue}e.editable?r[e.name]=e.value===e.name?e.initial||"":e.value:this.isDisabled(e)||(r[e.name]=e.enabled===!0)}return this.base.submit.call(this)}};aa.exports=Li});var Qe=d((wE,ca)=>{"use strict";var qm=nt(),Hm=mi(),Vm=Pi(),{isPrimitive:Wm}=te(),ji=class extends qm{constructor(e){super(e),this.initial=Wm(this.initial)?String(this.initial):"",this.initial&&this.cursorHide(),this.state.prevCursor=0,this.state.clipboard=[],this.keypressTimeout=this.options.keypressTimeout!==void 0?this.options.keypressTimeout:null}async keypress(e,r=e?Hm(e,{}):{}){let i=Date.now(),s=i-this.lastKeypress;this.lastKeypress=i;let n=r.name==="return"||r.name==="enter",o=this.state.prevKeypress,u;if(this.state.prevKeypress=r,this.keypressTimeout!=null&&n){if(s<this.keypressTimeout)return this.submit();this.state.multilineBuffer=this.state.multilineBuffer||"",this.state.multilineBuffer+=e,u=!0,o=null}return(u||this.options.multiline&&n)&&(!o||o.name!=="return")?this.append(`
15
+ `,r):super.keypress(e,r)}moveCursor(e){this.cursor+=e}reset(){return this.input=this.value="",this.cursor=0,this.render()}dispatch(e,r){if(!e||r.ctrl||r.code)return this.alert();this.append(e)}append(e){let{cursor:r,input:i}=this.state;this.input=`${i}`.slice(0,r)+e+`${i}`.slice(r),this.moveCursor(String(e).length),this.render()}insert(e){this.append(e)}delete(){let{cursor:e,input:r}=this.state;if(e<=0)return this.alert();this.input=`${r}`.slice(0,e-1)+`${r}`.slice(e),this.moveCursor(-1),this.render()}deleteForward(){let{cursor:e,input:r}=this.state;if(r[e]===void 0)return this.alert();this.input=`${r}`.slice(0,e)+`${r}`.slice(e+1),this.render()}cutForward(){let e=this.cursor;if(this.input.length<=e)return this.alert();this.state.clipboard.push(this.input.slice(e)),this.input=this.input.slice(0,e),this.render()}cutLeft(){let e=this.cursor;if(e===0)return this.alert();let r=this.input.slice(0,e),i=this.input.slice(e),s=r.split(" ");this.state.clipboard.push(s.pop()),this.input=s.join(" "),this.cursor=this.input.length,this.input+=i,this.render()}paste(){if(!this.state.clipboard.length)return this.alert();this.insert(this.state.clipboard.pop()),this.render()}toggleCursor(){this.state.prevCursor?(this.cursor=this.state.prevCursor,this.state.prevCursor=0):(this.state.prevCursor=this.cursor,this.cursor=0),this.render()}first(){this.cursor=0,this.render()}last(){this.cursor=this.input.length-1,this.render()}next(){let e=this.initial!=null?String(this.initial):"";if(!e||!e.startsWith(this.input))return this.alert();this.input=this.initial,this.cursor=this.initial.length,this.render()}prev(){if(!this.input)return this.alert();this.reset()}backward(){return this.left()}forward(){return this.right()}right(){return this.cursor>=this.input.length?this.alert():(this.moveCursor(1),this.render())}left(){return this.cursor<=0?this.alert():(this.moveCursor(-1),this.render())}isValue(e){return!!e}async format(e=this.value){let r=await this.resolve(this.initial,this.state);return this.state.submitted?this.styles.submitted(e||r):Vm(this,{input:e,initial:r,pos:this.cursor})}async render(){let e=this.state.size,r=await this.prefix(),i=await this.separator(),s=await this.message(),n=[r,s,i].filter(Boolean).join(" ");this.state.prompt=n;let o=await this.header(),u=await this.format(),a=await this.error()||await this.hint(),l=await this.footer();a&&!u.includes(a)&&(u+=" "+a),n+=" "+u,this.clear(e),this.write([o,n,l].filter(Boolean).join(`
16
+ `)),this.restore()}};ca.exports=ji});var fa=d((vE,ha)=>{"use strict";var Gm=t=>t.filter((e,r)=>t.lastIndexOf(e)===r),ir=t=>Gm(t).filter(Boolean);ha.exports=(t,e={},r="")=>{let{past:i=[],present:s=""}=e,n,o;switch(t){case"prev":case"undo":return n=i.slice(0,i.length-1),o=i[i.length-1]||"",{past:ir([r,...n]),present:o};case"next":case"redo":return n=i.slice(1),o=i[0]||"",{past:ir([...n,r]),present:o};case"save":return{past:ir([...i,r]),present:""};case"remove":return o=ir(i.filter(u=>u!==r)),s="",o.length&&(s=o.pop()),{past:o,present:s};default:throw new Error(`Invalid action: "${t}"`)}}});var Ni=d((xE,da)=>{"use strict";var Um=Qe(),pa=fa(),Mi=class extends Um{constructor(e){super(e);let r=this.options.history;if(r&&r.store){let i=r.values||this.initial;this.autosave=!!r.autosave,this.store=r.store,this.data=this.store.get("values")||{past:[],present:i},this.initial=this.data.present||this.data.past[this.data.past.length-1]}}completion(e){return this.store?(this.data=pa(e,this.data,this.input),this.data.present?(this.input=this.data.present,this.cursor=this.input.length,this.render()):this.alert()):this.alert()}altUp(){return this.completion("prev")}altDown(){return this.completion("next")}prev(){return this.save(),super.prev()}save(){this.store&&(this.data=pa("save",this.data,this.input),this.store.set("values",this.data))}submit(){return this.store&&this.autosave===!0&&this.save(),super.submit()}};da.exports=Mi});var Da=d((AE,ma)=>{"use strict";var zm=Qe(),qi=class extends zm{format(){return""}};ma.exports=qi});var ya=d((SE,ga)=>{"use strict";var Km=Qe(),Hi=class extends Km{constructor(e={}){super(e),this.sep=this.options.separator||/, */,this.initial=e.initial||""}split(e=this.value){return e?String(e).split(this.sep):[]}format(){let e=this.state.submitted?this.styles.primary:r=>r;return this.list.map(e).join(", ")}async submit(e){let r=this.state.error||await this.validate(this.list,this.state);return r!==!0?(this.state.error=r,super.submit()):(this.value=this.list,super.submit())}get list(){return this.split()}};ga.exports=Hi});var ba=d((OE,_a)=>{"use strict";var Ym=Le(),Vi=class extends Ym{constructor(e){super({...e,multiple:!0})}};_a.exports=Vi});var Gi=d((TE,Fa)=>{"use strict";var Qm=Qe(),Wi=class extends Qm{constructor(e={}){super({style:"number",...e}),this.min=this.isValue(e.min)?this.toNumber(e.min):-1/0,this.max=this.isValue(e.max)?this.toNumber(e.max):1/0,this.delay=e.delay!=null?e.delay:1e3,this.float=e.float!==!1,this.round=e.round===!0||e.float===!1,this.major=e.major||10,this.minor=e.minor||1,this.initial=e.initial!=null?e.initial:"",this.input=String(this.initial),this.cursor=this.input.length,this.cursorShow()}append(e){return!/[-+.]/.test(e)||e==="."&&this.input.includes(".")?this.alert("invalid number"):super.append(e)}number(e){return super.append(e)}next(){return this.input&&this.input!==this.initial?this.alert():this.isValue(this.initial)?(this.input=this.initial,this.cursor=String(this.initial).length,this.render()):this.alert()}up(e){let r=e||this.minor,i=this.toNumber(this.input);return i>this.max+r?this.alert():(this.input=`${i+r}`,this.render())}down(e){let r=e||this.minor,i=this.toNumber(this.input);return i<this.min-r?this.alert():(this.input=`${i-r}`,this.render())}shiftDown(){return this.down(this.major)}shiftUp(){return this.up(this.major)}format(e=this.input){return typeof this.options.format=="function"?this.options.format.call(this,e):this.styles.info(e)}toNumber(e=""){return this.float?+e:Math.round(+e)}isValue(e){return/^[-+]?[0-9]+((\.)|(\.[0-9]+))?$/.test(e)}submit(){let e=[this.input,this.initial].find(r=>this.isValue(r));return this.value=this.toNumber(e||0),super.submit()}};Fa.exports=Wi});var Ca=d((BE,Ea)=>{Ea.exports=Gi()});var va=d((PE,wa)=>{"use strict";var Xm=Qe(),Ui=class extends Xm{constructor(e){super(e),this.cursorShow()}format(e=this.input){return this.keypressed?(this.state.submitted?this.styles.primary:this.styles.muted)(this.symbols.asterisk.repeat(e.length)):""}};wa.exports=Ui});var Sa=d((RE,Aa)=>{"use strict";var Zm=$e(),Jm=wt(),xa=te(),zi=class extends Jm{constructor(e={}){super(e),this.widths=[].concat(e.messageWidth||50),this.align=[].concat(e.align||"left"),this.linebreak=e.linebreak||!1,this.edgeLength=e.edgeLength||3,this.newline=e.newline||`
17
+ `;let r=e.startNumber||1;typeof this.scale=="number"&&(this.scaleKey=!1,this.scale=Array(this.scale).fill(0).map((i,s)=>({name:s+r})))}async reset(){return this.tableized=!1,await super.reset(),this.render()}tableize(){if(this.tableized===!0)return;this.tableized=!0;let e=0;for(let r of this.choices){e=Math.max(e,r.message.length),r.scaleIndex=r.initial||2,r.scale=[];for(let i=0;i<this.scale.length;i++)r.scale.push({index:i})}this.widths[0]=Math.min(this.widths[0],e+3)}async dispatch(e,r){if(this.multiple)return this[r.name]?await this[r.name](e,r):await super.dispatch(e,r);this.alert()}heading(e,r,i){return this.styles.strong(e)}separator(){return this.styles.muted(this.symbols.ellipsis)}right(){let e=this.focused;return e.scaleIndex>=this.scale.length-1?this.alert():(e.scaleIndex++,this.render())}left(){let e=this.focused;return e.scaleIndex<=0?this.alert():(e.scaleIndex--,this.render())}indent(){return""}format(){return this.state.submitted?this.choices.map(r=>this.styles.info(r.index)).join(", "):""}pointer(){return""}renderScaleKey(){return this.scaleKey===!1||this.state.submitted?"":["",...this.scale.map(i=>` ${i.name} - ${i.message}`)].map(i=>this.styles.muted(i)).join(`
18
+ `)}renderScaleHeading(e){let r=this.scale.map(a=>a.name);typeof this.options.renderScaleHeading=="function"&&(r=this.options.renderScaleHeading.call(this,e));let i=this.scaleLength-r.join("").length,s=Math.round(i/(r.length-1)),o=r.map(a=>this.styles.strong(a)).join(" ".repeat(s)),u=" ".repeat(this.widths[0]);return this.margin[3]+u+this.margin[1]+o}scaleIndicator(e,r,i){if(typeof this.options.scaleIndicator=="function")return this.options.scaleIndicator.call(this,e,r,i);let s=e.scaleIndex===r.index;return r.disabled?this.styles.hint(this.symbols.radio.disabled):s?this.styles.success(this.symbols.radio.on):this.symbols.radio.off}renderScale(e,r){let i=e.scale.map(n=>this.scaleIndicator(e,n,r)),s=this.term==="Hyper"?"":" ";return i.join(s+this.symbols.line.repeat(this.edgeLength))}async renderChoice(e,r){await this.onChoice(e,r);let i=this.index===r,s=await this.pointer(e,r),n=await e.hint;n&&!xa.hasColor(n)&&(n=this.styles.muted(n));let o=p=>this.margin[3]+p.replace(/\s+$/,"").padEnd(this.widths[0]," "),u=this.newline,a=this.indent(e),l=await this.resolve(e.message,this.state,e,r),c=await this.renderScale(e,r),h=this.margin[1]+this.margin[3];this.scaleLength=Zm(c).length,this.widths[0]=Math.min(this.widths[0],this.width-this.scaleLength-h.length);let _=xa.wordWrap(l,{width:this.widths[0],newline:u}).split(`
19
+ `).map(p=>o(p)+this.margin[1]);return i&&(c=this.styles.info(c),_=_.map(p=>this.styles.info(p))),_[0]+=c,this.linebreak&&_.push(""),[a+s,_.join(`
20
+ `)].filter(Boolean)}async renderChoices(){if(this.state.submitted)return"";this.tableize();let e=this.visible.map(async(s,n)=>await this.renderChoice(s,n)),r=await Promise.all(e),i=await this.renderScaleHeading();return this.margin[0]+[i,...r.map(s=>s.join(" "))].join(`
21
+ `)}async render(){let{submitted:e,size:r}=this.state,i=await this.prefix(),s=await this.separator(),n=await this.message(),o="";this.options.promptLine!==!1&&(o=[i,n,s,""].join(" "),this.state.prompt=o);let u=await this.header(),a=await this.format(),l=await this.renderScaleKey(),c=await this.error()||await this.hint(),h=await this.renderChoices(),f=await this.footer(),_=this.emptyError;a&&(o+=a),c&&!o.includes(c)&&(o+=" "+c),e&&!a&&!h.trim()&&this.multiple&&_!=null&&(o+=this.styles.danger(_)),this.clear(r),this.write([u,o,l,h,f].filter(Boolean).join(`
22
+ `)),this.state.submitted||this.write(this.margin[2]),this.restore()}submit(){this.value={};for(let e of this.choices)this.value[e.name]=e.scaleIndex;return this.base.submit.call(this)}};Aa.exports=zi});var Ba=d((kE,Ta)=>{"use strict";var Oa=$e(),eD=(t="")=>typeof t=="string"?t.replace(/^['"]|['"]$/g,""):"",Yi=class{constructor(e){this.name=e.key,this.field=e.field||{},this.value=eD(e.initial||this.field.initial||""),this.message=e.message||this.name,this.cursor=0,this.input="",this.lines=[]}},tD=async(t={},e={},r=i=>i)=>{let i=new Set,s=t.fields||[],n=t.template,o=[],u=[],a=[],l=1;typeof n=="function"&&(n=await n());let c=-1,h=()=>n[++c],f=()=>n[c+1],_=p=>{p.line=l,o.push(p)};for(_({type:"bos",value:""});c<n.length-1;){let p=h();if(/^[^\S\n ]$/.test(p)){_({type:"text",value:p});continue}if(p===`
23
+ `){_({type:"newline",value:p}),l++;continue}if(p==="\\"){p+=h(),_({type:"text",value:p});continue}if((p==="$"||p==="#"||p==="{")&&f()==="{"){let x=h();p+=x;let F={type:"template",open:p,inner:"",close:"",value:p},w;for(;w=h();){if(w==="}"){f()==="}"&&(w+=h()),F.value+=w,F.close=w;break}w===":"?(F.initial="",F.key=F.inner):F.initial!==void 0&&(F.initial+=w),F.value+=w,F.inner+=w}F.template=F.open+(F.initial||F.inner)+F.close,F.key=F.key||F.inner,hasOwnProperty.call(e,F.key)&&(F.initial=e[F.key]),F=r(F),_(F),a.push(F.key),i.add(F.key);let b=u.find(B=>B.name===F.key);F.field=s.find(B=>B.name===F.key),b||(b=new Yi(F),u.push(b)),b.lines.push(F.line-1);continue}let D=o[o.length-1];D.type==="text"&&D.line===l?D.value+=p:_({type:"text",value:p})}return _({type:"eos",value:""}),{input:n,tabstops:o,unique:i,keys:a,items:u}};Ta.exports=async t=>{let e=t.options,r=new Set(e.required===!0?[]:e.required||[]),i={...e.values,...e.initial},{tabstops:s,items:n,keys:o}=await tD(e,i),u=Ki("result",t,e),a=Ki("format",t,e),l=Ki("validate",t,e,!0),c=t.isValue.bind(t);return async(h={},f=!1)=>{let _=0;h.required=r,h.items=n,h.keys=o,h.output="";let p=async(w,b,B,A)=>{let T=await l(w,b,B,A);return T===!1?"Invalid field "+B.name:T};for(let w of s){let b=w.value,B=w.key;if(w.type!=="template"){b&&(h.output+=b);continue}if(w.type==="template"){let A=n.find(M=>M.name===B);e.required===!0&&h.required.add(A.name);let T=[A.input,h.values[A.value],A.value,b].find(c),C=(A.field||{}).message||w.inner;if(f){let M=await p(h.values[B],h,A,_);if(M&&typeof M=="string"||M===!1){h.invalid.set(B,M);continue}h.invalid.delete(B);let y=await u(h.values[B],h,A,_);h.output+=Oa(y);continue}A.placeholder=!1;let $=b;b=await a(b,h,A,_),T!==b?(h.values[B]=T,b=t.styles.typing(T),h.missing.delete(C)):(h.values[B]=void 0,T=`<${C}>`,b=t.styles.primary(T),A.placeholder=!0,h.required.has(B)&&h.missing.add(C)),h.missing.has(C)&&h.validating&&(b=t.styles.warning(T)),h.invalid.has(B)&&h.validating&&(b=t.styles.danger(T)),_===h.index&&($!==b?b=t.styles.underline(b):b=t.styles.heading(Oa(b))),_++}b&&(h.output+=b)}let D=h.output.split(`
24
+ `).map(w=>" "+w),x=n.length,F=0;for(let w of n)h.invalid.has(w.name)&&w.lines.forEach(b=>{D[b][0]===" "&&(D[b]=h.styles.danger(h.symbols.bullet)+D[b].slice(1))}),t.isValue(h.values[w.name])&&F++;return h.completed=(F/x*100).toFixed(0),h.output=D.join(`
25
+ `),h.output}};function Ki(t,e,r,i){return(s,n,o,u)=>typeof o.field[t]=="function"?o.field[t].call(e,s,n,o,u):[i,s].find(a=>e.isValue(a))}});var Ra=d(($E,Pa)=>{"use strict";var rD=$e(),iD=Ba(),sD=nt(),Qi=class extends sD{constructor(e){super(e),this.cursorHide(),this.reset(!0)}async initialize(){this.interpolate=await iD(this),await super.initialize()}async reset(e){this.state.keys=[],this.state.invalid=new Map,this.state.missing=new Set,this.state.completed=0,this.state.values={},e!==!0&&(await this.initialize(),await this.render())}moveCursor(e){let r=this.getItem();this.cursor+=e,r.cursor+=e}dispatch(e,r){if(!r.code&&!r.ctrl&&e!=null&&this.getItem()){this.append(e,r);return}this.alert()}append(e,r){let i=this.getItem(),s=i.input.slice(0,this.cursor),n=i.input.slice(this.cursor);this.input=i.input=`${s}${e}${n}`,this.moveCursor(1),this.render()}delete(){let e=this.getItem();if(this.cursor<=0||!e.input)return this.alert();let r=e.input.slice(this.cursor),i=e.input.slice(0,this.cursor-1);this.input=e.input=`${i}${r}`,this.moveCursor(-1),this.render()}increment(e){return e>=this.state.keys.length-1?0:e+1}decrement(e){return e<=0?this.state.keys.length-1:e-1}first(){this.state.index=0,this.render()}last(){this.state.index=this.state.keys.length-1,this.render()}right(){if(this.cursor>=this.input.length)return this.alert();this.moveCursor(1),this.render()}left(){if(this.cursor<=0)return this.alert();this.moveCursor(-1),this.render()}prev(){this.state.index=this.decrement(this.state.index),this.getItem(),this.render()}next(){this.state.index=this.increment(this.state.index),this.getItem(),this.render()}up(){this.prev()}down(){this.next()}format(e){let r=this.state.completed<100?this.styles.warning:this.styles.success;return this.state.submitted===!0&&this.state.completed!==100&&(r=this.styles.danger),r(`${this.state.completed}% completed`)}async render(){let{index:e,keys:r=[],submitted:i,size:s}=this.state,n=[this.options.newline,`
26
+ `].find(w=>w!=null),o=await this.prefix(),u=await this.separator(),a=await this.message(),l=[o,a,u].filter(Boolean).join(" ");this.state.prompt=l;let c=await this.header(),h=await this.error()||"",f=await this.hint()||"",_=i?"":await this.interpolate(this.state),p=this.state.key=r[e]||"",D=await this.format(p),x=await this.footer();D&&(l+=" "+D),f&&!D&&this.state.completed===0&&(l+=" "+f),this.clear(s);let F=[c,l,_,x,h.trim()];this.write(F.filter(Boolean).join(n)),this.restore()}getItem(e){let{items:r,keys:i,index:s}=this.state,n=r.find(o=>o.name===i[s]);return n&&n.input!=null&&(this.input=n.input,this.cursor=n.cursor),n}async submit(){typeof this.interpolate!="function"&&await this.initialize(),await this.interpolate(this.state,!0);let{invalid:e,missing:r,output:i,values:s}=this.state;if(e.size){let u="";for(let[a,l]of e)u+=`Invalid ${a}: ${l}
27
+ `;return this.state.error=u,super.submit()}if(r.size)return this.state.error="Required: "+[...r.keys()].join(", "),super.submit();let o=rD(i).split(`
28
+ `).map(u=>u.slice(1)).join(`
29
+ `);return this.value={values:s,result:o},super.submit()}};Pa.exports=Qi});var $a=d((IE,ka)=>{"use strict";var nD="(Use <shift>+<up/down> to sort)",oD=Le(),Xi=class extends oD{constructor(e){super({...e,reorder:!1,sort:!0,multiple:!0}),this.state.hint=[this.options.hint,nD].find(this.isValue.bind(this))}indicator(){return""}async renderChoice(e,r){let i=await super.renderChoice(e,r),s=this.symbols.identicalTo+" ",n=this.index===r&&this.sorting?this.styles.muted(s):" ";return this.options.drag===!1&&(n=""),this.options.numbered===!0?n+`${r+1} - `+i:n+i}get selected(){return this.choices}submit(){return this.value=this.choices.map(e=>e.value),super.submit()}};ka.exports=Xi});var La=d((LE,Ia)=>{"use strict";var uD=wt(),Zi=class extends uD{constructor(e={}){if(super(e),this.emptyError=e.emptyError||"No items were selected",this.term=process.env.TERM_PROGRAM,!this.options.header){let r=["","4 - Strongly Agree","3 - Agree","2 - Neutral","1 - Disagree","0 - Strongly Disagree",""];r=r.map(i=>this.styles.muted(i)),this.state.header=r.join(`
30
+ `)}}async toChoices(...e){if(this.createdScales)return!1;this.createdScales=!0;let r=await super.toChoices(...e);for(let i of r)i.scale=aD(5,this.options),i.scaleIdx=2;return r}dispatch(){this.alert()}space(){let e=this.focused,r=e.scale[e.scaleIdx],i=r.selected;return e.scale.forEach(s=>s.selected=!1),r.selected=!i,this.render()}indicator(){return""}pointer(){return""}separator(){return this.styles.muted(this.symbols.ellipsis)}right(){let e=this.focused;return e.scaleIdx>=e.scale.length-1?this.alert():(e.scaleIdx++,this.render())}left(){let e=this.focused;return e.scaleIdx<=0?this.alert():(e.scaleIdx--,this.render())}indent(){return" "}async renderChoice(e,r){await this.onChoice(e,r);let i=this.index===r,s=this.term==="Hyper",n=s?9:8,o=s?"":" ",u=this.symbols.line.repeat(n),a=" ".repeat(n+(s?0:1)),l=b=>(b?this.styles.success("\u25C9"):"\u25EF")+o,c=r+1+".",h=i?this.styles.heading:this.styles.noop,f=await this.resolve(e.message,this.state,e,r),_=this.indent(e),p=_+e.scale.map((b,B)=>l(B===e.scaleIdx)).join(u),D=b=>b===e.scaleIdx?h(b):b,x=_+e.scale.map((b,B)=>D(B)).join(a),F=()=>[c,f].filter(Boolean).join(" "),w=()=>[F(),p,x," "].filter(Boolean).join(`
31
+ `);return i&&(p=this.styles.cyan(p),x=this.styles.cyan(x)),w()}async renderChoices(){if(this.state.submitted)return"";let e=this.visible.map(async(i,s)=>await this.renderChoice(i,s)),r=await Promise.all(e);return r.length||r.push(this.styles.danger("No matching choices")),r.join(`
32
+ `)}format(){return this.state.submitted?this.choices.map(r=>this.styles.info(r.scaleIdx)).join(", "):""}async render(){let{submitted:e,size:r}=this.state,i=await this.prefix(),s=await this.separator(),n=await this.message(),o=[i,n,s].filter(Boolean).join(" ");this.state.prompt=o;let u=await this.header(),a=await this.format(),l=await this.error()||await this.hint(),c=await this.renderChoices(),h=await this.footer();(a||!l)&&(o+=" "+a),l&&!o.includes(l)&&(o+=" "+l),e&&!a&&!c&&this.multiple&&this.type!=="form"&&(o+=this.styles.danger(this.emptyError)),this.clear(r),this.write([o,u,c,h].filter(Boolean).join(`
33
+ `)),this.restore()}submit(){this.value={};for(let e of this.choices)this.value[e.name]=e.scaleIdx;return this.base.submit.call(this)}};function aD(t,e={}){if(Array.isArray(e.scale))return e.scale.map(i=>({...i}));let r=[];for(let i=1;i<t+1;i++)r.push({i,selected:!1});return r}Ia.exports=Zi});var Ma=d((jE,ja)=>{ja.exports=Ni()});var qa=d((ME,Na)=>{"use strict";var lD=rr(),Ji=class extends lD{async initialize(){await super.initialize(),this.value=this.initial=this.resolve(this.options.initial),this.disabled=this.options.disabled||"no",this.enabled=this.options.enabled||"yes",await this.render()}reset(){this.value=this.initial,this.render()}delete(){this.alert()}toggle(){this.value=!this.value,this.render()}enable(){if(this.value===!0)return this.alert();this.value=!0,this.render()}disable(){if(this.value===!1)return this.alert();this.value=!1,this.render()}up(){this.toggle()}down(){this.toggle()}right(){this.toggle()}left(){this.toggle()}next(){this.toggle()}prev(){this.toggle()}dispatch(e="",r){switch(e.toLowerCase()){case" ":return this.toggle();case"1":case"y":case"t":return this.enable();case"0":case"n":case"f":return this.disable();default:return this.alert()}}format(){let e=i=>this.styles.primary.underline(i);return[this.value?this.disabled:e(this.disabled),this.value?e(this.enabled):this.enabled].join(this.styles.muted(" / "))}async render(){let{size:e}=this.state,r=await this.header(),i=await this.prefix(),s=await this.separator(),n=await this.message(),o=await this.format(),u=await this.error()||await this.hint(),a=await this.footer(),l=[i,n,s,o].join(" ");this.state.prompt=l,u&&!l.includes(u)&&(l+=" "+u),this.clear(e),this.write([r,l,a].filter(Boolean).join(`
34
+ `)),this.write(this.margin[2]),this.restore()}};Na.exports=Ji});var Va=d((NE,Ha)=>{"use strict";var cD=Le(),es=class extends cD{constructor(e){if(super(e),typeof this.options.correctChoice!="number"||this.options.correctChoice<0)throw new Error("Please specify the index of the correct answer from the list of choices")}async toChoices(e,r){let i=await super.toChoices(e,r);if(i.length<2)throw new Error("Please give at least two choices to the user");if(this.options.correctChoice>i.length)throw new Error("Please specify the index of the correct answer from the list of choices");return i}check(e){return e.index===this.options.correctChoice}async result(e){return{selectedAnswer:e,correctAnswer:this.options.choices[this.options.correctChoice].value,correct:await this.check(this.state)}}};Ha.exports=es});var Ga=d(ts=>{"use strict";var Wa=te(),J=(t,e)=>{Wa.defineExport(ts,t,e),Wa.defineExport(ts,t.toLowerCase(),e)};J("AutoComplete",()=>Xu());J("BasicAuth",()=>sa());J("Confirm",()=>ua());J("Editable",()=>la());J("Form",()=>tr());J("Input",()=>Ni());J("Invisible",()=>Da());J("List",()=>ya());J("MultiSelect",()=>ba());J("Numeral",()=>Ca());J("Password",()=>va());J("Scale",()=>Sa());J("Select",()=>Le());J("Snippet",()=>Ra());J("Sort",()=>$a());J("Survey",()=>La());J("Text",()=>Ma());J("Toggle",()=>qa());J("Quiz",()=>Va())});var za=d((HE,Ua)=>{Ua.exports={ArrayPrompt:wt(),AuthPrompt:ki(),BooleanPrompt:rr(),NumberPrompt:Gi(),StringPrompt:Qe()}});var Qa=d((VE,Ya)=>{"use strict";var Ka=require("assert"),is=require("events"),je=te(),_e=class extends is{constructor(e,r){super(),this.options=je.merge({},e),this.answers={...r}}register(e,r){if(je.isObject(e)){for(let s of Object.keys(e))this.register(s,e[s]);return this}Ka.equal(typeof r,"function","expected a function");let i=e.toLowerCase();return r.prototype instanceof this.Prompt?this.prompts[i]=r:this.prompts[i]=r(this.Prompt,this),this}async prompt(e=[]){for(let r of[].concat(e))try{typeof r=="function"&&(r=await r.call(this)),await this.ask(je.merge({},this.options,r))}catch(i){return Promise.reject(i)}return this.answers}async ask(e){typeof e=="function"&&(e=await e.call(this));let r=je.merge({},this.options,e),{type:i,name:s}=e,{set:n,get:o}=je;if(typeof i=="function"&&(i=await i.call(this,e,this.answers)),!i)return this.answers[s];i==="number"&&(i="numeral"),Ka(this.prompts[i],`Prompt "${i}" is not registered`);let u=new this.prompts[i](r),a=o(this.answers,s);u.state.answers=this.answers,u.enquirer=this,s&&u.on("submit",c=>{this.emit("answer",s,c,u),n(this.answers,s,c)});let l=u.emit.bind(u);return u.emit=(...c)=>(this.emit.call(this,...c),l(...c)),this.emit("prompt",u,this),r.autofill&&a!=null?(u.value=u.input=a,r.autofill==="show"&&await u.submit()):a=u.value=await u.run(),a}use(e){return e.call(this,this),this}set Prompt(e){this._Prompt=e}get Prompt(){return this._Prompt||this.constructor.Prompt}get prompts(){return this.constructor.prompts}static set Prompt(e){this._Prompt=e}static get Prompt(){return this._Prompt||nt()}static get prompts(){return Ga()}static get types(){return za()}static get prompt(){let e=(r,...i)=>{let s=new this(...i),n=s.emit.bind(s);return s.emit=(...o)=>(e.emit(...o),n(...o)),s.prompt(r)};return je.mixinEmitter(e,new is),e}};je.mixinEmitter(_e,new is);var rs=_e.prompts;for(let t of Object.keys(rs)){let e=t.toLowerCase(),r=i=>new rs[t](i).run();_e.prompt[e]=r,_e[e]=r,_e[t]||Reflect.defineProperty(_e,t,{get:()=>rs[t]})}var vt=t=>{je.defineExport(_e,t,()=>_e.types[t])};vt("ArrayPrompt");vt("AuthPrompt");vt("BooleanPrompt");vt("NumberPrompt");vt("StringPrompt");Ya.exports=_e});var Za=d((WE,Xa)=>{"use strict";var{builtinModules:hD}=require("module"),fD=new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"),pD=["node_modules","favicon.ico"];function dD(t){var e=[],r=[];if(t===null)return r.push("name cannot be null"),xt(e,r);if(t===void 0)return r.push("name cannot be undefined"),xt(e,r);if(typeof t!="string")return r.push("name must be a string"),xt(e,r);if(t.length||r.push("name length must be greater than zero"),t.match(/^\./)&&r.push("name cannot start with a period"),t.match(/^_/)&&r.push("name cannot start with an underscore"),t.trim()!==t&&r.push("name cannot contain leading or trailing spaces"),pD.forEach(function(o){t.toLowerCase()===o&&r.push(o+" is a blacklisted name")}),hD.includes(t.toLowerCase())&&e.push(t+" is a core module name"),t.length>214&&e.push("name can no longer contain more than 214 characters"),t.toLowerCase()!==t&&e.push("name can no longer contain capital letters"),/[~'!()*]/.test(t.split("/").slice(-1)[0])&&e.push(`name can no longer contain special characters ("~'!()*")`),encodeURIComponent(t)!==t){var i=t.match(fD);if(i){var s=i[1],n=i[2];if(encodeURIComponent(s)===s&&encodeURIComponent(n)===n)return xt(e,r)}r.push("name can only contain URL-friendly characters")}return xt(e,r)}var xt=function(t,e){var r={validForNewPackages:e.length===0&&t.length===0,validForOldPackages:e.length===0,warnings:t,errors:e};return r.warnings.length||delete r.warnings,r.errors.length||delete r.errors,r};Xa.exports=dD});var Dl=d((sC,ml)=>{ml.exports=dl;dl.sync=TD;var fl=require("fs");function OD(t,e){var r=e.pathExt!==void 0?e.pathExt:process.env.PATHEXT;if(!r||(r=r.split(";"),r.indexOf("")!==-1))return!0;for(var i=0;i<r.length;i++){var s=r[i].toLowerCase();if(s&&t.substr(-s.length).toLowerCase()===s)return!0}return!1}function pl(t,e,r){return!t.isSymbolicLink()&&!t.isFile()?!1:OD(e,r)}function dl(t,e,r){fl.stat(t,function(i,s){r(i,i?!1:pl(s,t,e))})}function TD(t,e){return pl(fl.statSync(t),t,e)}});var Fl=d((nC,bl)=>{bl.exports=yl;yl.sync=BD;var gl=require("fs");function yl(t,e,r){gl.stat(t,function(i,s){r(i,i?!1:_l(s,e))})}function BD(t,e){return _l(gl.statSync(t),e)}function _l(t,e){return t.isFile()&&PD(t,e)}function PD(t,e){var r=t.mode,i=t.uid,s=t.gid,n=e.uid!==void 0?e.uid:process.getuid&&process.getuid(),o=e.gid!==void 0?e.gid:process.getgid&&process.getgid(),u=parseInt("100",8),a=parseInt("010",8),l=parseInt("001",8),c=u|a,h=r&l||r&a&&s===o||r&u&&i===n||r&c&&n===0;return h}});var Cl=d((uC,El)=>{var oC=require("fs"),ar;process.platform==="win32"||global.TESTING_WINDOWS?ar=Dl():ar=Fl();El.exports=ls;ls.sync=RD;function ls(t,e,r){if(typeof e=="function"&&(r=e,e={}),!r){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(i,s){ls(t,e||{},function(n,o){n?s(n):i(o)})})}ar(t,e||{},function(i,s){i&&(i.code==="EACCES"||e&&e.ignoreErrors)&&(i=null,s=!1),r(i,s)})}function RD(t,e){try{return ar.sync(t,e||{})}catch(r){if(e&&e.ignoreErrors||r.code==="EACCES")return!1;throw r}}});var Tl=d((aC,Ol)=>{var lt=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",wl=require("path"),kD=lt?";":":",vl=Cl(),xl=t=>Object.assign(new Error(`not found: ${t}`),{code:"ENOENT"}),Al=(t,e)=>{let r=e.colon||kD,i=t.match(/\//)||lt&&t.match(/\\/)?[""]:[...lt?[process.cwd()]:[],...(e.path||process.env.PATH||"").split(r)],s=lt?e.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",n=lt?s.split(r):[""];return lt&&t.indexOf(".")!==-1&&n[0]!==""&&n.unshift(""),{pathEnv:i,pathExt:n,pathExtExe:s}},Sl=(t,e,r)=>{typeof e=="function"&&(r=e,e={}),e||(e={});let{pathEnv:i,pathExt:s,pathExtExe:n}=Al(t,e),o=[],u=l=>new Promise((c,h)=>{if(l===i.length)return e.all&&o.length?c(o):h(xl(t));let f=i[l],_=/^".*"$/.test(f)?f.slice(1,-1):f,p=wl.join(_,t),D=!_&&/^\.[\\\/]/.test(t)?t.slice(0,2)+p:p;c(a(D,l,0))}),a=(l,c,h)=>new Promise((f,_)=>{if(h===s.length)return f(u(c+1));let p=s[h];vl(l+p,{pathExt:n},(D,x)=>{if(!D&&x)if(e.all)o.push(l+p);else return f(l+p);return f(a(l,c,h+1))})});return r?u(0).then(l=>r(null,l),r):u(0)},$D=(t,e)=>{e=e||{};let{pathEnv:r,pathExt:i,pathExtExe:s}=Al(t,e),n=[];for(let o=0;o<r.length;o++){let u=r[o],a=/^".*"$/.test(u)?u.slice(1,-1):u,l=wl.join(a,t),c=!a&&/^\.[\\\/]/.test(t)?t.slice(0,2)+l:l;for(let h=0;h<i.length;h++){let f=c+i[h];try{if(vl.sync(f,{pathExt:s}))if(e.all)n.push(f);else return f}catch{}}}if(e.all&&n.length)return n;if(e.nothrow)return null;throw xl(t)};Ol.exports=Sl;Sl.sync=$D});var Pl=d((lC,cs)=>{"use strict";var Bl=(t={})=>{let e=t.env||process.env;return(t.platform||process.platform)!=="win32"?"PATH":Object.keys(e).reverse().find(i=>i.toUpperCase()==="PATH")||"Path"};cs.exports=Bl;cs.exports.default=Bl});var Il=d((cC,$l)=>{"use strict";var Rl=require("path"),ID=Tl(),LD=Pl();function kl(t,e){let r=t.options.env||process.env,i=process.cwd(),s=t.options.cwd!=null,n=s&&process.chdir!==void 0&&!process.chdir.disabled;if(n)try{process.chdir(t.options.cwd)}catch{}let o;try{o=ID.sync(t.command,{path:r[LD({env:r})],pathExt:e?Rl.delimiter:void 0})}catch{}finally{n&&process.chdir(i)}return o&&(o=Rl.resolve(s?t.options.cwd:"",o)),o}function jD(t){return kl(t)||kl(t,!0)}$l.exports=jD});var Ll=d((hC,fs)=>{"use strict";var hs=/([()\][%!^"`<>&|;, *?])/g;function MD(t){return t=t.replace(hs,"^$1"),t}function ND(t,e){return t=`${t}`,t=t.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"'),t=t.replace(/(?=(\\+?)?)\1$/,"$1$1"),t=`"${t}"`,t=t.replace(hs,"^$1"),e&&(t=t.replace(hs,"^$1")),t}fs.exports.command=MD;fs.exports.argument=ND});var Ml=d((fC,jl)=>{"use strict";jl.exports=/^#!(.*)/});var ql=d((pC,Nl)=>{"use strict";var qD=Ml();Nl.exports=(t="")=>{let e=t.match(qD);if(!e)return null;let[r,i]=e[0].replace(/#! ?/,"").split(" "),s=r.split("/").pop();return s==="env"?i:i?`${s} ${i}`:s}});var Vl=d((dC,Hl)=>{"use strict";var ps=require("fs"),HD=ql();function VD(t){let r=Buffer.alloc(150),i;try{i=ps.openSync(t,"r"),ps.readSync(i,r,0,150,0),ps.closeSync(i)}catch{}return HD(r.toString())}Hl.exports=VD});var zl=d((mC,Ul)=>{"use strict";var WD=require("path"),Wl=Il(),Gl=Ll(),GD=Vl(),UD=process.platform==="win32",zD=/\.(?:com|exe)$/i,KD=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function YD(t){t.file=Wl(t);let e=t.file&&GD(t.file);return e?(t.args.unshift(t.file),t.command=e,Wl(t)):t.file}function QD(t){if(!UD)return t;let e=YD(t),r=!zD.test(e);if(t.options.forceShell||r){let i=KD.test(e);t.command=WD.normalize(t.command),t.command=Gl.command(t.command),t.args=t.args.map(n=>Gl.argument(n,i));let s=[t.command].concat(t.args).join(" ");t.args=["/d","/s","/c",`"${s}"`],t.command=process.env.comspec||"cmd.exe",t.options.windowsVerbatimArguments=!0}return t}function XD(t,e,r){e&&!Array.isArray(e)&&(r=e,e=null),e=e?e.slice(0):[],r=Object.assign({},r);let i={command:t,args:e,options:r,file:void 0,original:{command:t,args:e}};return r.shell?i:QD(i)}Ul.exports=XD});var Ql=d((DC,Yl)=>{"use strict";var ds=process.platform==="win32";function ms(t,e){return Object.assign(new Error(`${e} ${t.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${e} ${t.command}`,path:t.command,spawnargs:t.args})}function ZD(t,e){if(!ds)return;let r=t.emit;t.emit=function(i,s){if(i==="exit"){let n=Kl(s,e);if(n)return r.call(t,"error",n)}return r.apply(t,arguments)}}function Kl(t,e){return ds&&t===1&&!e.file?ms(e.original,"spawn"):null}function JD(t,e){return ds&&t===1&&!e.file?ms(e.original,"spawnSync"):null}Yl.exports={hookChildProcess:ZD,verifyENOENT:Kl,verifyENOENTSync:JD,notFoundError:ms}});var Jl=d((gC,ct)=>{"use strict";var Xl=require("child_process"),Ds=zl(),gs=Ql();function Zl(t,e,r){let i=Ds(t,e,r),s=Xl.spawn(i.command,i.args,i.options);return gs.hookChildProcess(s,i),s}function eg(t,e,r){let i=Ds(t,e,r),s=Xl.spawnSync(i.command,i.args,i.options);return s.error=s.error||gs.verifyENOENTSync(s.status,i),s}ct.exports=Zl;ct.exports.spawn=Zl;ct.exports.sync=eg;ct.exports._parse=Ds;ct.exports._enoent=gs});var Bc=d((fw,Tc)=>{"use strict";var{PassThrough:Ug}=require("stream");Tc.exports=function(){var t=[],e=new Ug({objectMode:!0});return e.setMaxListeners(0),e.add=r,e.isEmpty=i,e.on("unpipe",s),Array.prototype.slice.call(arguments).forEach(r),e;function r(n){return Array.isArray(n)?(n.forEach(r),this):(t.push(n),n.once("end",s.bind(null,n)),n.once("error",e.emit.bind(e,"error")),n.pipe(e,{end:!1}),this)}function i(){return t.length==0}function s(n){t=t.filter(function(o){return o!==n}),!t.length&&e.readable&&e.end()}}});var kt=d(Vs=>{var xr=class extends Error{constructor(e,r,i){super(i),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=r,this.exitCode=e,this.nestedError=void 0}},Hs=class extends xr{constructor(e){super(1,"commander.invalidArgument",e),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}};Vs.CommanderError=xr;Vs.InvalidArgumentError=Hs});var Ar=d(Gs=>{var{InvalidArgumentError:o0}=kt(),Ws=class{constructor(e,r){switch(this.description=r||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,e[0]){case"<":this.required=!0,this._name=e.slice(1,-1);break;case"[":this.required=!1,this._name=e.slice(1,-1);break;default:this.required=!0,this._name=e;break}this._name.length>3&&this._name.slice(-3)==="..."&&(this.variadic=!0,this._name=this._name.slice(0,-3))}name(){return this._name}_concatValue(e,r){return r===this.defaultValue||!Array.isArray(r)?[e]:r.concat(e)}default(e,r){return this.defaultValue=e,this.defaultValueDescription=r,this}argParser(e){return this.parseArg=e,this}choices(e){return this.argChoices=e.slice(),this.parseArg=(r,i)=>{if(!this.argChoices.includes(r))throw new o0(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(r,i):r},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}};function u0(t){let e=t.name()+(t.variadic===!0?"...":"");return t.required?"<"+e+">":"["+e+"]"}Gs.Argument=Ws;Gs.humanReadableArgName=u0});var Ks=d(zs=>{var{humanReadableArgName:a0}=Ar(),Us=class{constructor(){this.helpWidth=void 0,this.minWidthToWrap=40,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}prepareContext(e){this.helpWidth=this.helpWidth??e.helpWidth??80}visibleCommands(e){let r=e.commands.filter(s=>!s._hidden),i=e._getHelpCommand();return i&&!i._hidden&&r.push(i),this.sortSubcommands&&r.sort((s,n)=>s.name().localeCompare(n.name())),r}compareOptions(e,r){let i=s=>s.short?s.short.replace(/^-/,""):s.long.replace(/^--/,"");return i(e).localeCompare(i(r))}visibleOptions(e){let r=e.options.filter(s=>!s.hidden),i=e._getHelpOption();if(i&&!i.hidden){let s=i.short&&e._findOption(i.short),n=i.long&&e._findOption(i.long);!s&&!n?r.push(i):i.long&&!n?r.push(e.createOption(i.long,i.description)):i.short&&!s&&r.push(e.createOption(i.short,i.description))}return this.sortOptions&&r.sort(this.compareOptions),r}visibleGlobalOptions(e){if(!this.showGlobalOptions)return[];let r=[];for(let i=e.parent;i;i=i.parent){let s=i.options.filter(n=>!n.hidden);r.push(...s)}return this.sortOptions&&r.sort(this.compareOptions),r}visibleArguments(e){return e._argsDescription&&e.registeredArguments.forEach(r=>{r.description=r.description||e._argsDescription[r.name()]||""}),e.registeredArguments.find(r=>r.description)?e.registeredArguments:[]}subcommandTerm(e){let r=e.registeredArguments.map(i=>a0(i)).join(" ");return e._name+(e._aliases[0]?"|"+e._aliases[0]:"")+(e.options.length?" [options]":"")+(r?" "+r:"")}optionTerm(e){return e.flags}argumentTerm(e){return e.name()}longestSubcommandTermLength(e,r){return r.visibleCommands(e).reduce((i,s)=>Math.max(i,this.displayWidth(r.styleSubcommandTerm(r.subcommandTerm(s)))),0)}longestOptionTermLength(e,r){return r.visibleOptions(e).reduce((i,s)=>Math.max(i,this.displayWidth(r.styleOptionTerm(r.optionTerm(s)))),0)}longestGlobalOptionTermLength(e,r){return r.visibleGlobalOptions(e).reduce((i,s)=>Math.max(i,this.displayWidth(r.styleOptionTerm(r.optionTerm(s)))),0)}longestArgumentTermLength(e,r){return r.visibleArguments(e).reduce((i,s)=>Math.max(i,this.displayWidth(r.styleArgumentTerm(r.argumentTerm(s)))),0)}commandUsage(e){let r=e._name;e._aliases[0]&&(r=r+"|"+e._aliases[0]);let i="";for(let s=e.parent;s;s=s.parent)i=s.name()+" "+i;return i+r+" "+e.usage()}commandDescription(e){return e.description()}subcommandDescription(e){return e.summary()||e.description()}optionDescription(e){let r=[];return e.argChoices&&r.push(`choices: ${e.argChoices.map(i=>JSON.stringify(i)).join(", ")}`),e.defaultValue!==void 0&&(e.required||e.optional||e.isBoolean()&&typeof e.defaultValue=="boolean")&&r.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),e.presetArg!==void 0&&e.optional&&r.push(`preset: ${JSON.stringify(e.presetArg)}`),e.envVar!==void 0&&r.push(`env: ${e.envVar}`),r.length>0?`${e.description} (${r.join(", ")})`:e.description}argumentDescription(e){let r=[];if(e.argChoices&&r.push(`choices: ${e.argChoices.map(i=>JSON.stringify(i)).join(", ")}`),e.defaultValue!==void 0&&r.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),r.length>0){let i=`(${r.join(", ")})`;return e.description?`${e.description} ${i}`:i}return e.description}formatHelp(e,r){let i=r.padWidth(e,r),s=r.helpWidth??80;function n(h,f){return r.formatItem(h,i,f,r)}let o=[`${r.styleTitle("Usage:")} ${r.styleUsage(r.commandUsage(e))}`,""],u=r.commandDescription(e);u.length>0&&(o=o.concat([r.boxWrap(r.styleCommandDescription(u),s),""]));let a=r.visibleArguments(e).map(h=>n(r.styleArgumentTerm(r.argumentTerm(h)),r.styleArgumentDescription(r.argumentDescription(h))));a.length>0&&(o=o.concat([r.styleTitle("Arguments:"),...a,""]));let l=r.visibleOptions(e).map(h=>n(r.styleOptionTerm(r.optionTerm(h)),r.styleOptionDescription(r.optionDescription(h))));if(l.length>0&&(o=o.concat([r.styleTitle("Options:"),...l,""])),r.showGlobalOptions){let h=r.visibleGlobalOptions(e).map(f=>n(r.styleOptionTerm(r.optionTerm(f)),r.styleOptionDescription(r.optionDescription(f))));h.length>0&&(o=o.concat([r.styleTitle("Global Options:"),...h,""]))}let c=r.visibleCommands(e).map(h=>n(r.styleSubcommandTerm(r.subcommandTerm(h)),r.styleSubcommandDescription(r.subcommandDescription(h))));return c.length>0&&(o=o.concat([r.styleTitle("Commands:"),...c,""])),o.join(`
35
+ `)}displayWidth(e){return rh(e).length}styleTitle(e){return e}styleUsage(e){return e.split(" ").map(r=>r==="[options]"?this.styleOptionText(r):r==="[command]"?this.styleSubcommandText(r):r[0]==="["||r[0]==="<"?this.styleArgumentText(r):this.styleCommandText(r)).join(" ")}styleCommandDescription(e){return this.styleDescriptionText(e)}styleOptionDescription(e){return this.styleDescriptionText(e)}styleSubcommandDescription(e){return this.styleDescriptionText(e)}styleArgumentDescription(e){return this.styleDescriptionText(e)}styleDescriptionText(e){return e}styleOptionTerm(e){return this.styleOptionText(e)}styleSubcommandTerm(e){return e.split(" ").map(r=>r==="[options]"?this.styleOptionText(r):r[0]==="["||r[0]==="<"?this.styleArgumentText(r):this.styleSubcommandText(r)).join(" ")}styleArgumentTerm(e){return this.styleArgumentText(e)}styleOptionText(e){return e}styleArgumentText(e){return e}styleSubcommandText(e){return e}styleCommandText(e){return e}padWidth(e,r){return Math.max(r.longestOptionTermLength(e,r),r.longestGlobalOptionTermLength(e,r),r.longestSubcommandTermLength(e,r),r.longestArgumentTermLength(e,r))}preformatted(e){return/\n[^\S\r\n]/.test(e)}formatItem(e,r,i,s){let o=" ".repeat(2);if(!i)return o+e;let u=e.padEnd(r+e.length-s.displayWidth(e)),a=2,c=(this.helpWidth??80)-r-a-2,h;return c<this.minWidthToWrap||s.preformatted(i)?h=i:h=s.boxWrap(i,c).replace(/\n/g,`
36
+ `+" ".repeat(r+a)),o+u+" ".repeat(a)+h.replace(/\n/g,`
37
+ ${o}`)}boxWrap(e,r){if(r<this.minWidthToWrap)return e;let i=e.split(/\r\n|\n/),s=/[\s]*[^\s]+/g,n=[];return i.forEach(o=>{let u=o.match(s);if(u===null){n.push("");return}let a=[u.shift()],l=this.displayWidth(a[0]);u.forEach(c=>{let h=this.displayWidth(c);if(l+h<=r){a.push(c),l+=h;return}n.push(a.join(""));let f=c.trimStart();a=[f],l=this.displayWidth(f)}),n.push(a.join(""))}),n.join(`
38
+ `)}};function rh(t){let e=/\x1b\[\d*(;\d*)*m/g;return t.replace(e,"")}zs.Help=Us;zs.stripColor=rh});var Zs=d(Xs=>{var{InvalidArgumentError:l0}=kt(),Ys=class{constructor(e,r){this.flags=e,this.description=r||"",this.required=e.includes("<"),this.optional=e.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test(e),this.mandatory=!1;let i=c0(e);this.short=i.shortFlag,this.long=i.longFlag,this.negate=!1,this.long&&(this.negate=this.long.startsWith("--no-")),this.defaultValue=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this.envVar=void 0,this.parseArg=void 0,this.hidden=!1,this.argChoices=void 0,this.conflictsWith=[],this.implied=void 0}default(e,r){return this.defaultValue=e,this.defaultValueDescription=r,this}preset(e){return this.presetArg=e,this}conflicts(e){return this.conflictsWith=this.conflictsWith.concat(e),this}implies(e){let r=e;return typeof e=="string"&&(r={[e]:!0}),this.implied=Object.assign(this.implied||{},r),this}env(e){return this.envVar=e,this}argParser(e){return this.parseArg=e,this}makeOptionMandatory(e=!0){return this.mandatory=!!e,this}hideHelp(e=!0){return this.hidden=!!e,this}_concatValue(e,r){return r===this.defaultValue||!Array.isArray(r)?[e]:r.concat(e)}choices(e){return this.argChoices=e.slice(),this.parseArg=(r,i)=>{if(!this.argChoices.includes(r))throw new l0(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(r,i):r},this}name(){return this.long?this.long.replace(/^--/,""):this.short.replace(/^-/,"")}attributeName(){return this.negate?ih(this.name().replace(/^no-/,"")):ih(this.name())}is(e){return this.short===e||this.long===e}isBoolean(){return!this.required&&!this.optional&&!this.negate}},Qs=class{constructor(e){this.positiveOptions=new Map,this.negativeOptions=new Map,this.dualOptions=new Set,e.forEach(r=>{r.negate?this.negativeOptions.set(r.attributeName(),r):this.positiveOptions.set(r.attributeName(),r)}),this.negativeOptions.forEach((r,i)=>{this.positiveOptions.has(i)&&this.dualOptions.add(i)})}valueFromOption(e,r){let i=r.attributeName();if(!this.dualOptions.has(i))return!0;let s=this.negativeOptions.get(i).presetArg,n=s!==void 0?s:!1;return r.negate===(n===e)}};function ih(t){return t.split("-").reduce((e,r)=>e+r[0].toUpperCase()+r.slice(1))}function c0(t){let e,r,i=/^-[^-]$/,s=/^--[^-]/,n=t.split(/[ |,]+/).concat("guard");if(i.test(n[0])&&(e=n.shift()),s.test(n[0])&&(r=n.shift()),!e&&i.test(n[0])&&(e=n.shift()),!e&&s.test(n[0])&&(e=r,r=n.shift()),n[0].startsWith("-")){let o=n[0],u=`option creation failed due to '${o}' in option flags '${t}'`;throw/^-[^-][^-]/.test(o)?new Error(`${u}
39
+ - a short flag is a single dash and a single character
40
+ - either use a single dash and a single character (for a short flag)
41
+ - or use a double dash for a long option (and can have two, like '--ws, --workspace')`):i.test(o)?new Error(`${u}
42
+ - too many short flags`):s.test(o)?new Error(`${u}
43
+ - too many long flags`):new Error(`${u}
44
+ - unrecognised flag format`)}if(e===void 0&&r===void 0)throw new Error(`option creation failed due to no flags found in '${t}'.`);return{shortFlag:e,longFlag:r}}Xs.Option=Ys;Xs.DualOptions=Qs});var nh=d(sh=>{function h0(t,e){if(Math.abs(t.length-e.length)>3)return Math.max(t.length,e.length);let r=[];for(let i=0;i<=t.length;i++)r[i]=[i];for(let i=0;i<=e.length;i++)r[0][i]=i;for(let i=1;i<=e.length;i++)for(let s=1;s<=t.length;s++){let n=1;t[s-1]===e[i-1]?n=0:n=1,r[s][i]=Math.min(r[s-1][i]+1,r[s][i-1]+1,r[s-1][i-1]+n),s>1&&i>1&&t[s-1]===e[i-2]&&t[s-2]===e[i-1]&&(r[s][i]=Math.min(r[s][i],r[s-2][i-2]+1))}return r[t.length][e.length]}function f0(t,e){if(!e||e.length===0)return"";e=Array.from(new Set(e));let r=t.startsWith("--");r&&(t=t.slice(2),e=e.map(o=>o.slice(2)));let i=[],s=3,n=.4;return e.forEach(o=>{if(o.length<=1)return;let u=h0(t,o),a=Math.max(t.length,o.length);(a-u)/a>n&&(u<s?(s=u,i=[o]):u===s&&i.push(o))}),i.sort((o,u)=>o.localeCompare(u)),r&&(i=i.map(o=>`--${o}`)),i.length>1?`
45
+ (Did you mean one of ${i.join(", ")}?)`:i.length===1?`
46
+ (Did you mean ${i[0]}?)`:""}sh.suggestSimilar=f0});var lh=d(sn=>{var p0=require("node:events").EventEmitter,Js=require("node:child_process"),Be=require("node:path"),Sr=require("node:fs"),j=require("node:process"),{Argument:d0,humanReadableArgName:m0}=Ar(),{CommanderError:en}=kt(),{Help:D0,stripColor:g0}=Ks(),{Option:oh,DualOptions:y0}=Zs(),{suggestSimilar:uh}=nh(),tn=class t extends p0{constructor(e){super(),this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!1,this.registeredArguments=[],this._args=this.registeredArguments,this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=e||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._savedState=null,this._outputConfiguration={writeOut:r=>j.stdout.write(r),writeErr:r=>j.stderr.write(r),outputError:(r,i)=>i(r),getOutHelpWidth:()=>j.stdout.isTTY?j.stdout.columns:void 0,getErrHelpWidth:()=>j.stderr.isTTY?j.stderr.columns:void 0,getOutHasColors:()=>rn()??(j.stdout.isTTY&&j.stdout.hasColors?.()),getErrHasColors:()=>rn()??(j.stderr.isTTY&&j.stderr.hasColors?.()),stripColor:r=>g0(r)},this._hidden=!1,this._helpOption=void 0,this._addImplicitHelpCommand=void 0,this._helpCommand=void 0,this._helpConfiguration={}}copyInheritedSettings(e){return this._outputConfiguration=e._outputConfiguration,this._helpOption=e._helpOption,this._helpCommand=e._helpCommand,this._helpConfiguration=e._helpConfiguration,this._exitCallback=e._exitCallback,this._storeOptionsAsProperties=e._storeOptionsAsProperties,this._combineFlagAndOptionalValue=e._combineFlagAndOptionalValue,this._allowExcessArguments=e._allowExcessArguments,this._enablePositionalOptions=e._enablePositionalOptions,this._showHelpAfterError=e._showHelpAfterError,this._showSuggestionAfterError=e._showSuggestionAfterError,this}_getCommandAndAncestors(){let e=[];for(let r=this;r;r=r.parent)e.push(r);return e}command(e,r,i){let s=r,n=i;typeof s=="object"&&s!==null&&(n=s,s=null),n=n||{};let[,o,u]=e.match(/([^ ]+) *(.*)/),a=this.createCommand(o);return s&&(a.description(s),a._executableHandler=!0),n.isDefault&&(this._defaultCommandName=a._name),a._hidden=!!(n.noHelp||n.hidden),a._executableFile=n.executableFile||null,u&&a.arguments(u),this._registerCommand(a),a.parent=this,a.copyInheritedSettings(this),s?this:a}createCommand(e){return new t(e)}createHelp(){return Object.assign(new D0,this.configureHelp())}configureHelp(e){return e===void 0?this._helpConfiguration:(this._helpConfiguration=e,this)}configureOutput(e){return e===void 0?this._outputConfiguration:(Object.assign(this._outputConfiguration,e),this)}showHelpAfterError(e=!0){return typeof e!="string"&&(e=!!e),this._showHelpAfterError=e,this}showSuggestionAfterError(e=!0){return this._showSuggestionAfterError=!!e,this}addCommand(e,r){if(!e._name)throw new Error(`Command passed to .addCommand() must have a name
47
+ - specify the name in Command constructor or using .name()`);return r=r||{},r.isDefault&&(this._defaultCommandName=e._name),(r.noHelp||r.hidden)&&(e._hidden=!0),this._registerCommand(e),e.parent=this,e._checkForBrokenPassThrough(),this}createArgument(e,r){return new d0(e,r)}argument(e,r,i,s){let n=this.createArgument(e,r);return typeof i=="function"?n.default(s).argParser(i):n.default(i),this.addArgument(n),this}arguments(e){return e.trim().split(/ +/).forEach(r=>{this.argument(r)}),this}addArgument(e){let r=this.registeredArguments.slice(-1)[0];if(r&&r.variadic)throw new Error(`only the last argument can be variadic '${r.name()}'`);if(e.required&&e.defaultValue!==void 0&&e.parseArg===void 0)throw new Error(`a default value for a required argument is never used: '${e.name()}'`);return this.registeredArguments.push(e),this}helpCommand(e,r){if(typeof e=="boolean")return this._addImplicitHelpCommand=e,this;e=e??"help [command]";let[,i,s]=e.match(/([^ ]+) *(.*)/),n=r??"display help for command",o=this.createCommand(i);return o.helpOption(!1),s&&o.arguments(s),n&&o.description(n),this._addImplicitHelpCommand=!0,this._helpCommand=o,this}addHelpCommand(e,r){return typeof e!="object"?(this.helpCommand(e,r),this):(this._addImplicitHelpCommand=!0,this._helpCommand=e,this)}_getHelpCommand(){return this._addImplicitHelpCommand??(this.commands.length&&!this._actionHandler&&!this._findCommand("help"))?(this._helpCommand===void 0&&this.helpCommand(void 0,void 0),this._helpCommand):null}hook(e,r){let i=["preSubcommand","preAction","postAction"];if(!i.includes(e))throw new Error(`Unexpected value for event passed to hook : '${e}'.
48
+ Expecting one of '${i.join("', '")}'`);return this._lifeCycleHooks[e]?this._lifeCycleHooks[e].push(r):this._lifeCycleHooks[e]=[r],this}exitOverride(e){return e?this._exitCallback=e:this._exitCallback=r=>{if(r.code!=="commander.executeSubCommandAsync")throw r},this}_exit(e,r,i){this._exitCallback&&this._exitCallback(new en(e,r,i)),j.exit(e)}action(e){let r=i=>{let s=this.registeredArguments.length,n=i.slice(0,s);return this._storeOptionsAsProperties?n[s]=this:n[s]=this.opts(),n.push(this),e.apply(this,n)};return this._actionHandler=r,this}createOption(e,r){return new oh(e,r)}_callParseArg(e,r,i,s){try{return e.parseArg(r,i)}catch(n){if(n.code==="commander.invalidArgument"){let o=`${s} ${n.message}`;this.error(o,{exitCode:n.exitCode,code:n.code})}throw n}}_registerOption(e){let r=e.short&&this._findOption(e.short)||e.long&&this._findOption(e.long);if(r){let i=e.long&&this._findOption(e.long)?e.long:e.short;throw new Error(`Cannot add option '${e.flags}'${this._name&&` to command '${this._name}'`} due to conflicting flag '${i}'
49
+ - already used by option '${r.flags}'`)}this.options.push(e)}_registerCommand(e){let r=s=>[s.name()].concat(s.aliases()),i=r(e).find(s=>this._findCommand(s));if(i){let s=r(this._findCommand(i)).join("|"),n=r(e).join("|");throw new Error(`cannot add command '${n}' as already have command '${s}'`)}this.commands.push(e)}addOption(e){this._registerOption(e);let r=e.name(),i=e.attributeName();if(e.negate){let n=e.long.replace(/^--no-/,"--");this._findOption(n)||this.setOptionValueWithSource(i,e.defaultValue===void 0?!0:e.defaultValue,"default")}else e.defaultValue!==void 0&&this.setOptionValueWithSource(i,e.defaultValue,"default");let s=(n,o,u)=>{n==null&&e.presetArg!==void 0&&(n=e.presetArg);let a=this.getOptionValue(i);n!==null&&e.parseArg?n=this._callParseArg(e,n,a,o):n!==null&&e.variadic&&(n=e._concatValue(n,a)),n==null&&(e.negate?n=!1:e.isBoolean()||e.optional?n=!0:n=""),this.setOptionValueWithSource(i,n,u)};return this.on("option:"+r,n=>{let o=`error: option '${e.flags}' argument '${n}' is invalid.`;s(n,o,"cli")}),e.envVar&&this.on("optionEnv:"+r,n=>{let o=`error: option '${e.flags}' value '${n}' from env '${e.envVar}' is invalid.`;s(n,o,"env")}),this}_optionEx(e,r,i,s,n){if(typeof r=="object"&&r instanceof oh)throw new Error("To add an Option object use addOption() instead of option() or requiredOption()");let o=this.createOption(r,i);if(o.makeOptionMandatory(!!e.mandatory),typeof s=="function")o.default(n).argParser(s);else if(s instanceof RegExp){let u=s;s=(a,l)=>{let c=u.exec(a);return c?c[0]:l},o.default(n).argParser(s)}else o.default(s);return this.addOption(o)}option(e,r,i,s){return this._optionEx({},e,r,i,s)}requiredOption(e,r,i,s){return this._optionEx({mandatory:!0},e,r,i,s)}combineFlagAndOptionalValue(e=!0){return this._combineFlagAndOptionalValue=!!e,this}allowUnknownOption(e=!0){return this._allowUnknownOption=!!e,this}allowExcessArguments(e=!0){return this._allowExcessArguments=!!e,this}enablePositionalOptions(e=!0){return this._enablePositionalOptions=!!e,this}passThroughOptions(e=!0){return this._passThroughOptions=!!e,this._checkForBrokenPassThrough(),this}_checkForBrokenPassThrough(){if(this.parent&&this._passThroughOptions&&!this.parent._enablePositionalOptions)throw new Error(`passThroughOptions cannot be used for '${this._name}' without turning on enablePositionalOptions for parent command(s)`)}storeOptionsAsProperties(e=!0){if(this.options.length)throw new Error("call .storeOptionsAsProperties() before adding options");if(Object.keys(this._optionValues).length)throw new Error("call .storeOptionsAsProperties() before setting option values");return this._storeOptionsAsProperties=!!e,this}getOptionValue(e){return this._storeOptionsAsProperties?this[e]:this._optionValues[e]}setOptionValue(e,r){return this.setOptionValueWithSource(e,r,void 0)}setOptionValueWithSource(e,r,i){return this._storeOptionsAsProperties?this[e]=r:this._optionValues[e]=r,this._optionValueSources[e]=i,this}getOptionValueSource(e){return this._optionValueSources[e]}getOptionValueSourceWithGlobals(e){let r;return this._getCommandAndAncestors().forEach(i=>{i.getOptionValueSource(e)!==void 0&&(r=i.getOptionValueSource(e))}),r}_prepareUserArgs(e,r){if(e!==void 0&&!Array.isArray(e))throw new Error("first parameter to parse must be array or undefined");if(r=r||{},e===void 0&&r.from===void 0){j.versions?.electron&&(r.from="electron");let s=j.execArgv??[];(s.includes("-e")||s.includes("--eval")||s.includes("-p")||s.includes("--print"))&&(r.from="eval")}e===void 0&&(e=j.argv),this.rawArgs=e.slice();let i;switch(r.from){case void 0:case"node":this._scriptPath=e[1],i=e.slice(2);break;case"electron":j.defaultApp?(this._scriptPath=e[1],i=e.slice(2)):i=e.slice(1);break;case"user":i=e.slice(0);break;case"eval":i=e.slice(1);break;default:throw new Error(`unexpected parse option { from: '${r.from}' }`)}return!this._name&&this._scriptPath&&this.nameFromFilename(this._scriptPath),this._name=this._name||"program",i}parse(e,r){this._prepareForParse();let i=this._prepareUserArgs(e,r);return this._parseCommand([],i),this}async parseAsync(e,r){this._prepareForParse();let i=this._prepareUserArgs(e,r);return await this._parseCommand([],i),this}_prepareForParse(){this._savedState===null?this.saveStateBeforeParse():this.restoreStateBeforeParse()}saveStateBeforeParse(){this._savedState={_name:this._name,_optionValues:{...this._optionValues},_optionValueSources:{...this._optionValueSources}}}restoreStateBeforeParse(){if(this._storeOptionsAsProperties)throw new Error(`Can not call parse again when storeOptionsAsProperties is true.
50
+ - either make a new Command for each call to parse, or stop storing options as properties`);this._name=this._savedState._name,this._scriptPath=null,this.rawArgs=[],this._optionValues={...this._savedState._optionValues},this._optionValueSources={...this._savedState._optionValueSources},this.args=[],this.processedArgs=[]}_checkForMissingExecutable(e,r,i){if(Sr.existsSync(e))return;let s=r?`searched for local subcommand relative to directory '${r}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",n=`'${e}' does not exist
51
+ - if '${i}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
52
+ - if the default executable name is not suitable, use the executableFile option to supply a custom name or path
53
+ - ${s}`;throw new Error(n)}_executeSubCommand(e,r){r=r.slice();let i=!1,s=[".js",".ts",".tsx",".mjs",".cjs"];function n(c,h){let f=Be.resolve(c,h);if(Sr.existsSync(f))return f;if(s.includes(Be.extname(h)))return;let _=s.find(p=>Sr.existsSync(`${f}${p}`));if(_)return`${f}${_}`}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let o=e._executableFile||`${this._name}-${e._name}`,u=this._executableDir||"";if(this._scriptPath){let c;try{c=Sr.realpathSync(this._scriptPath)}catch{c=this._scriptPath}u=Be.resolve(Be.dirname(c),u)}if(u){let c=n(u,o);if(!c&&!e._executableFile&&this._scriptPath){let h=Be.basename(this._scriptPath,Be.extname(this._scriptPath));h!==this._name&&(c=n(u,`${h}-${e._name}`))}o=c||o}i=s.includes(Be.extname(o));let a;j.platform!=="win32"?i?(r.unshift(o),r=ah(j.execArgv).concat(r),a=Js.spawn(j.argv[0],r,{stdio:"inherit"})):a=Js.spawn(o,r,{stdio:"inherit"}):(this._checkForMissingExecutable(o,u,e._name),r.unshift(o),r=ah(j.execArgv).concat(r),a=Js.spawn(j.execPath,r,{stdio:"inherit"})),a.killed||["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach(h=>{j.on(h,()=>{a.killed===!1&&a.exitCode===null&&a.kill(h)})});let l=this._exitCallback;a.on("close",c=>{c=c??1,l?l(new en(c,"commander.executeSubCommandAsync","(close)")):j.exit(c)}),a.on("error",c=>{if(c.code==="ENOENT")this._checkForMissingExecutable(o,u,e._name);else if(c.code==="EACCES")throw new Error(`'${o}' not executable`);if(!l)j.exit(1);else{let h=new en(1,"commander.executeSubCommandAsync","(error)");h.nestedError=c,l(h)}}),this.runningCommand=a}_dispatchSubcommand(e,r,i){let s=this._findCommand(e);s||this.help({error:!0}),s._prepareForParse();let n;return n=this._chainOrCallSubCommandHook(n,s,"preSubcommand"),n=this._chainOrCall(n,()=>{if(s._executableHandler)this._executeSubCommand(s,r.concat(i));else return s._parseCommand(r,i)}),n}_dispatchHelpCommand(e){e||this.help();let r=this._findCommand(e);return r&&!r._executableHandler&&r.help(),this._dispatchSubcommand(e,[],[this._getHelpOption()?.long??this._getHelpOption()?.short??"--help"])}_checkNumberOfArguments(){this.registeredArguments.forEach((e,r)=>{e.required&&this.args[r]==null&&this.missingArgument(e.name())}),!(this.registeredArguments.length>0&&this.registeredArguments[this.registeredArguments.length-1].variadic)&&this.args.length>this.registeredArguments.length&&this._excessArguments(this.args)}_processArguments(){let e=(i,s,n)=>{let o=s;if(s!==null&&i.parseArg){let u=`error: command-argument value '${s}' is invalid for argument '${i.name()}'.`;o=this._callParseArg(i,s,n,u)}return o};this._checkNumberOfArguments();let r=[];this.registeredArguments.forEach((i,s)=>{let n=i.defaultValue;i.variadic?s<this.args.length?(n=this.args.slice(s),i.parseArg&&(n=n.reduce((o,u)=>e(i,u,o),i.defaultValue))):n===void 0&&(n=[]):s<this.args.length&&(n=this.args[s],i.parseArg&&(n=e(i,n,i.defaultValue))),r[s]=n}),this.processedArgs=r}_chainOrCall(e,r){return e&&e.then&&typeof e.then=="function"?e.then(()=>r()):r()}_chainOrCallHooks(e,r){let i=e,s=[];return this._getCommandAndAncestors().reverse().filter(n=>n._lifeCycleHooks[r]!==void 0).forEach(n=>{n._lifeCycleHooks[r].forEach(o=>{s.push({hookedCommand:n,callback:o})})}),r==="postAction"&&s.reverse(),s.forEach(n=>{i=this._chainOrCall(i,()=>n.callback(n.hookedCommand,this))}),i}_chainOrCallSubCommandHook(e,r,i){let s=e;return this._lifeCycleHooks[i]!==void 0&&this._lifeCycleHooks[i].forEach(n=>{s=this._chainOrCall(s,()=>n(this,r))}),s}_parseCommand(e,r){let i=this.parseOptions(r);if(this._parseOptionsEnv(),this._parseOptionsImplied(),e=e.concat(i.operands),r=i.unknown,this.args=e.concat(r),e&&this._findCommand(e[0]))return this._dispatchSubcommand(e[0],e.slice(1),r);if(this._getHelpCommand()&&e[0]===this._getHelpCommand().name())return this._dispatchHelpCommand(e[1]);if(this._defaultCommandName)return this._outputHelpIfRequested(r),this._dispatchSubcommand(this._defaultCommandName,e,r);this.commands.length&&this.args.length===0&&!this._actionHandler&&!this._defaultCommandName&&this.help({error:!0}),this._outputHelpIfRequested(i.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let s=()=>{i.unknown.length>0&&this.unknownOption(i.unknown[0])},n=`command:${this.name()}`;if(this._actionHandler){s(),this._processArguments();let o;return o=this._chainOrCallHooks(o,"preAction"),o=this._chainOrCall(o,()=>this._actionHandler(this.processedArgs)),this.parent&&(o=this._chainOrCall(o,()=>{this.parent.emit(n,e,r)})),o=this._chainOrCallHooks(o,"postAction"),o}if(this.parent&&this.parent.listenerCount(n))s(),this._processArguments(),this.parent.emit(n,e,r);else if(e.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",e,r);this.listenerCount("command:*")?this.emit("command:*",e,r):this.commands.length?this.unknownCommand():(s(),this._processArguments())}else this.commands.length?(s(),this.help({error:!0})):(s(),this._processArguments())}_findCommand(e){if(e)return this.commands.find(r=>r._name===e||r._aliases.includes(e))}_findOption(e){return this.options.find(r=>r.is(e))}_checkForMissingMandatoryOptions(){this._getCommandAndAncestors().forEach(e=>{e.options.forEach(r=>{r.mandatory&&e.getOptionValue(r.attributeName())===void 0&&e.missingMandatoryOptionValue(r)})})}_checkForConflictingLocalOptions(){let e=this.options.filter(i=>{let s=i.attributeName();return this.getOptionValue(s)===void 0?!1:this.getOptionValueSource(s)!=="default"});e.filter(i=>i.conflictsWith.length>0).forEach(i=>{let s=e.find(n=>i.conflictsWith.includes(n.attributeName()));s&&this._conflictingOption(i,s)})}_checkForConflictingOptions(){this._getCommandAndAncestors().forEach(e=>{e._checkForConflictingLocalOptions()})}parseOptions(e){let r=[],i=[],s=r,n=e.slice();function o(a){return a.length>1&&a[0]==="-"}let u=null;for(;n.length;){let a=n.shift();if(a==="--"){s===i&&s.push(a),s.push(...n);break}if(u&&!o(a)){this.emit(`option:${u.name()}`,a);continue}if(u=null,o(a)){let l=this._findOption(a);if(l){if(l.required){let c=n.shift();c===void 0&&this.optionMissingArgument(l),this.emit(`option:${l.name()}`,c)}else if(l.optional){let c=null;n.length>0&&!o(n[0])&&(c=n.shift()),this.emit(`option:${l.name()}`,c)}else this.emit(`option:${l.name()}`);u=l.variadic?l:null;continue}}if(a.length>2&&a[0]==="-"&&a[1]!=="-"){let l=this._findOption(`-${a[1]}`);if(l){l.required||l.optional&&this._combineFlagAndOptionalValue?this.emit(`option:${l.name()}`,a.slice(2)):(this.emit(`option:${l.name()}`),n.unshift(`-${a.slice(2)}`));continue}}if(/^--[^=]+=/.test(a)){let l=a.indexOf("="),c=this._findOption(a.slice(0,l));if(c&&(c.required||c.optional)){this.emit(`option:${c.name()}`,a.slice(l+1));continue}}if(o(a)&&(s=i),(this._enablePositionalOptions||this._passThroughOptions)&&r.length===0&&i.length===0){if(this._findCommand(a)){r.push(a),n.length>0&&i.push(...n);break}else if(this._getHelpCommand()&&a===this._getHelpCommand().name()){r.push(a),n.length>0&&r.push(...n);break}else if(this._defaultCommandName){i.push(a),n.length>0&&i.push(...n);break}}if(this._passThroughOptions){s.push(a),n.length>0&&s.push(...n);break}s.push(a)}return{operands:r,unknown:i}}opts(){if(this._storeOptionsAsProperties){let e={},r=this.options.length;for(let i=0;i<r;i++){let s=this.options[i].attributeName();e[s]=s===this._versionOptionName?this._version:this[s]}return e}return this._optionValues}optsWithGlobals(){return this._getCommandAndAncestors().reduce((e,r)=>Object.assign(e,r.opts()),{})}error(e,r){this._outputConfiguration.outputError(`${e}
54
+ `,this._outputConfiguration.writeErr),typeof this._showHelpAfterError=="string"?this._outputConfiguration.writeErr(`${this._showHelpAfterError}
55
+ `):this._showHelpAfterError&&(this._outputConfiguration.writeErr(`
56
+ `),this.outputHelp({error:!0}));let i=r||{},s=i.exitCode||1,n=i.code||"commander.error";this._exit(s,n,e)}_parseOptionsEnv(){this.options.forEach(e=>{if(e.envVar&&e.envVar in j.env){let r=e.attributeName();(this.getOptionValue(r)===void 0||["default","config","env"].includes(this.getOptionValueSource(r)))&&(e.required||e.optional?this.emit(`optionEnv:${e.name()}`,j.env[e.envVar]):this.emit(`optionEnv:${e.name()}`))}})}_parseOptionsImplied(){let e=new y0(this.options),r=i=>this.getOptionValue(i)!==void 0&&!["default","implied"].includes(this.getOptionValueSource(i));this.options.filter(i=>i.implied!==void 0&&r(i.attributeName())&&e.valueFromOption(this.getOptionValue(i.attributeName()),i)).forEach(i=>{Object.keys(i.implied).filter(s=>!r(s)).forEach(s=>{this.setOptionValueWithSource(s,i.implied[s],"implied")})})}missingArgument(e){let r=`error: missing required argument '${e}'`;this.error(r,{code:"commander.missingArgument"})}optionMissingArgument(e){let r=`error: option '${e.flags}' argument missing`;this.error(r,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(e){let r=`error: required option '${e.flags}' not specified`;this.error(r,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(e,r){let i=o=>{let u=o.attributeName(),a=this.getOptionValue(u),l=this.options.find(h=>h.negate&&u===h.attributeName()),c=this.options.find(h=>!h.negate&&u===h.attributeName());return l&&(l.presetArg===void 0&&a===!1||l.presetArg!==void 0&&a===l.presetArg)?l:c||o},s=o=>{let u=i(o),a=u.attributeName();return this.getOptionValueSource(a)==="env"?`environment variable '${u.envVar}'`:`option '${u.flags}'`},n=`error: ${s(e)} cannot be used with ${s(r)}`;this.error(n,{code:"commander.conflictingOption"})}unknownOption(e){if(this._allowUnknownOption)return;let r="";if(e.startsWith("--")&&this._showSuggestionAfterError){let s=[],n=this;do{let o=n.createHelp().visibleOptions(n).filter(u=>u.long).map(u=>u.long);s=s.concat(o),n=n.parent}while(n&&!n._enablePositionalOptions);r=uh(e,s)}let i=`error: unknown option '${e}'${r}`;this.error(i,{code:"commander.unknownOption"})}_excessArguments(e){if(this._allowExcessArguments)return;let r=this.registeredArguments.length,i=r===1?"":"s",n=`error: too many arguments${this.parent?` for '${this.name()}'`:""}. Expected ${r} argument${i} but got ${e.length}.`;this.error(n,{code:"commander.excessArguments"})}unknownCommand(){let e=this.args[0],r="";if(this._showSuggestionAfterError){let s=[];this.createHelp().visibleCommands(this).forEach(n=>{s.push(n.name()),n.alias()&&s.push(n.alias())}),r=uh(e,s)}let i=`error: unknown command '${e}'${r}`;this.error(i,{code:"commander.unknownCommand"})}version(e,r,i){if(e===void 0)return this._version;this._version=e,r=r||"-V, --version",i=i||"output the version number";let s=this.createOption(r,i);return this._versionOptionName=s.attributeName(),this._registerOption(s),this.on("option:"+s.name(),()=>{this._outputConfiguration.writeOut(`${e}
57
+ `),this._exit(0,"commander.version",e)}),this}description(e,r){return e===void 0&&r===void 0?this._description:(this._description=e,r&&(this._argsDescription=r),this)}summary(e){return e===void 0?this._summary:(this._summary=e,this)}alias(e){if(e===void 0)return this._aliases[0];let r=this;if(this.commands.length!==0&&this.commands[this.commands.length-1]._executableHandler&&(r=this.commands[this.commands.length-1]),e===r._name)throw new Error("Command alias can't be the same as its name");let i=this.parent?._findCommand(e);if(i){let s=[i.name()].concat(i.aliases()).join("|");throw new Error(`cannot add alias '${e}' to command '${this.name()}' as already have command '${s}'`)}return r._aliases.push(e),this}aliases(e){return e===void 0?this._aliases:(e.forEach(r=>this.alias(r)),this)}usage(e){if(e===void 0){if(this._usage)return this._usage;let r=this.registeredArguments.map(i=>m0(i));return[].concat(this.options.length||this._helpOption!==null?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?r:[]).join(" ")}return this._usage=e,this}name(e){return e===void 0?this._name:(this._name=e,this)}nameFromFilename(e){return this._name=Be.basename(e,Be.extname(e)),this}executableDir(e){return e===void 0?this._executableDir:(this._executableDir=e,this)}helpInformation(e){let r=this.createHelp(),i=this._getOutputContext(e);r.prepareContext({error:i.error,helpWidth:i.helpWidth,outputHasColors:i.hasColors});let s=r.formatHelp(this,r);return i.hasColors?s:this._outputConfiguration.stripColor(s)}_getOutputContext(e){e=e||{};let r=!!e.error,i,s,n;return r?(i=u=>this._outputConfiguration.writeErr(u),s=this._outputConfiguration.getErrHasColors(),n=this._outputConfiguration.getErrHelpWidth()):(i=u=>this._outputConfiguration.writeOut(u),s=this._outputConfiguration.getOutHasColors(),n=this._outputConfiguration.getOutHelpWidth()),{error:r,write:u=>(s||(u=this._outputConfiguration.stripColor(u)),i(u)),hasColors:s,helpWidth:n}}outputHelp(e){let r;typeof e=="function"&&(r=e,e=void 0);let i=this._getOutputContext(e),s={error:i.error,write:i.write,command:this};this._getCommandAndAncestors().reverse().forEach(o=>o.emit("beforeAllHelp",s)),this.emit("beforeHelp",s);let n=this.helpInformation({error:i.error});if(r&&(n=r(n),typeof n!="string"&&!Buffer.isBuffer(n)))throw new Error("outputHelp callback must return a string or a Buffer");i.write(n),this._getHelpOption()?.long&&this.emit(this._getHelpOption().long),this.emit("afterHelp",s),this._getCommandAndAncestors().forEach(o=>o.emit("afterAllHelp",s))}helpOption(e,r){return typeof e=="boolean"?(e?this._helpOption=this._helpOption??void 0:this._helpOption=null,this):(e=e??"-h, --help",r=r??"display help for command",this._helpOption=this.createOption(e,r),this)}_getHelpOption(){return this._helpOption===void 0&&this.helpOption(void 0,void 0),this._helpOption}addHelpOption(e){return this._helpOption=e,this}help(e){this.outputHelp(e);let r=Number(j.exitCode??0);r===0&&e&&typeof e!="function"&&e.error&&(r=1),this._exit(r,"commander.help","(outputHelp)")}addHelpText(e,r){let i=["beforeAll","before","after","afterAll"];if(!i.includes(e))throw new Error(`Unexpected value for position to addHelpText.
58
+ Expecting one of '${i.join("', '")}'`);let s=`${e}Help`;return this.on(s,n=>{let o;typeof r=="function"?o=r({error:n.error,command:n.command}):o=r,o&&n.write(`${o}
59
+ `)}),this}_outputHelpIfRequested(e){let r=this._getHelpOption();r&&e.find(s=>r.is(s))&&(this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)"))}};function ah(t){return t.map(e=>{if(!e.startsWith("--inspect"))return e;let r,i="127.0.0.1",s="9229",n;return(n=e.match(/^(--inspect(-brk)?)$/))!==null?r=n[1]:(n=e.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null?(r=n[1],/^\d+$/.test(n[3])?s=n[3]:i=n[3]):(n=e.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null&&(r=n[1],i=n[3],s=n[4]),r&&s!=="0"?`${r}=${i}:${parseInt(s)+1}`:e})}function rn(){if(j.env.NO_COLOR||j.env.FORCE_COLOR==="0"||j.env.FORCE_COLOR==="false")return!1;if(j.env.FORCE_COLOR||j.env.CLICOLOR_FORCE!==void 0)return!0}sn.Command=tn;sn.useColor=rn});var ph=d(pe=>{var{Argument:ch}=Ar(),{Command:nn}=lh(),{CommanderError:_0,InvalidArgumentError:hh}=kt(),{Help:b0}=Ks(),{Option:fh}=Zs();pe.program=new nn;pe.createCommand=t=>new nn(t);pe.createOption=(t,e)=>new fh(t,e);pe.createArgument=(t,e)=>new ch(t,e);pe.Command=nn;pe.Option=fh;pe.Argument=ch;pe.Help=b0;pe.CommanderError=_0;pe.InvalidArgumentError=hh;pe.InvalidOptionArgumentError=hh});var bh=d((nv,O0)=>{O0.exports={dots:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},dots2:{interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},dots3:{interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},dots4:{interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},dots5:{interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},dots6:{interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},dots7:{interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},dots8:{interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},dots9:{interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},dots10:{interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},dots11:{interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},dots12:{interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},dots13:{interval:80,frames:["\u28FC","\u28F9","\u28BB","\u283F","\u285F","\u28CF","\u28E7","\u28F6"]},dots8Bit:{interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},sand:{interval:80,frames:["\u2801","\u2802","\u2804","\u2840","\u2848","\u2850","\u2860","\u28C0","\u28C1","\u28C2","\u28C4","\u28CC","\u28D4","\u28E4","\u28E5","\u28E6","\u28EE","\u28F6","\u28F7","\u28FF","\u287F","\u283F","\u289F","\u281F","\u285B","\u281B","\u282B","\u288B","\u280B","\u280D","\u2849","\u2809","\u2811","\u2821","\u2881"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},pipe:{interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},hamburger:{interval:100,frames:["\u2631","\u2632","\u2634"]},growVertical:{interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},growHorizontal:{interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","\xB0","O","o","."]},noise:{interval:100,frames:["\u2593","\u2592","\u2591"]},bounce:{interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},boxBounce:{interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},boxBounce2:{interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},triangle:{interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},binary:{interval:80,frames:["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},arc:{interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},circle:{interval:120,frames:["\u25E1","\u2299","\u25E0"]},squareCorners:{interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},circleQuarters:{interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},circleHalves:{interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},squish:{interval:100,frames:["\u256B","\u256A"]},toggle:{interval:250,frames:["\u22B6","\u22B7"]},toggle2:{interval:80,frames:["\u25AB","\u25AA"]},toggle3:{interval:120,frames:["\u25A1","\u25A0"]},toggle4:{interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},toggle5:{interval:100,frames:["\u25AE","\u25AF"]},toggle6:{interval:300,frames:["\u101D","\u1040"]},toggle7:{interval:80,frames:["\u29BE","\u29BF"]},toggle8:{interval:100,frames:["\u25CD","\u25CC"]},toggle9:{interval:100,frames:["\u25C9","\u25CE"]},toggle10:{interval:100,frames:["\u3282","\u3280","\u3281"]},toggle11:{interval:50,frames:["\u29C7","\u29C6"]},toggle12:{interval:120,frames:["\u2617","\u2616"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},arrow2:{interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},arrow3:{interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},smiley:{interval:200,frames:["\u{1F604} ","\u{1F61D} "]},monkey:{interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},hearts:{interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u2764\uFE0F "]},clock:{interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},earth:{interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},material:{interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},moon:{interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},runner:{interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},pong:{interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},shark:{interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},christmas:{interval:400,frames:["\u{1F332}","\u{1F384}"]},grenade:{interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},point:{interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},layer:{interval:150,frames:["-","=","\u2261"]},betaWave:{interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},fingerDance:{interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},fistBump:{interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},soccerHeader:{interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},mindblown:{interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},speaker:{interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},orangePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},bluePulse:{interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},orangeBluePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},timeTravel:{interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},aesthetic:{interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]},dwarfFortress:{interval:80,frames:[" \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A \u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A \xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A \xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\u2593\xA3 "," \u263A\u2593\xA3 "," \u263A\u2592\xA3 "," \u263A\u2592\xA3 "," \u263A\u2591\xA3 "," \u263A\u2591\xA3 "," \u263A \xA3 "," \u263A\xA3 "," \u263A\xA3 "," \u263A\u2593 "," \u263A\u2593 "," \u263A\u2592 "," \u263A\u2592 "," \u263A\u2591 "," \u263A\u2591 "," \u263A "," \u263A &"," \u263A \u263C&"," \u263A \u263C &"," \u263A\u263C &"," \u263A\u263C & "," \u203C & "," \u263A & "," \u203C & "," \u263A & "," \u203C & "," \u263A & ","\u203C & "," & "," & "," & \u2591 "," & \u2592 "," & \u2593 "," & \xA3 "," & \u2591\xA3 "," & \u2592\xA3 "," & \u2593\xA3 "," & \xA3\xA3 "," & \u2591\xA3\xA3 "," & \u2592\xA3\xA3 ","& \u2593\xA3\xA3 ","& \xA3\xA3\xA3 "," \u2591\xA3\xA3\xA3 "," \u2592\xA3\xA3\xA3 "," \u2593\xA3\xA3\xA3 "," \u2588\xA3\xA3\xA3 "," \u2591\u2588\xA3\xA3\xA3 "," \u2592\u2588\xA3\xA3\xA3 "," \u2593\u2588\xA3\xA3\xA3 "," \u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "]}}});var ln=d((ov,Eh)=>{"use strict";var Br=Object.assign({},bh()),Fh=Object.keys(Br);Object.defineProperty(Br,"random",{get(){let t=Math.floor(Math.random()*Fh.length),e=Fh[t];return Br[e]}});Eh.exports=Br});var Sh=d((Fv,Ah)=>{Ah.exports=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\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?|[\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](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\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-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g});var Bh=d(pt=>{"use strict";Object.defineProperty(pt,"__esModule",{value:!0});pt.splitWhen=pt.flatten=void 0;function H0(t){return t.reduce((e,r)=>[].concat(e,r),[])}pt.flatten=H0;function V0(t,e){let r=[[]],i=0;for(let s of t)e(s)?(i++,r[i]=[]):r[i].push(s);return r}pt.splitWhen=V0});var Ph=d(Rr=>{"use strict";Object.defineProperty(Rr,"__esModule",{value:!0});Rr.isEnoentCodeError=void 0;function W0(t){return t.code==="ENOENT"}Rr.isEnoentCodeError=W0});var Rh=d(kr=>{"use strict";Object.defineProperty(kr,"__esModule",{value:!0});kr.createDirentFromStats=void 0;var En=class{constructor(e,r){this.name=e,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function G0(t,e){return new En(t,e)}kr.createDirentFromStats=G0});var Lh=d(X=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0});X.convertPosixPathToPattern=X.convertWindowsPathToPattern=X.convertPathToPattern=X.escapePosixPath=X.escapeWindowsPath=X.escape=X.removeLeadingDotSegment=X.makeAbsolute=X.unixify=void 0;var U0=require("os"),z0=require("path"),kh=U0.platform()==="win32",K0=2,Y0=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,Q0=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,X0=/^\\\\([.?])/,Z0=/\\(?![!()+@[\]{}])/g;function J0(t){return t.replace(/\\/g,"/")}X.unixify=J0;function ey(t,e){return z0.resolve(t,e)}X.makeAbsolute=ey;function ty(t){if(t.charAt(0)==="."){let e=t.charAt(1);if(e==="/"||e==="\\")return t.slice(K0)}return t}X.removeLeadingDotSegment=ty;X.escape=kh?Cn:wn;function Cn(t){return t.replace(Q0,"\\$2")}X.escapeWindowsPath=Cn;function wn(t){return t.replace(Y0,"\\$2")}X.escapePosixPath=wn;X.convertPathToPattern=kh?$h:Ih;function $h(t){return Cn(t).replace(X0,"//$1").replace(Z0,"/")}X.convertWindowsPathToPattern=$h;function Ih(t){return wn(t)}X.convertPosixPathToPattern=Ih});var Mh=d((Vv,jh)=>{jh.exports=function(e){if(typeof e!="string"||e==="")return!1;for(var r;r=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(r[2])return!0;e=e.slice(r.index+r[0].length)}return!1}});var Hh=d((Wv,qh)=>{var ry=Mh(),Nh={"{":"}","(":")","[":"]"},iy=function(t){if(t[0]==="!")return!0;for(var e=0,r=-2,i=-2,s=-2,n=-2,o=-2;e<t.length;){if(t[e]==="*"||t[e+1]==="?"&&/[\].+)]/.test(t[e])||i!==-1&&t[e]==="["&&t[e+1]!=="]"&&(i<e&&(i=t.indexOf("]",e)),i>e&&(o===-1||o>i||(o=t.indexOf("\\",e),o===-1||o>i)))||s!==-1&&t[e]==="{"&&t[e+1]!=="}"&&(s=t.indexOf("}",e),s>e&&(o=t.indexOf("\\",e),o===-1||o>s))||n!==-1&&t[e]==="("&&t[e+1]==="?"&&/[:!=]/.test(t[e+2])&&t[e+3]!==")"&&(n=t.indexOf(")",e),n>e&&(o=t.indexOf("\\",e),o===-1||o>n))||r!==-1&&t[e]==="("&&t[e+1]!=="|"&&(r<e&&(r=t.indexOf("|",e)),r!==-1&&t[r+1]!==")"&&(n=t.indexOf(")",r),n>r&&(o=t.indexOf("\\",r),o===-1||o>n))))return!0;if(t[e]==="\\"){var u=t[e+1];e+=2;var a=Nh[u];if(a){var l=t.indexOf(a,e);l!==-1&&(e=l+1)}if(t[e]==="!")return!0}else e++}return!1},sy=function(t){if(t[0]==="!")return!0;for(var e=0;e<t.length;){if(/[*?{}()[\]]/.test(t[e]))return!0;if(t[e]==="\\"){var r=t[e+1];e+=2;var i=Nh[r];if(i){var s=t.indexOf(i,e);s!==-1&&(e=s+1)}if(t[e]==="!")return!0}else e++}return!1};qh.exports=function(e,r){if(typeof e!="string"||e==="")return!1;if(ry(e))return!0;var i=iy;return r&&r.strict===!1&&(i=sy),i(e)}});var Wh=d((Gv,Vh)=>{"use strict";var ny=Hh(),oy=require("path").posix.dirname,uy=require("os").platform()==="win32",vn="/",ay=/\\/g,ly=/[\{\[].*[\}\]]$/,cy=/(^|[^\\])([\{\[]|\([^\)]+$)/,hy=/\\([\!\*\?\|\[\]\(\)\{\}])/g;Vh.exports=function(e,r){var i=Object.assign({flipBackslashes:!0},r);i.flipBackslashes&&uy&&e.indexOf(vn)<0&&(e=e.replace(ay,vn)),ly.test(e)&&(e+=vn),e+="a";do e=oy(e);while(ny(e)||cy.test(e));return e.replace(hy,"$1")}});var $r=d(me=>{"use strict";me.isInteger=t=>typeof t=="number"?Number.isInteger(t):typeof t=="string"&&t.trim()!==""?Number.isInteger(Number(t)):!1;me.find=(t,e)=>t.nodes.find(r=>r.type===e);me.exceedsLimit=(t,e,r=1,i)=>i===!1||!me.isInteger(t)||!me.isInteger(e)?!1:(Number(e)-Number(t))/Number(r)>=i;me.escapeNode=(t,e=0,r)=>{let i=t.nodes[e];i&&(r&&i.type===r||i.type==="open"||i.type==="close")&&i.escaped!==!0&&(i.value="\\"+i.value,i.escaped=!0)};me.encloseBrace=t=>t.type!=="brace"||t.commas>>0+t.ranges>>0?!1:(t.invalid=!0,!0);me.isInvalidBrace=t=>t.type!=="brace"?!1:t.invalid===!0||t.dollar?!0:!(t.commas>>0+t.ranges>>0)||t.open!==!0||t.close!==!0?(t.invalid=!0,!0):!1;me.isOpenOrClose=t=>t.type==="open"||t.type==="close"?!0:t.open===!0||t.close===!0;me.reduce=t=>t.reduce((e,r)=>(r.type==="text"&&e.push(r.value),r.type==="range"&&(r.type="text"),e),[]);me.flatten=(...t)=>{let e=[],r=i=>{for(let s=0;s<i.length;s++){let n=i[s];if(Array.isArray(n)){r(n);continue}n!==void 0&&e.push(n)}return e};return r(t),e}});var Ir=d((zv,Uh)=>{"use strict";var Gh=$r();Uh.exports=(t,e={})=>{let r=(i,s={})=>{let n=e.escapeInvalid&&Gh.isInvalidBrace(s),o=i.invalid===!0&&e.escapeInvalid===!0,u="";if(i.value)return(n||o)&&Gh.isOpenOrClose(i)?"\\"+i.value:i.value;if(i.value)return i.value;if(i.nodes)for(let a of i.nodes)u+=r(a);return u};return r(t)}});var Kh=d((Kv,zh)=>{"use strict";zh.exports=function(t){return typeof t=="number"?t-t===0:typeof t=="string"&&t.trim()!==""?Number.isFinite?Number.isFinite(+t):isFinite(+t):!1}});var sf=d((Yv,rf)=>{"use strict";var Yh=Kh(),Je=(t,e,r)=>{if(Yh(t)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(e===void 0||t===e)return String(t);if(Yh(e)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let i={relaxZeros:!0,...r};typeof i.strictZeros=="boolean"&&(i.relaxZeros=i.strictZeros===!1);let s=String(i.relaxZeros),n=String(i.shorthand),o=String(i.capture),u=String(i.wrap),a=t+":"+e+"="+s+n+o+u;if(Je.cache.hasOwnProperty(a))return Je.cache[a].result;let l=Math.min(t,e),c=Math.max(t,e);if(Math.abs(l-c)===1){let D=t+"|"+e;return i.capture?`(${D})`:i.wrap===!1?D:`(?:${D})`}let h=tf(t)||tf(e),f={min:t,max:e,a:l,b:c},_=[],p=[];if(h&&(f.isPadded=h,f.maxLen=String(f.max).length),l<0){let D=c<0?Math.abs(c):1;p=Qh(D,Math.abs(l),f,i),l=f.a=0}return c>=0&&(_=Qh(l,c,f,i)),f.negatives=p,f.positives=_,f.result=fy(p,_,i),i.capture===!0?f.result=`(${f.result})`:i.wrap!==!1&&_.length+p.length>1&&(f.result=`(?:${f.result})`),Je.cache[a]=f,f.result};function fy(t,e,r){let i=xn(t,e,"-",!1,r)||[],s=xn(e,t,"",!1,r)||[],n=xn(t,e,"-?",!0,r)||[];return i.concat(n).concat(s).join("|")}function py(t,e){let r=1,i=1,s=Zh(t,r),n=new Set([e]);for(;t<=s&&s<=e;)n.add(s),r+=1,s=Zh(t,r);for(s=Jh(e+1,i)-1;t<s&&s<=e;)n.add(s),i+=1,s=Jh(e+1,i)-1;return n=[...n],n.sort(Dy),n}function dy(t,e,r){if(t===e)return{pattern:t,count:[],digits:0};let i=my(t,e),s=i.length,n="",o=0;for(let u=0;u<s;u++){let[a,l]=i[u];a===l?n+=a:a!=="0"||l!=="9"?n+=gy(a,l,r):o++}return o&&(n+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:n,count:[o],digits:s}}function Qh(t,e,r,i){let s=py(t,e),n=[],o=t,u;for(let a=0;a<s.length;a++){let l=s[a],c=dy(String(o),String(l),i),h="";if(!r.isPadded&&u&&u.pattern===c.pattern){u.count.length>1&&u.count.pop(),u.count.push(c.count[0]),u.string=u.pattern+ef(u.count),o=l+1;continue}r.isPadded&&(h=yy(l,r,i)),c.string=h+c.pattern+ef(c.count),n.push(c),o=l+1,u=c}return n}function xn(t,e,r,i,s){let n=[];for(let o of t){let{string:u}=o;!i&&!Xh(e,"string",u)&&n.push(r+u),i&&Xh(e,"string",u)&&n.push(r+u)}return n}function my(t,e){let r=[];for(let i=0;i<t.length;i++)r.push([t[i],e[i]]);return r}function Dy(t,e){return t>e?1:e>t?-1:0}function Xh(t,e,r){return t.some(i=>i[e]===r)}function Zh(t,e){return Number(String(t).slice(0,-e)+"9".repeat(e))}function Jh(t,e){return t-t%Math.pow(10,e)}function ef(t){let[e=0,r=""]=t;return r||e>1?`{${e+(r?","+r:"")}}`:""}function gy(t,e,r){return`[${t}${e-t===1?"":"-"}${e}]`}function tf(t){return/^-?(0+)\d/.test(t)}function yy(t,e,r){if(!e.isPadded)return t;let i=Math.abs(e.maxLen-String(t).length),s=r.relaxZeros!==!1;switch(i){case 0:return"";case 1:return s?"0?":"0";case 2:return s?"0{0,2}":"00";default:return s?`0{0,${i}}`:`0{${i}}`}}Je.cache={};Je.clearCache=()=>Je.cache={};rf.exports=Je});var On=d((Qv,hf)=>{"use strict";var _y=require("util"),of=sf(),nf=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),by=t=>e=>t===!0?Number(e):String(e),An=t=>typeof t=="number"||typeof t=="string"&&t!=="",qt=t=>Number.isInteger(+t),Sn=t=>{let e=`${t}`,r=-1;if(e[0]==="-"&&(e=e.slice(1)),e==="0")return!1;for(;e[++r]==="0";);return r>0},Fy=(t,e,r)=>typeof t=="string"||typeof e=="string"?!0:r.stringify===!0,Ey=(t,e,r)=>{if(e>0){let i=t[0]==="-"?"-":"";i&&(t=t.slice(1)),t=i+t.padStart(i?e-1:e,"0")}return r===!1?String(t):t},jr=(t,e)=>{let r=t[0]==="-"?"-":"";for(r&&(t=t.slice(1),e--);t.length<e;)t="0"+t;return r?"-"+t:t},Cy=(t,e,r)=>{t.negatives.sort((u,a)=>u<a?-1:u>a?1:0),t.positives.sort((u,a)=>u<a?-1:u>a?1:0);let i=e.capture?"":"?:",s="",n="",o;return t.positives.length&&(s=t.positives.map(u=>jr(String(u),r)).join("|")),t.negatives.length&&(n=`-(${i}${t.negatives.map(u=>jr(String(u),r)).join("|")})`),s&&n?o=`${s}|${n}`:o=s||n,e.wrap?`(${i}${o})`:o},uf=(t,e,r,i)=>{if(r)return of(t,e,{wrap:!1,...i});let s=String.fromCharCode(t);if(t===e)return s;let n=String.fromCharCode(e);return`[${s}-${n}]`},af=(t,e,r)=>{if(Array.isArray(t)){let i=r.wrap===!0,s=r.capture?"":"?:";return i?`(${s}${t.join("|")})`:t.join("|")}return of(t,e,r)},lf=(...t)=>new RangeError("Invalid range arguments: "+_y.inspect(...t)),cf=(t,e,r)=>{if(r.strictRanges===!0)throw lf([t,e]);return[]},wy=(t,e)=>{if(e.strictRanges===!0)throw new TypeError(`Expected step "${t}" to be a number`);return[]},vy=(t,e,r=1,i={})=>{let s=Number(t),n=Number(e);if(!Number.isInteger(s)||!Number.isInteger(n)){if(i.strictRanges===!0)throw lf([t,e]);return[]}s===0&&(s=0),n===0&&(n=0);let o=s>n,u=String(t),a=String(e),l=String(r);r=Math.max(Math.abs(r),1);let c=Sn(u)||Sn(a)||Sn(l),h=c?Math.max(u.length,a.length,l.length):0,f=c===!1&&Fy(t,e,i)===!1,_=i.transform||by(f);if(i.toRegex&&r===1)return uf(jr(t,h),jr(e,h),!0,i);let p={negatives:[],positives:[]},D=w=>p[w<0?"negatives":"positives"].push(Math.abs(w)),x=[],F=0;for(;o?s>=n:s<=n;)i.toRegex===!0&&r>1?D(s):x.push(Ey(_(s,F),h,f)),s=o?s-r:s+r,F++;return i.toRegex===!0?r>1?Cy(p,i,h):af(x,null,{wrap:!1,...i}):x},xy=(t,e,r=1,i={})=>{if(!qt(t)&&t.length>1||!qt(e)&&e.length>1)return cf(t,e,i);let s=i.transform||(f=>String.fromCharCode(f)),n=`${t}`.charCodeAt(0),o=`${e}`.charCodeAt(0),u=n>o,a=Math.min(n,o),l=Math.max(n,o);if(i.toRegex&&r===1)return uf(a,l,!1,i);let c=[],h=0;for(;u?n>=o:n<=o;)c.push(s(n,h)),n=u?n-r:n+r,h++;return i.toRegex===!0?af(c,null,{wrap:!1,options:i}):c},Lr=(t,e,r,i={})=>{if(e==null&&An(t))return[t];if(!An(t)||!An(e))return cf(t,e,i);if(typeof r=="function")return Lr(t,e,1,{transform:r});if(nf(r))return Lr(t,e,0,r);let s={...i};return s.capture===!0&&(s.wrap=!0),r=r||s.step||1,qt(r)?qt(t)&&qt(e)?vy(t,e,r,s):xy(t,e,Math.max(Math.abs(r),1),s):r!=null&&!nf(r)?wy(r,s):Lr(t,e,1,r)};hf.exports=Lr});var df=d((Xv,pf)=>{"use strict";var Ay=On(),ff=$r(),Sy=(t,e={})=>{let r=(i,s={})=>{let n=ff.isInvalidBrace(s),o=i.invalid===!0&&e.escapeInvalid===!0,u=n===!0||o===!0,a=e.escapeInvalid===!0?"\\":"",l="";if(i.isOpen===!0)return a+i.value;if(i.isClose===!0)return console.log("node.isClose",a,i.value),a+i.value;if(i.type==="open")return u?a+i.value:"(";if(i.type==="close")return u?a+i.value:")";if(i.type==="comma")return i.prev.type==="comma"?"":u?i.value:"|";if(i.value)return i.value;if(i.nodes&&i.ranges>0){let c=ff.reduce(i.nodes),h=Ay(...c,{...e,wrap:!1,toRegex:!0,strictZeros:!0});if(h.length!==0)return c.length>1&&h.length>1?`(${h})`:h}if(i.nodes)for(let c of i.nodes)l+=r(c,i);return l};return r(t)};pf.exports=Sy});var gf=d((Zv,Df)=>{"use strict";var Oy=On(),mf=Ir(),dt=$r(),et=(t="",e="",r=!1)=>{let i=[];if(t=[].concat(t),e=[].concat(e),!e.length)return t;if(!t.length)return r?dt.flatten(e).map(s=>`{${s}}`):e;for(let s of t)if(Array.isArray(s))for(let n of s)i.push(et(n,e,r));else for(let n of e)r===!0&&typeof n=="string"&&(n=`{${n}}`),i.push(Array.isArray(n)?et(s,n,r):s+n);return dt.flatten(i)},Ty=(t,e={})=>{let r=e.rangeLimit===void 0?1e3:e.rangeLimit,i=(s,n={})=>{s.queue=[];let o=n,u=n.queue;for(;o.type!=="brace"&&o.type!=="root"&&o.parent;)o=o.parent,u=o.queue;if(s.invalid||s.dollar){u.push(et(u.pop(),mf(s,e)));return}if(s.type==="brace"&&s.invalid!==!0&&s.nodes.length===2){u.push(et(u.pop(),["{}"]));return}if(s.nodes&&s.ranges>0){let h=dt.reduce(s.nodes);if(dt.exceedsLimit(...h,e.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let f=Oy(...h,e);f.length===0&&(f=mf(s,e)),u.push(et(u.pop(),f)),s.nodes=[];return}let a=dt.encloseBrace(s),l=s.queue,c=s;for(;c.type!=="brace"&&c.type!=="root"&&c.parent;)c=c.parent,l=c.queue;for(let h=0;h<s.nodes.length;h++){let f=s.nodes[h];if(f.type==="comma"&&s.type==="brace"){h===1&&l.push(""),l.push("");continue}if(f.type==="close"){u.push(et(u.pop(),l,a));continue}if(f.value&&f.type!=="open"){l.push(et(l.pop(),f.value));continue}f.nodes&&i(f,s)}return l};return dt.flatten(i(t))};Df.exports=Ty});var _f=d((Jv,yf)=>{"use strict";yf.exports={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
60
+ `,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var wf=d((ex,Cf)=>{"use strict";var By=Ir(),{MAX_LENGTH:bf,CHAR_BACKSLASH:Tn,CHAR_BACKTICK:Py,CHAR_COMMA:Ry,CHAR_DOT:ky,CHAR_LEFT_PARENTHESES:$y,CHAR_RIGHT_PARENTHESES:Iy,CHAR_LEFT_CURLY_BRACE:Ly,CHAR_RIGHT_CURLY_BRACE:jy,CHAR_LEFT_SQUARE_BRACKET:Ff,CHAR_RIGHT_SQUARE_BRACKET:Ef,CHAR_DOUBLE_QUOTE:My,CHAR_SINGLE_QUOTE:Ny,CHAR_NO_BREAK_SPACE:qy,CHAR_ZERO_WIDTH_NOBREAK_SPACE:Hy}=_f(),Vy=(t,e={})=>{if(typeof t!="string")throw new TypeError("Expected a string");let r=e||{},i=typeof r.maxLength=="number"?Math.min(bf,r.maxLength):bf;if(t.length>i)throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${i})`);let s={type:"root",input:t,nodes:[]},n=[s],o=s,u=s,a=0,l=t.length,c=0,h=0,f,_=()=>t[c++],p=D=>{if(D.type==="text"&&u.type==="dot"&&(u.type="text"),u&&u.type==="text"&&D.type==="text"){u.value+=D.value;return}return o.nodes.push(D),D.parent=o,D.prev=u,u=D,D};for(p({type:"bos"});c<l;)if(o=n[n.length-1],f=_(),!(f===Hy||f===qy)){if(f===Tn){p({type:"text",value:(e.keepEscaping?f:"")+_()});continue}if(f===Ef){p({type:"text",value:"\\"+f});continue}if(f===Ff){a++;let D;for(;c<l&&(D=_());){if(f+=D,D===Ff){a++;continue}if(D===Tn){f+=_();continue}if(D===Ef&&(a--,a===0))break}p({type:"text",value:f});continue}if(f===$y){o=p({type:"paren",nodes:[]}),n.push(o),p({type:"text",value:f});continue}if(f===Iy){if(o.type!=="paren"){p({type:"text",value:f});continue}o=n.pop(),p({type:"text",value:f}),o=n[n.length-1];continue}if(f===My||f===Ny||f===Py){let D=f,x;for(e.keepQuotes!==!0&&(f="");c<l&&(x=_());){if(x===Tn){f+=x+_();continue}if(x===D){e.keepQuotes===!0&&(f+=x);break}f+=x}p({type:"text",value:f});continue}if(f===Ly){h++;let x={type:"brace",open:!0,close:!1,dollar:u.value&&u.value.slice(-1)==="$"||o.dollar===!0,depth:h,commas:0,ranges:0,nodes:[]};o=p(x),n.push(o),p({type:"open",value:f});continue}if(f===jy){if(o.type!=="brace"){p({type:"text",value:f});continue}let D="close";o=n.pop(),o.close=!0,p({type:D,value:f}),h--,o=n[n.length-1];continue}if(f===Ry&&h>0){if(o.ranges>0){o.ranges=0;let D=o.nodes.shift();o.nodes=[D,{type:"text",value:By(o)}]}p({type:"comma",value:f}),o.commas++;continue}if(f===ky&&h>0&&o.commas===0){let D=o.nodes;if(h===0||D.length===0){p({type:"text",value:f});continue}if(u.type==="dot"){if(o.range=[],u.value+=f,u.type="range",o.nodes.length!==3&&o.nodes.length!==5){o.invalid=!0,o.ranges=0,u.type="text";continue}o.ranges++,o.args=[];continue}if(u.type==="range"){D.pop();let x=D[D.length-1];x.value+=u.value+f,u=x,o.ranges--;continue}p({type:"dot",value:f});continue}p({type:"text",value:f})}do if(o=n.pop(),o.type!=="root"){o.nodes.forEach(F=>{F.nodes||(F.type==="open"&&(F.isOpen=!0),F.type==="close"&&(F.isClose=!0),F.nodes||(F.type="text"),F.invalid=!0)});let D=n[n.length-1],x=D.nodes.indexOf(o);D.nodes.splice(x,1,...o.nodes)}while(n.length>0);return p({type:"eos"}),s};Cf.exports=Vy});var Af=d((tx,xf)=>{"use strict";var vf=Ir(),Wy=df(),Gy=gf(),Uy=wf(),le=(t,e={})=>{let r=[];if(Array.isArray(t))for(let i of t){let s=le.create(i,e);Array.isArray(s)?r.push(...s):r.push(s)}else r=[].concat(le.create(t,e));return e&&e.expand===!0&&e.nodupes===!0&&(r=[...new Set(r)]),r};le.parse=(t,e={})=>Uy(t,e);le.stringify=(t,e={})=>vf(typeof t=="string"?le.parse(t,e):t,e);le.compile=(t,e={})=>(typeof t=="string"&&(t=le.parse(t,e)),Wy(t,e));le.expand=(t,e={})=>{typeof t=="string"&&(t=le.parse(t,e));let r=Gy(t,e);return e.noempty===!0&&(r=r.filter(Boolean)),e.nodupes===!0&&(r=[...new Set(r)]),r};le.create=(t,e={})=>t===""||t.length<3?[t]:e.expand!==!0?le.compile(t,e):le.expand(t,e);xf.exports=le});var Ht=d((rx,Pf)=>{"use strict";var zy=require("path"),xe="\\\\/",Sf=`[^${xe}]`,Pe="\\.",Ky="\\+",Yy="\\?",Mr="\\/",Qy="(?=.)",Of="[^/]",Bn=`(?:${Mr}|$)`,Tf=`(?:^|${Mr})`,Pn=`${Pe}{1,2}${Bn}`,Xy=`(?!${Pe})`,Zy=`(?!${Tf}${Pn})`,Jy=`(?!${Pe}{0,1}${Bn})`,e_=`(?!${Pn})`,t_=`[^.${Mr}]`,r_=`${Of}*?`,Bf={DOT_LITERAL:Pe,PLUS_LITERAL:Ky,QMARK_LITERAL:Yy,SLASH_LITERAL:Mr,ONE_CHAR:Qy,QMARK:Of,END_ANCHOR:Bn,DOTS_SLASH:Pn,NO_DOT:Xy,NO_DOTS:Zy,NO_DOT_SLASH:Jy,NO_DOTS_SLASH:e_,QMARK_NO_DOT:t_,STAR:r_,START_ANCHOR:Tf},i_={...Bf,SLASH_LITERAL:`[${xe}]`,QMARK:Sf,STAR:`${Sf}*?`,DOTS_SLASH:`${Pe}{1,2}(?:[${xe}]|$)`,NO_DOT:`(?!${Pe})`,NO_DOTS:`(?!(?:^|[${xe}])${Pe}{1,2}(?:[${xe}]|$))`,NO_DOT_SLASH:`(?!${Pe}{0,1}(?:[${xe}]|$))`,NO_DOTS_SLASH:`(?!${Pe}{1,2}(?:[${xe}]|$))`,QMARK_NO_DOT:`[^.${xe}]`,START_ANCHOR:`(?:^|[${xe}])`,END_ANCHOR:`(?:[${xe}]|$)`},s_={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};Pf.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:s_,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:zy.sep,extglobChars(t){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${t.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(t){return t===!0?i_:Bf}}});var Vt=d(ue=>{"use strict";var n_=require("path"),o_=process.platform==="win32",{REGEX_BACKSLASH:u_,REGEX_REMOVE_BACKSLASH:a_,REGEX_SPECIAL_CHARS:l_,REGEX_SPECIAL_CHARS_GLOBAL:c_}=Ht();ue.isObject=t=>t!==null&&typeof t=="object"&&!Array.isArray(t);ue.hasRegexChars=t=>l_.test(t);ue.isRegexChar=t=>t.length===1&&ue.hasRegexChars(t);ue.escapeRegex=t=>t.replace(c_,"\\$1");ue.toPosixSlashes=t=>t.replace(u_,"/");ue.removeBackslashes=t=>t.replace(a_,e=>e==="\\"?"":e);ue.supportsLookbehinds=()=>{let t=process.version.slice(1).split(".").map(Number);return t.length===3&&t[0]>=9||t[0]===8&&t[1]>=10};ue.isWindows=t=>t&&typeof t.windows=="boolean"?t.windows:o_===!0||n_.sep==="\\";ue.escapeLast=(t,e,r)=>{let i=t.lastIndexOf(e,r);return i===-1?t:t[i-1]==="\\"?ue.escapeLast(t,e,i-1):`${t.slice(0,i)}\\${t.slice(i)}`};ue.removePrefix=(t,e={})=>{let r=t;return r.startsWith("./")&&(r=r.slice(2),e.prefix="./"),r};ue.wrapOutput=(t,e={},r={})=>{let i=r.contains?"":"^",s=r.contains?"":"$",n=`${i}(?:${t})${s}`;return e.negated===!0&&(n=`(?:^(?!${n}).*$)`),n}});var Nf=d((sx,Mf)=>{"use strict";var Rf=Vt(),{CHAR_ASTERISK:Rn,CHAR_AT:h_,CHAR_BACKWARD_SLASH:Wt,CHAR_COMMA:f_,CHAR_DOT:kn,CHAR_EXCLAMATION_MARK:$n,CHAR_FORWARD_SLASH:jf,CHAR_LEFT_CURLY_BRACE:In,CHAR_LEFT_PARENTHESES:Ln,CHAR_LEFT_SQUARE_BRACKET:p_,CHAR_PLUS:d_,CHAR_QUESTION_MARK:kf,CHAR_RIGHT_CURLY_BRACE:m_,CHAR_RIGHT_PARENTHESES:$f,CHAR_RIGHT_SQUARE_BRACKET:D_}=Ht(),If=t=>t===jf||t===Wt,Lf=t=>{t.isPrefix!==!0&&(t.depth=t.isGlobstar?1/0:1)},g_=(t,e)=>{let r=e||{},i=t.length-1,s=r.parts===!0||r.scanToEnd===!0,n=[],o=[],u=[],a=t,l=-1,c=0,h=0,f=!1,_=!1,p=!1,D=!1,x=!1,F=!1,w=!1,b=!1,B=!1,A=!1,T=0,O,C,$={value:"",depth:0,isGlob:!1},M=()=>l>=i,y=()=>a.charCodeAt(l+1),V=()=>(O=C,a.charCodeAt(++l));for(;l<i;){C=V();let se;if(C===Wt){w=$.backslashes=!0,C=V(),C===In&&(F=!0);continue}if(F===!0||C===In){for(T++;M()!==!0&&(C=V());){if(C===Wt){w=$.backslashes=!0,V();continue}if(C===In){T++;continue}if(F!==!0&&C===kn&&(C=V())===kn){if(f=$.isBrace=!0,p=$.isGlob=!0,A=!0,s===!0)continue;break}if(F!==!0&&C===f_){if(f=$.isBrace=!0,p=$.isGlob=!0,A=!0,s===!0)continue;break}if(C===m_&&(T--,T===0)){F=!1,f=$.isBrace=!0,A=!0;break}}if(s===!0)continue;break}if(C===jf){if(n.push(l),o.push($),$={value:"",depth:0,isGlob:!1},A===!0)continue;if(O===kn&&l===c+1){c+=2;continue}h=l+1;continue}if(r.noext!==!0&&(C===d_||C===h_||C===Rn||C===kf||C===$n)===!0&&y()===Ln){if(p=$.isGlob=!0,D=$.isExtglob=!0,A=!0,C===$n&&l===c&&(B=!0),s===!0){for(;M()!==!0&&(C=V());){if(C===Wt){w=$.backslashes=!0,C=V();continue}if(C===$f){p=$.isGlob=!0,A=!0;break}}continue}break}if(C===Rn){if(O===Rn&&(x=$.isGlobstar=!0),p=$.isGlob=!0,A=!0,s===!0)continue;break}if(C===kf){if(p=$.isGlob=!0,A=!0,s===!0)continue;break}if(C===p_){for(;M()!==!0&&(se=V());){if(se===Wt){w=$.backslashes=!0,V();continue}if(se===D_){_=$.isBracket=!0,p=$.isGlob=!0,A=!0;break}}if(s===!0)continue;break}if(r.nonegate!==!0&&C===$n&&l===c){b=$.negated=!0,c++;continue}if(r.noparen!==!0&&C===Ln){if(p=$.isGlob=!0,s===!0){for(;M()!==!0&&(C=V());){if(C===Ln){w=$.backslashes=!0,C=V();continue}if(C===$f){A=!0;break}}continue}break}if(p===!0){if(A=!0,s===!0)continue;break}}r.noext===!0&&(D=!1,p=!1);let N=a,ke="",m="";c>0&&(ke=a.slice(0,c),a=a.slice(c),h-=c),N&&p===!0&&h>0?(N=a.slice(0,h),m=a.slice(h)):p===!0?(N="",m=a):N=a,N&&N!==""&&N!=="/"&&N!==a&&If(N.charCodeAt(N.length-1))&&(N=N.slice(0,-1)),r.unescape===!0&&(m&&(m=Rf.removeBackslashes(m)),N&&w===!0&&(N=Rf.removeBackslashes(N)));let g={prefix:ke,input:t,start:c,base:N,glob:m,isBrace:f,isBracket:_,isGlob:p,isExtglob:D,isGlobstar:x,negated:b,negatedExtglob:B};if(r.tokens===!0&&(g.maxDepth=0,If(C)||o.push($),g.tokens=o),r.parts===!0||r.tokens===!0){let se;for(let I=0;I<n.length;I++){let we=se?se+1:c,ve=n[I],ae=t.slice(we,ve);r.tokens&&(I===0&&c!==0?(o[I].isPrefix=!0,o[I].value=ke):o[I].value=ae,Lf(o[I]),g.maxDepth+=o[I].depth),(I!==0||ae!=="")&&u.push(ae),se=ve}if(se&&se+1<t.length){let I=t.slice(se+1);u.push(I),r.tokens&&(o[o.length-1].value=I,Lf(o[o.length-1]),g.maxDepth+=o[o.length-1].depth)}g.slashes=n,g.parts=u}return g};Mf.exports=g_});var Vf=d((nx,Hf)=>{"use strict";var Nr=Ht(),ce=Vt(),{MAX_LENGTH:qr,POSIX_REGEX_SOURCE:y_,REGEX_NON_SPECIAL_CHARS:__,REGEX_SPECIAL_CHARS_BACKREF:b_,REPLACEMENTS:qf}=Nr,F_=(t,e)=>{if(typeof e.expandRange=="function")return e.expandRange(...t,e);t.sort();let r=`[${t.join("-")}]`;try{new RegExp(r)}catch{return t.map(s=>ce.escapeRegex(s)).join("..")}return r},mt=(t,e)=>`Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`,jn=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");t=qf[t]||t;let r={...e},i=typeof r.maxLength=="number"?Math.min(qr,r.maxLength):qr,s=t.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);let n={type:"bos",value:"",output:r.prepend||""},o=[n],u=r.capture?"":"?:",a=ce.isWindows(e),l=Nr.globChars(a),c=Nr.extglobChars(l),{DOT_LITERAL:h,PLUS_LITERAL:f,SLASH_LITERAL:_,ONE_CHAR:p,DOTS_SLASH:D,NO_DOT:x,NO_DOT_SLASH:F,NO_DOTS_SLASH:w,QMARK:b,QMARK_NO_DOT:B,STAR:A,START_ANCHOR:T}=l,O=v=>`(${u}(?:(?!${T}${v.dot?D:h}).)*?)`,C=r.dot?"":x,$=r.dot?b:B,M=r.bash===!0?O(r):A;r.capture&&(M=`(${M})`),typeof r.noext=="boolean"&&(r.noextglob=r.noext);let y={input:t,index:-1,start:0,dot:r.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:o};t=ce.removePrefix(t,y),s=t.length;let V=[],N=[],ke=[],m=n,g,se=()=>y.index===s-1,I=y.peek=(v=1)=>t[y.index+v],we=y.advance=()=>t[++y.index]||"",ve=()=>t.slice(y.index+1),ae=(v="",q=0)=>{y.consumed+=v,y.index+=q},Ut=v=>{y.output+=v.output!=null?v.output:v.value,ae(v.value)},Id=()=>{let v=1;for(;I()==="!"&&(I(2)!=="("||I(3)==="?");)we(),y.start++,v++;return v%2===0?!1:(y.negated=!0,y.start++,!0)},zt=v=>{y[v]++,ke.push(v)},ze=v=>{y[v]--,ke.pop()},R=v=>{if(m.type==="globstar"){let q=y.braces>0&&(v.type==="comma"||v.type==="brace"),E=v.extglob===!0||V.length&&(v.type==="pipe"||v.type==="paren");v.type!=="slash"&&v.type!=="paren"&&!q&&!E&&(y.output=y.output.slice(0,-m.output.length),m.type="star",m.value="*",m.output=M,y.output+=m.output)}if(V.length&&v.type!=="paren"&&(V[V.length-1].inner+=v.value),(v.value||v.output)&&Ut(v),m&&m.type==="text"&&v.type==="text"){m.value+=v.value,m.output=(m.output||"")+v.value;return}v.prev=m,o.push(v),m=v},Kt=(v,q)=>{let E={...c[q],conditions:1,inner:""};E.prev=m,E.parens=y.parens,E.output=y.output;let P=(r.capture?"(":"")+E.open;zt("parens"),R({type:v,value:q,output:y.output?"":p}),R({type:"paren",extglob:!0,value:we(),output:P}),V.push(E)},Ld=v=>{let q=v.close+(r.capture?")":""),E;if(v.type==="negate"){let P=M;if(v.inner&&v.inner.length>1&&v.inner.includes("/")&&(P=O(r)),(P!==M||se()||/^\)+$/.test(ve()))&&(q=v.close=`)$))${P}`),v.inner.includes("*")&&(E=ve())&&/^\.[^\\/.]+$/.test(E)){let U=jn(E,{...e,fastpaths:!1}).output;q=v.close=`)${U})${P})`}v.prev.type==="bos"&&(y.negatedExtglob=!0)}R({type:"paren",extglob:!0,value:g,output:q}),ze("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(t)){let v=!1,q=t.replace(b_,(E,P,U,ne,Z,fi)=>ne==="\\"?(v=!0,E):ne==="?"?P?P+ne+(Z?b.repeat(Z.length):""):fi===0?$+(Z?b.repeat(Z.length):""):b.repeat(U.length):ne==="."?h.repeat(U.length):ne==="*"?P?P+ne+(Z?M:""):M:P?E:`\\${E}`);return v===!0&&(r.unescape===!0?q=q.replace(/\\/g,""):q=q.replace(/\\+/g,E=>E.length%2===0?"\\\\":E?"\\":"")),q===t&&r.contains===!0?(y.output=t,y):(y.output=ce.wrapOutput(q,y,e),y)}for(;!se();){if(g=we(),g==="\0")continue;if(g==="\\"){let E=I();if(E==="/"&&r.bash!==!0||E==="."||E===";")continue;if(!E){g+="\\",R({type:"text",value:g});continue}let P=/^\\+/.exec(ve()),U=0;if(P&&P[0].length>2&&(U=P[0].length,y.index+=U,U%2!==0&&(g+="\\")),r.unescape===!0?g=we():g+=we(),y.brackets===0){R({type:"text",value:g});continue}}if(y.brackets>0&&(g!=="]"||m.value==="["||m.value==="[^")){if(r.posix!==!1&&g===":"){let E=m.value.slice(1);if(E.includes("[")&&(m.posix=!0,E.includes(":"))){let P=m.value.lastIndexOf("["),U=m.value.slice(0,P),ne=m.value.slice(P+2),Z=y_[ne];if(Z){m.value=U+Z,y.backtrack=!0,we(),!n.output&&o.indexOf(m)===1&&(n.output=p);continue}}}(g==="["&&I()!==":"||g==="-"&&I()==="]")&&(g=`\\${g}`),g==="]"&&(m.value==="["||m.value==="[^")&&(g=`\\${g}`),r.posix===!0&&g==="!"&&m.value==="["&&(g="^"),m.value+=g,Ut({value:g});continue}if(y.quotes===1&&g!=='"'){g=ce.escapeRegex(g),m.value+=g,Ut({value:g});continue}if(g==='"'){y.quotes=y.quotes===1?0:1,r.keepQuotes===!0&&R({type:"text",value:g});continue}if(g==="("){zt("parens"),R({type:"paren",value:g});continue}if(g===")"){if(y.parens===0&&r.strictBrackets===!0)throw new SyntaxError(mt("opening","("));let E=V[V.length-1];if(E&&y.parens===E.parens+1){Ld(V.pop());continue}R({type:"paren",value:g,output:y.parens?")":"\\)"}),ze("parens");continue}if(g==="["){if(r.nobracket===!0||!ve().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(mt("closing","]"));g=`\\${g}`}else zt("brackets");R({type:"bracket",value:g});continue}if(g==="]"){if(r.nobracket===!0||m&&m.type==="bracket"&&m.value.length===1){R({type:"text",value:g,output:`\\${g}`});continue}if(y.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(mt("opening","["));R({type:"text",value:g,output:`\\${g}`});continue}ze("brackets");let E=m.value.slice(1);if(m.posix!==!0&&E[0]==="^"&&!E.includes("/")&&(g=`/${g}`),m.value+=g,Ut({value:g}),r.literalBrackets===!1||ce.hasRegexChars(E))continue;let P=ce.escapeRegex(m.value);if(y.output=y.output.slice(0,-m.value.length),r.literalBrackets===!0){y.output+=P,m.value=P;continue}m.value=`(${u}${P}|${m.value})`,y.output+=m.value;continue}if(g==="{"&&r.nobrace!==!0){zt("braces");let E={type:"brace",value:g,output:"(",outputIndex:y.output.length,tokensIndex:y.tokens.length};N.push(E),R(E);continue}if(g==="}"){let E=N[N.length-1];if(r.nobrace===!0||!E){R({type:"text",value:g,output:g});continue}let P=")";if(E.dots===!0){let U=o.slice(),ne=[];for(let Z=U.length-1;Z>=0&&(o.pop(),U[Z].type!=="brace");Z--)U[Z].type!=="dots"&&ne.unshift(U[Z].value);P=F_(ne,r),y.backtrack=!0}if(E.comma!==!0&&E.dots!==!0){let U=y.output.slice(0,E.outputIndex),ne=y.tokens.slice(E.tokensIndex);E.value=E.output="\\{",g=P="\\}",y.output=U;for(let Z of ne)y.output+=Z.output||Z.value}R({type:"brace",value:g,output:P}),ze("braces"),N.pop();continue}if(g==="|"){V.length>0&&V[V.length-1].conditions++,R({type:"text",value:g});continue}if(g===","){let E=g,P=N[N.length-1];P&&ke[ke.length-1]==="braces"&&(P.comma=!0,E="|"),R({type:"comma",value:g,output:E});continue}if(g==="/"){if(m.type==="dot"&&y.index===y.start+1){y.start=y.index+1,y.consumed="",y.output="",o.pop(),m=n;continue}R({type:"slash",value:g,output:_});continue}if(g==="."){if(y.braces>0&&m.type==="dot"){m.value==="."&&(m.output=h);let E=N[N.length-1];m.type="dots",m.output+=g,m.value+=g,E.dots=!0;continue}if(y.braces+y.parens===0&&m.type!=="bos"&&m.type!=="slash"){R({type:"text",value:g,output:h});continue}R({type:"dot",value:g,output:h});continue}if(g==="?"){if(!(m&&m.value==="(")&&r.noextglob!==!0&&I()==="("&&I(2)!=="?"){Kt("qmark",g);continue}if(m&&m.type==="paren"){let P=I(),U=g;if(P==="<"&&!ce.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(m.value==="("&&!/[!=<:]/.test(P)||P==="<"&&!/<([!=]|\w+>)/.test(ve()))&&(U=`\\${g}`),R({type:"text",value:g,output:U});continue}if(r.dot!==!0&&(m.type==="slash"||m.type==="bos")){R({type:"qmark",value:g,output:B});continue}R({type:"qmark",value:g,output:b});continue}if(g==="!"){if(r.noextglob!==!0&&I()==="("&&(I(2)!=="?"||!/[!=<:]/.test(I(3)))){Kt("negate",g);continue}if(r.nonegate!==!0&&y.index===0){Id();continue}}if(g==="+"){if(r.noextglob!==!0&&I()==="("&&I(2)!=="?"){Kt("plus",g);continue}if(m&&m.value==="("||r.regex===!1){R({type:"plus",value:g,output:f});continue}if(m&&(m.type==="bracket"||m.type==="paren"||m.type==="brace")||y.parens>0){R({type:"plus",value:g});continue}R({type:"plus",value:f});continue}if(g==="@"){if(r.noextglob!==!0&&I()==="("&&I(2)!=="?"){R({type:"at",extglob:!0,value:g,output:""});continue}R({type:"text",value:g});continue}if(g!=="*"){(g==="$"||g==="^")&&(g=`\\${g}`);let E=__.exec(ve());E&&(g+=E[0],y.index+=E[0].length),R({type:"text",value:g});continue}if(m&&(m.type==="globstar"||m.star===!0)){m.type="star",m.star=!0,m.value+=g,m.output=M,y.backtrack=!0,y.globstar=!0,ae(g);continue}let v=ve();if(r.noextglob!==!0&&/^\([^?]/.test(v)){Kt("star",g);continue}if(m.type==="star"){if(r.noglobstar===!0){ae(g);continue}let E=m.prev,P=E.prev,U=E.type==="slash"||E.type==="bos",ne=P&&(P.type==="star"||P.type==="globstar");if(r.bash===!0&&(!U||v[0]&&v[0]!=="/")){R({type:"star",value:g,output:""});continue}let Z=y.braces>0&&(E.type==="comma"||E.type==="brace"),fi=V.length&&(E.type==="pipe"||E.type==="paren");if(!U&&E.type!=="paren"&&!Z&&!fi){R({type:"star",value:g,output:""});continue}for(;v.slice(0,3)==="/**";){let Yt=t[y.index+4];if(Yt&&Yt!=="/")break;v=v.slice(3),ae("/**",3)}if(E.type==="bos"&&se()){m.type="globstar",m.value+=g,m.output=O(r),y.output=m.output,y.globstar=!0,ae(g);continue}if(E.type==="slash"&&E.prev.type!=="bos"&&!ne&&se()){y.output=y.output.slice(0,-(E.output+m.output).length),E.output=`(?:${E.output}`,m.type="globstar",m.output=O(r)+(r.strictSlashes?")":"|$)"),m.value+=g,y.globstar=!0,y.output+=E.output+m.output,ae(g);continue}if(E.type==="slash"&&E.prev.type!=="bos"&&v[0]==="/"){let Yt=v[1]!==void 0?"|$":"";y.output=y.output.slice(0,-(E.output+m.output).length),E.output=`(?:${E.output}`,m.type="globstar",m.output=`${O(r)}${_}|${_}${Yt})`,m.value+=g,y.output+=E.output+m.output,y.globstar=!0,ae(g+we()),R({type:"slash",value:"/",output:""});continue}if(E.type==="bos"&&v[0]==="/"){m.type="globstar",m.value+=g,m.output=`(?:^|${_}|${O(r)}${_})`,y.output=m.output,y.globstar=!0,ae(g+we()),R({type:"slash",value:"/",output:""});continue}y.output=y.output.slice(0,-m.output.length),m.type="globstar",m.output=O(r),m.value+=g,y.output+=m.output,y.globstar=!0,ae(g);continue}let q={type:"star",value:g,output:M};if(r.bash===!0){q.output=".*?",(m.type==="bos"||m.type==="slash")&&(q.output=C+q.output),R(q);continue}if(m&&(m.type==="bracket"||m.type==="paren")&&r.regex===!0){q.output=g,R(q);continue}(y.index===y.start||m.type==="slash"||m.type==="dot")&&(m.type==="dot"?(y.output+=F,m.output+=F):r.dot===!0?(y.output+=w,m.output+=w):(y.output+=C,m.output+=C),I()!=="*"&&(y.output+=p,m.output+=p)),R(q)}for(;y.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(mt("closing","]"));y.output=ce.escapeLast(y.output,"["),ze("brackets")}for(;y.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(mt("closing",")"));y.output=ce.escapeLast(y.output,"("),ze("parens")}for(;y.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(mt("closing","}"));y.output=ce.escapeLast(y.output,"{"),ze("braces")}if(r.strictSlashes!==!0&&(m.type==="star"||m.type==="bracket")&&R({type:"maybe_slash",value:"",output:`${_}?`}),y.backtrack===!0){y.output="";for(let v of y.tokens)y.output+=v.output!=null?v.output:v.value,v.suffix&&(y.output+=v.suffix)}return y};jn.fastpaths=(t,e)=>{let r={...e},i=typeof r.maxLength=="number"?Math.min(qr,r.maxLength):qr,s=t.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);t=qf[t]||t;let n=ce.isWindows(e),{DOT_LITERAL:o,SLASH_LITERAL:u,ONE_CHAR:a,DOTS_SLASH:l,NO_DOT:c,NO_DOTS:h,NO_DOTS_SLASH:f,STAR:_,START_ANCHOR:p}=Nr.globChars(n),D=r.dot?h:c,x=r.dot?f:c,F=r.capture?"":"?:",w={negated:!1,prefix:""},b=r.bash===!0?".*?":_;r.capture&&(b=`(${b})`);let B=C=>C.noglobstar===!0?b:`(${F}(?:(?!${p}${C.dot?l:o}).)*?)`,A=C=>{switch(C){case"*":return`${D}${a}${b}`;case".*":return`${o}${a}${b}`;case"*.*":return`${D}${b}${o}${a}${b}`;case"*/*":return`${D}${b}${u}${a}${x}${b}`;case"**":return D+B(r);case"**/*":return`(?:${D}${B(r)}${u})?${x}${a}${b}`;case"**/*.*":return`(?:${D}${B(r)}${u})?${x}${b}${o}${a}${b}`;case"**/.*":return`(?:${D}${B(r)}${u})?${o}${a}${b}`;default:{let $=/^(.*?)\.(\w+)$/.exec(C);if(!$)return;let M=A($[1]);return M?M+o+$[2]:void 0}}},T=ce.removePrefix(t,w),O=A(T);return O&&r.strictSlashes!==!0&&(O+=`${u}?`),O};Hf.exports=jn});var Gf=d((ox,Wf)=>{"use strict";var E_=require("path"),C_=Nf(),Mn=Vf(),Nn=Vt(),w_=Ht(),v_=t=>t&&typeof t=="object"&&!Array.isArray(t),Q=(t,e,r=!1)=>{if(Array.isArray(t)){let c=t.map(f=>Q(f,e,r));return f=>{for(let _ of c){let p=_(f);if(p)return p}return!1}}let i=v_(t)&&t.tokens&&t.input;if(t===""||typeof t!="string"&&!i)throw new TypeError("Expected pattern to be a non-empty string");let s=e||{},n=Nn.isWindows(e),o=i?Q.compileRe(t,e):Q.makeRe(t,e,!1,!0),u=o.state;delete o.state;let a=()=>!1;if(s.ignore){let c={...e,ignore:null,onMatch:null,onResult:null};a=Q(s.ignore,c,r)}let l=(c,h=!1)=>{let{isMatch:f,match:_,output:p}=Q.test(c,o,e,{glob:t,posix:n}),D={glob:t,state:u,regex:o,posix:n,input:c,output:p,match:_,isMatch:f};return typeof s.onResult=="function"&&s.onResult(D),f===!1?(D.isMatch=!1,h?D:!1):a(c)?(typeof s.onIgnore=="function"&&s.onIgnore(D),D.isMatch=!1,h?D:!1):(typeof s.onMatch=="function"&&s.onMatch(D),h?D:!0)};return r&&(l.state=u),l};Q.test=(t,e,r,{glob:i,posix:s}={})=>{if(typeof t!="string")throw new TypeError("Expected input to be a string");if(t==="")return{isMatch:!1,output:""};let n=r||{},o=n.format||(s?Nn.toPosixSlashes:null),u=t===i,a=u&&o?o(t):t;return u===!1&&(a=o?o(t):t,u=a===i),(u===!1||n.capture===!0)&&(n.matchBase===!0||n.basename===!0?u=Q.matchBase(t,e,r,s):u=e.exec(a)),{isMatch:!!u,match:u,output:a}};Q.matchBase=(t,e,r,i=Nn.isWindows(r))=>(e instanceof RegExp?e:Q.makeRe(e,r)).test(E_.basename(t));Q.isMatch=(t,e,r)=>Q(e,r)(t);Q.parse=(t,e)=>Array.isArray(t)?t.map(r=>Q.parse(r,e)):Mn(t,{...e,fastpaths:!1});Q.scan=(t,e)=>C_(t,e);Q.compileRe=(t,e,r=!1,i=!1)=>{if(r===!0)return t.output;let s=e||{},n=s.contains?"":"^",o=s.contains?"":"$",u=`${n}(?:${t.output})${o}`;t&&t.negated===!0&&(u=`^(?!${u}).*$`);let a=Q.toRegex(u,e);return i===!0&&(a.state=t),a};Q.makeRe=(t,e={},r=!1,i=!1)=>{if(!t||typeof t!="string")throw new TypeError("Expected a non-empty string");let s={negated:!1,fastpaths:!0};return e.fastpaths!==!1&&(t[0]==="."||t[0]==="*")&&(s.output=Mn.fastpaths(t,e)),s.output||(s=Mn(t,e)),Q.compileRe(s,e,r,i)};Q.toRegex=(t,e)=>{try{let r=e||{};return new RegExp(t,r.flags||(r.nocase?"i":""))}catch(r){if(e&&e.debug===!0)throw r;return/$^/}};Q.constants=w_;Wf.exports=Q});var zf=d((ux,Uf)=>{"use strict";Uf.exports=Gf()});var Jf=d((ax,Zf)=>{"use strict";var Yf=require("util"),Qf=Af(),Ae=zf(),qn=Vt(),Kf=t=>t===""||t==="./",Xf=t=>{let e=t.indexOf("{");return e>-1&&t.indexOf("}",e)>-1},H=(t,e,r)=>{e=[].concat(e),t=[].concat(t);let i=new Set,s=new Set,n=new Set,o=0,u=c=>{n.add(c.output),r&&r.onResult&&r.onResult(c)};for(let c=0;c<e.length;c++){let h=Ae(String(e[c]),{...r,onResult:u},!0),f=h.state.negated||h.state.negatedExtglob;f&&o++;for(let _ of t){let p=h(_,!0);(f?!p.isMatch:p.isMatch)&&(f?i.add(p.output):(i.delete(p.output),s.add(p.output)))}}let l=(o===e.length?[...n]:[...s]).filter(c=>!i.has(c));if(r&&l.length===0){if(r.failglob===!0)throw new Error(`No matches found for "${e.join(", ")}"`);if(r.nonull===!0||r.nullglob===!0)return r.unescape?e.map(c=>c.replace(/\\/g,"")):e}return l};H.match=H;H.matcher=(t,e)=>Ae(t,e);H.isMatch=(t,e,r)=>Ae(e,r)(t);H.any=H.isMatch;H.not=(t,e,r={})=>{e=[].concat(e).map(String);let i=new Set,s=[],n=u=>{r.onResult&&r.onResult(u),s.push(u.output)},o=new Set(H(t,e,{...r,onResult:n}));for(let u of s)o.has(u)||i.add(u);return[...i]};H.contains=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${Yf.inspect(t)}"`);if(Array.isArray(e))return e.some(i=>H.contains(t,i,r));if(typeof e=="string"){if(Kf(t)||Kf(e))return!1;if(t.includes(e)||t.startsWith("./")&&t.slice(2).includes(e))return!0}return H.isMatch(t,e,{...r,contains:!0})};H.matchKeys=(t,e,r)=>{if(!qn.isObject(t))throw new TypeError("Expected the first argument to be an object");let i=H(Object.keys(t),e,r),s={};for(let n of i)s[n]=t[n];return s};H.some=(t,e,r)=>{let i=[].concat(t);for(let s of[].concat(e)){let n=Ae(String(s),r);if(i.some(o=>n(o)))return!0}return!1};H.every=(t,e,r)=>{let i=[].concat(t);for(let s of[].concat(e)){let n=Ae(String(s),r);if(!i.every(o=>n(o)))return!1}return!0};H.all=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${Yf.inspect(t)}"`);return[].concat(e).every(i=>Ae(i,r)(t))};H.capture=(t,e,r)=>{let i=qn.isWindows(r),n=Ae.makeRe(String(t),{...r,capture:!0}).exec(i?qn.toPosixSlashes(e):e);if(n)return n.slice(1).map(o=>o===void 0?"":o)};H.makeRe=(...t)=>Ae.makeRe(...t);H.scan=(...t)=>Ae.scan(...t);H.parse=(t,e)=>{let r=[];for(let i of[].concat(t||[]))for(let s of Qf(String(i),e))r.push(Ae.parse(s,e));return r};H.braces=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return e&&e.nobrace===!0||!Xf(t)?[t]:Qf(t,e)};H.braceExpand=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return H.braces(t,{...e,expand:!0})};H.hasBraces=Xf;Zf.exports=H});var lp=d(S=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0});S.isAbsolute=S.partitionAbsoluteAndRelative=S.removeDuplicateSlashes=S.matchAny=S.convertPatternsToRe=S.makeRe=S.getPatternParts=S.expandBraceExpansion=S.expandPatternsWithBraceExpansion=S.isAffectDepthOfReadingPattern=S.endsWithSlashGlobStar=S.hasGlobStar=S.getBaseDirectory=S.isPatternRelatedToParentDirectory=S.getPatternsOutsideCurrentDirectory=S.getPatternsInsideCurrentDirectory=S.getPositivePatterns=S.getNegativePatterns=S.isPositivePattern=S.isNegativePattern=S.convertToNegativePattern=S.convertToPositivePattern=S.isDynamicPattern=S.isStaticPattern=void 0;var ep=require("path"),x_=Wh(),Hn=Jf(),tp="**",A_="\\",S_=/[*?]|^!/,O_=/\[[^[]*]/,T_=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,B_=/[!*+?@]\([^(]*\)/,P_=/,|\.\./,R_=/(?!^)\/{2,}/g;function rp(t,e={}){return!ip(t,e)}S.isStaticPattern=rp;function ip(t,e={}){return t===""?!1:!!(e.caseSensitiveMatch===!1||t.includes(A_)||S_.test(t)||O_.test(t)||T_.test(t)||e.extglob!==!1&&B_.test(t)||e.braceExpansion!==!1&&k_(t))}S.isDynamicPattern=ip;function k_(t){let e=t.indexOf("{");if(e===-1)return!1;let r=t.indexOf("}",e+1);if(r===-1)return!1;let i=t.slice(e,r);return P_.test(i)}function $_(t){return Hr(t)?t.slice(1):t}S.convertToPositivePattern=$_;function I_(t){return"!"+t}S.convertToNegativePattern=I_;function Hr(t){return t.startsWith("!")&&t[1]!=="("}S.isNegativePattern=Hr;function sp(t){return!Hr(t)}S.isPositivePattern=sp;function L_(t){return t.filter(Hr)}S.getNegativePatterns=L_;function j_(t){return t.filter(sp)}S.getPositivePatterns=j_;function M_(t){return t.filter(e=>!Vn(e))}S.getPatternsInsideCurrentDirectory=M_;function N_(t){return t.filter(Vn)}S.getPatternsOutsideCurrentDirectory=N_;function Vn(t){return t.startsWith("..")||t.startsWith("./..")}S.isPatternRelatedToParentDirectory=Vn;function q_(t){return x_(t,{flipBackslashes:!1})}S.getBaseDirectory=q_;function H_(t){return t.includes(tp)}S.hasGlobStar=H_;function np(t){return t.endsWith("/"+tp)}S.endsWithSlashGlobStar=np;function V_(t){let e=ep.basename(t);return np(t)||rp(e)}S.isAffectDepthOfReadingPattern=V_;function W_(t){return t.reduce((e,r)=>e.concat(op(r)),[])}S.expandPatternsWithBraceExpansion=W_;function op(t){let e=Hn.braces(t,{expand:!0,nodupes:!0,keepEscaping:!0});return e.sort((r,i)=>r.length-i.length),e.filter(r=>r!=="")}S.expandBraceExpansion=op;function G_(t,e){let{parts:r}=Hn.scan(t,Object.assign(Object.assign({},e),{parts:!0}));return r.length===0&&(r=[t]),r[0].startsWith("/")&&(r[0]=r[0].slice(1),r.unshift("")),r}S.getPatternParts=G_;function up(t,e){return Hn.makeRe(t,e)}S.makeRe=up;function U_(t,e){return t.map(r=>up(r,e))}S.convertPatternsToRe=U_;function z_(t,e){return e.some(r=>r.test(t))}S.matchAny=z_;function K_(t){return t.replace(R_,"/")}S.removeDuplicateSlashes=K_;function Y_(t){let e=[],r=[];for(let i of t)ap(i)?e.push(i):r.push(i);return[e,r]}S.partitionAbsoluteAndRelative=Y_;function ap(t){return ep.isAbsolute(t)}S.isAbsolute=ap});var pp=d((cx,fp)=>{"use strict";var Q_=require("stream"),cp=Q_.PassThrough,X_=Array.prototype.slice;fp.exports=Z_;function Z_(){let t=[],e=X_.call(arguments),r=!1,i=e[e.length-1];i&&!Array.isArray(i)&&i.pipe==null?e.pop():i={};let s=i.end!==!1,n=i.pipeError===!0;i.objectMode==null&&(i.objectMode=!0),i.highWaterMark==null&&(i.highWaterMark=64*1024);let o=cp(i);function u(){for(let c=0,h=arguments.length;c<h;c++)t.push(hp(arguments[c],i));return a(),this}function a(){if(r)return;r=!0;let c=t.shift();if(!c){process.nextTick(l);return}Array.isArray(c)||(c=[c]);let h=c.length+1;function f(){--h>0||(r=!1,a())}function _(p){function D(){p.removeListener("merge2UnpipeEnd",D),p.removeListener("end",D),n&&p.removeListener("error",x),f()}function x(F){o.emit("error",F)}if(p._readableState.endEmitted)return f();p.on("merge2UnpipeEnd",D),p.on("end",D),n&&p.on("error",x),p.pipe(o,{end:!1}),p.resume()}for(let p=0;p<c.length;p++)_(c[p]);f()}function l(){r=!1,o.emit("queueDrain"),s&&o.end()}return o.setMaxListeners(0),o.add=u,o.on("unpipe",function(c){c.emit("merge2UnpipeEnd")}),e.length&&u.apply(null,e),o}function hp(t,e){if(Array.isArray(t))for(let r=0,i=t.length;r<i;r++)t[r]=hp(t[r],e);else{if(!t._readableState&&t.pipe&&(t=t.pipe(cp(e))),!t._readableState||!t.pause||!t.pipe)throw new Error("Only readable stream can be merged.");t.pause()}return t}});var mp=d(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});Vr.merge=void 0;var J_=pp();function eb(t){let e=J_(t);return t.forEach(r=>{r.once("error",i=>e.emit("error",i))}),e.once("close",()=>dp(t)),e.once("end",()=>dp(t)),e}Vr.merge=eb;function dp(t){t.forEach(e=>e.emit("close"))}});var Dp=d(Dt=>{"use strict";Object.defineProperty(Dt,"__esModule",{value:!0});Dt.isEmpty=Dt.isString=void 0;function tb(t){return typeof t=="string"}Dt.isString=tb;function rb(t){return t===""}Dt.isEmpty=rb});var Re=d(re=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0});re.string=re.stream=re.pattern=re.path=re.fs=re.errno=re.array=void 0;var ib=Bh();re.array=ib;var sb=Ph();re.errno=sb;var nb=Rh();re.fs=nb;var ob=Lh();re.path=ob;var ub=lp();re.pattern=ub;var ab=mp();re.stream=ab;var lb=Dp();re.string=lb});var bp=d(ie=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0});ie.convertPatternGroupToTask=ie.convertPatternGroupsToTasks=ie.groupPatternsByBaseDirectory=ie.getNegativePatternsAsPositive=ie.getPositivePatterns=ie.convertPatternsToTasks=ie.generate=void 0;var Ee=Re();function cb(t,e){let r=gp(t,e),i=gp(e.ignore,e),s=yp(r),n=_p(r,i),o=s.filter(c=>Ee.pattern.isStaticPattern(c,e)),u=s.filter(c=>Ee.pattern.isDynamicPattern(c,e)),a=Wn(o,n,!1),l=Wn(u,n,!0);return a.concat(l)}ie.generate=cb;function gp(t,e){let r=t;return e.braceExpansion&&(r=Ee.pattern.expandPatternsWithBraceExpansion(r)),e.baseNameMatch&&(r=r.map(i=>i.includes("/")?i:`**/${i}`)),r.map(i=>Ee.pattern.removeDuplicateSlashes(i))}function Wn(t,e,r){let i=[],s=Ee.pattern.getPatternsOutsideCurrentDirectory(t),n=Ee.pattern.getPatternsInsideCurrentDirectory(t),o=Gn(s),u=Gn(n);return i.push(...Un(o,e,r)),"."in u?i.push(zn(".",n,e,r)):i.push(...Un(u,e,r)),i}ie.convertPatternsToTasks=Wn;function yp(t){return Ee.pattern.getPositivePatterns(t)}ie.getPositivePatterns=yp;function _p(t,e){return Ee.pattern.getNegativePatterns(t).concat(e).map(Ee.pattern.convertToPositivePattern)}ie.getNegativePatternsAsPositive=_p;function Gn(t){let e={};return t.reduce((r,i)=>{let s=Ee.pattern.getBaseDirectory(i);return s in r?r[s].push(i):r[s]=[i],r},e)}ie.groupPatternsByBaseDirectory=Gn;function Un(t,e,r){return Object.keys(t).map(i=>zn(i,t[i],e,r))}ie.convertPatternGroupsToTasks=Un;function zn(t,e,r,i){return{dynamic:i,positive:e,negative:r,base:t,patterns:[].concat(e,r.map(Ee.pattern.convertToNegativePattern))}}ie.convertPatternGroupToTask=zn});var Ep=d(Wr=>{"use strict";Object.defineProperty(Wr,"__esModule",{value:!0});Wr.read=void 0;function hb(t,e,r){e.fs.lstat(t,(i,s)=>{if(i!==null){Fp(r,i);return}if(!s.isSymbolicLink()||!e.followSymbolicLink){Kn(r,s);return}e.fs.stat(t,(n,o)=>{if(n!==null){if(e.throwErrorOnBrokenSymbolicLink){Fp(r,n);return}Kn(r,s);return}e.markSymbolicLink&&(o.isSymbolicLink=()=>!0),Kn(r,o)})})}Wr.read=hb;function Fp(t,e){t(e)}function Kn(t,e){t(null,e)}});var Cp=d(Gr=>{"use strict";Object.defineProperty(Gr,"__esModule",{value:!0});Gr.read=void 0;function fb(t,e){let r=e.fs.lstatSync(t);if(!r.isSymbolicLink()||!e.followSymbolicLink)return r;try{let i=e.fs.statSync(t);return e.markSymbolicLink&&(i.isSymbolicLink=()=>!0),i}catch(i){if(!e.throwErrorOnBrokenSymbolicLink)return r;throw i}}Gr.read=fb});var wp=d(Me=>{"use strict";Object.defineProperty(Me,"__esModule",{value:!0});Me.createFileSystemAdapter=Me.FILE_SYSTEM_ADAPTER=void 0;var Ur=require("fs");Me.FILE_SYSTEM_ADAPTER={lstat:Ur.lstat,stat:Ur.stat,lstatSync:Ur.lstatSync,statSync:Ur.statSync};function pb(t){return t===void 0?Me.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Me.FILE_SYSTEM_ADAPTER),t)}Me.createFileSystemAdapter=pb});var vp=d(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});var db=wp(),Yn=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=db.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,r){return e??r}};Qn.default=Yn});var tt=d(Ne=>{"use strict";Object.defineProperty(Ne,"__esModule",{value:!0});Ne.statSync=Ne.stat=Ne.Settings=void 0;var xp=Ep(),mb=Cp(),Xn=vp();Ne.Settings=Xn.default;function Db(t,e,r){if(typeof e=="function"){xp.read(t,Zn(),e);return}xp.read(t,Zn(e),r)}Ne.stat=Db;function gb(t,e){let r=Zn(e);return mb.read(t,r)}Ne.statSync=gb;function Zn(t={}){return t instanceof Xn.default?t:new Xn.default(t)}});var Op=d((bx,Sp)=>{var Ap;Sp.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):t=>(Ap||(Ap=Promise.resolve())).then(t).catch(e=>setTimeout(()=>{throw e},0))});var Bp=d((Fx,Tp)=>{Tp.exports=_b;var yb=Op();function _b(t,e){let r,i,s,n=!0;Array.isArray(t)?(r=[],i=t.length):(s=Object.keys(t),r={},i=s.length);function o(a){function l(){e&&e(a,r),e=null}n?yb(l):l()}function u(a,l,c){r[a]=c,(--i===0||l)&&o(l)}i?s?s.forEach(function(a){t[a](function(l,c){u(a,l,c)})}):t.forEach(function(a,l){a(function(c,h){u(l,c,h)})}):o(null),n=!1}});var Jn=d(Kr=>{"use strict";Object.defineProperty(Kr,"__esModule",{value:!0});Kr.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var zr=process.versions.node.split(".");if(zr[0]===void 0||zr[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var Pp=Number.parseInt(zr[0],10),bb=Number.parseInt(zr[1],10),Rp=10,Fb=10,Eb=Pp>Rp,Cb=Pp===Rp&&bb>=Fb;Kr.IS_SUPPORT_READDIR_WITH_FILE_TYPES=Eb||Cb});var kp=d(Yr=>{"use strict";Object.defineProperty(Yr,"__esModule",{value:!0});Yr.createDirentFromStats=void 0;var eo=class{constructor(e,r){this.name=e,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function wb(t,e){return new eo(t,e)}Yr.createDirentFromStats=wb});var to=d(Qr=>{"use strict";Object.defineProperty(Qr,"__esModule",{value:!0});Qr.fs=void 0;var vb=kp();Qr.fs=vb});var ro=d(Xr=>{"use strict";Object.defineProperty(Xr,"__esModule",{value:!0});Xr.joinPathSegments=void 0;function xb(t,e,r){return t.endsWith(r)?t+e:t+r+e}Xr.joinPathSegments=xb});var Np=d(qe=>{"use strict";Object.defineProperty(qe,"__esModule",{value:!0});qe.readdir=qe.readdirWithFileTypes=qe.read=void 0;var Ab=tt(),$p=Bp(),Sb=Jn(),Ip=to(),Lp=ro();function Ob(t,e,r){if(!e.stats&&Sb.IS_SUPPORT_READDIR_WITH_FILE_TYPES){jp(t,e,r);return}Mp(t,e,r)}qe.read=Ob;function jp(t,e,r){e.fs.readdir(t,{withFileTypes:!0},(i,s)=>{if(i!==null){Zr(r,i);return}let n=s.map(u=>({dirent:u,name:u.name,path:Lp.joinPathSegments(t,u.name,e.pathSegmentSeparator)}));if(!e.followSymbolicLinks){io(r,n);return}let o=n.map(u=>Tb(u,e));$p(o,(u,a)=>{if(u!==null){Zr(r,u);return}io(r,a)})})}qe.readdirWithFileTypes=jp;function Tb(t,e){return r=>{if(!t.dirent.isSymbolicLink()){r(null,t);return}e.fs.stat(t.path,(i,s)=>{if(i!==null){if(e.throwErrorOnBrokenSymbolicLink){r(i);return}r(null,t);return}t.dirent=Ip.fs.createDirentFromStats(t.name,s),r(null,t)})}}function Mp(t,e,r){e.fs.readdir(t,(i,s)=>{if(i!==null){Zr(r,i);return}let n=s.map(o=>{let u=Lp.joinPathSegments(t,o,e.pathSegmentSeparator);return a=>{Ab.stat(u,e.fsStatSettings,(l,c)=>{if(l!==null){a(l);return}let h={name:o,path:u,dirent:Ip.fs.createDirentFromStats(o,c)};e.stats&&(h.stats=c),a(null,h)})}});$p(n,(o,u)=>{if(o!==null){Zr(r,o);return}io(r,u)})})}qe.readdir=Mp;function Zr(t,e){t(e)}function io(t,e){t(null,e)}});var Gp=d(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.readdir=He.readdirWithFileTypes=He.read=void 0;var Bb=tt(),Pb=Jn(),qp=to(),Hp=ro();function Rb(t,e){return!e.stats&&Pb.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Vp(t,e):Wp(t,e)}He.read=Rb;function Vp(t,e){return e.fs.readdirSync(t,{withFileTypes:!0}).map(i=>{let s={dirent:i,name:i.name,path:Hp.joinPathSegments(t,i.name,e.pathSegmentSeparator)};if(s.dirent.isSymbolicLink()&&e.followSymbolicLinks)try{let n=e.fs.statSync(s.path);s.dirent=qp.fs.createDirentFromStats(s.name,n)}catch(n){if(e.throwErrorOnBrokenSymbolicLink)throw n}return s})}He.readdirWithFileTypes=Vp;function Wp(t,e){return e.fs.readdirSync(t).map(i=>{let s=Hp.joinPathSegments(t,i,e.pathSegmentSeparator),n=Bb.statSync(s,e.fsStatSettings),o={name:i,path:s,dirent:qp.fs.createDirentFromStats(i,n)};return e.stats&&(o.stats=n),o})}He.readdir=Wp});var Up=d(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.createFileSystemAdapter=Ve.FILE_SYSTEM_ADAPTER=void 0;var gt=require("fs");Ve.FILE_SYSTEM_ADAPTER={lstat:gt.lstat,stat:gt.stat,lstatSync:gt.lstatSync,statSync:gt.statSync,readdir:gt.readdir,readdirSync:gt.readdirSync};function kb(t){return t===void 0?Ve.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Ve.FILE_SYSTEM_ADAPTER),t)}Ve.createFileSystemAdapter=kb});var zp=d(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});var $b=require("path"),Ib=tt(),Lb=Up(),so=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=Lb.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,$b.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new Ib.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e??r}};no.default=so});var Jr=d(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});We.Settings=We.scandirSync=We.scandir=void 0;var Kp=Np(),jb=Gp(),oo=zp();We.Settings=oo.default;function Mb(t,e,r){if(typeof e=="function"){Kp.read(t,uo(),e);return}Kp.read(t,uo(e),r)}We.scandir=Mb;function Nb(t,e){let r=uo(e);return jb.read(t,r)}We.scandirSync=Nb;function uo(t={}){return t instanceof oo.default?t:new oo.default(t)}});var Qp=d((Bx,Yp)=>{"use strict";function qb(t){var e=new t,r=e;function i(){var n=e;return n.next?e=n.next:(e=new t,r=e),n.next=null,n}function s(n){r.next=n,r=n}return{get:i,release:s}}Yp.exports=qb});var Zp=d((Px,ao)=>{"use strict";var Hb=Qp();function Xp(t,e,r){if(typeof t=="function"&&(r=e,e=t,t=null),!(r>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");var i=Hb(Vb),s=null,n=null,o=0,u=null,a={push:D,drain:De,saturated:De,pause:c,paused:!1,get concurrency(){return r},set concurrency(A){if(!(A>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(r=A,!a.paused)for(;s&&o<r;)o++,F()},running:l,resume:_,idle:p,length:h,getQueue:f,unshift:x,empty:De,kill:w,killAndDrain:b,error:B};return a;function l(){return o}function c(){a.paused=!0}function h(){for(var A=s,T=0;A;)A=A.next,T++;return T}function f(){for(var A=s,T=[];A;)T.push(A.value),A=A.next;return T}function _(){if(a.paused){if(a.paused=!1,s===null){o++,F();return}for(;s&&o<r;)o++,F()}}function p(){return o===0&&a.length()===0}function D(A,T){var O=i.get();O.context=t,O.release=F,O.value=A,O.callback=T||De,O.errorHandler=u,o>=r||a.paused?n?(n.next=O,n=O):(s=O,n=O,a.saturated()):(o++,e.call(t,O.value,O.worked))}function x(A,T){var O=i.get();O.context=t,O.release=F,O.value=A,O.callback=T||De,O.errorHandler=u,o>=r||a.paused?s?(O.next=s,s=O):(s=O,n=O,a.saturated()):(o++,e.call(t,O.value,O.worked))}function F(A){A&&i.release(A);var T=s;T&&o<=r?a.paused?o--:(n===s&&(n=null),s=T.next,T.next=null,e.call(t,T.value,T.worked),n===null&&a.empty()):--o===0&&a.drain()}function w(){s=null,n=null,a.drain=De}function b(){s=null,n=null,a.drain(),a.drain=De}function B(A){u=A}}function De(){}function Vb(){this.value=null,this.callback=De,this.next=null,this.release=De,this.context=null,this.errorHandler=null;var t=this;this.worked=function(r,i){var s=t.callback,n=t.errorHandler,o=t.value;t.value=null,t.callback=De,t.errorHandler&&n(r,o),s.call(t.context,r,i),t.release(t)}}function Wb(t,e,r){typeof t=="function"&&(r=e,e=t,t=null);function i(c,h){e.call(this,c).then(function(f){h(null,f)},h)}var s=Xp(t,i,r),n=s.push,o=s.unshift;return s.push=u,s.unshift=a,s.drained=l,s;function u(c){var h=new Promise(function(f,_){n(c,function(p,D){if(p){_(p);return}f(D)})});return h.catch(De),h}function a(c){var h=new Promise(function(f,_){o(c,function(p,D){if(p){_(p);return}f(D)})});return h.catch(De),h}function l(){if(s.idle())return new Promise(function(f){f()});var c=s.drain,h=new Promise(function(f){s.drain=function(){c(),f()}});return h}}ao.exports=Xp;ao.exports.promise=Wb});var ei=d(Se=>{"use strict";Object.defineProperty(Se,"__esModule",{value:!0});Se.joinPathSegments=Se.replacePathSegmentSeparator=Se.isAppliedFilter=Se.isFatalError=void 0;function Gb(t,e){return t.errorFilter===null?!0:!t.errorFilter(e)}Se.isFatalError=Gb;function Ub(t,e){return t===null||t(e)}Se.isAppliedFilter=Ub;function zb(t,e){return t.split(/[/\\]/).join(e)}Se.replacePathSegmentSeparator=zb;function Kb(t,e,r){return t===""?e:t.endsWith(r)?t+e:t+r+e}Se.joinPathSegments=Kb});var ho=d(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});var Yb=ei(),lo=class{constructor(e,r){this._root=e,this._settings=r,this._root=Yb.replacePathSegmentSeparator(e,r.pathSegmentSeparator)}};co.default=lo});var mo=d(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});var Qb=require("events"),Xb=Jr(),Zb=Zp(),ti=ei(),Jb=ho(),fo=class extends Jb.default{constructor(e,r){super(e,r),this._settings=r,this._scandir=Xb.scandir,this._emitter=new Qb.EventEmitter,this._queue=Zb(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,r){let i={directory:e,base:r};this._queue.push(i,s=>{s!==null&&this._handleError(s)})}_worker(e,r){this._scandir(e.directory,this._settings.fsScandirSettings,(i,s)=>{if(i!==null){r(i,void 0);return}for(let n of s)this._handleEntry(n,e.base);r(null,void 0)})}_handleError(e){this._isDestroyed||!ti.isFatalError(this._settings,e)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,r){if(this._isDestroyed||this._isFatalError)return;let i=e.path;r!==void 0&&(e.path=ti.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),ti.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&ti.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(i,r===void 0?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}};po.default=fo});var Jp=d(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});var eF=mo(),Do=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new eF.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError(r=>{tF(e,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{rF(e,this._storage)}),this._reader.read()}};go.default=Do;function tF(t,e){t(e)}function rF(t,e){t(null,e)}});var ed=d(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});var iF=require("stream"),sF=mo(),yo=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new sF.default(this._root,this._settings),this._stream=new iF.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(e=>{this._stream.emit("error",e)}),this._reader.onEntry(e=>{this._stream.push(e)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};_o.default=yo});var td=d(Fo=>{"use strict";Object.defineProperty(Fo,"__esModule",{value:!0});var nF=Jr(),ri=ei(),oF=ho(),bo=class extends oF.default{constructor(){super(...arguments),this._scandir=nF.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,r){this._queue.add({directory:e,base:r})}_handleQueue(){for(let e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,r){try{let i=this._scandir(e,this._settings.fsScandirSettings);for(let s of i)this._handleEntry(s,r)}catch(i){this._handleError(i)}}_handleError(e){if(ri.isFatalError(this._settings,e))throw e}_handleEntry(e,r){let i=e.path;r!==void 0&&(e.path=ri.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),ri.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&ri.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(i,r===void 0?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}};Fo.default=bo});var rd=d(Co=>{"use strict";Object.defineProperty(Co,"__esModule",{value:!0});var uF=td(),Eo=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new uF.default(this._root,this._settings)}read(){return this._reader.read()}};Co.default=Eo});var id=d(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});var aF=require("path"),lF=Jr(),wo=class{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,aF.sep),this.fsScandirSettings=new lF.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e??r}};vo.default=wo});var si=d(Oe=>{"use strict";Object.defineProperty(Oe,"__esModule",{value:!0});Oe.Settings=Oe.walkStream=Oe.walkSync=Oe.walk=void 0;var sd=Jp(),cF=ed(),hF=rd(),xo=id();Oe.Settings=xo.default;function fF(t,e,r){if(typeof e=="function"){new sd.default(t,ii()).read(e);return}new sd.default(t,ii(e)).read(r)}Oe.walk=fF;function pF(t,e){let r=ii(e);return new hF.default(t,r).read()}Oe.walkSync=pF;function dF(t,e){let r=ii(e);return new cF.default(t,r).read()}Oe.walkStream=dF;function ii(t={}){return t instanceof xo.default?t:new xo.default(t)}});var ni=d(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});var mF=require("path"),DF=tt(),nd=Re(),Ao=class{constructor(e){this._settings=e,this._fsStatSettings=new DF.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return mF.resolve(this._settings.cwd,e)}_makeEntry(e,r){let i={name:r,path:r,dirent:nd.fs.createDirentFromStats(r,e)};return this._settings.stats&&(i.stats=e),i}_isFatalError(e){return!nd.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};So.default=Ao});var Bo=d(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});var gF=require("stream"),yF=tt(),_F=si(),bF=ni(),Oo=class extends bF.default{constructor(){super(...arguments),this._walkStream=_F.walkStream,this._stat=yF.stat}dynamic(e,r){return this._walkStream(e,r)}static(e,r){let i=e.map(this._getFullEntryPath,this),s=new gF.PassThrough({objectMode:!0});s._write=(n,o,u)=>this._getEntry(i[n],e[n],r).then(a=>{a!==null&&r.entryFilter(a)&&s.push(a),n===i.length-1&&s.end(),u()}).catch(u);for(let n=0;n<i.length;n++)s.write(n);return s}_getEntry(e,r,i){return this._getStat(e).then(s=>this._makeEntry(s,r)).catch(s=>{if(i.errorFilter(s))return null;throw s})}_getStat(e){return new Promise((r,i)=>{this._stat(e,this._fsStatSettings,(s,n)=>s===null?r(n):i(s))})}};To.default=Oo});var od=d(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});var FF=si(),EF=ni(),CF=Bo(),Po=class extends EF.default{constructor(){super(...arguments),this._walkAsync=FF.walk,this._readerStream=new CF.default(this._settings)}dynamic(e,r){return new Promise((i,s)=>{this._walkAsync(e,r,(n,o)=>{n===null?i(o):s(n)})})}async static(e,r){let i=[],s=this._readerStream.static(e,r);return new Promise((n,o)=>{s.once("error",o),s.on("data",u=>i.push(u)),s.once("end",()=>n(i))})}};Ro.default=Po});var ud=d($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});var Gt=Re(),ko=class{constructor(e,r,i){this._patterns=e,this._settings=r,this._micromatchOptions=i,this._storage=[],this._fillStorage()}_fillStorage(){for(let e of this._patterns){let r=this._getPatternSegments(e),i=this._splitSegmentsIntoSections(r);this._storage.push({complete:i.length<=1,pattern:e,segments:r,sections:i})}}_getPatternSegments(e){return Gt.pattern.getPatternParts(e,this._micromatchOptions).map(i=>Gt.pattern.isDynamicPattern(i,this._settings)?{dynamic:!0,pattern:i,patternRe:Gt.pattern.makeRe(i,this._micromatchOptions)}:{dynamic:!1,pattern:i})}_splitSegmentsIntoSections(e){return Gt.array.splitWhen(e,r=>r.dynamic&&Gt.pattern.hasGlobStar(r.pattern))}};$o.default=ko});var ad=d(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});var wF=ud(),Io=class extends wF.default{match(e){let r=e.split("/"),i=r.length,s=this._storage.filter(n=>!n.complete||n.segments.length>i);for(let n of s){let o=n.sections[0];if(!n.complete&&i>o.length||r.every((a,l)=>{let c=n.segments[l];return!!(c.dynamic&&c.patternRe.test(a)||!c.dynamic&&c.pattern===a)}))return!0}return!1}};Lo.default=Io});var ld=d(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});var oi=Re(),vF=ad(),jo=class{constructor(e,r){this._settings=e,this._micromatchOptions=r}getFilter(e,r,i){let s=this._getMatcher(r),n=this._getNegativePatternsRe(i);return o=>this._filter(e,o,s,n)}_getMatcher(e){return new vF.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){let r=e.filter(oi.pattern.isAffectDepthOfReadingPattern);return oi.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(e,r,i,s){if(this._isSkippedByDeep(e,r.path)||this._isSkippedSymbolicLink(r))return!1;let n=oi.path.removeLeadingDotSegment(r.path);return this._isSkippedByPositivePatterns(n,i)?!1:this._isSkippedByNegativePatterns(n,s)}_isSkippedByDeep(e,r){return this._settings.deep===1/0?!1:this._getEntryLevel(e,r)>=this._settings.deep}_getEntryLevel(e,r){let i=r.split("/").length;if(e==="")return i;let s=e.split("/").length;return i-s}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,r){return!this._settings.baseNameMatch&&!r.match(e)}_isSkippedByNegativePatterns(e,r){return!oi.pattern.matchAny(e,r)}};Mo.default=jo});var cd=d(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});var Ge=Re(),No=class{constructor(e,r){this._settings=e,this._micromatchOptions=r,this.index=new Map}getFilter(e,r){let[i,s]=Ge.pattern.partitionAbsoluteAndRelative(r),n={positive:{all:Ge.pattern.convertPatternsToRe(e,this._micromatchOptions)},negative:{absolute:Ge.pattern.convertPatternsToRe(i,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0})),relative:Ge.pattern.convertPatternsToRe(s,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}))}};return o=>this._filter(o,n)}_filter(e,r){let i=Ge.path.removeLeadingDotSegment(e.path);if(this._settings.unique&&this._isDuplicateEntry(i)||this._onlyFileFilter(e)||this._onlyDirectoryFilter(e))return!1;let s=this._isMatchToPatternsSet(i,r,e.dirent.isDirectory());return this._settings.unique&&s&&this._createIndexRecord(i),s}_isDuplicateEntry(e){return this.index.has(e)}_createIndexRecord(e){this.index.set(e,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isMatchToPatternsSet(e,r,i){return!(!this._isMatchToPatterns(e,r.positive.all,i)||this._isMatchToPatterns(e,r.negative.relative,i)||this._isMatchToAbsoluteNegative(e,r.negative.absolute,i))}_isMatchToAbsoluteNegative(e,r,i){if(r.length===0)return!1;let s=Ge.path.makeAbsolute(this._settings.cwd,e);return this._isMatchToPatterns(s,r,i)}_isMatchToPatterns(e,r,i){if(r.length===0)return!1;let s=Ge.pattern.matchAny(e,r);return!s&&i?Ge.pattern.matchAny(e+"/",r):s}};qo.default=No});var hd=d(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});var xF=Re(),Ho=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return xF.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};Vo.default=Ho});var pd=d(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});var fd=Re(),Wo=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let r=e.path;return this._settings.absolute&&(r=fd.path.makeAbsolute(this._settings.cwd,r),r=fd.path.unixify(r)),this._settings.markDirectories&&e.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:r}):r}};Go.default=Wo});var ui=d(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});var AF=require("path"),SF=ld(),OF=cd(),TF=hd(),BF=pd(),Uo=class{constructor(e){this._settings=e,this.errorFilter=new TF.default(this._settings),this.entryFilter=new OF.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new SF.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new BF.default(this._settings)}_getRootDirectory(e){return AF.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){let r=e.base==="."?"":e.base;return{basePath:r,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(r,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};zo.default=Uo});var dd=d(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});var PF=od(),RF=ui(),Ko=class extends RF.default{constructor(){super(...arguments),this._reader=new PF.default(this._settings)}async read(e){let r=this._getRootDirectory(e),i=this._getReaderOptions(e);return(await this.api(r,e,i)).map(n=>i.transform(n))}api(e,r,i){return r.dynamic?this._reader.dynamic(e,i):this._reader.static(r.patterns,i)}};Yo.default=Ko});var md=d(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});var kF=require("stream"),$F=Bo(),IF=ui(),Qo=class extends IF.default{constructor(){super(...arguments),this._reader=new $F.default(this._settings)}read(e){let r=this._getRootDirectory(e),i=this._getReaderOptions(e),s=this.api(r,e,i),n=new kF.Readable({objectMode:!0,read:()=>{}});return s.once("error",o=>n.emit("error",o)).on("data",o=>n.emit("data",i.transform(o))).once("end",()=>n.emit("end")),n.once("close",()=>s.destroy()),n}api(e,r,i){return r.dynamic?this._reader.dynamic(e,i):this._reader.static(r.patterns,i)}};Xo.default=Qo});var Dd=d(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var LF=tt(),jF=si(),MF=ni(),Zo=class extends MF.default{constructor(){super(...arguments),this._walkSync=jF.walkSync,this._statSync=LF.statSync}dynamic(e,r){return this._walkSync(e,r)}static(e,r){let i=[];for(let s of e){let n=this._getFullEntryPath(s),o=this._getEntry(n,s,r);o===null||!r.entryFilter(o)||i.push(o)}return i}_getEntry(e,r,i){try{let s=this._getStat(e);return this._makeEntry(s,r)}catch(s){if(i.errorFilter(s))return null;throw s}}_getStat(e){return this._statSync(e,this._fsStatSettings)}};Jo.default=Zo});var gd=d(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});var NF=Dd(),qF=ui(),eu=class extends qF.default{constructor(){super(...arguments),this._reader=new NF.default(this._settings)}read(e){let r=this._getRootDirectory(e),i=this._getReaderOptions(e);return this.api(r,e,i).map(i.transform)}api(e,r,i){return r.dynamic?this._reader.dynamic(e,i):this._reader.static(r.patterns,i)}};tu.default=eu});var yd=d(_t=>{"use strict";Object.defineProperty(_t,"__esModule",{value:!0});_t.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var yt=require("fs"),HF=require("os"),VF=Math.max(HF.cpus().length,1);_t.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:yt.lstat,lstatSync:yt.lstatSync,stat:yt.stat,statSync:yt.statSync,readdir:yt.readdir,readdirSync:yt.readdirSync};var ru=class{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,VF),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore)}_getValue(e,r){return e===void 0?r:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},_t.DEFAULT_FILE_SYSTEM_ADAPTER),e)}};_t.default=ru});var Fd=d((iA,bd)=>{"use strict";var _d=bp(),WF=dd(),GF=md(),UF=gd(),iu=yd(),ge=Re();async function su(t,e){Ce(t);let r=nu(t,WF.default,e),i=await Promise.all(r);return ge.array.flatten(i)}(function(t){t.glob=t,t.globSync=e,t.globStream=r,t.async=t;function e(l,c){Ce(l);let h=nu(l,UF.default,c);return ge.array.flatten(h)}t.sync=e;function r(l,c){Ce(l);let h=nu(l,GF.default,c);return ge.stream.merge(h)}t.stream=r;function i(l,c){Ce(l);let h=[].concat(l),f=new iu.default(c);return _d.generate(h,f)}t.generateTasks=i;function s(l,c){Ce(l);let h=new iu.default(c);return ge.pattern.isDynamicPattern(l,h)}t.isDynamicPattern=s;function n(l){return Ce(l),ge.path.escape(l)}t.escapePath=n;function o(l){return Ce(l),ge.path.convertPathToPattern(l)}t.convertPathToPattern=o;let u;(function(l){function c(f){return Ce(f),ge.path.escapePosixPath(f)}l.escapePath=c;function h(f){return Ce(f),ge.path.convertPosixPathToPattern(f)}l.convertPathToPattern=h})(u=t.posix||(t.posix={}));let a;(function(l){function c(f){return Ce(f),ge.path.escapeWindowsPath(f)}l.escapePath=c;function h(f){return Ce(f),ge.path.convertWindowsPathToPattern(f)}l.convertPathToPattern=h})(a=t.win32||(t.win32={}))})(su||(su={}));function nu(t,e,r){let i=[].concat(t),s=new iu.default(r),n=_d.generate(i,s),o=new e(s);return n.map(o.read,o)}function Ce(t){if(![].concat(t).every(i=>ge.string.isString(i)&&!ge.string.isEmpty(i)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}bd.exports=su});var kd=L(Qa(),1),$d=L(Za(),1);var Ja=(t=0)=>e=>`\x1B[${e+t}m`,el=(t=0)=>e=>`\x1B[${38+t};5;${e}m`,tl=(t=0)=>(e,r,i)=>`\x1B[${38+t};2;${e};${r};${i}m`,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]}},GE=Object.keys(W.modifier),mD=Object.keys(W.color),DD=Object.keys(W.bgColor),UE=[...mD,...DD];function gD(){let t=new Map;for(let[e,r]of Object.entries(W)){for(let[i,s]of Object.entries(r))W[i]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},r[i]=W[i],t.set(s[0],s[1]);Object.defineProperty(W,e,{value:r,enumerable:!1})}return Object.defineProperty(W,"codes",{value:t,enumerable:!1}),W.color.close="\x1B[39m",W.bgColor.close="\x1B[49m",W.color.ansi=Ja(),W.color.ansi256=el(),W.color.ansi16m=tl(),W.bgColor.ansi=Ja(10),W.bgColor.ansi256=el(10),W.bgColor.ansi16m=tl(10),Object.defineProperties(W,{rgbToAnsi256:{value(e,r,i){return e===r&&r===i?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(i/255*5)},enumerable:!1},hexToRgb:{value(e){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!r)return[0,0,0];let[i]=r;i.length===3&&(i=[...i].map(n=>n+n).join(""));let s=Number.parseInt(i,16);return[s>>16&255,s>>8&255,s&255]},enumerable:!1},hexToAnsi256:{value:e=>W.rgbToAnsi256(...W.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let r,i,s;if(e>=232)r=((e-232)*10+8)/255,i=r,s=r;else{e-=16;let u=e%36;r=Math.floor(e/36)/5,i=Math.floor(u/6)/5,s=u%6/5}let n=Math.max(r,i,s)*2;if(n===0)return 30;let o=30+(Math.round(s)<<2|Math.round(i)<<1|Math.round(r));return n===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,r,i)=>W.ansi256ToAnsi(W.rgbToAnsi256(e,r,i)),enumerable:!1},hexToAnsi:{value:e=>W.ansi256ToAnsi(W.hexToAnsi256(e)),enumerable:!1}}),W}var yD=gD(),be=yD;var nr=L(require("node:process"),1),il=L(require("node:os"),1),ss=L(require("node:tty"),1);function fe(t,e=globalThis.Deno?globalThis.Deno.args:nr.default.argv){let r=t.startsWith("-")?"":t.length===1?"-":"--",i=e.indexOf(r+t),s=e.indexOf("--");return i!==-1&&(s===-1||i<s)}var{env:Y}=nr.default,sr;fe("no-color")||fe("no-colors")||fe("color=false")||fe("color=never")?sr=0:(fe("color")||fe("colors")||fe("color=true")||fe("color=always"))&&(sr=1);function _D(){if("FORCE_COLOR"in Y)return Y.FORCE_COLOR==="true"?1:Y.FORCE_COLOR==="false"?0:Y.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(Y.FORCE_COLOR,10),3)}function bD(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function FD(t,{streamIsTTY:e,sniffFlags:r=!0}={}){let i=_D();i!==void 0&&(sr=i);let s=r?sr:i;if(s===0)return 0;if(r){if(fe("color=16m")||fe("color=full")||fe("color=truecolor"))return 3;if(fe("color=256"))return 2}if("TF_BUILD"in Y&&"AGENT_NAME"in Y)return 1;if(t&&!e&&s===void 0)return 0;let n=s||0;if(Y.TERM==="dumb")return n;if(nr.default.platform==="win32"){let o=il.default.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in Y)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(o=>o in Y)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(o=>o in Y)||Y.CI_NAME==="codeship"?1:n;if("TEAMCITY_VERSION"in Y)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Y.TEAMCITY_VERSION)?1:0;if(Y.COLORTERM==="truecolor"||Y.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in Y){let o=Number.parseInt((Y.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Y.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Y.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Y.TERM)||"COLORTERM"in Y?1:n}function rl(t,e={}){let r=FD(t,{streamIsTTY:t&&t.isTTY,...e});return bD(r)}var ED={stdout:rl({isTTY:ss.default.isatty(1)}),stderr:rl({isTTY:ss.default.isatty(2)})},sl=ED;function nl(t,e,r){let i=t.indexOf(e);if(i===-1)return t;let s=e.length,n=0,o="";do o+=t.slice(n,i)+e+r,n=i+s,i=t.indexOf(e,n);while(i!==-1);return o+=t.slice(n),o}function ol(t,e,r,i){let s=0,n="";do{let o=t[i-1]==="\r";n+=t.slice(s,o?i-1:i)+e+(o?`\r
61
+ `:`
62
+ `)+r,s=i+1,i=t.indexOf(`
63
+ `,s)}while(i!==-1);return n+=t.slice(s),n}var{stdout:ul,stderr:al}=sl,ns=Symbol("GENERATOR"),ut=Symbol("STYLER"),At=Symbol("IS_EMPTY"),ll=["ansi","ansi","ansi256","ansi16m"],at=Object.create(null),CD=(t,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=ul?ul.level:0;t.level=e.level===void 0?r:e.level};var wD=t=>{let e=(...r)=>r.join(" ");return CD(e,t),Object.setPrototypeOf(e,St.prototype),e};function St(t){return wD(t)}Object.setPrototypeOf(St.prototype,Function.prototype);for(let[t,e]of Object.entries(be))at[t]={get(){let r=or(this,us(e.open,e.close,this[ut]),this[At]);return Object.defineProperty(this,t,{value:r}),r}};at.visible={get(){let t=or(this,this[ut],!0);return Object.defineProperty(this,"visible",{value:t}),t}};var os=(t,e,r,...i)=>t==="rgb"?e==="ansi16m"?be[r].ansi16m(...i):e==="ansi256"?be[r].ansi256(be.rgbToAnsi256(...i)):be[r].ansi(be.rgbToAnsi(...i)):t==="hex"?os("rgb",e,r,...be.hexToRgb(...i)):be[r][t](...i),vD=["rgb","hex","ansi256"];for(let t of vD){at[t]={get(){let{level:r}=this;return function(...i){let s=us(os(t,ll[r],"color",...i),be.color.close,this[ut]);return or(this,s,this[At])}}};let e="bg"+t[0].toUpperCase()+t.slice(1);at[e]={get(){let{level:r}=this;return function(...i){let s=us(os(t,ll[r],"bgColor",...i),be.bgColor.close,this[ut]);return or(this,s,this[At])}}}}var xD=Object.defineProperties(()=>{},{...at,level:{enumerable:!0,get(){return this[ns].level},set(t){this[ns].level=t}}}),us=(t,e,r)=>{let i,s;return r===void 0?(i=t,s=e):(i=r.openAll+t,s=e+r.closeAll),{open:t,close:e,openAll:i,closeAll:s,parent:r}},or=(t,e,r)=>{let i=(...s)=>AD(i,s.length===1?""+s[0]:s.join(" "));return Object.setPrototypeOf(i,xD),i[ns]=t,i[ut]=e,i[At]=r,i},AD=(t,e)=>{if(t.level<=0||!e)return t[At]?"":e;let r=t[ut];if(r===void 0)return e;let{openAll:i,closeAll:s}=r;if(e.includes("\x1B"))for(;r!==void 0;)e=nl(e,r.close,r.open),r=r.parent;let n=e.indexOf(`
64
+ `);return n!==-1&&(e=ol(e,s,i,n)),i+e+s};Object.defineProperties(St.prototype,at);var SD=St(),JE=St({level:al?al.level:0});var K=SD;var G=L(require("path"),1);var as=L(require("node:process"),1),cl=as.default.env.npm_package_json,ur=as.default.env.npm_config_user_agent,tC=!!(ur&&ur.startsWith("npm")),rC=!!(cl&&cl.endsWith("package.json"));var hl=!!(ur&&ur.startsWith("yarn"));var Xc=require("node:buffer"),Zc=L(require("node:path"),1),Cr=L(require("node:child_process"),1),Pt=L(require("node:process"),1),Jc=L(Jl(),1);function ys(t){let e=typeof t=="string"?`
65
+ `:10,r=typeof t=="string"?"\r":13;return t[t.length-1]===e&&(t=t.slice(0,-1)),t[t.length-1]===r&&(t=t.slice(0,-1)),t}var Ot=L(require("node:process"),1),ht=L(require("node:path"),1),_s=require("node:url");function lr(t={}){let{env:e=process.env,platform:r=process.platform}=t;return r!=="win32"?"PATH":Object.keys(e).reverse().find(i=>i.toUpperCase()==="PATH")||"Path"}var tg=({cwd:t=Ot.default.cwd(),path:e=Ot.default.env[lr()],preferLocal:r=!0,execPath:i=Ot.default.execPath,addExecPath:s=!0}={})=>{let n=t instanceof URL?(0,_s.fileURLToPath)(t):t,o=ht.default.resolve(n),u=[];return r&&rg(u,o),s&&ig(u,i,o),[...u,e].join(ht.default.delimiter)},rg=(t,e)=>{let r;for(;r!==e;)t.push(ht.default.join(e,"node_modules/.bin")),r=e,e=ht.default.resolve(e,"..")},ig=(t,e,r)=>{let i=e instanceof URL?(0,_s.fileURLToPath)(e):e;t.push(ht.default.resolve(r,i,".."))},ec=({env:t=Ot.default.env,...e}={})=>{t={...t};let r=lr({env:t});return e.path=t[r],t[r]=tg(e),t};var sg=(t,e,r,i)=>{if(r==="length"||r==="prototype"||r==="arguments"||r==="caller")return;let s=Object.getOwnPropertyDescriptor(t,r),n=Object.getOwnPropertyDescriptor(e,r);!ng(s,n)&&i||Object.defineProperty(t,r,n)},ng=function(t,e){return t===void 0||t.configurable||t.writable===e.writable&&t.enumerable===e.enumerable&&t.configurable===e.configurable&&(t.writable||t.value===e.value)},og=(t,e)=>{let r=Object.getPrototypeOf(e);r!==Object.getPrototypeOf(t)&&Object.setPrototypeOf(t,r)},ug=(t,e)=>`/* Wrapped ${t}*/
66
+ ${e}`,ag=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),lg=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),cg=(t,e,r)=>{let i=r===""?"":`with ${r.trim()}() `,s=ug.bind(null,i,e.toString());Object.defineProperty(s,"name",lg),Object.defineProperty(t,"toString",{...ag,value:s})};function bs(t,e,{ignoreNonConfigurable:r=!1}={}){let{name:i}=t;for(let s of Reflect.ownKeys(e))sg(t,e,s,r);return og(t,e),cg(t,e,i),t}var cr=new WeakMap,tc=(t,e={})=>{if(typeof t!="function")throw new TypeError("Expected a function");let r,i=0,s=t.displayName||t.name||"<anonymous>",n=function(...o){if(cr.set(n,++i),i===1)r=t.apply(this,o),t=null;else if(e.throw===!0)throw new Error(`Function \`${s}\` can only be called once`);return r};return bs(n,t),cr.set(n,i),n};tc.callCount=t=>{if(!cr.has(t))throw new Error(`The given function \`${t.name}\` is not wrapped by the \`onetime\` package`);return cr.get(t)};var rc=tc;var cc=L(require("node:process"),1);var ac=require("node:os");var ic=()=>{let t=nc-sc+1;return Array.from({length:t},hg)},hg=(t,e)=>({name:`SIGRT${e+1}`,number:sc+e,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),sc=34,nc=64;var uc=require("node:os");var oc=[{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"}];var Fs=()=>{let t=ic();return[...oc,...t].map(fg)},fg=({name:t,number:e,description:r,action:i,forced:s=!1,standard:n})=>{let{signals:{[t]:o}}=uc.constants,u=o!==void 0;return{name:t,number:u?o:e,description:r,supported:u,action:i,forced:s,standard:n}};var pg=()=>{let t=Fs();return Object.fromEntries(t.map(dg))},dg=({name:t,number:e,description:r,supported:i,action:s,forced:n,standard:o})=>[t,{name:t,number:e,description:r,supported:i,action:s,forced:n,standard:o}],lc=pg(),mg=()=>{let t=Fs(),e=65,r=Array.from({length:e},(i,s)=>Dg(s,t));return Object.assign({},...r)},Dg=(t,e)=>{let r=gg(t,e);if(r===void 0)return{};let{name:i,description:s,supported:n,action:o,forced:u,standard:a}=r;return{[t]:{name:i,number:t,description:s,supported:n,action:o,forced:u,standard:a}}},gg=(t,e)=>{let r=e.find(({name:i})=>ac.constants.signals[i]===t);return r!==void 0?r:e.find(i=>i.number===t)},BC=mg();var yg=({timedOut:t,timeout:e,errorCode:r,signal:i,signalDescription:s,exitCode:n,isCanceled:o})=>t?`timed out after ${e} milliseconds`:o?"was canceled":r!==void 0?`failed with ${r}`:i!==void 0?`was killed with ${i} (${s})`:n!==void 0?`failed with exit code ${n}`:"failed",Tt=({stdout:t,stderr:e,all:r,error:i,signal:s,exitCode:n,command:o,escapedCommand:u,timedOut:a,isCanceled:l,killed:c,parsed:{options:{timeout:h,cwd:f=cc.default.cwd()}}})=>{n=n===null?void 0:n,s=s===null?void 0:s;let _=s===void 0?void 0:lc[s].description,p=i&&i.code,x=`Command ${yg({timedOut:a,timeout:h,errorCode:p,signal:s,signalDescription:_,exitCode:n,isCanceled:l})}: ${o}`,F=Object.prototype.toString.call(i)==="[object Error]",w=F?`${x}
67
+ ${i.message}`:x,b=[w,e,t].filter(Boolean).join(`
68
+ `);return F?(i.originalMessage=i.message,i.message=b):i=new Error(b),i.shortMessage=w,i.command=o,i.escapedCommand=u,i.exitCode=n,i.signal=s,i.signalDescription=_,i.stdout=t,i.stderr=e,i.cwd=f,r!==void 0&&(i.all=r),"bufferedData"in i&&delete i.bufferedData,i.failed=!0,i.timedOut=!!a,i.isCanceled=l,i.killed=c&&!a,i};var hr=["stdin","stdout","stderr"],_g=t=>hr.some(e=>t[e]!==void 0),hc=t=>{if(!t)return;let{stdio:e}=t;if(e===void 0)return hr.map(i=>t[i]);if(_g(t))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${hr.map(i=>`\`${i}\``).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}\``);let r=Math.max(e.length,hr.length);return Array.from({length:r},(i,s)=>e[s])};var fc=L(require("node:os"),1);var Xe=[];Xe.push("SIGHUP","SIGINT","SIGTERM");process.platform!=="win32"&&Xe.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Xe.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");var fr=t=>!!t&&typeof t=="object"&&typeof t.removeListener=="function"&&typeof t.emit=="function"&&typeof t.reallyExit=="function"&&typeof t.listeners=="function"&&typeof t.kill=="function"&&typeof t.pid=="number"&&typeof t.on=="function",Es=Symbol.for("signal-exit emitter"),Cs=globalThis,bg=Object.defineProperty.bind(Object),ws=class{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(Cs[Es])return Cs[Es];bg(Cs,Es,{value:this,writable:!1,enumerable:!1,configurable:!1})}on(e,r){this.listeners[e].push(r)}removeListener(e,r){let i=this.listeners[e],s=i.indexOf(r);s!==-1&&(s===0&&i.length===1?i.length=0:i.splice(s,1))}emit(e,r,i){if(this.emitted[e])return!1;this.emitted[e]=!0;let s=!1;for(let n of this.listeners[e])s=n(r,i)===!0||s;return e==="exit"&&(s=this.emit("afterExit",r,i)||s),s}},pr=class{},Fg=t=>({onExit(e,r){return t.onExit(e,r)},load(){return t.load()},unload(){return t.unload()}}),vs=class extends pr{onExit(){return()=>{}}load(){}unload(){}},xs=class extends pr{#o=As.platform==="win32"?"SIGINT":"SIGHUP";#r=new ws;#e;#s;#f;#t={};#n=!1;constructor(e){super(),this.#e=e,this.#t={};for(let r of Xe)this.#t[r]=()=>{let i=this.#e.listeners(r),{count:s}=this.#r,n=e;if(typeof n.__signal_exit_emitter__=="object"&&typeof n.__signal_exit_emitter__.count=="number"&&(s+=n.__signal_exit_emitter__.count),i.length===s){this.unload();let o=this.#r.emit("exit",null,r),u=r==="SIGHUP"?this.#o:r;o||e.kill(e.pid,u)}};this.#f=e.reallyExit,this.#s=e.emit}onExit(e,r){if(!fr(this.#e))return()=>{};this.#n===!1&&this.load();let i=r?.alwaysLast?"afterExit":"exit";return this.#r.on(i,e),()=>{this.#r.removeListener(i,e),this.#r.listeners.exit.length===0&&this.#r.listeners.afterExit.length===0&&this.unload()}}load(){if(!this.#n){this.#n=!0,this.#r.count+=1;for(let e of Xe)try{let r=this.#t[e];r&&this.#e.on(e,r)}catch{}this.#e.emit=(e,...r)=>this.#p(e,...r),this.#e.reallyExit=e=>this.#i(e)}}unload(){this.#n&&(this.#n=!1,Xe.forEach(e=>{let r=this.#t[e];if(!r)throw new Error("Listener not defined for signal: "+e);try{this.#e.removeListener(e,r)}catch{}}),this.#e.emit=this.#s,this.#e.reallyExit=this.#f,this.#r.count-=1)}#i(e){return fr(this.#e)?(this.#e.exitCode=e||0,this.#r.emit("exit",this.#e.exitCode,null),this.#f.call(this.#e,this.#e.exitCode)):0}#p(e,...r){let i=this.#s;if(e==="exit"&&fr(this.#e)){typeof r[0]=="number"&&(this.#e.exitCode=r[0]);let s=i.call(this.#e,e,...r);return this.#r.emit("exit",this.#e.exitCode,null),s}else return i.call(this.#e,e,...r)}},As=globalThis.process,{onExit:dr,load:jC,unload:MC}=Fg(fr(As)?new xs(As):new vs);var Eg=1e3*5,pc=(t,e="SIGTERM",r={})=>{let i=t(e);return Cg(t,e,r,i),i},Cg=(t,e,r,i)=>{if(!wg(e,r,i))return;let s=xg(r),n=setTimeout(()=>{t("SIGKILL")},s);n.unref&&n.unref()},wg=(t,{forceKillAfterTimeout:e},r)=>vg(t)&&e!==!1&&r,vg=t=>t===fc.default.constants.signals.SIGTERM||typeof t=="string"&&t.toUpperCase()==="SIGTERM",xg=({forceKillAfterTimeout:t=!0})=>{if(t===!0)return Eg;if(!Number.isFinite(t)||t<0)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${t}\` (${typeof t})`);return t},dc=(t,e)=>{t.kill()&&(e.isCanceled=!0)},Ag=(t,e,r)=>{t.kill(e),r(Object.assign(new Error("Timed out"),{timedOut:!0,signal:e}))},mc=(t,{timeout:e,killSignal:r="SIGTERM"},i)=>{if(e===0||e===void 0)return i;let s,n=new Promise((u,a)=>{s=setTimeout(()=>{Ag(t,r,a)},e)}),o=i.finally(()=>{clearTimeout(s)});return Promise.race([n,o])},Dc=({timeout:t})=>{if(t!==void 0&&(!Number.isFinite(t)||t<0))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${t}\` (${typeof t})`)},gc=async(t,{cleanup:e,detached:r},i)=>{if(!e||r)return i;let s=dr(()=>{t.kill()});return i.finally(()=>{s()})};var yc=require("node:fs"),_c=require("node:child_process");function mr(t){return t!==null&&typeof t=="object"&&typeof t.pipe=="function"}function Ss(t){return mr(t)&&t.writable!==!1&&typeof t._write=="function"&&typeof t._writableState=="object"}var Sg=t=>t instanceof _c.ChildProcess&&typeof t.then=="function",Os=(t,e,r)=>{if(typeof r=="string")return t[e].pipe((0,yc.createWriteStream)(r)),t;if(Ss(r))return t[e].pipe(r),t;if(!Sg(r))throw new TypeError("The second argument must be a string, a stream or an Execa child process.");if(!Ss(r.stdin))throw new TypeError("The target child process's stdin must be available.");return t[e].pipe(r.stdin),r},bc=t=>{t.stdout!==null&&(t.pipeStdout=Os.bind(void 0,t,"stdout")),t.stderr!==null&&(t.pipeStderr=Os.bind(void 0,t,"stderr")),t.all!==void 0&&(t.pipeAll=Os.bind(void 0,t,"all"))};var Fr=require("node:fs"),Pc=require("node:timers/promises");var Bt=async(t,{init:e,convertChunk:r,getSize:i,truncateChunk:s,addChunk:n,getFinalChunk:o,finalize:u},{maxBuffer:a=Number.POSITIVE_INFINITY}={})=>{if(!Tg(t))throw new Error("The first argument must be a Readable, a ReadableStream, or an async iterable.");let l=e();l.length=0;try{for await(let c of t){let h=Bg(c),f=r[h](c,l);Cc({convertedChunk:f,state:l,getSize:i,truncateChunk:s,addChunk:n,maxBuffer:a})}return Og({state:l,convertChunk:r,getSize:i,truncateChunk:s,addChunk:n,getFinalChunk:o,maxBuffer:a}),u(l)}catch(c){throw c.bufferedData=u(l),c}},Og=({state:t,getSize:e,truncateChunk:r,addChunk:i,getFinalChunk:s,maxBuffer:n})=>{let o=s(t);o!==void 0&&Cc({convertedChunk:o,state:t,getSize:e,truncateChunk:r,addChunk:i,maxBuffer:n})},Cc=({convertedChunk:t,state:e,getSize:r,truncateChunk:i,addChunk:s,maxBuffer:n})=>{let o=r(t),u=e.length+o;if(u<=n){Fc(t,e,s,u);return}let a=i(t,n-e.length);throw a!==void 0&&Fc(a,e,s,n),new Dr},Fc=(t,e,r,i)=>{e.contents=r(t,e,i),e.length=i},Tg=t=>typeof t=="object"&&t!==null&&typeof t[Symbol.asyncIterator]=="function",Bg=t=>{let e=typeof t;if(e==="string")return"string";if(e!=="object"||t===null)return"others";if(globalThis.Buffer?.isBuffer(t))return"buffer";let r=Ec.call(t);return r==="[object ArrayBuffer]"?"arrayBuffer":r==="[object DataView]"?"dataView":Number.isInteger(t.byteLength)&&Number.isInteger(t.byteOffset)&&Ec.call(t.buffer)==="[object ArrayBuffer]"?"typedArray":"others"},{toString:Ec}=Object.prototype,Dr=class extends Error{name="MaxBufferError";constructor(){super("maxBuffer exceeded")}};var Ts=t=>t,Bs=()=>{},Ps=({contents:t})=>t,gr=t=>{throw new Error(`Streams in object mode are not supported: ${String(t)}`)},yr=t=>t.length;async function Rs(t,e){return Bt(t,Ng,e)}var Pg=()=>({contents:new ArrayBuffer(0)}),Rg=t=>kg.encode(t),kg=new TextEncoder,wc=t=>new Uint8Array(t),vc=t=>new Uint8Array(t.buffer,t.byteOffset,t.byteLength),$g=(t,e)=>t.slice(0,e),Ig=(t,{contents:e,length:r},i)=>{let s=Sc()?jg(e,i):Lg(e,i);return new Uint8Array(s).set(t,r),s},Lg=(t,e)=>{if(e<=t.byteLength)return t;let r=new ArrayBuffer(Ac(e));return new Uint8Array(r).set(new Uint8Array(t),0),r},jg=(t,e)=>{if(e<=t.maxByteLength)return t.resize(e),t;let r=new ArrayBuffer(e,{maxByteLength:Ac(e)});return new Uint8Array(r).set(new Uint8Array(t),0),r},Ac=t=>xc**Math.ceil(Math.log(t)/Math.log(xc)),xc=2,Mg=({contents:t,length:e})=>Sc()?t:t.slice(0,e),Sc=()=>"resize"in ArrayBuffer.prototype,Ng={init:Pg,convertChunk:{string:Rg,buffer:wc,arrayBuffer:wc,dataView:vc,typedArray:vc,others:gr},getSize:yr,truncateChunk:$g,addChunk:Ig,getFinalChunk:Bs,finalize:Mg};async function _r(t,e){if(!("Buffer"in globalThis))throw new Error("getStreamAsBuffer() is only supported in Node.js");try{return Oc(await Rs(t,e))}catch(r){throw r.bufferedData!==void 0&&(r.bufferedData=Oc(r.bufferedData)),r}}var Oc=t=>globalThis.Buffer.from(t);async function ks(t,e){return Bt(t,Gg,e)}var qg=()=>({contents:"",textDecoder:new TextDecoder}),br=(t,{textDecoder:e})=>e.decode(t,{stream:!0}),Hg=(t,{contents:e})=>e+t,Vg=(t,e)=>t.slice(0,e),Wg=({textDecoder:t})=>{let e=t.decode();return e===""?void 0:e},Gg={init:qg,convertChunk:{string:Ts,buffer:br,arrayBuffer:br,dataView:br,typedArray:br,others:gr},getSize:yr,truncateChunk:Vg,addChunk:Hg,getFinalChunk:Wg,finalize:Ps};var Rc=L(Bc(),1),kc=t=>{if(t!==void 0)throw new TypeError("The `input` and `inputFile` options cannot be both set.")},zg=({input:t,inputFile:e})=>typeof e!="string"?t:(kc(t),(0,Fr.readFileSync)(e)),$c=t=>{let e=zg(t);if(mr(e))throw new TypeError("The `input` option cannot be a stream in sync mode");return e},Kg=({input:t,inputFile:e})=>typeof e!="string"?t:(kc(t),(0,Fr.createReadStream)(e)),Ic=(t,e)=>{let r=Kg(e);r!==void 0&&(mr(r)?r.pipe(t.stdin):t.stdin.end(r))},Lc=(t,{all:e})=>{if(!e||!t.stdout&&!t.stderr)return;let r=(0,Rc.default)();return t.stdout&&r.add(t.stdout),t.stderr&&r.add(t.stderr),r},$s=async(t,e)=>{if(!(!t||e===void 0)){await(0,Pc.setTimeout)(0),t.destroy();try{return await e}catch(r){return r.bufferedData}}},Is=(t,{encoding:e,buffer:r,maxBuffer:i})=>{if(!(!t||!r))return e==="utf8"||e==="utf-8"?ks(t,{maxBuffer:i}):e===null||e==="buffer"?_r(t,{maxBuffer:i}):Yg(t,i,e)},Yg=async(t,e,r)=>(await _r(t,{maxBuffer:e})).toString(r),jc=async({stdout:t,stderr:e,all:r},{encoding:i,buffer:s,maxBuffer:n},o)=>{let u=Is(t,{encoding:i,buffer:s,maxBuffer:n}),a=Is(e,{encoding:i,buffer:s,maxBuffer:n}),l=Is(r,{encoding:i,buffer:s,maxBuffer:n*2});try{return await Promise.all([o,u,a,l])}catch(c){return Promise.all([{error:c,signal:c.signal,timedOut:c.timedOut},$s(t,u),$s(e,a),$s(r,l)])}};var Qg=(async()=>{})().constructor.prototype,Xg=["then","catch","finally"].map(t=>[t,Reflect.getOwnPropertyDescriptor(Qg,t)]),Ls=(t,e)=>{for(let[r,i]of Xg){let s=typeof e=="function"?(...n)=>Reflect.apply(i.value,e(),n):i.value.bind(e);Reflect.defineProperty(t,r,{...i,value:s})}},Mc=t=>new Promise((e,r)=>{t.on("exit",(i,s)=>{e({exitCode:i,signal:s})}),t.on("error",i=>{r(i)}),t.stdin&&t.stdin.on("error",i=>{r(i)})});var Hc=require("node:buffer"),Vc=require("node:child_process"),Wc=(t,e=[])=>Array.isArray(e)?[t,...e]:[t],Zg=/^[\w.-]+$/,Jg=t=>typeof t!="string"||Zg.test(t)?t:`"${t.replaceAll('"','\\"')}"`,js=(t,e)=>Wc(t,e).join(" "),Ms=(t,e)=>Wc(t,e).map(r=>Jg(r)).join(" "),Gc=/ +/g,Uc=t=>{let e=[];for(let r of t.trim().split(Gc)){let i=e.at(-1);i&&i.endsWith("\\")?e[e.length-1]=`${i.slice(0,-1)} ${r}`:e.push(r)}return e},Nc=t=>{let e=typeof t;if(e==="string")return t;if(e==="number")return String(t);if(e==="object"&&t!==null&&!(t instanceof Vc.ChildProcess)&&"stdout"in t){let r=typeof t.stdout;if(r==="string")return t.stdout;if(Hc.Buffer.isBuffer(t.stdout))return t.stdout.toString();throw new TypeError(`Unexpected "${r}" stdout in template expression`)}throw new TypeError(`Unexpected "${e}" in template expression`)},qc=(t,e,r)=>r||t.length===0||e.length===0?[...t,...e]:[...t.slice(0,-1),`${t.at(-1)}${e[0]}`,...e.slice(1)],e0=({templates:t,expressions:e,tokens:r,index:i,template:s})=>{let n=s??t.raw[i],o=n.split(Gc).filter(Boolean),u=qc(r,o,n.startsWith(" "));if(i===e.length)return u;let a=e[i],l=Array.isArray(a)?a.map(c=>Nc(c)):[Nc(a)];return qc(u,l,n.endsWith(" "))},Ns=(t,e)=>{let r=[];for(let[i,s]of t.entries())r=e0({templates:t,expressions:e,tokens:r,index:i,template:s});return r};var zc=require("node:util"),Kc=L(require("node:process"),1),Yc=(0,zc.debuglog)("execa").enabled,Er=(t,e)=>String(t).padStart(e,"0"),t0=()=>{let t=new Date;return`${Er(t.getHours(),2)}:${Er(t.getMinutes(),2)}:${Er(t.getSeconds(),2)}.${Er(t.getMilliseconds(),3)}`},qs=(t,{verbose:e})=>{e&&Kc.default.stderr.write(`[${t0()}] ${t}
69
+ `)};var r0=1e3*1e3*100,i0=({env:t,extendEnv:e,preferLocal:r,localDir:i,execPath:s})=>{let n=e?{...Pt.default.env,...t}:t;return r?ec({env:n,cwd:i,execPath:s}):n},eh=(t,e,r={})=>{let i=Jc.default._parse(t,e,r);return t=i.command,e=i.args,r=i.options,r={maxBuffer:r0,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:r.cwd||Pt.default.cwd(),execPath:Pt.default.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:Yc,...r},r.env=i0(r),r.stdio=hc(r),Pt.default.platform==="win32"&&Zc.default.basename(t,".exe")==="cmd"&&e.unshift("/q"),{file:t,args:e,options:r,parsed:i}},Rt=(t,e,r)=>typeof e!="string"&&!Xc.Buffer.isBuffer(e)?r===void 0?void 0:"":t.stripFinalNewline?ys(e):e;function wr(t,e,r){let i=eh(t,e,r),s=js(t,e),n=Ms(t,e);qs(n,i.options),Dc(i.options);let o;try{o=Cr.default.spawn(i.file,i.args,i.options)}catch(_){let p=new Cr.default.ChildProcess,D=Promise.reject(Tt({error:_,stdout:"",stderr:"",all:"",command:s,escapedCommand:n,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}));return Ls(p,D),p}let u=Mc(o),a=mc(o,i.options,u),l=gc(o,i.options,a),c={isCanceled:!1};o.kill=pc.bind(null,o.kill.bind(o)),o.cancel=dc.bind(null,o,c);let f=rc(async()=>{let[{error:_,exitCode:p,signal:D,timedOut:x},F,w,b]=await jc(o,i.options,l),B=Rt(i.options,F),A=Rt(i.options,w),T=Rt(i.options,b);if(_||p!==0||D!==null){let O=Tt({error:_,exitCode:p,signal:D,stdout:B,stderr:A,all:T,command:s,escapedCommand:n,parsed:i,timedOut:x,isCanceled:c.isCanceled||(i.options.signal?i.options.signal.aborted:!1),killed:o.killed});if(!i.options.reject)return O;throw O}return{command:s,escapedCommand:n,exitCode:0,stdout:B,stderr:A,all:T,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}});return Ic(o,i.options),o.all=Lc(o,i.options),bc(o),Ls(o,f),o}function s0(t,e,r){let i=eh(t,e,r),s=js(t,e),n=Ms(t,e);qs(n,i.options);let o=$c(i.options),u;try{u=Cr.default.spawnSync(i.file,i.args,{...i.options,input:o})}catch(c){throw Tt({error:c,stdout:"",stderr:"",all:"",command:s,escapedCommand:n,parsed:i,timedOut:!1,isCanceled:!1,killed:!1})}let a=Rt(i.options,u.stdout,u.error),l=Rt(i.options,u.stderr,u.error);if(u.error||u.status!==0||u.signal!==null){let c=Tt({stdout:a,stderr:l,error:u.error,signal:u.signal,exitCode:u.status,command:s,escapedCommand:n,parsed:i,timedOut:u.error&&u.error.code==="ETIMEDOUT",isCanceled:!1,killed:u.signal!==null});if(!i.options.reject)return c;throw c}return{command:s,escapedCommand:n,exitCode:0,stdout:a,stderr:l,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}var n0=({input:t,inputFile:e,stdio:r})=>t===void 0&&e===void 0&&r===void 0?{stdin:"inherit"}:{},Qc=(t={})=>({preferLocal:!0,...n0(t),...t});function th(t){function e(r,...i){if(!Array.isArray(r))return th({...t,...r});let[s,...n]=Ns(r,i);return wr(s,n,Qc(t))}return e.sync=(r,...i)=>{if(!Array.isArray(r))throw new TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[s,...n]=Ns(r,i);return s0(s,n,Qc(t))},e}var Bw=th();function vr(t,e){let[r,...i]=Uc(t);return wr(r,i,e)}var dh=L(ph(),1),{program:Nw,createCommand:qw,createArgument:Hw,createOption:Vw,CommanderError:Ww,InvalidArgumentError:Gw,InvalidOptionArgumentError:Uw,Command:mh,Argument:zw,Option:Kw,Help:Yw}=dh.default;var Lt=L(require("node:process"),1);var un=L(require("node:process"),1);var $t=L(require("node:process"),1);var F0=(t,e,r,i)=>{if(r==="length"||r==="prototype"||r==="arguments"||r==="caller")return;let s=Object.getOwnPropertyDescriptor(t,r),n=Object.getOwnPropertyDescriptor(e,r);!E0(s,n)&&i||Object.defineProperty(t,r,n)},E0=function(t,e){return t===void 0||t.configurable||t.writable===e.writable&&t.enumerable===e.enumerable&&t.configurable===e.configurable&&(t.writable||t.value===e.value)},C0=(t,e)=>{let r=Object.getPrototypeOf(e);r!==Object.getPrototypeOf(t)&&Object.setPrototypeOf(t,r)},w0=(t,e)=>`/* Wrapped ${t}*/
70
+ ${e}`,v0=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),x0=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),A0=(t,e,r)=>{let i=r===""?"":`with ${r.trim()}() `,s=w0.bind(null,i,e.toString());Object.defineProperty(s,"name",x0);let{writable:n,enumerable:o,configurable:u}=v0;Object.defineProperty(t,"toString",{value:s,writable:n,enumerable:o,configurable:u})};function on(t,e,{ignoreNonConfigurable:r=!1}={}){let{name:i}=t;for(let s of Reflect.ownKeys(e))F0(t,e,s,r);return C0(t,e),A0(t,e,i),t}var Or=new WeakMap,Dh=(t,e={})=>{if(typeof t!="function")throw new TypeError("Expected a function");let r,i=0,s=t.displayName||t.name||"<anonymous>",n=function(...o){if(Or.set(n,++i),i===1)r=t.apply(this,o),t=void 0;else if(e.throw===!0)throw new Error(`Function \`${s}\` can only be called once`);return r};return on(n,t),Or.set(n,i),n};Dh.callCount=t=>{if(!Or.has(t))throw new Error(`The given function \`${t.name}\` is not wrapped by the \`onetime\` package`);return Or.get(t)};var gh=Dh;var yh=$t.default.stderr.isTTY?$t.default.stderr:$t.default.stdout.isTTY?$t.default.stdout:void 0,S0=yh?gh(()=>{dr(()=>{yh.write("\x1B[?25h")},{alwaysLast:!0})}):()=>{},_h=S0;var Tr=!1,ft={};ft.show=(t=un.default.stderr)=>{t.isTTY&&(Tr=!1,t.write("\x1B[?25h"))};ft.hide=(t=un.default.stderr)=>{t.isTTY&&(_h(),Tr=!0,t.write("\x1B[?25l"))};ft.toggle=(t,e)=>{t!==void 0&&(Tr=t),Tr?ft.show(e):ft.hide(e)};var an=ft;var jt=L(ln(),1);var de=L(require("node:process"),1);function cn(){return de.default.platform!=="win32"?de.default.env.TERM!=="linux":!!de.default.env.CI||!!de.default.env.WT_SESSION||!!de.default.env.TERMINUS_SUBLIME||de.default.env.ConEmuTask==="{cmd::Cmder}"||de.default.env.TERM_PROGRAM==="Terminus-Sublime"||de.default.env.TERM_PROGRAM==="vscode"||de.default.env.TERM==="xterm-256color"||de.default.env.TERM==="alacritty"||de.default.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var T0={info:K.blue("\u2139"),success:K.green("\u2714"),warning:K.yellow("\u26A0"),error:K.red("\u2716")},B0={info:K.blue("i"),success:K.green("\u221A"),warning:K.yellow("\u203C"),error:K.red("\xD7")},P0=cn()?T0:B0,It=P0;function hn({onlyFirst:t=!1}={}){let r=["[\\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(r,t?void 0:"g")}var R0=hn();function fn(t){if(typeof t!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);return t.replace(R0,"")}function pn({onlyFirst:t=!1}={}){let r=["[\\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(r,t?void 0:"g")}var k0=pn();function dn(t){if(typeof t!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);return t.replace(k0,"")}function Ch(t){return t===161||t===164||t===167||t===168||t===170||t===173||t===174||t>=176&&t<=180||t>=182&&t<=186||t>=188&&t<=191||t===198||t===208||t===215||t===216||t>=222&&t<=225||t===230||t>=232&&t<=234||t===236||t===237||t===240||t===242||t===243||t>=247&&t<=250||t===252||t===254||t===257||t===273||t===275||t===283||t===294||t===295||t===299||t>=305&&t<=307||t===312||t>=319&&t<=322||t===324||t>=328&&t<=331||t===333||t===338||t===339||t===358||t===359||t===363||t===462||t===464||t===466||t===468||t===470||t===472||t===474||t===476||t===593||t===609||t===708||t===711||t>=713&&t<=715||t===717||t===720||t>=728&&t<=731||t===733||t===735||t>=768&&t<=879||t>=913&&t<=929||t>=931&&t<=937||t>=945&&t<=961||t>=963&&t<=969||t===1025||t>=1040&&t<=1103||t===1105||t===8208||t>=8211&&t<=8214||t===8216||t===8217||t===8220||t===8221||t>=8224&&t<=8226||t>=8228&&t<=8231||t===8240||t===8242||t===8243||t===8245||t===8251||t===8254||t===8308||t===8319||t>=8321&&t<=8324||t===8364||t===8451||t===8453||t===8457||t===8467||t===8470||t===8481||t===8482||t===8486||t===8491||t===8531||t===8532||t>=8539&&t<=8542||t>=8544&&t<=8555||t>=8560&&t<=8569||t===8585||t>=8592&&t<=8601||t===8632||t===8633||t===8658||t===8660||t===8679||t===8704||t===8706||t===8707||t===8711||t===8712||t===8715||t===8719||t===8721||t===8725||t===8730||t>=8733&&t<=8736||t===8739||t===8741||t>=8743&&t<=8748||t===8750||t>=8756&&t<=8759||t===8764||t===8765||t===8776||t===8780||t===8786||t===8800||t===8801||t>=8804&&t<=8807||t===8810||t===8811||t===8814||t===8815||t===8834||t===8835||t===8838||t===8839||t===8853||t===8857||t===8869||t===8895||t===8978||t>=9312&&t<=9449||t>=9451&&t<=9547||t>=9552&&t<=9587||t>=9600&&t<=9615||t>=9618&&t<=9621||t===9632||t===9633||t>=9635&&t<=9641||t===9650||t===9651||t===9654||t===9655||t===9660||t===9661||t===9664||t===9665||t>=9670&&t<=9672||t===9675||t>=9678&&t<=9681||t>=9698&&t<=9701||t===9711||t===9733||t===9734||t===9737||t===9742||t===9743||t===9756||t===9758||t===9792||t===9794||t===9824||t===9825||t>=9827&&t<=9829||t>=9831&&t<=9834||t===9836||t===9837||t===9839||t===9886||t===9887||t===9919||t>=9926&&t<=9933||t>=9935&&t<=9939||t>=9941&&t<=9953||t===9955||t===9960||t===9961||t>=9963&&t<=9969||t===9972||t>=9974&&t<=9977||t===9979||t===9980||t===9982||t===9983||t===10045||t>=10102&&t<=10111||t>=11094&&t<=11097||t>=12872&&t<=12879||t>=57344&&t<=63743||t>=65024&&t<=65039||t===65533||t>=127232&&t<=127242||t>=127248&&t<=127277||t>=127280&&t<=127337||t>=127344&&t<=127373||t===127375||t===127376||t>=127387&&t<=127404||t>=917760&&t<=917999||t>=983040&&t<=1048573||t>=1048576&&t<=1114109}function wh(t){return t===12288||t>=65281&&t<=65376||t>=65504&&t<=65510}function vh(t){return t>=4352&&t<=4447||t===8986||t===8987||t===9001||t===9002||t>=9193&&t<=9196||t===9200||t===9203||t===9725||t===9726||t===9748||t===9749||t>=9776&&t<=9783||t>=9800&&t<=9811||t===9855||t>=9866&&t<=9871||t===9875||t===9889||t===9898||t===9899||t===9917||t===9918||t===9924||t===9925||t===9934||t===9940||t===9962||t===9970||t===9971||t===9973||t===9978||t===9981||t===9989||t===9994||t===9995||t===10024||t===10060||t===10062||t>=10067&&t<=10069||t===10071||t>=10133&&t<=10135||t===10160||t===10175||t===11035||t===11036||t===11088||t===11093||t>=11904&&t<=11929||t>=11931&&t<=12019||t>=12032&&t<=12245||t>=12272&&t<=12287||t>=12289&&t<=12350||t>=12353&&t<=12438||t>=12441&&t<=12543||t>=12549&&t<=12591||t>=12593&&t<=12686||t>=12688&&t<=12773||t>=12783&&t<=12830||t>=12832&&t<=12871||t>=12880&&t<=42124||t>=42128&&t<=42182||t>=43360&&t<=43388||t>=44032&&t<=55203||t>=63744&&t<=64255||t>=65040&&t<=65049||t>=65072&&t<=65106||t>=65108&&t<=65126||t>=65128&&t<=65131||t>=94176&&t<=94180||t===94192||t===94193||t>=94208&&t<=100343||t>=100352&&t<=101589||t>=101631&&t<=101640||t>=110576&&t<=110579||t>=110581&&t<=110587||t===110589||t===110590||t>=110592&&t<=110882||t===110898||t>=110928&&t<=110930||t===110933||t>=110948&&t<=110951||t>=110960&&t<=111355||t>=119552&&t<=119638||t>=119648&&t<=119670||t===126980||t===127183||t===127374||t>=127377&&t<=127386||t>=127488&&t<=127490||t>=127504&&t<=127547||t>=127552&&t<=127560||t===127568||t===127569||t>=127584&&t<=127589||t>=127744&&t<=127776||t>=127789&&t<=127797||t>=127799&&t<=127868||t>=127870&&t<=127891||t>=127904&&t<=127946||t>=127951&&t<=127955||t>=127968&&t<=127984||t===127988||t>=127992&&t<=128062||t===128064||t>=128066&&t<=128252||t>=128255&&t<=128317||t>=128331&&t<=128334||t>=128336&&t<=128359||t===128378||t===128405||t===128406||t===128420||t>=128507&&t<=128591||t>=128640&&t<=128709||t===128716||t>=128720&&t<=128722||t>=128725&&t<=128727||t>=128732&&t<=128735||t===128747||t===128748||t>=128756&&t<=128764||t>=128992&&t<=129003||t===129008||t>=129292&&t<=129338||t>=129340&&t<=129349||t>=129351&&t<=129535||t>=129648&&t<=129660||t>=129664&&t<=129673||t>=129679&&t<=129734||t>=129742&&t<=129756||t>=129759&&t<=129769||t>=129776&&t<=129784||t>=131072&&t<=196605||t>=196608&&t<=262141}function $0(t){if(!Number.isSafeInteger(t))throw new TypeError(`Expected a code point, got \`${typeof t}\`.`)}function xh(t,{ambiguousAsWide:e=!1}={}){return $0(t),wh(t)||vh(t)||e&&Ch(t)?2:1}var Oh=L(Sh(),1),I0=new Intl.Segmenter,L0=new RegExp("^\\p{Default_Ignorable_Code_Point}$","u");function mn(t,e={}){if(typeof t!="string"||t.length===0)return 0;let{ambiguousIsNarrow:r=!0,countAnsiEscapeCodes:i=!1}=e;if(i||(t=dn(t)),t.length===0)return 0;let s=0,n={ambiguousAsWide:!r};for(let{segment:o}of I0.segment(t)){let u=o.codePointAt(0);if(!(u<=31||u>=127&&u<=159)&&!(u>=8203&&u<=8207||u===65279)&&!(u>=768&&u<=879||u>=6832&&u<=6911||u>=7616&&u<=7679||u>=8400&&u<=8447||u>=65056&&u<=65071)&&!(u>=55296&&u<=57343)&&!(u>=65024&&u<=65039)&&!L0.test(o)){if((0,Oh.default)().test(o)){s+=2;continue}s+=xh(u,n)}}return s}function Dn({stream:t=process.stdout}={}){return!!(t&&t.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}var gn=L(require("node:process"),1);function yn(){let{env:t}=gn.default,{TERM:e,TERM_PROGRAM:r}=t;return gn.default.platform!=="win32"?e!=="linux":!!t.WT_SESSION||!!t.TERMINUS_SUBLIME||t.ConEmuTask==="{cmd::Cmder}"||r==="Terminus-Sublime"||r==="vscode"||e==="xterm-256color"||e==="alacritty"||e==="rxvt-unicode"||e==="rxvt-unicode-256color"||t.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var Fe=L(require("node:process"),1),j0=3,_n=class{#o=0;start(){this.#o++,this.#o===1&&this.#r()}stop(){if(this.#o<=0)throw new Error("`stop` called more times than `start`");this.#o--,this.#o===0&&this.#e()}#r(){Fe.default.platform==="win32"||!Fe.default.stdin.isTTY||(Fe.default.stdin.setRawMode(!0),Fe.default.stdin.on("data",this.#s),Fe.default.stdin.resume())}#e(){Fe.default.stdin.isTTY&&(Fe.default.stdin.off("data",this.#s),Fe.default.stdin.pause(),Fe.default.stdin.setRawMode(!1))}#s(e){e[0]===j0&&Fe.default.emit("SIGINT")}},M0=new _n,bn=M0;var N0=L(ln(),1),Fn=class{#o=0;#r=!1;#e=0;#s=-1;#f=0;#t;#n;#i;#p;#m;#l;#c;#h;#D;#u;#a;color;constructor(e){typeof e=="string"&&(e={text:e}),this.#t={color:"cyan",stream:Lt.default.stderr,discardStdin:!0,hideCursor:!0,...e},this.color=this.#t.color,this.spinner=this.#t.spinner,this.#m=this.#t.interval,this.#i=this.#t.stream,this.#l=typeof this.#t.isEnabled=="boolean"?this.#t.isEnabled:Dn({stream:this.#i}),this.#c=typeof this.#t.isSilent=="boolean"?this.#t.isSilent:!1,this.text=this.#t.text,this.prefixText=this.#t.prefixText,this.suffixText=this.#t.suffixText,this.indent=this.#t.indent,Lt.default.env.NODE_ENV==="test"&&(this._stream=this.#i,this._isEnabled=this.#l,Object.defineProperty(this,"_linesToClear",{get(){return this.#o},set(r){this.#o=r}}),Object.defineProperty(this,"_frameIndex",{get(){return this.#s}}),Object.defineProperty(this,"_lineCount",{get(){return this.#e}}))}get indent(){return this.#h}set indent(e=0){if(!(e>=0&&Number.isInteger(e)))throw new Error("The `indent` option must be an integer from 0 and up");this.#h=e,this.#d()}get interval(){return this.#m??this.#n.interval??100}get spinner(){return this.#n}set spinner(e){if(this.#s=-1,this.#m=void 0,typeof e=="object"){if(e.frames===void 0)throw new Error("The given spinner must have a `frames` property");this.#n=e}else if(!yn())this.#n=jt.default.line;else if(e===void 0)this.#n=jt.default.dots;else if(e!=="default"&&jt.default[e])this.#n=jt.default[e];else throw new Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`)}get text(){return this.#D}set text(e=""){this.#D=e,this.#d()}get prefixText(){return this.#u}set prefixText(e=""){this.#u=e,this.#d()}get suffixText(){return this.#a}set suffixText(e=""){this.#a=e,this.#d()}get isSpinning(){return this.#p!==void 0}#g(e=this.#u,r=" "){return typeof e=="string"&&e!==""?e+r:typeof e=="function"?e()+r:""}#y(e=this.#a,r=" "){return typeof e=="string"&&e!==""?r+e:typeof e=="function"?r+e():""}#d(){let e=this.#i.columns??80,r=this.#g(this.#u,"-"),i=this.#y(this.#a,"-"),s=" ".repeat(this.#h)+r+"--"+this.#D+"--"+i;this.#e=0;for(let n of fn(s).split(`
71
+ `))this.#e+=Math.max(1,Math.ceil(mn(n,{countAnsiEscapeCodes:!0})/e))}get isEnabled(){return this.#l&&!this.#c}set isEnabled(e){if(typeof e!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");this.#l=e}get isSilent(){return this.#c}set isSilent(e){if(typeof e!="boolean")throw new TypeError("The `isSilent` option must be a boolean");this.#c=e}frame(){let e=Date.now();(this.#s===-1||e-this.#f>=this.interval)&&(this.#s=++this.#s%this.#n.frames.length,this.#f=e);let{frames:r}=this.#n,i=r[this.#s];this.color&&(i=K[this.color](i));let s=typeof this.#u=="string"&&this.#u!==""?this.#u+" ":"",n=typeof this.text=="string"?" "+this.text:"",o=typeof this.#a=="string"&&this.#a!==""?" "+this.#a:"";return s+i+n+o}clear(){if(!this.#l||!this.#i.isTTY)return this;this.#i.cursorTo(0);for(let e=0;e<this.#o;e++)e>0&&this.#i.moveCursor(0,-1),this.#i.clearLine(1);return(this.#h||this.lastIndent!==this.#h)&&this.#i.cursorTo(this.#h),this.lastIndent=this.#h,this.#o=0,this}render(){return this.#c?this:(this.clear(),this.#i.write(this.frame()),this.#o=this.#e,this)}start(e){return e&&(this.text=e),this.#c?this:this.#l?this.isSpinning?this:(this.#t.hideCursor&&an.hide(this.#i),this.#t.discardStdin&&Lt.default.stdin.isTTY&&(this.#r=!0,bn.start()),this.render(),this.#p=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.#i.write(`- ${this.text}
72
+ `),this)}stop(){return this.#l?(clearInterval(this.#p),this.#p=void 0,this.#s=0,this.clear(),this.#t.hideCursor&&an.show(this.#i),this.#t.discardStdin&&Lt.default.stdin.isTTY&&this.#r&&(bn.stop(),this.#r=!1),this):this}succeed(e){return this.stopAndPersist({symbol:It.success,text:e})}fail(e){return this.stopAndPersist({symbol:It.error,text:e})}warn(e){return this.stopAndPersist({symbol:It.warning,text:e})}info(e){return this.stopAndPersist({symbol:It.info,text:e})}stopAndPersist(e={}){if(this.#c)return this;let r=e.prefixText??this.#u,i=this.#g(r," "),s=e.symbol??" ",n=e.text??this.text,u=typeof n=="string"?(s?" ":"")+n:"",a=e.suffixText??this.#a,l=this.#y(a," "),c=i+s+u+l+`
73
+ `;return this.stop(),this.#i.write(c),this}};function Ze(t){return new Fn(t)}var it=L(require("fs"),1),hi=require("fs/promises");var Th={name:"create-chayns-app",version:"1.2.0-beta.0",private:!1,description:"Create a new chayns\xAE development project in one command.",keywords:["chayns","react","chayns-toolkit","chayns-components","starter-kit"],bugs:{url:"https://github.com/TobitSoftware/create-chayns-app/issues",email:"leonhard.driesch@tobit.com"},repository:{type:"git",url:"https://github.com/TobitSoftware/create-chayns-app.git"},license:"MIT",author:{name:"Leonhard Driesch",email:"leonhard.driesch@tobit.com"},main:"index.js",bin:{"create-chayns-app":"dist/index.cjs"},type:"module",files:["dist","templates"],engines:{node:">=18"},scripts:{build:"node ./scripts/build.js",watch:"node ./scripts/watch.js",format:"prettier . --ignore-path .gitignore --write",prepublishOnly:"npm run build",start:"node src/index.js"},devDependencies:{"@eslint/js":"^9.19.0",chalk:"^5.4.1",commander:"^13.1.0",enquirer:"^2.4.1",esbuild:"^0.24.2",eslint:"^9.19.0",execa:"^8.0.1","fast-glob":"^3.3.3","is-npm":"^6.0.0",ora:"^8.1.1",prettier:"^3.4.2","prettier-plugin-packagejson":"^2.5.8","validate-npm-package-name":"^6.0.0"},publishConfig:{access:"public"}};var Mt={page:"A complete page",pagemakerPlugin:"A pagemaker plugin"},Nt={v4:"v4 (Javascript api)",v5:"v5 (React api (new))"},Pr=[{name:"Yes",value:!0},{name:"No",value:!1}];var ai=L(require("path"),1),bt=require("fs/promises"),Ed=L(Fd(),1);async function Ft({destination:t,templateDir:e,adjustContent:r}){let s=(await(0,Ed.default)("**/*",{cwd:e})).map(async n=>{let o=await(0,bt.readFile)(ai.default.join(e,n),{encoding:"utf-8"});typeof r=="function"&&(o=r(o));let u=n.replace("template-gitignore",".gitignore").replace("template-package-redux.json","package.json").replace("template-package.json","package.json"),a=ai.default.join(t,u);await(0,bt.mkdir)(ai.default.join(a,".."),{recursive:!0}),await(0,bt.writeFile)(a,o)});await Promise.all(s)}function rt(t,e){let r=t;for(let[i,s]of Object.entries(e))r=r.replace(new RegExp(`\\{\\{ ${i} \\}\\}`,"g"),s);return r}var Cd={"chayns-components":"latest","prop-types":"latest",react:"18","react-dom":"18"},wd={"chayns-toolkit":"latest",prettier:"latest","prettier-plugin-packagejson":"latest"},vd=t=>({"@chayns-components/core":"latest","prop-types":"latest",react:String(t),"react-dom":String(t),"chayns-api":"latest"}),xd={"chayns-toolkit":"latest",prettier:"latest","prettier-plugin-packagejson":"latest"},Ad={"react-redux":"latest","@reduxjs/toolkit":"latest"},Sd=t=>({typescript:"latest","@types/react":String(t),"@types/react-dom":String(t)}),Od={"@testing-library/jest-dom":"latest","@testing-library/react":"latest","@testing-library/user-event":"latest","@vitejs/plugin-react":"latest","@vitest/coverage-v8":"latest",jsdom:"latest",vitest:"latest"};var Td=require("node:child_process"),ou=async(t,e)=>{let r=e?`${t}@${e}`:t,i=await new Promise((o,u)=>{(0,Td.exec)(`npm view ${r} version --json`,(a,l)=>{a?u(a):o(l.trim())})}),s=JSON.parse(i);return`^${Array.isArray(s)?s.pop():s}`};var Pd=L(require("path"),1),Rd=L(require("fs"),1);var zF=(t,e)=>({name:t,version:"1.0.0",private:!0,description:e,keywords:["chayns","chayns-toolkit","react"],scripts:{build:"chayns-toolkit build",dev:"chayns-toolkit dev",start:"chayns-toolkit dev",format:"prettier . --write",lint:"chayns-toolkit lint"},prettier:{proseWrap:"always",singleQuote:!0,tabWidth:4,printWidth:100},eslintConfig:{extends:"@chayns-toolkit"},dependencies:{},devDependencies:{}}),Bd=async({name:t,description:e="",devDependencies:r={},dependencies:i={},useTypescript:s,useVitest:n})=>{let o=zF(t,e);for(let[u,a]of Object.entries(r).sort(([l],[c])=>l.localeCompare(c)))o.devDependencies[u]=await ou(u,a);for(let[u,a]of Object.entries(i).sort(([l],[c])=>l.localeCompare(c)))o.dependencies[u]=await ou(u,a);return s&&(o.scripts["check-types"]="tsc"),n&&(o.scripts.test="vitest"),JSON.stringify(o,void 0,4)},uu=async({destination:t,projectVersion:e,reactVersion:r,useRedux:i,...s})=>{let{useTypescript:n,useVitest:o}=s,u=Ze("Resolving latest versions of required dependencies").start(),a,l=Pd.default.join(t,"package.json");if(e===Nt.v4)a=await Bd({...s,dependencies:Cd,devDependencies:wd});else{let c=vd(r),h={...xd};i&&Object.assign(c,Ad),n&&Object.assign(h,Sd(r)),o&&Object.assign(h,Od),a=await Bd({...s,dependencies:c,devDependencies:h})}u.succeed("Resolved latest versions of required dependencies"),Rd.default.writeFileSync(l,a)};function li(t){var e=t.match(/[A-Za-z][a-z]*/g)||[];return e.map(KF).join(" ")}function KF(t){return t.charAt(0).toUpperCase()+t.substring(1)}var{prompt:Ue}=kd.default,YF=new mh,ci=__dirname;YF.version(Th.version).option("-G, --no-git","initialize the project without a git repository").option("-C, --no-initial-commit","don't perform an initial commit").option("-I, --no-install","don't install packages after initialization").option("-M, --module-federation","install to use as module (only internal)").option("-p, --package-manager <manager>","specify the package manager to use (`npm` or `yarn`). Defaults to the one used to execute the command.").action(QF).parse(process.argv);async function QF({git:t,initialCommit:e,install:r,packageManager:i,moduleFederation:s}){let n,o;s||({projectVersion:n}=await Ue({type:"select",name:"projectVersion",message:"What api version do you want to use?",choices:Object.values(Nt)}),{projectType:o}=await Ue({type:"select",name:"projectType",message:"What type of project do you want to create?",choices:Object.values(Mt)}));let u=!1,a;for(;!u;){let{packageName:p}=await Ue([{type:"input",name:"packageName",message:"What should the name of your project be?",initial:"my-awesome-project"}]),{validForNewPackages:D,errors:x=[],warnings:F=[]}=(0,$d.default)(p);if(D)u=!0,a=p;else{console.log(`
74
+ ${K.hex("#31D1DF")(`\`${p}\``)} is unfortunately not a valid project name, because:`);for(let w of[...x,...F])console.log(K.hex("#94A3B8")(` - ${w}`));console.log("")}}let{summary:l}=await Ue({type:"input",message:"How would you summarize this project in a few words?",name:"summary"});function c(p){return rt(p,{"package-name":a,"readable-package-name":li(a),description:l,"install-command":f==="yarn"?"yarn":"npm install","run-command":f==="yarn"?"yarn":"npm run","package-name-underscore":a.replace("-","_")})}let h=G.default.resolve(a),f=i||(hl?"yarn":"npm");if(n===Nt.v4){switch(console.log(`
75
+ ${K.bold.magentaBright("Awesome!")} Please wait a quick second while we bootstrap your project...
76
+ `),o){case Mt.page:await Ft({destination:h,templateDir:G.default.join(` ${ci} `.trim(),"../templates/page"),adjustContent:p=>rt(c(p),{"tapp-style":""})});break;case Mt.pagemakerPlugin:await Ft({destination:h,projectName:a,templateDir:G.default.join(` ${ci} `.trim(),"../templates/page"),adjustContent:p=>rt(c(p),{"tapp-style":' style="padding: 0 0 16px !important"'})});break}await uu({name:a,description:l,destination:h,projectVersion:n})}else{let{reactVersion:p}=await Ue({type:"select",name:"reactVersion",message:"Which react version do you want to use?",choices:[{name:"v18",value:18},{name:"v19",value:19}],result(C){return this.map(C)[C]}}),{useRedux:D}=await Ue({type:"select",name:"useRedux",message:"Do you want to add redux-toolkit?",choices:Pr,result(C){return this.map(C)[C]}}),{useTypescript:x}=await Ue({type:"select",name:"useTypescript",message:"Do you want to add typescript?",choices:Pr,result(C){return this.map(C)[C]}}),{useVitest:F}=await Ue({type:"select",name:"useVitest",message:"Do you want to add vitest?",choices:Pr,result(C){return this.map(C)[C]}}),w=C=>G.default.join(` ${ci} `.trim(),C),b=async(C,$,M)=>{let y=await(0,hi.readFile)(C,{encoding:"utf-8"});M&&(y=rt(y,{"package-name":a,"readable-package-name":li(a),description:l,"install-command":f==="yarn"?"yarn":"npm install","run-command":f==="yarn"?"yarn":"npm run"})),await(0,hi.writeFile)($,y)},B=C=>rt(c(C),{"tapp-style":o===Mt.pagemakerPlugin?' style="padding: 0 0 16px !important"':""}),A=x?"ts":"js";if(D){let C=`../templates/api-v5/shared/${A}/src`;await Ft({destination:h+"/src",projectName:a,templateDir:G.default.join(` ${ci} `.trim(),C)}),await b(w("../templates/api-v5/shared/ts/.eslintrc"),G.default.join(h,".eslintrc"))}await Ft({destination:h,projectName:a,templateDir:w(`../templates/api-v5/page${x?"-ts":""}${s?"-module":""}${D?"-redux":""}`),adjustContent:B}),await uu({name:a,description:l,destination:h,projectVersion:n,reactVersion:p,useRedux:D,useTypescript:x,useVitest:F}),await b(w("../templates/shared/README.md"),G.default.join(h,"README.md"),!0),await b(w("../templates/shared/template-gitignore"),G.default.join(h,".gitignore"),!0),await b(w("../templates/api-v5/shared/.env"),G.default.join(h,".env")),await b(w("../templates/api-v5/shared/.env.development.local"),G.default.join(h,".env.development.local")),it.default.existsSync(G.default.join(h,"/src/constants"))||it.default.mkdirSync(G.default.join(h,"/src/constants")),await b(w(`../templates/api-v5/shared/${A}/src/constants/server-urls.${A}`),G.default.join(h,`/src/constants/server-urls.${A}`)),x&&(await b(w("../templates/api-v5/shared/ts/tsconfig.json"),G.default.join(h,"tsconfig.json")),it.default.existsSync(G.default.join(h,"/src/types"))||it.default.mkdirSync(G.default.join(h,"/src/types")),await b(w("../templates/api-v5/shared/ts/src/types/global.d.ts"),G.default.join(h,"/src/types/global.d.ts")),await b(w("../templates/api-v5/shared/ts/src/types/environment.d.ts"),G.default.join(h,"/src/types/environment.d.ts"))),F&&(it.default.existsSync(G.default.join(h,"/tests"))||it.default.mkdirSync(G.default.join(h,"/tests")),await b(w("../templates/shared/tests/setup.js"),G.default.join(h,"/tests/setup.js")),await b(w("../templates/shared/vitest.config.mjs"),G.default.join(h,`/vitest.config.m${A}`)));let O=G.default.join(h,"toolkit.config.js");s?await b(w("../templates/api-v5/shared/toolkit.config-module.js"),O):await b(w("../templates/api-v5/shared/toolkit.config.js"),O)}if(t){let p=Ze("Initializing Git repository").start();try{await vr("git init",{cwd:h}),p.succeed("Initialized a Git repository")}catch(D){throw p.fail(`Failed to initialize a Git repository. You can do this yourself by running ${K.cyanBright("git init")}.`),D}}if(r){let p=Ze(`Installing packages using ${K.blueBright(f)}`).start();try{await vr(`${f} install`,{cwd:h}),p.succeed(`Installed packages with ${K.blueBright(f)}`)}catch{p.fail(`Failed to install packages with ${K.blueBright(f)}. You can do this yourself by running ${K.cyanBright(`${f} install`)}.`)}}if(t&&e){let p=Ze("Performing an initial commit").start();try{await vr("git add .",{cwd:h}),await wr("git",["commit","-m",":tada: Initial commit"],{cwd:h}),p.succeed("Perfomed an initial commit")}catch(D){console.error(D),p.fail("Failed to perform an initial commit.")}}console.log(`
77
+ ${K.bold.greenBright("Congrats!")} Your new project is ready to go!`);let _=f==="yarn"?"yarn dev":"npm run dev";console.log(`Open the created ${K.yellowBright(`./${a}/`)} folder in your favorite editor and start ${K.cyanBright("`"+_+"`")}.
78
+ `)}
79
+ /*! Bundled license information:
80
+
81
+ is-extglob/index.js:
82
+ (*!
83
+ * is-extglob <https://github.com/jonschlinkert/is-extglob>
84
+ *
85
+ * Copyright (c) 2014-2016, Jon Schlinkert.
86
+ * Licensed under the MIT License.
87
+ *)
88
+
89
+ is-glob/index.js:
90
+ (*!
91
+ * is-glob <https://github.com/jonschlinkert/is-glob>
92
+ *
93
+ * Copyright (c) 2014-2017, Jon Schlinkert.
94
+ * Released under the MIT License.
95
+ *)
96
+
97
+ is-number/index.js:
98
+ (*!
99
+ * is-number <https://github.com/jonschlinkert/is-number>
100
+ *
101
+ * Copyright (c) 2014-present, Jon Schlinkert.
102
+ * Released under the MIT License.
103
+ *)
104
+
105
+ to-regex-range/index.js:
106
+ (*!
107
+ * to-regex-range <https://github.com/micromatch/to-regex-range>
108
+ *
109
+ * Copyright (c) 2015-present, Jon Schlinkert.
110
+ * Released under the MIT License.
111
+ *)
112
+
113
+ fill-range/index.js:
114
+ (*!
115
+ * fill-range <https://github.com/jonschlinkert/fill-range>
116
+ *
117
+ * Copyright (c) 2014-present, Jon Schlinkert.
118
+ * Licensed under the MIT License.
119
+ *)
120
+
121
+ queue-microtask/index.js:
122
+ (*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
123
+
124
+ run-parallel/index.js:
125
+ (*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
126
+ */