just-bash 3.6.0 → 3.6.2

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 (891) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/README.md +6 -0
  3. package/dist/bin/chunks/awk2-EPZ2CEQT.js +3 -0
  4. package/dist/bin/chunks/base64-D7ZXJQN6.js +3 -0
  5. package/dist/bin/chunks/bash-4Q4RMIZL.js +3 -0
  6. package/dist/bin/chunks/cat-AST5Y57Y.js +3 -0
  7. package/dist/bin/chunks/chmod-BFP7P5CD.js +3 -0
  8. package/dist/bin/chunks/chunk-26O2G5LX.js +34 -0
  9. package/dist/bin/chunks/chunk-2RDKEB6Z.js +15 -0
  10. package/dist/bin/chunks/chunk-35U2THFB.js +3 -0
  11. package/dist/bin/chunks/chunk-3F7UWBEM.js +17 -0
  12. package/dist/bin/chunks/chunk-3WLAERUX.js +3 -0
  13. package/dist/bin/chunks/chunk-3WZIZUMC.js +8 -0
  14. package/dist/bin/chunks/chunk-4ARWO6Y3.js +4 -0
  15. package/dist/bin/chunks/chunk-4HVMRZ5N.js +8 -0
  16. package/dist/bin/chunks/chunk-5AS7PRVN.js +34 -0
  17. package/dist/bin/chunks/chunk-5GYAEVIB.js +10 -0
  18. package/dist/bin/chunks/chunk-5IPYW47P.js +27 -0
  19. package/dist/bin/chunks/chunk-5ZTIV6TI.js +20 -0
  20. package/dist/bin/chunks/chunk-6C2YS7G6.js +14 -0
  21. package/dist/bin/chunks/chunk-74MYVPDY.js +3 -0
  22. package/dist/bin/chunks/chunk-74UP5NWP.js +3 -0
  23. package/dist/bin/chunks/chunk-7DPD5PK3.js +3 -0
  24. package/dist/bin/chunks/chunk-7LJGZPVP.js +18 -0
  25. package/dist/bin/chunks/chunk-7NEXHFSS.js +3 -0
  26. package/dist/bin/chunks/chunk-7XFMCB5C.js +21 -0
  27. package/dist/bin/chunks/chunk-A53Y4KDG.js +7 -0
  28. package/dist/bin/chunks/chunk-AALAYQ6J.js +17 -0
  29. package/dist/bin/chunks/chunk-AM4WIHAG.js +10 -0
  30. package/dist/bin/chunks/chunk-BC5OXEFJ.js +3 -0
  31. package/dist/bin/chunks/chunk-C5ABXV4P.js +15 -0
  32. package/dist/bin/chunks/chunk-CT6P7ILU.js +3 -0
  33. package/dist/bin/chunks/chunk-CYHG3NVG.js +9 -0
  34. package/dist/bin/chunks/chunk-D7PDAJWE.js +7 -0
  35. package/dist/bin/chunks/chunk-DB3G3UVZ.js +5 -0
  36. package/dist/bin/chunks/chunk-EIUU35ZP.js +37 -0
  37. package/dist/bin/chunks/chunk-EMHJNKV5.js +20 -0
  38. package/dist/bin/chunks/chunk-EPWMLTS6.js +9 -0
  39. package/dist/bin/chunks/chunk-F4QFFLWZ.js +8 -0
  40. package/dist/bin/chunks/chunk-F5R5O2Y6.js +9 -0
  41. package/dist/bin/chunks/chunk-FBEYY2HM.js +13 -0
  42. package/dist/bin/chunks/chunk-FIJBWMXU.js +12 -0
  43. package/dist/bin/chunks/chunk-FMVH4N2P.js +5 -0
  44. package/dist/bin/chunks/chunk-G6W2HMNY.js +7 -0
  45. package/dist/bin/chunks/chunk-GFI5BHZX.js +3 -0
  46. package/dist/bin/chunks/chunk-GJAVHEWO.js +143 -0
  47. package/dist/bin/chunks/chunk-GUVSOVQU.js +8 -0
  48. package/dist/bin/chunks/chunk-H22PAKR6.js +3 -0
  49. package/dist/bin/chunks/chunk-HXOJHK2Z.js +8 -0
  50. package/dist/bin/chunks/chunk-IAAYIH44.js +3 -0
  51. package/dist/bin/chunks/chunk-J7W2CRXT.js +7 -0
  52. package/dist/bin/chunks/chunk-JNWWOKCN.js +6 -0
  53. package/dist/bin/chunks/chunk-JQLGE4OW.js +22 -0
  54. package/dist/bin/chunks/chunk-K3U4M4MF.js +7 -0
  55. package/dist/bin/chunks/chunk-KRXYOWIP.js +12 -0
  56. package/dist/bin/chunks/chunk-L4L2QFS4.js +10 -0
  57. package/dist/bin/chunks/chunk-LU6ZEQNN.js +13 -0
  58. package/dist/bin/chunks/chunk-MLMKRR7L.js +12 -0
  59. package/dist/bin/chunks/chunk-MVN5WALS.js +7 -0
  60. package/dist/bin/chunks/chunk-MYOGTYIH.js +22 -0
  61. package/dist/bin/chunks/chunk-NF5LHCVV.js +275 -0
  62. package/dist/bin/chunks/chunk-OUGDZVL6.js +10 -0
  63. package/dist/bin/chunks/chunk-QCNQD6ME.js +11 -0
  64. package/dist/bin/chunks/chunk-QIDBJNMB.js +3 -0
  65. package/dist/bin/chunks/chunk-QKTQYL37.js +9 -0
  66. package/dist/bin/chunks/chunk-R6CMNMNX.js +22 -0
  67. package/dist/bin/chunks/chunk-RCP3WQND.js +7 -0
  68. package/dist/bin/chunks/chunk-RJG4JS32.js +6 -0
  69. package/dist/bin/chunks/chunk-SIMSIBUA.js +13 -0
  70. package/dist/bin/chunks/chunk-TNB7M24H.js +87 -0
  71. package/dist/bin/chunks/chunk-TU6P6AC2.js +4 -0
  72. package/dist/bin/chunks/chunk-TX4WSLXK.js +101 -0
  73. package/dist/bin/chunks/chunk-U4UY6P77.js +3 -0
  74. package/dist/bin/chunks/chunk-U5BNATW4.js +3 -0
  75. package/dist/bin/chunks/chunk-U7VJCJQR.js +16 -0
  76. package/dist/bin/chunks/chunk-VJE2PQW6.js +15 -0
  77. package/dist/bin/chunks/chunk-W4ENG3BR.js +44 -0
  78. package/dist/bin/chunks/chunk-XUFO4QPW.js +65 -0
  79. package/dist/bin/chunks/chunk-XVKL2UZA.js +4 -0
  80. package/dist/bin/chunks/chunk-YCUNLSHF.js +12 -0
  81. package/dist/bin/chunks/chunk-YDH7Q5WV.js +6 -0
  82. package/dist/bin/chunks/chunk-YDWLU56G.js +26 -0
  83. package/dist/bin/chunks/chunk-YILPYZYP.js +16 -0
  84. package/dist/bin/chunks/chunk-YZQ4SVJV.js +13 -0
  85. package/dist/bin/chunks/chunk-ZKLKNN6B.js +3 -0
  86. package/dist/bin/chunks/column-EGAQ7QMC.js +3 -0
  87. package/dist/bin/chunks/comm-JEJ6GWEA.js +3 -0
  88. package/dist/bin/chunks/cp-7AH7TSQ6.js +3 -0
  89. package/dist/bin/chunks/curl-7FCZQCFU.js +31 -0
  90. package/dist/bin/chunks/cut-OVTLUT2B.js +3 -0
  91. package/dist/bin/chunks/date-MKP5YWWY.js +3 -0
  92. package/dist/bin/chunks/diff-R6QTSWD2.js +3 -0
  93. package/dist/bin/chunks/dist-Q3QP7DWN.js +141 -0
  94. package/dist/bin/chunks/du-M2PB5NUH.js +3 -0
  95. package/dist/bin/chunks/env-EUSAZGWO.js +3 -0
  96. package/dist/bin/chunks/expand-B4CPOZN5.js +3 -0
  97. package/dist/bin/chunks/expr-AQBMSEFL.js +3 -0
  98. package/dist/bin/chunks/file-22CVQBNS.js +3 -0
  99. package/dist/bin/chunks/find-QYLHUYOP.js +3 -0
  100. package/dist/bin/chunks/flag-coverage-CTPK5ZWJ.js +3 -0
  101. package/dist/bin/chunks/fold-E6A5I4DW.js +3 -0
  102. package/dist/bin/chunks/grep-HI55D7F7.js +3 -0
  103. package/dist/bin/chunks/gzip-2GJMVXCF.js +3 -0
  104. package/dist/bin/chunks/head-ZQIB2GSI.js +3 -0
  105. package/dist/bin/chunks/html-to-markdown-7ZNLM4SQ.js +3 -0
  106. package/dist/bin/chunks/join-KCYMLQ3V.js +3 -0
  107. package/dist/bin/chunks/jq-KNI4FJIL.js +3 -0
  108. package/dist/bin/chunks/js-exec-OWDAX677.js +1617 -0
  109. package/dist/bin/chunks/ls-QCAGDEDW.js +3 -0
  110. package/dist/bin/chunks/md5sum-OPJ77ZY7.js +3 -0
  111. package/dist/bin/chunks/mkdir-3XFSFVPC.js +3 -0
  112. package/dist/bin/chunks/mktemp-5FA55IJS.js +3 -0
  113. package/dist/bin/chunks/mv-UASF6NAX.js +3 -0
  114. package/dist/bin/chunks/nl-HUDE6DQC.js +3 -0
  115. package/dist/bin/chunks/od-CECQKF5P.js +3 -0
  116. package/dist/bin/chunks/paste-SH5RZ4ZO.js +3 -0
  117. package/dist/bin/chunks/printf-PQKUEWX5.js +3 -0
  118. package/dist/bin/chunks/python3-UE36ZXQT.js +23 -0
  119. package/dist/bin/chunks/readlink-4Z75K3AI.js +3 -0
  120. package/dist/bin/chunks/rev-6SA3VC3J.js +3 -0
  121. package/dist/bin/chunks/rg-ULWB5MQG.js +3 -0
  122. package/dist/bin/chunks/rm-NPIAQT6U.js +3 -0
  123. package/dist/bin/chunks/rmdir-57J3AGQU.js +3 -0
  124. package/dist/bin/chunks/sed-XV7BZPKI.js +3 -0
  125. package/dist/bin/chunks/seq-ZVBT2JEI.js +3 -0
  126. package/dist/bin/chunks/sha1sum-JGOB5K4J.js +3 -0
  127. package/dist/bin/chunks/sha256sum-S5DS6Q6N.js +3 -0
  128. package/dist/bin/chunks/sort-UOMFLGRW.js +3 -0
  129. package/dist/bin/chunks/split-IBL3NIVH.js +3 -0
  130. package/dist/bin/chunks/sqlite3-YIM3BYLS.js +3 -0
  131. package/dist/bin/chunks/stat-RKSIL4YV.js +3 -0
  132. package/dist/bin/chunks/strings-AL7T5GDQ.js +3 -0
  133. package/dist/bin/chunks/tac-36B6LBNS.js +3 -0
  134. package/dist/bin/chunks/tail-G4PLDIOK.js +3 -0
  135. package/dist/bin/chunks/tar-YG6SY2RU.js +3 -0
  136. package/dist/bin/chunks/tee-NP4ULCWD.js +3 -0
  137. package/dist/bin/chunks/time-ZMFJL7MD.js +3 -0
  138. package/dist/bin/chunks/timeout-EJIGKZUX.js +3 -0
  139. package/dist/bin/chunks/touch-YE5LMLLE.js +3 -0
  140. package/dist/bin/chunks/tr-7KFUMSUF.js +3 -0
  141. package/dist/bin/chunks/unexpand-67EBVEPB.js +3 -0
  142. package/dist/bin/chunks/uniq-SZDRNEYK.js +3 -0
  143. package/dist/bin/chunks/wc-VLOME6PL.js +3 -0
  144. package/dist/bin/chunks/xan-FVGJAHFV.js +3 -0
  145. package/dist/bin/chunks/xan-view-LYATQWQB.js +3 -0
  146. package/dist/bin/chunks/xargs-CLQL2WFV.js +3 -0
  147. package/dist/bin/chunks/yes-OOBLAITP.js +3 -0
  148. package/dist/bin/chunks/yq-YQ4YFM26.js +3 -0
  149. package/dist/bin/just-bash.js +347 -345
  150. package/dist/bin/shell/chunks/awk2-EPZ2CEQT.js +3 -0
  151. package/dist/bin/shell/chunks/base64-D7ZXJQN6.js +3 -0
  152. package/dist/bin/shell/chunks/bash-4Q4RMIZL.js +3 -0
  153. package/dist/bin/shell/chunks/cat-AST5Y57Y.js +3 -0
  154. package/dist/bin/shell/chunks/chmod-BFP7P5CD.js +3 -0
  155. package/dist/bin/shell/chunks/chunk-26O2G5LX.js +34 -0
  156. package/dist/bin/shell/chunks/chunk-2RDKEB6Z.js +15 -0
  157. package/dist/bin/shell/chunks/chunk-35U2THFB.js +3 -0
  158. package/dist/bin/shell/chunks/chunk-3F7UWBEM.js +17 -0
  159. package/dist/bin/shell/chunks/chunk-3WLAERUX.js +3 -0
  160. package/dist/bin/shell/chunks/chunk-3WZIZUMC.js +8 -0
  161. package/dist/bin/shell/chunks/chunk-4ARWO6Y3.js +4 -0
  162. package/dist/bin/shell/chunks/chunk-4HVMRZ5N.js +8 -0
  163. package/dist/bin/shell/chunks/chunk-5AS7PRVN.js +34 -0
  164. package/dist/bin/shell/chunks/chunk-5GYAEVIB.js +10 -0
  165. package/dist/bin/shell/chunks/chunk-5IPYW47P.js +27 -0
  166. package/dist/bin/shell/chunks/chunk-5ZTIV6TI.js +20 -0
  167. package/dist/bin/shell/chunks/chunk-6C2YS7G6.js +14 -0
  168. package/dist/bin/shell/chunks/chunk-74MYVPDY.js +3 -0
  169. package/dist/bin/shell/chunks/chunk-74UP5NWP.js +3 -0
  170. package/dist/bin/shell/chunks/chunk-7DPD5PK3.js +3 -0
  171. package/dist/bin/shell/chunks/chunk-7LJGZPVP.js +18 -0
  172. package/dist/bin/shell/chunks/chunk-7NEXHFSS.js +3 -0
  173. package/dist/bin/shell/chunks/chunk-7XFMCB5C.js +21 -0
  174. package/dist/bin/shell/chunks/chunk-A53Y4KDG.js +7 -0
  175. package/dist/bin/shell/chunks/chunk-AALAYQ6J.js +17 -0
  176. package/dist/bin/shell/chunks/chunk-AM4WIHAG.js +10 -0
  177. package/dist/bin/shell/chunks/chunk-BC5OXEFJ.js +3 -0
  178. package/dist/bin/shell/chunks/chunk-C5ABXV4P.js +15 -0
  179. package/dist/bin/shell/chunks/chunk-CT6P7ILU.js +3 -0
  180. package/dist/bin/shell/chunks/chunk-CYHG3NVG.js +9 -0
  181. package/dist/bin/shell/chunks/chunk-D7PDAJWE.js +7 -0
  182. package/dist/bin/shell/chunks/chunk-DB3G3UVZ.js +5 -0
  183. package/dist/bin/shell/chunks/chunk-EIUU35ZP.js +37 -0
  184. package/dist/bin/shell/chunks/chunk-EMHJNKV5.js +20 -0
  185. package/dist/bin/shell/chunks/chunk-EPWMLTS6.js +9 -0
  186. package/dist/bin/shell/chunks/chunk-F4QFFLWZ.js +8 -0
  187. package/dist/bin/shell/chunks/chunk-F5R5O2Y6.js +9 -0
  188. package/dist/bin/shell/chunks/chunk-FBEYY2HM.js +13 -0
  189. package/dist/bin/shell/chunks/chunk-FIJBWMXU.js +12 -0
  190. package/dist/bin/shell/chunks/chunk-FMVH4N2P.js +5 -0
  191. package/dist/bin/shell/chunks/chunk-G6W2HMNY.js +7 -0
  192. package/dist/bin/shell/chunks/chunk-GFI5BHZX.js +3 -0
  193. package/dist/bin/shell/chunks/chunk-GJAVHEWO.js +143 -0
  194. package/dist/bin/shell/chunks/chunk-GUVSOVQU.js +8 -0
  195. package/dist/bin/shell/chunks/chunk-H22PAKR6.js +3 -0
  196. package/dist/bin/shell/chunks/chunk-HXOJHK2Z.js +8 -0
  197. package/dist/bin/shell/chunks/chunk-IAAYIH44.js +3 -0
  198. package/dist/bin/shell/chunks/chunk-J7W2CRXT.js +7 -0
  199. package/dist/bin/shell/chunks/chunk-JNWWOKCN.js +6 -0
  200. package/dist/bin/shell/chunks/chunk-JQLGE4OW.js +22 -0
  201. package/dist/bin/shell/chunks/chunk-K3U4M4MF.js +7 -0
  202. package/dist/bin/shell/chunks/chunk-KRXYOWIP.js +12 -0
  203. package/dist/bin/shell/chunks/chunk-L4L2QFS4.js +10 -0
  204. package/dist/bin/shell/chunks/chunk-LU6ZEQNN.js +13 -0
  205. package/dist/bin/shell/chunks/chunk-MLMKRR7L.js +12 -0
  206. package/dist/bin/shell/chunks/chunk-MVN5WALS.js +7 -0
  207. package/dist/bin/shell/chunks/chunk-MYOGTYIH.js +22 -0
  208. package/dist/bin/shell/chunks/chunk-NF5LHCVV.js +275 -0
  209. package/dist/bin/shell/chunks/chunk-OUGDZVL6.js +10 -0
  210. package/dist/bin/shell/chunks/chunk-QCNQD6ME.js +11 -0
  211. package/dist/bin/shell/chunks/chunk-QIDBJNMB.js +3 -0
  212. package/dist/bin/shell/chunks/chunk-QKTQYL37.js +9 -0
  213. package/dist/bin/shell/chunks/chunk-R6CMNMNX.js +22 -0
  214. package/dist/bin/shell/chunks/chunk-RCP3WQND.js +7 -0
  215. package/dist/bin/shell/chunks/chunk-RJG4JS32.js +6 -0
  216. package/dist/bin/shell/chunks/chunk-SIMSIBUA.js +13 -0
  217. package/dist/bin/shell/chunks/chunk-TNB7M24H.js +87 -0
  218. package/dist/bin/shell/chunks/chunk-TU6P6AC2.js +4 -0
  219. package/dist/bin/shell/chunks/chunk-TX4WSLXK.js +101 -0
  220. package/dist/bin/shell/chunks/chunk-U4UY6P77.js +3 -0
  221. package/dist/bin/shell/chunks/chunk-U5BNATW4.js +3 -0
  222. package/dist/bin/shell/chunks/chunk-U7VJCJQR.js +16 -0
  223. package/dist/bin/shell/chunks/chunk-VJE2PQW6.js +15 -0
  224. package/dist/bin/shell/chunks/chunk-W4ENG3BR.js +44 -0
  225. package/dist/bin/shell/chunks/chunk-XUFO4QPW.js +65 -0
  226. package/dist/bin/shell/chunks/chunk-XVKL2UZA.js +4 -0
  227. package/dist/bin/shell/chunks/chunk-YCUNLSHF.js +12 -0
  228. package/dist/bin/shell/chunks/chunk-YDH7Q5WV.js +6 -0
  229. package/dist/bin/shell/chunks/chunk-YDWLU56G.js +26 -0
  230. package/dist/bin/shell/chunks/chunk-YILPYZYP.js +16 -0
  231. package/dist/bin/shell/chunks/chunk-YZQ4SVJV.js +13 -0
  232. package/dist/bin/shell/chunks/chunk-ZKLKNN6B.js +3 -0
  233. package/dist/bin/shell/chunks/column-EGAQ7QMC.js +3 -0
  234. package/dist/bin/shell/chunks/comm-JEJ6GWEA.js +3 -0
  235. package/dist/bin/shell/chunks/cp-7AH7TSQ6.js +3 -0
  236. package/dist/bin/shell/chunks/curl-7FCZQCFU.js +31 -0
  237. package/dist/bin/shell/chunks/cut-OVTLUT2B.js +3 -0
  238. package/dist/bin/shell/chunks/date-MKP5YWWY.js +3 -0
  239. package/dist/bin/shell/chunks/diff-R6QTSWD2.js +3 -0
  240. package/dist/bin/shell/chunks/dist-Q3QP7DWN.js +141 -0
  241. package/dist/bin/shell/chunks/du-M2PB5NUH.js +3 -0
  242. package/dist/bin/shell/chunks/env-EUSAZGWO.js +3 -0
  243. package/dist/bin/shell/chunks/expand-B4CPOZN5.js +3 -0
  244. package/dist/bin/shell/chunks/expr-AQBMSEFL.js +3 -0
  245. package/dist/bin/shell/chunks/file-22CVQBNS.js +3 -0
  246. package/dist/bin/shell/chunks/find-QYLHUYOP.js +3 -0
  247. package/dist/bin/shell/chunks/flag-coverage-CTPK5ZWJ.js +3 -0
  248. package/dist/bin/shell/chunks/fold-E6A5I4DW.js +3 -0
  249. package/dist/bin/shell/chunks/grep-HI55D7F7.js +3 -0
  250. package/dist/bin/shell/chunks/gzip-2GJMVXCF.js +3 -0
  251. package/dist/bin/shell/chunks/head-ZQIB2GSI.js +3 -0
  252. package/dist/bin/shell/chunks/html-to-markdown-7ZNLM4SQ.js +3 -0
  253. package/dist/bin/shell/chunks/join-KCYMLQ3V.js +3 -0
  254. package/dist/bin/shell/chunks/jq-KNI4FJIL.js +3 -0
  255. package/dist/bin/shell/chunks/js-exec-OWDAX677.js +1617 -0
  256. package/dist/bin/shell/chunks/ls-QCAGDEDW.js +3 -0
  257. package/dist/bin/shell/chunks/md5sum-OPJ77ZY7.js +3 -0
  258. package/dist/bin/shell/chunks/mkdir-3XFSFVPC.js +3 -0
  259. package/dist/bin/shell/chunks/mktemp-5FA55IJS.js +3 -0
  260. package/dist/bin/shell/chunks/mv-UASF6NAX.js +3 -0
  261. package/dist/bin/shell/chunks/nl-HUDE6DQC.js +3 -0
  262. package/dist/bin/shell/chunks/od-CECQKF5P.js +3 -0
  263. package/dist/bin/shell/chunks/paste-SH5RZ4ZO.js +3 -0
  264. package/dist/bin/shell/chunks/printf-PQKUEWX5.js +3 -0
  265. package/dist/bin/shell/chunks/python3-UE36ZXQT.js +23 -0
  266. package/dist/bin/shell/chunks/readlink-4Z75K3AI.js +3 -0
  267. package/dist/bin/shell/chunks/rev-6SA3VC3J.js +3 -0
  268. package/dist/bin/shell/chunks/rg-ULWB5MQG.js +3 -0
  269. package/dist/bin/shell/chunks/rm-NPIAQT6U.js +3 -0
  270. package/dist/bin/shell/chunks/rmdir-57J3AGQU.js +3 -0
  271. package/dist/bin/shell/chunks/sed-XV7BZPKI.js +3 -0
  272. package/dist/bin/shell/chunks/seq-ZVBT2JEI.js +3 -0
  273. package/dist/bin/shell/chunks/sha1sum-JGOB5K4J.js +3 -0
  274. package/dist/bin/shell/chunks/sha256sum-S5DS6Q6N.js +3 -0
  275. package/dist/bin/shell/chunks/sort-UOMFLGRW.js +3 -0
  276. package/dist/bin/shell/chunks/split-IBL3NIVH.js +3 -0
  277. package/dist/bin/shell/chunks/sqlite3-YIM3BYLS.js +3 -0
  278. package/dist/bin/shell/chunks/stat-RKSIL4YV.js +3 -0
  279. package/dist/bin/shell/chunks/strings-AL7T5GDQ.js +3 -0
  280. package/dist/bin/shell/chunks/tac-36B6LBNS.js +3 -0
  281. package/dist/bin/shell/chunks/tail-G4PLDIOK.js +3 -0
  282. package/dist/bin/shell/chunks/tar-YG6SY2RU.js +3 -0
  283. package/dist/bin/shell/chunks/tee-NP4ULCWD.js +3 -0
  284. package/dist/bin/shell/chunks/time-ZMFJL7MD.js +3 -0
  285. package/dist/bin/shell/chunks/timeout-EJIGKZUX.js +3 -0
  286. package/dist/bin/shell/chunks/touch-YE5LMLLE.js +3 -0
  287. package/dist/bin/shell/chunks/tr-7KFUMSUF.js +3 -0
  288. package/dist/bin/shell/chunks/unexpand-67EBVEPB.js +3 -0
  289. package/dist/bin/shell/chunks/uniq-SZDRNEYK.js +3 -0
  290. package/dist/bin/shell/chunks/wc-VLOME6PL.js +3 -0
  291. package/dist/bin/shell/chunks/xan-FVGJAHFV.js +3 -0
  292. package/dist/bin/shell/chunks/xan-view-LYATQWQB.js +3 -0
  293. package/dist/bin/shell/chunks/xargs-CLQL2WFV.js +3 -0
  294. package/dist/bin/shell/chunks/yes-OOBLAITP.js +3 -0
  295. package/dist/bin/shell/chunks/yq-YQ4YFM26.js +3 -0
  296. package/dist/bin/shell/shell.js +385 -383
  297. package/dist/bundle/browser.js +873 -863
  298. package/dist/bundle/chunks/awk2-LEEKKBPN.js +2 -0
  299. package/dist/bundle/chunks/base64-GBEVK7UP.js +2 -0
  300. package/dist/bundle/chunks/bash-QTX2IUM4.js +2 -0
  301. package/dist/bundle/chunks/cat-UBR2ABBH.js +2 -0
  302. package/dist/bundle/chunks/chmod-5VBARXGU.js +2 -0
  303. package/dist/bundle/chunks/chunk-2LOOLBWC.js +33 -0
  304. package/dist/bundle/chunks/chunk-34XJ6PLO.js +20 -0
  305. package/dist/bundle/chunks/chunk-3DUKINTI.js +7 -0
  306. package/dist/bundle/chunks/chunk-3VXY25LY.js +2 -0
  307. package/dist/bundle/chunks/chunk-5G2D2EZB.js +7 -0
  308. package/dist/bundle/chunks/chunk-5Q4R6KJE.js +4 -0
  309. package/dist/bundle/chunks/chunk-5ZVTEBKG.js +7 -0
  310. package/dist/bundle/chunks/chunk-77XFWF43.js +13 -0
  311. package/dist/bundle/chunks/chunk-B2EYYRZX.js +9 -0
  312. package/dist/bundle/chunks/chunk-BC3VKZCL.js +10 -0
  313. package/dist/bundle/chunks/chunk-BEIP3OYT.js +6 -0
  314. package/dist/bundle/chunks/chunk-BLTFJFWH.js +2 -0
  315. package/dist/bundle/chunks/chunk-C2GCPQ2D.js +15 -0
  316. package/dist/bundle/chunks/chunk-CGCA7SGA.js +25 -0
  317. package/dist/bundle/chunks/chunk-CIY4XCGA.js +2 -0
  318. package/dist/bundle/chunks/chunk-CXBOPNEG.js +11 -0
  319. package/dist/bundle/chunks/chunk-CYJQAYUX.js +142 -0
  320. package/dist/bundle/chunks/chunk-D55UUXDJ.js +100 -0
  321. package/dist/bundle/chunks/chunk-EOMWWW4L.js +33 -0
  322. package/dist/bundle/chunks/chunk-ER6ZGLPS.js +26 -0
  323. package/dist/bundle/chunks/chunk-EZHC6HLV.js +3 -0
  324. package/dist/bundle/chunks/chunk-FBRDM6EM.js +12 -0
  325. package/dist/bundle/chunks/chunk-FDAXSABU.js +11 -0
  326. package/dist/bundle/chunks/chunk-FEKEA5Y2.js +2 -0
  327. package/dist/bundle/chunks/chunk-GEANXVKK.js +15 -0
  328. package/dist/bundle/chunks/chunk-GIQ3LRFL.js +21 -0
  329. package/dist/bundle/chunks/chunk-HBIJBKHP.js +14 -0
  330. package/dist/bundle/chunks/chunk-IDYF47VD.js +11 -0
  331. package/dist/bundle/chunks/chunk-IH6MZAKK.js +6 -0
  332. package/dist/bundle/chunks/chunk-IIWAWB3H.js +274 -0
  333. package/dist/bundle/chunks/chunk-IQGNPH54.js +8 -0
  334. package/dist/bundle/chunks/chunk-IVYY6YFV.js +7 -0
  335. package/dist/bundle/chunks/chunk-IXOG2DXK.js +14 -0
  336. package/dist/bundle/chunks/chunk-J6QAN4PZ.js +6 -0
  337. package/dist/bundle/chunks/chunk-JMGGZYF2.js +2 -0
  338. package/dist/bundle/chunks/chunk-JU5GJH4X.js +9 -0
  339. package/dist/bundle/chunks/chunk-JWGTQTBU.js +16 -0
  340. package/dist/bundle/chunks/chunk-KQSMX4HM.js +11 -0
  341. package/dist/bundle/chunks/chunk-KZMK2KYL.js +43 -0
  342. package/dist/bundle/chunks/chunk-L4MC7WH4.js +14 -0
  343. package/dist/bundle/chunks/chunk-L5AKA7GO.js +5 -0
  344. package/dist/bundle/chunks/chunk-LBKOJW6K.js +2 -0
  345. package/dist/bundle/chunks/chunk-LNJ6EIKX.js +2 -0
  346. package/dist/bundle/chunks/chunk-LQXMSLW5.js +16 -0
  347. package/dist/bundle/chunks/chunk-MOOFDAFS.js +7 -0
  348. package/dist/bundle/chunks/chunk-N3VQQRLQ.js +8 -0
  349. package/dist/bundle/chunks/chunk-NJUHQKMR.js +3 -0
  350. package/dist/bundle/chunks/chunk-NOZTFL4F.js +12 -0
  351. package/dist/bundle/chunks/chunk-OEZKBUXP.js +8 -0
  352. package/dist/bundle/chunks/chunk-OZMQI3HV.js +17 -0
  353. package/dist/bundle/chunks/chunk-POI4XBDP.js +6 -0
  354. package/dist/bundle/chunks/chunk-PV2DCWLJ.js +6 -0
  355. package/dist/bundle/chunks/chunk-Q6ZH76O4.js +2 -0
  356. package/dist/bundle/chunks/chunk-QECDICRF.js +9 -0
  357. package/dist/bundle/chunks/chunk-QJTRVYQA.js +5 -0
  358. package/dist/bundle/chunks/chunk-QZPG6UCH.js +9 -0
  359. package/dist/bundle/chunks/chunk-R23EAHN5.js +2 -0
  360. package/dist/bundle/chunks/chunk-R3HY2GCO.js +3 -0
  361. package/dist/bundle/chunks/chunk-RQTEROQ5.js +6 -0
  362. package/dist/bundle/chunks/chunk-SAE7VUIM.js +21 -0
  363. package/dist/bundle/chunks/chunk-SBG7KYI4.js +12 -0
  364. package/dist/bundle/chunks/chunk-SRNYBHIU.js +21 -0
  365. package/dist/bundle/chunks/chunk-T7CFNHX6.js +2 -0
  366. package/dist/bundle/chunks/chunk-U3UTFNHI.js +2 -0
  367. package/dist/bundle/chunks/chunk-UQZ5HJXB.js +64 -0
  368. package/dist/bundle/chunks/chunk-US6XQQ6W.js +19 -0
  369. package/dist/bundle/chunks/chunk-UZ4TKNEJ.js +2 -0
  370. package/dist/bundle/chunks/chunk-VW6FDS6X.js +2 -0
  371. package/dist/bundle/chunks/chunk-W4A6TADR.js +36 -0
  372. package/dist/bundle/chunks/chunk-WAL3MOLR.js +6 -0
  373. package/dist/bundle/chunks/chunk-WFEUQRHM.js +2 -0
  374. package/dist/bundle/chunks/chunk-WNAEYQTE.js +8 -0
  375. package/dist/bundle/chunks/chunk-WOSSFIAE.js +12 -0
  376. package/dist/bundle/chunks/chunk-WTG3OCY4.js +5 -0
  377. package/dist/bundle/chunks/chunk-XIEMQVCO.js +19 -0
  378. package/dist/bundle/chunks/chunk-YFGP6M45.js +7 -0
  379. package/dist/bundle/chunks/chunk-ZARLSKBF.js +2 -0
  380. package/dist/bundle/chunks/chunk-ZVANIJV2.js +4 -0
  381. package/dist/bundle/chunks/column-46NX3HG3.js +2 -0
  382. package/dist/bundle/chunks/comm-QHEYSM4I.js +2 -0
  383. package/dist/bundle/chunks/cp-AQ4Y4WVV.js +2 -0
  384. package/dist/bundle/chunks/curl-LMCQFYWH.js +30 -0
  385. package/dist/bundle/chunks/cut-A6NXJGOH.js +2 -0
  386. package/dist/bundle/chunks/date-YMEJ62OQ.js +2 -0
  387. package/dist/bundle/chunks/diff-SECJC7CN.js +2 -0
  388. package/dist/bundle/chunks/du-JOLY42MC.js +2 -0
  389. package/dist/bundle/chunks/env-MI6QVNMM.js +2 -0
  390. package/dist/bundle/chunks/expand-YVEZTU7W.js +2 -0
  391. package/dist/bundle/chunks/expr-U7WETT5R.js +2 -0
  392. package/dist/bundle/chunks/file-6QDI3H7G.js +2 -0
  393. package/dist/bundle/chunks/find-UYQIFSZI.js +2 -0
  394. package/dist/bundle/chunks/flag-coverage-5YCE6ILG.js +2 -0
  395. package/dist/bundle/chunks/fold-A24KLKHY.js +2 -0
  396. package/dist/bundle/chunks/grep-ZELVZ7JB.js +2 -0
  397. package/dist/bundle/chunks/gzip-3IFADYVU.js +2 -0
  398. package/dist/bundle/chunks/head-5YWCKNNQ.js +2 -0
  399. package/dist/bundle/chunks/html-to-markdown-EOWI2I5J.js +2 -0
  400. package/dist/bundle/chunks/join-MSZXRLNV.js +2 -0
  401. package/dist/bundle/chunks/jq-MKA6BDYV.js +2 -0
  402. package/dist/bundle/chunks/js-exec-CNDWLKWB.js +1616 -0
  403. package/dist/bundle/chunks/ls-WMN4WCCI.js +2 -0
  404. package/dist/bundle/chunks/md5sum-OCX4NZ2Q.js +2 -0
  405. package/dist/bundle/chunks/mkdir-YJMG55FX.js +2 -0
  406. package/dist/bundle/chunks/mktemp-RA55VAN3.js +2 -0
  407. package/dist/bundle/chunks/mv-NTJL2AHI.js +2 -0
  408. package/dist/bundle/chunks/nl-Z5DVHZ3S.js +2 -0
  409. package/dist/bundle/chunks/od-TRWBMEIO.js +2 -0
  410. package/dist/bundle/chunks/paste-VPYCLIL6.js +2 -0
  411. package/dist/bundle/chunks/printf-BNADL4RX.js +2 -0
  412. package/dist/bundle/chunks/python3-TIKLWPZJ.js +22 -0
  413. package/dist/bundle/chunks/readlink-HGACDFRD.js +2 -0
  414. package/dist/bundle/chunks/rev-W57N4M5B.js +2 -0
  415. package/dist/bundle/chunks/rg-IN3KT335.js +2 -0
  416. package/dist/bundle/chunks/rm-CDVWO5CO.js +2 -0
  417. package/dist/bundle/chunks/rmdir-HI3UE4KQ.js +2 -0
  418. package/dist/bundle/chunks/sed-MXZDFQ7I.js +2 -0
  419. package/dist/bundle/chunks/seq-E3UP3G65.js +2 -0
  420. package/dist/bundle/chunks/sha1sum-QUWYL7G6.js +2 -0
  421. package/dist/bundle/chunks/sha256sum-FGHIABMA.js +2 -0
  422. package/dist/bundle/chunks/sort-ATCMEITA.js +2 -0
  423. package/dist/bundle/chunks/split-YZFCWIZI.js +2 -0
  424. package/dist/bundle/chunks/sqlite3-JL36RFBZ.js +2 -0
  425. package/dist/bundle/chunks/stat-APUQD6WQ.js +2 -0
  426. package/dist/bundle/chunks/strings-WA2ZGNUN.js +2 -0
  427. package/dist/bundle/chunks/tac-OCV6R4TG.js +2 -0
  428. package/dist/bundle/chunks/tail-IBKQAMFW.js +2 -0
  429. package/dist/bundle/chunks/tar-WJV4DGKA.js +2 -0
  430. package/dist/bundle/chunks/tee-VOXQ2UGV.js +2 -0
  431. package/dist/bundle/chunks/time-GOHAC6VO.js +2 -0
  432. package/dist/bundle/chunks/timeout-FVGYB3MD.js +2 -0
  433. package/dist/bundle/chunks/touch-57OKADDG.js +2 -0
  434. package/dist/bundle/chunks/tr-M4D6SICQ.js +2 -0
  435. package/dist/bundle/chunks/unexpand-SYZZ5ZBE.js +2 -0
  436. package/dist/bundle/chunks/uniq-TUUUYPVF.js +2 -0
  437. package/dist/bundle/chunks/wc-HQPGW3KR.js +2 -0
  438. package/dist/bundle/chunks/xan-CZJZCC57.js +2 -0
  439. package/dist/bundle/chunks/xan-view-HETEUD3G.js +2 -0
  440. package/dist/bundle/chunks/xargs-WFPZZ3FK.js +2 -0
  441. package/dist/bundle/chunks/yes-ACSNSE7T.js +2 -0
  442. package/dist/bundle/chunks/yq-XDJLIJPZ.js +2 -0
  443. package/dist/bundle/index.cjs +1042 -993
  444. package/dist/bundle/index.js +345 -343
  445. package/dist/commands/awk/interpreter/fields.d.ts +16 -0
  446. package/dist/commands/js-exec/module-shims.d.ts +1 -1
  447. package/dist/commands/rg/rg-options.d.ts +2 -0
  448. package/dist/commands/search-engine/matcher.d.ts +2 -0
  449. package/dist/interpreter/builtin-dispatch.d.ts +9 -3
  450. package/dist/interpreter/fd-table.d.ts +4 -1
  451. package/dist/interpreter/helpers/errors.d.ts +5 -0
  452. package/dist/interpreter/pipeline-execution.d.ts +1 -1
  453. package/dist/interpreter/redirections.d.ts +25 -10
  454. package/dist/interpreter/types.d.ts +2 -0
  455. package/dist/types.d.ts +15 -0
  456. package/dist/utils/string-builder.d.ts +9 -0
  457. package/package.json +2 -2
  458. package/dist/bin/chunks/awk2-U22OR5B5.js +0 -3
  459. package/dist/bin/chunks/base64-2KKH5BCT.js +0 -3
  460. package/dist/bin/chunks/bash-CFCBBWVH.js +0 -3
  461. package/dist/bin/chunks/cat-V45MVNBT.js +0 -3
  462. package/dist/bin/chunks/chmod-A54R4UUQ.js +0 -3
  463. package/dist/bin/chunks/chunk-2NJJXU4K.js +0 -27
  464. package/dist/bin/chunks/chunk-2YLY6FJA.js +0 -10
  465. package/dist/bin/chunks/chunk-3LKMI5IX.js +0 -34
  466. package/dist/bin/chunks/chunk-3VSWQCPN.js +0 -18
  467. package/dist/bin/chunks/chunk-44SKMHU6.js +0 -16
  468. package/dist/bin/chunks/chunk-5SKEZPTU.js +0 -12
  469. package/dist/bin/chunks/chunk-5SR55TXB.js +0 -16
  470. package/dist/bin/chunks/chunk-6D75E4LV.js +0 -3
  471. package/dist/bin/chunks/chunk-6DAR25KN.js +0 -12
  472. package/dist/bin/chunks/chunk-6SAZRW7E.js +0 -15
  473. package/dist/bin/chunks/chunk-723HNGID.js +0 -13
  474. package/dist/bin/chunks/chunk-7FGDUBSN.js +0 -14
  475. package/dist/bin/chunks/chunk-7X4QBCFW.js +0 -36
  476. package/dist/bin/chunks/chunk-AINNAQBQ.js +0 -6
  477. package/dist/bin/chunks/chunk-AL7RVSF4.js +0 -8
  478. package/dist/bin/chunks/chunk-ARYCSNJJ.js +0 -101
  479. package/dist/bin/chunks/chunk-BCJ42NCM.js +0 -15
  480. package/dist/bin/chunks/chunk-BJF6B4YW.js +0 -22
  481. package/dist/bin/chunks/chunk-BOXG6XBN.js +0 -143
  482. package/dist/bin/chunks/chunk-CPKBPQ2C.js +0 -3
  483. package/dist/bin/chunks/chunk-DA3RFNKK.js +0 -17
  484. package/dist/bin/chunks/chunk-DH7M46D3.js +0 -20
  485. package/dist/bin/chunks/chunk-DTGQQKI2.js +0 -87
  486. package/dist/bin/chunks/chunk-ECZAFQ22.js +0 -9
  487. package/dist/bin/chunks/chunk-ETWDDV6I.js +0 -10
  488. package/dist/bin/chunks/chunk-HFW2LXQV.js +0 -13
  489. package/dist/bin/chunks/chunk-HRKG3ZK2.js +0 -8
  490. package/dist/bin/chunks/chunk-I4IRHQDW.js +0 -3
  491. package/dist/bin/chunks/chunk-IKUY74NG.js +0 -3
  492. package/dist/bin/chunks/chunk-ILXMFIYG.js +0 -7
  493. package/dist/bin/chunks/chunk-IMVXTSPG.js +0 -275
  494. package/dist/bin/chunks/chunk-ISW2U76N.js +0 -17
  495. package/dist/bin/chunks/chunk-K5KT6DMM.js +0 -4
  496. package/dist/bin/chunks/chunk-KG2KXL4Y.js +0 -3
  497. package/dist/bin/chunks/chunk-LCP3IKI7.js +0 -9
  498. package/dist/bin/chunks/chunk-LG6IN6SW.js +0 -34
  499. package/dist/bin/chunks/chunk-LMFAALLO.js +0 -21
  500. package/dist/bin/chunks/chunk-LXFMIXGA.js +0 -3
  501. package/dist/bin/chunks/chunk-M5ZBECGM.js +0 -22
  502. package/dist/bin/chunks/chunk-MA6BMA4M.js +0 -3
  503. package/dist/bin/chunks/chunk-MPQMTLXN.js +0 -3
  504. package/dist/bin/chunks/chunk-MUIYG2RB.js +0 -65
  505. package/dist/bin/chunks/chunk-MYTNZ7MA.js +0 -7
  506. package/dist/bin/chunks/chunk-NGMFI3RH.js +0 -15
  507. package/dist/bin/chunks/chunk-NLMTGTSG.js +0 -11
  508. package/dist/bin/chunks/chunk-O74FSWB4.js +0 -4
  509. package/dist/bin/chunks/chunk-OBVTFHVP.js +0 -7
  510. package/dist/bin/chunks/chunk-OOKVPG5D.js +0 -6
  511. package/dist/bin/chunks/chunk-PL4EU7Y2.js +0 -3
  512. package/dist/bin/chunks/chunk-Q3LE3Y66.js +0 -13
  513. package/dist/bin/chunks/chunk-QCGH2ZOW.js +0 -13
  514. package/dist/bin/chunks/chunk-QKWMWSV3.js +0 -3
  515. package/dist/bin/chunks/chunk-QL33F2W6.js +0 -8
  516. package/dist/bin/chunks/chunk-S5Z7DMIE.js +0 -26
  517. package/dist/bin/chunks/chunk-SQ7SZZMW.js +0 -8
  518. package/dist/bin/chunks/chunk-SQUH76NP.js +0 -3
  519. package/dist/bin/chunks/chunk-TGRZ42DS.js +0 -12
  520. package/dist/bin/chunks/chunk-THTKNRO6.js +0 -7
  521. package/dist/bin/chunks/chunk-TQXLQEIT.js +0 -9
  522. package/dist/bin/chunks/chunk-TZ3S7MY6.js +0 -12
  523. package/dist/bin/chunks/chunk-U6BXPMLD.js +0 -7
  524. package/dist/bin/chunks/chunk-U6DBRMD5.js +0 -5
  525. package/dist/bin/chunks/chunk-URRH3GPG.js +0 -10
  526. package/dist/bin/chunks/chunk-VBU3UEG5.js +0 -7
  527. package/dist/bin/chunks/chunk-VLWZ6L7C.js +0 -4
  528. package/dist/bin/chunks/chunk-VTHA5UK5.js +0 -7
  529. package/dist/bin/chunks/chunk-WBST7XJW.js +0 -9
  530. package/dist/bin/chunks/chunk-WDV2ECOC.js +0 -3
  531. package/dist/bin/chunks/chunk-WEQ5WM2M.js +0 -20
  532. package/dist/bin/chunks/chunk-WFVCEB5T.js +0 -3
  533. package/dist/bin/chunks/chunk-WZ7MIBLR.js +0 -37
  534. package/dist/bin/chunks/chunk-X45GP3AQ.js +0 -3
  535. package/dist/bin/chunks/chunk-XEQ7KSRM.js +0 -5
  536. package/dist/bin/chunks/chunk-YIANER7Y.js +0 -8
  537. package/dist/bin/chunks/chunk-YYZSYLJO.js +0 -6
  538. package/dist/bin/chunks/chunk-Z3KAV6YJ.js +0 -10
  539. package/dist/bin/chunks/chunk-Z5KICK5X.js +0 -22
  540. package/dist/bin/chunks/column-LHHS4D3K.js +0 -3
  541. package/dist/bin/chunks/comm-URDMZCXL.js +0 -3
  542. package/dist/bin/chunks/cp-HPLQA35N.js +0 -3
  543. package/dist/bin/chunks/curl-FIRG3RB6.js +0 -31
  544. package/dist/bin/chunks/cut-KP3S36XS.js +0 -3
  545. package/dist/bin/chunks/date-FJUBX7TJ.js +0 -3
  546. package/dist/bin/chunks/diff-JSJ56EOK.js +0 -3
  547. package/dist/bin/chunks/dist-4NZ74CRE.js +0 -141
  548. package/dist/bin/chunks/du-WEF5YWQK.js +0 -3
  549. package/dist/bin/chunks/env-2TSVF4W7.js +0 -3
  550. package/dist/bin/chunks/expand-P6SNTBGZ.js +0 -3
  551. package/dist/bin/chunks/expr-FLWT4OCO.js +0 -3
  552. package/dist/bin/chunks/file-JLUCGBCB.js +0 -3
  553. package/dist/bin/chunks/find-XGVQ6N6L.js +0 -3
  554. package/dist/bin/chunks/flag-coverage-4JYKIAVV.js +0 -3
  555. package/dist/bin/chunks/fold-YEY7X54W.js +0 -3
  556. package/dist/bin/chunks/grep-DCPCPQOS.js +0 -3
  557. package/dist/bin/chunks/gzip-6DZIKNBW.js +0 -3
  558. package/dist/bin/chunks/head-TLFXMM2T.js +0 -3
  559. package/dist/bin/chunks/html-to-markdown-E22RLT2U.js +0 -3
  560. package/dist/bin/chunks/join-UQKXU2QP.js +0 -3
  561. package/dist/bin/chunks/jq-GDM3OBBK.js +0 -3
  562. package/dist/bin/chunks/js-exec-VU6F6WLS.js +0 -1578
  563. package/dist/bin/chunks/ls-67NUUIYT.js +0 -3
  564. package/dist/bin/chunks/md5sum-Z6KAYGDK.js +0 -3
  565. package/dist/bin/chunks/mkdir-AWDWRBKC.js +0 -3
  566. package/dist/bin/chunks/mktemp-L6OGMDUO.js +0 -3
  567. package/dist/bin/chunks/mv-4BJSOT4Y.js +0 -3
  568. package/dist/bin/chunks/nl-XHWFVVKH.js +0 -3
  569. package/dist/bin/chunks/od-SI75GLRE.js +0 -3
  570. package/dist/bin/chunks/paste-5TSIBDF7.js +0 -3
  571. package/dist/bin/chunks/printf-CNXNRQ3I.js +0 -3
  572. package/dist/bin/chunks/python3-GUWCSSDP.js +0 -23
  573. package/dist/bin/chunks/readlink-URO5XTBB.js +0 -3
  574. package/dist/bin/chunks/rev-CZTQCNOZ.js +0 -3
  575. package/dist/bin/chunks/rg-RVULUPDH.js +0 -3
  576. package/dist/bin/chunks/rm-UCUTHC3I.js +0 -3
  577. package/dist/bin/chunks/rmdir-J3HM7GGM.js +0 -3
  578. package/dist/bin/chunks/sed-MCLGHZOI.js +0 -3
  579. package/dist/bin/chunks/seq-I54NZE75.js +0 -3
  580. package/dist/bin/chunks/sha1sum-CATBXX76.js +0 -3
  581. package/dist/bin/chunks/sha256sum-YGSNBVY3.js +0 -3
  582. package/dist/bin/chunks/sort-M3DO25D5.js +0 -3
  583. package/dist/bin/chunks/split-VZO7223N.js +0 -3
  584. package/dist/bin/chunks/sqlite3-HXVFVP4Z.js +0 -3
  585. package/dist/bin/chunks/stat-UJ37RBMM.js +0 -3
  586. package/dist/bin/chunks/strings-J2X2Z6N2.js +0 -3
  587. package/dist/bin/chunks/tac-DG4BMYM5.js +0 -3
  588. package/dist/bin/chunks/tail-5TSF5YM4.js +0 -3
  589. package/dist/bin/chunks/tar-ZGZZDQXO.js +0 -3
  590. package/dist/bin/chunks/tee-L4HKV5PD.js +0 -3
  591. package/dist/bin/chunks/time-J2DAZUIN.js +0 -3
  592. package/dist/bin/chunks/timeout-ATTDYXLX.js +0 -3
  593. package/dist/bin/chunks/touch-TVQAUQOG.js +0 -3
  594. package/dist/bin/chunks/tr-6RPFASYV.js +0 -3
  595. package/dist/bin/chunks/unexpand-JPOQORZF.js +0 -3
  596. package/dist/bin/chunks/uniq-K5VRDP4Q.js +0 -3
  597. package/dist/bin/chunks/wc-VSQBRD6B.js +0 -3
  598. package/dist/bin/chunks/xan-CCS53B7D.js +0 -3
  599. package/dist/bin/chunks/xan-view-KOXASOEV.js +0 -3
  600. package/dist/bin/chunks/xargs-HMISWW4I.js +0 -3
  601. package/dist/bin/chunks/yes-ELH3XQWY.js +0 -3
  602. package/dist/bin/chunks/yq-GSCDUHGM.js +0 -3
  603. package/dist/bin/shell/chunks/awk2-U22OR5B5.js +0 -3
  604. package/dist/bin/shell/chunks/base64-2KKH5BCT.js +0 -3
  605. package/dist/bin/shell/chunks/bash-CFCBBWVH.js +0 -3
  606. package/dist/bin/shell/chunks/cat-V45MVNBT.js +0 -3
  607. package/dist/bin/shell/chunks/chmod-A54R4UUQ.js +0 -3
  608. package/dist/bin/shell/chunks/chunk-2NJJXU4K.js +0 -27
  609. package/dist/bin/shell/chunks/chunk-2YLY6FJA.js +0 -10
  610. package/dist/bin/shell/chunks/chunk-3LKMI5IX.js +0 -34
  611. package/dist/bin/shell/chunks/chunk-3VSWQCPN.js +0 -18
  612. package/dist/bin/shell/chunks/chunk-44SKMHU6.js +0 -16
  613. package/dist/bin/shell/chunks/chunk-5SKEZPTU.js +0 -12
  614. package/dist/bin/shell/chunks/chunk-5SR55TXB.js +0 -16
  615. package/dist/bin/shell/chunks/chunk-6D75E4LV.js +0 -3
  616. package/dist/bin/shell/chunks/chunk-6DAR25KN.js +0 -12
  617. package/dist/bin/shell/chunks/chunk-6SAZRW7E.js +0 -15
  618. package/dist/bin/shell/chunks/chunk-723HNGID.js +0 -13
  619. package/dist/bin/shell/chunks/chunk-7FGDUBSN.js +0 -14
  620. package/dist/bin/shell/chunks/chunk-7X4QBCFW.js +0 -36
  621. package/dist/bin/shell/chunks/chunk-AINNAQBQ.js +0 -6
  622. package/dist/bin/shell/chunks/chunk-AL7RVSF4.js +0 -8
  623. package/dist/bin/shell/chunks/chunk-ARYCSNJJ.js +0 -101
  624. package/dist/bin/shell/chunks/chunk-BCJ42NCM.js +0 -15
  625. package/dist/bin/shell/chunks/chunk-BJF6B4YW.js +0 -22
  626. package/dist/bin/shell/chunks/chunk-BOXG6XBN.js +0 -143
  627. package/dist/bin/shell/chunks/chunk-CPKBPQ2C.js +0 -3
  628. package/dist/bin/shell/chunks/chunk-DA3RFNKK.js +0 -17
  629. package/dist/bin/shell/chunks/chunk-DH7M46D3.js +0 -20
  630. package/dist/bin/shell/chunks/chunk-DTGQQKI2.js +0 -87
  631. package/dist/bin/shell/chunks/chunk-ECZAFQ22.js +0 -9
  632. package/dist/bin/shell/chunks/chunk-ETWDDV6I.js +0 -10
  633. package/dist/bin/shell/chunks/chunk-HFW2LXQV.js +0 -13
  634. package/dist/bin/shell/chunks/chunk-HRKG3ZK2.js +0 -8
  635. package/dist/bin/shell/chunks/chunk-I4IRHQDW.js +0 -3
  636. package/dist/bin/shell/chunks/chunk-IKUY74NG.js +0 -3
  637. package/dist/bin/shell/chunks/chunk-ILXMFIYG.js +0 -7
  638. package/dist/bin/shell/chunks/chunk-IMVXTSPG.js +0 -275
  639. package/dist/bin/shell/chunks/chunk-ISW2U76N.js +0 -17
  640. package/dist/bin/shell/chunks/chunk-K5KT6DMM.js +0 -4
  641. package/dist/bin/shell/chunks/chunk-KG2KXL4Y.js +0 -3
  642. package/dist/bin/shell/chunks/chunk-LCP3IKI7.js +0 -9
  643. package/dist/bin/shell/chunks/chunk-LG6IN6SW.js +0 -34
  644. package/dist/bin/shell/chunks/chunk-LMFAALLO.js +0 -21
  645. package/dist/bin/shell/chunks/chunk-LXFMIXGA.js +0 -3
  646. package/dist/bin/shell/chunks/chunk-M5ZBECGM.js +0 -22
  647. package/dist/bin/shell/chunks/chunk-MA6BMA4M.js +0 -3
  648. package/dist/bin/shell/chunks/chunk-MPQMTLXN.js +0 -3
  649. package/dist/bin/shell/chunks/chunk-MUIYG2RB.js +0 -65
  650. package/dist/bin/shell/chunks/chunk-MYTNZ7MA.js +0 -7
  651. package/dist/bin/shell/chunks/chunk-NGMFI3RH.js +0 -15
  652. package/dist/bin/shell/chunks/chunk-NLMTGTSG.js +0 -11
  653. package/dist/bin/shell/chunks/chunk-O74FSWB4.js +0 -4
  654. package/dist/bin/shell/chunks/chunk-OBVTFHVP.js +0 -7
  655. package/dist/bin/shell/chunks/chunk-OOKVPG5D.js +0 -6
  656. package/dist/bin/shell/chunks/chunk-PL4EU7Y2.js +0 -3
  657. package/dist/bin/shell/chunks/chunk-Q3LE3Y66.js +0 -13
  658. package/dist/bin/shell/chunks/chunk-QCGH2ZOW.js +0 -13
  659. package/dist/bin/shell/chunks/chunk-QKWMWSV3.js +0 -3
  660. package/dist/bin/shell/chunks/chunk-QL33F2W6.js +0 -8
  661. package/dist/bin/shell/chunks/chunk-S5Z7DMIE.js +0 -26
  662. package/dist/bin/shell/chunks/chunk-SQ7SZZMW.js +0 -8
  663. package/dist/bin/shell/chunks/chunk-SQUH76NP.js +0 -3
  664. package/dist/bin/shell/chunks/chunk-TGRZ42DS.js +0 -12
  665. package/dist/bin/shell/chunks/chunk-THTKNRO6.js +0 -7
  666. package/dist/bin/shell/chunks/chunk-TQXLQEIT.js +0 -9
  667. package/dist/bin/shell/chunks/chunk-TZ3S7MY6.js +0 -12
  668. package/dist/bin/shell/chunks/chunk-U6BXPMLD.js +0 -7
  669. package/dist/bin/shell/chunks/chunk-U6DBRMD5.js +0 -5
  670. package/dist/bin/shell/chunks/chunk-URRH3GPG.js +0 -10
  671. package/dist/bin/shell/chunks/chunk-VBU3UEG5.js +0 -7
  672. package/dist/bin/shell/chunks/chunk-VLWZ6L7C.js +0 -4
  673. package/dist/bin/shell/chunks/chunk-VTHA5UK5.js +0 -7
  674. package/dist/bin/shell/chunks/chunk-WBST7XJW.js +0 -9
  675. package/dist/bin/shell/chunks/chunk-WDV2ECOC.js +0 -3
  676. package/dist/bin/shell/chunks/chunk-WEQ5WM2M.js +0 -20
  677. package/dist/bin/shell/chunks/chunk-WFVCEB5T.js +0 -3
  678. package/dist/bin/shell/chunks/chunk-WZ7MIBLR.js +0 -37
  679. package/dist/bin/shell/chunks/chunk-X45GP3AQ.js +0 -3
  680. package/dist/bin/shell/chunks/chunk-XEQ7KSRM.js +0 -5
  681. package/dist/bin/shell/chunks/chunk-YIANER7Y.js +0 -8
  682. package/dist/bin/shell/chunks/chunk-YYZSYLJO.js +0 -6
  683. package/dist/bin/shell/chunks/chunk-Z3KAV6YJ.js +0 -10
  684. package/dist/bin/shell/chunks/chunk-Z5KICK5X.js +0 -22
  685. package/dist/bin/shell/chunks/column-LHHS4D3K.js +0 -3
  686. package/dist/bin/shell/chunks/comm-URDMZCXL.js +0 -3
  687. package/dist/bin/shell/chunks/cp-HPLQA35N.js +0 -3
  688. package/dist/bin/shell/chunks/curl-FIRG3RB6.js +0 -31
  689. package/dist/bin/shell/chunks/cut-KP3S36XS.js +0 -3
  690. package/dist/bin/shell/chunks/date-FJUBX7TJ.js +0 -3
  691. package/dist/bin/shell/chunks/diff-JSJ56EOK.js +0 -3
  692. package/dist/bin/shell/chunks/dist-4NZ74CRE.js +0 -141
  693. package/dist/bin/shell/chunks/du-WEF5YWQK.js +0 -3
  694. package/dist/bin/shell/chunks/env-2TSVF4W7.js +0 -3
  695. package/dist/bin/shell/chunks/expand-P6SNTBGZ.js +0 -3
  696. package/dist/bin/shell/chunks/expr-FLWT4OCO.js +0 -3
  697. package/dist/bin/shell/chunks/file-JLUCGBCB.js +0 -3
  698. package/dist/bin/shell/chunks/find-XGVQ6N6L.js +0 -3
  699. package/dist/bin/shell/chunks/flag-coverage-4JYKIAVV.js +0 -3
  700. package/dist/bin/shell/chunks/fold-YEY7X54W.js +0 -3
  701. package/dist/bin/shell/chunks/grep-DCPCPQOS.js +0 -3
  702. package/dist/bin/shell/chunks/gzip-6DZIKNBW.js +0 -3
  703. package/dist/bin/shell/chunks/head-TLFXMM2T.js +0 -3
  704. package/dist/bin/shell/chunks/html-to-markdown-E22RLT2U.js +0 -3
  705. package/dist/bin/shell/chunks/join-UQKXU2QP.js +0 -3
  706. package/dist/bin/shell/chunks/jq-GDM3OBBK.js +0 -3
  707. package/dist/bin/shell/chunks/js-exec-VU6F6WLS.js +0 -1578
  708. package/dist/bin/shell/chunks/ls-67NUUIYT.js +0 -3
  709. package/dist/bin/shell/chunks/md5sum-Z6KAYGDK.js +0 -3
  710. package/dist/bin/shell/chunks/mkdir-AWDWRBKC.js +0 -3
  711. package/dist/bin/shell/chunks/mktemp-L6OGMDUO.js +0 -3
  712. package/dist/bin/shell/chunks/mv-4BJSOT4Y.js +0 -3
  713. package/dist/bin/shell/chunks/nl-XHWFVVKH.js +0 -3
  714. package/dist/bin/shell/chunks/od-SI75GLRE.js +0 -3
  715. package/dist/bin/shell/chunks/paste-5TSIBDF7.js +0 -3
  716. package/dist/bin/shell/chunks/printf-CNXNRQ3I.js +0 -3
  717. package/dist/bin/shell/chunks/python3-GUWCSSDP.js +0 -23
  718. package/dist/bin/shell/chunks/readlink-URO5XTBB.js +0 -3
  719. package/dist/bin/shell/chunks/rev-CZTQCNOZ.js +0 -3
  720. package/dist/bin/shell/chunks/rg-RVULUPDH.js +0 -3
  721. package/dist/bin/shell/chunks/rm-UCUTHC3I.js +0 -3
  722. package/dist/bin/shell/chunks/rmdir-J3HM7GGM.js +0 -3
  723. package/dist/bin/shell/chunks/sed-MCLGHZOI.js +0 -3
  724. package/dist/bin/shell/chunks/seq-I54NZE75.js +0 -3
  725. package/dist/bin/shell/chunks/sha1sum-CATBXX76.js +0 -3
  726. package/dist/bin/shell/chunks/sha256sum-YGSNBVY3.js +0 -3
  727. package/dist/bin/shell/chunks/sort-M3DO25D5.js +0 -3
  728. package/dist/bin/shell/chunks/split-VZO7223N.js +0 -3
  729. package/dist/bin/shell/chunks/sqlite3-HXVFVP4Z.js +0 -3
  730. package/dist/bin/shell/chunks/stat-UJ37RBMM.js +0 -3
  731. package/dist/bin/shell/chunks/strings-J2X2Z6N2.js +0 -3
  732. package/dist/bin/shell/chunks/tac-DG4BMYM5.js +0 -3
  733. package/dist/bin/shell/chunks/tail-5TSF5YM4.js +0 -3
  734. package/dist/bin/shell/chunks/tar-ZGZZDQXO.js +0 -3
  735. package/dist/bin/shell/chunks/tee-L4HKV5PD.js +0 -3
  736. package/dist/bin/shell/chunks/time-J2DAZUIN.js +0 -3
  737. package/dist/bin/shell/chunks/timeout-ATTDYXLX.js +0 -3
  738. package/dist/bin/shell/chunks/touch-TVQAUQOG.js +0 -3
  739. package/dist/bin/shell/chunks/tr-6RPFASYV.js +0 -3
  740. package/dist/bin/shell/chunks/unexpand-JPOQORZF.js +0 -3
  741. package/dist/bin/shell/chunks/uniq-K5VRDP4Q.js +0 -3
  742. package/dist/bin/shell/chunks/wc-VSQBRD6B.js +0 -3
  743. package/dist/bin/shell/chunks/xan-CCS53B7D.js +0 -3
  744. package/dist/bin/shell/chunks/xan-view-KOXASOEV.js +0 -3
  745. package/dist/bin/shell/chunks/xargs-HMISWW4I.js +0 -3
  746. package/dist/bin/shell/chunks/yes-ELH3XQWY.js +0 -3
  747. package/dist/bin/shell/chunks/yq-GSCDUHGM.js +0 -3
  748. package/dist/bundle/chunks/awk2-V7KYQWCD.js +0 -2
  749. package/dist/bundle/chunks/base64-QPSYZAAJ.js +0 -2
  750. package/dist/bundle/chunks/bash-HIEWVHJ2.js +0 -2
  751. package/dist/bundle/chunks/cat-54BXBS6X.js +0 -2
  752. package/dist/bundle/chunks/chmod-4OPV4QKK.js +0 -2
  753. package/dist/bundle/chunks/chunk-2KNTH3KH.js +0 -9
  754. package/dist/bundle/chunks/chunk-2VWG4LDT.js +0 -11
  755. package/dist/bundle/chunks/chunk-2WBUTDF5.js +0 -2
  756. package/dist/bundle/chunks/chunk-3HDTNUL3.js +0 -6
  757. package/dist/bundle/chunks/chunk-3KWM4FFA.js +0 -12
  758. package/dist/bundle/chunks/chunk-4AKAIZPW.js +0 -15
  759. package/dist/bundle/chunks/chunk-4IMUNIUJ.js +0 -21
  760. package/dist/bundle/chunks/chunk-5ATEFZLC.js +0 -4
  761. package/dist/bundle/chunks/chunk-5BMPT6SF.js +0 -19
  762. package/dist/bundle/chunks/chunk-5QWGR2WA.js +0 -21
  763. package/dist/bundle/chunks/chunk-5UTZMNI5.js +0 -64
  764. package/dist/bundle/chunks/chunk-5VCAQBXL.js +0 -17
  765. package/dist/bundle/chunks/chunk-65LVAUWW.js +0 -7
  766. package/dist/bundle/chunks/chunk-6D3WD6YU.js +0 -3
  767. package/dist/bundle/chunks/chunk-6R4OQQWP.js +0 -16
  768. package/dist/bundle/chunks/chunk-6WGIZV3E.js +0 -13
  769. package/dist/bundle/chunks/chunk-72JHTO7E.js +0 -2
  770. package/dist/bundle/chunks/chunk-7GA3QWJJ.js +0 -33
  771. package/dist/bundle/chunks/chunk-7M672HB6.js +0 -21
  772. package/dist/bundle/chunks/chunk-AFFAMSJT.js +0 -14
  773. package/dist/bundle/chunks/chunk-ANCQ4SCV.js +0 -2
  774. package/dist/bundle/chunks/chunk-B3NGH6KE.js +0 -5
  775. package/dist/bundle/chunks/chunk-B5Z5HTFY.js +0 -14
  776. package/dist/bundle/chunks/chunk-B6OSJB22.js +0 -26
  777. package/dist/bundle/chunks/chunk-BM3X75NC.js +0 -36
  778. package/dist/bundle/chunks/chunk-CGI6V2HW.js +0 -11
  779. package/dist/bundle/chunks/chunk-CHHWTPDH.js +0 -3
  780. package/dist/bundle/chunks/chunk-D5ZJISRS.js +0 -11
  781. package/dist/bundle/chunks/chunk-DIRWTBKE.js +0 -19
  782. package/dist/bundle/chunks/chunk-DIWMSSQY.js +0 -2
  783. package/dist/bundle/chunks/chunk-DPZVOEUP.js +0 -6
  784. package/dist/bundle/chunks/chunk-EFORKKSH.js +0 -8
  785. package/dist/bundle/chunks/chunk-EGTVQWAP.js +0 -20
  786. package/dist/bundle/chunks/chunk-EJFBIRMD.js +0 -6
  787. package/dist/bundle/chunks/chunk-EQQGPAXI.js +0 -9
  788. package/dist/bundle/chunks/chunk-EXXOLIVE.js +0 -35
  789. package/dist/bundle/chunks/chunk-FIMO5HLX.js +0 -2
  790. package/dist/bundle/chunks/chunk-FT6ODGOU.js +0 -2
  791. package/dist/bundle/chunks/chunk-FZRQOL3C.js +0 -7
  792. package/dist/bundle/chunks/chunk-GLAFXDZC.js +0 -4
  793. package/dist/bundle/chunks/chunk-GN6CQ3J4.js +0 -2
  794. package/dist/bundle/chunks/chunk-H42OAUJL.js +0 -12
  795. package/dist/bundle/chunks/chunk-H53EPEGD.js +0 -12
  796. package/dist/bundle/chunks/chunk-HDOXCDVK.js +0 -7
  797. package/dist/bundle/chunks/chunk-HIQEVPXM.js +0 -2
  798. package/dist/bundle/chunks/chunk-J2OBOJ64.js +0 -2
  799. package/dist/bundle/chunks/chunk-LVDUF74R.js +0 -7
  800. package/dist/bundle/chunks/chunk-M4LDT7V7.js +0 -6
  801. package/dist/bundle/chunks/chunk-MDE25PQK.js +0 -15
  802. package/dist/bundle/chunks/chunk-MHDZERK4.js +0 -6
  803. package/dist/bundle/chunks/chunk-MHZF23KB.js +0 -33
  804. package/dist/bundle/chunks/chunk-N6W6FM4N.js +0 -8
  805. package/dist/bundle/chunks/chunk-NRLE7KYI.js +0 -6
  806. package/dist/bundle/chunks/chunk-OB46N7Q7.js +0 -2
  807. package/dist/bundle/chunks/chunk-OQ7C4FYO.js +0 -2
  808. package/dist/bundle/chunks/chunk-P5BOIHWV.js +0 -6
  809. package/dist/bundle/chunks/chunk-PPDMRIJ7.js +0 -11
  810. package/dist/bundle/chunks/chunk-PPHGMG47.js +0 -142
  811. package/dist/bundle/chunks/chunk-R6ZGLVXI.js +0 -9
  812. package/dist/bundle/chunks/chunk-RCRHDT54.js +0 -274
  813. package/dist/bundle/chunks/chunk-RIIUVFUS.js +0 -7
  814. package/dist/bundle/chunks/chunk-SQX6WQXB.js +0 -7
  815. package/dist/bundle/chunks/chunk-SRB6FXRH.js +0 -2
  816. package/dist/bundle/chunks/chunk-T4INBNHX.js +0 -8
  817. package/dist/bundle/chunks/chunk-TUQG2YRH.js +0 -5
  818. package/dist/bundle/chunks/chunk-U7UNEMLJ.js +0 -2
  819. package/dist/bundle/chunks/chunk-UHHCL65P.js +0 -3
  820. package/dist/bundle/chunks/chunk-UK2K3DHN.js +0 -8
  821. package/dist/bundle/chunks/chunk-VDJ53ESK.js +0 -9
  822. package/dist/bundle/chunks/chunk-VGCXKMXN.js +0 -10
  823. package/dist/bundle/chunks/chunk-W5DWRFSU.js +0 -2
  824. package/dist/bundle/chunks/chunk-W5J5ADJF.js +0 -100
  825. package/dist/bundle/chunks/chunk-XHFP44Y4.js +0 -5
  826. package/dist/bundle/chunks/chunk-Y32R7EZP.js +0 -25
  827. package/dist/bundle/chunks/chunk-Y62SXZKJ.js +0 -12
  828. package/dist/bundle/chunks/chunk-YUFU7O6I.js +0 -16
  829. package/dist/bundle/chunks/chunk-YZH7FUSY.js +0 -14
  830. package/dist/bundle/chunks/column-F5JDBRV6.js +0 -2
  831. package/dist/bundle/chunks/comm-DTWKU2MC.js +0 -2
  832. package/dist/bundle/chunks/cp-LTFB4EUA.js +0 -2
  833. package/dist/bundle/chunks/curl-XCX2ZQEA.js +0 -30
  834. package/dist/bundle/chunks/cut-IRSHL3BB.js +0 -2
  835. package/dist/bundle/chunks/date-FN2DXAEE.js +0 -2
  836. package/dist/bundle/chunks/diff-VDB6RXHO.js +0 -2
  837. package/dist/bundle/chunks/du-DOWSRLXR.js +0 -2
  838. package/dist/bundle/chunks/env-VUUMB47B.js +0 -2
  839. package/dist/bundle/chunks/expand-2BPPGGSM.js +0 -2
  840. package/dist/bundle/chunks/expr-GZ4DABKB.js +0 -2
  841. package/dist/bundle/chunks/file-UI6QJAAU.js +0 -2
  842. package/dist/bundle/chunks/find-JTXDH3MR.js +0 -2
  843. package/dist/bundle/chunks/flag-coverage-EDO3VM43.js +0 -2
  844. package/dist/bundle/chunks/fold-QJBPHRFJ.js +0 -2
  845. package/dist/bundle/chunks/grep-OZCR76FT.js +0 -2
  846. package/dist/bundle/chunks/gzip-GQC6CWVL.js +0 -2
  847. package/dist/bundle/chunks/head-J6RVJFRS.js +0 -2
  848. package/dist/bundle/chunks/html-to-markdown-7OG5VWYG.js +0 -2
  849. package/dist/bundle/chunks/join-KQ4Z5OD4.js +0 -2
  850. package/dist/bundle/chunks/jq-FCG2IUBK.js +0 -2
  851. package/dist/bundle/chunks/js-exec-NDLXDUBN.js +0 -1577
  852. package/dist/bundle/chunks/ls-MQTYWW4T.js +0 -2
  853. package/dist/bundle/chunks/md5sum-JEDX55KS.js +0 -2
  854. package/dist/bundle/chunks/mkdir-4A5W3RXH.js +0 -2
  855. package/dist/bundle/chunks/mktemp-XKIE5N3X.js +0 -2
  856. package/dist/bundle/chunks/mv-ZPIATQJL.js +0 -2
  857. package/dist/bundle/chunks/nl-RFXH2GNX.js +0 -2
  858. package/dist/bundle/chunks/od-LUHOH7CG.js +0 -2
  859. package/dist/bundle/chunks/paste-U57ZU47S.js +0 -2
  860. package/dist/bundle/chunks/printf-V42QCPHL.js +0 -2
  861. package/dist/bundle/chunks/python3-SDFCGIU4.js +0 -22
  862. package/dist/bundle/chunks/readlink-YNNS6F7K.js +0 -2
  863. package/dist/bundle/chunks/rev-EPOS3MFH.js +0 -2
  864. package/dist/bundle/chunks/rg-F4SX2PHI.js +0 -2
  865. package/dist/bundle/chunks/rm-3XUUYAXQ.js +0 -2
  866. package/dist/bundle/chunks/rmdir-OGSEXEF4.js +0 -2
  867. package/dist/bundle/chunks/sed-MBB5SXGD.js +0 -2
  868. package/dist/bundle/chunks/seq-IN77HD3S.js +0 -2
  869. package/dist/bundle/chunks/sha1sum-BLPZJ6MP.js +0 -2
  870. package/dist/bundle/chunks/sha256sum-VJZ4PHQ4.js +0 -2
  871. package/dist/bundle/chunks/sort-PV2NEQHF.js +0 -2
  872. package/dist/bundle/chunks/split-6R2TSQY6.js +0 -2
  873. package/dist/bundle/chunks/sqlite3-7MBPFI6W.js +0 -2
  874. package/dist/bundle/chunks/stat-YLVJ4L67.js +0 -2
  875. package/dist/bundle/chunks/strings-WTD7Q2EF.js +0 -2
  876. package/dist/bundle/chunks/tac-YXC4HBTR.js +0 -2
  877. package/dist/bundle/chunks/tail-UGFWX3YY.js +0 -2
  878. package/dist/bundle/chunks/tar-BNHPWTOY.js +0 -2
  879. package/dist/bundle/chunks/tee-OOWSWHRQ.js +0 -2
  880. package/dist/bundle/chunks/time-N6J6DC6C.js +0 -2
  881. package/dist/bundle/chunks/timeout-ZHCL5KTP.js +0 -2
  882. package/dist/bundle/chunks/touch-W4DF6Z4T.js +0 -2
  883. package/dist/bundle/chunks/tr-4NGL47UU.js +0 -2
  884. package/dist/bundle/chunks/unexpand-YD5BWFH4.js +0 -2
  885. package/dist/bundle/chunks/uniq-OVOW532K.js +0 -2
  886. package/dist/bundle/chunks/wc-RUR7HE5O.js +0 -2
  887. package/dist/bundle/chunks/xan-7R3I2DJO.js +0 -2
  888. package/dist/bundle/chunks/xan-view-S4ZILLPU.js +0 -2
  889. package/dist/bundle/chunks/xargs-L7TJHOJT.js +0 -2
  890. package/dist/bundle/chunks/yes-I7SAR7XX.js +0 -2
  891. package/dist/bundle/chunks/yq-IOMBQYB2.js +0 -2
@@ -0,0 +1,2 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a,b}from"./chunk-GIQ3LRFL.js";import"./chunk-DLL7UR66.js";import"./chunk-CHWP6GRK.js";import"./chunk-EOMWWW4L.js";import"./chunk-T7CFNHX6.js";import"./chunk-CBM6J4AL.js";import"./chunk-NJUHQKMR.js";import"./chunk-Q6ZH76O4.js";import"./chunk-IQGNPH54.js";import"./chunk-U3UTFNHI.js";import"./chunk-QAYAQNCG.js";import"./chunk-NCUTH6QL.js";export{a as awkCommand2,b as flagsForFuzzing};
@@ -0,0 +1,2 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a,b}from"./chunk-5ZVTEBKG.js";import"./chunk-R3HY2GCO.js";import"./chunk-T7CFNHX6.js";import"./chunk-CBM6J4AL.js";import"./chunk-STHBFACM.js";import"./chunk-IQGNPH54.js";import"./chunk-U3UTFNHI.js";import"./chunk-QIQMJJZ4.js";import"./chunk-QAYAQNCG.js";import"./chunk-NCUTH6QL.js";export{a as base64Command,b as flagsForFuzzing};
@@ -0,0 +1,2 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a,b,c,d}from"./chunk-BEIP3OYT.js";import"./chunk-DLL7UR66.js";import"./chunk-U3UTFNHI.js";import"./chunk-QAYAQNCG.js";import"./chunk-NCUTH6QL.js";export{a as bashCommand,c as flagsForFuzzing,b as shCommand,d as shFlagsForFuzzing};
@@ -0,0 +1,2 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a,b}from"./chunk-WAL3MOLR.js";import"./chunk-R3HY2GCO.js";import"./chunk-T7CFNHX6.js";import"./chunk-CBM6J4AL.js";import"./chunk-STHBFACM.js";import"./chunk-IQGNPH54.js";import"./chunk-U3UTFNHI.js";import"./chunk-QIQMJJZ4.js";import"./chunk-QAYAQNCG.js";import"./chunk-NCUTH6QL.js";export{a as catCommand,b as flagsForFuzzing};
@@ -0,0 +1,2 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a,b}from"./chunk-WNAEYQTE.js";import"./chunk-T7CFNHX6.js";import"./chunk-CBM6J4AL.js";import"./chunk-Q6ZH76O4.js";import"./chunk-JMGGZYF2.js";import"./chunk-YUSFCOM7.js";import"./chunk-IQGNPH54.js";import"./chunk-U3UTFNHI.js";import"./chunk-FOCWZZDE.js";import"./chunk-QAYAQNCG.js";import"./chunk-NCUTH6QL.js";export{a as chmodCommand,b as flagsForFuzzing};
@@ -0,0 +1,33 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as w}from"./chunk-WZQNMEQW.js";import{a as m}from"./chunk-T7CFNHX6.js";import{e as v}from"./chunk-Q6ZH76O4.js";import{e as B}from"./chunk-JMGGZYF2.js";import{l as z}from"./chunk-IQGNPH54.js";import{a as L}from"./chunk-QIQMJJZ4.js";import{a as F,b as E}from"./chunk-QAYAQNCG.js";import{constants as C,gunzipSync as _,gzipSync as A}from"node:zlib";var D={name:"gzip",summary:"compress or expand files",usage:"gzip [OPTION]... [FILE]...",description:`Compress FILEs (by default, in-place).
3
+
4
+ When no FILE is given, or when FILE is -, read from standard input.
5
+
6
+ With -d, decompress instead.`,options:["-c, --stdout write to standard output, keep original files","-d, --decompress decompress","-f, --force force overwrite of output file","-k, --keep keep (don't delete) input files","-l, --list list compressed file contents","-n, --no-name do not save or restore the original name and timestamp","-N, --name save or restore the original file name and timestamp","-q, --quiet suppress all warnings","-r, --recursive operate recursively on directories","-S, --suffix=SUF use suffix SUF on compressed files (default: .gz)","-t, --test test compressed file integrity","-v, --verbose verbose mode","-1, --fast compress faster","-9, --best compress better"," --help display this help and exit"]},H={name:"gunzip",summary:"decompress files",usage:"gunzip [OPTION]... [FILE]...",description:`Decompress FILEs (by default, in-place).
7
+
8
+ When no FILE is given, or when FILE is -, read from standard input.`,options:["-c, --stdout write to standard output, keep original files","-f, --force force overwrite of output file","-k, --keep keep (don't delete) input files","-l, --list list compressed file contents","-n, --no-name do not restore the original name and timestamp","-N, --name restore the original file name and timestamp","-q, --quiet suppress all warnings","-r, --recursive operate recursively on directories","-S, --suffix=SUF use suffix SUF on compressed files (default: .gz)","-t, --test test compressed file integrity","-v, --verbose verbose mode"," --help display this help and exit"]},R={name:"zcat",summary:"decompress files to stdout",usage:"zcat [OPTION]... [FILE]...",description:`Decompress FILEs to standard output.
9
+
10
+ When no FILE is given, or when FILE is -, read from standard input.`,options:["-f, --force force; read compressed data even from a terminal","-l, --list list compressed file contents","-q, --quiet suppress all warnings","-S, --suffix=SUF use suffix SUF on compressed files (default: .gz)","-t, --test test compressed file integrity","-v, --verbose verbose mode"," --help display this help and exit"]},G={stdout:{short:"c",long:"stdout",type:"boolean"},toStdout:{long:"to-stdout",type:"boolean"},decompress:{short:"d",long:"decompress",type:"boolean"},uncompress:{long:"uncompress",type:"boolean"},force:{short:"f",long:"force",type:"boolean"},keep:{short:"k",long:"keep",type:"boolean"},list:{short:"l",long:"list",type:"boolean"},noName:{short:"n",long:"no-name",type:"boolean"},name:{short:"N",long:"name",type:"boolean"},quiet:{short:"q",long:"quiet",type:"boolean"},recursive:{short:"r",long:"recursive",type:"boolean"},suffix:{short:"S",long:"suffix",type:"string",default:".gz"},test:{short:"t",long:"test",type:"boolean"},verbose:{short:"v",long:"verbose",type:"boolean"},fast:{short:"1",long:"fast",type:"boolean"},level2:{short:"2",type:"boolean"},level3:{short:"3",type:"boolean"},level4:{short:"4",type:"boolean"},level5:{short:"5",type:"boolean"},level6:{short:"6",type:"boolean"},level7:{short:"7",type:"boolean"},level8:{short:"8",type:"boolean"},best:{short:"9",long:"best",type:"boolean"}};function I(e){return e.best?C.Z_BEST_COMPRESSION:e.level8?8:e.level7?7:e.level6?6:e.level5?5:e.level4?4:e.level3?3:e.level2?2:e.fast?C.Z_BEST_SPEED:C.Z_DEFAULT_COMPRESSION}function k(e){if(e.length<10)return{originalName:null,mtime:null,headerSize:0};if(e[0]!==31||e[1]!==139)return{originalName:null,mtime:null,headerSize:0};let t=e[3],o=e[4]|e[5]<<8|e[6]<<16|e[7]<<24,r=10;if(t&4){if(r+2>e.length)return{originalName:null,mtime:null,headerSize:0};let n=e[r]|e[r+1]<<8;r+=2+n}let i=null;if(t&8){let n=r;for(;r<e.length&&e[r]!==0;)r++;r<e.length&&(i=new TextDecoder().decode(e.slice(n,r)),r++)}if(t&16){for(;r<e.length&&e[r]!==0;)r++;r++}return t&2&&(r+=2),{originalName:i,mtime:o>0?new Date(o*1e3):null,headerSize:r}}function Z(e){return e.length===0||e==="."||e===".."||e.includes("/")||e.includes("\\")||/[\0-\x1f\x7f]/.test(e)?null:e}function q(e){if(e.length<4)return 0;let t=e.length;return e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24}function x(e){return e.length>=2&&e[0]===31&&e[1]===139}function b(e){return Buffer.from(e).toString("latin1")}function P(e){return e.limits.maxOutputSize}function $(e,t,o,r,i){if(t<=0)throw new Error("decompressed data exceeds limit (0 bytes)");let n=new w({maxInputBytes:o,maxOutputBytes:t,maxExpansionRatio:1e4,signal:r,label:"gzip"});if(n.acceptInput(e.length),q(e)>t)throw new Error(`decompressed data exceeds limit (${t} bytes)`);let a;try{let u=Math.min(t,Math.floor((i?.executionScope?.remainingLiveBytes??t*2)/2));if(u<=0)throw new Error("gzip: live byte limit exceeded");a=i?.executionScope?.reserveBytes("gzip output",u*2,"gzip");let p=_(e,{maxOutputLength:u});return n.acceptOutput(p.length),{data:p,lease:a}}catch(u){throw a?.release(),u}}function O(e,t,o){let r=new w({maxInputBytes:o.limits.maxInputBytes,maxOutputBytes:o.limits.maxOutputSize,signal:o.signal,label:"gzip"});r.acceptInput(e.length);let i;try{let n=Math.min(o.limits.maxOutputSize,Math.floor((o.executionScope?.remainingLiveBytes??o.limits.maxOutputSize*2)/2));if(n<=0)throw new Error("gzip: live byte limit exceeded");i=o.executionScope?.reserveBytes("gzip output",n*2,"gzip");let s=A(e,{level:t,maxOutputLength:n});return r.acceptOutput(s.length),{data:s,lease:i}}catch(n){throw i?.release(),n}}async function T(e,t,o){let r=await e.fs.stat(t);if(r.size>e.limits.maxInputBytes)throw new z(`input size limit exceeded (${e.limits.maxInputBytes} bytes)`,"string_length");let i=e.executionScope?.reserveBytes("gzip input",r.size,o);try{let n=await e.fs.readFileBuffer(t);if(n.byteLength>r.size)throw new z("gzip: input grew while being read","string_length");return e.executionScope?.consumeInput(n.byteLength,o),{data:n,lease:i}}catch(n){throw i?.release(),n}}async function W(e,t,o){if(t!=="-"&&t!=="")return T(e,e.fs.resolvePath(e.cwd,t),o);let r=e.stdin,i=e.executionScope?.reserveBytes("gzip input",r.length,o);try{return{data:Uint8Array.from(r,n=>n.charCodeAt(0)),lease:i}}catch(n){throw i?.release(),n}}async function M(e,t,o,r,i,n){let s=o.suffix,a,u,p,g=P(e);if(t==="-"||t===""){let l=e.stdin,d=e.executionScope?.reserveBytes("gzip input",l.length,r),f;try{if(p=Uint8Array.from(l,c=>c.charCodeAt(0)),i){if(!x(p))return o.quiet?{stdout:"",stderr:"",exitCode:1}:{stdout:"",stderr:`${r}: stdin: not in gzip format
11
+ `,exitCode:1};try{let c=$(p,g,e.limits.maxInputBytes,e.signal,e);return f=c.lease,{stdout:b(c.data),stderr:"",exitCode:0}}catch(c){m(c);let U=c instanceof Error?c.message:"unknown error";return{stdout:"",stderr:`${r}: stdin: ${U}
12
+ `,exitCode:1}}}else{let c=O(p,I(o),e);return f=c.lease,{stdout:b(c.data),stderr:"",exitCode:0}}}finally{f?.release(),d?.release()}}a=e.fs.resolvePath(e.cwd,t);try{let l=await e.fs.stat(a);if(l.size>e.limits.maxInputBytes)return{stdout:"",stderr:`${r}: ${t}: input size limit exceeded (${e.limits.maxInputBytes} bytes)
13
+ `,exitCode:1};if(l.isDirectory)return o.recursive?await K(e,a,o,r,i,n):o.quiet?{stdout:"",stderr:"",exitCode:1}:{stdout:"",stderr:`${r}: ${t}: is a directory -- ignored
14
+ `,exitCode:1}}catch{return{stdout:"",stderr:`${r}: ${t}: No such file or directory
15
+ `,exitCode:1}}let y,h;try{let l=await T(e,a,r);p=l.data,y=l.lease}catch(l){return m(l),{stdout:"",stderr:`${r}: ${t}: No such file or directory
16
+ `,exitCode:1}}try{if(i){if(!t.endsWith(s))return o.quiet?{stdout:"",stderr:"",exitCode:1}:{stdout:"",stderr:`${r}: ${t}: unknown suffix -- ignored
17
+ `,exitCode:1};if(!x(p))return o.quiet?{stdout:"",stderr:"",exitCode:1}:{stdout:"",stderr:`${r}: ${t}: not in gzip format
18
+ `,exitCode:1};let l;try{let d=$(p,g,e.limits.maxInputBytes,e.signal,e);l=d.data,h=d.lease}catch(d){m(d);let f=d instanceof Error?d.message:"unknown error";return{stdout:"",stderr:`${r}: ${t}: ${f}
19
+ `,exitCode:1}}if(n)return{stdout:b(l),stderr:"",exitCode:0};if(o.name){let d=k(p),f=d.originalName?Z(d.originalName):null;f?u=e.fs.resolvePath(e.cwd,f):u=a.slice(0,-s.length)}else u=a.slice(0,-s.length);if(!o.force)try{return await e.fs.stat(u),{stdout:"",stderr:`${r}: ${u} already exists; not overwritten
20
+ `,exitCode:1}}catch{}if(await e.fs.writeFile(u,l),!o.keep&&!n&&await e.fs.rm(a),o.verbose){let d=p.length>0?((1-p.length/l.length)*100).toFixed(1):"0.0";return{stdout:"",stderr:`${t}: ${d}% -- replaced with ${u.split("/").pop()}
21
+ `,exitCode:0}}return{stdout:"",stderr:"",exitCode:0}}else{if(t.endsWith(s))return o.quiet?{stdout:"",stderr:"",exitCode:1}:{stdout:"",stderr:`${r}: ${t} already has ${s} suffix -- unchanged
22
+ `,exitCode:1};let l=I(o),d;try{let f=O(p,l,e);d=f.data,h=f.lease}catch(f){m(f);let c=f instanceof Error?f.message:"unknown error";return{stdout:"",stderr:`${r}: ${t}: ${c}
23
+ `,exitCode:1}}if(n)return{stdout:b(d),stderr:"",exitCode:0};if(u=a+s,!o.force)try{return await e.fs.stat(u),{stdout:"",stderr:`${r}: ${u} already exists; not overwritten
24
+ `,exitCode:1}}catch{}if(await e.fs.writeFile(u,d),!o.keep&&!n&&await e.fs.rm(a),o.verbose){let f=p.length>0?((1-d.length/p.length)*100).toFixed(1):"0.0";return{stdout:"",stderr:`${t}: ${f}% -- replaced with ${u.split("/").pop()}
25
+ `,exitCode:0}}return{stdout:"",stderr:"",exitCode:0}}}finally{h?.release(),y?.release()}}async function K(e,t,o,r,i,n){let s=Math.min(e.limits.maxOutputSize,e.limits.maxStringLength),a=new v(s,r),u=new v(s,r),p=0;return await B({fs:e.fs,root:t,symlinks:"never",limits:e.limits,signal:e.signal,executionScope:e.executionScope,site:r},async g=>{if(g.depth===0||g.phase!=="enter"||!g.stat.isFile)return;let y=o.suffix;if(i&&!g.path.endsWith(y)||!i&&g.path.endsWith(y))return;let h=g.path.startsWith(`${e.cwd}/`)?g.path.slice(e.cwd.length+1):g.path,l=await M(e,h,o,r,i,n);a.append(l.stdout),u.append(l.stderr),l.exitCode!==0&&(p=l.exitCode)}),{stdout:a.build(),stderr:u.build(),exitCode:p}}async function j(e,t,o,r){let i,n;try{let s=await W(e,t,r);i=s.data,n=s.lease}catch(s){return m(s),{stdout:"",stderr:`${r}: ${t}: No such file or directory
26
+ `,exitCode:1}}try{if(!x(i))return o.quiet?{stdout:"",stderr:"",exitCode:1}:{stdout:"",stderr:`${r}: ${t}: not in gzip format
27
+ `,exitCode:1};let s=i.length,a=q(i),u=a>0?((1-s/a)*100).toFixed(1):"0.0",g=k(i).originalName||(t==="-"?"":t.replace(/\.gz$/,""));return{stdout:`${s.toString().padStart(10)} ${a.toString().padStart(10)} ${u.padStart(5)}% ${g}
28
+ `,stderr:"",exitCode:0}}finally{n?.release()}}async function J(e,t,o,r){let i,n;try{let s=await W(e,t,r);i=s.data,n=s.lease}catch(s){return m(s),{stdout:"",stderr:`${r}: ${t}: No such file or directory
29
+ `,exitCode:1}}try{if(!x(i))return o.quiet?{stdout:"",stderr:"",exitCode:1}:{stdout:"",stderr:`${r}: ${t}: not in gzip format
30
+ `,exitCode:1};try{return $(i,P(e),e.limits.maxInputBytes,e.signal,e).lease?.release(),o.verbose?{stdout:"",stderr:`${t}: OK
31
+ `,exitCode:0}:{stdout:"",stderr:"",exitCode:0}}catch(s){m(s);let a=s instanceof Error?s.message:"invalid";return{stdout:"",stderr:`${r}: ${t}: ${a}
32
+ `,exitCode:1}}}finally{n?.release()}}async function S(e,t,o){let r=o==="zcat"?R:o==="gunzip"?H:D;if(E(e))return F(r);let i=L(o,e,G);if(!i.ok)return i.error.stderr.includes("unrecognized option"),i.error;let n=i.result.flags,s=i.result.positional,a=o==="gunzip"||o==="zcat"||n.decompress||n.uncompress,u=o==="zcat"||n.stdout||n.toStdout;if(n.list){s.length===0&&(s=["-"]);let h=` compressed uncompressed ratio uncompressed_name
33
+ `,l="",d=0;for(let f of s){let c=await j(t,f,n,o);h+=c.stdout,l+=c.stderr,c.exitCode!==0&&(d=c.exitCode)}return{stdout:h,stderr:l,exitCode:d}}if(n.test){s.length===0&&(s=["-"]);let h="",l="",d=0;for(let f of s){let c=await J(t,f,n,o);h+=c.stdout,l+=c.stderr,c.exitCode!==0&&(d=c.exitCode)}return{stdout:h,stderr:l,exitCode:d}}s.length===0&&(s=["-"]);let p="",g="",y=0;for(let h of s){let l=await M(t,h,n,o,a,u);p+=l.stdout,g+=l.stderr,l.exitCode!==0&&(y=l.exitCode)}return{stdout:p,stderr:g,exitCode:y}}var se={name:"gzip",async execute(e,t){return{...await S(e,t,"gzip"),stdoutEncoding:"binary"}}},ie={name:"gunzip",async execute(e,t){return{...await S(e,t,"gunzip"),stdoutEncoding:"binary"}}},le={name:"zcat",async execute(e,t){return{...await S(e,t,"zcat"),stdoutEncoding:"binary"}}},ue={name:"gzip",flags:[{flag:"-c",type:"boolean"},{flag:"-d",type:"boolean"},{flag:"-f",type:"boolean"},{flag:"-k",type:"boolean"},{flag:"-l",type:"boolean"},{flag:"-n",type:"boolean"},{flag:"-q",type:"boolean"},{flag:"-r",type:"boolean"},{flag:"-t",type:"boolean"},{flag:"-v",type:"boolean"},{flag:"-1",type:"boolean"},{flag:"-9",type:"boolean"}],stdinType:"binary",needsFiles:!0},ae={name:"gunzip",flags:[{flag:"-c",type:"boolean"},{flag:"-f",type:"boolean"},{flag:"-k",type:"boolean"},{flag:"-q",type:"boolean"},{flag:"-v",type:"boolean"}],stdinType:"binary",needsFiles:!0},de={name:"zcat",flags:[{flag:"-f",type:"boolean"},{flag:"-q",type:"boolean"},{flag:"-v",type:"boolean"}],stdinType:"binary",needsFiles:!0};export{se as a,ie as b,le as c,ue as d,ae as e,de as f};
@@ -0,0 +1,20 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as E}from"./chunk-UZ4TKNEJ.js";import{a as ne,b as se}from"./chunk-US6XQQ6W.js";import{a as I}from"./chunk-T7CFNHX6.js";import{l as A}from"./chunk-IQGNPH54.js";import{d as D}from"./chunk-U3UTFNHI.js";import{a as ce,c as te}from"./chunk-QAYAQNCG.js";var ye="(standard input)";function he(t){let e=t.limits.maxLoopIterations,i=t.limits.maxArrayElements;return Math.max(e,Math.min(i,e*10))}function F(t){if(++t.operations>t.maxOperations)throw new A(`grep: glob operation limit exceeded (${t.maxOperations})`,"glob_operations")}function U(t){if(t.results>=t.maxResults)throw new A(`grep: array element limit exceeded (${t.maxResults})`,"array_elements");t.results++}var xe="[^\\s\\S]";function we(t){return t.split(`
3
+ `)}function Fe(t){if(t==="")return[];let e=t.split(`
4
+ `);return e[e.length-1]===""&&e.pop(),e}function Ce(t,e){return t.length===1?{pattern:t[0],mode:e}:e==="fixed"?{pattern:t.map(i=>`(?:${i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")})`).join("|"),mode:"extended"}:e==="basic"?{pattern:t.join("\\|"),mode:e}:{pattern:t.map(i=>`(?:${i})`).join("|"),mode:e}}var ve={name:"grep",summary:"print lines that match patterns",usage:"grep [OPTION]... PATTERN [FILE]...",description:["Search for PATTERN in each FILE.","With no FILE, or when FILE is -, read standard input."],options:["-E, --extended-regexp PATTERN is an extended regular expression","-P, --perl-regexp PATTERN is a Perl regular expression","-F, --fixed-strings PATTERN is a set of newline-separated strings","-i, --ignore-case ignore case distinctions","-v, --invert-match select non-matching lines","-w, --word-regexp match only whole words","-x, --line-regexp match only whole lines","-c, --count print only a count of matching lines","-l, --files-with-matches print only names of files with matches","-L, --files-without-match print names of files with no matches","-m NUM, --max-count=NUM stop after NUM matches","-n, --line-number print line number with output lines","-h, --no-filename suppress the file name prefix on output","-o, --only-matching show only nonempty parts of lines that match","-q, --quiet, --silent suppress all normal output","-r, -R, --recursive search directories recursively","-A NUM print NUM lines of trailing context","-B NUM print NUM lines of leading context","-C NUM print NUM lines of context","-e PATTERN use PATTERN for matching","-f FILE, --file=FILE obtain patterns from FILE, one per line"," --include=GLOB search only files matching GLOB"," --exclude=GLOB skip files matching GLOB"," --exclude-dir=DIR skip directories matching DIR"," --help display this help and exit"]},me={name:"grep",async execute(t,e){let i=!1,g=!1,f=!1,m=!1,c=!1,u=!1,l=!1,a=!1,h=!1,C=!1,$=!1,y=!1,x=!1,M=!1,_=!1,O=0,N=0,W=0,B=[],S=[],V=[],w=[],b=[],X=[],G=!0;for(let s=0;s<t.length;s++){let r=t[s];if(G&&r==="--"){G=!1;continue}if(G&&r==="--help")return ce(ve);if(G&&r.startsWith("-")&&r!=="-"){if(r==="-e"&&s+1<t.length){w.push(t[++s]);continue}if(r.startsWith("--file=")){b.push(r.slice(7));continue}if(r.startsWith("--include=")){B.push(r.slice(10));continue}if(r.startsWith("--exclude=")){S.push(r.slice(10));continue}if(r.startsWith("--exclude-dir=")){V.push(r.slice(14));continue}if(r.startsWith("--max-count=")){O=parseInt(r.slice(12),10);continue}let v=r.match(/^-m(\d+)$/);if(v){O=parseInt(v[1],10);continue}if(r==="-m"&&s+1<t.length){O=parseInt(t[++s],10);continue}let o=r.match(/^-([ABC])(\d+)$/);if(o){let p=parseInt(o[2],10);o[1]==="A"?W=p:o[1]==="B"?N=p:o[1]==="C"&&(N=p,W=p);continue}if((r==="-A"||r==="-B"||r==="-C")&&s+1<t.length){let p=parseInt(t[++s],10);r==="-A"?W=p:r==="-B"?N=p:(N=p,W=p);continue}let d=r.startsWith("--")?[r]:r.slice(1).split("");for(let p=0;p<d.length;p++){let n=d[p];if(n==="f"||n==="--file"){let q=n==="f"?d.slice(p+1).join(""):"";if(q.length>0)b.push(q);else if(s+1<t.length)b.push(t[++s]);else return{stdout:"",stderr:n==="f"?`grep: option requires an argument -- 'f'
5
+ `:`grep: option '--file' requires an argument
6
+ `,exitCode:2};break}if(n==="i"||n==="--ignore-case")i=!0;else if(n==="n"||n==="--line-number")g=!0;else if(n==="v"||n==="--invert-match")f=!0;else if(n==="c"||n==="--count")m=!0;else if(n==="l"||n==="--files-with-matches")c=!0;else if(n==="L"||n==="--files-without-match")u=!0;else if(n==="r"||n==="R"||n==="--recursive")l=!0;else if(n==="w"||n==="--word-regexp")a=!0;else if(n==="x"||n==="--line-regexp")h=!0;else if(n==="E"||n==="--extended-regexp")C=!0;else if(n==="P"||n==="--perl-regexp")$=!0;else if(n==="F"||n==="--fixed-strings")y=!0;else if(n==="o"||n==="--only-matching")x=!0;else if(n==="h"||n==="--no-filename")M=!0;else if(n==="q"||n==="--quiet"||n==="--silent")_=!0;else{if(n.startsWith("--"))return te("grep",n);if(n.length===1)return te("grep",`-${n}`)}}}else X.push(r)}if(w.length===0&&b.length===0){let s=X.shift();if(s===void 0)return{stdout:"",stderr:`grep: missing pattern
7
+ `,exitCode:2};w.push(s)}w=w.flatMap(we);let Z=!1;for(let s of b){let r;if(s==="")return{stdout:"",stderr:`grep: : No such file or directory
8
+ `,exitCode:2};if(s==="-")r=Z?"":D(e.stdin),Z=!0;else try{let o=e.fs.resolvePath(e.cwd,s);if((await e.fs.stat(o)).isDirectory)return{stdout:"",stderr:`grep: ${s}: Is a directory
9
+ `,exitCode:2};r=await e.fs.readFile(o)}catch(o){return I(o),{stdout:"",stderr:`grep: ${s}: No such file or directory
10
+ `,exitCode:2}}let v=Fe(r);if(w.length+v.length>e.limits.maxArrayElements)throw new A(`grep: array element limit exceeded (${e.limits.maxArrayElements})`,"array_elements");w.push(...v)}if(w.length===0&&!f&&!u)return{stdout:"",stderr:"",exitCode:1};let J=X,Q=y?"fixed":C?"extended":$?"perl":"basic";if(Q==="perl"&&new Set(w).size>1)return{stdout:"",stderr:`grep: the -P option only supports a single pattern
11
+ `,exitCode:2};if(w.length>1&&Q!=="fixed")for(let s of w)try{se(s,{mode:Q})}catch{return{stdout:"",stderr:`grep: invalid regular expression: ${s}
12
+ `,exitCode:2}}let re=w.length===0?{pattern:xe,mode:"extended"}:Ce(w,Q),K,Y,L;try{let s=se(re.pattern,{mode:re.mode,ignoreCase:i,wholeWord:a,lineRegexp:h});K=s.regex,Y=s.kResetGroup,L=s.preFilter}catch{return{stdout:"",stderr:`grep: invalid regular expression: ${w.join(`
13
+ `)}
14
+ `,exitCode:2}}if(J.length===0&&e.stdin!==void 0){let s=Z?"":D(e.stdin),r=ne(s,K,{invertMatch:f,showLineNumbers:g,countOnly:m,filename:"",onlyMatching:x,beforeContext:N,afterContext:W,maxCount:O,matchBeyondMaxCount:!1,kResetGroup:Y,preFilter:L,maxWork:he(e),maxMatches:e.limits.maxArrayElements,signal:e.signal});return _?{stdout:"",stderr:"",exitCode:r.matched?0:1}:{stdout:r.output,stderr:"",exitCode:r.matched?0:1}}if(J.length===0)return{stdout:"",stderr:`grep: no input files
15
+ `,exitCode:2};let H="",ie="",oe=!1,ae=!1,P=[],R={operations:0,results:0,maxOperations:e.limits.maxGlobOperations,maxResults:e.limits.maxArrayElements},ee=s=>{if(s.length>R.maxResults-P.length)throw new A(`grep: array element limit exceeded (${R.maxResults})`,"array_elements");P.push(...s)},le=!1,fe=!1;for(let s of J){if(s==="-"){if(P.length>=R.maxResults)throw new A(`grep: array element limit exceeded (${R.maxResults})`,"array_elements");P.push({path:ye,isFile:!0,isStdin:!0,stdinAtEof:le}),le=!0;continue}if(fe=!0,s.includes("*")||s.includes("?")||s.includes("[")){let r=await Ee(s,e,R);if(l)for(let v of r){let o=await j(v.path,e,B,S,V,v.isFile,R);ee(o)}else ee(r)}else if(l){let r=await j(s,e,B,S,V,void 0,R);ee(r)}else{if(P.length>=R.maxResults)throw new A(`grep: array element limit exceeded (${R.maxResults})`,"array_elements");P.push({path:s})}}let ue=(P.length>1||l&&fe)&&!M,pe=50;for(let s=0;s<P.length;s+=pe){let r=P.slice(s,s+pe),v=await Promise.all(r.map(async o=>{let d=o.path,p=d.split("/").pop()||d;if(S.length>0&&!l&&!o.isStdin&&S.some(n=>E(p,n,{stripQuotes:!0}))||B.length>0&&!l&&!o.isStdin&&!B.some(n=>E(p,n,{stripQuotes:!0})))return null;try{let n;if(o.isStdin)n=o.stdinAtEof||e.stdin===void 0?"":D(e.stdin);else{let z=e.fs.resolvePath(e.cwd,d),T=!1;if(o.isFile===void 0?T=(await e.fs.stat(z)).isDirectory:T=!o.isFile,T)return l?null:{error:`grep: ${d}: Is a directory
16
+ `};n=await e.fs.readFile(z)}if(L&&!f){let z=L.ignoreCase?n.toLowerCase():n;if(!L.needles.some(T=>z.includes(T))){if(m){let T=ue?`${d}:0`:"0";return{file:d,result:{output:`${T}
17
+ `,matched:!1,matchCount:0}}}return{file:d,result:{output:"",matched:!1,matchCount:0}}}}let q=ne(n,K,{invertMatch:f,showLineNumbers:g,countOnly:m,filename:ue?d:"",onlyMatching:x,beforeContext:N,afterContext:W,maxCount:O,matchBeyondMaxCount:!1,kResetGroup:Y,preFilter:L,maxWork:he(e),maxMatches:e.limits.maxArrayElements,signal:e.signal});return{file:d,result:q}}catch(n){return I(n),{error:`grep: ${d}: No such file or directory
18
+ `}}}));for(let o of v){if(o===null)continue;if("error"in o&&o.error){ie+=o.error,o.error.includes("Is a directory")||(ae=!0);continue}if(!("file"in o)||!o.result)continue;let{file:d,result:p}=o;if(p.matched){if(oe=!0,_)return{stdout:"",stderr:"",exitCode:0};c?H+=`${d}
19
+ `:u||(H+=p.output)}else u?H+=`${d}
20
+ `:m&&!c&&(H+=p.output)}}let k;return ae?k=2:k=oe?0:1,_?{stdout:"",stderr:"",exitCode:k}:{stdout:H,stderr:ie,exitCode:k}}},de=256;async function ge(t,e,i,g,f,m=0){if(m>=de)return;let c=i.fs.resolvePath(i.cwd,t);try{if(F(f),!(await i.fs.stat(c)).isDirectory){let a=t.split("/").pop()||"";if(e){let h=e.replace(/^\//,"");E(a,h,{stripQuotes:!0})&&(U(f),g.push(t))}return}F(f);let l=await i.fs.readdir(c);for(let a of l){let h=t==="."?a:`${t}/${a}`,C=i.fs.resolvePath(i.cwd,h);if(F(f),(await i.fs.stat(C)).isDirectory)await ge(h,e,i,g,f,m+1);else if(e){let y=e.replace(/^\//,"");E(a,y,{stripQuotes:!0})&&(U(f),g.push(h))}}}catch(u){I(u)}}async function Ee(t,e,i){let g=[],f=t.lastIndexOf("/"),m,c;if(f===-1?(m=e.cwd,c=t):(m=t.slice(0,f)||"/",c=t.slice(f+1)),t.includes("**")){let l=[],a=t.split("**"),h=a[0].replace(/\/$/,"")||".",C=a[1]||"";return await ge(h,C,e,l,i),l.map($=>({path:$}))}let u=e.fs.resolvePath(e.cwd,m);try{if(e.fs.readdirWithFileTypes){F(i);let l=await e.fs.readdirWithFileTypes(u);for(let a of l)if(F(i),E(a.name,c,{stripQuotes:!0})){let h=f===-1?a.name:`${m}/${a.name}`;U(i),g.push({path:h,isFile:a.isFile})}}else{F(i);let l=await e.fs.readdir(u);for(let a of l)if(F(i),E(a,c,{stripQuotes:!0})){let h=f===-1?a:`${m}/${a}`;U(i),g.push({path:h})}}}catch(l){I(l)}return g.sort((l,a)=>l.path.localeCompare(a.path))}async function j(t,e,i=[],g=[],f=[],m,c={operations:0,results:0,maxOperations:e.limits.maxGlobOperations,maxResults:e.limits.maxArrayElements},u=[],l=0){if(l>=de)return u;let a=e.fs.resolvePath(e.cwd,t);try{let h,C;if(m!==void 0)h=m,C=!m;else{F(c);let y=await e.fs.stat(a);h=y.isFile,C=y.isDirectory}if(h){let y=t.split("/").pop()||t;return g.length>0&&g.some(x=>E(y,x,{stripQuotes:!0}))||i.length>0&&!i.some(x=>E(y,x,{stripQuotes:!0}))||(U(c),u.push({path:t,isFile:!0})),u}if(!C)return u;let $=t.split("/").pop()||t;if(f.length>0&&f.some(y=>E($,y,{stripQuotes:!0})))return u;if(e.fs.readdirWithFileTypes){F(c);let y=await e.fs.readdirWithFileTypes(a);for(let x of y){if(F(c),x.name.startsWith("."))continue;let M=t==="."?x.name:`${t}/${x.name}`;await j(M,e,i,g,f,x.isFile,c,u,l+1)}}else{F(c);let y=await e.fs.readdir(a);for(let x of y){if(F(c),x.startsWith("."))continue;let M=t==="."?x:`${t}/${x}`;await j(M,e,i,g,f,void 0,c,u,l+1)}}}catch(h){I(h)}return u}var We={name:"fgrep",async execute(t,e){return me.execute(["-F",...t],e)}},Le={name:"egrep",async execute(t,e){return me.execute(["-E",...t],e)}},Ie={name:"grep",flags:[{flag:"-E",type:"boolean"},{flag:"-F",type:"boolean"},{flag:"-P",type:"boolean"},{flag:"-i",type:"boolean"},{flag:"-v",type:"boolean"},{flag:"-w",type:"boolean"},{flag:"-x",type:"boolean"},{flag:"-c",type:"boolean"},{flag:"-l",type:"boolean"},{flag:"-L",type:"boolean"},{flag:"-n",type:"boolean"},{flag:"-h",type:"boolean"},{flag:"-o",type:"boolean"},{flag:"-q",type:"boolean"},{flag:"-r",type:"boolean"},{flag:"-m",type:"value",valueHint:"number"},{flag:"-A",type:"value",valueHint:"number"},{flag:"-B",type:"value",valueHint:"number"},{flag:"-C",type:"value",valueHint:"number"},{flag:"-e",type:"value",valueHint:"pattern"},{flag:"-f",type:"value",valueHint:"path"}],stdinType:"text",needsArgs:!0},Oe={name:"fgrep",flags:[],stdinType:"text",needsArgs:!0},Be={name:"egrep",flags:[],stdinType:"text",needsArgs:!0};export{me as a,We as b,Le as c,Ie as d,Oe as e,Be as f};
@@ -0,0 +1,7 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as f}from"./chunk-T7CFNHX6.js";import{l as s}from"./chunk-IQGNPH54.js";import{a as u,d as b}from"./chunk-U3UTFNHI.js";import{a as v,b as L,c as w}from"./chunk-QAYAQNCG.js";import C from"turndown";var M={name:"html-to-markdown",summary:"convert HTML to Markdown (BashEnv extension)",usage:"html-to-markdown [OPTION]... [FILE]",description:["Convert HTML content to Markdown format using the turndown library.","This is a non-standard BashEnv extension command, not available in regular bash.","","Read HTML from FILE or standard input and output Markdown to standard output.","Commonly used with curl to convert web pages:"," curl -s https://example.com | html-to-markdown","","Supported HTML elements:"," - Headings (h1-h6) \u2192 # Markdown headings"," - Paragraphs (p) \u2192 Plain text with blank lines"," - Links (a) \u2192 [text](url)"," - Images (img) \u2192 ![alt](src)"," - Bold/Strong \u2192 **text**"," - Italic/Em \u2192 _text_"," - Code (code, pre) \u2192 `inline` or fenced blocks"," - Lists (ul, ol, li) \u2192 - or 1. items"," - Blockquotes \u2192 > quoted text"," - Horizontal rules (hr) \u2192 ---"],options:["-b, --bullet=CHAR bullet character for unordered lists (-, +, or *)","-c, --code=FENCE fence style for code blocks (``` or ~~~)","-r, --hr=STRING string for horizontal rules (default: ---)"," --heading-style=STYLE"," heading style: 'atx' for # headings (default),"," 'setext' for underlined headings (h1/h2 only)"," --help display this help and exit"],examples:["echo '<h1>Hello</h1><p>World</p>' | html-to-markdown","html-to-markdown page.html","curl -s https://example.com | html-to-markdown > page.md"]},O={name:"html-to-markdown",async execute(i,o){if(L(i))return v(M);let d="-",a="```",c="---",k="atx",n=[];for(let e=0;e<i.length;e++){let t=i[e];if(t==="-b"||t==="--bullet")d=i[++e]??"-";else if(t.startsWith("--bullet="))d=t.slice(9);else if(t==="-c"||t==="--code")a=i[++e]??"```";else if(t.startsWith("--code="))a=t.slice(7);else if(t==="-r"||t==="--hr")c=i[++e]??"---";else if(t.startsWith("--hr="))c=t.slice(5);else if(t.startsWith("--heading-style=")){let h=t.slice(16);(h==="setext"||h==="atx")&&(k=h)}else if(t==="-")n.push("-");else{if(t.startsWith("--"))return w("html-to-markdown",t);if(t.startsWith("-"))return w("html-to-markdown",t);n.push(t)}}let r,l=Math.min(o.limits.maxInputBytes,o.limits.maxStringLength);if(n.length===0||n.length===1&&n[0]==="-"){if(o.stdin.length>l)throw new s(`html-to-markdown: input size limit exceeded (${l} bytes)`,"string_length");r=b(o.stdin)}else try{let e=o.fs.resolvePath(o.cwd,n[0]);if((await o.fs.stat(e)).size>l)throw new s(`html-to-markdown: input size limit exceeded (${l} bytes)`,"string_length");if(r=await o.fs.readFile(e),u(r)>l)throw new s(`html-to-markdown: input size limit exceeded (${l} bytes)`,"string_length")}catch(e){return f(e),{stdout:"",stderr:`html-to-markdown: ${n[0]}: No such file or directory
3
+ `,exitCode:1}}if(!r.trim())return{stdout:"",stderr:"",exitCode:0};if(!["-","+","*"].includes(d))return{stdout:"",stderr:`html-to-markdown: invalid bullet marker
4
+ `,exitCode:1};if(a!=="```"&&a!=="~~~")return{stdout:"",stderr:`html-to-markdown: invalid code fence
5
+ `,exitCode:1};let g=0,y=o.limits.maxLoopIterations;for(let e=0;e<r.length;e++)if(r.charCodeAt(e)===60&&++g>y)throw new s(`html-to-markdown: complexity limit exceeded (${y} tags)`,"iterations");o.executionScope?.consumeWork(g,"html-to-markdown tags");let p=u(r),m=Math.min(o.limits.maxStringLength,o.limits.maxOutputSize),x=4;if(p>Math.floor((m-1)/x))throw new s(`html-to-markdown: prospective output size limit exceeded (${m} bytes)`,"output_size");let B=p*x+1,S=o.executionScope?.reserveBytes("html input",p,"html-to-markdown"),z=o.executionScope?.reserveBytes("html prospective output",B,"html-to-markdown");try{let e=new C({bulletListMarker:d,codeBlockStyle:"fenced",fence:a,hr:c,headingStyle:k});e.remove(["script","style","footer"]);let t=e.turndown(r).trim();if(u(t)+1>m)throw new s(`html-to-markdown: output size limit exceeded (${m} bytes)`,"output_size");return{stdout:`${t}
6
+ `,stderr:"",exitCode:0}}catch(e){return f(e),{stdout:"",stderr:`html-to-markdown: conversion error: ${e.message}
7
+ `,exitCode:1}}finally{z?.release(),S?.release()}}},W={name:"html-to-markdown",flags:[],stdinType:"text"};export{O as a,W as b};
@@ -0,0 +1,2 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as s}from"./chunk-QECDICRF.js";var a=s("sha1sum","sha1","compute SHA1 message digest"),m={name:"sha1sum",flags:[{flag:"-c",type:"boolean"}],needsFiles:!0};export{a,m as b};
@@ -0,0 +1,7 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{d as f}from"./chunk-U3UTFNHI.js";import{a,b as c,c as d}from"./chunk-QAYAQNCG.js";var u={name:"rev",summary:"reverse lines characterwise",usage:"rev [file ...]",description:"Copies the specified files to standard output, reversing the order of characters in every line. If no files are specified, standard input is read.",examples:["echo 'hello' | rev # Output: olleh","rev file.txt # Reverse each line in file"]};function p(r){return Array.from(r).reverse().join("")}var g={name:"rev",execute:async(r,s)=>{if(c(r))return a(u);let o=[];for(let e of r)if(e==="--"){let t=r.indexOf(e);o.push(...r.slice(t+1));break}else{if(e.startsWith("-")&&e!=="-")return d("rev",e);o.push(e)}let n="",l=e=>{let t=e.split(`
3
+ `),i=e.endsWith(`
4
+ `)&&t[t.length-1]==="";return i&&t.pop(),t.map(p).join(`
5
+ `)+(i?`
6
+ `:"")};if(o.length===0){let e=f(s.stdin)??"";n=l(e)}else for(let e of o)if(e==="-"){let t=f(s.stdin)??"";n+=l(t)}else{let t=s.fs.resolvePath(s.cwd,e),i=await s.fs.readFile(t);if(i===null)return{exitCode:1,stdout:n,stderr:`rev: ${e}: No such file or directory
7
+ `};n+=l(i)}return{exitCode:0,stdout:n,stderr:""}}},y={name:"rev",flags:[],stdinType:"text",needsFiles:!0};export{g as a,y as b};
@@ -0,0 +1,4 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{c as u,d as l}from"./chunk-Q6ZH76O4.js";import{a as r}from"./chunk-U3UTFNHI.js";import{a as p,c as o}from"./chunk-QAYAQNCG.js";var y={name:"yes",summary:"output a string repeatedly",usage:"yes [STRING]...",description:["Repeatedly output a line with all specified STRING(s), or 'y'."],options:[" --help display this help and exit"],notes:["Real yes writes until its reader goes away. Pipelines here are not","streaming \u2014 a stage runs to completion before the next one starts \u2014 so","yes stops on its own after executionLimits.maxLoopIterations lines, or","earlier if the repeated line would exceed the output size limit.","`yes | head -3` therefore behaves as expected; an unbounded consumer","sees a finite stream."]},x={name:"yes",async execute(m,s){let t=[],i=!1;for(let e of m){if(i){t.push(e);continue}if(e==="--"){i=!0;continue}if(e==="--help")return p(y);if(e.startsWith("--"))return o("yes",e);if(e.startsWith("-")&&e!=="-")return o("yes",`-${e[1]}`);t.push(e)}let n=Math.min(s.limits.maxStringLength,s.limits.maxOutputSize),a=t.length>0?`${l(t," ",n,"yes")}
3
+ `:`y
4
+ `,d=Math.floor(n/r(a)),h=Math.min(s.limits.maxLoopIterations,Math.max(1,d));return{stdout:u(a,h,n,"yes"),stderr:"",exitCode:0}}},w={name:"yes",flags:[]};export{x as a,w as b};
@@ -0,0 +1,7 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as _}from"./chunk-R3HY2GCO.js";import{a as p}from"./chunk-T7CFNHX6.js";import{l as g}from"./chunk-IQGNPH54.js";import{a as L}from"./chunk-QIQMJJZ4.js";import{a as S,b as C}from"./chunk-QAYAQNCG.js";var E={name:"base64",summary:"base64 encode/decode data and print to standard output",usage:"base64 [OPTION]... [FILE]",options:["-d, --decode decode data","-w, --wrap=COLS wrap encoded lines after COLS character (default 76, 0 to disable)"," --help display this help and exit"]},F={decode:{short:"d",long:"decode",type:"boolean"},wrap:{short:"w",long:"wrap",type:"number",default:76}};function a(t,e,u,i){if(t>e)throw new g(`base64: ${u} limit exceeded (${e} bytes)`,i)}function k(t){let e=[];for(let i=0;i<t.length;i+=32768)e.push(String.fromCharCode(...t.subarray(i,i+32768)));return e.join("")}function B(t){if(t.length===0)return 0;let e=t.endsWith("==")?2:t.endsWith("=")?1:0;return Math.max(0,Math.ceil(t.length/4)*3-e)}async function x(t,e,u){let i=Math.min(t.limits.maxInputBytes,t.limits.maxStringLength),o=t.stdin;if(e.length===0||e.length===1&&e[0]==="-")return a(o.length,i,"input size","string_length"),{ok:!0,data:Uint8Array.from(o,n=>n.charCodeAt(0))};let c=[],s=0;for(let n of e){if(n==="-"){a(s+o.length,i,"input size","string_length"),c.push(Uint8Array.from(o,r=>r.charCodeAt(0))),s+=o.length;continue}try{let r=t.fs.resolvePath(t.cwd,n),l=await t.fs.stat(r);a(s+l.size,i,"input size","string_length");let f=await t.fs.readFileBuffer(r);a(s+f.length,i,"input size","string_length"),_(t,f.length,u),c.push(f),s+=f.length}catch(r){return p(r),{ok:!1,error:{stdout:"",stderr:`${u}: ${n}: No such file or directory
3
+ `,exitCode:1}}}}let d=new Uint8Array(s),h=0;for(let n of c)d.set(n,h),h+=n.length;return{ok:!0,data:d}}var T={name:"base64",async execute(t,e){if(C(t))return S(E);let u=L("base64",t,F);if(!u.ok)return u.error;let i=u.result.flags.decode,o=u.result.flags.wrap,c=u.result.positional;if(!Number.isSafeInteger(o)||o<0)return{stdout:"",stderr:`base64: invalid wrap size
4
+ `,exitCode:1};try{if(i){let r=await x(e,c,"base64");if(!r.ok)return r.error;if(typeof Buffer<"u"){let y=Buffer.from(r.data).toString("utf8").replace(/\s/g,""),z=B(y);a(z,e.limits.maxStringLength,"decoded size","string_length"),a(z,e.limits.maxOutputSize,"output size","output_size");let w=Buffer.from(y,"base64");return a(w.length,e.limits.maxOutputSize,"output size","output_size"),{stdout:w.toString("latin1"),stderr:"",exitCode:0,stdoutEncoding:"binary"}}let f=k(r.data).replace(/\s/g,""),m=B(f);a(m,e.limits.maxStringLength,"decoded size","string_length"),a(m,e.limits.maxOutputSize,"output size","output_size");let b=atob(f);return a(b.length,e.limits.maxOutputSize,"output size","output_size"),{stdout:b,stderr:"",exitCode:0,stdoutEncoding:"binary"}}let s=await x(e,c,"base64");if(!s.ok)return s.error;let d=Math.ceil(s.data.length/3)*4,h=o>0&&d>0?Math.ceil(d/o):0;if(h>e.limits.maxArrayElements)throw new g(`base64: wrapped line limit exceeded (${e.limits.maxArrayElements})`,"array_elements");a(d,e.limits.maxStringLength,"encoded size","string_length"),a(d+h,e.limits.maxOutputSize,"output size","output_size");let n;if(typeof Buffer<"u"?n=Buffer.from(s.data).toString("base64"):n=btoa(k(s.data)),o>0){let r=[];for(let l=0;l<n.length;l+=o)r.push(n.slice(l,l+o));n=r.join(`
5
+ `)+(n.length>0?`
6
+ `:"")}return{stdout:n,stderr:"",exitCode:0}}catch(s){return p(s),{stdout:"",stderr:`base64: invalid input
7
+ `,exitCode:1}}}},W={name:"base64",flags:[{flag:"-d",type:"boolean"},{flag:"-w",type:"value",valueHint:"number"}],stdinType:"text",needsFiles:!0};export{T as a,W as b};
@@ -0,0 +1,13 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{d as g}from"./chunk-U3UTFNHI.js";import{a as y,b as $,c as F}from"./chunk-QAYAQNCG.js";var b={name:"comm",summary:"compare two sorted files line by line",usage:"comm [OPTION]... FILE1 FILE2",options:["-1 suppress column 1 (lines unique to FILE1)","-2 suppress column 2 (lines unique to FILE2)","-3 suppress column 3 (lines that appear in both files)"," --help display this help and exit"]},E={name:"comm",async execute(m,a){if($(m))return y(b);let r=!1,l=!1,f=!1,i=[];for(let e of m)if(e==="-1")r=!0;else if(e==="-2")l=!0;else if(e==="-3")f=!0;else if(e==="-12"||e==="-21")r=!0,l=!0;else if(e==="-13"||e==="-31")r=!0,f=!0;else if(e==="-23"||e==="-32")l=!0,f=!0;else if(e==="-123"||e==="-132"||e==="-213"||e==="-231"||e==="-312"||e==="-321")r=!0,l=!0,f=!0;else{if(e.startsWith("-")&&e!=="-")return F("comm",e);i.push(e)}if(i.length!==2)return{stdout:"",stderr:`comm: missing operand
3
+ Try 'comm --help' for more information.
4
+ `,exitCode:1};let p=async e=>{if(e==="-")return g(a.stdin);try{let x=a.fs.resolvePath(a.cwd,e);return await a.fs.readFile(x)}catch{return null}},c=await p(i[0]);if(c===null)return{stdout:"",stderr:`comm: ${i[0]}: No such file or directory
5
+ `,exitCode:1};let d=await p(i[1]);if(d===null)return{stdout:"",stderr:`comm: ${i[1]}: No such file or directory
6
+ `,exitCode:1};let t=c.split(`
7
+ `),s=d.split(`
8
+ `);t.length>0&&t[t.length-1]===""&&t.pop(),s.length>0&&s[s.length-1]===""&&s.pop();let n=0,o=0,u="",h=r?"":" ",w=(r?"":" ")+(l?"":" ");for(;n<t.length||o<s.length;)n>=t.length?(l||(u+=`${h}${s[o]}
9
+ `),o++):o>=s.length?(r||(u+=`${t[n]}
10
+ `),n++):t[n]<s[o]?(r||(u+=`${t[n]}
11
+ `),n++):t[n]>s[o]?(l||(u+=`${h}${s[o]}
12
+ `),o++):(f||(u+=`${w}${t[n]}
13
+ `),n++,o++);return{stdout:u,stderr:"",exitCode:0}}},L={name:"comm",flags:[{flag:"-1",type:"boolean"},{flag:"-2",type:"boolean"},{flag:"-3",type:"boolean"}],needsArgs:!0,minArgs:2};export{E as a,L as b};
@@ -0,0 +1,9 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as n}from"./chunk-TDD4NFYE.js";import{a as $}from"./chunk-T7CFNHX6.js";import{l as F}from"./chunk-IQGNPH54.js";import{a as S}from"./chunk-U3UTFNHI.js";import{a as x}from"./chunk-QIQMJJZ4.js";import{a as z,b as O}from"./chunk-QAYAQNCG.js";var M={name:"stat",summary:"display file or file system status",usage:"stat [OPTION]... FILE...",options:["-c FORMAT use the specified FORMAT instead of the default"," --help display this help and exit"]},E={format:{short:"c",type:"string"}},I={name:"stat",async execute(l,s){if(O(l))return z(M);let o=x("stat",l,E);if(!o.ok)return o.error;let m=o.result.flags.format??null,u=o.result.positional;if(u.length===0)return{stdout:"",stderr:`stat: missing operand
3
+ `,exitCode:1};let c="",f="",p=!1,d=0,g=Math.min(s.limits.maxOutputSize,s.limits.maxStringLength),h=e=>{let r=S(e);if(r>g-d)throw new F(`stat: output size limit exceeded (${g} bytes)`,"output_size");c+=e,d+=r};for(let e of u){let r=s.fs.resolvePath(s.cwd,e);try{let t=await s.fs.stat(r);if(m){let a=t.mode.toString(8),i=n(t.mode,t.isDirectory),w=new Map([["%n",e],["%N",`'${e}'`],["%s",String(t.size)],["%F",t.isDirectory?"directory":"regular file"],["%a",a],["%A",i],["%u","1000"],["%U","user"],["%g","1000"],["%G","group"]]),A=m.replace(/%[nNsFaAuUgG]/g,y=>w.get(y)??y);h(`${A}
4
+ `)}else{let a=t.mode.toString(8).padStart(4,"0"),i=n(t.mode,t.isDirectory);h(` File: ${e}
5
+ Size: ${t.size} Blocks: ${Math.ceil(t.size/512)}
6
+ Access: (${a}/${i})
7
+ Modify: ${t.mtime.toISOString()}
8
+ `)}}catch(t){$(t),f+=`stat: cannot stat '${e}': No such file or directory
9
+ `,p=!0}}return{stdout:c,stderr:f,exitCode:p?1:0}}},P={name:"stat",flags:[{flag:"-c",type:"value",valueHint:"format"},{flag:"-L",type:"boolean"}],needsArgs:!0};export{I as a,P as b};
@@ -0,0 +1,10 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{b as F,c as N,d as O,e as T}from"./chunk-JMGGZYF2.js";import{b as P}from"./chunk-YUSFCOM7.js";import{l as w,m as $}from"./chunk-IQGNPH54.js";import{a as D}from"./chunk-WFEUQRHM.js";import{a as S}from"./chunk-QIQMJJZ4.js";import{a as C,b as E}from"./chunk-QAYAQNCG.js";var A={name:"mv",summary:"move (rename) files",usage:"mv [OPTION]... SOURCE... DEST",options:["-f, --force do not prompt before overwriting","-n, --no-clobber do not overwrite an existing file","-v, --verbose explain what is being done"," --help display this help and exit"]},H={force:{short:"f",long:"force",type:"boolean"},noClobber:{short:"n",long:"no-clobber",type:"boolean"},verbose:{short:"v",long:"verbose",type:"boolean"}},U={name:"mv",async execute(p,e){if(E(p))return C(A);let r=S("mv",p,H);if(!r.ok)return r.error;let u=r.result.flags.force,v=r.result.flags.noClobber,k=r.result.flags.verbose,d=r.result.positional;if(v&&(u=!1),d.length<2)return{stdout:"",stderr:`mv: missing destination file operand
3
+ `,exitCode:1};let f=d.pop()??"",g=d,c=e.fs.resolvePath(e.cwd,f),h="",i="",l=0,b=new O({limits:e.limits,signal:e.signal,executionScope:e.executionScope,site:"mv"}),m=!1;try{m=(await e.fs.stat(c)).isDirectory}catch{}if(g.length>1&&!m)return{stdout:"",stderr:`mv: target '${f}' is not a directory
4
+ `,exitCode:1};for(let t of g)try{let o=e.fs.resolvePath(e.cwd,t),a=await e.fs.stat(o),n=c;if(m){let s=t.split("/").pop()||t;n=c==="/"?`/${s}`:`${c}/${s}`}if(a.isDirectory){let s=await N(e.fs,o,n,b);if(P(o,n)||s==="inside"){i+=`mv: cannot move '${t}' into itself, '${n}'
5
+ `,l=1;continue}if(s==="unknown"){i+=`mv: cannot safely determine whether '${n}' is inside '${t}'
6
+ `,l=1;continue}}if(v)try{await e.fs.stat(n);continue}catch{}let y=await F(e.fs,o,n);if(y==="same")continue;if(y==="unknown"){i+=`mv: cannot safely determine whether '${t}' and '${n}' are the same file
7
+ `,l=1;continue}if(a.isDirectory&&await T({fs:e.fs,root:o,limits:e.limits,signal:e.signal,executionScope:e.executionScope,site:"mv",symlinks:"never",budget:b},()=>{}),await e.fs.mv(o,n),k){let s=m?`${f}/${t.split("/").pop()||t}`:f;h+=`renamed '${t}' -> '${s}'
8
+ `}}catch(o){if(o instanceof w||o instanceof $)throw o;let a=D(o);a.includes("ENOENT")||a.includes("no such file")?i+=`mv: cannot stat '${t}': No such file or directory
9
+ `:i+=`mv: cannot move '${t}': ${a}
10
+ `,l=1}return{stdout:h,stderr:i,exitCode:l}}},j={name:"mv",flags:[{flag:"-f",type:"boolean"},{flag:"-n",type:"boolean"},{flag:"-v",type:"boolean"}],needsArgs:!0,minArgs:2};export{U as a,j as b};
@@ -0,0 +1,6 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{c as u}from"./chunk-DLL7UR66.js";import{d as l}from"./chunk-U3UTFNHI.js";import{a as d,b as h}from"./chunk-QAYAQNCG.js";var m={name:"bash",summary:"execute shell commands or scripts",usage:"bash [OPTIONS] [SCRIPT_FILE] [ARGUMENTS...]",options:["-c COMMAND execute COMMAND string"," --help display this help and exit"],notes:["Without -c, reads and executes commands from SCRIPT_FILE.","Arguments are passed as $1, $2, etc. to the script.",'$0 is set to the script name (or "bash" with -c).']},g={name:"bash",async execute(e,t){if(h(e))return d(m);if(e[0]==="-c"&&e.length>=2){let s=e[1],n=e[2]||"bash",o=e.slice(3);return c(s,n,o,t)}if(e.length===0){let s=l(t.stdin);return s.trim()?c(s,"bash",[],t):{stdout:"",stderr:"",exitCode:0}}let r=e[0],i=e.slice(1);try{let s=t.fs.resolvePath(t.cwd,r),n=await t.fs.readFile(s);return c(n,r,i,t)}catch{return{stdout:"",stderr:`bash: ${r}: No such file or directory
3
+ `,exitCode:127}}}},v={name:"sh",async execute(e,t){if(h(e))return d({...m,name:"sh",summary:"execute shell commands or scripts (POSIX shell)"});if(e[0]==="-c"&&e.length>=2){let s=e[1],n=e[2]||"sh",o=e.slice(3);return c(s,n,o,t)}if(e.length===0){let s=l(t.stdin);return s.trim()?c(s,"sh",[],t):{stdout:"",stderr:"",exitCode:0}}let r=e[0],i=e.slice(1);try{let s=t.fs.resolvePath(t.cwd,r),n=await t.fs.readFile(s);return c(n,r,i,t)}catch{return{stdout:"",stderr:`sh: ${r}: No such file or directory
4
+ `,exitCode:127}}}};async function c(e,t,r,i){if(!i.exec)return{stdout:"",stderr:`bash: internal error: exec function not available
5
+ `,exitCode:1};let s=u(i.exportedEnv??Object.create(null),{0:t,"#":String(r.length),"@":r.join(" "),"*":r.join(" ")});r.forEach((a,p)=>{s[String(p+1)]=a});let n=e;if(n.startsWith("#!")){let a=n.indexOf(`
6
+ `);a!==-1&&(n=n.slice(a+1))}let o=i.execWithInheritedStdin;return o?await o(n,{env:s,newShell:!0,cwd:i.cwd,signal:i.signal}):await i.exec(n,{env:s,newShell:!0,cwd:i.cwd,stdin:i.stdin,stdinKind:"bytes",signal:i.signal})}var F={name:"bash",flags:[{flag:"-c",type:"value",valueHint:"string"}],stdinType:"text"},P={name:"sh",flags:[{flag:"-c",type:"value",valueHint:"string"}],stdinType:"text"};export{g as a,v as b,F as c,P as d};
@@ -0,0 +1,2 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as o}from"./chunk-IQGNPH54.js";import{a as i}from"./chunk-U3UTFNHI.js";var h=class{scope;site;stdoutChunks=[];stderrChunks=[];stdoutBytes=0;stderrBytes=0;attachedErrors=new WeakSet;constructor(t,s){this.scope=t,this.site=s}append(t,s,e=0,r="text"){let d;try{d=this.scope.appendOutput(t,s,this.site,e,r)}catch(n){throw this.prependTo(n),n}s&&(t==="stdout"?this.stdoutChunks:this.stderrChunks).push(s),t==="stdout"?this.stdoutBytes+=d:this.stderrBytes+=d}prependTo(t){t instanceof o&&(this.attachedErrors.has(t)||(this.attachedErrors.add(t),t.prependOutput(this.stdout,this.stderr)))}appendResult(t,s=t.stdout){let e=t.stdoutKind==="bytes"||t.stdoutEncoding==="binary"?"bytes":"text",r=e==="bytes"?s.length:i(s);this.append("stdout",s,Math.min(t.internalOutputAccounting?.stdout??0,r),e),this.append("stderr",t.stderr,t.internalOutputAccounting?.stderr??0)}build(t,s){return{stdout:this.stdoutChunks.join(""),stderr:this.stderrChunks.join(""),exitCode:t,...s,internalOutputAccounting:{stdout:this.stdoutBytes,stderr:this.stderrBytes}}}get stdout(){return this.stdoutChunks.join("")}get stderr(){return this.stderrChunks.join("")}};export{h as a};
@@ -0,0 +1,15 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as k}from"./chunk-6RK4AAB7.js";import{a as v}from"./chunk-T7CFNHX6.js";import{a as y,b,e as S}from"./chunk-Q6ZH76O4.js";import{l as h}from"./chunk-IQGNPH54.js";import{a as w,d as $}from"./chunk-U3UTFNHI.js";import{c as L}from"./chunk-NCUTH6QL.js";var g=class extends S{constructor(t){super(t,"xan")}};var C=L(k(),1);var V=class{ctx;site;rows=0;cells=0;constructor(t,i){this.ctx=t,this.site=i}consumeWork(t=1){this.ctx.executionScope?.consumeWork(t,this.site)}addRow(t){this.addRows(1,t)}addRows(t,i){let r=b(t,i,this.site);if(!Number.isSafeInteger(t)||t<0||!Number.isSafeInteger(i)||i<0||i>this.ctx.limits.maxArrayElements||t>Math.min(this.ctx.limits.maxCsvRows,this.ctx.limits.maxArrayElements)-this.rows||r>this.ctx.limits.maxCsvCells-this.cells)throw new h(`${this.site}: derived CSV result limit exceeded`,"array_elements");this.consumeWork(b(t,y(1,i,this.site),this.site)),this.rows+=t,this.cells+=r}};function I(){return Object.create(null)}function j(n,t,i){n[t]=i}function W(n){let t=I();for(let i of Object.keys(n)){let r=n[i];(typeof r=="string"||typeof r=="number"||typeof r=="boolean"||r===null)&&(t[i]=r)}return t}function z(n,t={}){let i=t.maxStringLength??10485760,r=t.maxArrayElements??1e5,a=t.maxRows??r,f=t.maxCells??1e7;if(w(n)>i)throw new h(`xan: CSV input size limit exceeded (${i} bytes)`,"string_length");let d=[],m=n.trim(),o=C.default.parse(m,{preview:1,skipEmptyLines:!0}).data[0]??[];if(o.length>r)throw new h(`xan: CSV column limit exceeded (${r})`,"array_elements");let p=0,s;if(C.default.parse(m,{header:!0,dynamicTyping:!0,skipEmptyLines:!0,step:(e,l)=>{let u=Object.keys(e.data);if(d.length===0&&e.meta.fields){if(e.meta.fields.length>r){s=new h(`xan: CSV column limit exceeded (${r})`,"array_elements"),l.abort();return}o=[...e.meta.fields]}if(d.length>=a||u.length>f-p){s=new h(d.length>=a?`xan: CSV row limit exceeded (${a})`:`xan: CSV cell limit exceeded (${f})`,"array_elements"),l.abort();return}p+=u.length,d.push(W(e.data))}}),s)throw s;return{headers:o,data:d}}function H(n,t={}){let i=t.maxStringLength??10485760,r=t.maxArrayElements??1e5,a=t.maxRows??r,f=t.maxCells??1e7;if(w(n)>i)throw new h(`xan: CSV input size limit exceeded (${i} bytes)`,"string_length");let d=[],m=0,c;if(C.default.parse(n.trim(),{header:!1,dynamicTyping:!1,skipEmptyLines:!0,step:(o,p)=>{let s=o.data;if(d.length>=a||s.length>r||s.length>f-m){c=new h(d.length>=a?`xan: CSV row limit exceeded (${a})`:s.length>r?`xan: CSV column limit exceeded (${r})`:`xan: CSV cell limit exceeded (${f})`,"array_elements"),p.abort();return}m+=s.length,d.push(s)}}),c)throw c;return d}function P(n,t,i){return E(t.length,n.length,(r,a)=>t[r][n[a]],i,n)}function q(n,t,i){return E(t.length,n.length,(r,a)=>t[r][n[a]],i)}function G(n,t,i){return E(n.length,void 0,(r,a)=>n[r][a],t,i,r=>n[r].length)}function E(n,t,i,r,a,f=()=>t??0){let d=r?.limits.maxOutputSize??Number.MAX_SAFE_INTEGER,m=new S(d,"xan CSV output",r?()=>new h(`xan: output size limit exceeded (${d} bytes)`,"output_size"):void 0),c=p=>{let s=p==null?"":String(p),e=0;for(let x=0;x<s.length;x++)s.charCodeAt(x)===34&&e++;let l=e>0||s.includes("\r")||s.includes(`
3
+ `)||s.includes(",")||s.includes("\uFEFF")||s.startsWith(" ")||s.endsWith(" ");m.reserve(y(w(s),y(e,l?2:0,"xan CSV output"),"xan CSV output"));let u=e>0?s.replace(/"/g,'""'):s;m.append(l?`"${u}"`:u)},o=(p,s)=>{for(let e=0;e<s;e++)e>0&&m.append(","),c(i(p,e));m.append(`
4
+ `)};if(a){for(let p=0;p<a.length;p++)p>0&&m.append(","),c(a[p]);m.append(`
5
+ `)}for(let p=0;p<n;p++)r?.executionScope?.throwIfAborted("xan CSV output"),o(p,t??f(p));return m.build()}async function R(n,t){let i=n.find(d=>!d.startsWith("-")),r;if(!i||i==="-")r=$(t.stdin);else try{let d=t.fs.resolvePath(t.cwd,i);r=await t.fs.readFile(d)}catch(d){return v(d),{headers:[],data:[],error:{stdout:"",stderr:`xan: ${i}: No such file or directory
6
+ `,exitCode:1}}}let{headers:a,data:f}=z(r,{maxStringLength:Math.min(t.limits.maxInputBytes,t.limits.maxStringLength),maxArrayElements:t.limits.maxArrayElements,maxRows:t.limits.maxCsvRows,maxCells:t.limits.maxCsvCells});return{headers:a,data:f}}function _(n){return Math.min(n.limits.maxStringLength,n.limits.maxOutputSize)}async function D(n,t){let i=0,r=[],a=[];for(let e=0;e<n.length;e++){let l=n[e];(l==="-l"||l==="--limit")&&e+1<n.length?i=Number.parseInt(n[++e],10):(l==="-s"||l==="--select")&&e+1<n.length?r=n[++e].split(","):l.startsWith("-")||a.push(l)}let{headers:f,data:d,error:m}=await R(a,t);if(m)return m;let c=r.length>0?r.filter(e=>f.includes(e)):f,o=i>0?d.slice(0,i):d,p=0;for(let e of c)p=Math.max(p,e.length);let s=new g(_(t));for(let e=0;e<o.length;e++){let l=o[e];s.append(`Row n\xB0${e}
7
+ `),s.repeat("\u2500",80),s.append(`
8
+ `);for(let u of c){let x=l[u],A=x==null?"":String(x);s.append(u),s.repeat(" ",p-u.length+1),s.append(`${A}
9
+ `)}e<o.length-1&&s.append(`
10
+ `)}return{stdout:s.build(),stderr:"",exitCode:0}}async function J(n,t){let i=0,r=[];for(let e=0;e<n.length;e++){let l=n[e];l==="-n"&&e+1<n.length?i=Number.parseInt(n[++e],10):l.startsWith("-")||r.push(l)}let{headers:a,data:f,error:d}=await R(r,t);if(d)return d;let m=i>0?f.slice(0,i):f,c=a.map(e=>e.length);for(let e of m)for(let l=0;l<a.length;l++){let u=String(e[a[l]]??"");c[l]=Math.max(c[l],u.length)}let o=new g(_(t)),p="\u2500",s="\u2502";o.append("\u250C");for(let e=0;e<c.length;e++)e>0&&o.append("\u252C"),o.repeat(p,c[e]+2);o.append(`\u2510
11
+ `),o.append(s);for(let e=0;e<a.length;e++)e>0&&o.append(s),o.append(` ${a[e]}`),o.repeat(" ",c[e]-a[e].length+1);o.append(`${s}
12
+ `),o.append("\u251C");for(let e=0;e<c.length;e++)e>0&&o.append("\u253C"),o.repeat(p,c[e]+2);o.append(`\u2524
13
+ `);for(let e of m){o.append(s);for(let l=0;l<a.length;l++){l>0&&o.append(s);let u=String(e[a[l]]??"");o.append(` ${u}`),o.repeat(" ",c[l]-u.length+1)}o.append(`${s}
14
+ `)}o.append("\u2514");for(let e=0;e<c.length;e++)e>0&&o.append("\u2534"),o.repeat(p,c[e]+2);return o.append(`\u2518
15
+ `),{stdout:o.build(),stderr:"",exitCode:0}}export{V as a,I as b,j as c,W as d,z as e,H as f,P as g,q as h,G as i,R as j,D as k,J as l};
@@ -0,0 +1,25 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ import{a as Ue}from"./chunk-T7CFNHX6.js";import{e as Ne}from"./chunk-Q6ZH76O4.js";import{a as Re,b as Pe,c as ge}from"./chunk-QAYAQNCG.js";import{a as re,b as L,c as Le}from"./chunk-NCUTH6QL.js";var We=L(ye=>{ye.read=function(i,e,t,r,n){var o,s,f=n*8-r-1,m=(1<<f)-1,a=m>>1,c=-7,p=t?n-1:0,u=t?-1:1,d=i[e+p];for(p+=u,o=d&(1<<-c)-1,d>>=-c,c+=f;c>0;o=o*256+i[e+p],p+=u,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=r;c>0;s=s*256+i[e+p],p+=u,c-=8);if(o===0)o=1-a;else{if(o===m)return s?NaN:(d?-1:1)*(1/0);s=s+Math.pow(2,r),o=o-a}return(d?-1:1)*s*Math.pow(2,o-r)};ye.write=function(i,e,t,r,n,o){var s,f,m,a=o*8-n-1,c=(1<<a)-1,p=c>>1,u=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,b=r?1:-1,w=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(f=isNaN(e)?1:0,s=c):(s=Math.floor(Math.log(e)/Math.LN2),e*(m=Math.pow(2,-s))<1&&(s--,m*=2),s+p>=1?e+=u/m:e+=u*Math.pow(2,1-p),e*m>=2&&(s++,m/=2),s+p>=c?(f=0,s=c):s+p>=1?(f=(e*m-1)*Math.pow(2,n),s=s+p):(f=e*Math.pow(2,p-1)*Math.pow(2,n),s=0));n>=8;i[t+d]=f&255,d+=b,f/=256,n-=8);for(s=s<<n|f,a+=n;a>0;i[t+d]=s&255,d+=b,s/=256,a-=8);i[t+d-b]|=w*128}});var Qe=L((un,Xe)=>{var H=1e3,J=H*60,X=J*60,$=X*24,Xt=$*7,Qt=$*365.25;Xe.exports=function(i,e){e=e||{};var t=typeof i;if(t==="string"&&i.length>0)return Yt(i);if(t==="number"&&isFinite(i))return e.long?ei(i):Kt(i);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function Yt(i){if(i=String(i),!(i.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(e){var t=parseFloat(e[1]),r=(e[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return t*Qt;case"weeks":case"week":case"w":return t*Xt;case"days":case"day":case"d":return t*$;case"hours":case"hour":case"hrs":case"hr":case"h":return t*X;case"minutes":case"minute":case"mins":case"min":case"m":return t*J;case"seconds":case"second":case"secs":case"sec":case"s":return t*H;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}function Kt(i){var e=Math.abs(i);return e>=$?Math.round(i/$)+"d":e>=X?Math.round(i/X)+"h":e>=J?Math.round(i/J)+"m":e>=H?Math.round(i/H)+"s":i+"ms"}function ei(i){var e=Math.abs(i);return e>=$?fe(i,e,$,"day"):e>=X?fe(i,e,X,"hour"):e>=J?fe(i,e,J,"minute"):e>=H?fe(i,e,H,"second"):i+" ms"}function fe(i,e,t,r){var n=e>=t*1.5;return Math.round(i/t)+" "+r+(n?"s":"")}});var Ce=L((ln,Ye)=>{function ti(i){t.debug=t,t.default=t,t.coerce=m,t.disable=s,t.enable=n,t.enabled=f,t.humanize=Qe(),t.destroy=a,Object.keys(i).forEach(c=>{t[c]=i[c]}),t.names=[],t.skips=[],t.formatters={};function e(c){let p=0;for(let u=0;u<c.length;u++)p=(p<<5)-p+c.charCodeAt(u),p|=0;return t.colors[Math.abs(p)%t.colors.length]}t.selectColor=e;function t(c){let p,u=null,d,b;function w(...T){if(!w.enabled)return;let P=w,te=Number(new Date),Ot=te-(p||te);P.diff=Ot,P.prev=p,P.curr=te,p=te,T[0]=t.coerce(T[0]),typeof T[0]!="string"&&T.unshift("%O");let ie=0;T[0]=T[0].replace(/%([a-zA-Z%])/g,(he,zt)=>{if(he==="%%")return"%";ie++;let Me=t.formatters[zt];if(typeof Me=="function"){let Mt=T[ie];he=Me.call(P,Mt),T.splice(ie,1),ie--}return he}),t.formatArgs.call(P,T),(P.log||t.log).apply(P,T)}return w.namespace=c,w.useColors=t.useColors(),w.color=t.selectColor(c),w.extend=r,w.destroy=t.destroy,Object.defineProperty(w,"enabled",{enumerable:!0,configurable:!1,get:()=>u!==null?u:(d!==t.namespaces&&(d=t.namespaces,b=t.enabled(c)),b),set:T=>{u=T}}),typeof t.init=="function"&&t.init(w),w}function r(c,p){let u=t(this.namespace+(typeof p>"u"?":":p)+c);return u.log=this.log,u}function n(c){t.save(c),t.namespaces=c,t.names=[],t.skips=[];let p=(typeof c=="string"?c:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let u of p)u[0]==="-"?t.skips.push(u.slice(1)):t.names.push(u)}function o(c,p){let u=0,d=0,b=-1,w=0;for(;u<c.length;)if(d<p.length&&(p[d]===c[u]||p[d]==="*"))p[d]==="*"?(b=d,w=u,d++):(u++,d++);else if(b!==-1)d=b+1,w++,u=w;else return!1;for(;d<p.length&&p[d]==="*";)d++;return d===p.length}function s(){let c=[...t.names,...t.skips.map(p=>"-"+p)].join(",");return t.enable(""),c}function f(c){for(let p of t.skips)if(o(c,p))return!1;for(let p of t.names)if(o(c,p))return!0;return!1}function m(c){return c instanceof Error?c.stack||c.message:c}function a(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return t.enable(t.load()),t}Ye.exports=ti});var Ke=L((E,pe)=>{E.formatArgs=ri;E.save=ni;E.load=oi;E.useColors=ii;E.storage=si();E.destroy=(()=>{let i=!1;return()=>{i||(i=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();E.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function ii(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let i;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(i=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(i[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function ri(i){if(i[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+i[0]+(this.useColors?"%c ":" ")+"+"+pe.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;i.splice(1,0,e,"color: inherit");let t=0,r=0;i[0].replace(/%[a-zA-Z%]/g,n=>{n!=="%%"&&(t++,n==="%c"&&(r=t))}),i.splice(r,0,e)}E.log=console.debug||console.log||(()=>{});function ni(i){try{i?E.storage.setItem("debug",i):E.storage.removeItem("debug")}catch{}}function oi(){let i;try{i=E.storage.getItem("debug")||E.storage.getItem("DEBUG")}catch{}return!i&&typeof process<"u"&&"env"in process&&(i=process.env.DEBUG),i}function si(){try{return localStorage}catch{}}pe.exports=Ce()(E);var{formatters:ai}=pe.exports;ai.j=function(i){try{return JSON.stringify(i)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var tt=L((dn,et)=>{"use strict";et.exports=(i,e=process.argv)=>{let t=i.startsWith("-")?"":i.length===1?"-":"--",r=e.indexOf(t+i),n=e.indexOf("--");return r!==-1&&(n===-1||r<n)}});var nt=L((xn,rt)=>{"use strict";var ci=re("os"),it=re("tty"),v=tt(),{env:y}=process,U;v("no-color")||v("no-colors")||v("color=false")||v("color=never")?U=0:(v("color")||v("colors")||v("color=true")||v("color=always"))&&(U=1);"FORCE_COLOR"in y&&(y.FORCE_COLOR==="true"?U=1:y.FORCE_COLOR==="false"?U=0:U=y.FORCE_COLOR.length===0?1:Math.min(parseInt(y.FORCE_COLOR,10),3));function Se(i){return i===0?!1:{level:i,hasBasic:!0,has256:i>=2,has16m:i>=3}}function Fe(i,e){if(U===0)return 0;if(v("color=16m")||v("color=full")||v("color=truecolor"))return 3;if(v("color=256"))return 2;if(i&&!e&&U===void 0)return 0;let t=U||0;if(y.TERM==="dumb")return t;if(process.platform==="win32"){let r=ci.release().split(".");return Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in y)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(r=>r in y)||y.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in y)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(y.TEAMCITY_VERSION)?1:0;if(y.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in y){let r=parseInt((y.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(y.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(y.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(y.TERM)||"COLORTERM"in y?1:t}function fi(i){let e=Fe(i,i&&i.isTTY);return Se(e)}rt.exports={supportsColor:fi,stdout:Se(Fe(!0,it.isatty(1))),stderr:Se(Fe(!0,it.isatty(2)))}});var st=L((k,ue)=>{var pi=re("tty"),me=re("util");k.init=gi;k.log=di;k.formatArgs=ui;k.save=xi;k.load=hi;k.useColors=mi;k.destroy=me.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");k.colors=[6,2,3,4,5,1];try{let i=nt();i&&(i.stderr||i).level>=2&&(k.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}k.inspectOpts=Object.keys(process.env).filter(i=>/^debug_/i.test(i)).reduce((i,e)=>{let t=e.substring(6).toLowerCase().replace(/_([a-z])/g,(n,o)=>o.toUpperCase()),r=process.env[e];return/^(yes|on|true|enabled)$/i.test(r)?r=!0:/^(no|off|false|disabled)$/i.test(r)?r=!1:r==="null"?r=null:r=Number(r),i[t]=r,i},{});function mi(){return"colors"in k.inspectOpts?!!k.inspectOpts.colors:pi.isatty(process.stderr.fd)}function ui(i){let{namespace:e,useColors:t}=this;if(t){let r=this.color,n="\x1B[3"+(r<8?r:"8;5;"+r),o=` ${n};1m${e} \x1B[0m`;i[0]=o+i[0].split(`
3
+ `).join(`
4
+ `+o),i.push(n+"m+"+ue.exports.humanize(this.diff)+"\x1B[0m")}else i[0]=li()+e+" "+i[0]}function li(){return k.inspectOpts.hideDate?"":new Date().toISOString()+" "}function di(...i){return process.stderr.write(me.formatWithOptions(k.inspectOpts,...i)+`
5
+ `)}function xi(i){i?process.env.DEBUG=i:delete process.env.DEBUG}function hi(){return process.env.DEBUG}function gi(i){i.inspectOpts={};let e=Object.keys(k.inspectOpts);for(let t=0;t<e.length;t++)i.inspectOpts[e[t]]=k.inspectOpts[e[t]]}ue.exports=Ce()(k);var{formatters:ot}=ue.exports;ot.o=function(i){return this.inspectOpts.colors=this.useColors,me.inspect(i,this.inspectOpts).split(`
6
+ `).map(e=>e.trim()).join(" ")};ot.O=function(i){return this.inspectOpts.colors=this.useColors,me.inspect(i,this.inspectOpts)}});var at=L((hn,Ee)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Ee.exports=Ke():Ee.exports=st()});var Lt="End-Of-Stream",l=class extends Error{constructor(){super(Lt),this.name="EndOfStreamError"}},N=class extends Error{constructor(e="The operation was aborted"){super(e),this.name="AbortError"}};var j=class{constructor(){this.endOfStream=!1,this.interrupted=!1,this.peekQueue=[]}async peek(e,t=!1){let r=await this.read(e,t);return this.peekQueue.push(e.subarray(0,r)),r}async read(e,t=!1){if(e.length===0)return 0;let r=this.readFromPeekBuffer(e);if(this.endOfStream||(r+=await this.readRemainderFromStream(e.subarray(r),t)),r===0&&!t)throw new l;return r}readFromPeekBuffer(e){let t=e.length,r=0;for(;this.peekQueue.length>0&&t>0;){let n=this.peekQueue.pop();if(!n)throw new Error("peekData should be defined");let o=Math.min(n.length,t);e.set(n.subarray(0,o),r),r+=o,t-=o,o<n.length&&this.peekQueue.push(n.subarray(o))}return r}async readRemainderFromStream(e,t){let r=0;for(;r<e.length&&!this.endOfStream;){if(this.interrupted)throw new N;let n=await this.readFromStream(e.subarray(r),t);if(n===0)break;r+=n}if(!t&&r<e.length)throw new l;return r}};var ne=class extends j{constructor(e){super(),this.reader=e}async abort(){return this.close()}async close(){this.reader.releaseLock()}};var Q=class extends ne{async readFromStream(e,t){if(e.length===0)return 0;let r=await this.reader.read(new Uint8Array(e.length),{min:t?void 0:e.length});return r.done&&(this.endOfStream=r.done),r.value?(e.set(r.value),r.value.length):0}};var Z=class extends j{constructor(e){super(),this.reader=e,this.buffer=null}writeChunk(e,t){let r=Math.min(t.length,e.length);return e.set(t.subarray(0,r)),r<t.length?this.buffer=t.subarray(r):this.buffer=null,r}async readFromStream(e,t){if(e.length===0)return 0;let r=0;for(this.buffer&&(r+=this.writeChunk(e,this.buffer));r<e.length&&!this.endOfStream;){let n=await this.reader.read();if(n.done){this.endOfStream=!0;break}n.value&&(r+=this.writeChunk(e.subarray(r),n.value))}if(!t&&r===0&&this.endOfStream)throw new l;return r}abort(){return this.interrupted=!0,this.reader.cancel()}async close(){await this.abort(),this.reader.releaseLock()}};function we(i){try{let e=i.getReader({mode:"byob"});return e instanceof ReadableStreamDefaultReader?new Z(e):new Q(e)}catch(e){if(e instanceof TypeError)return new Z(i.getReader());throw e}}var I=class{constructor(e){this.numBuffer=new Uint8Array(8),this.position=0,this.onClose=e?.onClose,e?.abortSignal&&e.abortSignal.addEventListener("abort",()=>{this.abort()})}async readToken(e,t=this.position){let r=new Uint8Array(e.len);if(await this.readBuffer(r,{position:t})<e.len)throw new l;return e.get(r,0)}async peekToken(e,t=this.position){let r=new Uint8Array(e.len);if(await this.peekBuffer(r,{position:t})<e.len)throw new l;return e.get(r,0)}async readNumber(e){if(await this.readBuffer(this.numBuffer,{length:e.len})<e.len)throw new l;return e.get(this.numBuffer,0)}async peekNumber(e){if(await this.peekBuffer(this.numBuffer,{length:e.len})<e.len)throw new l;return e.get(this.numBuffer,0)}async ignore(e){if(e<0)throw new RangeError("ignore length must be \u2265 0 bytes");if(this.fileInfo.size!==void 0){let t=this.fileInfo.size-this.position;if(e>t)return this.position+=t,t}return this.position+=e,e}async close(){await this.abort(),await this.onClose?.()}normalizeOptions(e,t){if(!this.supportsRandomAccess()&&t&&t.position!==void 0&&t.position<this.position)throw new Error("`options.position` must be equal or greater than `tokenizer.position`");return{mayBeLess:!1,offset:0,length:e.length,position:this.position,...t}}abort(){return Promise.resolve()}};var Rt=256e3,oe=class extends I{constructor(e,t){super(t),this.streamReader=e,this.fileInfo=t?.fileInfo??{}}async readBuffer(e,t){let r=this.normalizeOptions(e,t),n=r.position-this.position;if(n>0)return await this.ignore(n),this.readBuffer(e,t);if(n<0)throw new Error("`options.position` must be equal or greater than `tokenizer.position`");if(r.length===0)return 0;let o=await this.streamReader.read(e.subarray(0,r.length),r.mayBeLess);if(this.position+=o,(!t||!t.mayBeLess)&&o<r.length)throw new l;return o}async peekBuffer(e,t){let r=this.normalizeOptions(e,t),n=0;if(r.position){let o=r.position-this.position;if(o>0){let s=new Uint8Array(r.length+o);return n=await this.peekBuffer(s,{mayBeLess:r.mayBeLess}),e.set(s.subarray(o)),n-o}if(o<0)throw new Error("Cannot peek from a negative offset in a stream")}if(r.length>0){try{n=await this.streamReader.peek(e.subarray(0,r.length),r.mayBeLess)}catch(o){if(t?.mayBeLess&&o instanceof l)return 0;throw o}if(!r.mayBeLess&&n<r.length)throw new l}return n}async ignore(e){if(e<0)throw new RangeError("ignore length must be \u2265 0 bytes");let t=Math.min(Rt,e),r=new Uint8Array(t),n=0;for(;n<e;){let o=e-n,s=await this.readBuffer(r,{length:Math.min(t,o)});if(s<0)return s;n+=s}return n}abort(){return this.streamReader.abort()}async close(){return this.streamReader.close()}supportsRandomAccess(){return!1}};var se=class extends I{constructor(e,t){super(t),this.uint8Array=e,this.fileInfo={...t?.fileInfo??{},size:e.length}}async readBuffer(e,t){t?.position&&(this.position=t.position);let r=await this.peekBuffer(e,t);return this.position+=r,r}async peekBuffer(e,t){let r=this.normalizeOptions(e,t),n=Math.min(this.uint8Array.length-r.position,r.length);if(!r.mayBeLess&&n<r.length)throw new l;return e.set(this.uint8Array.subarray(r.position,r.position+n)),n}close(){return super.close()}supportsRandomAccess(){return!0}setPosition(e){this.position=e}};var ae=class extends I{constructor(e,t){super(t),this.blob=e,this.fileInfo={...t?.fileInfo??{},size:e.size,mimeType:e.type}}async readBuffer(e,t){t?.position&&(this.position=t.position);let r=await this.peekBuffer(e,t);return this.position+=r,r}async peekBuffer(e,t){let r=this.normalizeOptions(e,t),n=Math.min(this.blob.size-r.position,r.length);if(!r.mayBeLess&&n<r.length)throw new l;let o=await this.blob.slice(r.position,r.position+n).arrayBuffer();return e.set(new Uint8Array(o)),n}close(){return super.close()}supportsRandomAccess(){return!0}setPosition(e){this.position=e}};function je(i,e){let t=we(i),r=e??{},n=r.onClose;return r.onClose=async()=>{if(await t.close(),n)return n()},new oe(t,r)}function _e(i,e){return new se(i,e)}function $e(i,e){return new ae(i,e)}import{open as Nt}from"node:fs/promises";var V=class i extends I{static async fromFile(e){let t=await Nt(e,"r"),r=await t.stat();return new i(t,{fileInfo:{path:e,size:r.size}})}constructor(e,t){super(t),this.fileHandle=e,this.fileInfo=t.fileInfo}async readBuffer(e,t){let r=this.normalizeOptions(e,t);if(this.position=r.position,r.length===0)return 0;let n=await this.fileHandle.read(e,0,r.length,r.position);if(this.position+=n.bytesRead,n.bytesRead<r.length&&(!t||!t.mayBeLess))throw new l;return n.bytesRead}async peekBuffer(e,t){let r=this.normalizeOptions(e,t),n=await this.fileHandle.read(e,0,r.length,r.position);if(!r.mayBeLess&&n.bytesRead<r.length)throw new l;return n.bytesRead}async close(){return await this.fileHandle.close(),super.close()}setPosition(e){this.position=e}supportsRandomAccess(){return!0}};var sn=V.fromFile;var Ve=Le(We(),1);var Ge={128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"},_t={};for(let[i,e]of Object.entries(Ge))_t[e]=Number.parseInt(i,10);var ce;function $t(){if(!(typeof globalThis.TextDecoder>"u"))return ce??(ce=new globalThis.TextDecoder("utf-8"))}var q=32*1024,B=65533;function Ze(i,e="utf-8"){switch(e.toLowerCase()){case"utf-8":case"utf8":{let t=$t();return t?t.decode(i):Gt(i)}case"utf-16le":return Zt(i);case"us-ascii":case"ascii":return Vt(i);case"latin1":case"iso-8859-1":return qt(i);case"windows-1252":return Ht(i);default:throw new RangeError(`Encoding '${e}' not supported`)}}function ke(i,e){e.length!==0&&(i.push(String.fromCharCode.apply(null,e)),e.length=0)}function g(i,e,t){e.push(t),e.length>=q&&ke(i,e)}function Wt(i,e,t){if(t<=65535){g(i,e,t);return}t-=65536,g(i,e,55296+(t>>10)),g(i,e,56320+(t&1023))}function Gt(i){let e=[],t=[],r=0;for(i.length>=3&&i[0]===239&&i[1]===187&&i[2]===191&&(r=3);r<i.length;){let n=i[r];if(n<=127){g(e,t,n),r++;continue}if(n<194||n>244){g(e,t,B),r++;continue}if(n<=223){if(r+1>=i.length){g(e,t,B),r++;continue}let c=i[r+1];if((c&192)!==128){g(e,t,B),r++;continue}let p=(n&31)<<6|c&63;g(e,t,p),r+=2;continue}if(n<=239){if(r+2>=i.length){g(e,t,B),r++;continue}let c=i[r+1],p=i[r+2];if(!((c&192)===128&&(p&192)===128&&!(n===224&&c<160)&&!(n===237&&c>=160))){g(e,t,B),r++;continue}let d=(n&15)<<12|(c&63)<<6|p&63;g(e,t,d),r+=3;continue}if(r+3>=i.length){g(e,t,B),r++;continue}let o=i[r+1],s=i[r+2],f=i[r+3];if(!((o&192)===128&&(s&192)===128&&(f&192)===128&&!(n===240&&o<144)&&!(n===244&&o>143))){g(e,t,B),r++;continue}let a=(n&7)<<18|(o&63)<<12|(s&63)<<6|f&63;Wt(e,t,a),r+=4}return ke(e,t),e.join("")}function Zt(i){let e=[],t=[],r=i.length,n=0;for(;n+1<r;){let o=i[n]|i[n+1]<<8;if(n+=2,o>=55296&&o<=56319){if(n+1<r){let s=i[n]|i[n+1]<<8;s>=56320&&s<=57343?(g(e,t,o),g(e,t,s),n+=2):g(e,t,B)}else g(e,t,B);continue}if(o>=56320&&o<=57343){g(e,t,B);continue}g(e,t,o)}return n<r&&g(e,t,B),ke(e,t),e.join("")}function Vt(i){let e=[];for(let t=0;t<i.length;t+=q){let r=Math.min(i.length,t+q),n=new Array(r-t);for(let o=t,s=0;o<r;o++,s++)n[s]=i[o]&127;e.push(String.fromCharCode.apply(null,n))}return e.join("")}function qt(i){let e=[];for(let t=0;t<i.length;t+=q){let r=Math.min(i.length,t+q),n=new Array(r-t);for(let o=t,s=0;o<r;o++,s++)n[s]=i[o];e.push(String.fromCharCode.apply(null,n))}return e.join("")}function Ht(i){let e=[],t="";for(let r=0;r<i.length;r++){let n=i[r],o=n>=128&&n<=159?Ge[n]:void 0;t+=o??String.fromCharCode(n),t.length>=q&&(e.push(t),t="")}return t&&e.push(t),e.join("")}function S(i){return new DataView(i.buffer,i.byteOffset)}var qe={len:1,get(i,e){return S(i).getUint8(e)},put(i,e,t){return S(i).setUint8(e,t),e+1}},h={len:2,get(i,e){return S(i).getUint16(e,!0)},put(i,e,t){return S(i).setUint16(e,t,!0),e+2}},_={len:2,get(i,e){return S(i).getUint16(e)},put(i,e,t){return S(i).setUint16(e,t),e+2}};var x={len:4,get(i,e){return S(i).getUint32(e,!0)},put(i,e,t){return S(i).setUint32(e,t,!0),e+4}},be={len:4,get(i,e){return S(i).getUint32(e)},put(i,e,t){return S(i).setUint32(e,t),e+4}};var He={len:4,get(i,e){return S(i).getInt32(e)},put(i,e,t){return S(i).setInt32(e,t),e+4}};var Je={len:8,get(i,e){return S(i).getBigUint64(e,!0)},put(i,e,t){return S(i).setBigUint64(e,t,!0),e+8}};var F=class{constructor(e,t){this.len=e,this.encoding=t}get(e,t=0){let r=e.subarray(t,t+this.len);return Ze(r,this.encoding)}};var mt=Le(at(),1);var W={LocalFileHeader:67324752,DataDescriptor:134695760,CentralFileHeader:33639248,EndOfCentralDirectory:101010256},Te={get(i){return{signature:x.get(i,0),compressedSize:x.get(i,8),uncompressedSize:x.get(i,12)}},len:16},ct={get(i){let e=h.get(i,6);return{signature:x.get(i,0),minVersion:h.get(i,4),dataDescriptor:!!(e&8),compressedMethod:h.get(i,8),compressedSize:x.get(i,18),uncompressedSize:x.get(i,22),filenameLength:h.get(i,26),extraFieldLength:h.get(i,28),filename:null}},len:30},ft={get(i){return{signature:x.get(i,0),nrOfThisDisk:h.get(i,4),nrOfThisDiskWithTheStart:h.get(i,6),nrOfEntriesOnThisDisk:h.get(i,8),nrOfEntriesOfSize:h.get(i,10),sizeOfCd:x.get(i,12),offsetOfStartOfCd:x.get(i,16),zipFileCommentLength:h.get(i,20)}},len:22},pt={get(i){let e=h.get(i,8);return{signature:x.get(i,0),minVersion:h.get(i,6),dataDescriptor:!!(e&8),compressedMethod:h.get(i,10),compressedSize:x.get(i,20),uncompressedSize:x.get(i,24),filenameLength:h.get(i,28),extraFieldLength:h.get(i,30),fileCommentLength:h.get(i,32),relativeOffsetOfLocalHeader:x.get(i,42),filename:null}},len:46};function ut(i){let e=new Uint8Array(x.len);return x.put(e,0,i),e}var D=(0,mt.default)("tokenizer:inflate"),ve=256*1024,wi=ut(W.DataDescriptor),le=ut(W.EndOfCentralDirectory),G=class i{constructor(e){this.tokenizer=e,this.syncBuffer=new Uint8Array(ve)}async isZip(){return await this.peekSignature()===W.LocalFileHeader}peekSignature(){return this.tokenizer.peekToken(x)}async findEndOfCentralDirectoryLocator(){let e=this.tokenizer,t=Math.min(16*1024,e.fileInfo.size),r=this.syncBuffer.subarray(0,t);await this.tokenizer.readBuffer(r,{position:e.fileInfo.size-t});for(let n=r.length-4;n>=0;n--)if(r[n]===le[0]&&r[n+1]===le[1]&&r[n+2]===le[2]&&r[n+3]===le[3])return e.fileInfo.size-t+n;return-1}async readCentralDirectory(){if(!this.tokenizer.supportsRandomAccess()){D("Cannot reading central-directory without random-read support");return}D("Reading central-directory...");let e=this.tokenizer.position,t=await this.findEndOfCentralDirectoryLocator();if(t>0){D("Central-directory 32-bit signature found");let r=await this.tokenizer.readToken(ft,t),n=[];this.tokenizer.setPosition(r.offsetOfStartOfCd);for(let o=0;o<r.nrOfEntriesOfSize;++o){let s=await this.tokenizer.readToken(pt);if(s.signature!==W.CentralFileHeader)throw new Error("Expected Central-File-Header signature");s.filename=await this.tokenizer.readToken(new F(s.filenameLength,"utf-8")),await this.tokenizer.ignore(s.extraFieldLength),await this.tokenizer.ignore(s.fileCommentLength),n.push(s),D(`Add central-directory file-entry: n=${o+1}/${n.length}: filename=${n[o].filename}`)}return this.tokenizer.setPosition(e),n}this.tokenizer.setPosition(e)}async unzip(e){let t=await this.readCentralDirectory();if(t)return this.iterateOverCentralDirectory(t,e);let r=!1;do{let n=await this.readLocalFileHeader();if(!n)break;let o=e(n);r=!!o.stop;let s;if(await this.tokenizer.ignore(n.extraFieldLength),n.dataDescriptor&&n.compressedSize===0){let f=[],m=ve;D("Compressed-file-size unknown, scanning for next data-descriptor-signature....");let a=-1;for(;a<0&&m===ve;){m=await this.tokenizer.peekBuffer(this.syncBuffer,{mayBeLess:!0}),a=yi(this.syncBuffer.subarray(0,m),wi);let c=a>=0?a:m;if(o.handler){let p=new Uint8Array(c);await this.tokenizer.readBuffer(p),f.push(p)}else await this.tokenizer.ignore(c)}D(`Found data-descriptor-signature at pos=${this.tokenizer.position}`),o.handler&&await this.inflate(n,ki(f),o.handler)}else o.handler?(D(`Reading compressed-file-data: ${n.compressedSize} bytes`),s=new Uint8Array(n.compressedSize),await this.tokenizer.readBuffer(s),await this.inflate(n,s,o.handler)):(D(`Ignoring compressed-file-data: ${n.compressedSize} bytes`),await this.tokenizer.ignore(n.compressedSize));if(D(`Reading data-descriptor at pos=${this.tokenizer.position}`),n.dataDescriptor&&(await this.tokenizer.readToken(Te)).signature!==134695760)throw new Error(`Expected data-descriptor-signature at position ${this.tokenizer.position-Te.len}`)}while(!r)}async iterateOverCentralDirectory(e,t){for(let r of e){let n=t(r);if(n.handler){this.tokenizer.setPosition(r.relativeOffsetOfLocalHeader);let o=await this.readLocalFileHeader();if(o){await this.tokenizer.ignore(o.extraFieldLength);let s=new Uint8Array(r.compressedSize);await this.tokenizer.readBuffer(s),await this.inflate(o,s,n.handler)}}if(n.stop)break}}async inflate(e,t,r){if(e.compressedMethod===0)return r(t);if(e.compressedMethod!==8)throw new Error(`Unsupported ZIP compression method: ${e.compressedMethod}`);D(`Decompress filename=${e.filename}, compressed-size=${t.length}`);let n=await i.decompressDeflateRaw(t);return r(n)}static async decompressDeflateRaw(e){let t=new ReadableStream({start(o){o.enqueue(e),o.close()}}),r=new DecompressionStream("deflate-raw"),n=t.pipeThrough(r);try{let s=await new Response(n).arrayBuffer();return new Uint8Array(s)}catch(o){let s=o instanceof Error?`Failed to deflate ZIP entry: ${o.message}`:"Unknown decompression error in ZIP entry";throw new TypeError(s)}}async readLocalFileHeader(){let e=await this.tokenizer.peekToken(x);if(e===W.LocalFileHeader){let t=await this.tokenizer.readToken(ct);return t.filename=await this.tokenizer.readToken(new F(t.filenameLength,"utf-8")),t}if(e===W.CentralFileHeader)return!1;throw e===3759263696?new Error("Encrypted ZIP"):new Error("Unexpected signature")}};function yi(i,e){let t=i.length,r=e.length;if(r>t)return-1;for(let n=0;n<=t-r;n++){let o=!0;for(let s=0;s<r;s++)if(i[n+s]!==e[s]){o=!1;break}if(o)return n}return-1}function ki(i){let e=i.reduce((n,o)=>n+o.length,0),t=new Uint8Array(e),r=0;for(let n of i)t.set(n,r),r+=n.length;return t}var Y=class{constructor(e){this.tokenizer=e}inflate(){let e=this.tokenizer;return new ReadableStream({async pull(t){let r=new Uint8Array(1024),n=await e.readBuffer(r,{mayBeLess:!0});if(n===0){t.close();return}t.enqueue(r.subarray(0,n))}}).pipeThrough(new DecompressionStream("gzip"))}};var Tn={utf8:new globalThis.TextDecoder("utf8")};var vn=new globalThis.TextEncoder;var An=Array.from({length:256},(i,e)=>e.toString(16).padStart(2,"0"));function Ae(i){let{byteLength:e}=i;if(e===6)return i.getUint16(0)*2**32+i.getUint32(2);if(e===5)return i.getUint8(0)*2**32+i.getUint32(1);if(e===4)return i.getUint32(0);if(e===3)return i.getUint8(0)*2**16+i.getUint16(1);if(e===2)return i.getUint16(0);if(e===1)return i.getUint8(0)}function lt(i,e){if(e==="utf-16le"){let t=[];for(let r=0;r<i.length;r++){let n=i.charCodeAt(r);t.push(n&255,n>>8&255)}return t}if(e==="utf-16be"){let t=[];for(let r=0;r<i.length;r++){let n=i.charCodeAt(r);t.push(n>>8&255,n&255)}return t}return[...i].map(t=>t.charCodeAt(0))}function dt(i,e=0){let t=Number.parseInt(new F(6).get(i,148).replace(/\0.*$/,"").trim(),8);if(Number.isNaN(t))return!1;let r=256;for(let n=e;n<e+148;n++)r+=i[n];for(let n=e+156;n<e+512;n++)r+=i[n];return t===r}var xt={get:(i,e)=>i[e+3]&127|i[e+2]<<7|i[e+1]<<14|i[e]<<21,len:4};var ht=["jpg","png","apng","gif","webp","flif","xcf","cr2","cr3","orf","arw","dng","nef","rw2","raf","tif","bmp","icns","jxr","psd","indd","zip","tar","rar","gz","bz2","7z","dmg","mp4","mid","mkv","webm","mov","avi","mpg","mp2","mp3","m4a","oga","ogg","ogv","opus","flac","wav","spx","amr","pdf","epub","elf","macho","exe","swf","rtf","wasm","woff","woff2","eot","ttf","otf","ttc","ico","flv","ps","xz","sqlite","nes","crx","xpi","cab","deb","ar","rpm","Z","lz","cfb","mxf","mts","blend","bpg","docx","pptx","xlsx","3gp","3g2","j2c","jp2","jpm","jpx","mj2","aif","qcp","odt","ods","odp","xml","mobi","heic","cur","ktx","ape","wv","dcm","ics","glb","pcap","dsf","lnk","alias","voc","ac3","m4v","m4p","m4b","f4v","f4p","f4b","f4a","mie","asf","ogm","ogx","mpc","arrow","shp","aac","mp1","it","s3m","xm","skp","avif","eps","lzh","pgp","asar","stl","chm","3mf","zst","jxl","vcf","jls","pst","dwg","parquet","class","arj","cpio","ace","avro","icc","fbx","vsdx","vtt","apk","drc","lz4","potx","xltx","dotx","xltm","ott","ots","otp","odg","otg","xlsm","docm","dotm","potm","pptm","jar","jmp","rm","sav","ppsm","ppsx","tar.gz","reg","dat"],gt=["image/jpeg","image/png","image/gif","image/webp","image/flif","image/x-xcf","image/x-canon-cr2","image/x-canon-cr3","image/tiff","image/bmp","image/vnd.ms-photo","image/vnd.adobe.photoshop","application/x-indesign","application/epub+zip","application/x-xpinstall","application/vnd.ms-powerpoint.slideshow.macroenabled.12","application/vnd.oasis.opendocument.text","application/vnd.oasis.opendocument.spreadsheet","application/vnd.oasis.opendocument.presentation","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/zip","application/x-tar","application/x-rar-compressed","application/gzip","application/x-bzip2","application/x-7z-compressed","application/x-apple-diskimage","application/vnd.apache.arrow.file","video/mp4","audio/midi","video/matroska","video/webm","video/quicktime","video/vnd.avi","audio/wav","audio/qcelp","audio/x-ms-asf","video/x-ms-asf","application/vnd.ms-asf","video/mpeg","video/3gpp","audio/mpeg","audio/mp4","video/ogg","audio/ogg","audio/ogg; codecs=opus","application/ogg","audio/flac","audio/ape","audio/wavpack","audio/amr","application/pdf","application/x-elf","application/x-mach-binary","application/x-msdownload","application/x-shockwave-flash","application/rtf","application/wasm","font/woff","font/woff2","application/vnd.ms-fontobject","font/ttf","font/otf","font/collection","image/x-icon","video/x-flv","application/postscript","application/eps","application/x-xz","application/x-sqlite3","application/x-nintendo-nes-rom","application/x-google-chrome-extension","application/vnd.ms-cab-compressed","application/x-deb","application/x-unix-archive","application/x-rpm","application/x-compress","application/x-lzip","application/x-cfb","application/x-mie","application/mxf","video/mp2t","application/x-blender","image/bpg","image/j2c","image/jp2","image/jpx","image/jpm","image/mj2","audio/aiff","application/xml","application/x-mobipocket-ebook","image/heif","image/heif-sequence","image/heic","image/heic-sequence","image/icns","image/ktx","application/dicom","audio/x-musepack","text/calendar","text/vcard","text/vtt","model/gltf-binary","application/vnd.tcpdump.pcap","audio/x-dsf","application/x.ms.shortcut","application/x.apple.alias","audio/x-voc","audio/vnd.dolby.dd-raw","audio/x-m4a","image/apng","image/x-olympus-orf","image/x-sony-arw","image/x-adobe-dng","image/x-nikon-nef","image/x-panasonic-rw2","image/x-fujifilm-raf","video/x-m4v","video/3gpp2","application/x-esri-shape","audio/aac","audio/x-it","audio/x-s3m","audio/x-xm","video/MP1S","video/MP2P","application/vnd.sketchup.skp","image/avif","application/x-lzh-compressed","application/pgp-encrypted","application/x-asar","model/stl","application/vnd.ms-htmlhelp","model/3mf","image/jxl","application/zstd","image/jls","application/vnd.ms-outlook","image/vnd.dwg","application/vnd.apache.parquet","application/java-vm","application/x-arj","application/x-cpio","application/x-ace-compressed","application/avro","application/vnd.iccprofile","application/x.autodesk.fbx","application/vnd.visio","application/vnd.android.package-archive","application/vnd.google.draco","application/x-lz4","application/vnd.openxmlformats-officedocument.presentationml.template","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/vnd.ms-excel.template.macroenabled.12","application/vnd.oasis.opendocument.text-template","application/vnd.oasis.opendocument.spreadsheet-template","application/vnd.oasis.opendocument.presentation-template","application/vnd.oasis.opendocument.graphics","application/vnd.oasis.opendocument.graphics-template","application/vnd.ms-excel.sheet.macroenabled.12","application/vnd.ms-word.document.macroenabled.12","application/vnd.ms-word.template.macroenabled.12","application/vnd.ms-powerpoint.template.macroenabled.12","application/vnd.ms-powerpoint.presentation.macroenabled.12","application/java-archive","application/vnd.rn-realmedia","application/x-spss-sav","application/x-ms-regedit","application/x-ft-windows-registry-hive","application/x-jmp-data"];var K=4100,bi=K-2,z=1024*1024,wt=1024,Ci=2**31-1,A=16*1024*1024,xe=z,yt=z,Si=A,Fi=1,kt=100,Ie=A,bt=64,Ct=xe,Ei=256,Ti=512,vi=A,Ai=512,Ii=512,St=256,Ft=xe,Et=xe,Bi=xe,Tt=A,Di=new Set(["Unexpected signature","Encrypted ZIP","Expected Central-File-Header signature"]),Oi=["ZIP entry count exceeds ","Unsupported ZIP compression method:","ZIP entry compressed data exceeds ","ZIP entry decompressed data exceeds ","Expected data-descriptor-signature at position "],zi=new Set(["Z_BUF_ERROR","Z_DATA_ERROR","ERR_INVALID_STATE"]),M=class extends Error{};function Mi(i){let e=i?.streamReader;if(e?.constructor?.name!=="WebStreamByobReader")return i;let{reader:t}=e,r=async()=>{await t.cancel(),t.releaseLock()};return e.close=r,e.abort=async()=>{e.interrupted=!0,await r()},i}function Oe(i,e,t){if(!Number.isFinite(i)||i<0||i>e)throw new M(`${t} has invalid size ${i} (maximum ${e} bytes)`);return i}async function R(i,e,{maximumLength:t=A,reason:r="skip"}={}){let n=Oe(e,t,r);await i.ignore(n)}async function Be(i,e,t,{maximumLength:r=e.length,reason:n="read"}={}){let o=t?.length??e.length,s=Oe(o,r,n);return i.readBuffer(e,{...t,length:s})}async function Li(i,{maximumLength:e=z}={}){let n=new ReadableStream({start(a){a.enqueue(i),a.close()}}).pipeThrough(new DecompressionStream("deflate-raw")).getReader(),o=[],s=0;try{for(;;){let{done:a,value:c}=await n.read();if(a)break;if(s+=c.length,s>e)throw await n.cancel(),new Error(`ZIP entry decompressed data exceeds ${e} bytes`);o.push(c)}}finally{n.releaseLock()}let f=new Uint8Array(s),m=0;for(let a of o)f.set(a,m),m+=a.length;return f}var Bt=134695760,de=16,Ui=de-1;function Ri(i,e){if(i.length<de)return-1;let t=i.length-de;for(let r=0;r<=t;r++)if(x.get(i,r)===Bt&&x.get(i,r+8)===e+r)return r;return-1}function Pi(i){return(i.codePointAt(0)&32)!==0}function Ni(i,e){let t=new Uint8Array(e),r=0;for(let n of i)t.set(n,r),r+=n.length;return t}async function ji(i,{shouldBuffer:e,maximumLength:t=z}={}){let{syncBuffer:r}=i,{length:n}=r,o=[],s=0;for(;;){let f=await i.tokenizer.peekBuffer(r,{mayBeLess:!0}),m=Ri(r.subarray(0,f),s),a=m>=0?0:f===n?Math.min(Ui,f-1):0,c=m>=0?m:f-a;if(c===0)break;if(s+=c,s>t)throw new Error(`ZIP entry compressed data exceeds ${t} bytes`);if(e){let p=new Uint8Array(c);await i.tokenizer.readBuffer(p),o.push(p)}else await i.tokenizer.ignore(c);if(m>=0)break}if(C(i.tokenizer)||(i.knownSizeDescriptorScannedBytes+=s),!!e)return Ni(o,s)}function _i(i,e){return C(i.tokenizer)?Math.max(0,A-(i.tokenizer.position-e)):Math.max(0,z-i.knownSizeDescriptorScannedBytes)}async function $i(i,e,{shouldBuffer:t,maximumDescriptorLength:r=z}={}){if(e.dataDescriptor&&e.compressedSize===0)return ji(i,{shouldBuffer:t,maximumLength:r});if(!t){await R(i.tokenizer,e.compressedSize,{maximumLength:C(i.tokenizer)?z:i.tokenizer.fileInfo.size,reason:"ZIP entry compressed data"});return}let n=Hi(i.tokenizer);if(!Number.isFinite(e.compressedSize)||e.compressedSize<0||e.compressedSize>n)throw new Error(`ZIP entry compressed data exceeds ${n} bytes`);let o=new Uint8Array(e.compressedSize);return await i.tokenizer.readBuffer(o),o}G.prototype.inflate=async function(i,e,t){if(i.compressedMethod===0)return t(e);if(i.compressedMethod!==8)throw new Error(`Unsupported ZIP compression method: ${i.compressedMethod}`);let r=await Li(e,{maximumLength:z});return t(r)};G.prototype.unzip=async function(i){let e=!1,t=0,r=this.tokenizer.position;this.knownSizeDescriptorScannedBytes=0;do{if(ee(this.tokenizer,r,A))throw new M(`ZIP stream probing exceeds ${A} bytes`);let n=await this.readLocalFileHeader();if(!n)break;if(t++,t>wt)throw new Error(`ZIP entry count exceeds ${wt}`);let o=i(n);e=!!o.stop,await this.tokenizer.ignore(n.extraFieldLength);let s=await $i(this,n,{shouldBuffer:!!o.handler,maximumDescriptorLength:Math.min(z,_i(this,r))});if(o.handler&&await this.inflate(n,s,o.handler),n.dataDescriptor){let f=new Uint8Array(de);if(await this.tokenizer.readBuffer(f),x.get(f,0)!==Bt)throw new Error(`Expected data-descriptor-signature at position ${this.tokenizer.position-f.length}`)}if(ee(this.tokenizer,r,A))throw new M(`ZIP stream probing exceeds ${A} bytes`)}while(!e)};function Wi(i,e){let t=i.getReader(),r=0,n=!1,o=!1,s=async f=>{n||o||(o=!0,await t.cancel(f))};return new ReadableStream({async pull(f){if(r>=e){f.close(),await s();return}let{done:m,value:a}=await t.read();if(m||!a){n=!0,f.close();return}let c=e-r;if(a.length>c){f.enqueue(a.subarray(0,c)),r+=c,f.close(),await s();return}f.enqueue(a),r+=a.length},async cancel(f){await s(f)}})}async function ze(i,e){return new De(e).fromBuffer(i)}function vt(i){switch(i=i.toLowerCase(),i){case"application/epub+zip":return{ext:"epub",mime:i};case"application/vnd.oasis.opendocument.text":return{ext:"odt",mime:i};case"application/vnd.oasis.opendocument.text-template":return{ext:"ott",mime:i};case"application/vnd.oasis.opendocument.spreadsheet":return{ext:"ods",mime:i};case"application/vnd.oasis.opendocument.spreadsheet-template":return{ext:"ots",mime:i};case"application/vnd.oasis.opendocument.presentation":return{ext:"odp",mime:i};case"application/vnd.oasis.opendocument.presentation-template":return{ext:"otp",mime:i};case"application/vnd.oasis.opendocument.graphics":return{ext:"odg",mime:i};case"application/vnd.oasis.opendocument.graphics-template":return{ext:"otg",mime:i};case"application/vnd.openxmlformats-officedocument.presentationml.slideshow":return{ext:"ppsx",mime:i};case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":return{ext:"xlsx",mime:i};case"application/vnd.ms-excel.sheet.macroenabled":return{ext:"xlsm",mime:"application/vnd.ms-excel.sheet.macroenabled.12"};case"application/vnd.openxmlformats-officedocument.spreadsheetml.template":return{ext:"xltx",mime:i};case"application/vnd.ms-excel.template.macroenabled":return{ext:"xltm",mime:"application/vnd.ms-excel.template.macroenabled.12"};case"application/vnd.ms-powerpoint.slideshow.macroenabled":return{ext:"ppsm",mime:"application/vnd.ms-powerpoint.slideshow.macroenabled.12"};case"application/vnd.openxmlformats-officedocument.wordprocessingml.document":return{ext:"docx",mime:i};case"application/vnd.ms-word.document.macroenabled":return{ext:"docm",mime:"application/vnd.ms-word.document.macroenabled.12"};case"application/vnd.openxmlformats-officedocument.wordprocessingml.template":return{ext:"dotx",mime:i};case"application/vnd.ms-word.template.macroenabledtemplate":return{ext:"dotm",mime:"application/vnd.ms-word.template.macroenabled.12"};case"application/vnd.openxmlformats-officedocument.presentationml.template":return{ext:"potx",mime:i};case"application/vnd.ms-powerpoint.template.macroenabled":return{ext:"potm",mime:"application/vnd.ms-powerpoint.template.macroenabled.12"};case"application/vnd.openxmlformats-officedocument.presentationml.presentation":return{ext:"pptx",mime:i};case"application/vnd.ms-powerpoint.presentation.macroenabled":return{ext:"pptm",mime:"application/vnd.ms-powerpoint.presentation.macroenabled.12"};case"application/vnd.ms-visio.drawing":return{ext:"vsdx",mime:"application/vnd.visio"};case"application/vnd.ms-package.3dmanufacturing-3dmodel+xml":return{ext:"3mf",mime:"model/3mf"};default:}}function O(i,e,t){t={offset:0,...t};for(let[r,n]of e.entries())if(t.mask){if(n!==(t.mask[r]&i[r+t.offset]))return!1}else if(n!==i[r+t.offset])return!1;return!0}function Gi(i){return Number.isFinite(i)?Math.max(1,Math.trunc(i)):K}function Zi(i,e,t){return t===void 0?i.read(e):(t.throwIfAborted(),new Promise((r,n)=>{let o=()=>{t.removeEventListener("abort",s)},s=()=>{let f=t.reason;o(),(async()=>{try{await i.cancel(f)}catch{}})(),n(f)};t.addEventListener("abort",s,{once:!0}),(async()=>{try{let f=await i.read(e);o(),r(f)}catch(f){o(),n(f)}})()}))}function Vi(i){return Number.isFinite(i)?Math.max(0,Math.min(bi,Math.trunc(i))):0}function qi(i){return Number.isFinite(i)?Math.max(0,i):Number.MAX_SAFE_INTEGER}function C(i){let e=i.fileInfo.size;return!Number.isFinite(e)||e===Number.MAX_SAFE_INTEGER}function ee(i,e,t){return C(i)&&i.position-e>t}function Hi(i){let e=i.fileInfo.size,t=Number.isFinite(e)?Math.max(0,e-i.position):Number.MAX_SAFE_INTEGER;return Math.min(t,Ci)}function Ji(i){if(i instanceof l||i instanceof M)return!0;if(!(i instanceof Error))return!1;if(Di.has(i.message)||zi.has(i.code))return!0;for(let e of Oi)if(i.message.startsWith(e))return!0;return!1}function At(i,e=z){let t=[i.compressedSize,i.uncompressedSize];for(let r of t)if(!Number.isFinite(r)||r<0||r>e)return!1;return!0}function Xi(){return{hasContentTypesEntry:!1,hasParsedContentTypesEntry:!1,isParsingContentTypes:!1,hasUnparseableContentTypes:!1,hasWordDirectory:!1,hasPresentationDirectory:!1,hasSpreadsheetDirectory:!1,hasThreeDimensionalModelEntry:!1}}function Qi(i,e){e.startsWith("word/")&&(i.hasWordDirectory=!0),e.startsWith("ppt/")&&(i.hasPresentationDirectory=!0),e.startsWith("xl/")&&(i.hasSpreadsheetDirectory=!0),e.startsWith("3D/")&&e.endsWith(".model")&&(i.hasThreeDimensionalModelEntry=!0)}function It(i){if(!(!i.hasContentTypesEntry||i.hasUnparseableContentTypes||i.isParsingContentTypes||i.hasParsedContentTypesEntry)){if(i.hasWordDirectory)return{ext:"docx",mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"};if(i.hasPresentationDirectory)return{ext:"pptx",mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation"};if(i.hasSpreadsheetDirectory)return{ext:"xlsx",mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"};if(i.hasThreeDimensionalModelEntry)return{ext:"3mf",mime:"model/3mf"}}}function Yi(i){let e=i.indexOf('.main+xml"');if(e===-1){let n="application/vnd.ms-package.3dmanufacturing-3dmodel+xml";return i.includes(`ContentType="${n}"`)?n:void 0}let t=i.slice(0,e),r=t.lastIndexOf('"');return t.slice(r+1)}var De=class i{constructor(e){let t=Vi(e?.mpegOffsetTolerance);this.options={...e,mpegOffsetTolerance:t},this.detectors=[...this.options.customDetectors??[],{id:"core",detect:this.detectConfident},{id:"core.imprecise",detect:this.detectImprecise}],this.tokenizerOptions={abortSignal:this.options.signal},this.gzipProbeDepth=0}getTokenizerOptions(){return{...this.tokenizerOptions}}createTokenizerFromWebStream(e){return Mi(je(e,this.getTokenizerOptions()))}async parseTokenizer(e,t=0){this.detectionReentryCount=t;let r=e.position;for(let n of this.detectors){let o;try{o=await n.detect(e)}catch(s){if(s instanceof l||s instanceof M)return;throw s}if(o)return o;if(r!==e.position)return}}async fromTokenizer(e){try{return await this.parseTokenizer(e)}finally{await e.close()}}async fromBuffer(e){if(!(e instanceof Uint8Array||e instanceof ArrayBuffer))throw new TypeError(`Expected the \`input\` argument to be of type \`Uint8Array\` or \`ArrayBuffer\`, got \`${typeof e}\``);let t=e instanceof Uint8Array?e:new Uint8Array(e);if(t?.length>1)return this.fromTokenizer(_e(t,this.getTokenizerOptions()))}async fromBlob(e){this.options.signal?.throwIfAborted();let t=$e(e,this.getTokenizerOptions());return this.fromTokenizer(t)}async fromStream(e){this.options.signal?.throwIfAborted();let t=this.createTokenizerFromWebStream(e);return this.fromTokenizer(t)}async toDetectionStream(e,t){let r=Gi(t?.sampleSize??K),n,o,s=e.getReader({mode:"byob"});try{let{value:a,done:c}=await Zi(s,new Uint8Array(r),this.options.signal);if(o=a,!c&&a)try{n=await this.fromBuffer(a.subarray(0,r))}catch(p){if(!(p instanceof l))throw p;n=void 0}o=a}finally{s.releaseLock()}let f=new TransformStream({async start(a){a.enqueue(o)},transform(a,c){c.enqueue(a)}}),m=e.pipeThrough(f);return m.fileType=n,m}async detectGzip(e){if(this.gzipProbeDepth>=Fi)return{ext:"gz",mime:"application/gzip"};let t=new Y(e),r=Wi(t.inflate(),Si),n=C(e),o,s,f,m;if(n){let a=new AbortController;o=setTimeout(()=>{a.abort(new DOMException(`Operation timed out after ${kt} ms`,"TimeoutError"))},kt),s=this.options.signal===void 0?a.signal:AbortSignal.any([this.options.signal,a.signal]),f=new i({...this.options,signal:s}),f.gzipProbeDepth=this.gzipProbeDepth+1}else this.gzipProbeDepth++;try{m=await(f??this).fromStream(r)}catch(a){if(a?.name==="AbortError"&&s?.reason?.name!=="TimeoutError")throw a}finally{clearTimeout(o),n||this.gzipProbeDepth--}return m?.ext==="tar"?{ext:"tar.gz",mime:"application/gzip"}:{ext:"gz",mime:"application/gzip"}}check(e,t){return O(this.buffer,e,t)}checkString(e,t){return this.check(lt(e,t?.encoding),t)}detectConfident=async e=>{if(this.buffer=new Uint8Array(K),e.fileInfo.size===void 0&&(e.fileInfo.size=Number.MAX_SAFE_INTEGER),this.tokenizer=e,C(e)&&(await e.peekBuffer(this.buffer,{length:3,mayBeLess:!0}),this.check([31,139,8])))return this.detectGzip(e);if(await e.peekBuffer(this.buffer,{length:32,mayBeLess:!0}),this.check([66,77]))return{ext:"bmp",mime:"image/bmp"};if(this.check([11,119]))return{ext:"ac3",mime:"audio/vnd.dolby.dd-raw"};if(this.check([120,1]))return{ext:"dmg",mime:"application/x-apple-diskimage"};if(this.check([77,90]))return{ext:"exe",mime:"application/x-msdownload"};if(this.check([37,33]))return await e.peekBuffer(this.buffer,{length:24,mayBeLess:!0}),this.checkString("PS-Adobe-",{offset:2})&&this.checkString(" EPSF-",{offset:14})?{ext:"eps",mime:"application/eps"}:{ext:"ps",mime:"application/postscript"};if(this.check([31,160])||this.check([31,157]))return{ext:"Z",mime:"application/x-compress"};if(this.check([199,113]))return{ext:"cpio",mime:"application/x-cpio"};if(this.check([96,234]))return{ext:"arj",mime:"application/x-arj"};if(this.check([239,187,191]))return this.detectionReentryCount>=St?void 0:(this.detectionReentryCount++,await this.tokenizer.ignore(3),this.detectConfident(e));if(this.check([71,73,70]))return{ext:"gif",mime:"image/gif"};if(this.check([73,73,188]))return{ext:"jxr",mime:"image/vnd.ms-photo"};if(this.check([31,139,8]))return this.detectGzip(e);if(this.check([66,90,104]))return{ext:"bz2",mime:"application/x-bzip2"};if(this.checkString("ID3")){await R(e,6,{maximumLength:6,reason:"ID3 header prefix"});let t=await e.readToken(xt),r=C(e);if(!Number.isFinite(t)||t<0||r&&(t>Ie||e.position+t>Ie))return;if(e.position+t>e.fileInfo.size)return r?void 0:{ext:"mp3",mime:"audio/mpeg"};try{await R(e,t,{maximumLength:r?Ie:e.fileInfo.size,reason:"ID3 payload"})}catch(n){if(n instanceof l)return;throw n}return this.detectionReentryCount>=St?void 0:(this.detectionReentryCount++,this.parseTokenizer(e,this.detectionReentryCount))}if(this.checkString("MP+"))return{ext:"mpc",mime:"audio/x-musepack"};if((this.buffer[0]===67||this.buffer[0]===70)&&this.check([87,83],{offset:1}))return{ext:"swf",mime:"application/x-shockwave-flash"};if(this.check([255,216,255]))return this.check([247],{offset:3})?{ext:"jls",mime:"image/jls"}:{ext:"jpg",mime:"image/jpeg"};if(this.check([79,98,106,1]))return{ext:"avro",mime:"application/avro"};if(this.checkString("FLIF"))return{ext:"flif",mime:"image/flif"};if(this.checkString("8BPS"))return{ext:"psd",mime:"image/vnd.adobe.photoshop"};if(this.checkString("MPCK"))return{ext:"mpc",mime:"audio/x-musepack"};if(this.checkString("FORM"))return{ext:"aif",mime:"audio/aiff"};if(this.checkString("icns",{offset:0}))return{ext:"icns",mime:"image/icns"};if(this.check([80,75,3,4])){let t,r=Xi();try{await new G(e).unzip(n=>{Qi(r,n.filename);let o=n.filename==="[Content_Types].xml",s=It(r);if(!o&&s)return t=s,{stop:!0};switch(n.filename){case"META-INF/mozilla.rsa":return t={ext:"xpi",mime:"application/x-xpinstall"},{stop:!0};case"META-INF/MANIFEST.MF":return t={ext:"jar",mime:"application/java-archive"},{stop:!0};case"mimetype":return At(n,yt)?{async handler(f){let m=new TextDecoder("utf-8").decode(f).trim();t=vt(m)},stop:!0}:{};case"[Content_Types].xml":return r.hasContentTypesEntry=!0,At(n,yt)?(r.isParsingContentTypes=!0,{async handler(f){let m=new TextDecoder("utf-8").decode(f),a=Yi(m);a&&(t=vt(a)),r.hasParsedContentTypesEntry=!0,r.isParsingContentTypes=!1},stop:!0}):(r.hasUnparseableContentTypes=!0,{});default:return/classes\d*\.dex/.test(n.filename)?(t={ext:"apk",mime:"application/vnd.android.package-archive"},{stop:!0}):{}}})}catch(n){if(!Ji(n))throw n;r.isParsingContentTypes&&(r.isParsingContentTypes=!1,r.hasUnparseableContentTypes=!0)}return t??It(r)??{ext:"zip",mime:"application/zip"}}if(this.checkString("OggS")){await e.ignore(28);let t=new Uint8Array(8);return await e.readBuffer(t),O(t,[79,112,117,115,72,101,97,100])?{ext:"opus",mime:"audio/ogg; codecs=opus"}:O(t,[128,116,104,101,111,114,97])?{ext:"ogv",mime:"video/ogg"}:O(t,[1,118,105,100,101,111,0])?{ext:"ogm",mime:"video/ogg"}:O(t,[127,70,76,65,67])?{ext:"oga",mime:"audio/ogg"}:O(t,[83,112,101,101,120,32,32])?{ext:"spx",mime:"audio/ogg"}:O(t,[1,118,111,114,98,105,115])?{ext:"ogg",mime:"audio/ogg"}:{ext:"ogx",mime:"application/ogg"}}if(this.check([80,75])&&(this.buffer[2]===3||this.buffer[2]===5||this.buffer[2]===7)&&(this.buffer[3]===4||this.buffer[3]===6||this.buffer[3]===8))return{ext:"zip",mime:"application/zip"};if(this.checkString("MThd"))return{ext:"mid",mime:"audio/midi"};if(this.checkString("wOFF")&&(this.check([0,1,0,0],{offset:4})||this.checkString("OTTO",{offset:4})))return{ext:"woff",mime:"font/woff"};if(this.checkString("wOF2")&&(this.check([0,1,0,0],{offset:4})||this.checkString("OTTO",{offset:4})))return{ext:"woff2",mime:"font/woff2"};if(this.check([212,195,178,161])||this.check([161,178,195,212]))return{ext:"pcap",mime:"application/vnd.tcpdump.pcap"};if(this.checkString("DSD "))return{ext:"dsf",mime:"audio/x-dsf"};if(this.checkString("LZIP"))return{ext:"lz",mime:"application/x-lzip"};if(this.checkString("fLaC"))return{ext:"flac",mime:"audio/flac"};if(this.check([66,80,71,251]))return{ext:"bpg",mime:"image/bpg"};if(this.checkString("wvpk"))return{ext:"wv",mime:"audio/wavpack"};if(this.checkString("%PDF"))return{ext:"pdf",mime:"application/pdf"};if(this.check([0,97,115,109]))return{ext:"wasm",mime:"application/wasm"};if(this.check([73,73])){let t=await this.readTiffHeader(!1);if(t)return t}if(this.check([77,77])){let t=await this.readTiffHeader(!0);if(t)return t}if(this.checkString("MAC "))return{ext:"ape",mime:"audio/ape"};if(this.check([26,69,223,163])){async function t(){let m=await e.peekNumber(qe),a=128,c=0;for(;(m&a)===0&&a!==0;)++c,a>>=1;let p=new Uint8Array(c+1);return await Be(e,p,void 0,{maximumLength:p.length,reason:"EBML field"}),p}async function r(){let m=await t(),a=await t();a[0]^=128>>a.length-1;let c=Math.min(6,a.length),p=new DataView(m.buffer),u=new DataView(a.buffer,a.length-c,c);return{id:Ae(p),len:Ae(u)}}async function n(m){let a=0;for(;m>0;){if(a++,a>Ei||ee(e,s,A))return;let c=e.position,p=await r();if(p.id===17026){if(p.len>bt)return;let u=Oe(p.len,bt,"EBML DocType");return(await e.readToken(new F(u))).replaceAll(/\00.*$/g,"")}if(C(e)&&(!Number.isFinite(p.len)||p.len<0||p.len>Ct)||(await R(e,p.len,{maximumLength:C(e)?Ct:e.fileInfo.size,reason:"EBML payload"}),--m,e.position<=c))return}}let o=await r(),s=e.position;switch(await n(o.len)){case"webm":return{ext:"webm",mime:"video/webm"};case"matroska":return{ext:"mkv",mime:"video/matroska"};default:return}}if(this.checkString("SQLi"))return{ext:"sqlite",mime:"application/x-sqlite3"};if(this.check([78,69,83,26]))return{ext:"nes",mime:"application/x-nintendo-nes-rom"};if(this.checkString("Cr24"))return{ext:"crx",mime:"application/x-google-chrome-extension"};if(this.checkString("MSCF")||this.checkString("ISc("))return{ext:"cab",mime:"application/vnd.ms-cab-compressed"};if(this.check([237,171,238,219]))return{ext:"rpm",mime:"application/x-rpm"};if(this.check([197,208,211,198]))return{ext:"eps",mime:"application/eps"};if(this.check([40,181,47,253]))return{ext:"zst",mime:"application/zstd"};if(this.check([127,69,76,70]))return{ext:"elf",mime:"application/x-elf"};if(this.check([33,66,68,78]))return{ext:"pst",mime:"application/vnd.ms-outlook"};if(this.checkString("PAR1")||this.checkString("PARE"))return{ext:"parquet",mime:"application/vnd.apache.parquet"};if(this.checkString("ttcf"))return{ext:"ttc",mime:"font/collection"};if(this.check([254,237,250,206])||this.check([254,237,250,207])||this.check([206,250,237,254])||this.check([207,250,237,254]))return{ext:"macho",mime:"application/x-mach-binary"};if(this.check([4,34,77,24]))return{ext:"lz4",mime:"application/x-lz4"};if(this.checkString("regf"))return{ext:"dat",mime:"application/x-ft-windows-registry-hive"};if(this.checkString("$FL2")||this.checkString("$FL3"))return{ext:"sav",mime:"application/x-spss-sav"};if(this.check([79,84,84,79,0]))return{ext:"otf",mime:"font/otf"};if(this.checkString("#!AMR"))return{ext:"amr",mime:"audio/amr"};if(this.checkString("{\\rtf"))return{ext:"rtf",mime:"application/rtf"};if(this.check([70,76,86,1]))return{ext:"flv",mime:"video/x-flv"};if(this.checkString("IMPM"))return{ext:"it",mime:"audio/x-it"};if(this.checkString("-lh0-",{offset:2})||this.checkString("-lh1-",{offset:2})||this.checkString("-lh2-",{offset:2})||this.checkString("-lh3-",{offset:2})||this.checkString("-lh4-",{offset:2})||this.checkString("-lh5-",{offset:2})||this.checkString("-lh6-",{offset:2})||this.checkString("-lh7-",{offset:2})||this.checkString("-lzs-",{offset:2})||this.checkString("-lz4-",{offset:2})||this.checkString("-lz5-",{offset:2})||this.checkString("-lhd-",{offset:2}))return{ext:"lzh",mime:"application/x-lzh-compressed"};if(this.check([0,0,1,186])){if(this.check([33],{offset:4,mask:[241]}))return{ext:"mpg",mime:"video/MP1S"};if(this.check([68],{offset:4,mask:[196]}))return{ext:"mpg",mime:"video/MP2P"}}if(this.checkString("ITSF"))return{ext:"chm",mime:"application/vnd.ms-htmlhelp"};if(this.check([202,254,186,190])){let t=be.get(this.buffer,4),r=_.get(this.buffer,6);if(t>0&&t<=30)return{ext:"macho",mime:"application/x-mach-binary"};if(r>30)return{ext:"class",mime:"application/java-vm"}}if(this.checkString(".RMF"))return{ext:"rm",mime:"application/vnd.rn-realmedia"};if(this.checkString("DRACO"))return{ext:"drc",mime:"application/vnd.google.draco"};if(this.check([253,55,122,88,90,0]))return{ext:"xz",mime:"application/x-xz"};if(this.checkString("<?xml "))return{ext:"xml",mime:"application/xml"};if(this.check([55,122,188,175,39,28]))return{ext:"7z",mime:"application/x-7z-compressed"};if(this.check([82,97,114,33,26,7])&&(this.buffer[6]===0||this.buffer[6]===1))return{ext:"rar",mime:"application/x-rar-compressed"};if(this.checkString("solid "))return{ext:"stl",mime:"model/stl"};if(this.checkString("AC")){let t=new F(4,"latin1").get(this.buffer,2);if(t.match("^d*")&&t>=1e3&&t<=1050)return{ext:"dwg",mime:"image/vnd.dwg"}}if(this.checkString("070707"))return{ext:"cpio",mime:"application/x-cpio"};if(this.checkString("BLENDER"))return{ext:"blend",mime:"application/x-blender"};if(this.checkString("!<arch>"))return await e.ignore(8),await e.readToken(new F(13,"ascii"))==="debian-binary"?{ext:"deb",mime:"application/x-deb"}:{ext:"ar",mime:"application/x-unix-archive"};if(this.checkString("WEBVTT")&&[`
7
+ `,"\r"," "," ","\0"].some(t=>this.checkString(t,{offset:6})))return{ext:"vtt",mime:"text/vtt"};if(this.check([137,80,78,71,13,10,26,10])){let t={ext:"png",mime:"image/png"},r={ext:"apng",mime:"image/apng"};await e.ignore(8);async function n(){return{length:await e.readToken(He),type:await e.readToken(new F(4,"latin1"))}}let o=C(e),s=e.position,f=0,m=!1;do{if(f++,f>Ti||ee(e,s,vi))break;let a=e.position,c=await n();if(c.length<0)return;if(c.type==="IHDR"){if(c.length!==13)return;m=!0}switch(c.type){case"IDAT":return t;case"acTL":return r;default:if(!m&&c.type!=="CgBI")return;if(o&&c.length>Ft)return m&&Pi(c.type)?t:void 0;try{await R(e,c.length+4,{maximumLength:o?Ft+4:e.fileInfo.size,reason:"PNG chunk payload"})}catch(p){if(!o&&(p instanceof M||p instanceof l))return t;throw p}}if(e.position<=a)break}while(e.position+8<e.fileInfo.size);return t}if(this.check([65,82,82,79,87,49,0,0]))return{ext:"arrow",mime:"application/vnd.apache.arrow.file"};if(this.check([103,108,84,70,2,0,0,0]))return{ext:"glb",mime:"model/gltf-binary"};if(this.check([102,114,101,101],{offset:4})||this.check([109,100,97,116],{offset:4})||this.check([109,111,111,118],{offset:4})||this.check([119,105,100,101],{offset:4}))return{ext:"mov",mime:"video/quicktime"};if(this.check([73,73,82,79,8,0,0,0,24]))return{ext:"orf",mime:"image/x-olympus-orf"};if(this.checkString("gimp xcf "))return{ext:"xcf",mime:"image/x-xcf"};if(this.checkString("ftyp",{offset:4})&&(this.buffer[8]&96)!==0){let t=new F(4,"latin1").get(this.buffer,8).replace("\0"," ").trim();switch(t){case"avif":case"avis":return{ext:"avif",mime:"image/avif"};case"mif1":return{ext:"heic",mime:"image/heif"};case"msf1":return{ext:"heic",mime:"image/heif-sequence"};case"heic":case"heix":return{ext:"heic",mime:"image/heic"};case"hevc":case"hevx":return{ext:"heic",mime:"image/heic-sequence"};case"qt":return{ext:"mov",mime:"video/quicktime"};case"M4V":case"M4VH":case"M4VP":return{ext:"m4v",mime:"video/x-m4v"};case"M4P":return{ext:"m4p",mime:"video/mp4"};case"M4B":return{ext:"m4b",mime:"audio/mp4"};case"M4A":return{ext:"m4a",mime:"audio/x-m4a"};case"F4V":return{ext:"f4v",mime:"video/mp4"};case"F4P":return{ext:"f4p",mime:"video/mp4"};case"F4A":return{ext:"f4a",mime:"audio/mp4"};case"F4B":return{ext:"f4b",mime:"audio/mp4"};case"crx":return{ext:"cr3",mime:"image/x-canon-cr3"};default:return t.startsWith("3g")?t.startsWith("3g2")?{ext:"3g2",mime:"video/3gpp2"}:{ext:"3gp",mime:"video/3gpp"}:{ext:"mp4",mime:"video/mp4"}}}if(this.checkString(`REGEDIT4\r
8
+ `))return{ext:"reg",mime:"application/x-ms-regedit"};if(this.check([82,73,70,70])){if(this.checkString("WEBP",{offset:8}))return{ext:"webp",mime:"image/webp"};if(this.check([65,86,73],{offset:8}))return{ext:"avi",mime:"video/vnd.avi"};if(this.check([87,65,86,69],{offset:8}))return{ext:"wav",mime:"audio/wav"};if(this.check([81,76,67,77],{offset:8}))return{ext:"qcp",mime:"audio/qcelp"}}if(this.check([73,73,85,0,24,0,0,0,136,231,116,216]))return{ext:"rw2",mime:"image/x-panasonic-rw2"};if(this.check([48,38,178,117,142,102,207,17,166,217])){let t=!1;try{async function r(){let f=new Uint8Array(16);return await Be(e,f,void 0,{maximumLength:f.length,reason:"ASF header GUID"}),{id:f,size:Number(await e.readToken(Je))}}await R(e,30,{maximumLength:30,reason:"ASF header prelude"});let n=C(e),o=e.position,s=0;for(;e.position+24<e.fileInfo.size&&(s++,!(s>Ai||ee(e,o,A)));){let f=e.position,m=await r(),a=m.size-24;if(!Number.isFinite(a)||a<0){t=!0;break}if(O(m.id,[145,7,220,183,183,169,207,17,142,230,0,192,12,32,83,101])){let c=new Uint8Array(16);if(a-=await Be(e,c,void 0,{maximumLength:c.length,reason:"ASF stream type GUID"}),O(c,[64,158,105,248,77,91,207,17,168,253,0,128,95,92,68,43]))return{ext:"asf",mime:"audio/x-ms-asf"};if(O(c,[192,239,25,188,77,91,207,17,168,253,0,128,95,92,68,43]))return{ext:"asf",mime:"video/x-ms-asf"};break}if(n&&a>Et){t=!0;break}if(await R(e,a,{maximumLength:n?Et:e.fileInfo.size,reason:"ASF header payload"}),e.position<=f){t=!0;break}}}catch(r){if(r instanceof l||r instanceof M)C(e)&&(t=!0);else throw r}return t?void 0:{ext:"asf",mime:"application/vnd.ms-asf"}}if(this.check([171,75,84,88,32,49,49,187,13,10,26,10]))return{ext:"ktx",mime:"image/ktx"};if((this.check([126,16,4])||this.check([126,24,4]))&&this.check([48,77,73,69],{offset:4}))return{ext:"mie",mime:"application/x-mie"};if(this.check([39,10,0,0,0,0,0,0,0,0,0,0],{offset:2}))return{ext:"shp",mime:"application/x-esri-shape"};if(this.check([255,79,255,81]))return{ext:"j2c",mime:"image/j2c"};if(this.check([0,0,0,12,106,80,32,32,13,10,135,10]))switch(await e.ignore(20),await e.readToken(new F(4,"ascii"))){case"jp2 ":return{ext:"jp2",mime:"image/jp2"};case"jpx ":return{ext:"jpx",mime:"image/jpx"};case"jpm ":return{ext:"jpm",mime:"image/jpm"};case"mjp2":return{ext:"mj2",mime:"image/mj2"};default:return}if(this.check([255,10])||this.check([0,0,0,12,74,88,76,32,13,10,135,10]))return{ext:"jxl",mime:"image/jxl"};if(this.check([254,255]))return this.checkString("<?xml ",{offset:2,encoding:"utf-16be"})?{ext:"xml",mime:"application/xml"}:void 0;if(this.check([208,207,17,224,161,177,26,225]))return{ext:"cfb",mime:"application/x-cfb"};if(await e.peekBuffer(this.buffer,{length:Math.min(256,e.fileInfo.size),mayBeLess:!0}),this.check([97,99,115,112],{offset:36}))return{ext:"icc",mime:"application/vnd.iccprofile"};if(this.checkString("**ACE",{offset:7})&&this.checkString("**",{offset:12}))return{ext:"ace",mime:"application/x-ace-compressed"};if(this.checkString("BEGIN:")){if(this.checkString("VCARD",{offset:6}))return{ext:"vcf",mime:"text/vcard"};if(this.checkString("VCALENDAR",{offset:6}))return{ext:"ics",mime:"text/calendar"}}if(this.checkString("FUJIFILMCCD-RAW"))return{ext:"raf",mime:"image/x-fujifilm-raf"};if(this.checkString("Extended Module:"))return{ext:"xm",mime:"audio/x-xm"};if(this.checkString("Creative Voice File"))return{ext:"voc",mime:"audio/x-voc"};if(this.check([4,0,0,0])&&this.buffer.length>=16){let t=new DataView(this.buffer.buffer).getUint32(12,!0);if(t>12&&this.buffer.length>=t+16)try{let r=new TextDecoder().decode(this.buffer.subarray(16,t+16));if(JSON.parse(r).files)return{ext:"asar",mime:"application/x-asar"}}catch{}}if(this.check([6,14,43,52,2,5,1,1,13,1,2,1,1,2]))return{ext:"mxf",mime:"application/mxf"};if(this.checkString("SCRM",{offset:44}))return{ext:"s3m",mime:"audio/x-s3m"};if(this.check([71])&&this.check([71],{offset:188}))return{ext:"mts",mime:"video/mp2t"};if(this.check([71],{offset:4})&&this.check([71],{offset:196}))return{ext:"mts",mime:"video/mp2t"};if(this.check([66,79,79,75,77,79,66,73],{offset:60}))return{ext:"mobi",mime:"application/x-mobipocket-ebook"};if(this.check([68,73,67,77],{offset:128}))return{ext:"dcm",mime:"application/dicom"};if(this.check([76,0,0,0,1,20,2,0,0,0,0,0,192,0,0,0,0,0,0,70]))return{ext:"lnk",mime:"application/x.ms.shortcut"};if(this.check([98,111,111,107,0,0,0,0,109,97,114,107,0,0,0,0]))return{ext:"alias",mime:"application/x.apple.alias"};if(this.checkString("Kaydara FBX Binary \0"))return{ext:"fbx",mime:"application/x.autodesk.fbx"};if(this.check([76,80],{offset:34})&&(this.check([0,0,1],{offset:8})||this.check([1,0,2],{offset:8})||this.check([2,0,2],{offset:8})))return{ext:"eot",mime:"application/vnd.ms-fontobject"};if(this.check([6,6,237,245,216,29,70,229,189,49,239,231,254,116,183,29]))return{ext:"indd",mime:"application/x-indesign"};if(this.check([255,255,0,0,7,0,0,0,4,0,0,0,1,0,1,0])||this.check([0,0,255,255,0,0,0,7,0,0,0,4,0,1,0,1]))return{ext:"jmp",mime:"application/x-jmp-data"};if(await e.peekBuffer(this.buffer,{length:Math.min(512,e.fileInfo.size),mayBeLess:!0}),this.checkString("ustar",{offset:257})&&(this.checkString("\0",{offset:262})||this.checkString(" ",{offset:262}))||this.check([0,0,0,0,0,0],{offset:257})&&dt(this.buffer))return{ext:"tar",mime:"application/x-tar"};if(this.check([255,254])){let t="utf-16le";return this.checkString("<?xml ",{offset:2,encoding:t})?{ext:"xml",mime:"application/xml"}:this.check([255,14],{offset:2})&&this.checkString("SketchUp Model",{offset:4,encoding:t})?{ext:"skp",mime:"application/vnd.sketchup.skp"}:this.checkString(`Windows Registry Editor Version 5.00\r
9
+ `,{offset:2,encoding:t})?{ext:"reg",mime:"application/x-ms-regedit"}:void 0}if(this.checkString("-----BEGIN PGP MESSAGE-----"))return{ext:"pgp",mime:"application/pgp-encrypted"}};detectImprecise=async e=>{this.buffer=new Uint8Array(K);let t=qi(e.fileInfo.size);if(await e.peekBuffer(this.buffer,{length:Math.min(8,t),mayBeLess:!0}),this.check([0,0,1,186])||this.check([0,0,1,179]))return{ext:"mpg",mime:"video/mpeg"};if(this.check([0,1,0,0,0]))return{ext:"ttf",mime:"font/ttf"};if(this.check([0,0,1,0]))return{ext:"ico",mime:"image/x-icon"};if(this.check([0,0,2,0]))return{ext:"cur",mime:"image/x-icon"};if(await e.peekBuffer(this.buffer,{length:Math.min(2+this.options.mpegOffsetTolerance,t),mayBeLess:!0}),this.buffer.length>=2+this.options.mpegOffsetTolerance)for(let r=0;r<=this.options.mpegOffsetTolerance;++r){let n=this.scanMpeg(r);if(n)return n}};async readTiffTag(e){let t=await this.tokenizer.readToken(e?_:h);switch(await this.tokenizer.ignore(10),t){case 50341:return{ext:"arw",mime:"image/x-sony-arw"};case 50706:return{ext:"dng",mime:"image/x-adobe-dng"};default:}}async readTiffIFD(e){let t=await this.tokenizer.readToken(e?_:h);if(!(t>Ii)&&!(C(this.tokenizer)&&2+t*12>Tt))for(let r=0;r<t;++r){let n=await this.readTiffTag(e);if(n)return n}}async readTiffHeader(e){let t={ext:"tif",mime:"image/tiff"},r=(e?_:h).get(this.buffer,2),n=(e?be:x).get(this.buffer,4);if(r===42){if(n>=6){if(this.checkString("CR",{offset:8}))return{ext:"cr2",mime:"image/x-canon-cr2"};if(n>=8){let f=(e?_:h).get(this.buffer,8),m=(e?_:h).get(this.buffer,10);if(f===28&&m===254||f===31&&m===11)return{ext:"nef",mime:"image/x-nikon-nef"}}}if(C(this.tokenizer)&&n>Bi)return t;let o=C(this.tokenizer)?Tt:this.tokenizer.fileInfo.size;try{await R(this.tokenizer,n,{maximumLength:o,reason:"TIFF IFD offset"})}catch(f){if(f instanceof l)return;throw f}let s;try{s=await this.readTiffIFD(e)}catch(f){if(f instanceof l)return;throw f}return s??t}if(r===43)return t}scanMpeg(e){if(this.check([255,224],{offset:e,mask:[255,224]})){if(this.check([16],{offset:e+1,mask:[22]}))return this.check([8],{offset:e+1,mask:[8]})?{ext:"aac",mime:"audio/aac"}:{ext:"aac",mime:"audio/aac"};if(this.check([2],{offset:e+1,mask:[6]}))return{ext:"mp3",mime:"audio/mpeg"};if(this.check([4],{offset:e+1,mask:[6]}))return{ext:"mp2",mime:"audio/mpeg"};if(this.check([6],{offset:e+1,mask:[6]}))return{ext:"mp1",mime:"audio/mpeg"}}}},Ki=new Set(ht),er=new Set(gt);var tr={name:"file",summary:"determine file type",usage:"file [OPTION]... FILE...",options:["-b, --brief do not prepend filenames to output","-i, --mime output MIME type strings","-L, --dereference follow symlinks"," --help display this help and exit"]},ir=new Map([[".js",{description:"JavaScript source",mime:"text/javascript"}],[".mjs",{description:"JavaScript module",mime:"text/javascript"}],[".cjs",{description:"CommonJS module",mime:"text/javascript"}],[".ts",{description:"TypeScript source",mime:"text/typescript"}],[".tsx",{description:"TypeScript JSX source",mime:"text/typescript"}],[".jsx",{description:"JavaScript JSX source",mime:"text/javascript"}],[".py",{description:"Python script",mime:"text/x-python"}],[".rb",{description:"Ruby script",mime:"text/x-ruby"}],[".go",{description:"Go source",mime:"text/x-go"}],[".rs",{description:"Rust source",mime:"text/x-rust"}],[".c",{description:"C source",mime:"text/x-c"}],[".h",{description:"C header",mime:"text/x-c"}],[".cpp",{description:"C++ source",mime:"text/x-c++"}],[".hpp",{description:"C++ header",mime:"text/x-c++"}],[".java",{description:"Java source",mime:"text/x-java"}],[".sh",{description:"Bourne-Again shell script",mime:"text/x-shellscript"}],[".bash",{description:"Bourne-Again shell script",mime:"text/x-shellscript"}],[".zsh",{description:"Zsh shell script",mime:"text/x-shellscript"}],[".json",{description:"JSON data",mime:"application/json"}],[".yaml",{description:"YAML data",mime:"text/yaml"}],[".yml",{description:"YAML data",mime:"text/yaml"}],[".xml",{description:"XML document",mime:"application/xml"}],[".csv",{description:"CSV text",mime:"text/csv"}],[".toml",{description:"TOML data",mime:"text/toml"}],[".html",{description:"HTML document",mime:"text/html"}],[".htm",{description:"HTML document",mime:"text/html"}],[".css",{description:"CSS stylesheet",mime:"text/css"}],[".svg",{description:"SVG image",mime:"image/svg+xml"}],[".md",{description:"Markdown document",mime:"text/markdown"}],[".markdown",{description:"Markdown document",mime:"text/markdown"}],[".txt",{description:"ASCII text",mime:"text/plain"}],[".rst",{description:"reStructuredText",mime:"text/x-rst"}],[".env",{description:"ASCII text",mime:"text/plain"}],[".gitignore",{description:"ASCII text",mime:"text/plain"}],[".dockerignore",{description:"ASCII text",mime:"text/plain"}]]),rr=new Map([["jpg","JPEG image data"],["jpeg","JPEG image data"],["png","PNG image data"],["gif","GIF image data"],["webp","WebP image data"],["bmp","PC bitmap"],["ico","MS Windows icon resource"],["tif","TIFF image data"],["tiff","TIFF image data"],["psd","Adobe Photoshop Document"],["avif","AVIF image"],["heic","HEIC image"],["heif","HEIF image"],["jxl","JPEG XL image"],["icns","Mac OS X icon"],["svg","SVG Scalable Vector Graphics image"],["pdf","PDF document"],["epub","EPUB document"],["mobi","Mobipocket E-book"],["djvu","DjVu document"],["zip","Zip archive data"],["gz","gzip compressed data"],["gzip","gzip compressed data"],["bz2","bzip2 compressed data"],["xz","XZ compressed data"],["tar","POSIX tar archive"],["rar","RAR archive data"],["7z","7-zip archive data"],["lz","lzip compressed data"],["lzma","LZMA compressed data"],["zst","Zstandard compressed data"],["cab","Microsoft Cabinet archive"],["ar","Unix ar archive"],["rpm","RPM package"],["deb","Debian binary package"],["apk","Android Package"],["dmg","Apple disk image"],["iso","ISO 9660 CD-ROM filesystem data"],["vhd","Microsoft Virtual Hard Disk"],["vhdx","Microsoft Virtual Hard Disk (new format)"],["qcow2","QEMU QCOW Image"],["mp3","Audio file with ID3"],["m4a","MPEG-4 audio"],["aac","AAC audio"],["wav","RIFF (little-endian) data, WAVE audio"],["flac","FLAC audio bitstream data"],["ogg","Ogg data"],["oga","Ogg audio"],["opus","Ogg Opus audio"],["aiff","AIFF audio"],["wma","Windows Media Audio"],["amr","AMR audio"],["mid","MIDI audio"],["midi","MIDI audio"],["ape","Monkey's Audio"],["mp4","ISO Media, MPEG-4"],["m4v","MPEG-4 video"],["webm","WebM"],["avi","RIFF (little-endian) data, AVI"],["mov","ISO Media, Apple QuickTime movie"],["mkv","Matroska data"],["wmv","Windows Media Video"],["flv","Flash Video"],["3gp","3GPP multimedia"],["3g2","3GPP2 multimedia"],["ogv","Ogg video"],["mts","MPEG transport stream"],["m2ts","MPEG transport stream"],["ts","MPEG transport stream"],["mpg","MPEG video"],["mpeg","MPEG video"],["exe","PE32 executable"],["dll","PE32 DLL"],["elf","ELF executable"],["mach","Mach-O executable"],["wasm","WebAssembly (wasm) binary module"],["dex","Android Dalvik executable"],["class","Java class file"],["swf","Adobe Flash"],["doc","Microsoft Word Document"],["docx","Microsoft Word 2007+ Document"],["xls","Microsoft Excel Spreadsheet"],["xlsx","Microsoft Excel 2007+ Spreadsheet"],["ppt","Microsoft PowerPoint Presentation"],["pptx","Microsoft PowerPoint 2007+ Presentation"],["odt","OpenDocument Text"],["ods","OpenDocument Spreadsheet"],["odp","OpenDocument Presentation"],["ttf","TrueType Font"],["otf","OpenType Font"],["woff","Web Open Font Format"],["woff2","Web Open Font Format 2"],["eot","Embedded OpenType font"],["stl","Stereolithography CAD"],["obj","Wavefront 3D Object"],["gltf","GL Transmission Format"],["glb","GL Transmission Format (binary)"],["sqlite","SQLite 3.x database"],["mdb","Microsoft Access Database"],["xml","XML document"],["json","JSON data"],["macho","Mach-O binary"],["ics","iCalendar data"],["vcf","vCard data"],["msi","Microsoft Installer"],["ps","PostScript"],["ai","Adobe Illustrator"],["indd","Adobe InDesign"],["sketch","Sketch design file"],["fig","Figma design file"],["xd","Adobe XD"],["blend","Blender"],["fbx","Autodesk FBX"],["lnk","MS Windows shortcut"],["alias","Mac OS alias"],["torrent","BitTorrent file"],["pcap","pcap capture file"],["arrow","Apache Arrow"],["parquet","Apache Parquet"]]);function Dt(i,e){let t=rr.get(i);if(t)return t;let[r,n]=e.split("/"),o=n?.split("+")[0]?.replace(/-/g," ")||i;switch(r){case"image":return`${o.toUpperCase()} image data`;case"audio":return`${o.toUpperCase()} audio`;case"video":return`${o.toUpperCase()} video`;case"font":return`${o} font`;case"model":return`${o} 3D model`;case"application":return n?.includes("zip")||n?.includes("compressed")?`${o} archive data`:n?.includes("executable")?`${o} executable`:`${i.toUpperCase()} data`;default:return`${i.toUpperCase()} data`}}function nr(i){let e=i.split("/").pop()||i;if(e.startsWith(".")&&!e.includes(".",1))return e;let t=e.lastIndexOf(".");return t===-1||t===0?"":e.slice(t).toLowerCase()}function or(i,e){if(i.startsWith("#!")){let a=i.split(`
10
+ `)[0];return a.includes("python")?{description:"Python script, ASCII text executable",mime:"text/x-python"}:a.includes("node")||a.includes("bun")||a.includes("deno")?{description:"JavaScript script, ASCII text executable",mime:"text/javascript"}:a.includes("bash")?{description:"Bourne-Again shell script, ASCII text executable",mime:"text/x-shellscript"}:a.includes("sh")?{description:"POSIX shell script, ASCII text executable",mime:"text/x-shellscript"}:a.includes("ruby")?{description:"Ruby script, ASCII text executable",mime:"text/x-ruby"}:a.includes("perl")?{description:"Perl script, ASCII text executable",mime:"text/x-perl"}:{description:"script, ASCII text executable",mime:"text/plain"}}let t=i.trimStart();if(t.startsWith("<?xml"))return{description:"XML document",mime:"application/xml"};if(t.startsWith("<!DOCTYPE html")||t.toLowerCase().startsWith("<html"))return{description:"HTML document",mime:"text/html"};let r=i.includes(`\r
11
+ `),n=i.includes("\r")&&!r,o="";r?o=", with CRLF line terminators":n&&(o=", with CR line terminators");let s=nr(e),f=s?ir.get(s):void 0;if(f)return f.mime.startsWith("text/")&&o?{description:`${f.description}${o}`,mime:f.mime}:f;let m=!1;for(let a=0;a<Math.min(i.length,8192);a++)if(i.charCodeAt(a)>127){m=!0;break}return m?{description:`UTF-8 Unicode text${o}`,mime:"text/plain; charset=utf-8"}:{description:`ASCII text${o}`,mime:"text/plain"}}var sr=[31,139,8];function ar(i){return sr.every((e,t)=>i[t]===e)}async function cr(i,e){if(e.length===0)return{description:"empty",mime:"inode/x-empty"};if(ar(e))return{description:Dt("gz","application/gzip"),mime:"application/gzip"};let t=await ze(e);if(t)return{description:Dt(t.ext,t.mime),mime:t.mime};let r=new TextDecoder("utf-8",{fatal:!1}).decode(e);return or(r,i)}var qn={name:"file",async execute(i,e){if(Pe(i))return Re(tr);let t=!1,r=!1,n=!1,o=[];for(let m of i)if(m.startsWith("--"))if(m==="--brief")t=!0;else if(m==="--mime"||m==="--mime-type")r=!0;else if(m==="--dereference")n=!0;else return ge("file",m);else if(m.startsWith("-")&&m!=="-")for(let a of m.slice(1))if(a==="b")t=!0;else if(a==="i")r=!0;else if(a==="L")n=!0;else return ge("file",`-${a}`);else o.push(m);if(o.length===0)return{stdout:"",stderr:`Usage: file [-bLi] FILE...
12
+ `,exitCode:1};let s=new Ne(Math.min(e.limits.maxOutputSize,e.limits.maxStringLength),"file"),f=0;for(let m of o){e.executionScope?.consumeLimited("file-operands",1,e.limits.maxArrayElements,"file");try{let a=e.fs.resolvePath(e.cwd,m),c=n?await e.fs.stat(a):await e.fs.lstat(a);if(c.isSymbolicLink){let b=await e.fs.readlink(a),w=r?"inode/symlink":`symbolic link to ${b}`;s.append(t?`${w}
13
+ `:`${m}: ${w}
14
+ `);continue}if(c.isDirectory){let b=r?"inode/directory":"directory";s.append(t?`${b}
15
+ `:`${m}: ${b}
16
+ `);continue}let p=await e.fs.readFileBuffer(a);e.executionScope?.consumeInput(p.byteLength,"file");let u=await cr(m,p),d=r?u.mime:u.description;s.append(t?`${d}
17
+ `:`${m}: ${d}
18
+ `)}catch(a){Ue(a),s.append(t?`cannot open
19
+ `:`${m}: cannot open (No such file or directory)
20
+ `),f=1}}return{stdout:s.build(),stderr:"",exitCode:f}}},Hn={name:"file",flags:[{flag:"-b",type:"boolean"},{flag:"-i",type:"boolean"},{flag:"-L",type:"boolean"}],needsArgs:!0};export{qn as a,Hn as b};
21
+ /*! Bundled license information:
22
+
23
+ ieee754/index.js:
24
+ (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
25
+ */
@@ -0,0 +1,2 @@
1
+ import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
+ function l(r=0){let t=[],n=[],e=0,i=r>0?"":void 0,f=0;return{append(u){if(i!==void 0){if(f++<r){i+=u;return}n[e++]=i,i=void 0}n[e++]=u,e===8192&&(t.push(n.join("")),e=0)},finish(){return i!==void 0?i:(n.length=e,t.length===0?n.join(""):(e>0&&(t.push(n.join("")),e=0,n.length=0),t.length===1?t[0]:t.join("")))}}}export{l as a};