@raycast/api 1.87.4 → 1.88.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.
@@ -0,0 +1,67 @@
1
+ "use strict";var S0=Object.create;var Lt=Object.defineProperty;var A0=Object.getOwnPropertyDescriptor;var B0=Object.getOwnPropertyNames;var T0=Object.getPrototypeOf,_0=Object.prototype.hasOwnProperty;var h=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),O0=(e,t)=>{for(var r in t)Lt(e,r,{get:t[r],enumerable:!0})},cs=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of B0(t))!_0.call(e,o)&&o!==r&&Lt(e,o,{get:()=>t[o],enumerable:!(n=A0(t,o))||n.enumerable});return e};var g=(e,t,r)=>(r=e!=null?S0(T0(e)):{},cs(t||!e||!e.__esModule?Lt(r,"default",{value:e,enumerable:!0}):r,e)),v0=e=>cs(Lt({},"__esModule",{value:!0}),e);var ms=h((u1,ds)=>{var k0=require("node:tty"),L0=k0?.WriteStream?.prototype?.hasColors?.()??!1,E=(e,t)=>{if(!L0)return o=>o;let r=`\x1B[${e}m`,n=`\x1B[${t}m`;return o=>{let i=o+"",s=i.indexOf(n);if(s===-1)return r+i+n;let u=r,a=0;for(;s!==-1;)u+=i.slice(a,s)+r,a=s+n.length,s=i.indexOf(n,a);return u+=i.slice(a)+n,u}},F={};F.reset=E(0,0);F.bold=E(1,22);F.dim=E(2,22);F.italic=E(3,23);F.underline=E(4,24);F.overline=E(53,55);F.inverse=E(7,27);F.hidden=E(8,28);F.strikethrough=E(9,29);F.black=E(30,39);F.red=E(31,39);F.green=E(32,39);F.yellow=E(33,39);F.blue=E(34,39);F.magenta=E(35,39);F.cyan=E(36,39);F.white=E(37,39);F.gray=E(90,39);F.bgBlack=E(40,49);F.bgRed=E(41,49);F.bgGreen=E(42,49);F.bgYellow=E(43,49);F.bgBlue=E(44,49);F.bgMagenta=E(45,49);F.bgCyan=E(46,49);F.bgWhite=E(47,49);F.bgGray=E(100,49);F.redBright=E(91,39);F.greenBright=E(92,39);F.yellowBright=E(93,39);F.blueBright=E(94,39);F.magentaBright=E(95,39);F.cyanBright=E(96,39);F.whiteBright=E(97,39);F.bgRedBright=E(101,49);F.bgGreenBright=E(102,49);F.bgYellowBright=E(103,49);F.bgBlueBright=E(104,49);F.bgMagentaBright=E(105,49);F.bgCyanBright=E(106,49);F.bgWhiteBright=E(107,49);ds.exports=F});var Rs=h((v1,ad)=>{ad.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 jn=h((R1,Ms)=>{"use strict";var qt=Object.assign({},Rs()),Is=Object.keys(qt);Object.defineProperty(qt,"random",{get(){let e=Math.floor(Math.random()*Is.length),t=Is[e];return qt[t]}});Ms.exports=qt});var Xs=h((ey,Js)=>{Js.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 to=h((gy,tu)=>{"use strict";var eu=require("fs"),eo;function Md(){try{return eu.statSync("/.dockerenv"),!0}catch{return!1}}function Pd(){try{return eu.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch{return!1}}tu.exports=()=>(eo===void 0&&(eo=Md()||Pd()),eo)});var ou=h((Ey,ro)=>{"use strict";var kd=require("os"),Ld=require("fs"),ru=to(),nu=()=>{if(process.platform!=="linux")return!1;if(kd.release().toLowerCase().includes("microsoft"))return!ru();try{return Ld.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")?!ru():!1}catch{return!1}};process.env.__IS_WSL_TEST__?ro.exports=nu:ro.exports=nu()});var su=h((Cy,iu)=>{"use strict";iu.exports=(e,t,r)=>{let n=o=>Object.defineProperty(e,t,{value:o,enumerable:!0,writable:!0});return Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get(){let o=r();return n(o),o},set(o){n(o)}}),e}});var pu=h((yy,fu)=>{var Nd=require("path"),$d=require("child_process"),{promises:Xt,constants:Du}=require("fs"),Jt=ou(),jd=to(),oo=su(),uu=Nd.join(__dirname,"xdg-open"),{platform:Pe,arch:au}=process,Ud=()=>{try{return Xt.statSync("/run/.containerenv"),!0}catch{return!1}},no;function Gd(){return no===void 0&&(no=Ud()||jd()),no}var zd=(()=>{let e="/mnt/",t;return async function(){if(t)return t;let r="/etc/wsl.conf",n=!1;try{await Xt.access(r,Du.F_OK),n=!0}catch{}if(!n)return e;let o=await Xt.readFile(r,{encoding:"utf8"}),i=/(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(o);return i?(t=i.groups.mountPoint.trim(),t=t.endsWith("/")?t:`${t}/`,t):e}})(),cu=async(e,t)=>{let r;for(let n of e)try{return await t(n)}catch(o){r=o}throw r},Zt=async e=>{if(e={wait:!1,background:!1,newInstance:!1,allowNonzeroExitCode:!1,...e},Array.isArray(e.app))return cu(e.app,u=>Zt({...e,app:u}));let{name:t,arguments:r=[]}=e.app||{};if(r=[...r],Array.isArray(t))return cu(t,u=>Zt({...e,app:{name:u,arguments:r}}));let n,o=[],i={};if(Pe==="darwin")n="open",e.wait&&o.push("--wait-apps"),e.background&&o.push("--background"),e.newInstance&&o.push("--new"),t&&o.push("-a",t);else if(Pe==="win32"||Jt&&!Gd()&&!t){let u=await zd();n=Jt?`${u}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`:`${process.env.SYSTEMROOT}\\System32\\WindowsPowerShell\\v1.0\\powershell`,o.push("-NoProfile","-NonInteractive","\u2013ExecutionPolicy","Bypass","-EncodedCommand"),Jt||(i.windowsVerbatimArguments=!0);let a=["Start"];e.wait&&a.push("-Wait"),t?(a.push(`"\`"${t}\`""`,"-ArgumentList"),e.target&&r.unshift(e.target)):e.target&&a.push(`"${e.target}"`),r.length>0&&(r=r.map(c=>`"\`"${c}\`""`),a.push(r.join(","))),e.target=Buffer.from(a.join(" "),"utf16le").toString("base64")}else{if(t)n=t;else{let u=!__dirname||__dirname==="/",a=!1;try{await Xt.access(uu,Du.X_OK),a=!0}catch{}n=process.versions.electron||Pe==="android"||u||!a?"xdg-open":uu}r.length>0&&o.push(...r),e.wait||(i.stdio="ignore",i.detached=!0)}e.target&&o.push(e.target),Pe==="darwin"&&r.length>0&&o.push("--args",...r);let s=$d.spawn(n,o,i);return e.wait?new Promise((u,a)=>{s.once("error",a),s.once("close",c=>{if(!e.allowNonzeroExitCode&&c>0){a(new Error(`Exited with code ${c}`));return}u(s)})}):(s.unref(),s)},io=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a `target`");return Zt({...t,target:e})},Wd=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a `name`");let{arguments:r=[]}=t||{};if(r!=null&&!Array.isArray(r))throw new TypeError("Expected `appArguments` as Array type");return Zt({...t,app:{name:e,arguments:r}})};function lu(e){if(typeof e=="string"||Array.isArray(e))return e;let{[au]:t}=e;if(!t)throw new Error(`${au} is not supported`);return t}function so({[Pe]:e},{wsl:t}){if(t&&Jt)return lu(t);if(!e)throw new Error(`${Pe} is not supported`);return lu(e)}var Qt={};oo(Qt,"chrome",()=>so({darwin:"google chrome",win32:"chrome",linux:["google-chrome","google-chrome-stable","chromium"]},{wsl:{ia32:"/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe",x64:["/mnt/c/Program Files/Google/Chrome/Application/chrome.exe","/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe"]}}));oo(Qt,"firefox",()=>so({darwin:"firefox",win32:"C:\\Program Files\\Mozilla Firefox\\firefox.exe",linux:"firefox"},{wsl:"/mnt/c/Program Files/Mozilla Firefox/firefox.exe"}));oo(Qt,"edge",()=>so({darwin:"microsoft edge",win32:"msedge",linux:["microsoft-edge","microsoft-edge-dev"]},{wsl:"/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"}));io.apps=Qt;io.openApp=Wd;fu.exports=io});var Qu=h((s3,Zu)=>{Zu.exports=Xu;Xu.sync=$m;var Ku=require("fs");function Nm(e,t){var r=t.pathExt!==void 0?t.pathExt:process.env.PATHEXT;if(!r||(r=r.split(";"),r.indexOf("")!==-1))return!0;for(var n=0;n<r.length;n++){var o=r[n].toLowerCase();if(o&&e.substr(-o.length).toLowerCase()===o)return!0}return!1}function Ju(e,t,r){return!e.isSymbolicLink()&&!e.isFile()?!1:Nm(t,r)}function Xu(e,t,r){Ku.stat(e,function(n,o){r(n,n?!1:Ju(o,e,t))})}function $m(e,t){return Ju(Ku.statSync(e),e,t)}});var oa=h((u3,na)=>{na.exports=ta;ta.sync=jm;var ea=require("fs");function ta(e,t,r){ea.stat(e,function(n,o){r(n,n?!1:ra(o,t))})}function jm(e,t){return ra(ea.statSync(e),t)}function ra(e,t){return e.isFile()&&Um(e,t)}function Um(e,t){var r=e.mode,n=e.uid,o=e.gid,i=t.uid!==void 0?t.uid:process.getuid&&process.getuid(),s=t.gid!==void 0?t.gid:process.getgid&&process.getgid(),u=parseInt("100",8),a=parseInt("010",8),c=parseInt("001",8),l=u|a,D=r&c||r&a&&o===s||r&u&&n===i||r&l&&i===0;return D}});var sa=h((c3,ia)=>{var a3=require("fs"),dr;process.platform==="win32"||global.TESTING_WINDOWS?dr=Qu():dr=oa();ia.exports=Fo;Fo.sync=Gm;function Fo(e,t,r){if(typeof t=="function"&&(r=t,t={}),!r){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(n,o){Fo(e,t||{},function(i,s){i?o(i):n(s)})})}dr(e,t||{},function(n,o){n&&(n.code==="EACCES"||t&&t.ignoreErrors)&&(n=null,o=!1),r(n,o)})}function Gm(e,t){try{return dr.sync(e,t||{})}catch(r){if(t&&t.ignoreErrors||r.code==="EACCES")return!1;throw r}}});var pa=h((l3,fa)=>{var $e=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",ua=require("path"),zm=$e?";":":",aa=sa(),ca=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),la=(e,t)=>{let r=t.colon||zm,n=e.match(/\//)||$e&&e.match(/\\/)?[""]:[...$e?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],o=$e?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",i=$e?o.split(r):[""];return $e&&e.indexOf(".")!==-1&&i[0]!==""&&i.unshift(""),{pathEnv:n,pathExt:i,pathExtExe:o}},Da=(e,t,r)=>{typeof t=="function"&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:o,pathExtExe:i}=la(e,t),s=[],u=c=>new Promise((l,D)=>{if(c===n.length)return t.all&&s.length?l(s):D(ca(e));let f=n[c],p=/^".*"$/.test(f)?f.slice(1,-1):f,m=ua.join(p,e),y=!p&&/^\.[\\\/]/.test(e)?e.slice(0,2)+m:m;l(a(y,c,0))}),a=(c,l,D)=>new Promise((f,p)=>{if(D===o.length)return f(u(l+1));let m=o[D];aa(c+m,{pathExt:i},(y,O)=>{if(!y&&O)if(t.all)s.push(c+m);else return f(c+m);return f(a(c,l,D+1))})});return r?u(0).then(c=>r(null,c),r):u(0)},Wm=(e,t)=>{t=t||{};let{pathEnv:r,pathExt:n,pathExtExe:o}=la(e,t),i=[];for(let s=0;s<r.length;s++){let u=r[s],a=/^".*"$/.test(u)?u.slice(1,-1):u,c=ua.join(a,e),l=!a&&/^\.[\\\/]/.test(e)?e.slice(0,2)+c:c;for(let D=0;D<n.length;D++){let f=l+n[D];try{if(aa.sync(f,{pathExt:o}))if(t.all)i.push(f);else return f}catch{}}}if(t.all&&i.length)return i;if(t.nothrow)return null;throw ca(e)};fa.exports=Da;Da.sync=Wm});var ma=h((D3,go)=>{"use strict";var da=(e={})=>{let t=e.env||process.env;return(e.platform||process.platform)!=="win32"?"PATH":Object.keys(t).reverse().find(n=>n.toUpperCase()==="PATH")||"Path"};go.exports=da;go.exports.default=da});var Ea=h((f3,ga)=>{"use strict";var ha=require("path"),Ym=pa(),qm=ma();function Fa(e,t){let r=e.options.env||process.env,n=process.cwd(),o=e.options.cwd!=null,i=o&&process.chdir!==void 0&&!process.chdir.disabled;if(i)try{process.chdir(e.options.cwd)}catch{}let s;try{s=Ym.sync(e.command,{path:r[qm({env:r})],pathExt:t?ha.delimiter:void 0})}catch{}finally{i&&process.chdir(n)}return s&&(s=ha.resolve(o?e.options.cwd:"",s)),s}function Vm(e){return Fa(e)||Fa(e,!0)}ga.exports=Vm});var Ca=h((p3,Co)=>{"use strict";var Eo=/([()\][%!^"`<>&|;, *?])/g;function Hm(e){return e=e.replace(Eo,"^$1"),e}function Km(e,t){return e=`${e}`,e=e.replace(/(\\*)"/g,'$1$1\\"'),e=e.replace(/(\\*)$/,"$1$1"),e=`"${e}"`,e=e.replace(Eo,"^$1"),t&&(e=e.replace(Eo,"^$1")),e}Co.exports.command=Hm;Co.exports.argument=Km});var ba=h((d3,ya)=>{"use strict";ya.exports=/^#!(.*)/});var xa=h((m3,wa)=>{"use strict";var Jm=ba();wa.exports=(e="")=>{let t=e.match(Jm);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),o=r.split("/").pop();return o==="env"?n:n?`${o} ${n}`:o}});var Aa=h((h3,Sa)=>{"use strict";var yo=require("fs"),Xm=xa();function Zm(e){let r=Buffer.alloc(150),n;try{n=yo.openSync(e,"r"),yo.readSync(n,r,0,150,0),yo.closeSync(n)}catch{}return Xm(r.toString())}Sa.exports=Zm});var Oa=h((F3,_a)=>{"use strict";var Qm=require("path"),Ba=Ea(),Ta=Ca(),eh=Aa(),th=process.platform==="win32",rh=/\.(?:com|exe)$/i,nh=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function oh(e){e.file=Ba(e);let t=e.file&&eh(e.file);return t?(e.args.unshift(e.file),e.command=t,Ba(e)):e.file}function ih(e){if(!th)return e;let t=oh(e),r=!rh.test(t);if(e.options.forceShell||r){let n=nh.test(t);e.command=Qm.normalize(e.command),e.command=Ta.command(e.command),e.args=e.args.map(i=>Ta.argument(i,n));let o=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${o}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e}function sh(e,t,r){t&&!Array.isArray(t)&&(r=t,t=null),t=t?t.slice(0):[],r=Object.assign({},r);let n={command:e,args:t,options:r,file:void 0,original:{command:e,args:t}};return r.shell?n:ih(n)}_a.exports=sh});var Ia=h((g3,Ra)=>{"use strict";var bo=process.platform==="win32";function wo(e,t){return Object.assign(new Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function uh(e,t){if(!bo)return;let r=e.emit;e.emit=function(n,o){if(n==="exit"){let i=va(o,t,"spawn");if(i)return r.call(e,"error",i)}return r.apply(e,arguments)}}function va(e,t){return bo&&e===1&&!t.file?wo(t.original,"spawn"):null}function ah(e,t){return bo&&e===1&&!t.file?wo(t.original,"spawnSync"):null}Ra.exports={hookChildProcess:uh,verifyENOENT:va,verifyENOENTSync:ah,notFoundError:wo}});var ka=h((E3,je)=>{"use strict";var Ma=require("child_process"),xo=Oa(),So=Ia();function Pa(e,t,r){let n=xo(e,t,r),o=Ma.spawn(n.command,n.args,n.options);return So.hookChildProcess(o,n),o}function ch(e,t,r){let n=xo(e,t,r),o=Ma.spawnSync(n.command,n.args,n.options);return o.error=o.error||So.verifyENOENTSync(o.status,n),o}je.exports=Pa;je.exports.spawn=Pa;je.exports.sync=ch;je.exports._parse=xo;je.exports._enoent=So});var ap=h((aT,up)=>{"use strict";up.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var Ui=h((cT,lp)=>{var Pt=ap(),cp={};for(let e of Object.keys(Pt))cp[Pt[e]]=e;var d={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};lp.exports=d;for(let e of Object.keys(d)){if(!("channels"in d[e]))throw new Error("missing channels property: "+e);if(!("labels"in d[e]))throw new Error("missing channel labels property: "+e);if(d[e].labels.length!==d[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=d[e];delete d[e].channels,delete d[e].labels,Object.defineProperty(d[e],"channels",{value:t}),Object.defineProperty(d[e],"labels",{value:r})}d.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.min(t,r,n),i=Math.max(t,r,n),s=i-o,u,a;i===o?u=0:t===i?u=(r-n)/s:r===i?u=2+(n-t)/s:n===i&&(u=4+(t-r)/s),u=Math.min(u*60,360),u<0&&(u+=360);let c=(o+i)/2;return i===o?a=0:c<=.5?a=s/(i+o):a=s/(2-i-o),[u,a*100,c*100]};d.rgb.hsv=function(e){let t,r,n,o,i,s=e[0]/255,u=e[1]/255,a=e[2]/255,c=Math.max(s,u,a),l=c-Math.min(s,u,a),D=function(f){return(c-f)/6/l+1/2};return l===0?(o=0,i=0):(i=l/c,t=D(s),r=D(u),n=D(a),s===c?o=n-r:u===c?o=1/3+t-n:a===c&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,c*100]};d.rgb.hwb=function(e){let t=e[0],r=e[1],n=e[2],o=d.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[o,i*100,n*100]};d.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.min(1-t,1-r,1-n),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,u=(1-n-o)/(1-o)||0;return[i*100,s*100,u*100,o*100]};function eC(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}d.rgb.keyword=function(e){let t=cp[e];if(t)return t;let r=1/0,n;for(let o of Object.keys(Pt)){let i=Pt[o],s=eC(e,i);s<r&&(r=s,n=o)}return n};d.keyword.rgb=function(e){return Pt[e]};d.rgb.xyz=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;let o=t*.4124+r*.3576+n*.1805,i=t*.2126+r*.7152+n*.0722,s=t*.0193+r*.1192+n*.9505;return[o*100,i*100,s*100]};d.rgb.lab=function(e){let t=d.rgb.xyz(e),r=t[0],n=t[1],o=t[2];r/=95.047,n/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*n-16,s=500*(r-n),u=200*(n-o);return[i,s,u]};d.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100,o,i,s;if(r===0)return s=n*255,[s,s,s];n<.5?o=n*(1+r):o=n+r-n*r;let u=2*n-o,a=[0,0,0];for(let c=0;c<3;c++)i=t+1/3*-(c-1),i<0&&i++,i>1&&i--,6*i<1?s=u+(o-u)*6*i:2*i<1?s=o:3*i<2?s=u+(o-u)*(2/3-i)*6:s=u,a[c]=s*255;return a};d.hsl.hsv=function(e){let t=e[0],r=e[1]/100,n=e[2]/100,o=r,i=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,o*=i<=1?i:2-i;let s=(n+r)/2,u=n===0?2*o/(i+o):2*r/(n+r);return[t,u*100,s*100]};d.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,n=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*n*(1-r),u=255*n*(1-r*i),a=255*n*(1-r*(1-i));switch(n*=255,o){case 0:return[n,a,s];case 1:return[u,n,s];case 2:return[s,n,a];case 3:return[s,u,n];case 4:return[a,s,n];case 5:return[n,s,u]}};d.hsv.hsl=function(e){let t=e[0],r=e[1]/100,n=e[2]/100,o=Math.max(n,.01),i,s;s=(2-r)*n;let u=(2-r)*o;return i=r*o,i/=u<=1?u:2-u,i=i||0,s/=2,[t,i*100,s*100]};d.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100,o=r+n,i;o>1&&(r/=o,n/=o);let s=Math.floor(6*t),u=1-n;i=6*t-s,s&1&&(i=1-i);let a=r+i*(u-r),c,l,D;switch(s){default:case 6:case 0:c=u,l=a,D=r;break;case 1:c=a,l=u,D=r;break;case 2:c=r,l=u,D=a;break;case 3:c=r,l=a,D=u;break;case 4:c=a,l=r,D=u;break;case 5:c=u,l=r,D=a;break}return[c*255,l*255,D*255]};d.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,n=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),u=1-Math.min(1,n*(1-o)+o);return[i*255,s*255,u*255]};d.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,n=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+n*-.4986,i=t*-.9689+r*1.8758+n*.0415,s=t*.0557+r*-.204+n*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]};d.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-n);return[o,i,s]};d.lab.xyz=function(e){let t=e[0],r=e[1],n=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-n/200;let u=i**3,a=o**3,c=s**3;return i=u>.008856?u:(i-16/116)/7.787,o=a>.008856?a:(o-16/116)/7.787,s=c>.008856?c:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]};d.lab.lch=function(e){let t=e[0],r=e[1],n=e[2],o;o=Math.atan2(n,r)*360/2/Math.PI,o<0&&(o+=360);let s=Math.sqrt(r*r+n*n);return[t,s,o]};d.lch.lab=function(e){let t=e[0],r=e[1],o=e[2]/360*2*Math.PI,i=r*Math.cos(o),s=r*Math.sin(o);return[t,i,s]};d.rgb.ansi16=function(e,t=null){let[r,n,o]=e,i=t===null?d.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return i===2&&(s+=60),s};d.hsv.ansi16=function(e){return d.rgb.ansi16(d.hsv.rgb(e),e[2])};d.rgb.ansi256=function(e){let t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)};d.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,n=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[n,o,i]};d.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,n=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,n,o]};d.rgb.hex=function(e){let r=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(r.length)+r};d.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(u=>u+u).join(""));let n=parseInt(r,16),o=n>>16&255,i=n>>8&255,s=n&255;return[o,i,s]};d.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.max(Math.max(t,r),n),i=Math.min(Math.min(t,r),n),s=o-i,u,a;return s<1?u=i/(1-s):u=0,s<=0?a=0:o===t?a=(r-n)/s%6:o===r?a=2+(n-t)/s:a=4+(t-r)/s,a/=6,a%=1,[a*360,s*100,u*100]};d.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r),o=0;return n<1&&(o=(r-.5*n)/(1-n)),[e[0],n*100,o*100]};d.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,n=t*r,o=0;return n<1&&(o=(r-n)/(1-n)),[e[0],n*100,o*100]};d.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];let o=[0,0,0],i=t%1*6,s=i%1,u=1-s,a=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=u,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=u,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=u}return a=(1-r)*n,[(r*o[0]+a)*255,(r*o[1]+a)*255,(r*o[2]+a)*255]};d.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,n=t+r*(1-t),o=0;return n>0&&(o=t/n),[e[0],o*100,n*100]};d.hcg.hsl=function(e){let t=e[1]/100,n=e[2]/100*(1-t)+.5*t,o=0;return n>0&&n<.5?o=t/(2*n):n>=.5&&n<1&&(o=t/(2*(1-n))),[e[0],o*100,n*100]};d.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};d.hwb.hcg=function(e){let t=e[1]/100,n=1-e[2]/100,o=n-t,i=0;return o<1&&(i=(n-o)/(1-o)),[e[0],o*100,i*100]};d.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};d.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};d.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};d.gray.hsl=function(e){return[0,0,e[0]]};d.gray.hsv=d.gray.hsl;d.gray.hwb=function(e){return[0,100,e[0]]};d.gray.cmyk=function(e){return[0,0,0,e[0]]};d.gray.lab=function(e){return[e[0],0,0]};d.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n};d.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}});var fp=h((lT,Dp)=>{var hn=Ui();function tC(){let e={},t=Object.keys(hn);for(let r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}function rC(e){let t=tC(),r=[e];for(t[e].distance=0;r.length;){let n=r.pop(),o=Object.keys(hn[n]);for(let i=o.length,s=0;s<i;s++){let u=o[s],a=t[u];a.distance===-1&&(a.distance=t[n].distance+1,a.parent=n,r.unshift(u))}}return t}function nC(e,t){return function(r){return t(e(r))}}function oC(e,t){let r=[t[e].parent,e],n=hn[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)r.unshift(t[o].parent),n=nC(hn[t[o].parent][o],n),o=t[o].parent;return n.conversion=r,n}Dp.exports=function(e){let t=rC(e),r={},n=Object.keys(t);for(let o=n.length,i=0;i<o;i++){let s=n[i];t[s].parent!==null&&(r[s]=oC(s,t))}return r}});var dp=h((DT,pp)=>{var Gi=Ui(),iC=fp(),et={},sC=Object.keys(Gi);function uC(e){let t=function(...r){let n=r[0];return n==null?n:(n.length>1&&(r=n),e(r))};return"conversion"in e&&(t.conversion=e.conversion),t}function aC(e){let t=function(...r){let n=r[0];if(n==null)return n;n.length>1&&(r=n);let o=e(r);if(typeof o=="object")for(let i=o.length,s=0;s<i;s++)o[s]=Math.round(o[s]);return o};return"conversion"in e&&(t.conversion=e.conversion),t}sC.forEach(e=>{et[e]={},Object.defineProperty(et[e],"channels",{value:Gi[e].channels}),Object.defineProperty(et[e],"labels",{value:Gi[e].labels});let t=iC(e);Object.keys(t).forEach(n=>{let o=t[n];et[e][n]=aC(o),et[e][n].raw=uC(o)})});pp.exports=et});var Cp=h((fT,Ep)=>{"use strict";var mp=(e,t)=>(...r)=>`\x1B[${e(...r)+t}m`,hp=(e,t)=>(...r)=>{let n=e(...r);return`\x1B[${38+t};5;${n}m`},Fp=(e,t)=>(...r)=>{let n=e(...r);return`\x1B[${38+t};2;${n[0]};${n[1]};${n[2]}m`},Fn=e=>e,gp=(e,t,r)=>[e,t,r],tt=(e,t,r)=>{Object.defineProperty(e,t,{get:()=>{let n=r();return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})},zi,rt=(e,t,r,n)=>{zi===void 0&&(zi=dp());let o=n?10:0,i={};for(let[s,u]of Object.entries(zi)){let a=s==="ansi16"?"ansi":s;s===t?i[a]=e(r,o):typeof u=="object"&&(i[a]=e(u[t],o))}return i};function cC(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],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],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],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[r,n]of Object.entries(t)){for(let[o,i]of Object.entries(n))t[o]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},n[o]=t[o],e.set(i[0],i[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",tt(t.color,"ansi",()=>rt(mp,"ansi16",Fn,!1)),tt(t.color,"ansi256",()=>rt(hp,"ansi256",Fn,!1)),tt(t.color,"ansi16m",()=>rt(Fp,"rgb",gp,!1)),tt(t.bgColor,"ansi",()=>rt(mp,"ansi16",Fn,!0)),tt(t.bgColor,"ansi256",()=>rt(hp,"ansi256",Fn,!0)),tt(t.bgColor,"ansi16m",()=>rt(Fp,"rgb",gp,!0)),t}Object.defineProperty(Ep,"exports",{enumerable:!0,get:cC})});var bp=h((pT,yp)=>{"use strict";yp.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),o=t.indexOf("--");return n!==-1&&(o===-1||n<o)}});var Sp=h((dT,xp)=>{"use strict";var lC=require("os"),wp=require("tty"),G=bp(),{env:I}=process,ge;G("no-color")||G("no-colors")||G("color=false")||G("color=never")?ge=0:(G("color")||G("colors")||G("color=true")||G("color=always"))&&(ge=1);"FORCE_COLOR"in I&&(I.FORCE_COLOR==="true"?ge=1:I.FORCE_COLOR==="false"?ge=0:ge=I.FORCE_COLOR.length===0?1:Math.min(parseInt(I.FORCE_COLOR,10),3));function Wi(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Yi(e,t){if(ge===0)return 0;if(G("color=16m")||G("color=full")||G("color=truecolor"))return 3;if(G("color=256"))return 2;if(e&&!t&&ge===void 0)return 0;let r=ge||0;if(I.TERM==="dumb")return r;if(process.platform==="win32"){let n=lC.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in I)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in I)||I.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in I)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(I.TEAMCITY_VERSION)?1:0;if(I.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in I){let n=parseInt((I.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(I.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(I.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(I.TERM)||"COLORTERM"in I?1:r}function DC(e){let t=Yi(e,e&&e.isTTY);return Wi(t)}xp.exports={supportsColor:DC,stdout:Wi(Yi(!0,wp.isatty(1))),stderr:Wi(Yi(!0,wp.isatty(2)))}});var Bp=h((mT,Ap)=>{"use strict";var fC=(e,t,r)=>{let n=e.indexOf(t);if(n===-1)return e;let o=t.length,i=0,s="";do s+=e.substr(i,n-i)+t+r,i=n+o,n=e.indexOf(t,i);while(n!==-1);return s+=e.substr(i),s},pC=(e,t,r,n)=>{let o=0,i="";do{let s=e[n-1]==="\r";i+=e.substr(o,(s?n-1:n)-o)+t+(s?`\r
2
+ `:`
3
+ `)+r,o=n+1,n=e.indexOf(`
4
+ `,o)}while(n!==-1);return i+=e.substr(o),i};Ap.exports={stringReplaceAll:fC,stringEncaseCRLFWithFirstIndex:pC}});var Rp=h((hT,vp)=>{"use strict";var dC=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Tp=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,mC=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,hC=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,FC=new Map([["n",`
5
+ `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function Op(e){let t=e[0]==="u",r=e[1]==="{";return t&&!r&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):t&&r?String.fromCodePoint(parseInt(e.slice(2,-1),16)):FC.get(e)||e}function gC(e,t){let r=[],n=t.trim().split(/\s*,\s*/g),o;for(let i of n){let s=Number(i);if(!Number.isNaN(s))r.push(s);else if(o=i.match(mC))r.push(o[2].replace(hC,(u,a,c)=>a?Op(a):c));else throw new Error(`Invalid Chalk template style argument: ${i} (in style '${e}')`)}return r}function EC(e){Tp.lastIndex=0;let t=[],r;for(;(r=Tp.exec(e))!==null;){let n=r[1];if(r[2]){let o=gC(n,r[2]);t.push([n].concat(o))}else t.push([n])}return t}function _p(e,t){let r={};for(let o of t)for(let i of o.styles)r[i[0]]=o.inverse?null:i.slice(1);let n=e;for(let[o,i]of Object.entries(r))if(Array.isArray(i)){if(!(o in n))throw new Error(`Unknown Chalk style: ${o}`);n=i.length>0?n[o](...i):n[o]}return n}vp.exports=(e,t)=>{let r=[],n=[],o=[];if(t.replace(dC,(i,s,u,a,c,l)=>{if(s)o.push(Op(s));else if(a){let D=o.join("");o=[],n.push(r.length===0?D:_p(e,r)(D)),r.push({inverse:u,styles:EC(a)})}else if(c){if(r.length===0)throw new Error("Found extraneous } in Chalk template literal");n.push(_p(e,r)(o.join(""))),o=[],r.pop()}else o.push(l)}),n.push(o.join("")),r.length>0){let i=`Chalk template literal is missing ${r.length} closing bracket${r.length===1?"":"s"} (\`}\`)`;throw new Error(i)}return n.join("")}});var $p=h((FT,Np)=>{"use strict";var kt=Cp(),{stdout:Vi,stderr:Hi}=Sp(),{stringReplaceAll:CC,stringEncaseCRLFWithFirstIndex:yC}=Bp(),{isArray:gn}=Array,Mp=["ansi","ansi","ansi256","ansi16m"],nt=Object.create(null),bC=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=Vi?Vi.level:0;e.level=t.level===void 0?r:t.level},Ki=class{constructor(t){return Pp(t)}},Pp=e=>{let t={};return bC(t,e),t.template=(...r)=>Lp(t.template,...r),Object.setPrototypeOf(t,En.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=Ki,t.template};function En(e){return Pp(e)}for(let[e,t]of Object.entries(kt))nt[e]={get(){let r=Cn(this,Ji(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:r}),r}};nt.visible={get(){let e=Cn(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};var kp=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let e of kp)nt[e]={get(){let{level:t}=this;return function(...r){let n=Ji(kt.color[Mp[t]][e](...r),kt.color.close,this._styler);return Cn(this,n,this._isEmpty)}}};for(let e of kp){let t="bg"+e[0].toUpperCase()+e.slice(1);nt[t]={get(){let{level:r}=this;return function(...n){let o=Ji(kt.bgColor[Mp[r]][e](...n),kt.bgColor.close,this._styler);return Cn(this,o,this._isEmpty)}}}}var wC=Object.defineProperties(()=>{},{...nt,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),Ji=(e,t,r)=>{let n,o;return r===void 0?(n=e,o=t):(n=r.openAll+e,o=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:o,parent:r}},Cn=(e,t,r)=>{let n=(...o)=>gn(o[0])&&gn(o[0].raw)?Ip(n,Lp(n,...o)):Ip(n,o.length===1?""+o[0]:o.join(" "));return Object.setPrototypeOf(n,wC),n._generator=e,n._styler=t,n._isEmpty=r,n},Ip=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let r=e._styler;if(r===void 0)return t;let{openAll:n,closeAll:o}=r;if(t.indexOf("\x1B")!==-1)for(;r!==void 0;)t=CC(t,r.close,r.open),r=r.parent;let i=t.indexOf(`
6
+ `);return i!==-1&&(t=yC(t,o,n,i)),n+t+o},qi,Lp=(e,...t)=>{let[r]=t;if(!gn(r)||!gn(r.raw))return t.join(" ");let n=t.slice(1),o=[r.raw[0]];for(let i=1;i<r.length;i++)o.push(String(n[i-1]).replace(/[{}\\]/g,"\\$&"),String(r.raw[i]));return qi===void 0&&(qi=Rp()),qi(e,o.join(""))};Object.defineProperties(En.prototype,nt);var yn=En();yn.supportsColor=Vi;yn.stderr=En({level:Hi?Hi.level:0});yn.stderr.supportsColor=Hi;Np.exports=yn});var zp=h((yT,Gp)=>{var Zi=class{constructor(t,r,n){this.etaBufferLength=t||100,this.valueBuffer=[n],this.timeBuffer=[r],this.eta="0"}update(t,r,n){this.valueBuffer.push(r),this.timeBuffer.push(t),this.calculate(n-r)}getTime(){return this.eta}calculate(t){let r=this.valueBuffer.length,n=Math.min(this.etaBufferLength,r),o=this.valueBuffer[r-1]-this.valueBuffer[r-n],i=this.timeBuffer[r-1]-this.timeBuffer[r-n],s=o/i;this.valueBuffer=this.valueBuffer.slice(-this.etaBufferLength),this.timeBuffer=this.timeBuffer.slice(-this.etaBufferLength);let u=Math.ceil(t/s/1e3);isNaN(u)?this.eta="NULL":isFinite(u)?u>1e7?this.eta="INF":u<0?this.eta=0:this.eta=u:this.eta="INF"}};Gp.exports=Zi});var es=h((bT,Wp)=>{var Te=require("readline"),Qi=class{constructor(t){this.stream=t,this.linewrap=!0,this.dy=0}cursorSave(){this.stream.isTTY&&this.stream.write("\x1B7")}cursorRestore(){this.stream.isTTY&&this.stream.write("\x1B8")}cursor(t){this.stream.isTTY&&(t?this.stream.write("\x1B[?25h"):this.stream.write("\x1B[?25l"))}cursorTo(t=null,r=null){this.stream.isTTY&&Te.cursorTo(this.stream,t,r)}cursorRelative(t=null,r=null){this.stream.isTTY&&(this.dy=this.dy+r,Te.moveCursor(this.stream,t,r))}cursorRelativeReset(){this.stream.isTTY&&(Te.moveCursor(this.stream,0,-this.dy),Te.cursorTo(this.stream,0,null),this.dy=0)}clearRight(){this.stream.isTTY&&Te.clearLine(this.stream,1)}clearLine(){this.stream.isTTY&&Te.clearLine(this.stream,0)}clearBottom(){this.stream.isTTY&&Te.clearScreenDown(this.stream)}newline(){this.stream.write(`
7
+ `),this.dy++}write(t,r=!1){this.linewrap===!0&&r===!1?this.stream.write(t.substr(0,this.getWidth())):this.stream.write(t)}lineWrapping(t){this.stream.isTTY&&(this.linewrap=t,t?this.stream.write("\x1B[?7h"):this.stream.write("\x1B[?7l"))}isTTY(){return this.stream.isTTY===!0}getWidth(){return this.stream.columns||(this.stream.isTTY?80:200)}};Wp.exports=Qi});var qp=h((wT,Yp)=>{"use strict";Yp.exports=({onlyFirst:e=!1}={})=>{let t=["[\\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(t,e?void 0:"g")}});var Hp=h((xT,Vp)=>{"use strict";var BC=qp();Vp.exports=e=>typeof e=="string"?e.replace(BC(),""):e});var Jp=h((ST,ts)=>{"use strict";var Kp=e=>Number.isNaN(e)?!1:e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141);ts.exports=Kp;ts.exports.default=Kp});var Zp=h((AT,Xp)=>{"use strict";Xp.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}});var e0=h((BT,rs)=>{"use strict";var TC=Hp(),_C=Jp(),OC=Zp(),Qp=e=>{if(typeof e!="string"||e.length===0||(e=TC(e),e.length===0))return 0;e=e.replace(OC()," ");let t=0;for(let r=0;r<e.length;r++){let n=e.codePointAt(r);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,t+=_C(n)?2:1)}return t};rs.exports=Qp;rs.exports.default=Qp});var ns=h((TT,t0)=>{t0.exports=function(t,r,n){if(r.autopadding!==!0)return t;function o(i,s){return(r.autopaddingChar+i).slice(-s)}switch(n){case"percentage":return o(t,3);default:return t}}});var os=h((_T,r0)=>{r0.exports=function(t,r){let n=Math.round(t*r.barsize),o=r.barsize-n;return r.barCompleteString.substr(0,n)+r.barGlue+r.barIncompleteString.substr(0,o)}});var is=h((OT,n0)=>{n0.exports=function(t,r,n){function o(s){return n?n*Math.round(s/n):s}function i(s){return(r.autopaddingChar+s).slice(-2)}return t>3600?i(Math.floor(t/3600))+"h"+i(o(t%3600/60))+"m":t>60?i(Math.floor(t/60))+"m"+i(o(t%60))+"s":t>10?i(o(t))+"s":i(t)+"s"}});var ss=h((vT,o0)=>{var vC=e0(),RC=ns(),IC=os(),MC=is();o0.exports=function(t,r,n){let o=t.format,i=t.formatTime||MC,s=t.formatValue||RC,u=t.formatBar||IC,a=Math.floor(r.progress*100)+"",c=r.stopTime||Date.now(),l=Math.round((c-r.startTime)/1e3),D=Object.assign({},n,{bar:u(r.progress,t),percentage:s(a,t,"percentage"),total:s(r.total,t,"total"),value:s(r.value,t,"value"),eta:s(r.eta,t,"eta"),eta_formatted:i(r.eta,t,5),duration:s(l,t,"duration"),duration_formatted:i(l,t,1)});o=o.replace(/\{(\w+)\}/g,function(m,y){return typeof D[y]<"u"?D[y]:m});let f=Math.max(0,r.maxWidth-vC(o)-2),p=Math.floor(f/2);switch(t.align){case"right":o=f>0?" ".repeat(f)+o:o;break;case"center":o=p>0?" ".repeat(p)+o:o;break;case"left":default:break}return o}});var bn=h((RT,i0)=>{function b(e,t){return typeof e>"u"||e===null?t:e}i0.exports={parse:function(t,r){let n={},o=Object.assign({},r,t);return n.throttleTime=1e3/b(o.fps,10),n.stream=b(o.stream,process.stderr),n.terminal=b(o.terminal,null),n.clearOnComplete=b(o.clearOnComplete,!1),n.stopOnComplete=b(o.stopOnComplete,!1),n.barsize=b(o.barsize,40),n.align=b(o.align,"left"),n.hideCursor=b(o.hideCursor,!1),n.linewrap=b(o.linewrap,!1),n.barGlue=b(o.barGlue,""),n.barCompleteChar=b(o.barCompleteChar,"="),n.barIncompleteChar=b(o.barIncompleteChar,"-"),n.format=b(o.format,"progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}"),n.formatTime=b(o.formatTime,null),n.formatValue=b(o.formatValue,null),n.formatBar=b(o.formatBar,null),n.etaBufferLength=b(o.etaBuffer,10),n.etaAsynchronousUpdate=b(o.etaAsynchronousUpdate,!1),n.progressCalculationRelative=b(o.progressCalculationRelative,!1),n.synchronousUpdate=b(o.synchronousUpdate,!0),n.noTTYOutput=b(o.noTTYOutput,!1),n.notTTYSchedule=b(o.notTTYSchedule,2e3),n.emptyOnZero=b(o.emptyOnZero,!1),n.forceRedraw=b(o.forceRedraw,!1),n.autopadding=b(o.autopadding,!1),n.gracefulExit=b(o.gracefulExit,!1),n},assignDerivedOptions:function(t){return t.barCompleteString=t.barCompleteChar.repeat(t.barsize+1),t.barIncompleteString=t.barIncompleteChar.repeat(t.barsize+1),t.autopaddingChar=t.autopadding?b(t.autopaddingChar," "):"",t}}});var us=h((MT,u0)=>{var s0=zp(),PC=es(),kC=ss(),LC=bn(),NC=require("events");u0.exports=class extends NC{constructor(t){super(),this.options=LC.assignDerivedOptions(t),this.terminal=this.options.terminal?this.options.terminal:new PC(this.options.stream),this.value=0,this.startValue=0,this.total=100,this.lastDrawnString=null,this.startTime=null,this.stopTime=null,this.lastRedraw=Date.now(),this.eta=new s0(this.options.etaBufferLength,0,0),this.payload={},this.isActive=!1,this.formatter=typeof this.options.format=="function"?this.options.format:kC}render(t=!1){let r={progress:this.getProgress(),eta:this.eta.getTime(),startTime:this.startTime,stopTime:this.stopTime,total:this.total,value:this.value,maxWidth:this.terminal.getWidth()};this.options.etaAsynchronousUpdate&&this.updateETA();let n=this.formatter(this.options,r,this.payload);(t||this.options.forceRedraw||this.options.noTTYOutput&&!this.terminal.isTTY()||this.lastDrawnString!=n)&&(this.emit("redraw-pre"),this.terminal.cursorTo(0,null),this.terminal.write(n),this.terminal.clearRight(),this.lastDrawnString=n,this.lastRedraw=Date.now(),this.emit("redraw-post"))}start(t,r,n){this.value=r||0,this.total=typeof t<"u"&&t>=0?t:100,this.startValue=r||0,this.payload=n||{},this.startTime=Date.now(),this.stopTime=null,this.lastDrawnString="",this.eta=new s0(this.options.etaBufferLength,this.startTime,this.value),this.isActive=!0,this.emit("start",t,r)}stop(){this.isActive=!1,this.stopTime=Date.now(),this.emit("stop",this.total,this.value)}update(t,r={}){typeof t=="number"&&(this.value=t,this.eta.update(Date.now(),t,this.total));let n=(typeof t=="object"?t:r)||{};this.emit("update",this.total,this.value);for(let o in n)this.payload[o]=n[o];this.value>=this.getTotal()&&this.options.stopOnComplete&&this.stop()}getProgress(){let t=this.value/this.total;return this.options.progressCalculationRelative&&(t=(this.value-this.startValue)/(this.total-this.startValue)),isNaN(t)&&(t=this.options&&this.options.emptyOnZero?0:1),t=Math.min(Math.max(t,0),1),t}increment(t=1,r={}){typeof t=="object"?this.update(this.value+1,t):this.update(this.value+t,r)}getTotal(){return this.total}setTotal(t){typeof t<"u"&&t>=0&&(this.total=t)}updateETA(){this.eta.update(Date.now(),this.value,this.total)}}});var c0=h((kT,a0)=>{var $C=us(),jC=bn();a0.exports=class extends $C{constructor(t,r){super(jC.parse(t,r)),this.timer=null,this.options.noTTYOutput&&this.terminal.isTTY()===!1&&(this.options.synchronousUpdate=!1),this.schedulingRate=this.terminal.isTTY()?this.options.throttleTime:this.options.notTTYSchedule,this.sigintCallback=null}render(){this.timer&&(clearTimeout(this.timer),this.timer=null),super.render(),this.options.noTTYOutput&&this.terminal.isTTY()===!1&&this.terminal.newline(),this.timer=setTimeout(this.render.bind(this),this.schedulingRate)}update(t,r){this.timer&&(super.update(t,r),this.options.synchronousUpdate&&this.lastRedraw+this.options.throttleTime*2<Date.now()&&this.render())}start(t,r,n){this.options.noTTYOutput===!1&&this.terminal.isTTY()===!1||(this.sigintCallback===null&&this.options.gracefulExit&&(this.sigintCallback=this.stop.bind(this),process.once("SIGINT",this.sigintCallback),process.once("SIGTERM",this.sigintCallback)),this.terminal.cursorSave(),this.options.hideCursor===!0&&this.terminal.cursor(!1),this.options.linewrap===!1&&this.terminal.lineWrapping(!1),super.start(t,r,n),this.render())}stop(){this.timer&&(this.sigintCallback&&(process.removeListener("SIGINT",this.sigintCallback),process.removeListener("SIGTERM",this.sigintCallback),this.sigintCallback=null),this.render(),super.stop(),clearTimeout(this.timer),this.timer=null,this.options.hideCursor===!0&&this.terminal.cursor(!0),this.options.linewrap===!1&&this.terminal.lineWrapping(!0),this.terminal.cursorRestore(),this.options.clearOnComplete?(this.terminal.cursorTo(0,null),this.terminal.clearLine()):this.terminal.newline())}}});var D0=h((NT,l0)=>{var UC=es(),GC=us(),zC=bn(),WC=require("events");l0.exports=class extends WC{constructor(t,r){super(),this.bars=[],this.options=zC.parse(t,r),this.options.synchronousUpdate=!1,this.terminal=this.options.terminal?this.options.terminal:new UC(this.options.stream),this.timer=null,this.isActive=!1,this.schedulingRate=this.terminal.isTTY()?this.options.throttleTime:this.options.notTTYSchedule,this.loggingBuffer=[],this.sigintCallback=null}create(t,r,n,o={}){let i=new GC(Object.assign({},this.options,{terminal:this.terminal},o));return this.bars.push(i),this.options.noTTYOutput===!1&&this.terminal.isTTY()===!1||(this.sigintCallback===null&&this.options.gracefulExit&&(this.sigintCallback=this.stop.bind(this),process.once("SIGINT",this.sigintCallback),process.once("SIGTERM",this.sigintCallback)),this.isActive||(this.options.hideCursor===!0&&this.terminal.cursor(!1),this.options.linewrap===!1&&this.terminal.lineWrapping(!1),this.timer=setTimeout(this.update.bind(this),this.schedulingRate)),this.isActive=!0,i.start(t,r,n),this.emit("start")),i}remove(t){let r=this.bars.indexOf(t);return r<0?!1:(this.bars.splice(r,1),this.update(),this.terminal.newline(),this.terminal.clearBottom(),!0)}update(){if(this.timer&&(clearTimeout(this.timer),this.timer=null),this.emit("update-pre"),this.terminal.cursorRelativeReset(),this.emit("redraw-pre"),this.loggingBuffer.length>0)for(this.terminal.clearLine();this.loggingBuffer.length>0;)this.terminal.write(this.loggingBuffer.shift(),!0);for(let t=0;t<this.bars.length;t++)t>0&&this.terminal.newline(),this.bars[t].render();this.emit("redraw-post"),this.options.noTTYOutput&&this.terminal.isTTY()===!1&&(this.terminal.newline(),this.terminal.newline()),this.timer=setTimeout(this.update.bind(this),this.schedulingRate),this.emit("update-post"),this.options.stopOnComplete&&!this.bars.find(t=>t.isActive)&&this.stop()}stop(){if(clearTimeout(this.timer),this.timer=null,this.sigintCallback&&(process.removeListener("SIGINT",this.sigintCallback),process.removeListener("SIGTERM",this.sigintCallback),this.sigintCallback=null),this.isActive=!1,this.options.hideCursor===!0&&this.terminal.cursor(!0),this.options.linewrap===!1&&this.terminal.lineWrapping(!0),this.terminal.cursorRelativeReset(),this.emit("stop-pre-clear"),this.options.clearOnComplete)this.terminal.clearBottom();else{for(let t=0;t<this.bars.length;t++)t>0&&this.terminal.newline(),this.bars[t].render(),this.bars[t].stop();this.terminal.newline()}this.emit("stop")}log(t){this.loggingBuffer.push(t)}}});var p0=h(($T,f0)=>{f0.exports={format:"progress [{bar}] {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"=",barIncompleteChar:"-"}});var m0=h((jT,d0)=>{d0.exports={format:" {bar} {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u2588",barIncompleteChar:"\u2591"}});var F0=h((UT,h0)=>{h0.exports={format:" \x1B[90m{bar}\x1B[0m {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u2588",barIncompleteChar:"\u2591"}});var E0=h((GT,g0)=>{g0.exports={format:" {bar}\u25A0 {percentage}% | ETA: {eta}s | {value}/{total}",barCompleteChar:"\u25A0",barIncompleteChar:" "}});var y0=h((zT,C0)=>{var YC=p0(),qC=m0(),VC=F0(),HC=E0();C0.exports={legacy:YC,shades_classic:qC,shades_grey:VC,rect:HC}});var x0=h((WT,w0)=>{var b0=c0(),KC=D0(),JC=y0(),XC=ss(),ZC=ns(),QC=os(),e1=is();w0.exports={Bar:b0,SingleBar:b0,MultiBar:KC,Presets:JC,Format:{Formatter:XC,BarFormat:QC,ValueFormat:ZC,TimeFormat:e1}}});var t1={};O0(t1,{default:()=>xn});module.exports=v0(t1);var wn=require("@oclif/core");var du=require("@oclif/core");var it=g(require("node:fs")),An=g(require("node:path")),ls=g(require("node:os"));var R0="KqAdcGhNfBKiUpfjD3nU3VNgh1t0iMPoX2hYEkN9d4I",I0="e69bae0ec90f5e838555",ne={},Ds;function fs(e){Ds=e;try{ne=JSON.parse(it.readFileSync(An.join(P0(),"config.json"),"utf8"))}catch(t){if(t instanceof Error&&t.code==="ENOENT")return;throw new Error(`Failed to read config file: ${t}`)}}function st(e){switch(e){case"raycastApiURL":return process.env.RAY_APIURL||ne.APIURL||"https://www.raycast.com";case"raycastAccessToken":return process.env.RAY_Token||ne.Token||ne.AccessToken||"";case"raycastClientId":return process.env.RAY_ClientID||ne.ClientID||R0;case"githubClientId":return process.env.RAY_GithubClientID||ne.GithubClientID||I0;case"githubAccessToken":return process.env.GITHUB_ACCESS_TOKEN||ne.GithubAccessToken||"";case"flavorName":return process.env.RAY_Target||(typeof ne.Target>"u"?ps("release"):ne.Target)}}function ps(e){switch(e){case"debug":return"debug";case"internal":return"internal";case"release":return"";case void 0:return st("flavorName")}}function M0(){let e=ps(Ds);return e==""?"raycast":`raycast-${e}`}function P0(){let e=An.join(ls.default.homedir(),".config",M0());return it.mkdirSync(e,{recursive:!0}),e}var A=g(ms());var mt=g(require("node:process"),1);var hs=(e=0)=>t=>`\x1B[${t+e}m`,Fs=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,gs=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`,x={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]}},a1=Object.keys(x.modifier),N0=Object.keys(x.color),$0=Object.keys(x.bgColor),c1=[...N0,...$0];function j0(){let e=new Map;for(let[t,r]of Object.entries(x)){for(let[n,o]of Object.entries(r))x[n]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},r[n]=x[n],e.set(o[0],o[1]);Object.defineProperty(x,t,{value:r,enumerable:!1})}return Object.defineProperty(x,"codes",{value:e,enumerable:!1}),x.color.close="\x1B[39m",x.bgColor.close="\x1B[49m",x.color.ansi=hs(),x.color.ansi256=Fs(),x.color.ansi16m=gs(),x.bgColor.ansi=hs(10),x.bgColor.ansi256=Fs(10),x.bgColor.ansi16m=gs(10),Object.defineProperties(x,{rgbToAnsi256:{value(t,r,n){return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},enumerable:!1},hexToRgb:{value(t){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r)return[0,0,0];let[n]=r;n.length===3&&(n=[...n].map(i=>i+i).join(""));let o=Number.parseInt(n,16);return[o>>16&255,o>>8&255,o&255]},enumerable:!1},hexToAnsi256:{value:t=>x.rgbToAnsi256(...x.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let r,n,o;if(t>=232)r=((t-232)*10+8)/255,n=r,o=r;else{t-=16;let u=t%36;r=Math.floor(t/36)/5,n=Math.floor(u/6)/5,o=u%6/5}let i=Math.max(r,n,o)*2;if(i===0)return 30;let s=30+(Math.round(o)<<2|Math.round(n)<<1|Math.round(r));return i===2&&(s+=60),s},enumerable:!1},rgbToAnsi:{value:(t,r,n)=>x.ansi256ToAnsi(x.rgbToAnsi256(t,r,n)),enumerable:!1},hexToAnsi:{value:t=>x.ansi256ToAnsi(x.hexToAnsi256(t)),enumerable:!1}}),x}var U0=j0(),z=U0;var $t=g(require("node:process"),1),Cs=g(require("node:os"),1),Bn=g(require("node:tty"),1);function L(e,t=globalThis.Deno?globalThis.Deno.args:$t.default.argv){let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),o=t.indexOf("--");return n!==-1&&(o===-1||n<o)}var{env:B}=$t.default,Nt;L("no-color")||L("no-colors")||L("color=false")||L("color=never")?Nt=0:(L("color")||L("colors")||L("color=true")||L("color=always"))&&(Nt=1);function G0(){if("FORCE_COLOR"in B)return B.FORCE_COLOR==="true"?1:B.FORCE_COLOR==="false"?0:B.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(B.FORCE_COLOR,10),3)}function z0(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function W0(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=G0();n!==void 0&&(Nt=n);let o=r?Nt:n;if(o===0)return 0;if(r){if(L("color=16m")||L("color=full")||L("color=truecolor"))return 3;if(L("color=256"))return 2}if("TF_BUILD"in B&&"AGENT_NAME"in B)return 1;if(e&&!t&&o===void 0)return 0;let i=o||0;if(B.TERM==="dumb")return i;if($t.default.platform==="win32"){let s=Cs.default.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in B)return"GITHUB_ACTIONS"in B||"GITEA_ACTIONS"in B?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(s=>s in B)||B.CI_NAME==="codeship"?1:i;if("TEAMCITY_VERSION"in B)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(B.TEAMCITY_VERSION)?1:0;if(B.COLORTERM==="truecolor"||B.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in B){let s=Number.parseInt((B.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(B.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(B.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(B.TERM)||"COLORTERM"in B?1:i}function Es(e,t={}){let r=W0(e,{streamIsTTY:e&&e.isTTY,...t});return z0(r)}var Y0={stdout:Es({isTTY:Bn.default.isatty(1)}),stderr:Es({isTTY:Bn.default.isatty(2)})},ys=Y0;function bs(e,t,r){let n=e.indexOf(t);if(n===-1)return e;let o=t.length,i=0,s="";do s+=e.slice(i,n)+t+r,i=n+o,n=e.indexOf(t,i);while(n!==-1);return s+=e.slice(i),s}function ws(e,t,r,n){let o=0,i="";do{let s=e[n-1]==="\r";i+=e.slice(o,s?n-1:n)+t+(s?`\r
8
+ `:`
9
+ `)+r,o=n+1,n=e.indexOf(`
10
+ `,o)}while(n!==-1);return i+=e.slice(o),i}var{stdout:xs,stderr:Ss}=ys,Tn=Symbol("GENERATOR"),Oe=Symbol("STYLER"),ut=Symbol("IS_EMPTY"),As=["ansi","ansi","ansi256","ansi16m"],ve=Object.create(null),q0=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=xs?xs.level:0;e.level=t.level===void 0?r:t.level};var V0=e=>{let t=(...r)=>r.join(" ");return q0(t,e),Object.setPrototypeOf(t,at.prototype),t};function at(e){return V0(e)}Object.setPrototypeOf(at.prototype,Function.prototype);for(let[e,t]of Object.entries(z))ve[e]={get(){let r=jt(this,On(t.open,t.close,this[Oe]),this[ut]);return Object.defineProperty(this,e,{value:r}),r}};ve.visible={get(){let e=jt(this,this[Oe],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var _n=(e,t,r,...n)=>e==="rgb"?t==="ansi16m"?z[r].ansi16m(...n):t==="ansi256"?z[r].ansi256(z.rgbToAnsi256(...n)):z[r].ansi(z.rgbToAnsi(...n)):e==="hex"?_n("rgb",t,r,...z.hexToRgb(...n)):z[r][e](...n),H0=["rgb","hex","ansi256"];for(let e of H0){ve[e]={get(){let{level:r}=this;return function(...n){let o=On(_n(e,As[r],"color",...n),z.color.close,this[Oe]);return jt(this,o,this[ut])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);ve[t]={get(){let{level:r}=this;return function(...n){let o=On(_n(e,As[r],"bgColor",...n),z.bgColor.close,this[Oe]);return jt(this,o,this[ut])}}}}var K0=Object.defineProperties(()=>{},{...ve,level:{enumerable:!0,get(){return this[Tn].level},set(e){this[Tn].level=e}}}),On=(e,t,r)=>{let n,o;return r===void 0?(n=e,o=t):(n=r.openAll+e,o=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:o,parent:r}},jt=(e,t,r)=>{let n=(...o)=>J0(n,o.length===1?""+o[0]:o.join(" "));return Object.setPrototypeOf(n,K0),n[Tn]=e,n[Oe]=t,n[ut]=r,n},J0=(e,t)=>{if(e.level<=0||!t)return e[ut]?"":t;let r=e[Oe];if(r===void 0)return t;let{openAll:n,closeAll:o}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=bs(t,r.close,r.open),r=r.parent;let i=t.indexOf(`
11
+ `);return i!==-1&&(t=ws(t,o,n,i)),n+t+o};Object.defineProperties(at.prototype,ve);var X0=at(),h1=at({level:Ss?Ss.level:0});var Bs=X0;var Nn=g(require("node:process"),1);var ct=g(require("node:process"),1);var Z0=(e,t,r,n)=>{if(r==="length"||r==="prototype"||r==="arguments"||r==="caller")return;let o=Object.getOwnPropertyDescriptor(e,r),i=Object.getOwnPropertyDescriptor(t,r);!Q0(o,i)&&n||Object.defineProperty(e,r,i)},Q0=function(e,t){return e===void 0||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},ed=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r)},td=(e,t)=>`/* Wrapped ${e}*/
12
+ ${t}`,rd=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),nd=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),od=(e,t,r)=>{let n=r===""?"":`with ${r.trim()}() `,o=td.bind(null,n,t.toString());Object.defineProperty(o,"name",nd);let{writable:i,enumerable:s,configurable:u}=rd;Object.defineProperty(e,"toString",{value:o,writable:i,enumerable:s,configurable:u})};function vn(e,t,{ignoreNonConfigurable:r=!1}={}){let{name:n}=e;for(let o of Reflect.ownKeys(t))Z0(e,t,o,r);return ed(e,t),od(e,t,n),e}var Ut=new WeakMap,Ts=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let r,n=0,o=e.displayName||e.name||"<anonymous>",i=function(...s){if(Ut.set(i,++n),n===1)r=e.apply(this,s),e=void 0;else if(t.throw===!0)throw new Error(`Function \`${o}\` can only be called once`);return r};return vn(i,e),Ut.set(i,n),i};Ts.callCount=e=>{if(!Ut.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return Ut.get(e)};var _s=Ts;var ye=[];ye.push("SIGHUP","SIGINT","SIGTERM");process.platform!=="win32"&&ye.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&ye.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");var Gt=e=>!!e&&typeof e=="object"&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function",Rn=Symbol.for("signal-exit emitter"),In=globalThis,id=Object.defineProperty.bind(Object),Mn=class{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(In[Rn])return In[Rn];id(In,Rn,{value:this,writable:!1,enumerable:!1,configurable:!1})}on(t,r){this.listeners[t].push(r)}removeListener(t,r){let n=this.listeners[t],o=n.indexOf(r);o!==-1&&(o===0&&n.length===1?n.length=0:n.splice(o,1))}emit(t,r,n){if(this.emitted[t])return!1;this.emitted[t]=!0;let o=!1;for(let i of this.listeners[t])o=i(r,n)===!0||o;return t==="exit"&&(o=this.emit("afterExit",r,n)||o),o}},zt=class{},sd=e=>({onExit(t,r){return e.onExit(t,r)},load(){return e.load()},unload(){return e.unload()}}),Pn=class extends zt{onExit(){return()=>{}}load(){}unload(){}},kn=class extends zt{#r=Ln.platform==="win32"?"SIGINT":"SIGHUP";#o=new Mn;#e;#n;#u;#t={};#s=!1;constructor(t){super(),this.#e=t,this.#t={};for(let r of ye)this.#t[r]=()=>{let n=this.#e.listeners(r),{count:o}=this.#o,i=t;if(typeof i.__signal_exit_emitter__=="object"&&typeof i.__signal_exit_emitter__.count=="number"&&(o+=i.__signal_exit_emitter__.count),n.length===o){this.unload();let s=this.#o.emit("exit",null,r),u=r==="SIGHUP"?this.#r:r;s||t.kill(t.pid,u)}};this.#u=t.reallyExit,this.#n=t.emit}onExit(t,r){if(!Gt(this.#e))return()=>{};this.#s===!1&&this.load();let n=r?.alwaysLast?"afterExit":"exit";return this.#o.on(n,t),()=>{this.#o.removeListener(n,t),this.#o.listeners.exit.length===0&&this.#o.listeners.afterExit.length===0&&this.unload()}}load(){if(!this.#s){this.#s=!0,this.#o.count+=1;for(let t of ye)try{let r=this.#t[t];r&&this.#e.on(t,r)}catch{}this.#e.emit=(t,...r)=>this.#p(t,...r),this.#e.reallyExit=t=>this.#i(t)}}unload(){this.#s&&(this.#s=!1,ye.forEach(t=>{let r=this.#t[t];if(!r)throw new Error("Listener not defined for signal: "+t);try{this.#e.removeListener(t,r)}catch{}}),this.#e.emit=this.#n,this.#e.reallyExit=this.#u,this.#o.count-=1)}#i(t){return Gt(this.#e)?(this.#e.exitCode=t||0,this.#o.emit("exit",this.#e.exitCode,null),this.#u.call(this.#e,this.#e.exitCode)):0}#p(t,...r){let n=this.#n;if(t==="exit"&&Gt(this.#e)){typeof r[0]=="number"&&(this.#e.exitCode=r[0]);let o=n.call(this.#e,t,...r);return this.#o.emit("exit",this.#e.exitCode,null),o}else return n.call(this.#e,t,...r)}},Ln=globalThis.process,{onExit:Wt,load:w1,unload:x1}=sd(Gt(Ln)?new kn(Ln):new Pn);var Os=ct.default.stderr.isTTY?ct.default.stderr:ct.default.stdout.isTTY?ct.default.stdout:void 0,ud=Os?_s(()=>{Wt(()=>{Os.write("\x1B[?25h")},{alwaysLast:!0})}):()=>{},vs=ud;var Yt=!1,Re={};Re.show=(e=Nn.default.stderr)=>{e.isTTY&&(Yt=!1,e.write("\x1B[?25h"))};Re.hide=(e=Nn.default.stderr)=>{e.isTTY&&(vs(),Yt=!0,e.write("\x1B[?25l"))};Re.toggle=(e,t)=>{e!==void 0&&(Yt=e),Yt?Re.show(t):Re.hide(t)};var $n=Re;var ht=g(jn(),1);var Ps=(e=0)=>t=>`\x1B[${t+e}m`,ks=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Ls=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`,S={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]}},I1=Object.keys(S.modifier),cd=Object.keys(S.color),ld=Object.keys(S.bgColor),M1=[...cd,...ld];function Dd(){let e=new Map;for(let[t,r]of Object.entries(S)){for(let[n,o]of Object.entries(r))S[n]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},r[n]=S[n],e.set(o[0],o[1]);Object.defineProperty(S,t,{value:r,enumerable:!1})}return Object.defineProperty(S,"codes",{value:e,enumerable:!1}),S.color.close="\x1B[39m",S.bgColor.close="\x1B[49m",S.color.ansi=Ps(),S.color.ansi256=ks(),S.color.ansi16m=Ls(),S.bgColor.ansi=Ps(10),S.bgColor.ansi256=ks(10),S.bgColor.ansi16m=Ls(10),Object.defineProperties(S,{rgbToAnsi256:{value(t,r,n){return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},enumerable:!1},hexToRgb:{value(t){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r)return[0,0,0];let[n]=r;n.length===3&&(n=[...n].map(i=>i+i).join(""));let o=Number.parseInt(n,16);return[o>>16&255,o>>8&255,o&255]},enumerable:!1},hexToAnsi256:{value:t=>S.rgbToAnsi256(...S.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let r,n,o;if(t>=232)r=((t-232)*10+8)/255,n=r,o=r;else{t-=16;let u=t%36;r=Math.floor(t/36)/5,n=Math.floor(u/6)/5,o=u%6/5}let i=Math.max(r,n,o)*2;if(i===0)return 30;let s=30+(Math.round(o)<<2|Math.round(n)<<1|Math.round(r));return i===2&&(s+=60),s},enumerable:!1},rgbToAnsi:{value:(t,r,n)=>S.ansi256ToAnsi(S.rgbToAnsi256(t,r,n)),enumerable:!1},hexToAnsi:{value:t=>S.ansi256ToAnsi(S.hexToAnsi256(t)),enumerable:!1}}),S}var fd=Dd(),W=fd;var Ht=g(require("node:process"),1),$s=g(require("node:os"),1),Un=g(require("node:tty"),1);function N(e,t=globalThis.Deno?globalThis.Deno.args:Ht.default.argv){let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),o=t.indexOf("--");return n!==-1&&(o===-1||n<o)}var{env:T}=Ht.default,Vt;N("no-color")||N("no-colors")||N("color=false")||N("color=never")?Vt=0:(N("color")||N("colors")||N("color=true")||N("color=always"))&&(Vt=1);function pd(){if("FORCE_COLOR"in T)return T.FORCE_COLOR==="true"?1:T.FORCE_COLOR==="false"?0:T.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(T.FORCE_COLOR,10),3)}function dd(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function md(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=pd();n!==void 0&&(Vt=n);let o=r?Vt:n;if(o===0)return 0;if(r){if(N("color=16m")||N("color=full")||N("color=truecolor"))return 3;if(N("color=256"))return 2}if("TF_BUILD"in T&&"AGENT_NAME"in T)return 1;if(e&&!t&&o===void 0)return 0;let i=o||0;if(T.TERM==="dumb")return i;if(Ht.default.platform==="win32"){let s=$s.default.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in T)return"GITHUB_ACTIONS"in T||"GITEA_ACTIONS"in T?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(s=>s in T)||T.CI_NAME==="codeship"?1:i;if("TEAMCITY_VERSION"in T)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(T.TEAMCITY_VERSION)?1:0;if(T.COLORTERM==="truecolor"||T.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in T){let s=Number.parseInt((T.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(T.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(T.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(T.TERM)||"COLORTERM"in T?1:i}function Ns(e,t={}){let r=md(e,{streamIsTTY:e&&e.isTTY,...t});return dd(r)}var hd={stdout:Ns({isTTY:Un.default.isatty(1)}),stderr:Ns({isTTY:Un.default.isatty(2)})},js=hd;function Us(e,t,r){let n=e.indexOf(t);if(n===-1)return e;let o=t.length,i=0,s="";do s+=e.slice(i,n)+t+r,i=n+o,n=e.indexOf(t,i);while(n!==-1);return s+=e.slice(i),s}function Gs(e,t,r,n){let o=0,i="";do{let s=e[n-1]==="\r";i+=e.slice(o,s?n-1:n)+t+(s?`\r
13
+ `:`
14
+ `)+r,o=n+1,n=e.indexOf(`
15
+ `,o)}while(n!==-1);return i+=e.slice(o),i}var{stdout:zs,stderr:Ws}=js,Gn=Symbol("GENERATOR"),Ie=Symbol("STYLER"),lt=Symbol("IS_EMPTY"),Ys=["ansi","ansi","ansi256","ansi16m"],Me=Object.create(null),Fd=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=zs?zs.level:0;e.level=t.level===void 0?r:t.level};var gd=e=>{let t=(...r)=>r.join(" ");return Fd(t,e),Object.setPrototypeOf(t,Dt.prototype),t};function Dt(e){return gd(e)}Object.setPrototypeOf(Dt.prototype,Function.prototype);for(let[e,t]of Object.entries(W))Me[e]={get(){let r=Kt(this,Wn(t.open,t.close,this[Ie]),this[lt]);return Object.defineProperty(this,e,{value:r}),r}};Me.visible={get(){let e=Kt(this,this[Ie],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var zn=(e,t,r,...n)=>e==="rgb"?t==="ansi16m"?W[r].ansi16m(...n):t==="ansi256"?W[r].ansi256(W.rgbToAnsi256(...n)):W[r].ansi(W.rgbToAnsi(...n)):e==="hex"?zn("rgb",t,r,...W.hexToRgb(...n)):W[r][e](...n),Ed=["rgb","hex","ansi256"];for(let e of Ed){Me[e]={get(){let{level:r}=this;return function(...n){let o=Wn(zn(e,Ys[r],"color",...n),W.color.close,this[Ie]);return Kt(this,o,this[lt])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);Me[t]={get(){let{level:r}=this;return function(...n){let o=Wn(zn(e,Ys[r],"bgColor",...n),W.bgColor.close,this[Ie]);return Kt(this,o,this[lt])}}}}var Cd=Object.defineProperties(()=>{},{...Me,level:{enumerable:!0,get(){return this[Gn].level},set(e){this[Gn].level=e}}}),Wn=(e,t,r)=>{let n,o;return r===void 0?(n=e,o=t):(n=r.openAll+e,o=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:o,parent:r}},Kt=(e,t,r)=>{let n=(...o)=>yd(n,o.length===1?""+o[0]:o.join(" "));return Object.setPrototypeOf(n,Cd),n[Gn]=e,n[Ie]=t,n[lt]=r,n},yd=(e,t)=>{if(e.level<=0||!t)return e[lt]?"":t;let r=e[Ie];if(r===void 0)return t;let{openAll:n,closeAll:o}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=Us(t,r.close,r.open),r=r.parent;let i=t.indexOf(`
16
+ `);return i!==-1&&(t=Gs(t,o,n,i)),n+t+o};Object.defineProperties(Dt.prototype,Me);var bd=Dt(),U1=Dt({level:Ws?Ws.level:0});var oe=bd;var $=g(require("node:process"),1);function Yn(){return $.default.platform!=="win32"?$.default.env.TERM!=="linux":!!$.default.env.CI||!!$.default.env.WT_SESSION||!!$.default.env.TERMINUS_SUBLIME||$.default.env.ConEmuTask==="{cmd::Cmder}"||$.default.env.TERM_PROGRAM==="Terminus-Sublime"||$.default.env.TERM_PROGRAM==="vscode"||$.default.env.TERM==="xterm-256color"||$.default.env.TERM==="alacritty"||$.default.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var wd={info:oe.blue("\u2139"),success:oe.green("\u2714"),warning:oe.yellow("\u26A0"),error:oe.red("\u2716")},xd={info:oe.blue("i"),success:oe.green("\u221A"),warning:oe.yellow("\u203C"),error:oe.red("\xD7")},Sd=Yn()?wd:xd,ft=Sd;function qn({onlyFirst:e=!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,e?void 0:"g")}var Ad=qn();function pt(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(Ad,"")}function qs(e){return e===161||e===164||e===167||e===168||e===170||e===173||e===174||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||e===198||e===208||e===215||e===216||e>=222&&e<=225||e===230||e>=232&&e<=234||e===236||e===237||e===240||e===242||e===243||e>=247&&e<=250||e===252||e===254||e===257||e===273||e===275||e===283||e===294||e===295||e===299||e>=305&&e<=307||e===312||e>=319&&e<=322||e===324||e>=328&&e<=331||e===333||e===338||e===339||e===358||e===359||e===363||e===462||e===464||e===466||e===468||e===470||e===472||e===474||e===476||e===593||e===609||e===708||e===711||e>=713&&e<=715||e===717||e===720||e>=728&&e<=731||e===733||e===735||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||e===1025||e>=1040&&e<=1103||e===1105||e===8208||e>=8211&&e<=8214||e===8216||e===8217||e===8220||e===8221||e>=8224&&e<=8226||e>=8228&&e<=8231||e===8240||e===8242||e===8243||e===8245||e===8251||e===8254||e===8308||e===8319||e>=8321&&e<=8324||e===8364||e===8451||e===8453||e===8457||e===8467||e===8470||e===8481||e===8482||e===8486||e===8491||e===8531||e===8532||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||e===8585||e>=8592&&e<=8601||e===8632||e===8633||e===8658||e===8660||e===8679||e===8704||e===8706||e===8707||e===8711||e===8712||e===8715||e===8719||e===8721||e===8725||e===8730||e>=8733&&e<=8736||e===8739||e===8741||e>=8743&&e<=8748||e===8750||e>=8756&&e<=8759||e===8764||e===8765||e===8776||e===8780||e===8786||e===8800||e===8801||e>=8804&&e<=8807||e===8810||e===8811||e===8814||e===8815||e===8834||e===8835||e===8838||e===8839||e===8853||e===8857||e===8869||e===8895||e===8978||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||e===9632||e===9633||e>=9635&&e<=9641||e===9650||e===9651||e===9654||e===9655||e===9660||e===9661||e===9664||e===9665||e>=9670&&e<=9672||e===9675||e>=9678&&e<=9681||e>=9698&&e<=9701||e===9711||e===9733||e===9734||e===9737||e===9742||e===9743||e===9756||e===9758||e===9792||e===9794||e===9824||e===9825||e>=9827&&e<=9829||e>=9831&&e<=9834||e===9836||e===9837||e===9839||e===9886||e===9887||e===9919||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||e===9955||e===9960||e===9961||e>=9963&&e<=9969||e===9972||e>=9974&&e<=9977||e===9979||e===9980||e===9982||e===9983||e===10045||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||e===65533||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||e===127375||e===127376||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109}function Vs(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Hs(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101631&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129673||e>=129679&&e<=129734||e>=129742&&e<=129756||e>=129759&&e<=129769||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function Bd(e){if(!Number.isSafeInteger(e))throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}function Ks(e,{ambiguousAsWide:t=!1}={}){return Bd(e),Vs(e)||Hs(e)||t&&qs(e)?2:1}var Zs=g(Xs(),1),Td=new Intl.Segmenter,_d=new RegExp("^\\p{Default_Ignorable_Code_Point}$","u");function Vn(e,t={}){if(typeof e!="string"||e.length===0)return 0;let{ambiguousIsNarrow:r=!0,countAnsiEscapeCodes:n=!1}=t;if(n||(e=pt(e)),e.length===0)return 0;let o=0,i={ambiguousAsWide:!r};for(let{segment:s}of Td.segment(e)){let u=s.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)&&!_d.test(s)){if((0,Zs.default)().test(s)){o+=2;continue}o+=Ks(u,i)}}return o}function Hn({stream:e=process.stdout}={}){return!!(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}var Kn=g(require("node:process"),1);function dt(){let{env:e}=Kn.default,{TERM:t,TERM_PROGRAM:r}=e;return Kn.default.platform!=="win32"?t!=="linux":!!e.WT_SESSION||!!e.TERMINUS_SUBLIME||e.ConEmuTask==="{cmd::Cmder}"||r==="Terminus-Sublime"||r==="vscode"||t==="xterm-256color"||t==="alacritty"||t==="rxvt-unicode"||t==="rxvt-unicode-256color"||e.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var Y=g(require("node:process"),1),Od=3,Jn=class{#r=0;start(){this.#r++,this.#r===1&&this.#o()}stop(){if(this.#r<=0)throw new Error("`stop` called more times than `start`");this.#r--,this.#r===0&&this.#e()}#o(){Y.default.platform==="win32"||!Y.default.stdin.isTTY||(Y.default.stdin.setRawMode(!0),Y.default.stdin.on("data",this.#n),Y.default.stdin.resume())}#e(){Y.default.stdin.isTTY&&(Y.default.stdin.off("data",this.#n),Y.default.stdin.pause(),Y.default.stdin.setRawMode(!1))}#n(t){t[0]===Od&&Y.default.emit("SIGINT")}},vd=new Jn,Xn=vd;var Rd=g(jn(),1),Zn=class{#r=0;#o=!1;#e=0;#n=-1;#u=0;#t;#s;#i;#p;#m;#l;#D;#f;#h;#a;#c;color;constructor(t){typeof t=="string"&&(t={text:t}),this.#t={color:"cyan",stream:mt.default.stderr,discardStdin:!0,hideCursor:!0,...t},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:Hn({stream:this.#i}),this.#D=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,mt.default.env.NODE_ENV==="test"&&(this._stream=this.#i,this._isEnabled=this.#l,Object.defineProperty(this,"_linesToClear",{get(){return this.#r},set(r){this.#r=r}}),Object.defineProperty(this,"_frameIndex",{get(){return this.#n}}),Object.defineProperty(this,"_lineCount",{get(){return this.#e}}))}get indent(){return this.#f}set indent(t=0){if(!(t>=0&&Number.isInteger(t)))throw new Error("The `indent` option must be an integer from 0 and up");this.#f=t,this.#d()}get interval(){return this.#m??this.#s.interval??100}get spinner(){return this.#s}set spinner(t){if(this.#n=-1,this.#m=void 0,typeof t=="object"){if(t.frames===void 0)throw new Error("The given spinner must have a `frames` property");this.#s=t}else if(!dt())this.#s=ht.default.line;else if(t===void 0)this.#s=ht.default.dots;else if(t!=="default"&&ht.default[t])this.#s=ht.default[t];else throw new Error(`There is no built-in spinner named '${t}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`)}get text(){return this.#h}set text(t=""){this.#h=t,this.#d()}get prefixText(){return this.#a}set prefixText(t=""){this.#a=t,this.#d()}get suffixText(){return this.#c}set suffixText(t=""){this.#c=t,this.#d()}get isSpinning(){return this.#p!==void 0}#F(t=this.#a,r=" "){return typeof t=="string"&&t!==""?t+r:typeof t=="function"?t()+r:""}#g(t=this.#c,r=" "){return typeof t=="string"&&t!==""?r+t:typeof t=="function"?r+t():""}#d(){let t=this.#i.columns??80,r=this.#F(this.#a,"-"),n=this.#g(this.#c,"-"),o=" ".repeat(this.#f)+r+"--"+this.#h+"--"+n;this.#e=0;for(let i of pt(o).split(`
17
+ `))this.#e+=Math.max(1,Math.ceil(Vn(i,{countAnsiEscapeCodes:!0})/t))}get isEnabled(){return this.#l&&!this.#D}set isEnabled(t){if(typeof t!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");this.#l=t}get isSilent(){return this.#D}set isSilent(t){if(typeof t!="boolean")throw new TypeError("The `isSilent` option must be a boolean");this.#D=t}frame(){let t=Date.now();(this.#n===-1||t-this.#u>=this.interval)&&(this.#n=++this.#n%this.#s.frames.length,this.#u=t);let{frames:r}=this.#s,n=r[this.#n];this.color&&(n=Bs[this.color](n));let o=typeof this.#a=="string"&&this.#a!==""?this.#a+" ":"",i=typeof this.text=="string"?" "+this.text:"",s=typeof this.#c=="string"&&this.#c!==""?" "+this.#c:"";return o+n+i+s}clear(){if(!this.#l||!this.#i.isTTY)return this;this.#i.cursorTo(0);for(let t=0;t<this.#r;t++)t>0&&this.#i.moveCursor(0,-1),this.#i.clearLine(1);return(this.#f||this.lastIndent!==this.#f)&&this.#i.cursorTo(this.#f),this.lastIndent=this.#f,this.#r=0,this}render(){return this.#D?this:(this.clear(),this.#i.write(this.frame()),this.#r=this.#e,this)}start(t){return t&&(this.text=t),this.#D?this:this.#l?this.isSpinning?this:(this.#t.hideCursor&&$n.hide(this.#i),this.#t.discardStdin&&mt.default.stdin.isTTY&&(this.#o=!0,Xn.start()),this.render(),this.#p=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.#i.write(`- ${this.text}
18
+ `),this)}stop(){return this.#l?(clearInterval(this.#p),this.#p=void 0,this.#n=0,this.clear(),this.#t.hideCursor&&$n.show(this.#i),this.#t.discardStdin&&mt.default.stdin.isTTY&&this.#o&&(Xn.stop(),this.#o=!1),this):this}succeed(t){return this.stopAndPersist({symbol:ft.success,text:t})}fail(t){return this.stopAndPersist({symbol:ft.error,text:t})}warn(t){return this.stopAndPersist({symbol:ft.warning,text:t})}info(t){return this.stopAndPersist({symbol:ft.info,text:t})}stopAndPersist(t={}){if(this.#D)return this;let r=t.prefixText??this.#a,n=this.#F(r," "),o=t.symbol??" ",i=t.text??this.text,u=typeof i=="string"?(o?" ":"")+i:"",a=t.suffixText??this.#c,c=this.#g(a," "),l=n+o+u+c+`
19
+ `;return this.stop(),this.#i.write(l),this}};function Qn(e){return new Zn(e)}var hy=(0,A.blue)((0,A.dim)("internal only"));var be={wait:`\u{1F550}${(0,A.blue)("wait")} - `,info:`${process.env.GITHUB_ACTIONS==="true"?"\u2139\uFE0F":"\u2139\uFE0F "}${(0,A.cyan)("info")} - `,success:`\u2705${(0,A.green)("ready")} - `,warn:`${process.env.GITHUB_ACTIONS==="true"?"\u26A0\uFE0F":"\u26A0\uFE0F "}${(0,A.yellow)("warn")} - `,error:`\u{1F4A5}${(0,A.red)("error")} - `,event:`\u26A1\uFE0F${(0,A.magenta)("event")} - `,paymentPrompt:`\u{1F4B0}${(0,A.yellowBright)("plan")} - `},Id=!0;function Qs(e,t){e||(be.wait=`${(0,A.blue)("wait")} - `,be.info=`${(0,A.cyan)("info")} - `,be.success=`${(0,A.green)("ready")} - `,be.warn=`${(0,A.yellow)("warn")} - `,be.error=`${(0,A.red)("error")} - `,be.event=`${(0,A.magenta)("event")} - `,be.paymentPrompt=`${(0,A.yellowBright)("plan")} - `),t&&(Id=!1)}var Yd=require("@oclif/core");var qd=g(pu());function mu(){st("raycastAccessToken")===""&&du.ux.error("please first log in first using `npx ray login`",{exit:1})}var De=require("@oclif/core");var er=class extends De.Command{static baseFlags={"exit-on-error":De.Flags.boolean({default:!0,helpGroup:"GLOBAL",aliases:["exitOnError"],deprecateAliases:!0,summary:"Always exit with non-zero code on error",allowNo:!0}),emoji:De.Flags.boolean({default:!1,helpGroup:"GLOBAL",summary:"Prefix output with emojis \u{1F308}"}),help:De.Flags.boolean({default:!1,helpGroup:"GLOBAL",summary:"Show the help message for the command"}),"non-interactive":De.Flags.boolean({char:"I",default:!1,helpGroup:"GLOBAL",summary:"Disable interactive outputs, useful for CI"}),target:De.Flags.option({char:"t",description:"Raycast app target",helpGroup:"GLOBAL",multiple:!1,options:["debug","internal","release"],hidden:!0})()};flags;args;async init(){await super.init(),process.on("SIGINT",()=>process.exit(1));let{args:t,flags:r}=await this.parse({flags:this.ctor.flags,baseFlags:super.ctor.baseFlags,enableJsonFlag:this.ctor.enableJsonFlag,args:this.ctor.args,strict:this.ctor.strict});this.flags=r,this.args=t,fs(this.flags.target),Qs(this.flags.emoji,this.flags["non-interactive"])}error(t,r){return r?.message&&t instanceof Error&&(t.message=`${r.message} (${t.message})`,delete r.message),super.error(t,r)}async catch(t){return super.catch(t)}async finally(t){return super.finally(t)}};var dn=g(require("path"));var pn=g(require("path")),np=g(require("fs")),op=g(require("os"));function _(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}var hu=require("node:url"),ke=(e,t)=>{let r=ao(Vd(e));if(typeof r!="string")throw new TypeError(`${t} must be a string or a file URL: ${r}.`);return r},Vd=e=>uo(e)?e.toString():e,uo=e=>typeof e!="string"&&e&&Object.getPrototypeOf(e)===String.prototype,ao=e=>e instanceof URL?(0,hu.fileURLToPath)(e):e;var tr=(e,t=[],r={})=>{let n=ke(e,"First argument"),[o,i]=_(t)?[[],t]:[t,r];if(!Array.isArray(o))throw new TypeError(`Second argument must be either an array of arguments or an options object: ${o}`);if(o.some(a=>typeof a=="object"&&a!==null))throw new TypeError(`Second argument must be an array of strings: ${o}`);let s=o.map(String),u=s.find(a=>a.includes("\0"));if(u!==void 0)throw new TypeError(`Arguments cannot contain null bytes ("\\0"): ${u}`);if(!_(i))throw new TypeError(`Last argument must be an options object: ${i}`);return[n,s,i]};var Su=require("node:child_process");var Fu=require("node:string_decoder"),{toString:gu}=Object.prototype,Eu=e=>gu.call(e)==="[object ArrayBuffer]",v=e=>gu.call(e)==="[object Uint8Array]",ie=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength),Hd=new TextEncoder,Cu=e=>Hd.encode(e),Kd=new TextDecoder,rr=e=>Kd.decode(e),yu=(e,t)=>Jd(e,t).join(""),Jd=(e,t)=>{if(t==="utf8"&&e.every(i=>typeof i=="string"))return e;let r=new Fu.StringDecoder(t),n=e.map(i=>typeof i=="string"?Cu(i):i).map(i=>r.write(i)),o=r.end();return o===""?n:[...n,o]},Ft=e=>e.length===1&&v(e[0])?e[0]:co(Xd(e)),Xd=e=>e.map(t=>typeof t=="string"?Cu(t):t),co=e=>{let t=new Uint8Array(Zd(e)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t},Zd=e=>{let t=0;for(let r of e)t+=r.length;return t};var Au=e=>Array.isArray(e)&&Array.isArray(e.raw),Bu=(e,t)=>{let r=[];for(let[i,s]of e.entries())r=Qd({templates:e,expressions:t,tokens:r,index:i,template:s});if(r.length===0)throw new TypeError("Template script must not be empty");let[n,...o]=r;return[n,o,{}]},Qd=({templates:e,expressions:t,tokens:r,index:n,template:o})=>{if(o===void 0)throw new TypeError(`Invalid backslash sequence: ${e.raw[n]}`);let{nextTokens:i,leadingWhitespaces:s,trailingWhitespaces:u}=em(o,e.raw[n]),a=wu(r,i,s);if(n===t.length)return a;let c=t[n],l=Array.isArray(c)?c.map(D=>xu(D)):[xu(c)];return wu(a,l,u)},em=(e,t)=>{if(t.length===0)return{nextTokens:[],leadingWhitespaces:!1,trailingWhitespaces:!1};let r=[],n=0,o=bu.has(t[0]);for(let s=0,u=0;s<e.length;s+=1,u+=1){let a=t[u];if(bu.has(a))n!==s&&r.push(e.slice(n,s)),n=s+1;else if(a==="\\"){let c=t[u+1];c==="u"&&t[u+2]==="{"?u=t.indexOf("}",u+3):u+=tm[c]??1}}let i=n===e.length;return i||r.push(e.slice(n)),{nextTokens:r,leadingWhitespaces:o,trailingWhitespaces:i}},bu=new Set([" "," ","\r",`
20
+ `]),tm={x:3,u:5},wu=(e,t,r)=>r||e.length===0||t.length===0?[...e,...t]:[...e.slice(0,-1),`${e.at(-1)}${t[0]}`,...t.slice(1)],xu=e=>{let t=typeof e;if(t==="string")return e;if(t==="number")return String(e);if(_(e)&&("stdout"in e||"isMaxBuffer"in e))return rm(e);throw e instanceof Su.ChildProcess||Object.prototype.toString.call(e)==="[object Promise]"?new TypeError("Unexpected subprocess in template expression. Please use ${await subprocess} instead of ${subprocess}."):new TypeError(`Unexpected "${t}" in template expression`)},rm=({stdout:e})=>{if(typeof e=="string")return e;if(v(e))return rr(e);throw e===void 0?new TypeError(`Missing result.stdout in template expression. This is probably due to the previous subprocess' "stdout" option.`):new TypeError(`Unexpected "${typeof e}" stdout in template expression`)};var LD=require("node:child_process");var _u=require("node:util");var nr=g(require("node:process"),1),q=e=>or.includes(e),or=[nr.default.stdin,nr.default.stdout,nr.default.stderr],j=["stdin","stdout","stderr"],ir=e=>j[e]??`stdio[${e}]`;var Ou=e=>{let t={...e};for(let r of fo)t[r]=lo(e,r);return t},lo=(e,t)=>{let r=Array.from({length:nm(e)+1}),n=om(e[t],r,t);return cm(n,t)},nm=({stdio:e})=>Array.isArray(e)?Math.max(e.length,j.length):j.length,om=(e,t,r)=>_(e)?im(e,t,r):t.fill(e),im=(e,t,r)=>{for(let n of Object.keys(e).sort(sm))for(let o of um(n,r,t))t[o]=e[n];return t},sm=(e,t)=>Tu(e)<Tu(t)?1:-1,Tu=e=>e==="stdout"||e==="stderr"?0:e==="all"?2:1,um=(e,t,r)=>{if(e==="ipc")return[r.length-1];let n=Do(e);if(n===void 0||n===0)throw new TypeError(`"${t}.${e}" is invalid.
21
+ It must be "${t}.stdout", "${t}.stderr", "${t}.all", "${t}.ipc", or "${t}.fd3", "${t}.fd4" (and so on).`);if(n>=r.length)throw new TypeError(`"${t}.${e}" is invalid: that file descriptor does not exist.
22
+ Please set the "stdio" option to ensure that file descriptor exists.`);return n==="all"?[1,2]:[n]},Do=e=>{if(e==="all")return e;if(j.includes(e))return j.indexOf(e);let t=am.exec(e);if(t!==null)return Number(t[1])},am=/^fd(\d+)$/,cm=(e,t)=>e.map(r=>r===void 0?Dm[t]:r),lm=(0,_u.debuglog)("execa").enabled?"full":"none",Dm={lines:!1,buffer:!0,maxBuffer:1e3*1e3*100,verbose:lm,stripFinalNewline:!0},fo=["lines","buffer","maxBuffer","verbose","stripFinalNewline"],se=(e,t)=>t==="ipc"?e.at(-1):e[t];var Le=({verbose:e},t)=>po(e,t)!=="none",Ne=({verbose:e},t)=>!["none","short"].includes(po(e,t)),vu=({verbose:e},t)=>{let r=po(e,t);return sr(r)?r:void 0},po=(e,t)=>t===void 0?fm(e):se(e,t),fm=e=>e.find(t=>sr(t))??ur.findLast(t=>e.includes(t)),sr=e=>typeof e=="function",ur=["none","short","full"];var qu=require("node:util");var Ru=require("node:process"),Iu=require("node:util"),Mu=(e,t)=>{let r=[e,...t],n=r.join(" "),o=r.map(i=>gm(Pu(i))).join(" ");return{command:n,escapedCommand:o}},gt=e=>(0,Iu.stripVTControlCharacters)(e).split(`
23
+ `).map(t=>Pu(t)).join(`
24
+ `),Pu=e=>e.replaceAll(mm,t=>pm(t)),pm=e=>{let t=hm[e];if(t!==void 0)return t;let r=e.codePointAt(0),n=r.toString(16);return r<=Fm?`\\u${n.padStart(4,"0")}`:`\\U${n}`},dm=()=>{try{return new RegExp("\\p{Separator}|\\p{Other}","gu")}catch{return/[\s\u0000-\u001F\u007F-\u009F\u00AD]/g}},mm=dm(),hm={" ":" ","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},Fm=65535,gm=e=>Em.test(e)?e:Ru.platform==="win32"?`"${e.replaceAll('"','""')}"`:`'${e.replaceAll("'","'\\''")}'`,Em=/^[\w./-]+$/;var ku={circleQuestionMark:"(?)",questionMarkPrefix:"(?)",square:"\u2588",squareDarkShade:"\u2593",squareMediumShade:"\u2592",squareLightShade:"\u2591",squareTop:"\u2580",squareBottom:"\u2584",squareLeft:"\u258C",squareRight:"\u2590",squareCenter:"\u25A0",bullet:"\u25CF",dot:"\u2024",ellipsis:"\u2026",pointerSmall:"\u203A",triangleUp:"\u25B2",triangleUpSmall:"\u25B4",triangleDown:"\u25BC",triangleDownSmall:"\u25BE",triangleLeftSmall:"\u25C2",triangleRightSmall:"\u25B8",home:"\u2302",heart:"\u2665",musicNote:"\u266A",musicNoteBeamed:"\u266B",arrowUp:"\u2191",arrowDown:"\u2193",arrowLeft:"\u2190",arrowRight:"\u2192",arrowLeftRight:"\u2194",arrowUpDown:"\u2195",almostEqual:"\u2248",notEqual:"\u2260",lessOrEqual:"\u2264",greaterOrEqual:"\u2265",identical:"\u2261",infinity:"\u221E",subscriptZero:"\u2080",subscriptOne:"\u2081",subscriptTwo:"\u2082",subscriptThree:"\u2083",subscriptFour:"\u2084",subscriptFive:"\u2085",subscriptSix:"\u2086",subscriptSeven:"\u2087",subscriptEight:"\u2088",subscriptNine:"\u2089",oneHalf:"\xBD",oneThird:"\u2153",oneQuarter:"\xBC",oneFifth:"\u2155",oneSixth:"\u2159",oneEighth:"\u215B",twoThirds:"\u2154",twoFifths:"\u2156",threeQuarters:"\xBE",threeFifths:"\u2157",threeEighths:"\u215C",fourFifths:"\u2158",fiveSixths:"\u215A",fiveEighths:"\u215D",sevenEighths:"\u215E",line:"\u2500",lineBold:"\u2501",lineDouble:"\u2550",lineDashed0:"\u2504",lineDashed1:"\u2505",lineDashed2:"\u2508",lineDashed3:"\u2509",lineDashed4:"\u254C",lineDashed5:"\u254D",lineDashed6:"\u2574",lineDashed7:"\u2576",lineDashed8:"\u2578",lineDashed9:"\u257A",lineDashed10:"\u257C",lineDashed11:"\u257E",lineDashed12:"\u2212",lineDashed13:"\u2013",lineDashed14:"\u2010",lineDashed15:"\u2043",lineVertical:"\u2502",lineVerticalBold:"\u2503",lineVerticalDouble:"\u2551",lineVerticalDashed0:"\u2506",lineVerticalDashed1:"\u2507",lineVerticalDashed2:"\u250A",lineVerticalDashed3:"\u250B",lineVerticalDashed4:"\u254E",lineVerticalDashed5:"\u254F",lineVerticalDashed6:"\u2575",lineVerticalDashed7:"\u2577",lineVerticalDashed8:"\u2579",lineVerticalDashed9:"\u257B",lineVerticalDashed10:"\u257D",lineVerticalDashed11:"\u257F",lineDownLeft:"\u2510",lineDownLeftArc:"\u256E",lineDownBoldLeftBold:"\u2513",lineDownBoldLeft:"\u2512",lineDownLeftBold:"\u2511",lineDownDoubleLeftDouble:"\u2557",lineDownDoubleLeft:"\u2556",lineDownLeftDouble:"\u2555",lineDownRight:"\u250C",lineDownRightArc:"\u256D",lineDownBoldRightBold:"\u250F",lineDownBoldRight:"\u250E",lineDownRightBold:"\u250D",lineDownDoubleRightDouble:"\u2554",lineDownDoubleRight:"\u2553",lineDownRightDouble:"\u2552",lineUpLeft:"\u2518",lineUpLeftArc:"\u256F",lineUpBoldLeftBold:"\u251B",lineUpBoldLeft:"\u251A",lineUpLeftBold:"\u2519",lineUpDoubleLeftDouble:"\u255D",lineUpDoubleLeft:"\u255C",lineUpLeftDouble:"\u255B",lineUpRight:"\u2514",lineUpRightArc:"\u2570",lineUpBoldRightBold:"\u2517",lineUpBoldRight:"\u2516",lineUpRightBold:"\u2515",lineUpDoubleRightDouble:"\u255A",lineUpDoubleRight:"\u2559",lineUpRightDouble:"\u2558",lineUpDownLeft:"\u2524",lineUpBoldDownBoldLeftBold:"\u252B",lineUpBoldDownBoldLeft:"\u2528",lineUpDownLeftBold:"\u2525",lineUpBoldDownLeftBold:"\u2529",lineUpDownBoldLeftBold:"\u252A",lineUpDownBoldLeft:"\u2527",lineUpBoldDownLeft:"\u2526",lineUpDoubleDownDoubleLeftDouble:"\u2563",lineUpDoubleDownDoubleLeft:"\u2562",lineUpDownLeftDouble:"\u2561",lineUpDownRight:"\u251C",lineUpBoldDownBoldRightBold:"\u2523",lineUpBoldDownBoldRight:"\u2520",lineUpDownRightBold:"\u251D",lineUpBoldDownRightBold:"\u2521",lineUpDownBoldRightBold:"\u2522",lineUpDownBoldRight:"\u251F",lineUpBoldDownRight:"\u251E",lineUpDoubleDownDoubleRightDouble:"\u2560",lineUpDoubleDownDoubleRight:"\u255F",lineUpDownRightDouble:"\u255E",lineDownLeftRight:"\u252C",lineDownBoldLeftBoldRightBold:"\u2533",lineDownLeftBoldRightBold:"\u252F",lineDownBoldLeftRight:"\u2530",lineDownBoldLeftBoldRight:"\u2531",lineDownBoldLeftRightBold:"\u2532",lineDownLeftRightBold:"\u252E",lineDownLeftBoldRight:"\u252D",lineDownDoubleLeftDoubleRightDouble:"\u2566",lineDownDoubleLeftRight:"\u2565",lineDownLeftDoubleRightDouble:"\u2564",lineUpLeftRight:"\u2534",lineUpBoldLeftBoldRightBold:"\u253B",lineUpLeftBoldRightBold:"\u2537",lineUpBoldLeftRight:"\u2538",lineUpBoldLeftBoldRight:"\u2539",lineUpBoldLeftRightBold:"\u253A",lineUpLeftRightBold:"\u2536",lineUpLeftBoldRight:"\u2535",lineUpDoubleLeftDoubleRightDouble:"\u2569",lineUpDoubleLeftRight:"\u2568",lineUpLeftDoubleRightDouble:"\u2567",lineUpDownLeftRight:"\u253C",lineUpBoldDownBoldLeftBoldRightBold:"\u254B",lineUpDownBoldLeftBoldRightBold:"\u2548",lineUpBoldDownLeftBoldRightBold:"\u2547",lineUpBoldDownBoldLeftRightBold:"\u254A",lineUpBoldDownBoldLeftBoldRight:"\u2549",lineUpBoldDownLeftRight:"\u2540",lineUpDownBoldLeftRight:"\u2541",lineUpDownLeftBoldRight:"\u253D",lineUpDownLeftRightBold:"\u253E",lineUpBoldDownBoldLeftRight:"\u2542",lineUpDownLeftBoldRightBold:"\u253F",lineUpBoldDownLeftBoldRight:"\u2543",lineUpBoldDownLeftRightBold:"\u2544",lineUpDownBoldLeftBoldRight:"\u2545",lineUpDownBoldLeftRightBold:"\u2546",lineUpDoubleDownDoubleLeftDoubleRightDouble:"\u256C",lineUpDoubleDownDoubleLeftRight:"\u256B",lineUpDownLeftDoubleRightDouble:"\u256A",lineCross:"\u2573",lineBackslash:"\u2572",lineSlash:"\u2571"},Lu={tick:"\u2714",info:"\u2139",warning:"\u26A0",cross:"\u2718",squareSmall:"\u25FB",squareSmallFilled:"\u25FC",circle:"\u25EF",circleFilled:"\u25C9",circleDotted:"\u25CC",circleDouble:"\u25CE",circleCircle:"\u24DE",circleCross:"\u24E7",circlePipe:"\u24BE",radioOn:"\u25C9",radioOff:"\u25EF",checkboxOn:"\u2612",checkboxOff:"\u2610",checkboxCircleOn:"\u24E7",checkboxCircleOff:"\u24BE",pointer:"\u276F",triangleUpOutline:"\u25B3",triangleLeft:"\u25C0",triangleRight:"\u25B6",lozenge:"\u25C6",lozengeOutline:"\u25C7",hamburger:"\u2630",smiley:"\u32E1",mustache:"\u0DF4",star:"\u2605",play:"\u25B6",nodejs:"\u2B22",oneSeventh:"\u2150",oneNinth:"\u2151",oneTenth:"\u2152"},Cm={tick:"\u221A",info:"i",warning:"\u203C",cross:"\xD7",squareSmall:"\u25A1",squareSmallFilled:"\u25A0",circle:"( )",circleFilled:"(*)",circleDotted:"( )",circleDouble:"( )",circleCircle:"(\u25CB)",circleCross:"(\xD7)",circlePipe:"(\u2502)",radioOn:"(*)",radioOff:"( )",checkboxOn:"[\xD7]",checkboxOff:"[ ]",checkboxCircleOn:"(\xD7)",checkboxCircleOff:"( )",pointer:">",triangleUpOutline:"\u2206",triangleLeft:"\u25C4",triangleRight:"\u25BA",lozenge:"\u2666",lozengeOutline:"\u25CA",hamburger:"\u2261",smiley:"\u263A",mustache:"\u250C\u2500\u2510",star:"\u2736",play:"\u25BA",nodejs:"\u2666",oneSeventh:"1/7",oneNinth:"1/9",oneTenth:"1/10"},ym={...ku,...Lu},bm={...ku,...Cm},wm=dt(),xm=wm?ym:bm,ar=xm,Qy=Object.entries(Lu);var Nu=g(require("node:tty"),1),Sm=Nu.default?.WriteStream?.prototype?.hasColors?.()??!1,C=(e,t)=>{if(!Sm)return o=>o;let r=`\x1B[${e}m`,n=`\x1B[${t}m`;return o=>{let i=o+"",s=i.indexOf(n);if(s===-1)return r+i+n;let u=r,a=0;for(;s!==-1;)u+=i.slice(a,s)+r,a=s+n.length,s=i.indexOf(n,a);return u+=i.slice(a)+n,u}},tb=C(0,0),$u=C(1,22),rb=C(2,22),nb=C(3,23),ob=C(4,24),ib=C(53,55),sb=C(7,27),ub=C(8,28),ab=C(9,29),cb=C(30,39),lb=C(31,39),Db=C(32,39),fb=C(33,39),pb=C(34,39),db=C(35,39),mb=C(36,39),hb=C(37,39),cr=C(90,39),Fb=C(40,49),gb=C(41,49),Eb=C(42,49),Cb=C(43,49),yb=C(44,49),bb=C(45,49),wb=C(46,49),xb=C(47,49),Sb=C(100,49),ju=C(91,39),Ab=C(92,39),Uu=C(93,39),Bb=C(94,39),Tb=C(95,39),_b=C(96,39),Ob=C(97,39),vb=C(101,49),Rb=C(102,49),Ib=C(103,49),Mb=C(104,49),Pb=C(105,49),kb=C(106,49),Lb=C(107,49);var Wu=({type:e,message:t,timestamp:r,piped:n,commandId:o,result:{failed:i=!1}={},options:{reject:s=!0}})=>{let u=Am(r),a=Bm[e]({failed:i,reject:s,piped:n}),c=Tm[e]({reject:s});return`${cr(`[${u}]`)} ${cr(`[${o}]`)} ${c(a)} ${c(t)}`},Am=e=>`${lr(e.getHours(),2)}:${lr(e.getMinutes(),2)}:${lr(e.getSeconds(),2)}.${lr(e.getMilliseconds(),3)}`,lr=(e,t)=>String(e).padStart(t,"0"),Gu=({failed:e,reject:t})=>e?t?ar.cross:ar.warning:ar.tick,Bm={command:({piped:e})=>e?"|":"$",output:()=>" ",ipc:()=>"*",error:Gu,duration:Gu},zu=e=>e,Tm={command:()=>$u,output:()=>zu,ipc:()=>zu,error:({reject:e})=>e?ju:Uu,duration:()=>cr};var Yu=(e,t,r)=>{let n=vu(t,r);return e.map(({verboseLine:o,verboseObject:i})=>_m(o,i,n)).filter(o=>o!==void 0).map(o=>Om(o)).join("")},_m=(e,t,r)=>{if(r===void 0)return e;let n=r(e,t);if(typeof n=="string")return n},Om=e=>e.endsWith(`
25
+ `)?e:`${e}
26
+ `;var J=({type:e,verboseMessage:t,fdNumber:r,verboseInfo:n,result:o})=>{let i=vm({type:e,result:o,verboseInfo:n}),s=Rm(t,i),u=Yu(s,n,r);u!==""&&console.warn(u.slice(0,-1))},vm=({type:e,result:t,verboseInfo:{escapedCommand:r,commandId:n,rawOptions:{piped:o=!1,...i}}})=>({type:e,escapedCommand:r,commandId:`${n}`,timestamp:new Date,piped:o,result:t,options:i}),Rm=(e,t)=>e.split(`
27
+ `).map(r=>Im({...t,message:r})),Im=e=>({verboseLine:Wu(e),verboseObject:e}),Dr=e=>{let t=typeof e=="string"?e:(0,qu.inspect)(e);return gt(t).replaceAll(" "," ".repeat(Mm))},Mm=2;var Vu=(e,t)=>{Le(t)&&J({type:"command",verboseMessage:e,verboseInfo:t})};var Hu=(e,t,r)=>{Lm(e);let n=Pm(e);return{verbose:e,escapedCommand:t,commandId:n,rawOptions:r}},Pm=e=>Le({verbose:e})?km++:void 0,km=0n,Lm=e=>{for(let t of e){if(t===!1)throw new TypeError(`The "verbose: false" option was renamed to "verbose: 'none'".`);if(t===!0)throw new TypeError(`The "verbose: true" option was renamed to "verbose: 'short'".`);if(!ur.includes(t)&&!sr(t)){let r=ur.map(n=>`'${n}'`).join(", ");throw new TypeError(`The "verbose" option must not be ${t}. Allowed values are: ${r} or a function.`)}}};var mo=require("node:process"),fr=()=>mo.hrtime.bigint(),ho=e=>Number(mo.hrtime.bigint()-e)/1e6;var pr=(e,t,r)=>{let n=fr(),{command:o,escapedCommand:i}=Mu(e,t),s=lo(r,"verbose"),u=Hu(s,i,{...r});return Vu(i,u),{command:o,escapedCommand:i,startTime:n,verboseInfo:u}};var al=g(require("node:path"),1),jo=g(require("node:process"),1),cl=g(ka(),1);var Et=g(require("node:process"),1),fe=g(require("node:path"),1);function mr(e={}){let{env:t=process.env,platform:r=process.platform}=e;return r!=="win32"?"PATH":Object.keys(t).reverse().find(n=>n.toUpperCase()==="PATH")||"Path"}var La=require("node:util"),Bo=require("node:child_process"),Ao=g(require("node:path"),1),Na=require("node:url"),y3=(0,La.promisify)(Bo.execFile);function hr(e){return e instanceof URL?(0,Na.fileURLToPath)(e):e}function $a(e){return{*[Symbol.iterator](){let t=Ao.default.resolve(hr(e)),r;for(;r!==t;)yield t,r=t,t=Ao.default.resolve(t,"..")}}}var b3=10*1024*1024;var lh=({cwd:e=Et.default.cwd(),path:t=Et.default.env[mr()],preferLocal:r=!0,execPath:n=Et.default.execPath,addExecPath:o=!0}={})=>{let i=fe.default.resolve(hr(e)),s=[],u=t.split(fe.default.delimiter);return r&&Dh(s,u,i),o&&fh(s,u,n,i),t===""||t===fe.default.delimiter?`${s.join(fe.default.delimiter)}${t}`:[...s,t].join(fe.default.delimiter)},Dh=(e,t,r)=>{for(let n of $a(r)){let o=fe.default.join(n,"node_modules/.bin");t.includes(o)||e.push(o)}},fh=(e,t,r,n)=>{let o=fe.default.resolve(n,hr(r),"..");t.includes(o)||e.push(o)},ja=({env:e=Et.default.env,...t}={})=>{e={...e};let r=mr({env:e});return t.path=e[r],e[r]=lh(t),e};var rc=require("node:timers/promises");var Ua=(e,t,r)=>{let n=r?yt:Ct,o=e instanceof V?{}:{cause:e};return new n(t,o)},V=class extends Error{},Ga=(e,t)=>{Object.defineProperty(e.prototype,"name",{value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,Wa,{value:!0,writable:!1,enumerable:!1,configurable:!1})},za=e=>Fr(e)&&Wa in e,Wa=Symbol("isExecaError"),Fr=e=>Object.prototype.toString.call(e)==="[object Error]",Ct=class extends Error{};Ga(Ct,Ct.name);var yt=class extends Error{};Ga(yt,yt.name);var Ue=require("node:os");var Ja=require("node:os");var Ya=()=>{let e=Va-qa+1;return Array.from({length:e},ph)},ph=(e,t)=>({name:`SIGRT${t+1}`,number:qa+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),qa=34,Va=64;var Ka=require("node:os");var Ha=[{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 To=()=>{let e=Ya();return[...Ha,...e].map(dh)},dh=({name:e,number:t,description:r,action:n,forced:o=!1,standard:i})=>{let{signals:{[e]:s}}=Ka.constants,u=s!==void 0;return{name:e,number:u?s:t,description:r,supported:u,action:n,forced:o,standard:i}};var mh=()=>{let e=To();return Object.fromEntries(e.map(hh))},hh=({name:e,number:t,description:r,supported:n,action:o,forced:i,standard:s})=>[e,{name:e,number:t,description:r,supported:n,action:o,forced:i,standard:s}],Xa=mh(),Fh=()=>{let e=To(),t=65,r=Array.from({length:t},(n,o)=>gh(o,e));return Object.assign({},...r)},gh=(e,t)=>{let r=Eh(e,t);if(r===void 0)return{};let{name:n,description:o,supported:i,action:s,forced:u,standard:a}=r;return{[e]:{name:n,number:e,description:o,supported:i,action:s,forced:u,standard:a}}},Eh=(e,t)=>{let r=t.find(({name:n})=>Ja.constants.signals[n]===e);return r!==void 0?r:t.find(n=>n.number===e)},P3=Fh();var Qa=e=>{let t="option `killSignal`";if(e===0)throw new TypeError(`Invalid ${t}: 0 cannot be used.`);return tc(e,t)},ec=e=>e===0?e:tc(e,"`subprocess.kill()`'s argument"),tc=(e,t)=>{if(Number.isInteger(e))return Ch(e,t);if(typeof e=="string")return bh(e,t);throw new TypeError(`Invalid ${t} ${String(e)}: it must be a string or an integer.
28
+ ${_o()}`)},Ch=(e,t)=>{if(Za.has(e))return Za.get(e);throw new TypeError(`Invalid ${t} ${e}: this signal integer does not exist.
29
+ ${_o()}`)},yh=()=>new Map(Object.entries(Ue.constants.signals).reverse().map(([e,t])=>[t,e])),Za=yh(),bh=(e,t)=>{if(e in Ue.constants.signals)return e;throw e.toUpperCase()in Ue.constants.signals?new TypeError(`Invalid ${t} '${e}': please rename it to '${e.toUpperCase()}'.`):new TypeError(`Invalid ${t} '${e}': this signal name does not exist.
30
+ ${_o()}`)},_o=()=>`Available signal names: ${wh()}.
31
+ Available signal numbers: ${xh()}.`,wh=()=>Object.keys(Ue.constants.signals).sort().map(e=>`'${e}'`).join(", "),xh=()=>[...new Set(Object.values(Ue.constants.signals).sort((e,t)=>e-t))].join(", "),gr=e=>Xa[e].description;var nc=e=>{if(e===!1)return e;if(e===!0)return Sh;if(!Number.isFinite(e)||e<0)throw new TypeError(`Expected the \`forceKillAfterDelay\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e},Sh=1e3*5,oc=({kill:e,options:{forceKillAfterDelay:t,killSignal:r},onInternalError:n,context:o,controller:i},s,u)=>{let{signal:a,error:c}=Ah(s,u,r);Bh(c,n);let l=e(a);return Th({kill:e,signal:a,forceKillAfterDelay:t,killSignal:r,killResult:l,context:o,controller:i}),l},Ah=(e,t,r)=>{let[n=r,o]=Fr(e)?[void 0,e]:[e,t];if(typeof n!="string"&&!Number.isInteger(n))throw new TypeError(`The first argument must be an error instance or a signal name string/integer: ${String(n)}`);if(o!==void 0&&!Fr(o))throw new TypeError(`The second argument is optional. If specified, it must be an error instance: ${o}`);return{signal:ec(n),error:o}},Bh=(e,t)=>{e!==void 0&&t.reject(e)},Th=async({kill:e,signal:t,forceKillAfterDelay:r,killSignal:n,killResult:o,context:i,controller:s})=>{t===n&&o&&Oo({kill:e,forceKillAfterDelay:r,context:i,controllerSignal:s.signal})},Oo=async({kill:e,forceKillAfterDelay:t,context:r,controllerSignal:n})=>{if(t!==!1)try{await(0,rc.setTimeout)(t,void 0,{signal:n}),e("SIGKILL")&&(r.isForcefullyTerminated??=!0)}catch{}};var ic=require("node:events"),Er=async(e,t)=>{e.aborted||await(0,ic.once)(e,"abort",{signal:t})};var sc=({cancelSignal:e})=>{if(e!==void 0&&Object.prototype.toString.call(e)!=="[object AbortSignal]")throw new Error(`The \`cancelSignal\` option must be an AbortSignal: ${String(e)}`)},uc=({subprocess:e,cancelSignal:t,gracefulCancel:r,context:n,controller:o})=>t===void 0||r?[]:[_h(e,t,n,o)],_h=async(e,t,r,{signal:n})=>{throw await Er(t,n),r.terminationReason??="cancel",e.kill(),t.reason};var jc=require("node:timers/promises");var Nc=require("node:util");var Ge=({methodName:e,isSubprocess:t,ipc:r,isConnected:n})=>{Oh(e,t,r),vo(e,t,n)},Oh=(e,t,r)=>{if(!r)throw new Error(`${H(e,t)} can only be used if the \`ipc\` option is \`true\`.`)},vo=(e,t,r)=>{if(!r)throw new Error(`${H(e,t)} cannot be used: the ${pe(t)} has already exited or disconnected.`)},ac=e=>{throw new Error(`${H("getOneMessage",e)} could not complete: the ${pe(e)} exited or disconnected.`)},cc=e=>{throw new Error(`${H("sendMessage",e)} failed: the ${pe(e)} is sending a message too, instead of listening to incoming messages.
32
+ This can be fixed by both sending a message and listening to incoming messages at the same time:
33
+
34
+ const [receivedMessage] = await Promise.all([
35
+ ${H("getOneMessage",e)},
36
+ ${H("sendMessage",e,"message, {strict: true}")},
37
+ ]);`)},Cr=(e,t)=>new Error(`${H("sendMessage",t)} failed when sending an acknowledgment response to the ${pe(t)}.`,{cause:e}),lc=e=>{throw new Error(`${H("sendMessage",e)} failed: the ${pe(e)} is not listening to incoming messages.`)},Dc=e=>{throw new Error(`${H("sendMessage",e)} failed: the ${pe(e)} exited without listening to incoming messages.`)},fc=()=>new Error(`\`cancelSignal\` aborted: the ${pe(!0)} disconnected.`),pc=()=>{throw new Error("`getCancelSignal()` cannot be used without setting the `cancelSignal` subprocess option.")},dc=({error:e,methodName:t,isSubprocess:r})=>{if(e.code==="EPIPE")throw new Error(`${H(t,r)} cannot be used: the ${pe(r)} is disconnecting.`,{cause:e})},mc=({error:e,methodName:t,isSubprocess:r,message:n})=>{if(vh(e))throw new Error(`${H(t,r)}'s argument type is invalid: the message cannot be serialized: ${String(n)}.`,{cause:e})},vh=({code:e,message:t})=>Rh.has(e)||Ih.some(r=>t.includes(r)),Rh=new Set(["ERR_MISSING_ARGS","ERR_INVALID_ARG_TYPE"]),Ih=["could not be cloned","circular structure","call stack size exceeded"],H=(e,t,r="")=>e==="cancelSignal"?"`cancelSignal`'s `controller.abort()`":`${Mh(t)}${e}(${r})`,Mh=e=>e?"":"subprocess.",pe=e=>e?"parent process":"subprocess",ze=e=>{e.connected&&e.disconnect()};var X=()=>{let e={},t=new Promise((r,n)=>{Object.assign(e,{resolve:r,reject:n})});return Object.assign(t,e)};var br=(e,t="stdin")=>{let{options:n,fileDescriptors:o}=Z.get(e),i=hc(o,t,!0),s=e.stdio[i];if(s===null)throw new TypeError(Fc(i,t,n,!0));return s},We=(e,t="stdout")=>{let{options:n,fileDescriptors:o}=Z.get(e),i=hc(o,t,!1),s=i==="all"?e.all:e.stdio[i];if(s==null)throw new TypeError(Fc(i,t,n,!1));return s},Z=new WeakMap,hc=(e,t,r)=>{let n=Ph(t,r);return kh(n,t,r,e),n},Ph=(e,t)=>{let r=Do(e);if(r!==void 0)return r;let{validOptions:n,defaultValue:o}=t?{validOptions:'"stdin"',defaultValue:"stdin"}:{validOptions:'"stdout", "stderr", "all"',defaultValue:"stdout"};throw new TypeError(`"${bt(t)}" must not be "${e}".
38
+ It must be ${n} or "fd3", "fd4" (and so on).
39
+ It is optional and defaults to "${o}".`)},kh=(e,t,r,n)=>{let o=n[gc(e)];if(o===void 0)throw new TypeError(`"${bt(r)}" must not be ${t}. That file descriptor does not exist.
40
+ Please set the "stdio" option to ensure that file descriptor exists.`);if(o.direction==="input"&&!r)throw new TypeError(`"${bt(r)}" must not be ${t}. It must be a readable stream, not writable.`);if(o.direction!=="input"&&r)throw new TypeError(`"${bt(r)}" must not be ${t}. It must be a writable stream, not readable.`)},Fc=(e,t,r,n)=>{if(e==="all"&&!r.all)return`The "all" option must be true to use "from: 'all'".`;let{optionName:o,optionValue:i}=Lh(e,r);return`The "${o}: ${yr(i)}" option is incompatible with using "${bt(n)}: ${yr(t)}".
41
+ Please set this option with "pipe" instead.`},Lh=(e,{stdin:t,stdout:r,stderr:n,stdio:o})=>{let i=gc(e);return i===0&&t!==void 0?{optionName:"stdin",optionValue:t}:i===1&&r!==void 0?{optionName:"stdout",optionValue:r}:i===2&&n!==void 0?{optionName:"stderr",optionValue:n}:{optionName:`stdio[${i}]`,optionValue:o[i]}},gc=e=>e==="all"?1:e,bt=e=>e?"to":"from",yr=e=>typeof e=="string"?`'${e}'`:typeof e=="number"?`${e}`:"Stream";var vc=require("node:events");var Ec=require("node:events"),we=(e,t,r)=>{let n=e.getMaxListeners();n===0||n===Number.POSITIVE_INFINITY||(e.setMaxListeners(n+t),(0,Ec.addAbortListener)(r,()=>{e.setMaxListeners(e.getMaxListeners()-t)}))};var Oc=require("node:events");var bc=require("node:events"),wc=require("node:timers/promises");var wr=(e,t)=>{t&&Ro(e)},Ro=e=>{e.refCounted()},xr=(e,t)=>{t&&Io(e)},Io=e=>{e.unrefCounted()},Cc=(e,t)=>{t&&(Io(e),Io(e))},yc=(e,t)=>{t&&(Ro(e),Ro(e))};var xc=async({anyProcess:e,channel:t,isSubprocess:r,ipcEmitter:n},o)=>{if(Bc(o)||_c(o))return;Sr.has(e)||Sr.set(e,[]);let i=Sr.get(e);if(i.push(o),!(i.length>1))for(;i.length>0;){await Tc(e,n,o),await wc.scheduler.yield();let s=await Ac({wrappedMessage:i[0],anyProcess:e,channel:t,isSubprocess:r,ipcEmitter:n});i.shift(),n.emit("message",s),n.emit("message:done")}},Sc=async({anyProcess:e,channel:t,isSubprocess:r,ipcEmitter:n,boundOnMessage:o})=>{Mo();let i=Sr.get(e);for(;i?.length>0;)await(0,bc.once)(n,"message:done");e.removeListener("message",o),yc(t,r),n.connected=!1,n.emit("disconnect")},Sr=new WeakMap;var de=(e,t,r)=>{if(Ar.has(e))return Ar.get(e);let n=new Oc.EventEmitter;return n.connected=!0,Ar.set(e,n),Nh({ipcEmitter:n,anyProcess:e,channel:t,isSubprocess:r}),n},Ar=new WeakMap,Nh=({ipcEmitter:e,anyProcess:t,channel:r,isSubprocess:n})=>{let o=xc.bind(void 0,{anyProcess:t,channel:r,isSubprocess:n,ipcEmitter:e});t.on("message",o),t.once("disconnect",Sc.bind(void 0,{anyProcess:t,channel:r,isSubprocess:n,ipcEmitter:e,boundOnMessage:o})),Cc(r,n)},Br=e=>{let t=Ar.get(e);return t===void 0?e.channel!==null:t.connected};var Rc=({anyProcess:e,channel:t,isSubprocess:r,message:n,strict:o})=>{if(!o)return n;let i=de(e,t,r),s=Or(e,i);return{id:$h++,type:_r,message:n,hasListeners:s}},$h=0n,Ic=(e,t)=>{if(!(t?.type!==_r||t.hasListeners))for(let{id:r}of e)r!==void 0&&Tr[r].resolve({isDeadlock:!0,hasListeners:!1})},Ac=async({wrappedMessage:e,anyProcess:t,channel:r,isSubprocess:n,ipcEmitter:o})=>{if(e?.type!==_r||!t.connected)return e;let{id:i,message:s}=e,u={id:i,type:Pc,message:Or(t,o)};try{await vr({anyProcess:t,channel:r,isSubprocess:n,ipc:!0},u)}catch(a){o.emit("strict:error",a)}return s},Bc=e=>{if(e?.type!==Pc)return!1;let{id:t,message:r}=e;return Tr[t]?.resolve({isDeadlock:!1,hasListeners:r}),!0},Mc=async(e,t,r)=>{if(e?.type!==_r)return;let n=X();Tr[e.id]=n;let o=new AbortController;try{let{isDeadlock:i,hasListeners:s}=await Promise.race([n,jh(t,r,o)]);i&&cc(r),s||lc(r)}finally{o.abort(),delete Tr[e.id]}},Tr={},jh=async(e,t,{signal:r})=>{we(e,1,r),await(0,vc.once)(e,"disconnect",{signal:r}),Dc(t)},_r="execa:ipc:request",Pc="execa:ipc:response";var kc=(e,t,r)=>{wt.has(e)||wt.set(e,new Set);let n=wt.get(e),o=X(),i=r?t.id:void 0,s={onMessageSent:o,id:i};return n.add(s),{outgoingMessages:n,outgoingMessage:s}},Lc=({outgoingMessages:e,outgoingMessage:t})=>{e.delete(t),t.onMessageSent.resolve()},Tc=async(e,t,r)=>{for(;!Or(e,t)&&wt.get(e)?.size>0;){let n=[...wt.get(e)];Ic(n,r),await Promise.all(n.map(({onMessageSent:o})=>o))}},wt=new WeakMap,Or=(e,t)=>t.listenerCount("message")>Uh(e),Uh=e=>Z.has(e)&&!se(Z.get(e).options.buffer,"ipc")?1:0;var vr=({anyProcess:e,channel:t,isSubprocess:r,ipc:n},o,{strict:i=!1}={})=>{let s="sendMessage";return Ge({methodName:s,isSubprocess:r,ipc:n,isConnected:e.connected}),Gh({anyProcess:e,channel:t,methodName:s,isSubprocess:r,message:o,strict:i})},Gh=async({anyProcess:e,channel:t,methodName:r,isSubprocess:n,message:o,strict:i})=>{let s=Rc({anyProcess:e,channel:t,isSubprocess:n,message:o,strict:i}),u=kc(e,s,i);try{await ko({anyProcess:e,methodName:r,isSubprocess:n,wrappedMessage:s,message:o})}catch(a){throw ze(e),a}finally{Lc(u)}},ko=async({anyProcess:e,methodName:t,isSubprocess:r,wrappedMessage:n,message:o})=>{let i=zh(e);try{await Promise.all([Mc(n,e,r),i(n)])}catch(s){throw dc({error:s,methodName:t,isSubprocess:r}),mc({error:s,methodName:t,isSubprocess:r,message:o}),s}},zh=e=>{if(Po.has(e))return Po.get(e);let t=(0,Nc.promisify)(e.send.bind(e));return Po.set(e,t),t},Po=new WeakMap;var Uc=(e,t)=>{let r="cancelSignal";return vo(r,!1,e.connected),ko({anyProcess:e,methodName:r,isSubprocess:!1,wrappedMessage:{type:zc,message:t},message:t})},Gc=async({anyProcess:e,channel:t,isSubprocess:r,ipc:n})=>(await Wh({anyProcess:e,channel:t,isSubprocess:r,ipc:n}),Lo.signal),Wh=async({anyProcess:e,channel:t,isSubprocess:r,ipc:n})=>{if(!$c){if($c=!0,!n){pc();return}if(t===null){Mo();return}de(e,t,r),await jc.scheduler.yield()}},$c=!1,_c=e=>e?.type!==zc?!1:(Lo.abort(e.message),!0),zc="execa:ipc:cancel",Mo=()=>{Lo.abort(fc())},Lo=new AbortController;var Wc=({gracefulCancel:e,cancelSignal:t,ipc:r,serialization:n})=>{if(e){if(t===void 0)throw new Error("The `cancelSignal` option must be defined when setting the `gracefulCancel` option.");if(!r)throw new Error("The `ipc` option cannot be false when setting the `gracefulCancel` option.");if(n==="json")throw new Error("The `serialization` option cannot be 'json' when setting the `gracefulCancel` option.")}},Yc=({subprocess:e,cancelSignal:t,gracefulCancel:r,forceKillAfterDelay:n,context:o,controller:i})=>r?[Yh({subprocess:e,cancelSignal:t,forceKillAfterDelay:n,context:o,controller:i})]:[],Yh=async({subprocess:e,cancelSignal:t,forceKillAfterDelay:r,context:n,controller:{signal:o}})=>{await Er(t,o);let i=qh(t);throw await Uc(e,i),Oo({kill:e.kill,forceKillAfterDelay:r,context:n,controllerSignal:o}),n.terminationReason??="gracefulCancel",t.reason},qh=({reason:e})=>{if(!(e instanceof DOMException))return e;let t=new Error(e.message);return Object.defineProperty(t,"stack",{value:e.stack,enumerable:!1,configurable:!0,writable:!0}),t};var qc=require("node:timers/promises");var Vc=({timeout:e})=>{if(e!==void 0&&(!Number.isFinite(e)||e<0))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`)},Hc=(e,t,r,n)=>t===0||t===void 0?[]:[Vh(e,t,r,n)],Vh=async(e,t,r,{signal:n})=>{throw await(0,qc.setTimeout)(t,void 0,{signal:n}),r.terminationReason??="timeout",e.kill(),new V};var Rr=require("node:process"),No=g(require("node:path"),1);var Kc=({options:e})=>{if(e.node===!1)throw new TypeError('The "node" option cannot be false with `execaNode()`.');return{options:{...e,node:!0}}},Jc=(e,t,{node:r=!1,nodePath:n=Rr.execPath,nodeOptions:o=Rr.execArgv.filter(a=>!a.startsWith("--inspect")),cwd:i,execPath:s,...u})=>{if(s!==void 0)throw new TypeError('The "execPath" option has been removed. Please use the "nodePath" option instead.');let a=ke(n,'The "nodePath" option'),c=No.default.resolve(i,a),l={...u,nodePath:c,node:r,cwd:i};if(!r)return[e,t,l];if(No.default.basename(e,".exe")==="node")throw new TypeError('When the "node" option is true, the first argument does not need to be "node".');return[c,[...o,e,...t],{ipc:!0,...l,shell:!1}]};var Xc=require("node:v8"),Zc=({ipcInput:e,ipc:t,serialization:r})=>{if(e!==void 0){if(!t)throw new Error("The `ipcInput` option cannot be set unless the `ipc` option is `true`.");Jh[r](e)}},Hh=e=>{try{(0,Xc.serialize)(e)}catch(t){throw new Error("The `ipcInput` option is not serializable with a structured clone.",{cause:t})}},Kh=e=>{try{JSON.stringify(e)}catch(t){throw new Error("The `ipcInput` option is not serializable with JSON.",{cause:t})}},Jh={advanced:Hh,json:Kh},Qc=async(e,t)=>{t!==void 0&&await e.sendMessage(t)};var tl=({encoding:e})=>{if($o.has(e))return;let t=Zh(e);if(t!==void 0)throw new TypeError(`Invalid option \`encoding: ${Ir(e)}\`.
42
+ Please rename it to ${Ir(t)}.`);let r=[...$o].map(n=>Ir(n)).join(", ");throw new TypeError(`Invalid option \`encoding: ${Ir(e)}\`.
43
+ Please rename it to one of: ${r}.`)},Xh=new Set(["utf8","utf16le"]),P=new Set(["buffer","hex","base64","base64url","latin1","ascii"]),$o=new Set([...Xh,...P]),Zh=e=>{if(e===null)return"buffer";if(typeof e!="string")return;let t=e.toLowerCase();if(t in el)return el[t];if($o.has(t))return t},el={"utf-8":"utf8","utf-16le":"utf16le","ucs-2":"utf16le",ucs2:"utf16le",binary:"latin1"},Ir=e=>typeof e=="string"?`"${e}"`:String(e);var rl=require("node:fs"),nl=g(require("node:path"),1),ol=g(require("node:process"),1);var il=(e=sl())=>{let t=ke(e,'The "cwd" option');return nl.default.resolve(t)},sl=()=>{try{return ol.default.cwd()}catch(e){throw e.message=`The current directory does not exist.
44
+ ${e.message}`,e}},ul=(e,t)=>{if(t===sl())return e;let r;try{r=(0,rl.statSync)(t)}catch(n){return`The "cwd" option is invalid: ${t}.
45
+ ${n.message}
46
+ ${e}`}return r.isDirectory()?e:`The "cwd" option is not a directory: ${t}.
47
+ ${e}`};var Mr=(e,t,r)=>{r.cwd=il(r.cwd);let[n,o,i]=Jc(e,t,r),{command:s,args:u,options:a}=cl.default._parse(n,o,i),c=Ou(a),l=Qh(c);return Vc(l),tl(l),Zc(l),sc(l),Wc(l),l.shell=ao(l.shell),l.env=eF(l),l.killSignal=Qa(l.killSignal),l.forceKillAfterDelay=nc(l.forceKillAfterDelay),l.lines=l.lines.map((D,f)=>D&&!P.has(l.encoding)&&l.buffer[f]),jo.default.platform==="win32"&&al.default.basename(s,".exe")==="cmd"&&u.unshift("/q"),{file:s,commandArguments:u,options:l}},Qh=({extendEnv:e=!0,preferLocal:t=!1,cwd:r,localDir:n=r,encoding:o="utf8",reject:i=!0,cleanup:s=!0,all:u=!1,windowsHide:a=!0,killSignal:c="SIGTERM",forceKillAfterDelay:l=!0,gracefulCancel:D=!1,ipcInput:f,ipc:p=f!==void 0||D,serialization:m="advanced",...y})=>({...y,extendEnv:e,preferLocal:t,cwd:r,localDirectory:n,encoding:o,reject:i,cleanup:s,all:u,windowsHide:a,killSignal:c,forceKillAfterDelay:l,gracefulCancel:D,ipcInput:f,ipc:p,serialization:m}),eF=({env:e,extendEnv:t,preferLocal:r,node:n,localDirectory:o,nodePath:i})=>{let s=t?{...jo.default.env,...e}:e;return r||n?ja({env:s,cwd:o,execPath:i,preferLocal:r,addExecPath:n}):s};var vl=require("node:util");function Ye(e){if(typeof e=="string")return tF(e);if(!(ArrayBuffer.isView(e)&&e.BYTES_PER_ELEMENT===1))throw new Error("Input must be a string or a Uint8Array");return rF(e)}var tF=e=>e.at(-1)===ll?e.slice(0,e.at(-2)===Dl?-2:-1):e,rF=e=>e.at(-1)===nF?e.subarray(0,e.at(-2)===oF?-2:-1):e,ll=`
48
+ `,nF=ll.codePointAt(0),Dl="\r",oF=Dl.codePointAt(0);var wl=require("node:events"),xl=require("node:stream/promises");function K(e,{checkOpen:t=!0}={}){return e!==null&&typeof e=="object"&&(e.writable||e.readable||!t||e.writable===void 0&&e.readable===void 0)&&typeof e.pipe=="function"}function Uo(e,{checkOpen:t=!0}={}){return K(e,{checkOpen:t})&&(e.writable||!t)&&typeof e.write=="function"&&typeof e.end=="function"&&typeof e.writable=="boolean"&&typeof e.writableObjectMode=="boolean"&&typeof e.destroy=="function"&&typeof e.destroyed=="boolean"}function xe(e,{checkOpen:t=!0}={}){return K(e,{checkOpen:t})&&(e.readable||!t)&&typeof e.read=="function"&&typeof e.readable=="boolean"&&typeof e.readableObjectMode=="boolean"&&typeof e.destroy=="function"&&typeof e.destroyed=="boolean"}function Go(e,t){return Uo(e,t)&&xe(e,t)}var iF=Object.getPrototypeOf(Object.getPrototypeOf(async function*(){}).prototype),zo=class{#r;#o;#e=!1;#n=void 0;constructor(t,r){this.#r=t,this.#o=r}next(){let t=()=>this.#u();return this.#n=this.#n?this.#n.then(t,t):t(),this.#n}return(t){let r=()=>this.#t(t);return this.#n?this.#n.then(r,r):r()}async#u(){if(this.#e)return{done:!0,value:void 0};let t;try{t=await this.#r.read()}catch(r){throw this.#n=void 0,this.#e=!0,this.#r.releaseLock(),r}return t.done&&(this.#n=void 0,this.#e=!0,this.#r.releaseLock()),t}async#t(t){if(this.#e)return{done:!0,value:t};if(this.#e=!0,!this.#o){let r=this.#r.cancel(t);return this.#r.releaseLock(),await r,{done:!0,value:t}}return this.#r.releaseLock(),{done:!0,value:t}}},Wo=Symbol();function fl(){return this[Wo].next()}Object.defineProperty(fl,"name",{value:"next"});function pl(e){return this[Wo].return(e)}Object.defineProperty(pl,"name",{value:"return"});var sF=Object.create(iF,{next:{enumerable:!0,configurable:!0,writable:!0,value:fl},return:{enumerable:!0,configurable:!0,writable:!0,value:pl}});function Yo({preventCancel:e=!1}={}){let t=this.getReader(),r=new zo(t,e),n=Object.create(sF);return n[Wo]=r,n}var dl=e=>{if(xe(e,{checkOpen:!1})&&xt.on!==void 0)return aF(e);if(typeof e?.[Symbol.asyncIterator]=="function")return e;if(uF.call(e)==="[object ReadableStream]")return Yo.call(e);throw new TypeError("The first argument must be a Readable, a ReadableStream, or an async iterable.")},{toString:uF}=Object.prototype,aF=async function*(e){let t=new AbortController,r={};cF(e,t,r);try{for await(let[n]of xt.on(e,"data",{signal:t.signal}))yield n}catch(n){if(r.error!==void 0)throw r.error;if(!t.signal.aborted)throw n}finally{e.destroy()}},cF=async(e,t,r)=>{try{await xt.finished(e,{cleanup:!0,readable:!0,writable:!1,error:!1})}catch(n){r.error=n}finally{t.abort()}},xt={};var qe=async(e,{init:t,convertChunk:r,getSize:n,truncateChunk:o,addChunk:i,getFinalChunk:s,finalize:u},{maxBuffer:a=Number.POSITIVE_INFINITY}={})=>{let c=dl(e),l=t();l.length=0;try{for await(let D of c){let f=DF(D),p=r[f](D,l);Fl({convertedChunk:p,state:l,getSize:n,truncateChunk:o,addChunk:i,maxBuffer:a})}return lF({state:l,convertChunk:r,getSize:n,truncateChunk:o,addChunk:i,getFinalChunk:s,maxBuffer:a}),u(l)}catch(D){let f=typeof D=="object"&&D!==null?D:new Error(D);throw f.bufferedData=u(l),f}},lF=({state:e,getSize:t,truncateChunk:r,addChunk:n,getFinalChunk:o,maxBuffer:i})=>{let s=o(e);s!==void 0&&Fl({convertedChunk:s,state:e,getSize:t,truncateChunk:r,addChunk:n,maxBuffer:i})},Fl=({convertedChunk:e,state:t,getSize:r,truncateChunk:n,addChunk:o,maxBuffer:i})=>{let s=r(e),u=t.length+s;if(u<=i){ml(e,t,o,u);return}let a=n(e,i-t.length);throw a!==void 0&&ml(a,t,o,i),new Q},ml=(e,t,r,n)=>{t.contents=r(e,t,n),t.length=n},DF=e=>{let t=typeof e;if(t==="string")return"string";if(t!=="object"||e===null)return"others";if(globalThis.Buffer?.isBuffer(e))return"buffer";let r=hl.call(e);return r==="[object ArrayBuffer]"?"arrayBuffer":r==="[object DataView]"?"dataView":Number.isInteger(e.byteLength)&&Number.isInteger(e.byteOffset)&&hl.call(e.buffer)==="[object ArrayBuffer]"?"typedArray":"others"},{toString:hl}=Object.prototype,Q=class extends Error{name="MaxBufferError";constructor(){super("maxBuffer exceeded")}};var ue=e=>e,St=()=>{},Pr=({contents:e})=>e,kr=e=>{throw new Error(`Streams in object mode are not supported: ${String(e)}`)},Lr=e=>e.length;async function Nr(e,t){return qe(e,mF,t)}var fF=()=>({contents:[]}),pF=()=>1,dF=(e,{contents:t})=>(t.push(e),t),mF={init:fF,convertChunk:{string:ue,buffer:ue,arrayBuffer:ue,dataView:ue,typedArray:ue,others:ue},getSize:pF,truncateChunk:St,addChunk:dF,getFinalChunk:St,finalize:Pr};async function $r(e,t){return qe(e,xF,t)}var hF=()=>({contents:new ArrayBuffer(0)}),FF=e=>gF.encode(e),gF=new TextEncoder,gl=e=>new Uint8Array(e),El=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength),EF=(e,t)=>e.slice(0,t),CF=(e,{contents:t,length:r},n)=>{let o=bl()?bF(t,n):yF(t,n);return new Uint8Array(o).set(e,r),o},yF=(e,t)=>{if(t<=e.byteLength)return e;let r=new ArrayBuffer(yl(t));return new Uint8Array(r).set(new Uint8Array(e),0),r},bF=(e,t)=>{if(t<=e.maxByteLength)return e.resize(t),e;let r=new ArrayBuffer(t,{maxByteLength:yl(t)});return new Uint8Array(r).set(new Uint8Array(e),0),r},yl=e=>Cl**Math.ceil(Math.log(e)/Math.log(Cl)),Cl=2,wF=({contents:e,length:t})=>bl()?e:e.slice(0,t),bl=()=>"resize"in ArrayBuffer.prototype,xF={init:hF,convertChunk:{string:FF,buffer:gl,arrayBuffer:gl,dataView:El,typedArray:El,others:kr},getSize:Lr,truncateChunk:EF,addChunk:CF,getFinalChunk:St,finalize:wF};async function Ur(e,t){return qe(e,_F,t)}var SF=()=>({contents:"",textDecoder:new TextDecoder}),jr=(e,{textDecoder:t})=>t.decode(e,{stream:!0}),AF=(e,{contents:t})=>t+e,BF=(e,t)=>e.slice(0,t),TF=({textDecoder:e})=>{let t=e.decode();return t===""?void 0:t},_F={init:SF,convertChunk:{string:ue,buffer:jr,arrayBuffer:jr,dataView:jr,typedArray:jr,others:kr},getSize:Lr,truncateChunk:BF,addChunk:AF,getFinalChunk:TF,finalize:Pr};Object.assign(xt,{on:wl.on,finished:xl.finished});var Sl=({error:e,stream:t,readableObjectMode:r,lines:n,encoding:o,fdNumber:i})=>{if(!(e instanceof Q))throw e;if(i==="all")return e;let s=OF(r,n,o);throw e.maxBufferInfo={fdNumber:i,unit:s},t.destroy(),e},OF=(e,t,r)=>e?"objects":t?"lines":r==="buffer"?"bytes":"characters",Al=(e,t,r)=>{if(t.length!==r)return;let n=new Q;throw n.maxBufferInfo={fdNumber:"ipc"},n},Bl=(e,t)=>{let{streamName:r,threshold:n,unit:o}=vF(e,t);return`Command's ${r} was larger than ${n} ${o}`},vF=(e,t)=>{if(e?.maxBufferInfo===void 0)return{streamName:"output",threshold:t[1],unit:"bytes"};let{maxBufferInfo:{fdNumber:r,unit:n}}=e;delete e.maxBufferInfo;let o=se(t,r);return r==="ipc"?{streamName:"IPC output",threshold:o,unit:"messages"}:{streamName:ir(r),threshold:o,unit:n}},Tl=(e,t,r)=>e?.code==="ENOBUFS"&&t!==null&&t.some(n=>n!==null&&n.length>Gr(r)),_l=(e,t,r)=>{if(!t)return e;let n=Gr(r);return e.length>n?e.slice(0,n):e},Gr=([,e])=>e;var Rl=({stdio:e,all:t,ipcOutput:r,originalError:n,signal:o,signalDescription:i,exitCode:s,escapedCommand:u,timedOut:a,isCanceled:c,isGracefullyCanceled:l,isMaxBuffer:D,isForcefullyTerminated:f,forceKillAfterDelay:p,killSignal:m,maxBuffer:y,timeout:O,cwd:w})=>{let R=n?.code,M=RF({originalError:n,timedOut:a,timeout:O,isMaxBuffer:D,maxBuffer:y,errorCode:R,signal:o,signalDescription:i,exitCode:s,isCanceled:c,isGracefullyCanceled:l,isForcefullyTerminated:f,forceKillAfterDelay:p,killSignal:m}),k=MF(n,w),re=k===void 0?"":`
49
+ ${k}`,ce=`${M}: ${u}${re}`,Ce=t===void 0?[e[2],e[1]]:[t],_e=[ce,...Ce,...e.slice(3),r.map(le=>PF(le)).join(`
50
+ `)].map(le=>gt(Ye(kF(le)))).filter(Boolean).join(`
51
+
52
+ `);return{originalMessage:k,shortMessage:ce,message:_e}},RF=({originalError:e,timedOut:t,timeout:r,isMaxBuffer:n,maxBuffer:o,errorCode:i,signal:s,signalDescription:u,exitCode:a,isCanceled:c,isGracefullyCanceled:l,isForcefullyTerminated:D,forceKillAfterDelay:f,killSignal:p})=>{let m=IF(D,f);return t?`Command timed out after ${r} milliseconds${m}`:l?s===void 0?`Command was gracefully canceled with exit code ${a}`:D?`Command was gracefully canceled${m}`:`Command was gracefully canceled with ${s} (${u})`:c?`Command was canceled${m}`:n?`${Bl(e,o)}${m}`:i!==void 0?`Command failed with ${i}${m}`:D?`Command was killed with ${p} (${gr(p)})${m}`:s!==void 0?`Command was killed with ${s} (${u})`:a!==void 0?`Command failed with exit code ${a}`:"Command failed"},IF=(e,t)=>e?` and was forcefully terminated after ${t} milliseconds`:"",MF=(e,t)=>{if(e instanceof V)return;let r=za(e)?e.originalMessage:String(e?.message??e),n=gt(ul(r,t));return n===""?void 0:n},PF=e=>typeof e=="string"?e:(0,vl.inspect)(e),kF=e=>Array.isArray(e)?e.map(t=>Ye(Ol(t))).filter(Boolean).join(`
53
+ `):Ol(e),Ol=e=>typeof e=="string"?e:v(e)?rr(e):"";var zr=({command:e,escapedCommand:t,stdio:r,all:n,ipcOutput:o,options:{cwd:i},startTime:s})=>Il({command:e,escapedCommand:t,cwd:i,durationMs:ho(s),failed:!1,timedOut:!1,isCanceled:!1,isGracefullyCanceled:!1,isTerminated:!1,isMaxBuffer:!1,isForcefullyTerminated:!1,exitCode:0,stdout:r[1],stderr:r[2],all:n,stdio:r,ipcOutput:o,pipedFrom:[]}),Ve=({error:e,command:t,escapedCommand:r,fileDescriptors:n,options:o,startTime:i,isSync:s})=>At({error:e,command:t,escapedCommand:r,startTime:i,timedOut:!1,isCanceled:!1,isGracefullyCanceled:!1,isMaxBuffer:!1,isForcefullyTerminated:!1,stdio:Array.from({length:n.length}),ipcOutput:[],options:o,isSync:s}),At=({error:e,command:t,escapedCommand:r,startTime:n,timedOut:o,isCanceled:i,isGracefullyCanceled:s,isMaxBuffer:u,isForcefullyTerminated:a,exitCode:c,signal:l,stdio:D,all:f,ipcOutput:p,options:{timeoutDuration:m,timeout:y=m,forceKillAfterDelay:O,killSignal:w,cwd:R,maxBuffer:M},isSync:k})=>{let{exitCode:re,signal:ce,signalDescription:Ce}=NF(c,l),{originalMessage:_e,shortMessage:le,message:Sn}=Rl({stdio:D,all:f,ipcOutput:p,originalError:e,signal:ce,signalDescription:Ce,exitCode:re,escapedCommand:r,timedOut:o,isCanceled:i,isGracefullyCanceled:s,isMaxBuffer:u,isForcefullyTerminated:a,forceKillAfterDelay:O,killSignal:w,maxBuffer:M,timeout:y,cwd:R}),ot=Ua(e,Sn,k);return Object.assign(ot,LF({error:ot,command:t,escapedCommand:r,startTime:n,timedOut:o,isCanceled:i,isGracefullyCanceled:s,isMaxBuffer:u,isForcefullyTerminated:a,exitCode:re,signal:ce,signalDescription:Ce,stdio:D,all:f,ipcOutput:p,cwd:R,originalMessage:_e,shortMessage:le})),ot},LF=({error:e,command:t,escapedCommand:r,startTime:n,timedOut:o,isCanceled:i,isGracefullyCanceled:s,isMaxBuffer:u,isForcefullyTerminated:a,exitCode:c,signal:l,signalDescription:D,stdio:f,all:p,ipcOutput:m,cwd:y,originalMessage:O,shortMessage:w})=>Il({shortMessage:w,originalMessage:O,command:t,escapedCommand:r,cwd:y,durationMs:ho(n),failed:!0,timedOut:o,isCanceled:i,isGracefullyCanceled:s,isTerminated:l!==void 0,isMaxBuffer:u,isForcefullyTerminated:a,exitCode:c,signal:l,signalDescription:D,code:e.cause?.code,stdout:f[1],stderr:f[2],all:p,stdio:f,ipcOutput:m,pipedFrom:[]}),Il=e=>Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0)),NF=(e,t)=>{let r=e===null?void 0:e,n=t===null?void 0:t,o=n===void 0?void 0:gr(t);return{exitCode:r,signal:n,signalDescription:o}};var Ml=e=>Number.isFinite(e)?e:0;function $F(e){return{days:Math.trunc(e/864e5),hours:Math.trunc(e/36e5%24),minutes:Math.trunc(e/6e4%60),seconds:Math.trunc(e/1e3%60),milliseconds:Math.trunc(e%1e3),microseconds:Math.trunc(Ml(e*1e3)%1e3),nanoseconds:Math.trunc(Ml(e*1e6)%1e3)}}function jF(e){return{days:e/86400000n,hours:e/3600000n%24n,minutes:e/60000n%60n,seconds:e/1000n%60n,milliseconds:e%1000n,microseconds:0n,nanoseconds:0n}}function qo(e){switch(typeof e){case"number":{if(Number.isFinite(e))return $F(e);break}case"bigint":return jF(e)}throw new TypeError("Expected a finite number or bigint")}var UF=e=>e===0||e===0n,GF=(e,t)=>t===1||t===1n?e:`${e}s`,zF=1e-7,WF=24n*60n*60n*1000n;function Vo(e,t){let r=typeof e=="bigint";if(!r&&!Number.isFinite(e))throw new TypeError("Expected a finite number or bigint");t={...t};let n=e<0?"-":"";e=e<0?-e:e,t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.unitCount=1,t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);let o=[],i=(l,D)=>{let f=Math.floor(l*10**D+zF);return(Math.round(f)/10**D).toFixed(D)},s=(l,D,f,p)=>{if(!((o.length===0||!t.colonNotation)&&UF(l)&&!(t.colonNotation&&f==="m"))){if(p??=String(l),t.colonNotation){let m=p.includes(".")?p.split(".")[0].length:p.length,y=o.length>0?2:1;p="0".repeat(Math.max(0,y-m))+p}else p+=t.verbose?" "+GF(D,l):f;o.push(p)}},u=qo(e),a=BigInt(u.days);if(s(a/365n,"year","y"),s(a%365n,"day","d"),s(Number(u.hours),"hour","h"),s(Number(u.minutes),"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3){let l=Number(u.seconds),D=Number(u.milliseconds),f=Number(u.microseconds),p=Number(u.nanoseconds);if(s(l,"second","s"),t.formatSubMilliseconds)s(D,"millisecond","ms"),s(f,"microsecond","\xB5s"),s(p,"nanosecond","ns");else{let m=D+f/1e3+p/1e6,y=typeof t.millisecondsDecimalDigits=="number"?t.millisecondsDecimalDigits:0,O=m>=1?Math.round(m):Math.ceil(m),w=y?m.toFixed(y):O;s(Number.parseFloat(w),"millisecond","ms",w)}}else{let l=(r?Number(e%WF):e)/1e3%60,D=typeof t.secondsDecimalDigits=="number"?t.secondsDecimalDigits:1,f=i(l,D),p=t.keepDecimalsOnWholeSeconds?f:f.replace(/\.0+$/,"");s(Number.parseFloat(p),"second","s",p)}if(o.length===0)return n+"0"+(t.verbose?" milliseconds":"ms");let c=t.colonNotation?":":" ";return typeof t.unitCount=="number"&&(o=o.slice(0,Math.max(t.unitCount,1))),n+o.join(c)}var Pl=(e,t)=>{e.failed&&J({type:"error",verboseMessage:e.shortMessage,verboseInfo:t,result:e})};var kl=(e,t)=>{Le(t)&&(Pl(e,t),YF(e,t))},YF=(e,t)=>{let r=`(done in ${Vo(e.durationMs)})`;J({type:"duration",verboseMessage:r,verboseInfo:t,result:e})};var He=(e,t,{reject:r})=>{if(kl(e,t),e.failed&&r)throw e;return e};var ti=require("node:fs");var $l=(e,t)=>Se(e)?"asyncGenerator":Gl(e)?"generator":Wr(e)?"fileUrl":JF(e)?"filePath":QF(e)?"webStream":K(e,{checkOpen:!1})?"native":v(e)?"uint8Array":eg(e)?"asyncIterable":tg(e)?"iterable":Jo(e)?jl({transform:e},t):KF(e)?qF(e,t):"native",qF=(e,t)=>Go(e.transform,{checkOpen:!1})?VF(e,t):Jo(e.transform)?jl(e,t):HF(e,t),VF=(e,t)=>(Ul(e,t,"Duplex stream"),"duplex"),jl=(e,t)=>(Ul(e,t,"web TransformStream"),"webTransform"),Ul=({final:e,binary:t,objectMode:r},n,o)=>{Ll(e,`${n}.final`,o),Ll(t,`${n}.binary`,o),Ho(r,`${n}.objectMode`)},Ll=(e,t,r)=>{if(e!==void 0)throw new TypeError(`The \`${t}\` option can only be defined when using a generator, not a ${r}.`)},HF=({transform:e,final:t,binary:r,objectMode:n},o)=>{if(e!==void 0&&!Nl(e))throw new TypeError(`The \`${o}.transform\` option must be a generator, a Duplex stream or a web TransformStream.`);if(Go(t,{checkOpen:!1}))throw new TypeError(`The \`${o}.final\` option must not be a Duplex stream.`);if(Jo(t))throw new TypeError(`The \`${o}.final\` option must not be a web TransformStream.`);if(t!==void 0&&!Nl(t))throw new TypeError(`The \`${o}.final\` option must be a generator.`);return Ho(r,`${o}.binary`),Ho(n,`${o}.objectMode`),Se(e)||Se(t)?"asyncGenerator":"generator"},Ho=(e,t)=>{if(e!==void 0&&typeof e!="boolean")throw new TypeError(`The \`${t}\` option must use a boolean.`)},Nl=e=>Se(e)||Gl(e),Se=e=>Object.prototype.toString.call(e)==="[object AsyncGeneratorFunction]",Gl=e=>Object.prototype.toString.call(e)==="[object GeneratorFunction]",KF=e=>_(e)&&(e.transform!==void 0||e.final!==void 0),Wr=e=>Object.prototype.toString.call(e)==="[object URL]",zl=e=>Wr(e)&&e.protocol!=="file:",JF=e=>_(e)&&Object.keys(e).length>0&&Object.keys(e).every(t=>XF.has(t))&&Ko(e.file),XF=new Set(["file","append"]),Ko=e=>typeof e=="string",Wl=(e,t)=>e==="native"&&typeof t=="string"&&!ZF.has(t),ZF=new Set(["ipc","ignore","inherit","overlapped","pipe"]),Yl=e=>Object.prototype.toString.call(e)==="[object ReadableStream]",Yr=e=>Object.prototype.toString.call(e)==="[object WritableStream]",QF=e=>Yl(e)||Yr(e),Jo=e=>Yl(e?.readable)&&Yr(e?.writable),eg=e=>ql(e)&&typeof e[Symbol.asyncIterator]=="function",tg=e=>ql(e)&&typeof e[Symbol.iterator]=="function",ql=e=>typeof e=="object"&&e!==null,U=new Set(["generator","asyncGenerator","duplex","webTransform"]),qr=new Set(["fileUrl","filePath","fileNumber"]),Xo=new Set(["fileUrl","filePath"]),Vl=new Set([...Xo,"webStream","nodeStream"]),Hl=new Set(["webTransform","duplex"]),me={generator:"a generator",asyncGenerator:"an async generator",fileUrl:"a file URL",filePath:"a file path string",fileNumber:"a file descriptor number",webStream:"a web stream",nodeStream:"a Node.js stream",webTransform:"a web TransformStream",duplex:"a Duplex stream",native:"any value",iterable:"an iterable",asyncIterable:"an async iterable",string:"a string",uint8Array:"a Uint8Array"};var Zo=(e,t,r,n)=>n==="output"?rg(e,t,r):ng(e,t,r),rg=(e,t,r)=>{let n=t!==0&&r[t-1].value.readableObjectMode;return{writableObjectMode:n,readableObjectMode:e??n}},ng=(e,t,r)=>{let n=t===0?e===!0:r[t-1].value.readableObjectMode,o=t!==r.length-1&&(e??n);return{writableObjectMode:n,readableObjectMode:o}},Kl=(e,t)=>{let r=e.findLast(({type:n})=>U.has(n));return r===void 0?!1:t==="input"?r.value.writableObjectMode:r.value.readableObjectMode};var Jl=(e,t,r,n)=>[...e.filter(({type:o})=>!U.has(o)),...og(e,t,r,n)],og=(e,t,r,{encoding:n})=>{let o=e.filter(({type:s})=>U.has(s)),i=Array.from({length:o.length});for(let[s,u]of Object.entries(o))i[s]=ig({stdioItem:u,index:Number(s),newTransforms:i,optionName:t,direction:r,encoding:n});return cg(i,r)},ig=({stdioItem:e,stdioItem:{type:t},index:r,newTransforms:n,optionName:o,direction:i,encoding:s})=>t==="duplex"?sg({stdioItem:e,optionName:o}):t==="webTransform"?ug({stdioItem:e,index:r,newTransforms:n,direction:i}):ag({stdioItem:e,index:r,newTransforms:n,direction:i,encoding:s}),sg=({stdioItem:e,stdioItem:{value:{transform:t,transform:{writableObjectMode:r,readableObjectMode:n},objectMode:o=n}},optionName:i})=>{if(o&&!n)throw new TypeError(`The \`${i}.objectMode\` option can only be \`true\` if \`new Duplex({objectMode: true})\` is used.`);if(!o&&n)throw new TypeError(`The \`${i}.objectMode\` option cannot be \`false\` if \`new Duplex({objectMode: true})\` is used.`);return{...e,value:{transform:t,writableObjectMode:r,readableObjectMode:n}}},ug=({stdioItem:e,stdioItem:{value:t},index:r,newTransforms:n,direction:o})=>{let{transform:i,objectMode:s}=_(t)?t:{transform:t},{writableObjectMode:u,readableObjectMode:a}=Zo(s,r,n,o);return{...e,value:{transform:i,writableObjectMode:u,readableObjectMode:a}}},ag=({stdioItem:e,stdioItem:{value:t},index:r,newTransforms:n,direction:o,encoding:i})=>{let{transform:s,final:u,binary:a=!1,preserveNewlines:c=!1,objectMode:l}=_(t)?t:{transform:t},D=a||P.has(i),{writableObjectMode:f,readableObjectMode:p}=Zo(l,r,n,o);return{...e,value:{transform:s,final:u,binary:D,preserveNewlines:c,writableObjectMode:f,readableObjectMode:p}}},cg=(e,t)=>t==="input"?e.reverse():e;var Vr=g(require("node:process"),1);var Xl=(e,t,r)=>{let n=e.map(o=>lg(o,t));if(n.includes("input")&&n.includes("output"))throw new TypeError(`The \`${r}\` option must not be an array of both readable and writable values.`);return n.find(Boolean)??pg},lg=({type:e,value:t},r)=>Dg[r]??Zl[e](t),Dg=["input","output","output"],Ke=()=>{},Qo=()=>"input",Zl={generator:Ke,asyncGenerator:Ke,fileUrl:Ke,filePath:Ke,iterable:Qo,asyncIterable:Qo,uint8Array:Qo,webStream:e=>Yr(e)?"output":"input",nodeStream(e){return xe(e,{checkOpen:!1})?Uo(e,{checkOpen:!1})?void 0:"input":"output"},webTransform:Ke,duplex:Ke,native(e){let t=fg(e);if(t!==void 0)return t;if(K(e,{checkOpen:!1}))return Zl.nodeStream(e)}},fg=e=>{if([0,Vr.default.stdin].includes(e))return"input";if([1,2,Vr.default.stdout,Vr.default.stderr].includes(e))return"output"},pg="output";var Ql=(e,t)=>t&&!e.includes("ipc")?[...e,"ipc"]:e;var eD=({stdio:e,ipc:t,buffer:r,...n},o,i)=>{let s=dg(e,n).map((u,a)=>tD(u,a));return i?hg(s,r,o):Ql(s,t)},dg=(e,t)=>{if(e===void 0)return j.map(n=>t[n]);if(mg(t))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${j.map(n=>`\`${n}\``).join(", ")}`);if(typeof e=="string")return[e,e,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,j.length);return Array.from({length:r},(n,o)=>e[o])},mg=e=>j.some(t=>e[t]!==void 0),tD=(e,t)=>Array.isArray(e)?e.map(r=>tD(r,t)):e??(t>=j.length?"ignore":"pipe"),hg=(e,t,r)=>e.map((n,o)=>!t[o]&&o!==0&&!Ne(r,o)&&Fg(n)?"ignore":n),Fg=e=>e==="pipe"||Array.isArray(e)&&e.every(t=>t==="pipe");var nD=require("node:fs"),oD=g(require("node:tty"),1);var iD=({stdioItem:e,stdioItem:{type:t},isStdioArray:r,fdNumber:n,direction:o,isSync:i})=>!r||t!=="native"?e:i?gg({stdioItem:e,fdNumber:n,direction:o}):yg({stdioItem:e,fdNumber:n}),gg=({stdioItem:e,stdioItem:{value:t,optionName:r},fdNumber:n,direction:o})=>{let i=Eg({value:t,optionName:r,fdNumber:n,direction:o});if(i!==void 0)return i;if(K(t,{checkOpen:!1}))throw new TypeError(`The \`${r}: Stream\` option cannot both be an array and include a stream with synchronous methods.`);return e},Eg=({value:e,optionName:t,fdNumber:r,direction:n})=>{let o=Cg(e,r);if(o!==void 0){if(n==="output")return{type:"fileNumber",value:o,optionName:t};if(oD.default.isatty(o))throw new TypeError(`The \`${t}: ${yr(e)}\` option is invalid: it cannot be a TTY with synchronous methods.`);return{type:"uint8Array",value:ie((0,nD.readFileSync)(o)),optionName:t}}},Cg=(e,t)=>{if(e==="inherit")return t;if(typeof e=="number")return e;let r=or.indexOf(e);if(r!==-1)return r},yg=({stdioItem:e,stdioItem:{value:t,optionName:r},fdNumber:n})=>t==="inherit"?{type:"nodeStream",value:rD(n,t,r),optionName:r}:typeof t=="number"?{type:"nodeStream",value:rD(t,t,r),optionName:r}:K(t,{checkOpen:!1})?{type:"nodeStream",value:t,optionName:r}:e,rD=(e,t,r)=>{let n=or[e];if(n===void 0)throw new TypeError(`The \`${r}: ${t}\` option is invalid: no such standard stream.`);return n};var sD=({input:e,inputFile:t},r)=>r===0?[...bg(e),...xg(t)]:[],bg=e=>e===void 0?[]:[{type:wg(e),value:e,optionName:"input"}],wg=e=>{if(xe(e,{checkOpen:!1}))return"nodeStream";if(typeof e=="string")return"string";if(v(e))return"uint8Array";throw new Error("The `input` option must be a string, a Uint8Array or a Node.js Readable stream.")},xg=e=>e===void 0?[]:[{...Sg(e),optionName:"inputFile"}],Sg=e=>{if(Wr(e))return{type:"fileUrl",value:e};if(Ko(e))return{type:"filePath",value:{file:e}};throw new Error("The `inputFile` option must be a file path string or a file URL.")};var uD=e=>e.filter((t,r)=>e.every((n,o)=>t.value!==n.value||r>=o||t.type==="generator"||t.type==="asyncGenerator")),aD=({stdioItem:{type:e,value:t,optionName:r},direction:n,fileDescriptors:o,isSync:i})=>{let s=Ag(o,e);if(s.length!==0){if(i){Bg({otherStdioItems:s,type:e,value:t,optionName:r,direction:n});return}if(Vl.has(e))return cD({otherStdioItems:s,type:e,value:t,optionName:r,direction:n});Hl.has(e)&&_g({otherStdioItems:s,type:e,value:t,optionName:r})}},Ag=(e,t)=>e.flatMap(({direction:r,stdioItems:n})=>n.filter(o=>o.type===t).map(o=>({...o,direction:r}))),Bg=({otherStdioItems:e,type:t,value:r,optionName:n,direction:o})=>{Xo.has(t)&&cD({otherStdioItems:e,type:t,value:r,optionName:n,direction:o})},cD=({otherStdioItems:e,type:t,value:r,optionName:n,direction:o})=>{let i=e.filter(u=>Tg(u,r));if(i.length===0)return;let s=i.find(u=>u.direction!==o);return lD(s,n,t),o==="output"?i[0].stream:void 0},Tg=({type:e,value:t},r)=>e==="filePath"?t.file===r.file:e==="fileUrl"?t.href===r.href:t===r,_g=({otherStdioItems:e,type:t,value:r,optionName:n})=>{let o=e.find(({value:{transform:i}})=>i===r.transform);lD(o,n,t)},lD=(e,t,r)=>{if(e!==void 0)throw new TypeError(`The \`${e.optionName}\` and \`${t}\` options must not target ${me[r]} that is the same.`)};var Hr=(e,t,r,n)=>{let i=eD(t,r,n).map((u,a)=>Og({stdioOption:u,fdNumber:a,options:t,isSync:n})),s=Ng({initialFileDescriptors:i,addProperties:e,options:t,isSync:n});return t.stdio=s.map(({stdioItems:u})=>Ug(u)),s},Og=({stdioOption:e,fdNumber:t,options:r,isSync:n})=>{let o=ir(t),{stdioItems:i,isStdioArray:s}=vg({stdioOption:e,fdNumber:t,options:r,optionName:o}),u=Xl(i,t,o),a=i.map(D=>iD({stdioItem:D,isStdioArray:s,fdNumber:t,direction:u,isSync:n})),c=Jl(a,o,u,r),l=Kl(c,u);return Lg(c,l),{direction:u,objectMode:l,stdioItems:c}},vg=({stdioOption:e,fdNumber:t,options:r,optionName:n})=>{let i=[...(Array.isArray(e)?e:[e]).map(a=>Rg(a,n)),...sD(r,t)],s=uD(i),u=s.length>1;return Ig(s,u,n),Pg(s),{stdioItems:s,isStdioArray:u}},Rg=(e,t)=>({type:$l(e,t),value:e,optionName:t}),Ig=(e,t,r)=>{if(e.length===0)throw new TypeError(`The \`${r}\` option must not be an empty array.`);if(t){for(let{value:n,optionName:o}of e)if(Mg.has(n))throw new Error(`The \`${o}\` option must not include \`${n}\`.`)}},Mg=new Set(["ignore","ipc"]),Pg=e=>{for(let t of e)kg(t)},kg=({type:e,value:t,optionName:r})=>{if(zl(t))throw new TypeError(`The \`${r}: URL\` option must use the \`file:\` scheme.
54
+ For example, you can use the \`pathToFileURL()\` method of the \`url\` core module.`);if(Wl(e,t))throw new TypeError(`The \`${r}: { file: '...' }\` option must be used instead of \`${r}: '...'\`.`)},Lg=(e,t)=>{if(!t)return;let r=e.find(({type:n})=>qr.has(n));if(r!==void 0)throw new TypeError(`The \`${r.optionName}\` option cannot use both files and transforms in objectMode.`)},Ng=({initialFileDescriptors:e,addProperties:t,options:r,isSync:n})=>{let o=[];try{for(let i of e)o.push($g({fileDescriptor:i,fileDescriptors:o,addProperties:t,options:r,isSync:n}));return o}catch(i){throw ei(o),i}},$g=({fileDescriptor:{direction:e,objectMode:t,stdioItems:r},fileDescriptors:n,addProperties:o,options:i,isSync:s})=>{let u=r.map(a=>jg({stdioItem:a,addProperties:o,direction:e,options:i,fileDescriptors:n,isSync:s}));return{direction:e,objectMode:t,stdioItems:u}},jg=({stdioItem:e,addProperties:t,direction:r,options:n,fileDescriptors:o,isSync:i})=>{let s=aD({stdioItem:e,direction:r,fileDescriptors:o,isSync:i});return s!==void 0?{...e,stream:s}:{...e,...t[r][e.type](e,n)}},ei=e=>{for(let{stdioItems:t}of e)for(let{stream:r}of t)r!==void 0&&!q(r)&&r.destroy()},Ug=e=>{if(e.length>1)return e.some(({value:n})=>n==="overlapped")?"overlapped":"pipe";let[{type:t,value:r}]=e;return t==="native"?r:"pipe"};var fD=(e,t)=>Hr(zg,e,t,!0),ee=({type:e,optionName:t})=>{pD(t,me[e])},Gg=({optionName:e,value:t})=>((t==="ipc"||t==="overlapped")&&pD(e,`"${t}"`),{}),pD=(e,t)=>{throw new TypeError(`The \`${e}\` option cannot be ${t} with synchronous methods.`)},DD={generator(){},asyncGenerator:ee,webStream:ee,nodeStream:ee,webTransform:ee,duplex:ee,asyncIterable:ee,native:Gg},zg={input:{...DD,fileUrl:({value:e})=>({contents:[ie((0,ti.readFileSync)(e))]}),filePath:({value:{file:e}})=>({contents:[ie((0,ti.readFileSync)(e))]}),fileNumber:ee,iterable:({value:e})=>({contents:[...e]}),string:({value:e})=>({contents:[e]}),uint8Array:({value:e})=>({contents:[e]})},output:{...DD,fileUrl:({value:e})=>({path:e}),filePath:({value:{file:e,append:t}})=>({path:e,append:t}),fileNumber:({value:e})=>({path:e}),iterable:ee,string:ee,uint8Array:ee}};var ae=(e,{stripFinalNewline:t},r)=>ri(t,r)&&e!==void 0&&!Array.isArray(e)?Ye(e):e,ri=(e,t)=>t==="all"?e[1]||e[2]:e[t];var Tt=require("node:stream");var Kr=(e,t,r,n)=>e||r?void 0:mD(t,n),oi=(e,t,r)=>r?e.flatMap(n=>dD(n,t)):dD(e,t),dD=(e,t)=>{let{transform:r,final:n}=mD(t,{});return[...r(e),...n()]},mD=(e,t)=>(t.previousChunks="",{transform:Wg.bind(void 0,t,e),final:qg.bind(void 0,t)}),Wg=function*(e,t,r){if(typeof r!="string"){yield r;return}let{previousChunks:n}=e,o=-1;for(let i=0;i<r.length;i+=1)if(r[i]===`
55
+ `){let s=Yg(r,i,t,e),u=r.slice(o+1,i+1-s);n.length>0&&(u=ni(n,u),n=""),yield u,o=i}o!==r.length-1&&(n=ni(n,r.slice(o+1))),e.previousChunks=n},Yg=(e,t,r,n)=>r?0:(n.isWindowsNewline=t!==0&&e[t-1]==="\r",n.isWindowsNewline?2:1),qg=function*({previousChunks:e}){e.length>0&&(yield e)},hD=({binary:e,preserveNewlines:t,readableObjectMode:r,state:n})=>e||t||r?void 0:{transform:Vg.bind(void 0,n)},Vg=function*({isWindowsNewline:e=!1},t){let{unixNewline:r,windowsNewline:n,LF:o,concatBytes:i}=typeof t=="string"?Hg:Jg;if(t.at(-1)===o){yield t;return}yield i(t,e?n:r)},ni=(e,t)=>`${e}${t}`,Hg={windowsNewline:`\r
56
+ `,unixNewline:`
57
+ `,LF:`
58
+ `,concatBytes:ni},Kg=(e,t)=>{let r=new Uint8Array(e.length+t.length);return r.set(e,0),r.set(t,e.length),r},Jg={windowsNewline:new Uint8Array([13,10]),unixNewline:new Uint8Array([10]),LF:10,concatBytes:Kg};var FD=require("node:buffer");var gD=(e,t)=>e?void 0:Xg.bind(void 0,t),Xg=function*(e,t){if(typeof t!="string"&&!v(t)&&!FD.Buffer.isBuffer(t))throw new TypeError(`The \`${e}\` option's transform must use "objectMode: true" to receive as input: ${typeof t}.`);yield t},ED=(e,t)=>e?Zg.bind(void 0,t):Qg.bind(void 0,t),Zg=function*(e,t){CD(e,t),yield t},Qg=function*(e,t){if(CD(e,t),typeof t!="string"&&!v(t))throw new TypeError(`The \`${e}\` option's function must yield a string or an Uint8Array, not ${typeof t}.`);yield t},CD=(e,t)=>{if(t==null)throw new TypeError(`The \`${e}\` option's function must not call \`yield ${t}\`.
59
+ Instead, \`yield\` should either be called with a value, or not be called at all. For example:
60
+ if (condition) { yield value; }`)};var yD=require("node:buffer"),bD=require("node:string_decoder");var Jr=(e,t,r)=>{if(r)return;if(e)return{transform:e2.bind(void 0,new TextEncoder)};let n=new bD.StringDecoder(t);return{transform:t2.bind(void 0,n),final:r2.bind(void 0,n)}},e2=function*(e,t){yD.Buffer.isBuffer(t)?yield ie(t):typeof t=="string"?yield e.encode(t):yield t},t2=function*(e,t){yield v(t)?e.write(t):t},r2=function*(e){let t=e.end();t!==""&&(yield t)};var ii=require("node:util"),si=(0,ii.callbackify)(async(e,t,r,n)=>{t.currentIterable=e(...r);try{for await(let o of t.currentIterable)n.push(o)}finally{delete t.currentIterable}}),Xr=async function*(e,t,r){if(r===t.length){yield e;return}let{transform:n=o2}=t[r];for await(let o of n(e))yield*Xr(o,t,r+1)},wD=async function*(e){for(let[t,{final:r}]of Object.entries(e))yield*n2(r,Number(t),e)},n2=async function*(e,t,r){if(e!==void 0)for await(let n of e())yield*Xr(n,r,t+1)},xD=(0,ii.callbackify)(async({currentIterable:e},t)=>{if(e!==void 0){await(t?e.throw(t):e.return());return}if(t)throw t}),o2=function*(e){yield e};var ui=(e,t,r,n)=>{try{for(let o of e(...t))r.push(o);n()}catch(o){n(o)}},SD=(e,t)=>[...t.flatMap(r=>[...Ae(r,e,0)]),...Bt(e)],Ae=function*(e,t,r){if(r===t.length){yield e;return}let{transform:n=s2}=t[r];for(let o of n(e))yield*Ae(o,t,r+1)},Bt=function*(e){for(let[t,{final:r}]of Object.entries(e))yield*i2(r,Number(t),e)},i2=function*(e,t,r){if(e!==void 0)for(let n of e())yield*Ae(n,r,t+1)},s2=function*(e){yield e};var ai=({value:e,value:{transform:t,final:r,writableObjectMode:n,readableObjectMode:o},optionName:i},{encoding:s})=>{let u={},a=AD(e,s,i),c=Se(t),l=Se(r),D=c?si.bind(void 0,Xr,u):ui.bind(void 0,Ae),f=c||l?si.bind(void 0,wD,u):ui.bind(void 0,Bt),p=c||l?xD.bind(void 0,u):void 0;return{stream:new Tt.Transform({writableObjectMode:n,writableHighWaterMark:(0,Tt.getDefaultHighWaterMark)(n),readableObjectMode:o,readableHighWaterMark:(0,Tt.getDefaultHighWaterMark)(o),transform(y,O,w){D([y,a,0],this,w)},flush(y){f([a],this,y)},destroy:p})}},Zr=(e,t,r,n)=>{let o=t.filter(({type:s})=>s==="generator"),i=n?o.reverse():o;for(let{value:s,optionName:u}of i){let a=AD(s,r,u);e=SD(a,e)}return e},AD=({transform:e,final:t,binary:r,writableObjectMode:n,readableObjectMode:o,preserveNewlines:i},s,u)=>{let a={};return[{transform:gD(n,u)},Jr(r,s,n),Kr(r,i,n,a),{transform:e,final:t},{transform:ED(o,u)},hD({binary:r,preserveNewlines:i,readableObjectMode:o,state:a})].filter(Boolean)};var BD=(e,t)=>{for(let r of u2(e))a2(e,r,t)},u2=e=>new Set(Object.entries(e).filter(([,{direction:t}])=>t==="input").map(([t])=>Number(t))),a2=(e,t,r)=>{let{stdioItems:n}=e[t],o=n.filter(({contents:u})=>u!==void 0);if(o.length===0)return;if(t!==0){let[{type:u,optionName:a}]=o;throw new TypeError(`Only the \`stdin\` option, not \`${a}\`, can be ${me[u]} with synchronous methods.`)}let s=o.map(({contents:u})=>u).map(u=>c2(u,n));r.input=Ft(s)},c2=(e,t)=>{let r=Zr(e,t,"utf8",!0);return l2(r),Ft(r)},l2=e=>{let t=e.find(r=>typeof r!="string"&&!v(r));if(t!==void 0)throw new TypeError(`The \`stdin\` option is invalid: when passing objects as input, a transform must be used to serialize them to strings or Uint8Arrays: ${t}.`)};var en=require("node:fs");var Qr=({stdioItems:e,encoding:t,verboseInfo:r,fdNumber:n})=>n!=="all"&&Ne(r,n)&&!P.has(t)&&D2(n)&&(e.some(({type:o,value:i})=>o==="native"&&f2.has(i))||e.every(({type:o})=>U.has(o))),D2=e=>e===1||e===2,f2=new Set(["pipe","overlapped"]),TD=async(e,t,r,n)=>{for await(let o of e)p2(t)||OD(o,r,n)},_D=(e,t,r)=>{for(let n of e)OD(n,t,r)},p2=e=>e._readableState.pipes.length>0,OD=(e,t,r)=>{let n=Dr(e);J({type:"output",verboseMessage:n,fdNumber:t,verboseInfo:r})};var vD=({fileDescriptors:e,syncResult:{output:t},options:r,isMaxBuffer:n,verboseInfo:o})=>{if(t===null)return{output:Array.from({length:3})};let i={},s=new Set([]);return{output:t.map((a,c)=>d2({result:a,fileDescriptors:e,fdNumber:c,state:i,outputFiles:s,isMaxBuffer:n,verboseInfo:o},r)),...i}},d2=({result:e,fileDescriptors:t,fdNumber:r,state:n,outputFiles:o,isMaxBuffer:i,verboseInfo:s},{buffer:u,encoding:a,lines:c,stripFinalNewline:l,maxBuffer:D})=>{if(e===null)return;let f=_l(e,i,D),p=ie(f),{stdioItems:m,objectMode:y}=t[r],O=m2([p],m,a,n),{serializedResult:w,finalResult:R=w}=h2({chunks:O,objectMode:y,encoding:a,lines:c,stripFinalNewline:l,fdNumber:r});F2({serializedResult:w,fdNumber:r,state:n,verboseInfo:s,encoding:a,stdioItems:m,objectMode:y});let M=u[r]?R:void 0;try{return n.error===void 0&&g2(w,m,o),M}catch(k){return n.error=k,M}},m2=(e,t,r,n)=>{try{return Zr(e,t,r,!1)}catch(o){return n.error=o,e}},h2=({chunks:e,objectMode:t,encoding:r,lines:n,stripFinalNewline:o,fdNumber:i})=>{if(t)return{serializedResult:e};if(r==="buffer")return{serializedResult:Ft(e)};let s=yu(e,r);return n[i]?{serializedResult:s,finalResult:oi(s,!o[i],t)}:{serializedResult:s}},F2=({serializedResult:e,fdNumber:t,state:r,verboseInfo:n,encoding:o,stdioItems:i,objectMode:s})=>{if(!Qr({stdioItems:i,encoding:o,verboseInfo:n,fdNumber:t}))return;let u=oi(e,!1,s);try{_D(u,t,n)}catch(a){r.error??=a}},g2=(e,t,r)=>{for(let{path:n,append:o}of t.filter(({type:i})=>qr.has(i))){let i=typeof n=="string"?n:n.toString();o||r.has(i)?(0,en.appendFileSync)(n,e):(r.add(i),(0,en.writeFileSync)(n,e))}};var RD=([,e,t],r)=>{if(r.all)return e===void 0?t:t===void 0?e:Array.isArray(e)?Array.isArray(t)?[...e,...t]:[...e,ae(t,r,"all")]:Array.isArray(t)?[ae(e,r,"all"),...t]:v(e)&&v(t)?co([e,t]):`${e}${t}`};var tn=require("node:events");var ID=async(e,t)=>{let[r,n]=await E2(e);return t.isForcefullyTerminated??=!1,[r,n]},E2=async e=>{let[t,r]=await Promise.allSettled([(0,tn.once)(e,"spawn"),(0,tn.once)(e,"exit")]);return t.status==="rejected"?[]:r.status==="rejected"?MD(e):r.value},MD=async e=>{try{return await(0,tn.once)(e,"exit")}catch{return MD(e)}},PD=async e=>{let[t,r]=await e;if(!C2(t,r)&&ci(t,r))throw new V;return[t,r]},C2=(e,t)=>e===void 0&&t===void 0,ci=(e,t)=>e!==0||t!==null;var kD=({error:e,status:t,signal:r,output:n},{maxBuffer:o})=>{let i=y2(e,t,r),s=i?.code==="ETIMEDOUT",u=Tl(i,n,o);return{resultError:i,exitCode:t,signal:r,timedOut:s,isMaxBuffer:u}},y2=(e,t,r)=>e!==void 0?e:ci(t,r)?new V:void 0;var ND=(e,t,r)=>{let{file:n,commandArguments:o,command:i,escapedCommand:s,startTime:u,verboseInfo:a,options:c,fileDescriptors:l}=b2(e,t,r),D=S2({file:n,commandArguments:o,options:c,command:i,escapedCommand:s,verboseInfo:a,fileDescriptors:l,startTime:u});return He(D,a,c)},b2=(e,t,r)=>{let{command:n,escapedCommand:o,startTime:i,verboseInfo:s}=pr(e,t,r),u=w2(r),{file:a,commandArguments:c,options:l}=Mr(e,t,u);x2(l);let D=fD(l,s);return{file:a,commandArguments:c,command:n,escapedCommand:o,startTime:i,verboseInfo:s,options:l,fileDescriptors:D}},w2=e=>e.node&&!e.ipc?{...e,ipc:!1}:e,x2=({ipc:e,ipcInput:t,detached:r,cancelSignal:n})=>{t&&rn("ipcInput"),e&&rn("ipc: true"),r&&rn("detached: true"),n&&rn("cancelSignal")},rn=e=>{throw new TypeError(`The "${e}" option cannot be used with synchronous methods.`)},S2=({file:e,commandArguments:t,options:r,command:n,escapedCommand:o,verboseInfo:i,fileDescriptors:s,startTime:u})=>{let a=A2({file:e,commandArguments:t,options:r,command:n,escapedCommand:o,fileDescriptors:s,startTime:u});if(a.failed)return a;let{resultError:c,exitCode:l,signal:D,timedOut:f,isMaxBuffer:p}=kD(a,r),{output:m,error:y=c}=vD({fileDescriptors:s,syncResult:a,options:r,isMaxBuffer:p,verboseInfo:i}),O=m.map((R,M)=>ae(R,r,M)),w=ae(RD(m,r),r,"all");return T2({error:y,exitCode:l,signal:D,timedOut:f,isMaxBuffer:p,stdio:O,all:w,options:r,command:n,escapedCommand:o,startTime:u})},A2=({file:e,commandArguments:t,options:r,command:n,escapedCommand:o,fileDescriptors:i,startTime:s})=>{try{BD(i,r);let u=B2(r);return(0,LD.spawnSync)(e,t,u)}catch(u){return Ve({error:u,command:n,escapedCommand:o,fileDescriptors:i,options:r,startTime:s,isSync:!0})}},B2=({encoding:e,maxBuffer:t,...r})=>({...r,encoding:"buffer",maxBuffer:Gr(t)}),T2=({error:e,exitCode:t,signal:r,timedOut:n,isMaxBuffer:o,stdio:i,all:s,options:u,command:a,escapedCommand:c,startTime:l})=>e===void 0?zr({command:a,escapedCommand:c,stdio:i,all:s,ipcOutput:[],options:u,startTime:l}):At({error:e,command:a,escapedCommand:c,timedOut:n,isCanceled:!1,isGracefullyCanceled:!1,isMaxBuffer:o,isForcefullyTerminated:!1,exitCode:t,signal:r,stdio:i,all:s,ipcOutput:[],options:u,startTime:l,isSync:!0});var qf=require("node:events"),Vf=require("node:child_process");var Di=g(require("node:process"),1);var Je=require("node:events");var $D=({anyProcess:e,channel:t,isSubprocess:r,ipc:n},{reference:o=!0,filter:i}={})=>(Ge({methodName:"getOneMessage",isSubprocess:r,ipc:n,isConnected:Br(e)}),_2({anyProcess:e,channel:t,isSubprocess:r,filter:i,reference:o})),_2=async({anyProcess:e,channel:t,isSubprocess:r,filter:n,reference:o})=>{wr(t,o);let i=de(e,t,r),s=new AbortController;try{return await Promise.race([O2(i,n,s),v2(i,r,s),R2(i,r,s)])}catch(u){throw ze(e),u}finally{s.abort(),xr(t,o)}},O2=async(e,t,{signal:r})=>{if(t===void 0){let[n]=await(0,Je.once)(e,"message",{signal:r});return n}for await(let[n]of(0,Je.on)(e,"message",{signal:r}))if(t(n))return n},v2=async(e,t,{signal:r})=>{await(0,Je.once)(e,"disconnect",{signal:r}),ac(t)},R2=async(e,t,{signal:r})=>{let[n]=await(0,Je.once)(e,"strict:error",{signal:r});throw Cr(n,t)};var _t=require("node:events");var UD=({anyProcess:e,channel:t,isSubprocess:r,ipc:n},{reference:o=!0}={})=>li({anyProcess:e,channel:t,isSubprocess:r,ipc:n,shouldAwait:!r,reference:o}),li=({anyProcess:e,channel:t,isSubprocess:r,ipc:n,shouldAwait:o,reference:i})=>{Ge({methodName:"getEachMessage",isSubprocess:r,ipc:n,isConnected:Br(e)}),wr(t,i);let s=de(e,t,r),u=new AbortController,a={};return I2(e,s,u),M2({ipcEmitter:s,isSubprocess:r,controller:u,state:a}),P2({anyProcess:e,channel:t,ipcEmitter:s,isSubprocess:r,shouldAwait:o,controller:u,state:a,reference:i})},I2=async(e,t,r)=>{try{await(0,_t.once)(t,"disconnect",{signal:r.signal}),r.abort()}catch{}},M2=async({ipcEmitter:e,isSubprocess:t,controller:r,state:n})=>{try{let[o]=await(0,_t.once)(e,"strict:error",{signal:r.signal});n.error=Cr(o,t),r.abort()}catch{}},P2=async function*({anyProcess:e,channel:t,ipcEmitter:r,isSubprocess:n,shouldAwait:o,controller:i,state:s,reference:u}){try{for await(let[a]of(0,_t.on)(r,"message",{signal:i.signal}))jD(s),yield a}catch{jD(s)}finally{i.abort(),xr(t,u),n||ze(e),o&&await e}},jD=({error:e})=>{if(e)throw e};var GD=(e,{ipc:t})=>{Object.assign(e,WD(e,!1,t))},zD=()=>{let e=Di.default,t=!0,r=Di.default.channel!==void 0;return{...WD(e,t,r),getCancelSignal:Gc.bind(void 0,{anyProcess:e,channel:e.channel,isSubprocess:t,ipc:r})}},WD=(e,t,r)=>({sendMessage:vr.bind(void 0,{anyProcess:e,channel:e.channel,isSubprocess:t,ipc:r}),getOneMessage:$D.bind(void 0,{anyProcess:e,channel:e.channel,isSubprocess:t,ipc:r}),getEachMessage:UD.bind(void 0,{anyProcess:e,channel:e.channel,isSubprocess:t,ipc:r})});var YD=require("node:child_process"),he=require("node:stream");var qD=({error:e,command:t,escapedCommand:r,fileDescriptors:n,options:o,startTime:i,verboseInfo:s})=>{ei(n);let u=new YD.ChildProcess;k2(u,n),Object.assign(u,{readable:L2,writable:N2,duplex:$2});let a=Ve({error:e,command:t,escapedCommand:r,fileDescriptors:n,options:o,startTime:i,isSync:!1}),c=j2(a,s,o);return{subprocess:u,promise:c}},k2=(e,t)=>{let r=Ot(),n=Ot(),o=Ot(),i=Array.from({length:t.length-3},Ot),s=Ot(),u=[r,n,o,...i];Object.assign(e,{stdin:r,stdout:n,stderr:o,all:s,stdio:u})},Ot=()=>{let e=new he.PassThrough;return e.end(),e},L2=()=>new he.Readable({read(){}}),N2=()=>new he.Writable({write(){}}),$2=()=>new he.Duplex({read(){},write(){}}),j2=async(e,t,r)=>He(e,t,r);var Xe=require("node:fs"),HD=require("node:buffer"),te=require("node:stream");var KD=(e,t)=>Hr(U2,e,t,!1),vt=({type:e,optionName:t})=>{throw new TypeError(`The \`${t}\` option cannot be ${me[e]}.`)},VD={fileNumber:vt,generator:ai,asyncGenerator:ai,nodeStream:({value:e})=>({stream:e}),webTransform({value:{transform:e,writableObjectMode:t,readableObjectMode:r}}){let n=t||r;return{stream:te.Duplex.fromWeb(e,{objectMode:n})}},duplex:({value:{transform:e}})=>({stream:e}),native(){}},U2={input:{...VD,fileUrl:({value:e})=>({stream:(0,Xe.createReadStream)(e)}),filePath:({value:{file:e}})=>({stream:(0,Xe.createReadStream)(e)}),webStream:({value:e})=>({stream:te.Readable.fromWeb(e)}),iterable:({value:e})=>({stream:te.Readable.from(e)}),asyncIterable:({value:e})=>({stream:te.Readable.from(e)}),string:({value:e})=>({stream:te.Readable.from(e)}),uint8Array:({value:e})=>({stream:te.Readable.from(HD.Buffer.from(e))})},output:{...VD,fileUrl:({value:e})=>({stream:(0,Xe.createWriteStream)(e)}),filePath:({value:{file:e,append:t}})=>({stream:(0,Xe.createWriteStream)(e,t?{flags:"a"}:{})}),webStream:({value:e})=>({stream:te.Writable.fromWeb(e)}),iterable:vt,asyncIterable:vt,string:vt,uint8Array:vt}};var Rt=require("node:events"),on=require("node:stream"),di=require("node:stream/promises");function Be(e){if(!Array.isArray(e))throw new TypeError(`Expected an array, got \`${typeof e}\`.`);for(let o of e)pi(o);let t=e.some(({readableObjectMode:o})=>o),r=G2(e,t),n=new fi({objectMode:t,writableHighWaterMark:r,readableHighWaterMark:r});for(let o of e)n.add(o);return n}var G2=(e,t)=>{if(e.length===0)return(0,on.getDefaultHighWaterMark)(t);let r=e.filter(({readableObjectMode:n})=>n===t).map(({readableHighWaterMark:n})=>n);return Math.max(...r)},fi=class extends on.PassThrough{#r=new Set([]);#o=new Set([]);#e=new Set([]);#n;#u=Symbol("unpipe");#t=new WeakMap;add(t){if(pi(t),this.#r.has(t))return;this.#r.add(t),this.#n??=z2(this,this.#r,this.#u);let r=q2({passThroughStream:this,stream:t,streams:this.#r,ended:this.#o,aborted:this.#e,onFinished:this.#n,unpipeEvent:this.#u});this.#t.set(t,r),t.pipe(this,{end:!1})}async remove(t){if(pi(t),!this.#r.has(t))return!1;let r=this.#t.get(t);return r===void 0?!1:(this.#t.delete(t),t.unpipe(this),await r,!0)}},z2=async(e,t,r)=>{nn(e,JD);let n=new AbortController;try{await Promise.race([W2(e,n),Y2(e,t,r,n)])}finally{n.abort(),nn(e,-JD)}},W2=async(e,{signal:t})=>{try{await(0,di.finished)(e,{signal:t,cleanup:!0})}catch(r){throw ZD(e,r),r}},Y2=async(e,t,r,{signal:n})=>{for await(let[o]of(0,Rt.on)(e,"unpipe",{signal:n}))t.has(o)&&o.emit(r)},pi=e=>{if(typeof e?.pipe!="function")throw new TypeError(`Expected a readable stream, got: \`${typeof e}\`.`)},q2=async({passThroughStream:e,stream:t,streams:r,ended:n,aborted:o,onFinished:i,unpipeEvent:s})=>{nn(e,XD);let u=new AbortController;try{await Promise.race([V2(i,t,u),H2({passThroughStream:e,stream:t,streams:r,ended:n,aborted:o,controller:u}),K2({stream:t,streams:r,ended:n,aborted:o,unpipeEvent:s,controller:u})])}finally{u.abort(),nn(e,-XD)}r.size>0&&r.size===n.size+o.size&&(n.size===0&&o.size>0?mi(e):J2(e))},V2=async(e,t,{signal:r})=>{try{await e,r.aborted||mi(t)}catch(n){r.aborted||ZD(t,n)}},H2=async({passThroughStream:e,stream:t,streams:r,ended:n,aborted:o,controller:{signal:i}})=>{try{await(0,di.finished)(t,{signal:i,cleanup:!0,readable:!0,writable:!1}),r.has(t)&&n.add(t)}catch(s){if(i.aborted||!r.has(t))return;QD(s)?o.add(t):ef(e,s)}},K2=async({stream:e,streams:t,ended:r,aborted:n,unpipeEvent:o,controller:{signal:i}})=>{if(await(0,Rt.once)(e,o,{signal:i}),!e.readable)return(0,Rt.once)(i,"abort",{signal:i});t.delete(e),r.delete(e),n.delete(e)},J2=e=>{e.writable&&e.end()},ZD=(e,t)=>{QD(t)?mi(e):ef(e,t)},QD=e=>e?.code==="ERR_STREAM_PREMATURE_CLOSE",mi=e=>{(e.readable||e.writable)&&e.destroy()},ef=(e,t)=>{e.destroyed||(e.once("error",X2),e.destroy(t))},X2=()=>{},nn=(e,t)=>{let r=e.getMaxListeners();r!==0&&r!==Number.POSITIVE_INFINITY&&e.setMaxListeners(r+t)},JD=2,XD=1;var hi=require("node:stream/promises");var Ze=(e,t)=>{e.pipe(t),Z2(e,t),Q2(e,t)},Z2=async(e,t)=>{if(!(q(e)||q(t))){try{await(0,hi.finished)(e,{cleanup:!0,readable:!0,writable:!1})}catch{}Fi(t)}},Fi=e=>{e.writable&&e.end()},Q2=async(e,t)=>{if(!(q(e)||q(t))){try{await(0,hi.finished)(t,{cleanup:!0,readable:!1,writable:!0})}catch{}gi(e)}},gi=e=>{e.readable&&e.destroy()};var tf=(e,t,r)=>{let n=new Map;for(let[o,{stdioItems:i,direction:s}]of Object.entries(t)){for(let{stream:u}of i.filter(({type:a})=>U.has(a)))eE(e,u,s,o);for(let{stream:u}of i.filter(({type:a})=>!U.has(a)))rE({subprocess:e,stream:u,direction:s,fdNumber:o,pipeGroups:n,controller:r})}for(let[o,i]of n.entries()){let s=i.length===1?i[0]:Be(i);Ze(s,o)}},eE=(e,t,r,n)=>{r==="output"?Ze(e.stdio[n],t):Ze(t,e.stdio[n]);let o=tE[n];o!==void 0&&(e[o]=t),e.stdio[n]=t},tE=["stdin","stdout","stderr"],rE=({subprocess:e,stream:t,direction:r,fdNumber:n,pipeGroups:o,controller:i})=>{if(t===void 0)return;nE(t,i);let[s,u]=r==="output"?[t,e.stdio[n]]:[e.stdio[n],t],a=o.get(s)??[];o.set(s,[...a,u])},nE=(e,{signal:t})=>{q(e)&&we(e,oE,t)},oE=2;var rf=require("node:events");var nf=(e,{cleanup:t,detached:r},{signal:n})=>{if(!t||r)return;let o=Wt(()=>{e.kill()});(0,rf.addAbortListener)(n,()=>{o()})};var sf=({source:e,sourcePromise:t,boundOptions:r,createNested:n},...o)=>{let i=fr(),{destination:s,destinationStream:u,destinationError:a,from:c,unpipeSignal:l}=iE(r,n,o),{sourceStream:D,sourceError:f}=uE(e,c),{options:p,fileDescriptors:m}=Z.get(e);return{sourcePromise:t,sourceStream:D,sourceOptions:p,sourceError:f,destination:s,destinationStream:u,destinationError:a,unpipeSignal:l,fileDescriptors:m,startTime:i}},iE=(e,t,r)=>{try{let{destination:n,pipeOptions:{from:o,to:i,unpipeSignal:s}={}}=sE(e,t,...r),u=br(n,i);return{destination:n,destinationStream:u,from:o,unpipeSignal:s}}catch(n){return{destinationError:n}}},sE=(e,t,r,...n)=>{if(Array.isArray(r))return{destination:t(of,e)(r,...n),pipeOptions:e};if(typeof r=="string"||r instanceof URL||uo(r)){if(Object.keys(e).length>0)throw new TypeError('Please use .pipe("file", ..., options) or .pipe(execa("file", ..., options)) instead of .pipe(options)("file", ...).');let[o,i,s]=tr(r,...n);return{destination:t(of)(o,i,s),pipeOptions:s}}if(Z.has(r)){if(Object.keys(e).length>0)throw new TypeError("Please use .pipe(options)`command` or .pipe($(options)`command`) instead of .pipe(options)($`command`).");return{destination:r,pipeOptions:n[0]}}throw new TypeError(`The first argument must be a template string, an options object, or an Execa subprocess: ${r}`)},of=({options:e})=>({options:{...e,stdin:"pipe",piped:!0}}),uE=(e,t)=>{try{return{sourceStream:We(e,t)}}catch(r){return{sourceError:r}}};var af=({sourceStream:e,sourceError:t,destinationStream:r,destinationError:n,fileDescriptors:o,sourceOptions:i,startTime:s})=>{let u=aE({sourceStream:e,sourceError:t,destinationStream:r,destinationError:n});if(u!==void 0)throw Ei({error:u,fileDescriptors:o,sourceOptions:i,startTime:s})},aE=({sourceStream:e,sourceError:t,destinationStream:r,destinationError:n})=>{if(t!==void 0&&n!==void 0)return n;if(n!==void 0)return gi(e),n;if(t!==void 0)return Fi(r),t},Ei=({error:e,fileDescriptors:t,sourceOptions:r,startTime:n})=>Ve({error:e,command:uf,escapedCommand:uf,fileDescriptors:t,options:r,startTime:n,isSync:!1}),uf="source.pipe(destination)";var cf=async e=>{let[{status:t,reason:r,value:n=r},{status:o,reason:i,value:s=i}]=await e;if(s.pipedFrom.includes(n)||s.pipedFrom.push(n),o==="rejected")throw s;if(t==="rejected")throw n;return s};var lf=require("node:stream/promises");var Df=(e,t,r)=>{let n=sn.has(t)?lE(e,t):cE(e,t);return we(e,fE,r.signal),we(t,pE,r.signal),DE(t),n},cE=(e,t)=>{let r=Be([e]);return Ze(r,t),sn.set(t,r),r},lE=(e,t)=>{let r=sn.get(t);return r.add(e),r},DE=async e=>{try{await(0,lf.finished)(e,{cleanup:!0,readable:!1,writable:!0})}catch{}sn.delete(e)},sn=new WeakMap,fE=2,pE=1;var ff=require("node:util");var pf=(e,t)=>e===void 0?[]:[dE(e,t)],dE=async(e,{sourceStream:t,mergedStream:r,fileDescriptors:n,sourceOptions:o,startTime:i})=>{await(0,ff.aborted)(e,t),await r.remove(t);let s=new Error("Pipe canceled by `unpipeSignal` option.");throw Ei({error:s,fileDescriptors:n,sourceOptions:o,startTime:i})};var un=(e,...t)=>{if(_(t[0]))return un.bind(void 0,{...e,boundOptions:{...e.boundOptions,...t[0]}});let{destination:r,...n}=sf(e,...t),o=mE({...n,destination:r});return o.pipe=un.bind(void 0,{...e,source:r,sourcePromise:o,boundOptions:{}}),o},mE=async({sourcePromise:e,sourceStream:t,sourceOptions:r,sourceError:n,destination:o,destinationStream:i,destinationError:s,unpipeSignal:u,fileDescriptors:a,startTime:c})=>{let l=hE(e,o);af({sourceStream:t,sourceError:n,destinationStream:i,destinationError:s,fileDescriptors:a,sourceOptions:r,startTime:c});let D=new AbortController;try{let f=Df(t,i,D);return await Promise.race([cf(l),...pf(u,{sourceStream:t,mergedStream:f,sourceOptions:r,fileDescriptors:a,startTime:c})])}finally{D.abort()}},hE=(e,t)=>Promise.allSettled([e,t]);var gf=require("node:timers/promises");var mf=require("node:events"),hf=require("node:stream");var an=({subprocessStdout:e,subprocess:t,binary:r,shouldEncode:n,encoding:o,preserveNewlines:i})=>{let s=new AbortController;return FE(t,s),Ff({stream:e,controller:s,binary:r,shouldEncode:!e.readableObjectMode&&n,encoding:o,shouldSplit:!e.readableObjectMode,preserveNewlines:i})},FE=async(e,t)=>{try{await e}catch{}finally{t.abort()}},Ci=({stream:e,onStreamEnd:t,lines:r,encoding:n,stripFinalNewline:o,allMixed:i})=>{let s=new AbortController;gE(t,s,e);let u=e.readableObjectMode&&!i;return Ff({stream:e,controller:s,binary:n==="buffer",shouldEncode:!u,encoding:n,shouldSplit:!u&&r,preserveNewlines:!o})},gE=async(e,t,r)=>{try{await e}catch{r.destroy()}finally{t.abort()}},Ff=({stream:e,controller:t,binary:r,shouldEncode:n,encoding:o,shouldSplit:i,preserveNewlines:s})=>{let u=(0,mf.on)(e,"data",{signal:t.signal,highWaterMark:df,highWatermark:df});return EE({onStdoutChunk:u,controller:t,binary:r,shouldEncode:n,encoding:o,shouldSplit:i,preserveNewlines:s})},yi=(0,hf.getDefaultHighWaterMark)(!0),df=yi,EE=async function*({onStdoutChunk:e,controller:t,binary:r,shouldEncode:n,encoding:o,shouldSplit:i,preserveNewlines:s}){let u=CE({binary:r,shouldEncode:n,encoding:o,shouldSplit:i,preserveNewlines:s});try{for await(let[a]of e)yield*Ae(a,u,0)}catch(a){if(!t.signal.aborted)throw a}finally{yield*Bt(u)}},CE=({binary:e,shouldEncode:t,encoding:r,shouldSplit:n,preserveNewlines:o})=>[Jr(e,r,!t),Kr(e,o,!n,{})].filter(Boolean);var Ef=async({stream:e,onStreamEnd:t,fdNumber:r,encoding:n,buffer:o,maxBuffer:i,lines:s,allMixed:u,stripFinalNewline:a,verboseInfo:c,streamInfo:l})=>{let D=yE({stream:e,onStreamEnd:t,fdNumber:r,encoding:n,allMixed:u,verboseInfo:c,streamInfo:l});if(!o){await Promise.all([bE(e),D]);return}let f=ri(a,r),p=Ci({stream:e,onStreamEnd:t,lines:s,encoding:n,stripFinalNewline:f,allMixed:u}),[m]=await Promise.all([wE({stream:e,iterable:p,fdNumber:r,encoding:n,maxBuffer:i,lines:s}),D]);return m},yE=async({stream:e,onStreamEnd:t,fdNumber:r,encoding:n,allMixed:o,verboseInfo:i,streamInfo:{fileDescriptors:s}})=>{if(!Qr({stdioItems:s[r]?.stdioItems,encoding:n,verboseInfo:i,fdNumber:r}))return;let u=Ci({stream:e,onStreamEnd:t,lines:!0,encoding:n,stripFinalNewline:!0,allMixed:o});await TD(u,e,r,i)},bE=async e=>{await(0,gf.setImmediate)(),e.readableFlowing===null&&e.resume()},wE=async({stream:e,stream:{readableObjectMode:t},iterable:r,fdNumber:n,encoding:o,maxBuffer:i,lines:s})=>{try{return t||s?await Nr(r,{maxBuffer:i}):o==="buffer"?new Uint8Array(await $r(r,{maxBuffer:i})):await Ur(r,{maxBuffer:i})}catch(u){return Cf(Sl({error:u,stream:e,readableObjectMode:t,lines:s,encoding:o,fdNumber:n}))}},bi=async e=>{try{return await e}catch(t){return Cf(t)}},Cf=({bufferedData:e})=>Eu(e)?new Uint8Array(e):e;var bf=require("node:stream/promises"),It=async(e,t,r,{isSameDirection:n,stopOnExit:o=!1}={})=>{let i=xE(e,r),s=new AbortController;try{await Promise.race([...o?[r.exitPromise]:[],(0,bf.finished)(e,{cleanup:!0,signal:s.signal})])}catch(u){i.stdinCleanedUp||BE(u,t,r,n)}finally{s.abort()}},xE=(e,{originalStreams:[t],subprocess:r})=>{let n={stdinCleanedUp:!1};return e===t&&SE(e,r,n),n},SE=(e,t,r)=>{let{_destroy:n}=e;e._destroy=(...o)=>{AE(t,r),n.call(e,...o)}},AE=({exitCode:e,signalCode:t},r)=>{(e!==null||t!==null)&&(r.stdinCleanedUp=!0)},BE=(e,t,r,n)=>{if(!TE(e,t,r,n))throw e},TE=(e,t,r,n=!0)=>r.propagating?yf(e)||cn(e):(r.propagating=!0,wi(r,t)===n?yf(e):cn(e)),wi=({fileDescriptors:e},t)=>t!=="all"&&e[t].direction==="input",cn=e=>e?.code==="ERR_STREAM_PREMATURE_CLOSE",yf=e=>e?.code==="EPIPE";var wf=({subprocess:e,encoding:t,buffer:r,maxBuffer:n,lines:o,stripFinalNewline:i,verboseInfo:s,streamInfo:u})=>e.stdio.map((a,c)=>xi({stream:a,fdNumber:c,encoding:t,buffer:r[c],maxBuffer:n[c],lines:o[c],allMixed:!1,stripFinalNewline:i,verboseInfo:s,streamInfo:u})),xi=async({stream:e,fdNumber:t,encoding:r,buffer:n,maxBuffer:o,lines:i,allMixed:s,stripFinalNewline:u,verboseInfo:a,streamInfo:c})=>{if(!e)return;let l=It(e,t,c);if(wi(c,t)){await l;return}let[D]=await Promise.all([Ef({stream:e,onStreamEnd:l,fdNumber:t,encoding:r,buffer:n,maxBuffer:o,lines:i,allMixed:s,stripFinalNewline:u,verboseInfo:a,streamInfo:c}),l]);return D};var xf=({stdout:e,stderr:t},{all:r})=>r&&(e||t)?Be([e,t].filter(Boolean)):void 0,Sf=({subprocess:e,encoding:t,buffer:r,maxBuffer:n,lines:o,stripFinalNewline:i,verboseInfo:s,streamInfo:u})=>xi({..._E(e,r),fdNumber:"all",encoding:t,maxBuffer:n[1]+n[2],lines:o[1]||o[2],allMixed:OE(e),stripFinalNewline:i,verboseInfo:s,streamInfo:u}),_E=({stdout:e,stderr:t,all:r},[,n,o])=>{let i=n||o;return i?n?o?{stream:r,buffer:i}:{stream:e,buffer:i}:{stream:t,buffer:i}:{stream:r,buffer:i}},OE=({all:e,stdout:t,stderr:r})=>e&&t&&r&&t.readableObjectMode!==r.readableObjectMode;var Of=require("node:events");var Af=e=>Ne(e,"ipc"),Bf=(e,t)=>{let r=Dr(e);J({type:"ipc",verboseMessage:r,fdNumber:"ipc",verboseInfo:t})};var Tf=async({subprocess:e,buffer:t,maxBuffer:r,ipc:n,ipcOutput:o,verboseInfo:i})=>{if(!n)return o;let s=Af(i),u=se(t,"ipc"),a=se(r,"ipc");for await(let c of li({anyProcess:e,channel:e.channel,isSubprocess:!1,ipc:n,shouldAwait:!1,reference:!0}))u&&(Al(e,o,a),o.push(c)),s&&Bf(c,i);return o},_f=async(e,t)=>(await Promise.allSettled([e]),t);var vf=async({subprocess:e,options:{encoding:t,buffer:r,maxBuffer:n,lines:o,timeoutDuration:i,cancelSignal:s,gracefulCancel:u,forceKillAfterDelay:a,stripFinalNewline:c,ipc:l,ipcInput:D},context:f,verboseInfo:p,fileDescriptors:m,originalStreams:y,onInternalError:O,controller:w})=>{let R=ID(e,f),M={originalStreams:y,fileDescriptors:m,subprocess:e,exitPromise:R,propagating:!1},k=wf({subprocess:e,encoding:t,buffer:r,maxBuffer:n,lines:o,stripFinalNewline:c,verboseInfo:p,streamInfo:M}),re=Sf({subprocess:e,encoding:t,buffer:r,maxBuffer:n,lines:o,stripFinalNewline:c,verboseInfo:p,streamInfo:M}),ce=[],Ce=Tf({subprocess:e,buffer:r,maxBuffer:n,ipc:l,ipcOutput:ce,verboseInfo:p}),_e=vE(y,e,M),le=RE(m,M);try{return await Promise.race([Promise.all([{},PD(R),Promise.all(k),re,Ce,Qc(e,D),..._e,...le]),O,IE(e,w),...Hc(e,i,f,w),...uc({subprocess:e,cancelSignal:s,gracefulCancel:u,context:f,controller:w}),...Yc({subprocess:e,cancelSignal:s,gracefulCancel:u,forceKillAfterDelay:a,context:f,controller:w})])}catch(Sn){return f.terminationReason??="other",Promise.all([{error:Sn},R,Promise.all(k.map(ot=>bi(ot))),bi(re),_f(Ce,ce),Promise.allSettled(_e),Promise.allSettled(le)])}},vE=(e,t,r)=>e.map((n,o)=>n===t.stdio[o]?void 0:It(n,o,r)),RE=(e,t)=>e.flatMap(({stdioItems:r},n)=>r.filter(({value:o,stream:i=o})=>K(i,{checkOpen:!1})&&!q(i)).map(({type:o,value:i,stream:s=i})=>It(s,n,t,{isSameDirection:U.has(o),stopOnExit:o==="native"}))),IE=async(e,{signal:t})=>{let[r]=await(0,Of.once)(e,"error",{signal:t});throw r};var Rf=()=>({readableDestroy:new WeakMap,writableFinal:new WeakMap,writableDestroy:new WeakMap}),Mt=(e,t,r)=>{let n=e[r];n.has(t)||n.set(t,[]);let o=n.get(t),i=X();return o.push(i),{resolve:i.resolve.bind(i),promises:o}},Qe=async({resolve:e,promises:t},r)=>{e();let[n]=await Promise.race([Promise.allSettled([!0,r]),Promise.all([!1,...t])]);return!n};var Mf=require("node:stream"),Pf=require("node:util");var Si=require("node:stream/promises");var Ai=async e=>{if(e!==void 0)try{await Bi(e)}catch{}},If=async e=>{if(e!==void 0)try{await Ti(e)}catch{}},Bi=async e=>{await(0,Si.finished)(e,{cleanup:!0,readable:!1,writable:!0})},Ti=async e=>{await(0,Si.finished)(e,{cleanup:!0,readable:!0,writable:!1})},ln=async(e,t)=>{if(await e,t)throw t},Dn=(e,t,r)=>{r&&!cn(r)?e.destroy(r):t&&e.destroy()};var kf=({subprocess:e,concurrentStreams:t,encoding:r},{from:n,binary:o=!0,preserveNewlines:i=!0}={})=>{let s=o||P.has(r),{subprocessStdout:u,waitReadableDestroy:a}=_i(e,n,t),{readableEncoding:c,readableObjectMode:l,readableHighWaterMark:D}=Oi(u,s),{read:f,onStdoutDataDone:p}=vi({subprocessStdout:u,subprocess:e,binary:s,encoding:r,preserveNewlines:i}),m=new Mf.Readable({read:f,destroy:(0,Pf.callbackify)(Ii.bind(void 0,{subprocessStdout:u,subprocess:e,waitReadableDestroy:a})),highWaterMark:D,objectMode:l,encoding:c});return Ri({subprocessStdout:u,onStdoutDataDone:p,readable:m,subprocess:e}),m},_i=(e,t,r)=>{let n=We(e,t),o=Mt(r,n,"readableDestroy");return{subprocessStdout:n,waitReadableDestroy:o}},Oi=({readableEncoding:e,readableObjectMode:t,readableHighWaterMark:r},n)=>n?{readableEncoding:e,readableObjectMode:t,readableHighWaterMark:r}:{readableEncoding:e,readableObjectMode:!0,readableHighWaterMark:yi},vi=({subprocessStdout:e,subprocess:t,binary:r,encoding:n,preserveNewlines:o})=>{let i=X(),s=an({subprocessStdout:e,subprocess:t,binary:r,shouldEncode:!r,encoding:n,preserveNewlines:o});return{read(){ME(this,s,i)},onStdoutDataDone:i}},ME=async(e,t,r)=>{try{let{value:n,done:o}=await t.next();o?r.resolve():e.push(n)}catch{}},Ri=async({subprocessStdout:e,onStdoutDataDone:t,readable:r,subprocess:n,subprocessStdin:o})=>{try{await Ti(e),await n,await Ai(o),await t,r.readable&&r.push(null)}catch(i){await Ai(o),Lf(r,i)}},Ii=async({subprocessStdout:e,subprocess:t,waitReadableDestroy:r},n)=>{await Qe(r,t)&&(Lf(e,n),await ln(t,n))},Lf=(e,t)=>{Dn(e,e.readable,t)};var Nf=require("node:stream"),Mi=require("node:util");var $f=({subprocess:e,concurrentStreams:t},{to:r}={})=>{let{subprocessStdin:n,waitWritableFinal:o,waitWritableDestroy:i}=Pi(e,r,t),s=new Nf.Writable({...ki(n,e,o),destroy:(0,Mi.callbackify)(Ni.bind(void 0,{subprocessStdin:n,subprocess:e,waitWritableFinal:o,waitWritableDestroy:i})),highWaterMark:n.writableHighWaterMark,objectMode:n.writableObjectMode});return Li(n,s),s},Pi=(e,t,r)=>{let n=br(e,t),o=Mt(r,n,"writableFinal"),i=Mt(r,n,"writableDestroy");return{subprocessStdin:n,waitWritableFinal:o,waitWritableDestroy:i}},ki=(e,t,r)=>({write:PE.bind(void 0,e),final:(0,Mi.callbackify)(kE.bind(void 0,e,t,r))}),PE=(e,t,r,n)=>{e.write(t,r)?n():e.once("drain",n)},kE=async(e,t,r)=>{await Qe(r,t)&&(e.writable&&e.end(),await t)},Li=async(e,t,r)=>{try{await Bi(e),t.writable&&t.end()}catch(n){await If(r),jf(t,n)}},Ni=async({subprocessStdin:e,subprocess:t,waitWritableFinal:r,waitWritableDestroy:n},o)=>{await Qe(r,t),await Qe(n,t)&&(jf(e,o),await ln(t,o))},jf=(e,t)=>{Dn(e,e.writable,t)};var Uf=require("node:stream"),Gf=require("node:util");var zf=({subprocess:e,concurrentStreams:t,encoding:r},{from:n,to:o,binary:i=!0,preserveNewlines:s=!0}={})=>{let u=i||P.has(r),{subprocessStdout:a,waitReadableDestroy:c}=_i(e,n,t),{subprocessStdin:l,waitWritableFinal:D,waitWritableDestroy:f}=Pi(e,o,t),{readableEncoding:p,readableObjectMode:m,readableHighWaterMark:y}=Oi(a,u),{read:O,onStdoutDataDone:w}=vi({subprocessStdout:a,subprocess:e,binary:u,encoding:r,preserveNewlines:s}),R=new Uf.Duplex({read:O,...ki(l,e,D),destroy:(0,Gf.callbackify)(LE.bind(void 0,{subprocessStdout:a,subprocessStdin:l,subprocess:e,waitReadableDestroy:c,waitWritableFinal:D,waitWritableDestroy:f})),readableHighWaterMark:y,writableHighWaterMark:l.writableHighWaterMark,readableObjectMode:m,writableObjectMode:l.writableObjectMode,encoding:p});return Ri({subprocessStdout:a,onStdoutDataDone:w,readable:R,subprocess:e,subprocessStdin:l}),Li(l,R,a),R},LE=async({subprocessStdout:e,subprocessStdin:t,subprocess:r,waitReadableDestroy:n,waitWritableFinal:o,waitWritableDestroy:i},s)=>{await Promise.all([Ii({subprocessStdout:e,subprocess:r,waitReadableDestroy:n},s),Ni({subprocessStdin:t,subprocess:r,waitWritableFinal:o,waitWritableDestroy:i},s)])};var $i=(e,t,{from:r,binary:n=!1,preserveNewlines:o=!1}={})=>{let i=n||P.has(t),s=We(e,r),u=an({subprocessStdout:s,subprocess:e,binary:i,shouldEncode:!0,encoding:t,preserveNewlines:o});return NE(u,s,e)},NE=async function*(e,t,r){try{yield*e}finally{t.readable&&t.destroy(),await r}};var Wf=(e,{encoding:t})=>{let r=Rf();e.readable=kf.bind(void 0,{subprocess:e,concurrentStreams:r,encoding:t}),e.writable=$f.bind(void 0,{subprocess:e,concurrentStreams:r}),e.duplex=zf.bind(void 0,{subprocess:e,concurrentStreams:r,encoding:t}),e.iterable=$i.bind(void 0,e,t),e[Symbol.asyncIterator]=$i.bind(void 0,e,t,{})};var Yf=(e,t)=>{for(let[r,n]of jE){let o=n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:o})}},$E=(async()=>{})().constructor.prototype,jE=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor($E,e)]);var Hf=(e,t,r,n)=>{let{file:o,commandArguments:i,command:s,escapedCommand:u,startTime:a,verboseInfo:c,options:l,fileDescriptors:D}=UE(e,t,r),{subprocess:f,promise:p}=zE({file:o,commandArguments:i,options:l,startTime:a,verboseInfo:c,command:s,escapedCommand:u,fileDescriptors:D});return f.pipe=un.bind(void 0,{source:f,sourcePromise:p,boundOptions:{},createNested:n}),Yf(f,p),Z.set(f,{options:l,fileDescriptors:D}),f},UE=(e,t,r)=>{let{command:n,escapedCommand:o,startTime:i,verboseInfo:s}=pr(e,t,r),{file:u,commandArguments:a,options:c}=Mr(e,t,r),l=GE(c),D=KD(l,s);return{file:u,commandArguments:a,command:n,escapedCommand:o,startTime:i,verboseInfo:s,options:l,fileDescriptors:D}},GE=({timeout:e,signal:t,...r})=>{if(t!==void 0)throw new TypeError('The "signal" option has been renamed to "cancelSignal" instead.');return{...r,timeoutDuration:e}},zE=({file:e,commandArguments:t,options:r,startTime:n,verboseInfo:o,command:i,escapedCommand:s,fileDescriptors:u})=>{let a;try{a=(0,Vf.spawn)(e,t,r)}catch(m){return qD({error:m,command:i,escapedCommand:s,fileDescriptors:u,options:r,startTime:n,verboseInfo:o})}let c=new AbortController;(0,qf.setMaxListeners)(Number.POSITIVE_INFINITY,c.signal);let l=[...a.stdio];tf(a,u,c),nf(a,r,c);let D={},f=X();a.kill=oc.bind(void 0,{kill:a.kill.bind(a),options:r,onInternalError:f,context:D,controller:c}),a.all=xf(a,r),Wf(a,r),GD(a,r);let p=WE({subprocess:a,options:r,startTime:n,verboseInfo:o,fileDescriptors:u,originalStreams:l,command:i,escapedCommand:s,context:D,onInternalError:f,controller:c});return{subprocess:a,promise:p}},WE=async({subprocess:e,options:t,startTime:r,verboseInfo:n,fileDescriptors:o,originalStreams:i,command:s,escapedCommand:u,context:a,onInternalError:c,controller:l})=>{let[D,[f,p],m,y,O]=await vf({subprocess:e,options:t,context:a,verboseInfo:n,fileDescriptors:o,originalStreams:i,onInternalError:c,controller:l});l.abort(),c.resolve();let w=m.map((k,re)=>ae(k,t,re)),R=ae(y,t,"all"),M=YE({errorInfo:D,exitCode:f,signal:p,stdio:w,all:R,ipcOutput:O,context:a,options:t,command:s,escapedCommand:u,startTime:r});return He(M,n,t)},YE=({errorInfo:e,exitCode:t,signal:r,stdio:n,all:o,ipcOutput:i,context:s,options:u,command:a,escapedCommand:c,startTime:l})=>"error"in e?At({error:e.error,command:a,escapedCommand:c,timedOut:s.terminationReason==="timeout",isCanceled:s.terminationReason==="cancel"||s.terminationReason==="gracefulCancel",isGracefullyCanceled:s.terminationReason==="gracefulCancel",isMaxBuffer:e.error instanceof Q,isForcefullyTerminated:s.isForcefullyTerminated,exitCode:t,signal:r,stdio:n,all:o,ipcOutput:i,options:u,startTime:l,isSync:!1}):zr({command:a,escapedCommand:c,stdio:n,all:o,ipcOutput:i,options:u,startTime:l});var fn=(e,t)=>{let r=Object.fromEntries(Object.entries(t).map(([n,o])=>[n,qE(n,e[n],o)]));return{...e,...r}},qE=(e,t,r)=>VE.has(e)&&_(t)&&_(r)?{...t,...r}:r,VE=new Set(["env",...fo]);var Fe=(e,t,r,n)=>{let o=(s,u,a)=>Fe(s,u,r,a),i=(...s)=>HE({mapArguments:e,deepOptions:r,boundOptions:t,setBoundExeca:n,createNested:o},...s);return n!==void 0&&n(i,o,t),i},HE=({mapArguments:e,deepOptions:t={},boundOptions:r={},setBoundExeca:n,createNested:o},i,...s)=>{if(_(i))return o(e,fn(r,i),n);let{file:u,commandArguments:a,options:c,isSync:l}=KE({mapArguments:e,firstArgument:i,nextArguments:s,deepOptions:t,boundOptions:r});return l?ND(u,a,c):Hf(u,a,c,o)},KE=({mapArguments:e,firstArgument:t,nextArguments:r,deepOptions:n,boundOptions:o})=>{let i=Au(t)?Bu(t,r):[t,...r],[s,u,a]=tr(...i),c=fn(fn(n,o),a),{file:l=s,commandArguments:D=u,options:f=c,isSync:p=!1}=e({file:s,commandArguments:u,options:c});return{file:l,commandArguments:D,options:f,isSync:p}};var Kf=({file:e,commandArguments:t})=>Xf(e,t),Jf=({file:e,commandArguments:t})=>({...Xf(e,t),isSync:!0}),Xf=(e,t)=>{if(t.length>0)throw new TypeError(`The command and its arguments must be passed as a single string: ${e} ${t}.`);let[r,...n]=JE(e);return{file:r,commandArguments:n}},JE=e=>{if(typeof e!="string")throw new TypeError(`The command must be a string: ${String(e)}.`);let t=e.trim();if(t==="")return[];let r=[];for(let n of t.split(XE)){let o=r.at(-1);o&&o.endsWith("\\")?r[r.length-1]=`${o.slice(0,-1)} ${n}`:r.push(n)}return r},XE=/ +/g;var Zf=(e,t,r)=>{e.sync=t(ZE,r),e.s=e.sync},Qf=({options:e})=>ep(e),ZE=({options:e})=>({...ep(e),isSync:!0}),ep=e=>({options:{...QE(e),...e}}),QE=({input:e,inputFile:t,stdio:r})=>e===void 0&&t===void 0&&r===void 0?{stdin:"inherit"}:{},tp={preferLocal:!0};var rp=Fe(()=>({})),YB=Fe(()=>({isSync:!0})),qB=Fe(Kf),VB=Fe(Jf),HB=Fe(Kc),KB=Fe(Qf,{},tp,Zf),{sendMessage:JB,getOneMessage:XB,getEachMessage:ZB,getCancelSignal:QB}=zD();async function ip(e){if(e=pn.default.resolve(e),e.endsWith("package.json")&&(e=e.replace(/package\.json$/,"")),!np.default.existsSync(e))throw`Directory ${e} does not exist`;let t=pn.default.join(op.tmpdir(),pn.default.basename(e));try{await rp("ray",["build","--output",t],{cwd:e})}catch{throw`Error building extension ${e}`}return t}var mn=g(require("fs"));async function ji(e,t=!1){e=dn.default.resolve(e);let r=mn.default.statSync(e).isDirectory(),n=dn.default.join(e,"package.json");if(e.endsWith("package.json")){if(!t){let o=Qn(`Building extension ${e}`).start();try{let i=await ip(e);e=dn.default.join(i,"package.json")}finally{o.stop()}}return JSON.parse(mn.default.readFileSync(e).toString())}if(r&&mn.default.existsSync(n))return ji(n);throw`${e}: no package.json file found`}async function sp(e,t,r){let n=st("raycastAccessToken"),o=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${n}`},body:JSON.stringify({packageJson:t})});if(!o.ok||o.body===null)throw await o.text();let i=o.body.getReader(),s=new TextDecoder("utf-8"),{done:u,value:a}=await i.read(),c="";for(;!u;){for(c+=s.decode(a,{stream:!0});c.includes(`
61
+
62
+ `);){let l=c.indexOf(`
63
+
64
+ `)+2,D=c.substring(0,l);c=c.substring(l),r(JSON.parse(D))}({done:u,value:a}=await i.read())}c&&(r(JSON.parse(c)),c="")}var Ee=g($p());var xC=e=>e==="meetsCriteria"?"":e.replace(/([A-Z])/g," $1").trim().split(" ").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ");function jp(e){if(typeof e=="string")return jp({name:e});let t=`Calls Tool ${e.name}`;return e.arguments&&(t+=` with arguments ${Object.keys(e.arguments).join(", ")}`),t}var Xi=e=>{if("meetsCriteria"in e)return e.meetsCriteria;if("callsTool"in e)return jp(e.callsTool);if("not"in e){let i=Xi(e.not).split(" ");return i[0].endsWith("s")&&(i[0]=i[0].slice(0,-1)),`Doesn't ${i.join(" ")}`}let t=Object.keys(e)[0],r=e[t],n=xC(t);return r?`${n} "${r}"`:n};var SC=(e,t=75)=>e?e.length<=t?e:e.slice(0,t)+"...":"";function AC(e){let t=e.input,r="messages"in t?t.messages[0]?.content.text:t,n=e.score*100,o=e.assertionResults||[],i="",s=`${Math.round(n)}%`.padStart(4)+` ${SC(r,200)}`;return i+=n>=100?Ee.default.green(s):Ee.default.red(s),i+=`
65
+ `,"error"in e?i+=` ${Ee.default.red(`Error: ${e.error}`)}
66
+ `:e.expected.forEach((u,a)=>{let c=o[a]?.result===1,l=Xi(u);i+=` ${c?Ee.default.green(l):Ee.default.red(l)}
67
+ `}),i}function Up(e){let t=e.length?e.reduce((n,o)=>n+o.score,0)/e.length*100:0;console.log();let r=t===100?Ee.default.green(`\u{1F4C8} Total Score: ${Math.round(t)}%`):Ee.default.red(`\u{1F4C9} Total Score: ${Math.round(t)}%`);console.log(r),console.log(),e.forEach(n=>{process.stdout.write(AC(n))})}var as=g(x0()),xn=class e extends er{static description="Run AI evals defined in extension package.json";static flags={skipBuild:wn.Flags.boolean({char:"s",default:!1,description:"Skip extension build step"}),extension:wn.Flags.string({char:"e",description:"Path to extension. Current directory is used by default",default:"./"}),apiEndpoint:wn.Flags.string({char:"a",description:"AI Evals API endpoint",default:"https://ai-evals.raycast.com/run-evals",hidden:!0})};async run(){let{flags:t}=await this.parse(e);mu();try{let r=await ji(t.extension,t.skipBuild);if(!r){console.error("Error parsing package.json");return}let n=0,o=[],i=new as.default.SingleBar({clearOnComplete:!1,hideCursor:!0,format:"\u{1F4BB} Running AI Evals {bar} | {name} | {value}/{total}"},as.default.Presets.shades_classic);i.start(r?.ai?.evals?.length||0,0,{name:r?.name||"Unknown"});try{await sp(t.apiEndpoint,r,s=>{i.update(++n),o[s.index]=s})}finally{i.stop()}Up(o)}catch(r){console.error(r)}}};