@design-edito/tools 0.2.37 → 0.2.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (749) hide show
  1. package/agnostic/arrays/dedupe/index.d.ts +7 -0
  2. package/agnostic/arrays/dedupe/index.js +10 -0
  3. package/agnostic/arrays/find-duplicates/index.d.ts +14 -0
  4. package/agnostic/arrays/find-duplicates/index.js +24 -5
  5. package/agnostic/arrays/find-duplicates/index.test.d.ts +1 -0
  6. package/agnostic/arrays/is-array-of/index.d.ts +15 -4
  7. package/agnostic/arrays/is-array-of/index.js +23 -4
  8. package/agnostic/arrays/is-array-of/index.test.d.ts +1 -0
  9. package/agnostic/arrays/make/index.d.ts +8 -0
  10. package/agnostic/arrays/make/index.js +6 -4
  11. package/agnostic/arrays/make/index.test.d.ts +1 -0
  12. package/agnostic/arrays/random-pick/index.d.ts +20 -0
  13. package/agnostic/arrays/random-pick/index.js +2 -10
  14. package/agnostic/arrays/random-pick/index.test.d.ts +1 -0
  15. package/agnostic/arrays/shuffle/index.d.ts +8 -0
  16. package/agnostic/arrays/shuffle/index.js +11 -4
  17. package/agnostic/arrays/shuffle/index.test.d.ts +1 -0
  18. package/agnostic/booleans/is-falsy/index.d.ts +17 -0
  19. package/agnostic/booleans/is-falsy/index.js +1 -1
  20. package/agnostic/colors/channels/index.d.ts +34 -0
  21. package/agnostic/colors/channels/index.js +6 -6
  22. package/agnostic/colors/contrast/index.d.ts +8 -0
  23. package/agnostic/colors/contrast/index.js +27 -8
  24. package/agnostic/colors/convert/index.d.ts +144 -0
  25. package/agnostic/colors/convert/index.js +5 -5
  26. package/agnostic/colors/distance/index.d.ts +8 -0
  27. package/agnostic/colors/distance/index.js +50 -7
  28. package/agnostic/colors/grayscale/index.d.ts +9 -1
  29. package/agnostic/colors/grayscale/index.js +156 -7
  30. package/agnostic/colors/invert/index.d.ts +8 -0
  31. package/agnostic/colors/invert/index.js +45 -7
  32. package/agnostic/colors/lerp/index.d.ts +12 -1
  33. package/agnostic/colors/lerp/index.js +97 -7
  34. package/agnostic/colors/luminance/index.d.ts +7 -0
  35. package/agnostic/colors/luminance/index.js +6 -6
  36. package/agnostic/colors/palette/index.d.ts +10 -1
  37. package/agnostic/colors/palette/index.js +104 -9
  38. package/agnostic/colors/rotate/index.d.ts +10 -1
  39. package/agnostic/colors/rotate/index.js +7 -7
  40. package/agnostic/colors/tidy/index.d.ts +9 -1
  41. package/agnostic/colors/tidy/index.js +5 -5
  42. package/agnostic/colors/typechecks/index.d.ts +60 -0
  43. package/agnostic/colors/typechecks/index.js +3 -3
  44. package/agnostic/colors/types.d.ts +106 -0
  45. package/agnostic/colors/types.js +2 -2
  46. package/agnostic/css/bem/index.d.ts +29 -6
  47. package/agnostic/css/bem/index.js +155 -6
  48. package/agnostic/css/generate-nice-color/index.d.ts +8 -2
  49. package/agnostic/css/generate-nice-color/index.js +70 -5
  50. package/agnostic/css/is-valid-css-class-name/index.d.ts +11 -0
  51. package/agnostic/css/is-valid-css-class-name/index.js +1 -1
  52. package/agnostic/css/styles-set/index.js +167 -15
  53. package/agnostic/errors/register/index.d.ts +31 -33
  54. package/agnostic/errors/register/index.js +49 -5
  55. package/agnostic/errors/unknown-to-string/index.d.ts +6 -0
  56. package/agnostic/errors/unknown-to-string/index.js +1 -1
  57. package/agnostic/html/get-node-ancestors/index.d.ts +12 -0
  58. package/agnostic/html/get-node-ancestors/index.js +1 -1
  59. package/agnostic/html/get-position-inside-parent/index.d.ts +8 -0
  60. package/agnostic/html/get-position-inside-parent/index.js +8 -4
  61. package/agnostic/html/hyper-json/cast/index.js +12 -12
  62. package/agnostic/html/hyper-json/index.js +40 -16
  63. package/agnostic/html/hyper-json/method/index.js +1 -1
  64. package/agnostic/html/hyper-json/serialize/index.js +5 -5
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +12 -12
  66. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +12 -12
  67. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +12 -12
  68. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +12 -12
  69. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +12 -12
  70. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +12 -12
  71. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +12 -12
  72. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +12 -12
  73. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +12 -12
  74. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +12 -12
  75. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +12 -12
  76. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +12 -12
  77. package/agnostic/html/hyper-json/smart-tags/coalesced/hjparse/index.js +12 -12
  78. package/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.js +12 -12
  79. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +12 -12
  80. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +12 -12
  81. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +12 -12
  82. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +12 -12
  83. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +12 -12
  84. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +12 -12
  85. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +12 -12
  86. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +12 -12
  87. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +12 -12
  88. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +12 -12
  89. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +12 -12
  90. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +12 -12
  91. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +12 -12
  92. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +12 -12
  93. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +12 -12
  94. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +12 -12
  95. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +12 -12
  96. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.d.ts +4 -3
  97. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +16 -14
  98. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +12 -12
  99. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +12 -12
  100. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +12 -12
  101. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +12 -12
  102. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +12 -12
  103. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +12 -12
  104. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +12 -12
  105. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +12 -12
  106. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +12 -12
  107. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +12 -12
  108. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +12 -12
  109. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +12 -12
  110. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +12 -12
  111. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +12 -12
  112. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +12 -12
  113. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +12 -12
  114. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +12 -12
  115. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +12 -12
  116. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +12 -12
  117. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +12 -12
  118. package/agnostic/html/hyper-json/smart-tags/index.js +4 -4
  119. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +5 -5
  120. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +5 -5
  121. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +12 -12
  122. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +12 -12
  123. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +12 -12
  124. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +12 -12
  125. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +12 -12
  126. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +12 -12
  127. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +5 -5
  128. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +12 -12
  129. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +12 -12
  130. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +12 -12
  131. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +12 -12
  132. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +12 -12
  133. package/agnostic/html/hyper-json/transformer/index.d.ts +1 -1
  134. package/agnostic/html/hyper-json/transformer/index.js +3 -3
  135. package/agnostic/html/hyper-json/tree/index.js +12 -12
  136. package/agnostic/html/hyper-json/types/index.d.ts +1 -1
  137. package/agnostic/html/hyper-json/types/index.js +1 -1
  138. package/agnostic/html/hyper-json/utils/index.d.ts +1 -1
  139. package/agnostic/html/hyper-json/utils/index.js +12 -12
  140. package/agnostic/html/insert-node/index.d.ts +17 -0
  141. package/agnostic/html/insert-node/index.js +1 -1
  142. package/agnostic/html/placeholders/index.d.ts +7 -9
  143. package/agnostic/html/placeholders/index.js +37 -5
  144. package/agnostic/html/replace-in-element/index.d.ts +14 -0
  145. package/agnostic/html/replace-in-element/index.js +1 -1
  146. package/agnostic/html/selector-to-element/index.d.ts +16 -1
  147. package/agnostic/html/selector-to-element/index.js +29 -11
  148. package/agnostic/html/string-to-nodes/index.d.ts +14 -7
  149. package/agnostic/html/string-to-nodes/index.js +14 -12
  150. package/agnostic/misc/assert/index.d.ts +5 -7
  151. package/agnostic/misc/assert/index.js +61 -8
  152. package/agnostic/misc/cast/index.d.ts +81 -10
  153. package/agnostic/misc/cast/index.js +18 -4
  154. package/agnostic/misc/connection/index.d.ts +26 -0
  155. package/agnostic/misc/connection/index.js +39 -0
  156. package/agnostic/misc/crawler/index.d.ts +63 -16
  157. package/agnostic/misc/crawler/index.js +36 -5
  158. package/agnostic/misc/crossenv/detect-runtime/index.d.ts +12 -2
  159. package/agnostic/misc/crossenv/detect-runtime/index.js +14 -5
  160. package/agnostic/misc/crossenv/types.d.ts +39 -0
  161. package/agnostic/misc/crossenv/types.js +7 -0
  162. package/agnostic/misc/crossenv/window/index.d.ts +28 -7
  163. package/agnostic/misc/crossenv/window/index.js +10 -4
  164. package/agnostic/misc/crossenv/window/index.test.d.ts +1 -0
  165. package/agnostic/misc/data-size/index.d.ts +43 -21
  166. package/agnostic/misc/data-size/index.js +270 -34
  167. package/agnostic/misc/data-size/types.d.ts +37 -0
  168. package/agnostic/misc/elo/index.d.ts +28 -30
  169. package/agnostic/misc/elo/index.js +27 -30
  170. package/agnostic/misc/is-constructor-function/index.d.ts +11 -0
  171. package/agnostic/misc/is-constructor-function/index.js +1 -1
  172. package/agnostic/misc/is-nullish/index.d.ts +22 -0
  173. package/agnostic/misc/is-nullish/index.js +1 -1
  174. package/agnostic/misc/logs/logger/index.js +109 -4
  175. package/agnostic/misc/logs/make-text-block/index.js +1 -1
  176. package/agnostic/misc/logs/styles/index.js +1 -1
  177. package/agnostic/misc/lorem-ipsum/index.d.ts +3 -5
  178. package/agnostic/misc/lorem-ipsum/index.js +187 -23
  179. package/agnostic/misc/normalize-extension/index.d.ts +10 -0
  180. package/agnostic/misc/normalize-extension/index.js +1 -1
  181. package/agnostic/misc/outcome/index.d.ts +56 -15
  182. package/agnostic/misc/outcome/index.js +8 -4
  183. package/agnostic/numbers/absolute-modulo/index.d.ts +7 -0
  184. package/agnostic/numbers/absolute-modulo/index.js +1 -1
  185. package/agnostic/numbers/clamp/index.d.ts +8 -0
  186. package/agnostic/numbers/clamp/index.js +1 -1
  187. package/agnostic/numbers/interpolate/index.d.ts +20 -1
  188. package/agnostic/numbers/interpolate/index.js +12 -7
  189. package/agnostic/numbers/responsive-harmonics/index.d.ts +20 -0
  190. package/agnostic/numbers/responsive-harmonics/index.js +49 -5
  191. package/agnostic/numbers/round/index.d.ts +24 -3
  192. package/agnostic/numbers/round/index.js +2 -2
  193. package/agnostic/objects/deep-get-property/index.d.ts +8 -0
  194. package/agnostic/objects/deep-get-property/index.js +23 -4
  195. package/agnostic/objects/enums/is-in-enum/index.d.ts +10 -0
  196. package/agnostic/objects/enums/is-in-enum/index.js +1 -1
  197. package/agnostic/objects/flatten-getters/index.d.ts +6 -0
  198. package/agnostic/objects/flatten-getters/index.js +19 -4
  199. package/agnostic/objects/is-object/index.d.ts +12 -0
  200. package/agnostic/objects/is-object/index.js +1 -1
  201. package/agnostic/objects/is-record/index.d.ts +6 -0
  202. package/agnostic/objects/is-record/index.js +1 -1
  203. package/agnostic/objects/record-format/index.d.ts +27 -0
  204. package/agnostic/objects/record-format/index.js +15 -4
  205. package/agnostic/objects/record-map/index.d.ts +9 -0
  206. package/agnostic/objects/record-map/index.js +1 -1
  207. package/agnostic/objects/validation/index.d.ts +11 -3
  208. package/agnostic/objects/validation/index.js +9 -5
  209. package/agnostic/optim/memoize/index.d.ts +10 -1
  210. package/agnostic/optim/memoize/index.js +16 -4
  211. package/agnostic/optim/throttle-debounce/index.js +110 -5
  212. package/agnostic/optim/throttle-debounce/types.d.ts +1 -1
  213. package/agnostic/random/hex-char/index.d.ts +2 -0
  214. package/agnostic/random/hex-char/index.js +1 -1
  215. package/agnostic/random/random/index.d.ts +14 -0
  216. package/agnostic/random/random/index.js +1 -1
  217. package/agnostic/random/uuid/index.d.ts +18 -0
  218. package/agnostic/random/uuid/index.js +1 -1
  219. package/agnostic/regexps/index.d.ts +95 -24
  220. package/agnostic/regexps/index.js +86 -5
  221. package/agnostic/sanitization/file-name/index.d.ts +13 -0
  222. package/agnostic/sanitization/file-name/index.js +7 -0
  223. package/agnostic/sanitization/html/index.d.ts +61 -0
  224. package/agnostic/sanitization/html/index.js +121 -0
  225. package/agnostic/sanitization/path/index.d.ts +11 -0
  226. package/agnostic/sanitization/path/index.js +14 -0
  227. package/agnostic/sanitization/types.d.ts +37 -0
  228. package/agnostic/sanitization/types.js +0 -0
  229. package/agnostic/sanitization/user-input/index.d.ts +13 -0
  230. package/agnostic/sanitization/user-input/index.js +23 -0
  231. package/agnostic/strings/char-codes/index.d.ts +82 -17
  232. package/agnostic/strings/char-codes/index.js +68 -5
  233. package/agnostic/strings/matches/index.d.ts +24 -0
  234. package/agnostic/strings/matches/index.js +1 -1
  235. package/agnostic/strings/normalize-indent/index.d.ts +22 -0
  236. package/agnostic/strings/normalize-indent/index.js +16 -4
  237. package/agnostic/strings/parse-table/index.d.ts +123 -66
  238. package/agnostic/strings/parse-table/index.js +83 -4
  239. package/agnostic/strings/replace-all/index.d.ts +20 -0
  240. package/agnostic/strings/replace-all/index.js +2 -2
  241. package/agnostic/strings/to-alphanum/index.d.ts +18 -0
  242. package/agnostic/strings/to-alphanum/index.js +8 -4
  243. package/agnostic/strings/trim/index.d.ts +18 -0
  244. package/agnostic/strings/trim/index.js +1 -1
  245. package/agnostic/time/dates/format-date/index.d.ts +47 -0
  246. package/agnostic/time/dates/format-date/index.js +58 -4
  247. package/agnostic/time/duration/index.d.ts +38 -25
  248. package/agnostic/time/duration/index.js +110 -5
  249. package/agnostic/time/timeout/index.d.ts +8 -0
  250. package/agnostic/time/timeout/index.js +16 -4
  251. package/agnostic/time/transitions/index.d.ts +73 -40
  252. package/agnostic/time/transitions/index.js +158 -5
  253. package/agnostic/time/wait/index.d.ts +6 -0
  254. package/agnostic/time/wait/index.js +1 -1
  255. package/chunks/{chunk-CLLJV343.js → chunk-27SSMK5F.js} +8 -7
  256. package/chunks/{chunk-FNQAF6CQ.js → chunk-2QDYPY2O.js} +5 -5
  257. package/chunks/{chunk-ON6LC3HE.js → chunk-2WSVYQ5Q.js} +6 -13
  258. package/chunks/chunk-4WE2WEXL.js +12 -0
  259. package/chunks/{chunk-QWNWZBIO.js → chunk-53ILYMIY.js} +8 -7
  260. package/chunks/{chunk-FF5NURFO.js → chunk-54KPQCVI.js} +6 -13
  261. package/chunks/{chunk-SRXNICSE.js → chunk-5CFQCSKJ.js} +6 -5
  262. package/chunks/{chunk-FKDPPFHV.js → chunk-5NTPCRFH.js} +1 -11
  263. package/chunks/{chunk-IV75M3KE.js → chunk-5O52VUI6.js} +6 -13
  264. package/chunks/{chunk-4XSDRT23.js → chunk-5X76KDYN.js} +7 -14
  265. package/chunks/{chunk-RHKFMXM3.js → chunk-65BFQP3T.js} +6 -5
  266. package/chunks/{chunk-7J7CYOXU.js → chunk-66BURDRK.js} +8 -15
  267. package/chunks/{chunk-ZEZCYPLQ.js → chunk-6BGIDRU5.js} +7 -14
  268. package/chunks/{chunk-5ZJ3KJPK.js → chunk-6YVXSCRH.js} +7 -14
  269. package/chunks/{chunk-NMYVJJXV.js → chunk-7B2E2NGH.js} +7 -14
  270. package/chunks/{chunk-YXLHZ2KW.js → chunk-AKFDKOHE.js} +2 -2
  271. package/chunks/{chunk-QAVYONH6.js → chunk-AKNR3U25.js} +5 -5
  272. package/chunks/{chunk-CVDCTI7F.js → chunk-AOEOW5XW.js} +7 -14
  273. package/chunks/{chunk-QSU3CVGF.js → chunk-ASWI3EO6.js} +6 -5
  274. package/chunks/{chunk-QWZ4ZNFA.js → chunk-AV373PHY.js} +8 -15
  275. package/chunks/{chunk-VROZGPC5.js → chunk-AXMAF3J2.js} +7 -14
  276. package/chunks/{chunk-QTA7ZEVX.js → chunk-AYGAQQXD.js} +6 -5
  277. package/chunks/chunk-BHGRXDTS.js +28 -0
  278. package/chunks/{chunk-CNYSX2L2.js → chunk-BQABPH3I.js} +7 -14
  279. package/chunks/{chunk-WV5N7ESL.js → chunk-BQXTV2GG.js} +9 -16
  280. package/chunks/{chunk-37TRFYZT.js → chunk-BXFRBV67.js} +6 -13
  281. package/chunks/{chunk-3LCD73SB.js → chunk-C4VX4TTP.js} +1 -1
  282. package/chunks/{chunk-3CLGBOHN.js → chunk-DBNCEHTT.js} +6 -13
  283. package/chunks/{chunk-HRNDUTZE.js → chunk-DBZAJJUF.js} +8 -15
  284. package/chunks/{chunk-SXRWMH3U.js → chunk-DUCLFPGE.js} +5 -5
  285. package/chunks/{chunk-UK2F7CWI.js → chunk-EBQRPRRC.js} +6 -13
  286. package/chunks/{chunk-TGVYEQIA.js → chunk-EEPLTO3E.js} +7 -14
  287. package/chunks/{chunk-D5CCWCEI.js → chunk-ENOTZXFS.js} +1 -1
  288. package/chunks/{chunk-ZTDVUXPR.js → chunk-EPUHVR7J.js} +1 -0
  289. package/chunks/{chunk-NCYE5WML.js → chunk-FAAIUU6V.js} +4 -4
  290. package/chunks/{chunk-REZC75LB.js → chunk-FH74QWR6.js} +10 -18
  291. package/chunks/{chunk-FD5WR2A5.js → chunk-FM3HGCFL.js} +8 -15
  292. package/chunks/{chunk-W3RXHN5I.js → chunk-FSI422YG.js} +6 -13
  293. package/chunks/{chunk-UT2J62LH.js → chunk-HEY7J6GI.js} +1 -1
  294. package/chunks/chunk-HOFEVF7T.js +61 -0
  295. package/chunks/chunk-HYPEWMYZ.js +10 -0
  296. package/chunks/{chunk-V3L55I2S.js → chunk-IBQQCUYV.js} +6 -13
  297. package/chunks/{chunk-2HJPX7E3.js → chunk-IK2S6ZYP.js} +6 -5
  298. package/chunks/{chunk-V3GX7SIJ.js → chunk-ISJONMNA.js} +1 -13
  299. package/chunks/{chunk-ZJTWDCNZ.js → chunk-J5D4OQ5U.js} +6 -13
  300. package/chunks/{chunk-67V4BGOB.js → chunk-JDINERKY.js} +1 -1
  301. package/chunks/{chunk-ZSUG52DO.js → chunk-JFXEMK66.js} +6 -13
  302. package/chunks/{chunk-RWO53U4X.js → chunk-JN2UETL4.js} +7 -14
  303. package/chunks/chunk-JU23NBY2.js +22 -0
  304. package/chunks/{chunk-BKO7GLC2.js → chunk-JVMFT3IT.js} +7 -6
  305. package/chunks/{chunk-AQBJ6HNB.js → chunk-K5UF634H.js} +1 -5
  306. package/chunks/{chunk-7UGMWTP5.js → chunk-KRYJVBO5.js} +1 -10
  307. package/chunks/{chunk-DZ2T5DTY.js → chunk-LFHDJTZJ.js} +1 -1
  308. package/chunks/{chunk-3G6FOHII.js → chunk-MHNUCHPP.js} +6 -5
  309. package/chunks/{chunk-P5JJOC5K.js → chunk-MSJ7WDFX.js} +8 -7
  310. package/chunks/{chunk-5VHFXWFM.js → chunk-NEMHJSNM.js} +6 -13
  311. package/chunks/{chunk-BWYH445G.js → chunk-NIIAUOBO.js} +6 -13
  312. package/chunks/{chunk-HFZGH6V2.js → chunk-NR7STUY3.js} +6 -5
  313. package/chunks/{chunk-2JH4TCT2.js → chunk-O66PEU62.js} +6 -13
  314. package/chunks/{chunk-QH64MYGA.js → chunk-O7UCJNVF.js} +7 -14
  315. package/chunks/{chunk-WAHPAZQS.js → chunk-OF2W4ZRG.js} +6 -13
  316. package/chunks/{chunk-P26Y7YUA.js → chunk-PTJO2TGI.js} +6 -5
  317. package/chunks/{chunk-BE7OXZRK.js → chunk-PTN2V757.js} +7 -14
  318. package/chunks/chunk-QEKI6WGQ.js +27 -0
  319. package/chunks/{chunk-EOE2ODJR.js → chunk-QHEWBOQI.js} +3 -3
  320. package/chunks/{chunk-N2T672IG.js → chunk-RGQNRTBI.js} +6 -13
  321. package/chunks/chunk-ROWPCMQY.js +29 -0
  322. package/chunks/{chunk-KJAEVOIW.js → chunk-S2I77NEE.js} +8 -15
  323. package/chunks/{chunk-CWZFRUBS.js → chunk-S6ZFFGWH.js} +7 -14
  324. package/chunks/{chunk-6IYUA43Q.js → chunk-SBBIQ5UH.js} +7 -14
  325. package/chunks/{chunk-NGIZKJDJ.js → chunk-SGGJJ46D.js} +335 -327
  326. package/chunks/{chunk-YVKM7N55.js → chunk-U225LGOV.js} +8 -7
  327. package/chunks/{chunk-HWEGQVBQ.js → chunk-ULYGDEW2.js} +6 -13
  328. package/chunks/{chunk-QAQZEKIF.js → chunk-USIYKRNX.js} +6 -6
  329. package/chunks/{chunk-FB3GNE2B.js → chunk-UZ4SWSOZ.js} +8 -15
  330. package/chunks/{chunk-4XBUJAQU.js → chunk-VU6JYR3W.js} +7 -14
  331. package/chunks/{chunk-FE4DECBU.js → chunk-VYDUHDXW.js} +7 -14
  332. package/chunks/{chunk-BSUQNHAM.js → chunk-W5VY535B.js} +7 -14
  333. package/chunks/{chunk-STPN5KZL.js → chunk-WF2JNQV4.js} +8 -7
  334. package/chunks/chunk-XCBH6NLF.js +42 -0
  335. package/chunks/chunk-XIIJYVJZ.js +15 -0
  336. package/chunks/{chunk-QDVDHFMZ.js → chunk-Y6FD4ASO.js} +7 -14
  337. package/chunks/{chunk-C6QTHDDM.js → chunk-YOP6WVCF.js} +7 -14
  338. package/chunks/chunk-ZKIQ753F.js +23 -0
  339. package/chunks/{chunk-QLDN574K.js → chunk-ZTPRFEPV.js} +7 -14
  340. package/components/Comp/index.js +7 -4
  341. package/node/@aws-s3/storage/directory/copy-dir/index.d.ts +4 -12
  342. package/node/@aws-s3/storage/directory/copy-dir/index.js +3 -3
  343. package/node/@aws-s3/storage/directory/list/index.d.ts +1 -1
  344. package/node/@aws-s3/storage/directory/list/index.js +3 -3
  345. package/node/@aws-s3/storage/directory/move-dir/index.d.ts +1 -1
  346. package/node/@aws-s3/storage/directory/move-dir/index.js +3 -3
  347. package/node/@aws-s3/storage/directory/remove-dir/index.d.ts +1 -1
  348. package/node/@aws-s3/storage/directory/remove-dir/index.js +3 -3
  349. package/node/@aws-s3/storage/file/copy/index.d.ts +1 -1
  350. package/node/@aws-s3/storage/file/copy/index.js +3 -3
  351. package/node/@aws-s3/storage/file/download/index.d.ts +1 -1
  352. package/node/@aws-s3/storage/file/download/index.js +3 -3
  353. package/node/@aws-s3/storage/file/exists/index.d.ts +1 -1
  354. package/node/@aws-s3/storage/file/exists/index.js +3 -3
  355. package/node/@aws-s3/storage/file/move/index.d.ts +1 -1
  356. package/node/@aws-s3/storage/file/move/index.js +3 -3
  357. package/node/@aws-s3/storage/file/remove/index.d.ts +1 -1
  358. package/node/@aws-s3/storage/file/remove/index.js +3 -3
  359. package/node/@aws-s3/storage/file/stat/index.d.ts +1 -1
  360. package/node/@aws-s3/storage/file/stat/index.js +3 -3
  361. package/node/@aws-s3/storage/file/upload/index.d.ts +1 -1
  362. package/node/@aws-s3/storage/file/upload/index.js +3 -3
  363. package/node/@design-edito/index.d.ts +1 -2
  364. package/node/@design-edito/index.js +0 -8
  365. package/node/@express/@multer/index.d.ts +34 -1
  366. package/node/@express/@multer/index.js +43 -5
  367. package/node/@google-cloud/storage/bucket/get-metadata/index.d.ts +1 -1
  368. package/node/@google-cloud/storage/bucket/get-metadata/index.js +18 -5
  369. package/node/@google-cloud/storage/directory/copy-dir/index.d.ts +1 -1
  370. package/node/@google-cloud/storage/directory/copy-dir/index.js +3 -3
  371. package/node/@google-cloud/storage/directory/list/index.d.ts +1 -1
  372. package/node/@google-cloud/storage/directory/list/index.js +3 -3
  373. package/node/@google-cloud/storage/directory/move-dir/index.d.ts +1 -1
  374. package/node/@google-cloud/storage/directory/move-dir/index.js +3 -3
  375. package/node/@google-cloud/storage/directory/remove-dir/index.d.ts +1 -1
  376. package/node/@google-cloud/storage/directory/remove-dir/index.js +3 -3
  377. package/node/@google-cloud/storage/file/copy/index.d.ts +1 -1
  378. package/node/@google-cloud/storage/file/copy/index.js +3 -3
  379. package/node/@google-cloud/storage/file/download/index.d.ts +1 -1
  380. package/node/@google-cloud/storage/file/download/index.js +3 -3
  381. package/node/@google-cloud/storage/file/exists/index.d.ts +1 -1
  382. package/node/@google-cloud/storage/file/exists/index.js +3 -3
  383. package/node/@google-cloud/storage/file/generate-signed-url/index.d.ts +1 -1
  384. package/node/@google-cloud/storage/file/generate-signed-url/index.js +24 -5
  385. package/node/@google-cloud/storage/file/get-metadata/index.d.ts +1 -1
  386. package/node/@google-cloud/storage/file/get-metadata/index.js +20 -5
  387. package/node/@google-cloud/storage/file/get-permissions/index.d.ts +1 -1
  388. package/node/@google-cloud/storage/file/get-permissions/index.js +20 -5
  389. package/node/@google-cloud/storage/file/move/index.d.ts +1 -1
  390. package/node/@google-cloud/storage/file/move/index.js +3 -3
  391. package/node/@google-cloud/storage/file/remove/index.d.ts +1 -1
  392. package/node/@google-cloud/storage/file/remove/index.js +3 -3
  393. package/node/@google-cloud/storage/file/revoke-signed-urls/index.d.ts +1 -1
  394. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +25 -7
  395. package/node/@google-cloud/storage/file/stat/index.d.ts +1 -1
  396. package/node/@google-cloud/storage/file/stat/index.js +3 -3
  397. package/node/@google-cloud/storage/file/update-metadata/index.d.ts +1 -1
  398. package/node/@google-cloud/storage/file/update-metadata/index.js +20 -5
  399. package/node/@google-cloud/storage/file/upload/index.d.ts +1 -1
  400. package/node/@google-cloud/storage/file/upload/index.js +3 -3
  401. package/node/cloud-storage/clients/index.d.ts +27 -0
  402. package/node/cloud-storage/clients/index.js +2 -2
  403. package/node/cloud-storage/operations/copy-dir/index.d.ts +46 -1
  404. package/node/cloud-storage/operations/copy-dir/index.js +30 -9
  405. package/node/cloud-storage/operations/copy-file/index.d.ts +46 -1
  406. package/node/cloud-storage/operations/copy-file/index.js +30 -9
  407. package/node/cloud-storage/operations/download-file/index.d.ts +50 -1
  408. package/node/cloud-storage/operations/download-file/index.js +30 -9
  409. package/node/cloud-storage/operations/exists-file/index.d.ts +44 -1
  410. package/node/cloud-storage/operations/exists-file/index.js +30 -9
  411. package/node/cloud-storage/operations/list-dir/index.d.ts +40 -1
  412. package/node/cloud-storage/operations/list-dir/index.js +30 -9
  413. package/node/cloud-storage/operations/move-dir/index.d.ts +46 -1
  414. package/node/cloud-storage/operations/move-dir/index.js +30 -9
  415. package/node/cloud-storage/operations/move-file/index.d.ts +46 -1
  416. package/node/cloud-storage/operations/move-file/index.js +30 -9
  417. package/node/cloud-storage/operations/remove-dir/index.d.ts +42 -1
  418. package/node/cloud-storage/operations/remove-dir/index.js +30 -9
  419. package/node/cloud-storage/operations/remove-file/index.d.ts +42 -1
  420. package/node/cloud-storage/operations/remove-file/index.js +30 -9
  421. package/node/cloud-storage/operations/stat-file/index.d.ts +40 -1
  422. package/node/cloud-storage/operations/stat-file/index.js +30 -9
  423. package/node/cloud-storage/operations/upload-file/index.d.ts +46 -1
  424. package/node/cloud-storage/operations/upload-file/index.js +30 -9
  425. package/node/encryption/@aes-256-gcm/buffer/index.d.ts +1 -1
  426. package/node/encryption/@aes-256-gcm/buffer/index.js +22 -6
  427. package/node/encryption/@aes-256-gcm/uint8-array/index.d.ts +1 -1
  428. package/node/encryption/@aes-256-gcm/uint8-array/index.js +3 -3
  429. package/node/encryption/key/index.js +12 -4
  430. package/node/files/is-in-directory/index.d.ts +7 -0
  431. package/node/files/is-in-directory/index.js +8 -4
  432. package/node/files/read-write/index.d.ts +48 -4
  433. package/node/files/read-write/index.js +15 -4
  434. package/node/files/subpaths/index.d.ts +62 -33
  435. package/node/files/subpaths/index.js +119 -5
  436. package/node/ftps/directory/copy-dir/index.d.ts +1 -1
  437. package/node/ftps/directory/copy-dir/index.js +3 -3
  438. package/node/ftps/directory/list/index.d.ts +1 -1
  439. package/node/ftps/directory/list/index.js +3 -3
  440. package/node/ftps/directory/move-dir/index.d.ts +1 -1
  441. package/node/ftps/directory/move-dir/index.js +3 -3
  442. package/node/ftps/directory/remove-dir/index.d.ts +1 -1
  443. package/node/ftps/directory/remove-dir/index.js +3 -3
  444. package/node/ftps/file/copy/index.d.ts +1 -1
  445. package/node/ftps/file/copy/index.js +3 -3
  446. package/node/ftps/file/download/index.d.ts +1 -1
  447. package/node/ftps/file/download/index.js +3 -3
  448. package/node/ftps/file/exists/index.d.ts +1 -1
  449. package/node/ftps/file/exists/index.js +3 -3
  450. package/node/ftps/file/move/index.d.ts +1 -1
  451. package/node/ftps/file/move/index.js +3 -3
  452. package/node/ftps/file/remove/index.d.ts +1 -1
  453. package/node/ftps/file/remove/index.js +3 -3
  454. package/node/ftps/file/stat/index.d.ts +1 -1
  455. package/node/ftps/file/stat/index.js +3 -3
  456. package/node/ftps/file/upload/index.d.ts +1 -1
  457. package/node/ftps/file/upload/index.js +3 -3
  458. package/node/images/create/index.d.ts +6 -0
  459. package/node/images/create/index.js +13 -18
  460. package/node/images/format/index.d.ts +36 -1
  461. package/node/images/format/index.js +241 -44
  462. package/node/images/metadata/index.d.ts +6 -0
  463. package/node/images/metadata/index.js +13 -18
  464. package/node/images/transform/index.d.ts +23 -1
  465. package/node/images/transform/index.js +199 -39
  466. package/node/images/transform/operations/blur/index.d.ts +1 -1
  467. package/node/images/transform/operations/blur/index.js +4 -4
  468. package/node/images/transform/operations/brighten/index.d.ts +1 -1
  469. package/node/images/transform/operations/brighten/index.js +4 -4
  470. package/node/images/transform/operations/extend/index.d.ts +1 -1
  471. package/node/images/transform/operations/extend/index.js +9 -19
  472. package/node/images/transform/operations/extract/index.d.ts +1 -1
  473. package/node/images/transform/operations/extract/index.js +4 -4
  474. package/node/images/transform/operations/flatten/index.d.ts +1 -1
  475. package/node/images/transform/operations/flatten/index.js +9 -19
  476. package/node/images/transform/operations/flip/index.js +1 -1
  477. package/node/images/transform/operations/flop/index.js +1 -1
  478. package/node/images/transform/operations/hue/index.d.ts +1 -1
  479. package/node/images/transform/operations/hue/index.js +4 -4
  480. package/node/images/transform/operations/level/index.d.ts +1 -1
  481. package/node/images/transform/operations/level/index.js +4 -4
  482. package/node/images/transform/operations/lighten/index.d.ts +1 -1
  483. package/node/images/transform/operations/lighten/index.js +4 -4
  484. package/node/images/transform/operations/normalize/index.d.ts +1 -1
  485. package/node/images/transform/operations/normalize/index.js +4 -4
  486. package/node/images/transform/operations/overlay/index.d.ts +1 -1
  487. package/node/images/transform/operations/overlay/index.js +9 -19
  488. package/node/images/transform/operations/resize/index.d.ts +1 -1
  489. package/node/images/transform/operations/resize/index.js +9 -19
  490. package/node/images/transform/operations/rotate/index.d.ts +1 -1
  491. package/node/images/transform/operations/rotate/index.js +9 -19
  492. package/node/images/transform/operations/saturate/index.d.ts +1 -1
  493. package/node/images/transform/operations/saturate/index.js +4 -4
  494. package/node/images/types.d.ts +136 -1
  495. package/node/images/types.js +2 -2
  496. package/node/images/utils/index.d.ts +20 -0
  497. package/node/images/utils/index.js +6 -16
  498. package/node/process/on-exit/index.d.ts +23 -0
  499. package/node/process/on-exit/index.js +25 -8
  500. package/node/process/prompt-continue/index.d.ts +18 -0
  501. package/node/process/prompt-continue/index.js +1680 -0
  502. package/node/process/spawner/index.d.ts +18 -0
  503. package/node/process/spawner/index.js +83 -0
  504. package/node/sftp/directory/copy-dir/index.d.ts +1 -1
  505. package/node/sftp/directory/copy-dir/index.js +3 -3
  506. package/node/sftp/directory/list/index.d.ts +1 -1
  507. package/node/sftp/directory/list/index.js +3 -3
  508. package/node/sftp/directory/move-dir/index.d.ts +1 -1
  509. package/node/sftp/directory/move-dir/index.js +3 -3
  510. package/node/sftp/directory/remove-dir/index.d.ts +1 -1
  511. package/node/sftp/directory/remove-dir/index.js +3 -3
  512. package/node/sftp/file/copy/index.d.ts +1 -1
  513. package/node/sftp/file/copy/index.js +3 -3
  514. package/node/sftp/file/download/index.d.ts +1 -1
  515. package/node/sftp/file/download/index.js +3 -3
  516. package/node/sftp/file/exists/index.d.ts +1 -1
  517. package/node/sftp/file/exists/index.js +3 -3
  518. package/node/sftp/file/move/index.d.ts +1 -1
  519. package/node/sftp/file/move/index.js +3 -3
  520. package/node/sftp/file/remove/index.d.ts +1 -1
  521. package/node/sftp/file/remove/index.js +3 -3
  522. package/node/sftp/file/stat/index.d.ts +1 -1
  523. package/node/sftp/file/stat/index.js +3 -3
  524. package/node/sftp/file/upload/index.d.ts +1 -1
  525. package/node/sftp/file/upload/index.js +3 -3
  526. package/package.json +11 -3
  527. package/agnostic/arrays/index.d.ts +0 -13
  528. package/agnostic/arrays/index.js +0 -21
  529. package/agnostic/booleans/index.d.ts +0 -8
  530. package/agnostic/booleans/index.js +0 -9
  531. package/agnostic/colors/index.d.ts +0 -14
  532. package/agnostic/colors/index.js +0 -107
  533. package/agnostic/css/bem/BEM.d.ts +0 -29
  534. package/agnostic/css/bem/getNamesArr.d.ts +0 -2
  535. package/agnostic/css/index.d.ts +0 -14
  536. package/agnostic/css/index.js +0 -25
  537. package/agnostic/errors/index.d.ts +0 -6
  538. package/agnostic/errors/index.js +0 -9
  539. package/agnostic/html/index.d.ts +0 -19
  540. package/agnostic/html/index.js +0 -39
  541. package/agnostic/html/sanitize/index.d.ts +0 -24
  542. package/agnostic/html/sanitize/index.js +0 -15
  543. package/agnostic/index.d.ts +0 -26
  544. package/agnostic/index.js +0 -144
  545. package/agnostic/misc/crossenv/index.d.ts +0 -8
  546. package/agnostic/misc/crossenv/index.js +0 -10
  547. package/agnostic/misc/crossenv/types/index.d.ts +0 -19
  548. package/agnostic/misc/crossenv/types/index.js +0 -7
  549. package/agnostic/misc/get-current-downlink/index.d.ts +0 -1
  550. package/agnostic/misc/get-current-downlink/index.js +0 -7
  551. package/agnostic/misc/index.d.ts +0 -25
  552. package/agnostic/misc/index.js +0 -65
  553. package/agnostic/misc/logs/index.d.ts +0 -17
  554. package/agnostic/misc/logs/index.js +0 -10
  555. package/agnostic/numbers/index.d.ts +0 -13
  556. package/agnostic/numbers/index.js +0 -12
  557. package/agnostic/objects/enums/index.d.ts +0 -4
  558. package/agnostic/objects/enums/index.js +0 -8
  559. package/agnostic/objects/index.d.ts +0 -19
  560. package/agnostic/objects/index.js +0 -19
  561. package/agnostic/optim/index.d.ts +0 -7
  562. package/agnostic/optim/index.js +0 -9
  563. package/agnostic/random/index.d.ts +0 -12
  564. package/agnostic/random/index.js +0 -10
  565. package/agnostic/sanitization/index.d.ts +0 -3
  566. package/agnostic/sanitization/index.js +0 -35
  567. package/agnostic/strings/index.d.ts +0 -19
  568. package/agnostic/strings/index.js +0 -15
  569. package/agnostic/time/dates/index.d.ts +0 -4
  570. package/agnostic/time/dates/index.js +0 -8
  571. package/agnostic/time/index.d.ts +0 -12
  572. package/agnostic/time/index.js +0 -30
  573. package/chunks/chunk-34U4HX4V.js +0 -73
  574. package/chunks/chunk-42K3MQQ5.js +0 -31
  575. package/chunks/chunk-5CTAKAIP.js +0 -28
  576. package/chunks/chunk-5ZPVE6NR.js +0 -40
  577. package/chunks/chunk-63J76ST6.js +0 -191
  578. package/chunks/chunk-6KM4UT6T.js +0 -34
  579. package/chunks/chunk-6NYUQXJT.js +0 -109
  580. package/chunks/chunk-6RGDWX4A.js +0 -24
  581. package/chunks/chunk-6UXES4W7.js +0 -40
  582. package/chunks/chunk-6YQGM6N6.js +0 -19
  583. package/chunks/chunk-73UGWJYI.js +0 -31
  584. package/chunks/chunk-7AWTHZLY.js +0 -12
  585. package/chunks/chunk-7DBNMU6N.js +0 -14
  586. package/chunks/chunk-7NLDR53D.js +0 -16
  587. package/chunks/chunk-7YJ4BB73.js +0 -20
  588. package/chunks/chunk-A3CDUWGR.js +0 -73
  589. package/chunks/chunk-AL7ESVX4.js +0 -42
  590. package/chunks/chunk-ALAGBHFV.js +0 -42
  591. package/chunks/chunk-ALFP7OQ3.js +0 -24
  592. package/chunks/chunk-ANPXBD2G.js +0 -35
  593. package/chunks/chunk-BDGFY3GP.js +0 -42
  594. package/chunks/chunk-BGSJ5XCH.js +0 -20
  595. package/chunks/chunk-BJAYUP7M.js +0 -13
  596. package/chunks/chunk-BLDUC7TT.js +0 -17
  597. package/chunks/chunk-BPYICFMX.js +0 -37
  598. package/chunks/chunk-CKENYYWH.js +0 -28
  599. package/chunks/chunk-COVPTTAD.js +0 -10
  600. package/chunks/chunk-DFDH7MGI.js +0 -206
  601. package/chunks/chunk-DKITT7OT.js +0 -296
  602. package/chunks/chunk-EDVNAV3G.js +0 -72
  603. package/chunks/chunk-EGBJXHCW.js +0 -47
  604. package/chunks/chunk-ENMBK6H7.js +0 -162
  605. package/chunks/chunk-EZ22Z22X.js +0 -28
  606. package/chunks/chunk-F3WCF6DL.js +0 -122
  607. package/chunks/chunk-FHLCPVND.js +0 -23
  608. package/chunks/chunk-FLE22O3O.js +0 -56
  609. package/chunks/chunk-FNGETPCZ.js +0 -84
  610. package/chunks/chunk-FPEW3A27.js +0 -14
  611. package/chunks/chunk-FR5H2OCV.js +0 -21
  612. package/chunks/chunk-FZOU4OAW.js +0 -13
  613. package/chunks/chunk-G4ZB72XY.js +0 -257
  614. package/chunks/chunk-GL42Q643.js +0 -42
  615. package/chunks/chunk-GXOIVZUI.js +0 -60
  616. package/chunks/chunk-GYEO7JZV.js +0 -112
  617. package/chunks/chunk-HKTNK262.js +0 -23
  618. package/chunks/chunk-HWVEI3RH.js +0 -31
  619. package/chunks/chunk-IRTPQATN.js +0 -16
  620. package/chunks/chunk-JBSS64SA.js +0 -6
  621. package/chunks/chunk-JMU5PDBD.js +0 -20
  622. package/chunks/chunk-JQXNEJAP.js +0 -18
  623. package/chunks/chunk-JTJA7DGW.js +0 -36
  624. package/chunks/chunk-JWBDZPQG.js +0 -18
  625. package/chunks/chunk-KIONYWA7.js +0 -168
  626. package/chunks/chunk-KXIA3YGF.js +0 -54
  627. package/chunks/chunk-L7PIZQFC.js +0 -51
  628. package/chunks/chunk-LEXQ6E6L.js +0 -31
  629. package/chunks/chunk-LGBQWEXH.js +0 -40
  630. package/chunks/chunk-LV2VMOWR.js +0 -18
  631. package/chunks/chunk-MFIGSRSO.js +0 -103
  632. package/chunks/chunk-MJQF3YZO.js +0 -21
  633. package/chunks/chunk-MVYH3CSJ.js +0 -42
  634. package/chunks/chunk-NK62JYTD.js +0 -43
  635. package/chunks/chunk-NRITRUZW.js +0 -10
  636. package/chunks/chunk-NUPAV2JX.js +0 -20
  637. package/chunks/chunk-OC4VIF3N.js +0 -42
  638. package/chunks/chunk-OKFZJ6DJ.js +0 -9
  639. package/chunks/chunk-OVG5RGI3.js +0 -29
  640. package/chunks/chunk-OYDCT5KK.js +0 -32
  641. package/chunks/chunk-PAIUCLVK.js +0 -35
  642. package/chunks/chunk-PVRYR5KX.js +0 -21
  643. package/chunks/chunk-QCOO4PV5.js +0 -54
  644. package/chunks/chunk-QHAB6XYD.js +0 -30
  645. package/chunks/chunk-QHLQVR3E.js +0 -54
  646. package/chunks/chunk-QKE2IYT5.js +0 -42
  647. package/chunks/chunk-QTF7LWGT.js +0 -28
  648. package/chunks/chunk-QVPS2BCJ.js +0 -29
  649. package/chunks/chunk-R4DZKWSR.js +0 -42
  650. package/chunks/chunk-RASMASS4.js +0 -111
  651. package/chunks/chunk-RLAZR3NL.js +0 -8
  652. package/chunks/chunk-RLJOYG64.js +0 -33
  653. package/chunks/chunk-S2NMAH7K.js +0 -19
  654. package/chunks/chunk-S4VO4PFZ.js +0 -37
  655. package/chunks/chunk-SKBOSWM2.js +0 -35
  656. package/chunks/chunk-SKMCIFS3.js +0 -27
  657. package/chunks/chunk-SNJJII7A.js +0 -65
  658. package/chunks/chunk-TAUQZCR6.js +0 -41
  659. package/chunks/chunk-TGDJWP5U.js +0 -20
  660. package/chunks/chunk-TIER4TF4.js +0 -26
  661. package/chunks/chunk-U4ORVPZC.js +0 -175
  662. package/chunks/chunk-UEAMPAHK.js +0 -28
  663. package/chunks/chunk-UNXRB2AV.js +0 -16
  664. package/chunks/chunk-V3NHCEO5.js +0 -31
  665. package/chunks/chunk-VFJYLXCI.js +0 -23
  666. package/chunks/chunk-VJJIYJMY.js +0 -13
  667. package/chunks/chunk-VTPRO4NJ.js +0 -10
  668. package/chunks/chunk-VYW4IADX.js +0 -35
  669. package/chunks/chunk-VZDUZTW6.js +0 -113
  670. package/chunks/chunk-WAMSK4A3.js +0 -67
  671. package/chunks/chunk-WH6BPDAC.js +0 -17
  672. package/chunks/chunk-WJBQ2BO4.js +0 -16
  673. package/chunks/chunk-WOAYU6LB.js +0 -13
  674. package/chunks/chunk-WOYF3N4A.js +0 -31
  675. package/chunks/chunk-WSC3WODJ.js +0 -157
  676. package/chunks/chunk-WSFCRVEQ.js +0 -9
  677. package/chunks/chunk-X53BGT33.js +0 -42
  678. package/chunks/chunk-XB3EGDBI.js +0 -127
  679. package/chunks/chunk-XBA26Z7E.js +0 -42
  680. package/chunks/chunk-XPGAVZGK.js +0 -98
  681. package/chunks/chunk-XPPOIKJL.js +0 -43
  682. package/chunks/chunk-XR2LNUGW.js +0 -42
  683. package/chunks/chunk-YFBIPMXD.js +0 -20
  684. package/chunks/chunk-YKPA3MQL.js +0 -31
  685. package/chunks/chunk-YP64J65L.js +0 -17
  686. package/chunks/chunk-YPTFPS76.js +0 -91
  687. package/chunks/chunk-YQWZ3EP2.js +0 -60
  688. package/chunks/chunk-YRZFKMR4.js +0 -20
  689. package/chunks/chunk-YS6WMSWC.js +0 -15
  690. package/chunks/chunk-YUP434IY.js +0 -43
  691. package/chunks/chunk-Z7ZDDBV5.js +0 -18
  692. package/chunks/chunk-ZBBU2P4D.js +0 -28
  693. package/chunks/chunk-ZH3QMMVD.js +0 -28
  694. package/chunks/chunk-ZLBSI4TR.js +0 -21
  695. package/chunks/chunk-ZNA7SWFK.js +0 -29
  696. package/components/index.d.ts +0 -4
  697. package/components/index.js +0 -13
  698. package/node/@aws-s3/index.d.ts +0 -2
  699. package/node/@aws-s3/index.js +0 -23
  700. package/node/@aws-s3/storage/directory/index.d.ts +0 -5
  701. package/node/@aws-s3/storage/directory/index.js +0 -22
  702. package/node/@aws-s3/storage/file/index.d.ts +0 -8
  703. package/node/@aws-s3/storage/file/index.js +0 -34
  704. package/node/@aws-s3/storage/index.d.ts +0 -3
  705. package/node/@aws-s3/storage/index.js +0 -25
  706. package/node/@design-edito/thumbnails/index.js +0 -1
  707. package/node/@express/index.d.ts +0 -2
  708. package/node/@express/index.js +0 -10
  709. package/node/@google-cloud/index.d.ts +0 -2
  710. package/node/@google-cloud/index.js +0 -30
  711. package/node/@google-cloud/storage/bucket/index.d.ts +0 -5
  712. package/node/@google-cloud/storage/bucket/index.js +0 -22
  713. package/node/@google-cloud/storage/directory/index.d.ts +0 -5
  714. package/node/@google-cloud/storage/directory/index.js +0 -22
  715. package/node/@google-cloud/storage/file/index.d.ts +0 -13
  716. package/node/@google-cloud/storage/file/index.js +0 -54
  717. package/node/@google-cloud/storage/index.d.ts +0 -4
  718. package/node/@google-cloud/storage/index.js +0 -35
  719. package/node/cloud-storage/index.d.ts +0 -3
  720. package/node/cloud-storage/index.js +0 -69
  721. package/node/cloud-storage/operations/index.d.ts +0 -12
  722. package/node/cloud-storage/operations/index.js +0 -95
  723. package/node/encryption/@aes-256-gcm/index.d.ts +0 -3
  724. package/node/encryption/@aes-256-gcm/index.js +0 -14
  725. package/node/encryption/index.d.ts +0 -3
  726. package/node/encryption/index.js +0 -16
  727. package/node/files/index.d.ts +0 -7
  728. package/node/files/index.js +0 -15
  729. package/node/ftps/directory/index.d.ts +0 -5
  730. package/node/ftps/directory/index.js +0 -22
  731. package/node/ftps/file/index.d.ts +0 -8
  732. package/node/ftps/file/index.js +0 -34
  733. package/node/ftps/index.d.ts +0 -3
  734. package/node/ftps/index.js +0 -25
  735. package/node/images/index.d.ts +0 -6
  736. package/node/images/index.js +0 -59
  737. package/node/index.d.ts +0 -12
  738. package/node/index.js +0 -172
  739. package/node/process/index.d.ts +0 -6
  740. package/node/process/index.js +0 -16
  741. package/node/sftp/directory/index.d.ts +0 -5
  742. package/node/sftp/directory/index.js +0 -22
  743. package/node/sftp/file/index.d.ts +0 -8
  744. package/node/sftp/file/index.js +0 -34
  745. package/node/sftp/index.d.ts +0 -3
  746. package/node/sftp/index.js +0 -25
  747. package/shared/errors/index.d.ts +0 -138
  748. /package/{node/@design-edito/thumbnails/index.d.ts → agnostic/arrays/dedupe/index.test.d.ts} +0 -0
  749. /package/{shared/index.d.ts → agnostic/misc/data-size/types.js} +0 -0
@@ -0,0 +1,1680 @@
1
+ import {
2
+ ansiRegex
3
+ } from "../../../chunks/chunk-4WE2WEXL.js";
4
+ import {
5
+ __commonJS,
6
+ __require,
7
+ __toESM
8
+ } from "../../../chunks/chunk-XCBH6NLF.js";
9
+
10
+ // node_modules/cli-width/index.js
11
+ var require_cli_width = __commonJS({
12
+ "node_modules/cli-width/index.js"(exports, module) {
13
+ "use strict";
14
+ module.exports = cliWidth2;
15
+ function normalizeOpts(options) {
16
+ const defaultOpts = {
17
+ defaultWidth: 0,
18
+ output: process.stdout,
19
+ tty: __require("tty")
20
+ };
21
+ if (!options) {
22
+ return defaultOpts;
23
+ }
24
+ Object.keys(defaultOpts).forEach(function(key) {
25
+ if (!options[key]) {
26
+ options[key] = defaultOpts[key];
27
+ }
28
+ });
29
+ return options;
30
+ }
31
+ function cliWidth2(options) {
32
+ const opts = normalizeOpts(options);
33
+ if (opts.output.getWindowSize) {
34
+ return opts.output.getWindowSize()[0] || opts.defaultWidth;
35
+ }
36
+ if (opts.tty.getWindowSize) {
37
+ return opts.tty.getWindowSize()[1] || opts.defaultWidth;
38
+ }
39
+ if (opts.output.columns) {
40
+ return opts.output.columns;
41
+ }
42
+ if (process.env.CLI_WIDTH) {
43
+ const width = parseInt(process.env.CLI_WIDTH, 10);
44
+ if (!isNaN(width) && width !== 0) {
45
+ return width;
46
+ }
47
+ }
48
+ return opts.defaultWidth;
49
+ }
50
+ }
51
+ });
52
+
53
+ // node_modules/@inquirer/core/node_modules/emoji-regex/index.js
54
+ var require_emoji_regex = __commonJS({
55
+ "node_modules/@inquirer/core/node_modules/emoji-regex/index.js"(exports, module) {
56
+ module.exports = () => {
57
+ return /[#*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-\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-\uDED8\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]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\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]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\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]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\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]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\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]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\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]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\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]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\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]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\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]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\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]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\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\uDD3C-\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-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\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\uDE70]|\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]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\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]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\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]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\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]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\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]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\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;
58
+ };
59
+ }
60
+ });
61
+
62
+ // node_modules/mute-stream/lib/index.js
63
+ var require_lib = __commonJS({
64
+ "node_modules/mute-stream/lib/index.js"(exports, module) {
65
+ var Stream = __require("stream");
66
+ var MuteStream2 = class extends Stream {
67
+ #isTTY = null;
68
+ constructor(opts = {}) {
69
+ super(opts);
70
+ this.writable = this.readable = true;
71
+ this.muted = false;
72
+ this.on("pipe", this._onpipe);
73
+ this.replace = opts.replace;
74
+ this._prompt = opts.prompt || null;
75
+ this._hadControl = false;
76
+ }
77
+ #destSrc(key, def) {
78
+ if (this._dest) {
79
+ return this._dest[key];
80
+ }
81
+ if (this._src) {
82
+ return this._src[key];
83
+ }
84
+ return def;
85
+ }
86
+ #proxy(method, ...args) {
87
+ if (typeof this._dest?.[method] === "function") {
88
+ this._dest[method](...args);
89
+ }
90
+ if (typeof this._src?.[method] === "function") {
91
+ this._src[method](...args);
92
+ }
93
+ }
94
+ get isTTY() {
95
+ if (this.#isTTY !== null) {
96
+ return this.#isTTY;
97
+ }
98
+ return this.#destSrc("isTTY", false);
99
+ }
100
+ // basically just get replace the getter/setter with a regular value
101
+ set isTTY(val) {
102
+ this.#isTTY = val;
103
+ }
104
+ get rows() {
105
+ return this.#destSrc("rows");
106
+ }
107
+ get columns() {
108
+ return this.#destSrc("columns");
109
+ }
110
+ mute() {
111
+ this.muted = true;
112
+ }
113
+ unmute() {
114
+ this.muted = false;
115
+ }
116
+ _onpipe(src) {
117
+ this._src = src;
118
+ }
119
+ pipe(dest, options) {
120
+ this._dest = dest;
121
+ return super.pipe(dest, options);
122
+ }
123
+ pause() {
124
+ if (this._src) {
125
+ return this._src.pause();
126
+ }
127
+ }
128
+ resume() {
129
+ if (this._src) {
130
+ return this._src.resume();
131
+ }
132
+ }
133
+ write(c) {
134
+ if (this.muted) {
135
+ if (!this.replace) {
136
+ return true;
137
+ }
138
+ if (c.match(/^\u001b/)) {
139
+ if (c.indexOf(this._prompt) === 0) {
140
+ c = c.slice(this._prompt.length);
141
+ c = c.replace(/./g, this.replace);
142
+ c = this._prompt + c;
143
+ }
144
+ this._hadControl = true;
145
+ return this.emit("data", c);
146
+ } else {
147
+ if (this._prompt && this._hadControl && c.indexOf(this._prompt) === 0) {
148
+ this._hadControl = false;
149
+ this.emit("data", this._prompt);
150
+ c = c.slice(this._prompt.length);
151
+ }
152
+ c = c.toString().replace(/./g, this.replace);
153
+ }
154
+ }
155
+ this.emit("data", c);
156
+ }
157
+ end(c) {
158
+ if (this.muted) {
159
+ if (c && this.replace) {
160
+ c = c.toString().replace(/./g, this.replace);
161
+ } else {
162
+ c = null;
163
+ }
164
+ }
165
+ if (c) {
166
+ this.emit("data", c);
167
+ }
168
+ this.emit("end");
169
+ }
170
+ destroy(...args) {
171
+ return this.#proxy("destroy", ...args);
172
+ }
173
+ destroySoon(...args) {
174
+ return this.#proxy("destroySoon", ...args);
175
+ }
176
+ close(...args) {
177
+ return this.#proxy("close", ...args);
178
+ }
179
+ };
180
+ module.exports = MuteStream2;
181
+ }
182
+ });
183
+
184
+ // node_modules/@inquirer/core/dist/lib/key.js
185
+ var isTabKey = (key) => key.name === "tab";
186
+ var isEnterKey = (key) => key.name === "enter" || key.name === "return";
187
+
188
+ // node_modules/@inquirer/core/dist/lib/errors.js
189
+ var AbortPromptError = class extends Error {
190
+ name = "AbortPromptError";
191
+ message = "Prompt was aborted";
192
+ constructor(options) {
193
+ super();
194
+ this.cause = options?.cause;
195
+ }
196
+ };
197
+ var CancelPromptError = class extends Error {
198
+ name = "CancelPromptError";
199
+ message = "Prompt was canceled";
200
+ };
201
+ var ExitPromptError = class extends Error {
202
+ name = "ExitPromptError";
203
+ };
204
+ var HookError = class extends Error {
205
+ name = "HookError";
206
+ };
207
+ var ValidationError = class extends Error {
208
+ name = "ValidationError";
209
+ };
210
+
211
+ // node_modules/@inquirer/core/dist/lib/use-state.js
212
+ import { AsyncResource as AsyncResource2 } from "node:async_hooks";
213
+
214
+ // node_modules/@inquirer/core/dist/lib/hook-engine.js
215
+ import { AsyncLocalStorage, AsyncResource } from "node:async_hooks";
216
+ var hookStorage = new AsyncLocalStorage();
217
+ function createStore(rl) {
218
+ const store = {
219
+ rl,
220
+ hooks: [],
221
+ hooksCleanup: [],
222
+ hooksEffect: [],
223
+ index: 0,
224
+ handleChange() {
225
+ }
226
+ };
227
+ return store;
228
+ }
229
+ function withHooks(rl, cb) {
230
+ const store = createStore(rl);
231
+ return hookStorage.run(store, () => {
232
+ function cycle(render) {
233
+ store.handleChange = () => {
234
+ store.index = 0;
235
+ render();
236
+ };
237
+ store.handleChange();
238
+ }
239
+ return cb(cycle);
240
+ });
241
+ }
242
+ function getStore() {
243
+ const store = hookStorage.getStore();
244
+ if (!store) {
245
+ throw new HookError("[Inquirer] Hook functions can only be called from within a prompt");
246
+ }
247
+ return store;
248
+ }
249
+ function readline() {
250
+ return getStore().rl;
251
+ }
252
+ function withUpdates(fn) {
253
+ const wrapped = (...args) => {
254
+ const store = getStore();
255
+ let shouldUpdate = false;
256
+ const oldHandleChange = store.handleChange;
257
+ store.handleChange = () => {
258
+ shouldUpdate = true;
259
+ };
260
+ const returnValue = fn(...args);
261
+ if (shouldUpdate) {
262
+ oldHandleChange();
263
+ }
264
+ store.handleChange = oldHandleChange;
265
+ return returnValue;
266
+ };
267
+ return AsyncResource.bind(wrapped);
268
+ }
269
+ function withPointer(cb) {
270
+ const store = getStore();
271
+ const { index } = store;
272
+ const pointer = {
273
+ get() {
274
+ return store.hooks[index];
275
+ },
276
+ set(value) {
277
+ store.hooks[index] = value;
278
+ },
279
+ initialized: index in store.hooks
280
+ };
281
+ const returnValue = cb(pointer);
282
+ store.index++;
283
+ return returnValue;
284
+ }
285
+ function handleChange() {
286
+ getStore().handleChange();
287
+ }
288
+ var effectScheduler = {
289
+ queue(cb) {
290
+ const store = getStore();
291
+ const { index } = store;
292
+ store.hooksEffect.push(() => {
293
+ store.hooksCleanup[index]?.();
294
+ const cleanFn = cb(readline());
295
+ if (cleanFn != null && typeof cleanFn !== "function") {
296
+ throw new ValidationError("useEffect return value must be a cleanup function or nothing.");
297
+ }
298
+ store.hooksCleanup[index] = cleanFn;
299
+ });
300
+ },
301
+ run() {
302
+ const store = getStore();
303
+ withUpdates(() => {
304
+ store.hooksEffect.forEach((effect) => {
305
+ effect();
306
+ });
307
+ store.hooksEffect.length = 0;
308
+ })();
309
+ },
310
+ clearAll() {
311
+ const store = getStore();
312
+ store.hooksCleanup.forEach((cleanFn) => {
313
+ cleanFn?.();
314
+ });
315
+ store.hooksEffect.length = 0;
316
+ store.hooksCleanup.length = 0;
317
+ }
318
+ };
319
+
320
+ // node_modules/@inquirer/core/dist/lib/use-state.js
321
+ function useState(defaultValue) {
322
+ return withPointer((pointer) => {
323
+ const setState = AsyncResource2.bind(function setState2(newValue) {
324
+ if (pointer.get() !== newValue) {
325
+ pointer.set(newValue);
326
+ handleChange();
327
+ }
328
+ });
329
+ if (pointer.initialized) {
330
+ return [pointer.get(), setState];
331
+ }
332
+ const value = typeof defaultValue === "function" ? defaultValue() : defaultValue;
333
+ pointer.set(value);
334
+ return [value, setState];
335
+ });
336
+ }
337
+
338
+ // node_modules/@inquirer/core/dist/lib/use-effect.js
339
+ function useEffect(cb, depArray) {
340
+ withPointer((pointer) => {
341
+ const oldDeps = pointer.get();
342
+ const hasChanged = !Array.isArray(oldDeps) || depArray.some((dep, i) => !Object.is(dep, oldDeps[i]));
343
+ if (hasChanged) {
344
+ effectScheduler.queue(cb);
345
+ }
346
+ pointer.set(depArray);
347
+ });
348
+ }
349
+
350
+ // node_modules/@inquirer/core/dist/lib/theme.js
351
+ import { styleText } from "node:util";
352
+
353
+ // node_modules/@inquirer/figures/dist/index.js
354
+ import process2 from "node:process";
355
+ function isUnicodeSupported() {
356
+ if (process2.platform !== "win32") {
357
+ return process2.env["TERM"] !== "linux";
358
+ }
359
+ return Boolean(process2.env["WT_SESSION"]) || // Windows Terminal
360
+ Boolean(process2.env["TERMINUS_SUBLIME"]) || // Terminus (<0.2.27)
361
+ process2.env["ConEmuTask"] === "{cmd::Cmder}" || // ConEmu and cmder
362
+ process2.env["TERM_PROGRAM"] === "Terminus-Sublime" || process2.env["TERM_PROGRAM"] === "vscode" || process2.env["TERM"] === "xterm-256color" || process2.env["TERM"] === "alacritty" || process2.env["TERMINAL_EMULATOR"] === "JetBrains-JediTerm";
363
+ }
364
+ var common = {
365
+ circleQuestionMark: "(?)",
366
+ questionMarkPrefix: "(?)",
367
+ square: "\u2588",
368
+ squareDarkShade: "\u2593",
369
+ squareMediumShade: "\u2592",
370
+ squareLightShade: "\u2591",
371
+ squareTop: "\u2580",
372
+ squareBottom: "\u2584",
373
+ squareLeft: "\u258C",
374
+ squareRight: "\u2590",
375
+ squareCenter: "\u25A0",
376
+ bullet: "\u25CF",
377
+ dot: "\u2024",
378
+ ellipsis: "\u2026",
379
+ pointerSmall: "\u203A",
380
+ triangleUp: "\u25B2",
381
+ triangleUpSmall: "\u25B4",
382
+ triangleDown: "\u25BC",
383
+ triangleDownSmall: "\u25BE",
384
+ triangleLeftSmall: "\u25C2",
385
+ triangleRightSmall: "\u25B8",
386
+ home: "\u2302",
387
+ heart: "\u2665",
388
+ musicNote: "\u266A",
389
+ musicNoteBeamed: "\u266B",
390
+ arrowUp: "\u2191",
391
+ arrowDown: "\u2193",
392
+ arrowLeft: "\u2190",
393
+ arrowRight: "\u2192",
394
+ arrowLeftRight: "\u2194",
395
+ arrowUpDown: "\u2195",
396
+ almostEqual: "\u2248",
397
+ notEqual: "\u2260",
398
+ lessOrEqual: "\u2264",
399
+ greaterOrEqual: "\u2265",
400
+ identical: "\u2261",
401
+ infinity: "\u221E",
402
+ subscriptZero: "\u2080",
403
+ subscriptOne: "\u2081",
404
+ subscriptTwo: "\u2082",
405
+ subscriptThree: "\u2083",
406
+ subscriptFour: "\u2084",
407
+ subscriptFive: "\u2085",
408
+ subscriptSix: "\u2086",
409
+ subscriptSeven: "\u2087",
410
+ subscriptEight: "\u2088",
411
+ subscriptNine: "\u2089",
412
+ oneHalf: "\xBD",
413
+ oneThird: "\u2153",
414
+ oneQuarter: "\xBC",
415
+ oneFifth: "\u2155",
416
+ oneSixth: "\u2159",
417
+ oneEighth: "\u215B",
418
+ twoThirds: "\u2154",
419
+ twoFifths: "\u2156",
420
+ threeQuarters: "\xBE",
421
+ threeFifths: "\u2157",
422
+ threeEighths: "\u215C",
423
+ fourFifths: "\u2158",
424
+ fiveSixths: "\u215A",
425
+ fiveEighths: "\u215D",
426
+ sevenEighths: "\u215E",
427
+ line: "\u2500",
428
+ lineBold: "\u2501",
429
+ lineDouble: "\u2550",
430
+ lineDashed0: "\u2504",
431
+ lineDashed1: "\u2505",
432
+ lineDashed2: "\u2508",
433
+ lineDashed3: "\u2509",
434
+ lineDashed4: "\u254C",
435
+ lineDashed5: "\u254D",
436
+ lineDashed6: "\u2574",
437
+ lineDashed7: "\u2576",
438
+ lineDashed8: "\u2578",
439
+ lineDashed9: "\u257A",
440
+ lineDashed10: "\u257C",
441
+ lineDashed11: "\u257E",
442
+ lineDashed12: "\u2212",
443
+ lineDashed13: "\u2013",
444
+ lineDashed14: "\u2010",
445
+ lineDashed15: "\u2043",
446
+ lineVertical: "\u2502",
447
+ lineVerticalBold: "\u2503",
448
+ lineVerticalDouble: "\u2551",
449
+ lineVerticalDashed0: "\u2506",
450
+ lineVerticalDashed1: "\u2507",
451
+ lineVerticalDashed2: "\u250A",
452
+ lineVerticalDashed3: "\u250B",
453
+ lineVerticalDashed4: "\u254E",
454
+ lineVerticalDashed5: "\u254F",
455
+ lineVerticalDashed6: "\u2575",
456
+ lineVerticalDashed7: "\u2577",
457
+ lineVerticalDashed8: "\u2579",
458
+ lineVerticalDashed9: "\u257B",
459
+ lineVerticalDashed10: "\u257D",
460
+ lineVerticalDashed11: "\u257F",
461
+ lineDownLeft: "\u2510",
462
+ lineDownLeftArc: "\u256E",
463
+ lineDownBoldLeftBold: "\u2513",
464
+ lineDownBoldLeft: "\u2512",
465
+ lineDownLeftBold: "\u2511",
466
+ lineDownDoubleLeftDouble: "\u2557",
467
+ lineDownDoubleLeft: "\u2556",
468
+ lineDownLeftDouble: "\u2555",
469
+ lineDownRight: "\u250C",
470
+ lineDownRightArc: "\u256D",
471
+ lineDownBoldRightBold: "\u250F",
472
+ lineDownBoldRight: "\u250E",
473
+ lineDownRightBold: "\u250D",
474
+ lineDownDoubleRightDouble: "\u2554",
475
+ lineDownDoubleRight: "\u2553",
476
+ lineDownRightDouble: "\u2552",
477
+ lineUpLeft: "\u2518",
478
+ lineUpLeftArc: "\u256F",
479
+ lineUpBoldLeftBold: "\u251B",
480
+ lineUpBoldLeft: "\u251A",
481
+ lineUpLeftBold: "\u2519",
482
+ lineUpDoubleLeftDouble: "\u255D",
483
+ lineUpDoubleLeft: "\u255C",
484
+ lineUpLeftDouble: "\u255B",
485
+ lineUpRight: "\u2514",
486
+ lineUpRightArc: "\u2570",
487
+ lineUpBoldRightBold: "\u2517",
488
+ lineUpBoldRight: "\u2516",
489
+ lineUpRightBold: "\u2515",
490
+ lineUpDoubleRightDouble: "\u255A",
491
+ lineUpDoubleRight: "\u2559",
492
+ lineUpRightDouble: "\u2558",
493
+ lineUpDownLeft: "\u2524",
494
+ lineUpBoldDownBoldLeftBold: "\u252B",
495
+ lineUpBoldDownBoldLeft: "\u2528",
496
+ lineUpDownLeftBold: "\u2525",
497
+ lineUpBoldDownLeftBold: "\u2529",
498
+ lineUpDownBoldLeftBold: "\u252A",
499
+ lineUpDownBoldLeft: "\u2527",
500
+ lineUpBoldDownLeft: "\u2526",
501
+ lineUpDoubleDownDoubleLeftDouble: "\u2563",
502
+ lineUpDoubleDownDoubleLeft: "\u2562",
503
+ lineUpDownLeftDouble: "\u2561",
504
+ lineUpDownRight: "\u251C",
505
+ lineUpBoldDownBoldRightBold: "\u2523",
506
+ lineUpBoldDownBoldRight: "\u2520",
507
+ lineUpDownRightBold: "\u251D",
508
+ lineUpBoldDownRightBold: "\u2521",
509
+ lineUpDownBoldRightBold: "\u2522",
510
+ lineUpDownBoldRight: "\u251F",
511
+ lineUpBoldDownRight: "\u251E",
512
+ lineUpDoubleDownDoubleRightDouble: "\u2560",
513
+ lineUpDoubleDownDoubleRight: "\u255F",
514
+ lineUpDownRightDouble: "\u255E",
515
+ lineDownLeftRight: "\u252C",
516
+ lineDownBoldLeftBoldRightBold: "\u2533",
517
+ lineDownLeftBoldRightBold: "\u252F",
518
+ lineDownBoldLeftRight: "\u2530",
519
+ lineDownBoldLeftBoldRight: "\u2531",
520
+ lineDownBoldLeftRightBold: "\u2532",
521
+ lineDownLeftRightBold: "\u252E",
522
+ lineDownLeftBoldRight: "\u252D",
523
+ lineDownDoubleLeftDoubleRightDouble: "\u2566",
524
+ lineDownDoubleLeftRight: "\u2565",
525
+ lineDownLeftDoubleRightDouble: "\u2564",
526
+ lineUpLeftRight: "\u2534",
527
+ lineUpBoldLeftBoldRightBold: "\u253B",
528
+ lineUpLeftBoldRightBold: "\u2537",
529
+ lineUpBoldLeftRight: "\u2538",
530
+ lineUpBoldLeftBoldRight: "\u2539",
531
+ lineUpBoldLeftRightBold: "\u253A",
532
+ lineUpLeftRightBold: "\u2536",
533
+ lineUpLeftBoldRight: "\u2535",
534
+ lineUpDoubleLeftDoubleRightDouble: "\u2569",
535
+ lineUpDoubleLeftRight: "\u2568",
536
+ lineUpLeftDoubleRightDouble: "\u2567",
537
+ lineUpDownLeftRight: "\u253C",
538
+ lineUpBoldDownBoldLeftBoldRightBold: "\u254B",
539
+ lineUpDownBoldLeftBoldRightBold: "\u2548",
540
+ lineUpBoldDownLeftBoldRightBold: "\u2547",
541
+ lineUpBoldDownBoldLeftRightBold: "\u254A",
542
+ lineUpBoldDownBoldLeftBoldRight: "\u2549",
543
+ lineUpBoldDownLeftRight: "\u2540",
544
+ lineUpDownBoldLeftRight: "\u2541",
545
+ lineUpDownLeftBoldRight: "\u253D",
546
+ lineUpDownLeftRightBold: "\u253E",
547
+ lineUpBoldDownBoldLeftRight: "\u2542",
548
+ lineUpDownLeftBoldRightBold: "\u253F",
549
+ lineUpBoldDownLeftBoldRight: "\u2543",
550
+ lineUpBoldDownLeftRightBold: "\u2544",
551
+ lineUpDownBoldLeftBoldRight: "\u2545",
552
+ lineUpDownBoldLeftRightBold: "\u2546",
553
+ lineUpDoubleDownDoubleLeftDoubleRightDouble: "\u256C",
554
+ lineUpDoubleDownDoubleLeftRight: "\u256B",
555
+ lineUpDownLeftDoubleRightDouble: "\u256A",
556
+ lineCross: "\u2573",
557
+ lineBackslash: "\u2572",
558
+ lineSlash: "\u2571"
559
+ };
560
+ var specialMainSymbols = {
561
+ tick: "\u2714",
562
+ info: "\u2139",
563
+ warning: "\u26A0",
564
+ cross: "\u2718",
565
+ squareSmall: "\u25FB",
566
+ squareSmallFilled: "\u25FC",
567
+ circle: "\u25EF",
568
+ circleFilled: "\u25C9",
569
+ circleDotted: "\u25CC",
570
+ circleDouble: "\u25CE",
571
+ circleCircle: "\u24DE",
572
+ circleCross: "\u24E7",
573
+ circlePipe: "\u24BE",
574
+ radioOn: "\u25C9",
575
+ radioOff: "\u25EF",
576
+ checkboxOn: "\u2612",
577
+ checkboxOff: "\u2610",
578
+ checkboxCircleOn: "\u24E7",
579
+ checkboxCircleOff: "\u24BE",
580
+ pointer: "\u276F",
581
+ triangleUpOutline: "\u25B3",
582
+ triangleLeft: "\u25C0",
583
+ triangleRight: "\u25B6",
584
+ lozenge: "\u25C6",
585
+ lozengeOutline: "\u25C7",
586
+ hamburger: "\u2630",
587
+ smiley: "\u32E1",
588
+ mustache: "\u0DF4",
589
+ star: "\u2605",
590
+ play: "\u25B6",
591
+ nodejs: "\u2B22",
592
+ oneSeventh: "\u2150",
593
+ oneNinth: "\u2151",
594
+ oneTenth: "\u2152"
595
+ };
596
+ var specialFallbackSymbols = {
597
+ tick: "\u221A",
598
+ info: "i",
599
+ warning: "\u203C",
600
+ cross: "\xD7",
601
+ squareSmall: "\u25A1",
602
+ squareSmallFilled: "\u25A0",
603
+ circle: "( )",
604
+ circleFilled: "(*)",
605
+ circleDotted: "( )",
606
+ circleDouble: "( )",
607
+ circleCircle: "(\u25CB)",
608
+ circleCross: "(\xD7)",
609
+ circlePipe: "(\u2502)",
610
+ radioOn: "(*)",
611
+ radioOff: "( )",
612
+ checkboxOn: "[\xD7]",
613
+ checkboxOff: "[ ]",
614
+ checkboxCircleOn: "(\xD7)",
615
+ checkboxCircleOff: "( )",
616
+ pointer: ">",
617
+ triangleUpOutline: "\u2206",
618
+ triangleLeft: "\u25C4",
619
+ triangleRight: "\u25BA",
620
+ lozenge: "\u2666",
621
+ lozengeOutline: "\u25CA",
622
+ hamburger: "\u2261",
623
+ smiley: "\u263A",
624
+ mustache: "\u250C\u2500\u2510",
625
+ star: "\u2736",
626
+ play: "\u25BA",
627
+ nodejs: "\u2666",
628
+ oneSeventh: "1/7",
629
+ oneNinth: "1/9",
630
+ oneTenth: "1/10"
631
+ };
632
+ var mainSymbols = {
633
+ ...common,
634
+ ...specialMainSymbols
635
+ };
636
+ var fallbackSymbols = {
637
+ ...common,
638
+ ...specialFallbackSymbols
639
+ };
640
+ var shouldUseMain = isUnicodeSupported();
641
+ var figures = shouldUseMain ? mainSymbols : fallbackSymbols;
642
+ var dist_default = figures;
643
+ var replacements = Object.entries(specialMainSymbols);
644
+
645
+ // node_modules/@inquirer/core/dist/lib/theme.js
646
+ var defaultTheme = {
647
+ prefix: {
648
+ idle: styleText("blue", "?"),
649
+ done: styleText("green", dist_default.tick)
650
+ },
651
+ spinner: {
652
+ interval: 80,
653
+ frames: ["\u280B", "\u2819", "\u2839", "\u2838", "\u283C", "\u2834", "\u2826", "\u2827", "\u2807", "\u280F"].map((frame) => styleText("yellow", frame))
654
+ },
655
+ style: {
656
+ answer: (text) => styleText("cyan", text),
657
+ message: (text) => styleText("bold", text),
658
+ error: (text) => styleText("red", `> ${text}`),
659
+ defaultAnswer: (text) => styleText("dim", `(${text})`),
660
+ help: (text) => styleText("dim", text),
661
+ highlight: (text) => styleText("cyan", text),
662
+ key: (text) => styleText("cyan", styleText("bold", `<${text}>`))
663
+ }
664
+ };
665
+
666
+ // node_modules/@inquirer/core/dist/lib/make-theme.js
667
+ function isPlainObject(value) {
668
+ if (typeof value !== "object" || value === null)
669
+ return false;
670
+ let proto = value;
671
+ while (Object.getPrototypeOf(proto) !== null) {
672
+ proto = Object.getPrototypeOf(proto);
673
+ }
674
+ return Object.getPrototypeOf(value) === proto;
675
+ }
676
+ function deepMerge(...objects) {
677
+ const output = {};
678
+ for (const obj of objects) {
679
+ for (const [key, value] of Object.entries(obj)) {
680
+ const prevValue = output[key];
681
+ output[key] = isPlainObject(prevValue) && isPlainObject(value) ? deepMerge(prevValue, value) : value;
682
+ }
683
+ }
684
+ return output;
685
+ }
686
+ function makeTheme(...themes) {
687
+ const themesToMerge = [
688
+ defaultTheme,
689
+ ...themes.filter((theme) => theme != null)
690
+ ];
691
+ return deepMerge(...themesToMerge);
692
+ }
693
+
694
+ // node_modules/@inquirer/core/dist/lib/use-prefix.js
695
+ function usePrefix({ status = "idle", theme }) {
696
+ const [showLoader, setShowLoader] = useState(false);
697
+ const [tick, setTick] = useState(0);
698
+ const { prefix, spinner } = makeTheme(theme);
699
+ useEffect(() => {
700
+ if (status === "loading") {
701
+ let tickInterval;
702
+ let inc = -1;
703
+ const delayTimeout = setTimeout(() => {
704
+ setShowLoader(true);
705
+ tickInterval = setInterval(() => {
706
+ inc = inc + 1;
707
+ setTick(inc % spinner.frames.length);
708
+ }, spinner.interval);
709
+ }, 300);
710
+ return () => {
711
+ clearTimeout(delayTimeout);
712
+ clearInterval(tickInterval);
713
+ };
714
+ } else {
715
+ setShowLoader(false);
716
+ }
717
+ }, [status]);
718
+ if (showLoader) {
719
+ return spinner.frames[tick];
720
+ }
721
+ const iconName = status === "loading" ? "idle" : status;
722
+ return typeof prefix === "string" ? prefix : prefix[iconName] ?? prefix["idle"];
723
+ }
724
+
725
+ // node_modules/@inquirer/core/dist/lib/use-ref.js
726
+ function useRef(val) {
727
+ return useState({ current: val })[0];
728
+ }
729
+
730
+ // node_modules/@inquirer/core/dist/lib/use-keypress.js
731
+ function useKeypress(userHandler) {
732
+ const signal = useRef(userHandler);
733
+ signal.current = userHandler;
734
+ useEffect((rl) => {
735
+ let ignore = false;
736
+ const handler = withUpdates((_input, event) => {
737
+ if (ignore)
738
+ return;
739
+ void signal.current(event, rl);
740
+ });
741
+ rl.input.on("keypress", handler);
742
+ return () => {
743
+ ignore = true;
744
+ rl.input.removeListener("keypress", handler);
745
+ };
746
+ }, []);
747
+ }
748
+
749
+ // node_modules/@inquirer/core/dist/lib/utils.js
750
+ var import_cli_width = __toESM(require_cli_width(), 1);
751
+
752
+ // node_modules/strip-ansi/index.js
753
+ var regex = ansiRegex();
754
+ function stripAnsi(string) {
755
+ if (typeof string !== "string") {
756
+ throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
757
+ }
758
+ return string.replace(regex, "");
759
+ }
760
+
761
+ // node_modules/get-east-asian-width/lookup.js
762
+ function isAmbiguous(x) {
763
+ return x === 161 || x === 164 || x === 167 || x === 168 || x === 170 || x === 173 || x === 174 || x >= 176 && x <= 180 || x >= 182 && x <= 186 || x >= 188 && x <= 191 || x === 198 || x === 208 || x === 215 || x === 216 || x >= 222 && x <= 225 || x === 230 || x >= 232 && x <= 234 || x === 236 || x === 237 || x === 240 || x === 242 || x === 243 || x >= 247 && x <= 250 || x === 252 || x === 254 || x === 257 || x === 273 || x === 275 || x === 283 || x === 294 || x === 295 || x === 299 || x >= 305 && x <= 307 || x === 312 || x >= 319 && x <= 322 || x === 324 || x >= 328 && x <= 331 || x === 333 || x === 338 || x === 339 || x === 358 || x === 359 || x === 363 || x === 462 || x === 464 || x === 466 || x === 468 || x === 470 || x === 472 || x === 474 || x === 476 || x === 593 || x === 609 || x === 708 || x === 711 || x >= 713 && x <= 715 || x === 717 || x === 720 || x >= 728 && x <= 731 || x === 733 || x === 735 || x >= 768 && x <= 879 || x >= 913 && x <= 929 || x >= 931 && x <= 937 || x >= 945 && x <= 961 || x >= 963 && x <= 969 || x === 1025 || x >= 1040 && x <= 1103 || x === 1105 || x === 8208 || x >= 8211 && x <= 8214 || x === 8216 || x === 8217 || x === 8220 || x === 8221 || x >= 8224 && x <= 8226 || x >= 8228 && x <= 8231 || x === 8240 || x === 8242 || x === 8243 || x === 8245 || x === 8251 || x === 8254 || x === 8308 || x === 8319 || x >= 8321 && x <= 8324 || x === 8364 || x === 8451 || x === 8453 || x === 8457 || x === 8467 || x === 8470 || x === 8481 || x === 8482 || x === 8486 || x === 8491 || x === 8531 || x === 8532 || x >= 8539 && x <= 8542 || x >= 8544 && x <= 8555 || x >= 8560 && x <= 8569 || x === 8585 || x >= 8592 && x <= 8601 || x === 8632 || x === 8633 || x === 8658 || x === 8660 || x === 8679 || x === 8704 || x === 8706 || x === 8707 || x === 8711 || x === 8712 || x === 8715 || x === 8719 || x === 8721 || x === 8725 || x === 8730 || x >= 8733 && x <= 8736 || x === 8739 || x === 8741 || x >= 8743 && x <= 8748 || x === 8750 || x >= 8756 && x <= 8759 || x === 8764 || x === 8765 || x === 8776 || x === 8780 || x === 8786 || x === 8800 || x === 8801 || x >= 8804 && x <= 8807 || x === 8810 || x === 8811 || x === 8814 || x === 8815 || x === 8834 || x === 8835 || x === 8838 || x === 8839 || x === 8853 || x === 8857 || x === 8869 || x === 8895 || x === 8978 || x >= 9312 && x <= 9449 || x >= 9451 && x <= 9547 || x >= 9552 && x <= 9587 || x >= 9600 && x <= 9615 || x >= 9618 && x <= 9621 || x === 9632 || x === 9633 || x >= 9635 && x <= 9641 || x === 9650 || x === 9651 || x === 9654 || x === 9655 || x === 9660 || x === 9661 || x === 9664 || x === 9665 || x >= 9670 && x <= 9672 || x === 9675 || x >= 9678 && x <= 9681 || x >= 9698 && x <= 9701 || x === 9711 || x === 9733 || x === 9734 || x === 9737 || x === 9742 || x === 9743 || x === 9756 || x === 9758 || x === 9792 || x === 9794 || x === 9824 || x === 9825 || x >= 9827 && x <= 9829 || x >= 9831 && x <= 9834 || x === 9836 || x === 9837 || x === 9839 || x === 9886 || x === 9887 || x === 9919 || x >= 9926 && x <= 9933 || x >= 9935 && x <= 9939 || x >= 9941 && x <= 9953 || x === 9955 || x === 9960 || x === 9961 || x >= 9963 && x <= 9969 || x === 9972 || x >= 9974 && x <= 9977 || x === 9979 || x === 9980 || x === 9982 || x === 9983 || x === 10045 || x >= 10102 && x <= 10111 || x >= 11094 && x <= 11097 || x >= 12872 && x <= 12879 || x >= 57344 && x <= 63743 || x >= 65024 && x <= 65039 || x === 65533 || x >= 127232 && x <= 127242 || x >= 127248 && x <= 127277 || x >= 127280 && x <= 127337 || x >= 127344 && x <= 127373 || x === 127375 || x === 127376 || x >= 127387 && x <= 127404 || x >= 917760 && x <= 917999 || x >= 983040 && x <= 1048573 || x >= 1048576 && x <= 1114109;
764
+ }
765
+ function isFullWidth(x) {
766
+ return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
767
+ }
768
+ function isWide(x) {
769
+ return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9776 && x <= 9783 || x >= 9800 && x <= 9811 || x === 9855 || x >= 9866 && x <= 9871 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12773 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x >= 94192 && x <= 94198 || x >= 94208 && x <= 101589 || x >= 101631 && x <= 101662 || x >= 101760 && x <= 101874 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x >= 119552 && x <= 119638 || x >= 119648 && x <= 119670 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128728 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129674 || x >= 129678 && x <= 129734 || x === 129736 || x >= 129741 && x <= 129756 || x >= 129759 && x <= 129770 || x >= 129775 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
770
+ }
771
+
772
+ // node_modules/get-east-asian-width/index.js
773
+ function validate(codePoint) {
774
+ if (!Number.isSafeInteger(codePoint)) {
775
+ throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
776
+ }
777
+ }
778
+ function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
779
+ validate(codePoint);
780
+ if (isFullWidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) {
781
+ return 2;
782
+ }
783
+ return 1;
784
+ }
785
+
786
+ // node_modules/@inquirer/core/node_modules/string-width/index.js
787
+ var import_emoji_regex = __toESM(require_emoji_regex(), 1);
788
+ var segmenter = new Intl.Segmenter();
789
+ var defaultIgnorableCodePointRegex = /^\p{Default_Ignorable_Code_Point}$/u;
790
+ function stringWidth(string, options = {}) {
791
+ if (typeof string !== "string" || string.length === 0) {
792
+ return 0;
793
+ }
794
+ const {
795
+ ambiguousIsNarrow = true,
796
+ countAnsiEscapeCodes = false
797
+ } = options;
798
+ if (!countAnsiEscapeCodes) {
799
+ string = stripAnsi(string);
800
+ }
801
+ if (string.length === 0) {
802
+ return 0;
803
+ }
804
+ let width = 0;
805
+ const eastAsianWidthOptions = { ambiguousAsWide: !ambiguousIsNarrow };
806
+ for (const { segment: character } of segmenter.segment(string)) {
807
+ const codePoint = character.codePointAt(0);
808
+ if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
809
+ continue;
810
+ }
811
+ if (codePoint >= 8203 && codePoint <= 8207 || codePoint === 65279) {
812
+ continue;
813
+ }
814
+ if (codePoint >= 768 && codePoint <= 879 || codePoint >= 6832 && codePoint <= 6911 || codePoint >= 7616 && codePoint <= 7679 || codePoint >= 8400 && codePoint <= 8447 || codePoint >= 65056 && codePoint <= 65071) {
815
+ continue;
816
+ }
817
+ if (codePoint >= 55296 && codePoint <= 57343) {
818
+ continue;
819
+ }
820
+ if (codePoint >= 65024 && codePoint <= 65039) {
821
+ continue;
822
+ }
823
+ if (defaultIgnorableCodePointRegex.test(character)) {
824
+ continue;
825
+ }
826
+ if ((0, import_emoji_regex.default)().test(character)) {
827
+ width += 2;
828
+ continue;
829
+ }
830
+ width += eastAsianWidth(codePoint, eastAsianWidthOptions);
831
+ }
832
+ return width;
833
+ }
834
+
835
+ // node_modules/ansi-styles/index.js
836
+ var ANSI_BACKGROUND_OFFSET = 10;
837
+ var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
838
+ var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
839
+ var wrapAnsi16m = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`;
840
+ var styles = {
841
+ modifier: {
842
+ reset: [0, 0],
843
+ // 21 isn't widely supported and 22 does the same thing
844
+ bold: [1, 22],
845
+ dim: [2, 22],
846
+ italic: [3, 23],
847
+ underline: [4, 24],
848
+ overline: [53, 55],
849
+ inverse: [7, 27],
850
+ hidden: [8, 28],
851
+ strikethrough: [9, 29]
852
+ },
853
+ color: {
854
+ black: [30, 39],
855
+ red: [31, 39],
856
+ green: [32, 39],
857
+ yellow: [33, 39],
858
+ blue: [34, 39],
859
+ magenta: [35, 39],
860
+ cyan: [36, 39],
861
+ white: [37, 39],
862
+ // Bright color
863
+ blackBright: [90, 39],
864
+ gray: [90, 39],
865
+ // Alias of `blackBright`
866
+ grey: [90, 39],
867
+ // Alias of `blackBright`
868
+ redBright: [91, 39],
869
+ greenBright: [92, 39],
870
+ yellowBright: [93, 39],
871
+ blueBright: [94, 39],
872
+ magentaBright: [95, 39],
873
+ cyanBright: [96, 39],
874
+ whiteBright: [97, 39]
875
+ },
876
+ bgColor: {
877
+ bgBlack: [40, 49],
878
+ bgRed: [41, 49],
879
+ bgGreen: [42, 49],
880
+ bgYellow: [43, 49],
881
+ bgBlue: [44, 49],
882
+ bgMagenta: [45, 49],
883
+ bgCyan: [46, 49],
884
+ bgWhite: [47, 49],
885
+ // Bright color
886
+ bgBlackBright: [100, 49],
887
+ bgGray: [100, 49],
888
+ // Alias of `bgBlackBright`
889
+ bgGrey: [100, 49],
890
+ // Alias of `bgBlackBright`
891
+ bgRedBright: [101, 49],
892
+ bgGreenBright: [102, 49],
893
+ bgYellowBright: [103, 49],
894
+ bgBlueBright: [104, 49],
895
+ bgMagentaBright: [105, 49],
896
+ bgCyanBright: [106, 49],
897
+ bgWhiteBright: [107, 49]
898
+ }
899
+ };
900
+ var modifierNames = Object.keys(styles.modifier);
901
+ var foregroundColorNames = Object.keys(styles.color);
902
+ var backgroundColorNames = Object.keys(styles.bgColor);
903
+ var colorNames = [...foregroundColorNames, ...backgroundColorNames];
904
+ function assembleStyles() {
905
+ const codes = /* @__PURE__ */ new Map();
906
+ for (const [groupName, group] of Object.entries(styles)) {
907
+ for (const [styleName, style] of Object.entries(group)) {
908
+ styles[styleName] = {
909
+ open: `\x1B[${style[0]}m`,
910
+ close: `\x1B[${style[1]}m`
911
+ };
912
+ group[styleName] = styles[styleName];
913
+ codes.set(style[0], style[1]);
914
+ }
915
+ Object.defineProperty(styles, groupName, {
916
+ value: group,
917
+ enumerable: false
918
+ });
919
+ }
920
+ Object.defineProperty(styles, "codes", {
921
+ value: codes,
922
+ enumerable: false
923
+ });
924
+ styles.color.close = "\x1B[39m";
925
+ styles.bgColor.close = "\x1B[49m";
926
+ styles.color.ansi = wrapAnsi16();
927
+ styles.color.ansi256 = wrapAnsi256();
928
+ styles.color.ansi16m = wrapAnsi16m();
929
+ styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
930
+ styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
931
+ styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
932
+ Object.defineProperties(styles, {
933
+ rgbToAnsi256: {
934
+ value: (red, green, blue) => {
935
+ if (red === green && green === blue) {
936
+ if (red < 8) {
937
+ return 16;
938
+ }
939
+ if (red > 248) {
940
+ return 231;
941
+ }
942
+ return Math.round((red - 8) / 247 * 24) + 232;
943
+ }
944
+ return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
945
+ },
946
+ enumerable: false
947
+ },
948
+ hexToRgb: {
949
+ value: (hex) => {
950
+ const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
951
+ if (!matches) {
952
+ return [0, 0, 0];
953
+ }
954
+ let [colorString] = matches;
955
+ if (colorString.length === 3) {
956
+ colorString = [...colorString].map((character) => character + character).join("");
957
+ }
958
+ const integer = Number.parseInt(colorString, 16);
959
+ return [
960
+ /* eslint-disable no-bitwise */
961
+ integer >> 16 & 255,
962
+ integer >> 8 & 255,
963
+ integer & 255
964
+ /* eslint-enable no-bitwise */
965
+ ];
966
+ },
967
+ enumerable: false
968
+ },
969
+ hexToAnsi256: {
970
+ value: (hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)),
971
+ enumerable: false
972
+ },
973
+ ansi256ToAnsi: {
974
+ value: (code) => {
975
+ if (code < 8) {
976
+ return 30 + code;
977
+ }
978
+ if (code < 16) {
979
+ return 90 + (code - 8);
980
+ }
981
+ let red;
982
+ let green;
983
+ let blue;
984
+ if (code >= 232) {
985
+ red = ((code - 232) * 10 + 8) / 255;
986
+ green = red;
987
+ blue = red;
988
+ } else {
989
+ code -= 16;
990
+ const remainder = code % 36;
991
+ red = Math.floor(code / 36) / 5;
992
+ green = Math.floor(remainder / 6) / 5;
993
+ blue = remainder % 6 / 5;
994
+ }
995
+ const value = Math.max(red, green, blue) * 2;
996
+ if (value === 0) {
997
+ return 30;
998
+ }
999
+ let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
1000
+ if (value === 2) {
1001
+ result += 60;
1002
+ }
1003
+ return result;
1004
+ },
1005
+ enumerable: false
1006
+ },
1007
+ rgbToAnsi: {
1008
+ value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),
1009
+ enumerable: false
1010
+ },
1011
+ hexToAnsi: {
1012
+ value: (hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),
1013
+ enumerable: false
1014
+ }
1015
+ });
1016
+ return styles;
1017
+ }
1018
+ var ansiStyles = assembleStyles();
1019
+ var ansi_styles_default = ansiStyles;
1020
+
1021
+ // node_modules/@inquirer/core/node_modules/wrap-ansi/index.js
1022
+ var ESCAPES = /* @__PURE__ */ new Set([
1023
+ "\x1B",
1024
+ "\x9B"
1025
+ ]);
1026
+ var END_CODE = 39;
1027
+ var ANSI_ESCAPE_BELL = "\x07";
1028
+ var ANSI_CSI = "[";
1029
+ var ANSI_OSC = "]";
1030
+ var ANSI_SGR_TERMINATOR = "m";
1031
+ var ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
1032
+ var wrapAnsiCode = (code) => `${ESCAPES.values().next().value}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
1033
+ var wrapAnsiHyperlink = (url) => `${ESCAPES.values().next().value}${ANSI_ESCAPE_LINK}${url}${ANSI_ESCAPE_BELL}`;
1034
+ var wordLengths = (string) => string.split(" ").map((character) => stringWidth(character));
1035
+ var wrapWord = (rows, word, columns) => {
1036
+ const characters = [...word];
1037
+ let isInsideEscape = false;
1038
+ let isInsideLinkEscape = false;
1039
+ let visible = stringWidth(stripAnsi(rows.at(-1)));
1040
+ for (const [index, character] of characters.entries()) {
1041
+ const characterLength = stringWidth(character);
1042
+ if (visible + characterLength <= columns) {
1043
+ rows[rows.length - 1] += character;
1044
+ } else {
1045
+ rows.push(character);
1046
+ visible = 0;
1047
+ }
1048
+ if (ESCAPES.has(character)) {
1049
+ isInsideEscape = true;
1050
+ const ansiEscapeLinkCandidate = characters.slice(index + 1, index + 1 + ANSI_ESCAPE_LINK.length).join("");
1051
+ isInsideLinkEscape = ansiEscapeLinkCandidate === ANSI_ESCAPE_LINK;
1052
+ }
1053
+ if (isInsideEscape) {
1054
+ if (isInsideLinkEscape) {
1055
+ if (character === ANSI_ESCAPE_BELL) {
1056
+ isInsideEscape = false;
1057
+ isInsideLinkEscape = false;
1058
+ }
1059
+ } else if (character === ANSI_SGR_TERMINATOR) {
1060
+ isInsideEscape = false;
1061
+ }
1062
+ continue;
1063
+ }
1064
+ visible += characterLength;
1065
+ if (visible === columns && index < characters.length - 1) {
1066
+ rows.push("");
1067
+ visible = 0;
1068
+ }
1069
+ }
1070
+ if (!visible && rows.at(-1).length > 0 && rows.length > 1) {
1071
+ rows[rows.length - 2] += rows.pop();
1072
+ }
1073
+ };
1074
+ var stringVisibleTrimSpacesRight = (string) => {
1075
+ const words = string.split(" ");
1076
+ let last = words.length;
1077
+ while (last > 0) {
1078
+ if (stringWidth(words[last - 1]) > 0) {
1079
+ break;
1080
+ }
1081
+ last--;
1082
+ }
1083
+ if (last === words.length) {
1084
+ return string;
1085
+ }
1086
+ return words.slice(0, last).join(" ") + words.slice(last).join("");
1087
+ };
1088
+ var exec = (string, columns, options = {}) => {
1089
+ if (options.trim !== false && string.trim() === "") {
1090
+ return "";
1091
+ }
1092
+ let returnValue = "";
1093
+ let escapeCode;
1094
+ let escapeUrl;
1095
+ const lengths = wordLengths(string);
1096
+ let rows = [""];
1097
+ for (const [index, word] of string.split(" ").entries()) {
1098
+ if (options.trim !== false) {
1099
+ rows[rows.length - 1] = rows.at(-1).trimStart();
1100
+ }
1101
+ let rowLength = stringWidth(rows.at(-1));
1102
+ if (index !== 0) {
1103
+ if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
1104
+ rows.push("");
1105
+ rowLength = 0;
1106
+ }
1107
+ if (rowLength > 0 || options.trim === false) {
1108
+ rows[rows.length - 1] += " ";
1109
+ rowLength++;
1110
+ }
1111
+ }
1112
+ if (options.hard && lengths[index] > columns) {
1113
+ const remainingColumns = columns - rowLength;
1114
+ const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns);
1115
+ const breaksStartingNextLine = Math.floor((lengths[index] - 1) / columns);
1116
+ if (breaksStartingNextLine < breaksStartingThisLine) {
1117
+ rows.push("");
1118
+ }
1119
+ wrapWord(rows, word, columns);
1120
+ continue;
1121
+ }
1122
+ if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {
1123
+ if (options.wordWrap === false && rowLength < columns) {
1124
+ wrapWord(rows, word, columns);
1125
+ continue;
1126
+ }
1127
+ rows.push("");
1128
+ }
1129
+ if (rowLength + lengths[index] > columns && options.wordWrap === false) {
1130
+ wrapWord(rows, word, columns);
1131
+ continue;
1132
+ }
1133
+ rows[rows.length - 1] += word;
1134
+ }
1135
+ if (options.trim !== false) {
1136
+ rows = rows.map((row) => stringVisibleTrimSpacesRight(row));
1137
+ }
1138
+ const preString = rows.join("\n");
1139
+ const pre = [...preString];
1140
+ let preStringIndex = 0;
1141
+ for (const [index, character] of pre.entries()) {
1142
+ returnValue += character;
1143
+ if (ESCAPES.has(character)) {
1144
+ const { groups } = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`).exec(preString.slice(preStringIndex)) || { groups: {} };
1145
+ if (groups.code !== void 0) {
1146
+ const code2 = Number.parseFloat(groups.code);
1147
+ escapeCode = code2 === END_CODE ? void 0 : code2;
1148
+ } else if (groups.uri !== void 0) {
1149
+ escapeUrl = groups.uri.length === 0 ? void 0 : groups.uri;
1150
+ }
1151
+ }
1152
+ const code = ansi_styles_default.codes.get(Number(escapeCode));
1153
+ if (pre[index + 1] === "\n") {
1154
+ if (escapeUrl) {
1155
+ returnValue += wrapAnsiHyperlink("");
1156
+ }
1157
+ if (escapeCode && code) {
1158
+ returnValue += wrapAnsiCode(code);
1159
+ }
1160
+ } else if (character === "\n") {
1161
+ if (escapeCode && code) {
1162
+ returnValue += wrapAnsiCode(escapeCode);
1163
+ }
1164
+ if (escapeUrl) {
1165
+ returnValue += wrapAnsiHyperlink(escapeUrl);
1166
+ }
1167
+ }
1168
+ preStringIndex += character.length;
1169
+ }
1170
+ return returnValue;
1171
+ };
1172
+ function wrapAnsi(string, columns, options) {
1173
+ return String(string).normalize().replaceAll("\r\n", "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
1174
+ }
1175
+
1176
+ // node_modules/@inquirer/core/dist/lib/utils.js
1177
+ function breakLines(content, width) {
1178
+ return content.split("\n").flatMap((line) => wrapAnsi(line, width, { trim: false, hard: true }).split("\n").map((str) => str.trimEnd())).join("\n");
1179
+ }
1180
+ function readlineWidth() {
1181
+ return (0, import_cli_width.default)({ defaultWidth: 80, output: readline().output });
1182
+ }
1183
+
1184
+ // node_modules/@inquirer/core/dist/lib/create-prompt.js
1185
+ var import_mute_stream = __toESM(require_lib(), 1);
1186
+ import * as readline2 from "node:readline";
1187
+ import { AsyncResource as AsyncResource3 } from "node:async_hooks";
1188
+
1189
+ // node_modules/signal-exit/dist/mjs/signals.js
1190
+ var signals = [];
1191
+ signals.push("SIGHUP", "SIGINT", "SIGTERM");
1192
+ if (process.platform !== "win32") {
1193
+ signals.push(
1194
+ "SIGALRM",
1195
+ "SIGABRT",
1196
+ "SIGVTALRM",
1197
+ "SIGXCPU",
1198
+ "SIGXFSZ",
1199
+ "SIGUSR2",
1200
+ "SIGTRAP",
1201
+ "SIGSYS",
1202
+ "SIGQUIT",
1203
+ "SIGIOT"
1204
+ // should detect profiler and enable/disable accordingly.
1205
+ // see #21
1206
+ // 'SIGPROF'
1207
+ );
1208
+ }
1209
+ if (process.platform === "linux") {
1210
+ signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
1211
+ }
1212
+
1213
+ // node_modules/signal-exit/dist/mjs/index.js
1214
+ var processOk = (process4) => !!process4 && typeof process4 === "object" && typeof process4.removeListener === "function" && typeof process4.emit === "function" && typeof process4.reallyExit === "function" && typeof process4.listeners === "function" && typeof process4.kill === "function" && typeof process4.pid === "number" && typeof process4.on === "function";
1215
+ var kExitEmitter = Symbol.for("signal-exit emitter");
1216
+ var global = globalThis;
1217
+ var ObjectDefineProperty = Object.defineProperty.bind(Object);
1218
+ var Emitter = class {
1219
+ emitted = {
1220
+ afterExit: false,
1221
+ exit: false
1222
+ };
1223
+ listeners = {
1224
+ afterExit: [],
1225
+ exit: []
1226
+ };
1227
+ count = 0;
1228
+ id = Math.random();
1229
+ constructor() {
1230
+ if (global[kExitEmitter]) {
1231
+ return global[kExitEmitter];
1232
+ }
1233
+ ObjectDefineProperty(global, kExitEmitter, {
1234
+ value: this,
1235
+ writable: false,
1236
+ enumerable: false,
1237
+ configurable: false
1238
+ });
1239
+ }
1240
+ on(ev, fn) {
1241
+ this.listeners[ev].push(fn);
1242
+ }
1243
+ removeListener(ev, fn) {
1244
+ const list = this.listeners[ev];
1245
+ const i = list.indexOf(fn);
1246
+ if (i === -1) {
1247
+ return;
1248
+ }
1249
+ if (i === 0 && list.length === 1) {
1250
+ list.length = 0;
1251
+ } else {
1252
+ list.splice(i, 1);
1253
+ }
1254
+ }
1255
+ emit(ev, code, signal) {
1256
+ if (this.emitted[ev]) {
1257
+ return false;
1258
+ }
1259
+ this.emitted[ev] = true;
1260
+ let ret = false;
1261
+ for (const fn of this.listeners[ev]) {
1262
+ ret = fn(code, signal) === true || ret;
1263
+ }
1264
+ if (ev === "exit") {
1265
+ ret = this.emit("afterExit", code, signal) || ret;
1266
+ }
1267
+ return ret;
1268
+ }
1269
+ };
1270
+ var SignalExitBase = class {
1271
+ };
1272
+ var signalExitWrap = (handler) => {
1273
+ return {
1274
+ onExit(cb, opts) {
1275
+ return handler.onExit(cb, opts);
1276
+ },
1277
+ load() {
1278
+ return handler.load();
1279
+ },
1280
+ unload() {
1281
+ return handler.unload();
1282
+ }
1283
+ };
1284
+ };
1285
+ var SignalExitFallback = class extends SignalExitBase {
1286
+ onExit() {
1287
+ return () => {
1288
+ };
1289
+ }
1290
+ load() {
1291
+ }
1292
+ unload() {
1293
+ }
1294
+ };
1295
+ var SignalExit = class extends SignalExitBase {
1296
+ // "SIGHUP" throws an `ENOSYS` error on Windows,
1297
+ // so use a supported signal instead
1298
+ /* c8 ignore start */
1299
+ #hupSig = process3.platform === "win32" ? "SIGINT" : "SIGHUP";
1300
+ /* c8 ignore stop */
1301
+ #emitter = new Emitter();
1302
+ #process;
1303
+ #originalProcessEmit;
1304
+ #originalProcessReallyExit;
1305
+ #sigListeners = {};
1306
+ #loaded = false;
1307
+ constructor(process4) {
1308
+ super();
1309
+ this.#process = process4;
1310
+ this.#sigListeners = {};
1311
+ for (const sig of signals) {
1312
+ this.#sigListeners[sig] = () => {
1313
+ const listeners = this.#process.listeners(sig);
1314
+ let { count } = this.#emitter;
1315
+ const p = process4;
1316
+ if (typeof p.__signal_exit_emitter__ === "object" && typeof p.__signal_exit_emitter__.count === "number") {
1317
+ count += p.__signal_exit_emitter__.count;
1318
+ }
1319
+ if (listeners.length === count) {
1320
+ this.unload();
1321
+ const ret = this.#emitter.emit("exit", null, sig);
1322
+ const s = sig === "SIGHUP" ? this.#hupSig : sig;
1323
+ if (!ret)
1324
+ process4.kill(process4.pid, s);
1325
+ }
1326
+ };
1327
+ }
1328
+ this.#originalProcessReallyExit = process4.reallyExit;
1329
+ this.#originalProcessEmit = process4.emit;
1330
+ }
1331
+ onExit(cb, opts) {
1332
+ if (!processOk(this.#process)) {
1333
+ return () => {
1334
+ };
1335
+ }
1336
+ if (this.#loaded === false) {
1337
+ this.load();
1338
+ }
1339
+ const ev = opts?.alwaysLast ? "afterExit" : "exit";
1340
+ this.#emitter.on(ev, cb);
1341
+ return () => {
1342
+ this.#emitter.removeListener(ev, cb);
1343
+ if (this.#emitter.listeners["exit"].length === 0 && this.#emitter.listeners["afterExit"].length === 0) {
1344
+ this.unload();
1345
+ }
1346
+ };
1347
+ }
1348
+ load() {
1349
+ if (this.#loaded) {
1350
+ return;
1351
+ }
1352
+ this.#loaded = true;
1353
+ this.#emitter.count += 1;
1354
+ for (const sig of signals) {
1355
+ try {
1356
+ const fn = this.#sigListeners[sig];
1357
+ if (fn)
1358
+ this.#process.on(sig, fn);
1359
+ } catch (_) {
1360
+ }
1361
+ }
1362
+ this.#process.emit = (ev, ...a) => {
1363
+ return this.#processEmit(ev, ...a);
1364
+ };
1365
+ this.#process.reallyExit = (code) => {
1366
+ return this.#processReallyExit(code);
1367
+ };
1368
+ }
1369
+ unload() {
1370
+ if (!this.#loaded) {
1371
+ return;
1372
+ }
1373
+ this.#loaded = false;
1374
+ signals.forEach((sig) => {
1375
+ const listener = this.#sigListeners[sig];
1376
+ if (!listener) {
1377
+ throw new Error("Listener not defined for signal: " + sig);
1378
+ }
1379
+ try {
1380
+ this.#process.removeListener(sig, listener);
1381
+ } catch (_) {
1382
+ }
1383
+ });
1384
+ this.#process.emit = this.#originalProcessEmit;
1385
+ this.#process.reallyExit = this.#originalProcessReallyExit;
1386
+ this.#emitter.count -= 1;
1387
+ }
1388
+ #processReallyExit(code) {
1389
+ if (!processOk(this.#process)) {
1390
+ return 0;
1391
+ }
1392
+ this.#process.exitCode = code || 0;
1393
+ this.#emitter.emit("exit", this.#process.exitCode, null);
1394
+ return this.#originalProcessReallyExit.call(this.#process, this.#process.exitCode);
1395
+ }
1396
+ #processEmit(ev, ...args) {
1397
+ const og = this.#originalProcessEmit;
1398
+ if (ev === "exit" && processOk(this.#process)) {
1399
+ if (typeof args[0] === "number") {
1400
+ this.#process.exitCode = args[0];
1401
+ }
1402
+ const ret = og.call(this.#process, ev, ...args);
1403
+ this.#emitter.emit("exit", this.#process.exitCode, null);
1404
+ return ret;
1405
+ } else {
1406
+ return og.call(this.#process, ev, ...args);
1407
+ }
1408
+ }
1409
+ };
1410
+ var process3 = globalThis.process;
1411
+ var {
1412
+ /**
1413
+ * Called when the process is exiting, whether via signal, explicit
1414
+ * exit, or running out of stuff to do.
1415
+ *
1416
+ * If the global process object is not suitable for instrumentation,
1417
+ * then this will be a no-op.
1418
+ *
1419
+ * Returns a function that may be used to unload signal-exit.
1420
+ */
1421
+ onExit,
1422
+ /**
1423
+ * Load the listeners. Likely you never need to call this, unless
1424
+ * doing a rather deep integration with signal-exit functionality.
1425
+ * Mostly exposed for the benefit of testing.
1426
+ *
1427
+ * @internal
1428
+ */
1429
+ load,
1430
+ /**
1431
+ * Unload the listeners. Likely you never need to call this, unless
1432
+ * doing a rather deep integration with signal-exit functionality.
1433
+ * Mostly exposed for the benefit of testing.
1434
+ *
1435
+ * @internal
1436
+ */
1437
+ unload
1438
+ } = signalExitWrap(processOk(process3) ? new SignalExit(process3) : new SignalExitFallback());
1439
+
1440
+ // node_modules/@inquirer/core/dist/lib/screen-manager.js
1441
+ import { stripVTControlCharacters } from "node:util";
1442
+
1443
+ // node_modules/@inquirer/ansi/dist/index.js
1444
+ var ESC = "\x1B[";
1445
+ var cursorLeft = ESC + "G";
1446
+ var cursorHide = ESC + "?25l";
1447
+ var cursorShow = ESC + "?25h";
1448
+ var cursorUp = (rows = 1) => rows > 0 ? `${ESC}${rows}A` : "";
1449
+ var cursorDown = (rows = 1) => rows > 0 ? `${ESC}${rows}B` : "";
1450
+ var cursorTo = (x, y) => {
1451
+ if (typeof y === "number" && !Number.isNaN(y)) {
1452
+ return `${ESC}${y + 1};${x + 1}H`;
1453
+ }
1454
+ return `${ESC}${x + 1}G`;
1455
+ };
1456
+ var eraseLine = ESC + "2K";
1457
+ var eraseLines = (lines) => lines > 0 ? (eraseLine + cursorUp(1)).repeat(lines - 1) + eraseLine + cursorLeft : "";
1458
+
1459
+ // node_modules/@inquirer/core/dist/lib/screen-manager.js
1460
+ var height = (content) => content.split("\n").length;
1461
+ var lastLine = (content) => content.split("\n").pop() ?? "";
1462
+ var ScreenManager = class {
1463
+ // These variables are keeping information to allow correct prompt re-rendering
1464
+ height = 0;
1465
+ extraLinesUnderPrompt = 0;
1466
+ cursorPos;
1467
+ rl;
1468
+ constructor(rl) {
1469
+ this.rl = rl;
1470
+ this.cursorPos = rl.getCursorPos();
1471
+ }
1472
+ write(content) {
1473
+ this.rl.output.unmute();
1474
+ this.rl.output.write(content);
1475
+ this.rl.output.mute();
1476
+ }
1477
+ render(content, bottomContent = "") {
1478
+ const promptLine = lastLine(content);
1479
+ const rawPromptLine = stripVTControlCharacters(promptLine);
1480
+ let prompt = rawPromptLine;
1481
+ if (this.rl.line.length > 0) {
1482
+ prompt = prompt.slice(0, -this.rl.line.length);
1483
+ }
1484
+ this.rl.setPrompt(prompt);
1485
+ this.cursorPos = this.rl.getCursorPos();
1486
+ const width = readlineWidth();
1487
+ content = breakLines(content, width);
1488
+ bottomContent = breakLines(bottomContent, width);
1489
+ if (rawPromptLine.length % width === 0) {
1490
+ content += "\n";
1491
+ }
1492
+ let output = content + (bottomContent ? "\n" + bottomContent : "");
1493
+ const promptLineUpDiff = Math.floor(rawPromptLine.length / width) - this.cursorPos.rows;
1494
+ const bottomContentHeight = promptLineUpDiff + (bottomContent ? height(bottomContent) : 0);
1495
+ if (bottomContentHeight > 0)
1496
+ output += cursorUp(bottomContentHeight);
1497
+ output += cursorTo(this.cursorPos.cols);
1498
+ this.write(cursorDown(this.extraLinesUnderPrompt) + eraseLines(this.height) + output);
1499
+ this.extraLinesUnderPrompt = bottomContentHeight;
1500
+ this.height = height(output);
1501
+ }
1502
+ checkCursorPos() {
1503
+ const cursorPos = this.rl.getCursorPos();
1504
+ if (cursorPos.cols !== this.cursorPos.cols) {
1505
+ this.write(cursorTo(cursorPos.cols));
1506
+ this.cursorPos = cursorPos;
1507
+ }
1508
+ }
1509
+ done({ clearContent }) {
1510
+ this.rl.setPrompt("");
1511
+ let output = cursorDown(this.extraLinesUnderPrompt);
1512
+ output += clearContent ? eraseLines(this.height) : "\n";
1513
+ output += cursorShow;
1514
+ this.write(output);
1515
+ this.rl.close();
1516
+ }
1517
+ };
1518
+
1519
+ // node_modules/@inquirer/core/dist/lib/promise-polyfill.js
1520
+ var PromisePolyfill = class extends Promise {
1521
+ // Available starting from Node 22
1522
+ // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/withResolvers
1523
+ static withResolver() {
1524
+ let resolve;
1525
+ let reject;
1526
+ const promise = new Promise((res, rej) => {
1527
+ resolve = res;
1528
+ reject = rej;
1529
+ });
1530
+ return { promise, resolve, reject };
1531
+ }
1532
+ };
1533
+
1534
+ // node_modules/@inquirer/core/dist/lib/create-prompt.js
1535
+ function getCallSites() {
1536
+ const _prepareStackTrace = Error.prepareStackTrace;
1537
+ let result = [];
1538
+ try {
1539
+ Error.prepareStackTrace = (_, callSites) => {
1540
+ const callSitesWithoutCurrent = callSites.slice(1);
1541
+ result = callSitesWithoutCurrent;
1542
+ return callSitesWithoutCurrent;
1543
+ };
1544
+ new Error().stack;
1545
+ } catch {
1546
+ return result;
1547
+ }
1548
+ Error.prepareStackTrace = _prepareStackTrace;
1549
+ return result;
1550
+ }
1551
+ function createPrompt(view) {
1552
+ const callSites = getCallSites();
1553
+ const prompt = (config, context = {}) => {
1554
+ const { input = process.stdin, signal } = context;
1555
+ const cleanups = /* @__PURE__ */ new Set();
1556
+ const output = new import_mute_stream.default();
1557
+ output.pipe(context.output ?? process.stdout);
1558
+ const rl = readline2.createInterface({
1559
+ terminal: true,
1560
+ input,
1561
+ output
1562
+ });
1563
+ const screen = new ScreenManager(rl);
1564
+ const { promise, resolve, reject } = PromisePolyfill.withResolver();
1565
+ const cancel = () => reject(new CancelPromptError());
1566
+ if (signal) {
1567
+ const abort = () => reject(new AbortPromptError({ cause: signal.reason }));
1568
+ if (signal.aborted) {
1569
+ abort();
1570
+ return Object.assign(promise, { cancel });
1571
+ }
1572
+ signal.addEventListener("abort", abort);
1573
+ cleanups.add(() => signal.removeEventListener("abort", abort));
1574
+ }
1575
+ cleanups.add(onExit((code, signal2) => {
1576
+ reject(new ExitPromptError(`User force closed the prompt with ${code} ${signal2}`));
1577
+ }));
1578
+ const sigint = () => reject(new ExitPromptError(`User force closed the prompt with SIGINT`));
1579
+ rl.on("SIGINT", sigint);
1580
+ cleanups.add(() => rl.removeListener("SIGINT", sigint));
1581
+ const checkCursorPos = () => screen.checkCursorPos();
1582
+ rl.input.on("keypress", checkCursorPos);
1583
+ cleanups.add(() => rl.input.removeListener("keypress", checkCursorPos));
1584
+ return withHooks(rl, (cycle) => {
1585
+ const hooksCleanup = AsyncResource3.bind(() => effectScheduler.clearAll());
1586
+ rl.on("close", hooksCleanup);
1587
+ cleanups.add(() => rl.removeListener("close", hooksCleanup));
1588
+ cycle(() => {
1589
+ try {
1590
+ const nextView = view(config, (value) => {
1591
+ setImmediate(() => resolve(value));
1592
+ });
1593
+ if (nextView === void 0) {
1594
+ const callerFilename = callSites[1]?.getFileName();
1595
+ throw new Error(`Prompt functions must return a string.
1596
+ at ${callerFilename}`);
1597
+ }
1598
+ const [content, bottomContent] = typeof nextView === "string" ? [nextView] : nextView;
1599
+ screen.render(content, bottomContent);
1600
+ effectScheduler.run();
1601
+ } catch (error) {
1602
+ reject(error);
1603
+ }
1604
+ });
1605
+ return Object.assign(promise.then((answer) => {
1606
+ effectScheduler.clearAll();
1607
+ return answer;
1608
+ }, (error) => {
1609
+ effectScheduler.clearAll();
1610
+ throw error;
1611
+ }).finally(() => {
1612
+ cleanups.forEach((cleanup) => cleanup());
1613
+ screen.done({ clearContent: Boolean(context.clearPromptOnDone) });
1614
+ output.end();
1615
+ }).then(() => promise), { cancel });
1616
+ });
1617
+ };
1618
+ return prompt;
1619
+ }
1620
+
1621
+ // node_modules/@inquirer/confirm/dist/index.js
1622
+ function getBooleanValue(value, defaultValue) {
1623
+ let answer = defaultValue !== false;
1624
+ if (/^(y|yes)/i.test(value))
1625
+ answer = true;
1626
+ else if (/^(n|no)/i.test(value))
1627
+ answer = false;
1628
+ return answer;
1629
+ }
1630
+ function boolToString(value) {
1631
+ return value ? "Yes" : "No";
1632
+ }
1633
+ var dist_default2 = createPrompt((config, done) => {
1634
+ const { transformer = boolToString } = config;
1635
+ const [status, setStatus] = useState("idle");
1636
+ const [value, setValue] = useState("");
1637
+ const theme = makeTheme(config.theme);
1638
+ const prefix = usePrefix({ status, theme });
1639
+ useKeypress((key, rl) => {
1640
+ if (status !== "idle")
1641
+ return;
1642
+ if (isEnterKey(key)) {
1643
+ const answer = getBooleanValue(value, config.default);
1644
+ setValue(transformer(answer));
1645
+ setStatus("done");
1646
+ done(answer);
1647
+ } else if (isTabKey(key)) {
1648
+ const answer = boolToString(!getBooleanValue(value, config.default));
1649
+ rl.clearLine(0);
1650
+ rl.write(answer);
1651
+ setValue(answer);
1652
+ } else {
1653
+ setValue(rl.line);
1654
+ }
1655
+ });
1656
+ let formattedValue = value;
1657
+ let defaultValue = "";
1658
+ if (status === "done") {
1659
+ formattedValue = theme.style.answer(value);
1660
+ } else {
1661
+ defaultValue = ` ${theme.style.defaultAnswer(config.default === false ? "y/N" : "Y/n")}`;
1662
+ }
1663
+ const message = theme.style.message(config.message, status);
1664
+ return `${prefix} ${message}${defaultValue} ${formattedValue}`;
1665
+ });
1666
+
1667
+ // src/node/process/prompt-continue/index.ts
1668
+ async function promptContinue(message, throws = false) {
1669
+ console.log("");
1670
+ const answer = await dist_default2({
1671
+ message: message ?? "Continue?",
1672
+ default: false
1673
+ });
1674
+ if (answer === true) return true;
1675
+ if (throws) throw new Error("Aborted");
1676
+ return false;
1677
+ }
1678
+ export {
1679
+ promptContinue
1680
+ };