@shopify/cli 4.2.0 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (392) hide show
  1. package/dist/{acorn-QBS5IYTX.js → acorn-7M27BPGP.js} +1 -1
  2. package/dist/analytics-JH64XI2J.js +1 -0
  3. package/dist/analytics-MEGKKFGF.js +1 -0
  4. package/dist/{angular-UTTM4Y4S.js → angular-DW5TQVCM.js} +1 -1
  5. package/dist/{babel-JS32NLHY.js → babel-I2RLWM7N.js} +1 -1
  6. package/dist/bootstrap.js +1 -1
  7. package/dist/{chokidar-G4ONJSK4.js → chokidar-VDIVGBZH.js} +1 -1
  8. package/dist/{chunk-NBYS6YQ2.js → chunk-25HJX3L2.js} +1 -1
  9. package/dist/{chunk-ZZYFG22L.js → chunk-2EHBJWC6.js} +1 -1
  10. package/dist/{chunk-INFBVFMU.js → chunk-2GAFKG64.js} +1 -1
  11. package/dist/{chunk-F6T3UBBL.js → chunk-2GU7OY3H.js} +1 -1
  12. package/dist/{chunk-MIO2CV3Q.js → chunk-2K7FGAT6.js} +1 -1
  13. package/dist/{chunk-PRVQAHWI.js → chunk-2O22LZKV.js} +1 -1
  14. package/dist/{chunk-MKE434RB.js → chunk-2RBIR3NM.js} +1 -1
  15. package/dist/{chunk-4Z2WYNTE.js → chunk-2TMQG2UT.js} +1 -1
  16. package/dist/{chunk-FTN7Y6HD.js → chunk-2XZBQZ5R.js} +1 -1
  17. package/dist/{chunk-J6VTZEE2.js → chunk-33OHQUHZ.js} +1 -1
  18. package/dist/chunk-3AOQKI4B.js +1 -0
  19. package/dist/{chunk-4EXYYBQ6.js → chunk-3SPDFV5D.js} +1 -1
  20. package/dist/{chunk-X2TC7S57.js → chunk-3YDYZ232.js} +2 -2
  21. package/dist/{chunk-FFYYJKF7.js → chunk-4FFPTEKD.js} +1 -1
  22. package/dist/{chunk-IWCPQD7X.js → chunk-4J32OHLY.js} +1 -1
  23. package/dist/chunk-4QTEPWEJ.js +283 -0
  24. package/dist/{chunk-QLQGHMVU.js → chunk-57PPQKJT.js} +1 -1
  25. package/dist/{chunk-DCK2FX6J.js → chunk-5BKCIDMS.js} +1 -1
  26. package/dist/{chunk-JUVAGMIH.js → chunk-5C7HDTHJ.js} +1 -1
  27. package/dist/{chunk-A6X2IVGT.js → chunk-5FFHQTRC.js} +1 -1
  28. package/dist/{chunk-UCLSPAVX.js → chunk-5FVB7JHP.js} +1 -1
  29. package/dist/{chunk-HD5TYIDZ.js → chunk-5H3VTG77.js} +1 -1
  30. package/dist/{chunk-6TEXPRI2.js → chunk-5O43334U.js} +1 -1
  31. package/dist/{chunk-MZJRNFAU.js → chunk-5XDQ76DQ.js} +1 -1
  32. package/dist/{chunk-PD5ZHJWI.js → chunk-636CTEW7.js} +1 -1
  33. package/dist/chunk-6JKGUQRD.js +1 -0
  34. package/dist/chunk-6KETAPWL.js +1 -0
  35. package/dist/{chunk-UOQQNAHX.js → chunk-6LWOWDF4.js} +1 -1
  36. package/dist/{chunk-CE6FKJFS.js → chunk-7572RLUP.js} +1 -1
  37. package/dist/{chunk-XFKCDWXB.js → chunk-762JWOWJ.js} +1 -1
  38. package/dist/{chunk-IU2ZQ6TE.js → chunk-773TIA5M.js} +1 -1
  39. package/dist/{chunk-23AMFHXC.js → chunk-7D45IAMQ.js} +1 -1
  40. package/dist/{chunk-VPL2NDH6.js → chunk-7FQFEB33.js} +5 -5
  41. package/dist/{chunk-BPVZ7E63.js → chunk-7LV55VWE.js} +1 -1
  42. package/dist/{chunk-QUTQDXSL.js → chunk-7UNQOKZW.js} +1 -1
  43. package/dist/{chunk-IWE4RUI7.js → chunk-A27NZMWB.js} +1 -1
  44. package/dist/{chunk-7JESXDF2.js → chunk-A4SBXDZB.js} +1 -1
  45. package/dist/{chunk-AP3RFOPL.js → chunk-A5HKAMAC.js} +1 -1
  46. package/dist/{chunk-Z35BTAM6.js → chunk-AAK376RT.js} +1 -1
  47. package/dist/{chunk-DNLOSMHL.js → chunk-AERKD4TO.js} +1 -1
  48. package/dist/{chunk-WUK5NQSX.js → chunk-ANBOLDON.js} +2 -2
  49. package/dist/{chunk-TLSAQ6FG.js → chunk-AO3RFGNV.js} +1 -1
  50. package/dist/{chunk-KU5OPV7U.js → chunk-ATSMK66C.js} +1 -1
  51. package/dist/{chunk-LTWXTDDR.js → chunk-AU5EZQW7.js} +1 -1
  52. package/dist/{chunk-2YXKZWYW.js → chunk-AVD3INWF.js} +1 -1
  53. package/dist/chunk-AWEB5AQM.js +1 -0
  54. package/dist/{chunk-X4CV6TRE.js → chunk-AXNAGI32.js} +1 -1
  55. package/dist/{chunk-FQDRVPCY.js → chunk-BL46CZ2M.js} +1 -1
  56. package/dist/{chunk-OKOYLEA7.js → chunk-BQWK3C47.js} +3 -3
  57. package/dist/{chunk-C3LZPAAH.js → chunk-CEHXOWA6.js} +1 -1
  58. package/dist/{chunk-N5ROZKPZ.js → chunk-CFOXXOO2.js} +1 -1
  59. package/dist/{chunk-PIBY5DDZ.js → chunk-CRALWNNO.js} +1 -1
  60. package/dist/{chunk-NO5KVFTV.js → chunk-CV5EQGES.js} +3 -3
  61. package/dist/{chunk-H4W4DFKK.js → chunk-CX5CC6P5.js} +1 -1
  62. package/dist/{chunk-OKNBZSGN.js → chunk-DCLUZFT7.js} +1 -1
  63. package/dist/{chunk-2EJCY4CE.js → chunk-DNXYKGV2.js} +1 -1
  64. package/dist/{chunk-IOQQUHST.js → chunk-DTIWUT2T.js} +1 -1
  65. package/dist/{chunk-6TORWTD7.js → chunk-DYNH5SKT.js} +1 -1
  66. package/dist/{chunk-D3DDLLNF.js → chunk-DZQYG32N.js} +1 -1
  67. package/dist/{chunk-QTGMS62F.js → chunk-E7DHELFH.js} +1 -1
  68. package/dist/{chunk-PUTZFF2Z.js → chunk-EH7ZTFS4.js} +3 -3
  69. package/dist/{chunk-YS6VOQ7I.js → chunk-EJDWYASP.js} +1 -1
  70. package/dist/chunk-EKVTNWHM.js +1 -0
  71. package/dist/{chunk-6M3ZYNGO.js → chunk-ET2CGROE.js} +1 -1
  72. package/dist/{chunk-6ZIOYXEF.js → chunk-EVZA2TCI.js} +1 -1
  73. package/dist/{chunk-QSTEVZFQ.js → chunk-F3TMLDLC.js} +1 -1
  74. package/dist/{chunk-CW7WJZKR.js → chunk-FIYAECXH.js} +1 -1
  75. package/dist/{chunk-WDC3KIZT.js → chunk-FKIVKNOV.js} +1 -1
  76. package/dist/{chunk-7DVOSOEP.js → chunk-FOFJBRSL.js} +1 -1
  77. package/dist/{chunk-D656BV5Z.js → chunk-FQ5ZZX2G.js} +1 -1
  78. package/dist/{chunk-6YHJ554P.js → chunk-G2LVUM7N.js} +1 -1
  79. package/dist/{chunk-NPM3MFB3.js → chunk-G2OHWAY2.js} +1 -1
  80. package/dist/chunk-G3JJLXPH.js +1 -0
  81. package/dist/{chunk-57N2DFIF.js → chunk-G3RWLAOG.js} +1 -1
  82. package/dist/{chunk-4V4DQ6W7.js → chunk-G4OQABDT.js} +30 -30
  83. package/dist/{chunk-KLMDWDT2.js → chunk-GB3YC4TI.js} +1 -1
  84. package/dist/{chunk-OCOY5MV2.js → chunk-GCN4O7HM.js} +1 -1
  85. package/dist/{chunk-2N4O33VM.js → chunk-GDHD3TGC.js} +1 -1
  86. package/dist/{chunk-N3YWHJMB.js → chunk-GJXINXSU.js} +2 -2
  87. package/dist/{chunk-RAH5NW3R.js → chunk-GWHV62YT.js} +1 -1
  88. package/dist/{chunk-VA5IUGZV.js → chunk-HCTZN7L4.js} +1 -1
  89. package/dist/{chunk-LITB5QQX.js → chunk-HDC5V7RY.js} +1 -1
  90. package/dist/{chunk-K7K6GNF6.js → chunk-HIQHYPLU.js} +1 -1
  91. package/dist/{chunk-VEDZUOVI.js → chunk-HOSFU6UP.js} +3 -3
  92. package/dist/{chunk-HSYRYSX4.js → chunk-I22ZTRKK.js} +1 -1
  93. package/dist/{chunk-KLA7AWG6.js → chunk-I4R7TML2.js} +1 -1
  94. package/dist/{chunk-EENHXSWU.js → chunk-I5A6BPCP.js} +1 -1
  95. package/dist/{chunk-TNQXTZAX.js → chunk-IWOTLFOY.js} +1 -1
  96. package/dist/{chunk-PBTXPBI6.js → chunk-J3H4LPN6.js} +3 -3
  97. package/dist/{chunk-6HZTMQD6.js → chunk-J3HX6ZGD.js} +1 -1
  98. package/dist/{chunk-OYP7DKPU.js → chunk-J3JPJCWP.js} +1 -1
  99. package/dist/{chunk-E2YBU6D3.js → chunk-J5BRKYGE.js} +2 -2
  100. package/dist/{chunk-5TIJLYZU.js → chunk-JAWKLBOB.js} +1 -1
  101. package/dist/{chunk-6AJZKIZ3.js → chunk-JAWOP4HJ.js} +1 -1
  102. package/dist/{chunk-TQGTEVSR.js → chunk-JCIN73BE.js} +1 -1
  103. package/dist/{chunk-C6ABJCRG.js → chunk-JEZ3PGVC.js} +1 -1
  104. package/dist/{chunk-TGACBJIY.js → chunk-JJ6RM54S.js} +1 -1
  105. package/dist/{chunk-TXUTT6UA.js → chunk-JK3NIHTX.js} +1 -1
  106. package/dist/{chunk-OLOBQ42K.js → chunk-JLE4NBMT.js} +1 -1
  107. package/dist/{chunk-7KJ5TBWG.js → chunk-JSOGPMWB.js} +1 -1
  108. package/dist/{chunk-L2VSSINY.js → chunk-JUYJZUYU.js} +1 -1
  109. package/dist/chunk-KRQGLK2Q.js +3 -0
  110. package/dist/{chunk-3VZEETAV.js → chunk-KRZABRYT.js} +1 -1
  111. package/dist/{chunk-FBVBO5YQ.js → chunk-L2PC4MUV.js} +1 -1
  112. package/dist/{chunk-SSM346XI.js → chunk-LCZDC6EE.js} +1 -1
  113. package/dist/{chunk-NEZEHBT2.js → chunk-LXVORHCQ.js} +1 -1
  114. package/dist/{chunk-DERA4K6A.js → chunk-M2YINBHF.js} +1 -1
  115. package/dist/{chunk-VT77EFRL.js → chunk-M7YFD4EV.js} +6 -6
  116. package/dist/{chunk-DCBYHVKW.js → chunk-MEIEEENL.js} +1 -1
  117. package/dist/{chunk-7BFDUVOG.js → chunk-MIDYZPO4.js} +1 -1
  118. package/dist/{chunk-I3LX25MB.js → chunk-MINZGZ4N.js} +1 -1
  119. package/dist/{chunk-U3ZG675O.js → chunk-MMIHHCMW.js} +1 -1
  120. package/dist/{chunk-PRKBO42R.js → chunk-MPW2YJWU.js} +1 -1
  121. package/dist/{chunk-C2FFA4O4.js → chunk-MRS6LAY7.js} +1 -1
  122. package/dist/{chunk-IVGWFPMA.js → chunk-N3CNWCC2.js} +1 -1
  123. package/dist/{chunk-NXL6LDJU.js → chunk-N3NE4MVN.js} +1 -1
  124. package/dist/{chunk-WNGV4JQS.js → chunk-N3YTDGFY.js} +1 -1
  125. package/dist/{chunk-A5SQCM63.js → chunk-N5LVGFDS.js} +1 -1
  126. package/dist/{chunk-GVITHCQJ.js → chunk-NILXAUUT.js} +1 -1
  127. package/dist/{chunk-5Y7GIF2W.js → chunk-NJOO5XJV.js} +1 -1
  128. package/dist/{chunk-ULQG3XQS.js → chunk-NNOSZ447.js} +1 -1
  129. package/dist/{chunk-MGL4YM3S.js → chunk-NTRAWIEJ.js} +4 -4
  130. package/dist/{chunk-2WNODIWJ.js → chunk-NWXDOCL5.js} +1 -1
  131. package/dist/{chunk-K77WAKOB.js → chunk-OU3M32A2.js} +1 -1
  132. package/dist/chunk-OU4SKQTC.js +5 -0
  133. package/dist/{chunk-4KRT35A2.js → chunk-OXJBYKMX.js} +1 -1
  134. package/dist/{chunk-LCCMXY6N.js → chunk-OZBY45KT.js} +1 -1
  135. package/dist/{chunk-75VPUOC5.js → chunk-P2OI2P2M.js} +1 -1
  136. package/dist/{chunk-XP6IRAZN.js → chunk-PCCK4YTE.js} +1 -1
  137. package/dist/{chunk-2VLMN5QZ.js → chunk-PFGYC53K.js} +1 -1
  138. package/dist/{chunk-YGMVL6NZ.js → chunk-PMS4MNHB.js} +2 -2
  139. package/dist/{chunk-OA4P6AKS.js → chunk-PNP5OKNZ.js} +1 -1
  140. package/dist/{chunk-XX343DDG.js → chunk-PXHY753L.js} +1 -1
  141. package/dist/{chunk-UURFVUAH.js → chunk-Q73GEVSJ.js} +1 -1
  142. package/dist/{chunk-M2TJICTB.js → chunk-Q77MM2N2.js} +1 -1
  143. package/dist/{chunk-XDAOLCPN.js → chunk-Q7C44DX5.js} +1 -1
  144. package/dist/chunk-QDVJJKLB.js +1 -0
  145. package/dist/{chunk-5CH3B62S.js → chunk-RJ5VF3QY.js} +1 -1
  146. package/dist/{chunk-LQMSF3F7.js → chunk-RKDZGK5K.js} +1 -1
  147. package/dist/{chunk-VYXVYOIJ.js → chunk-RSRYC5ZF.js} +1 -1
  148. package/dist/{chunk-HLMFVORT.js → chunk-S22NCNAJ.js} +1 -1
  149. package/dist/{chunk-UARVYVLN.js → chunk-S5IFJ737.js} +2 -2
  150. package/dist/{chunk-42RMKTCJ.js → chunk-S6B2ADVR.js} +1 -1
  151. package/dist/chunk-S7F5KFQP.js +1 -0
  152. package/dist/{chunk-UBKVCI7A.js → chunk-SSCYLDSX.js} +1 -1
  153. package/dist/{chunk-QFWIDATO.js → chunk-STJ3LWFL.js} +1 -1
  154. package/dist/{chunk-LKS47US7.js → chunk-T3ERXB7F.js} +1 -1
  155. package/dist/{chunk-PLQFX5ZP.js → chunk-T4IV643Z.js} +1 -1
  156. package/dist/{chunk-BECEP46I.js → chunk-T4NS63K4.js} +1 -1
  157. package/dist/{chunk-3YWUSKWF.js → chunk-T6CC5WUU.js} +1 -1
  158. package/dist/{chunk-3TNEIDOD.js → chunk-T7KHS6RF.js} +1 -1
  159. package/dist/{chunk-QYR5VPQA.js → chunk-TOLPNBZK.js} +1 -1
  160. package/dist/{chunk-XXE7667M.js → chunk-TP7E54WN.js} +1 -1
  161. package/dist/chunk-TPCG6DCA.js +1 -0
  162. package/dist/{chunk-2KH2S7PI.js → chunk-TRYWVIVJ.js} +1 -1
  163. package/dist/chunk-TU47HMTL.js +1 -0
  164. package/dist/{chunk-HHXHOQQP.js → chunk-TUNUEOHO.js} +1 -1
  165. package/dist/{chunk-PS25FEBF.js → chunk-TY6BZTG3.js} +1 -1
  166. package/dist/chunk-TYMYIUIQ.js +1 -0
  167. package/dist/chunk-UB26DGTR.js +6 -0
  168. package/dist/{chunk-HJSYHK4S.js → chunk-UC7KMA6W.js} +1 -1
  169. package/dist/{chunk-FD5S2O6M.js → chunk-UOHNRH6E.js} +1 -1
  170. package/dist/{chunk-ZR76GGZ6.js → chunk-UQWFDL3F.js} +1 -1
  171. package/dist/{chunk-M4LOKANA.js → chunk-USLYL5AC.js} +1 -1
  172. package/dist/{chunk-VICNWPLQ.js → chunk-UTO4Z6P6.js} +12 -12
  173. package/dist/{chunk-F47MFBKM.js → chunk-UU5P2IYU.js} +1 -1
  174. package/dist/chunk-UYSF234H.js +1 -0
  175. package/dist/chunk-VE35YELD.js +1 -0
  176. package/dist/{chunk-6YAXFS6V.js → chunk-VI34CKV6.js} +1 -1
  177. package/dist/{chunk-M4V2OQAX.js → chunk-VJ6KDRZI.js} +1 -1
  178. package/dist/{chunk-VBUZWRUL.js → chunk-VJEKDBGZ.js} +1 -1
  179. package/dist/chunk-VKWPEFWQ.js +1 -0
  180. package/dist/chunk-VPPWSKOY.js +1 -0
  181. package/dist/chunk-VRJTLVG3.js +1 -0
  182. package/dist/chunk-VUMUCNI7.js +1 -0
  183. package/dist/chunk-W7DDV2EY.js +1 -0
  184. package/dist/{chunk-RL5BWZ7D.js → chunk-WA3YC5W4.js} +1 -1
  185. package/dist/{chunk-MFLBTJO7.js → chunk-WHNWE7P2.js} +1 -1
  186. package/dist/{chunk-R6JNXEB3.js → chunk-WVRGCNBZ.js} +1 -1
  187. package/dist/{chunk-MOA33ZFO.js → chunk-WW7TENNA.js} +1 -1
  188. package/dist/{chunk-HZA6IAA4.js → chunk-XVUHUA36.js} +1 -1
  189. package/dist/{chunk-PSQFZAF3.js → chunk-XWPPBOGF.js} +1 -1
  190. package/dist/chunk-YIRFEW5M.js +1 -0
  191. package/dist/{chunk-RGNAWKD7.js → chunk-YL3TYQGT.js} +1 -1
  192. package/dist/{chunk-A3VYI4LO.js → chunk-YLQ3LNNY.js} +3 -3
  193. package/dist/{chunk-MA52QGHP.js → chunk-YMAWEIUR.js} +1 -1
  194. package/dist/{chunk-6LK6ZP3Q.js → chunk-YPBCSDFQ.js} +1 -1
  195. package/dist/{chunk-3BRUCKZ2.js → chunk-YSIBRY6C.js} +1 -1
  196. package/dist/{chunk-FGVC22EY.js → chunk-YVQXEPHY.js} +1 -1
  197. package/dist/{chunk-4LNCYIS3.js → chunk-ZDF5N422.js} +1 -1
  198. package/dist/{chunk-T4M5CWAO.js → chunk-ZG7BVVT2.js} +1 -1
  199. package/dist/chunk-ZGJ3DFTQ.js +9 -0
  200. package/dist/{chunk-NKQBEFPS.js → chunk-ZI7LK3LW.js} +1 -1
  201. package/dist/{chunk-IXUVSFW2.js → chunk-ZM75DSIW.js} +1 -1
  202. package/dist/{chunk-3V63X7WZ.js → chunk-ZUKLGZOU.js} +1 -1
  203. package/dist/cli/commands/app/app-logs/sources.js +1 -1
  204. package/dist/cli/commands/app/build.js +1 -1
  205. package/dist/cli/commands/app/bulk/cancel.js +1 -1
  206. package/dist/cli/commands/app/bulk/execute.js +1 -1
  207. package/dist/cli/commands/app/bulk/status.js +1 -1
  208. package/dist/cli/commands/app/config/link.js +1 -1
  209. package/dist/cli/commands/app/config/pull.js +1 -1
  210. package/dist/cli/commands/app/config/use.js +1 -1
  211. package/dist/cli/commands/app/config/validate.js +1 -1
  212. package/dist/cli/commands/app/demo/watcher.js +1 -1
  213. package/dist/cli/commands/app/deploy.js +1 -1
  214. package/dist/cli/commands/app/dev/clean.js +1 -1
  215. package/dist/cli/commands/app/dev.js +1 -1
  216. package/dist/cli/commands/app/env/pull.js +1 -1
  217. package/dist/cli/commands/app/env/show.js +1 -1
  218. package/dist/cli/commands/app/execute.js +1 -1
  219. package/dist/cli/commands/app/function/build.js +1 -1
  220. package/dist/cli/commands/app/function/info.js +1 -1
  221. package/dist/cli/commands/app/function/replay.js +1 -1
  222. package/dist/cli/commands/app/function/run.js +1 -1
  223. package/dist/cli/commands/app/function/schema.js +1 -1
  224. package/dist/cli/commands/app/function/typegen.js +1 -1
  225. package/dist/cli/commands/app/generate/extension.js +1 -1
  226. package/dist/cli/commands/app/import-custom-data-definitions.js +1 -1
  227. package/dist/cli/commands/app/import-extensions.js +1 -1
  228. package/dist/cli/commands/app/info.js +1 -1
  229. package/dist/cli/commands/app/init.js +1 -1
  230. package/dist/cli/commands/app/logs.js +1 -1
  231. package/dist/cli/commands/app/release.js +1 -1
  232. package/dist/cli/commands/app/versions/list.js +1 -1
  233. package/dist/cli/commands/app/webhook/trigger.js +1 -1
  234. package/dist/cli/commands/auth/login.js +1 -1
  235. package/dist/cli/commands/auth/logout.js +1 -1
  236. package/dist/cli/commands/cache/clear.js +1 -1
  237. package/dist/cli/commands/config/autoupgrade/constants.js +1 -1
  238. package/dist/cli/commands/config/autoupgrade/off.js +1 -1
  239. package/dist/cli/commands/config/autoupgrade/on.js +1 -1
  240. package/dist/cli/commands/config/autoupgrade/status.js +1 -1
  241. package/dist/cli/commands/debug/command-flags.js +1 -1
  242. package/dist/cli/commands/doc/fetch.d.ts +12 -0
  243. package/dist/cli/commands/doc/fetch.js +1 -0
  244. package/dist/cli/commands/doc/search.d.ts +13 -0
  245. package/dist/cli/commands/doc/search.js +1 -0
  246. package/dist/cli/commands/docs/generate.js +1 -1
  247. package/dist/cli/commands/doctor-release/doctor-release.js +1 -1
  248. package/dist/cli/commands/doctor-release/theme/index.js +1 -1
  249. package/dist/cli/commands/help.js +1 -1
  250. package/dist/cli/commands/kitchen-sink/async.js +1 -1
  251. package/dist/cli/commands/kitchen-sink/index.js +1 -1
  252. package/dist/cli/commands/kitchen-sink/prompts.js +1 -1
  253. package/dist/cli/commands/kitchen-sink/static.js +1 -1
  254. package/dist/cli/commands/notifications/generate.js +1 -1
  255. package/dist/cli/commands/notifications/list.js +1 -1
  256. package/dist/cli/commands/organization/list.js +1 -1
  257. package/dist/cli/commands/search.d.ts +4 -0
  258. package/dist/cli/commands/search.js +1 -1
  259. package/dist/cli/commands/theme/check.js +1 -1
  260. package/dist/cli/commands/theme/console.js +1 -1
  261. package/dist/cli/commands/theme/delete.js +1 -1
  262. package/dist/cli/commands/theme/dev.js +1 -1
  263. package/dist/cli/commands/theme/duplicate.js +1 -1
  264. package/dist/cli/commands/theme/info.js +1 -1
  265. package/dist/cli/commands/theme/init.js +1 -1
  266. package/dist/cli/commands/theme/language-server.js +1 -1
  267. package/dist/cli/commands/theme/list.js +1 -1
  268. package/dist/cli/commands/theme/metafields/pull.js +1 -1
  269. package/dist/cli/commands/theme/open.js +1 -1
  270. package/dist/cli/commands/theme/package.js +1 -1
  271. package/dist/cli/commands/theme/preview.js +1 -1
  272. package/dist/cli/commands/theme/profile.js +1 -1
  273. package/dist/cli/commands/theme/publish.js +1 -1
  274. package/dist/cli/commands/theme/pull.js +1 -1
  275. package/dist/cli/commands/theme/push.js +1 -1
  276. package/dist/cli/commands/theme/rename.js +1 -1
  277. package/dist/cli/commands/theme/share.js +1 -1
  278. package/dist/cli/commands/upgrade.js +1 -1
  279. package/dist/cli/commands/version.js +1 -1
  280. package/dist/cli/services/commands/doc/fetch.d.ts +1 -0
  281. package/dist/cli/services/commands/doc/fetch.js +45 -0
  282. package/dist/cli/services/commands/doc/search.d.ts +1 -0
  283. package/dist/cli/services/commands/doc/search.js +47 -0
  284. package/dist/command-registry.js +1 -1
  285. package/dist/{conf-store-6QNH5BID.js → conf-store-UY3MDGGA.js} +1 -1
  286. package/dist/{custom-oclif-loader-TSPWW5YF.js → custom-oclif-loader-3AICQCNU.js} +1 -1
  287. package/dist/deprecations-KNUMDRIU.js +1 -0
  288. package/dist/{devtools-HCKYP7DQ.js → devtools-37DE4MUR.js} +1 -1
  289. package/dist/{devtools-VEZNCV6W.js → devtools-WAWU5KQL.js} +1 -1
  290. package/dist/dist-C5IV2YDQ.js +1 -0
  291. package/dist/dist-VL4KZWV2.js +1 -0
  292. package/dist/environments-YPRVO2CF.js +1 -0
  293. package/dist/error-XRBQTNFM.js +1 -0
  294. package/dist/error-handler-NI7D6GSY.js +1 -0
  295. package/dist/{estree-BYYJYS3A.js → estree-JV5M77BA.js} +1 -1
  296. package/dist/{flow-M3Q2HPQT.js → flow-N4JYPYMQ.js} +1 -1
  297. package/dist/{fs-YMUQ6JLE.js → fs-LJWVNO4H.js} +1 -1
  298. package/dist/{glimmer-3DEJJGOJ.js → glimmer-JEV3BXHR.js} +1 -1
  299. package/dist/{graphql-A4HHE3MB.js → graphql-DTF6MHYF.js} +1 -1
  300. package/dist/hooks/app-init.js +1 -1
  301. package/dist/hooks/did-you-mean.js +1 -1
  302. package/dist/hooks/hydrogen-init.js +1 -1
  303. package/dist/hooks/plugin-plugins.js +1 -1
  304. package/dist/hooks/postrun.js +1 -1
  305. package/dist/hooks/prerun.js +1 -1
  306. package/dist/hooks/public-metadata.js +1 -1
  307. package/dist/hooks/sensitive-metadata.js +1 -1
  308. package/dist/hooks/tunnel-provider.js +1 -1
  309. package/dist/hooks/tunnel-start.js +1 -1
  310. package/dist/{html-HETICZ2F.js → html-LVOJ3RQS.js} +1 -1
  311. package/dist/{http-proxy-node16-Q5DZMBHC.js → http-proxy-node16-X2WAMUT5.js} +1 -1
  312. package/dist/index.js +28 -7
  313. package/dist/is-global-W6ALVC5L.js +1 -0
  314. package/dist/{is-wsl-TN2CXYI7.js → is-wsl-UEMXYJPN.js} +1 -1
  315. package/dist/{latest-version-6OAYLOBL.js → latest-version-32HXMWJ7.js} +1 -1
  316. package/dist/lib-AIKYSHWL.js +1 -0
  317. package/dist/lib-O5EZ4NVT.js +1 -0
  318. package/dist/lib-Q4PWEMFD.js +1 -0
  319. package/dist/lib-QJDPPAWN.js +1 -0
  320. package/dist/{local-GPDAXHE6.js → local-GKEWZAIV.js} +1 -1
  321. package/dist/local-storage-ZOZMA22B.js +1 -0
  322. package/dist/{markdown-5TVCXM53.js → markdown-J6CE6POI.js} +1 -1
  323. package/dist/{meriyah-23OZNYWC.js → meriyah-PNQQZQYI.js} +1 -1
  324. package/dist/metadata-UEUN64TK.js +1 -0
  325. package/dist/{morph-I35VYPBH.js → morph-CGOZEPPZ.js} +1 -1
  326. package/dist/{multipart-parser-Q4QJZK3V.js → multipart-parser-5NSSTW27.js} +1 -1
  327. package/dist/{node-package-manager-GO4ZRTKQ.js → node-package-manager-4ASQQIIF.js} +1 -1
  328. package/dist/notifications-system-HLXJCAMG.js +1 -0
  329. package/dist/{npa-VNALV7XY.js → npa-A4YSCQ5Q.js} +1 -1
  330. package/dist/{open-VA7TLUIL.js → open-KLSGXBIW.js} +1 -1
  331. package/dist/out-CDCY25QC.js +1 -0
  332. package/dist/{output-7IYOMPSA.js → output-S6E37GJQ.js} +1 -1
  333. package/dist/{path-CWUNINMX.js → path-MBXP7ZIC.js} +1 -1
  334. package/dist/{postcss-IIK6CGAW.js → postcss-Q36SHOML.js} +1 -1
  335. package/dist/{prettier-ZSBNNQTK.js → prettier-EGVCP5CY.js} +1 -1
  336. package/dist/{source-map-3K6Y2OMO.js → source-map-E7FCCJL7.js} +1 -1
  337. package/dist/system-YQZNGSWB.js +1 -0
  338. package/dist/tsconfig.tsbuildinfo +1 -1
  339. package/dist/typescript-5R4Y7PXE.js +1 -0
  340. package/dist/{typescript-YKZ232QT.js → typescript-WYPDGPSV.js} +1 -1
  341. package/dist/ui-D2FFWRK7.js +1 -0
  342. package/dist/upgrade-TVTCFMXM.js +1 -0
  343. package/dist/version-J6MDN7BZ.js +1 -0
  344. package/dist/version-RIRW5EXQ.js +1 -0
  345. package/dist/{workerd-ST6XJKUN.js → workerd-QOTT6UCO.js} +1 -1
  346. package/dist/{yaml-SJKIH3VD.js → yaml-6KWCJ64X.js} +1 -1
  347. package/oclif.manifest.json +304 -6
  348. package/package.json +11 -8
  349. package/dist/analytics-CX22YIUZ.js +0 -1
  350. package/dist/analytics-UBWQIQYF.js +0 -1
  351. package/dist/chunk-4ZGSSQC6.js +0 -1
  352. package/dist/chunk-6SXOUZ7V.js +0 -1
  353. package/dist/chunk-ATPFTRCC.js +0 -1
  354. package/dist/chunk-AWQ5AR2K.js +0 -5
  355. package/dist/chunk-BHWEA4V2.js +0 -1
  356. package/dist/chunk-CCEA5CUX.js +0 -1
  357. package/dist/chunk-FP2NOZSD.js +0 -1
  358. package/dist/chunk-FSTCEWXX.js +0 -1
  359. package/dist/chunk-K3PGC6DC.js +0 -1
  360. package/dist/chunk-KFCGMT67.js +0 -1
  361. package/dist/chunk-KQU6HOJ3.js +0 -1
  362. package/dist/chunk-NP4UFPAX.js +0 -9
  363. package/dist/chunk-RVMB5LC2.js +0 -1
  364. package/dist/chunk-T5MK7ZSF.js +0 -1
  365. package/dist/chunk-UOQ75BL3.js +0 -1
  366. package/dist/chunk-UWJ73J4B.js +0 -1
  367. package/dist/chunk-VPRTJUIN.js +0 -1
  368. package/dist/chunk-WCWNI3ZV.js +0 -283
  369. package/dist/chunk-XEFQQPL4.js +0 -1
  370. package/dist/chunk-YJB7P2HC.js +0 -1
  371. package/dist/chunk-YOZNRLFC.js +0 -1
  372. package/dist/deprecations-F6JWVV2W.js +0 -1
  373. package/dist/dist-4BD6KOLR.js +0 -1
  374. package/dist/dist-AUABCVPI.js +0 -1
  375. package/dist/environments-RGLI75HN.js +0 -1
  376. package/dist/error-OZALZZ3U.js +0 -1
  377. package/dist/error-handler-V7LSEXHM.js +0 -1
  378. package/dist/is-global-BLIZ57HQ.js +0 -1
  379. package/dist/lib-AK5EOIKR.js +0 -1
  380. package/dist/lib-LVUMLZ4H.js +0 -1
  381. package/dist/lib-ME6554NA.js +0 -1
  382. package/dist/lib-WU3FEA6I.js +0 -1
  383. package/dist/local-storage-P66KJG6I.js +0 -1
  384. package/dist/metadata-TRH25EHU.js +0 -1
  385. package/dist/notifications-system-HM6JZ6WJ.js +0 -1
  386. package/dist/out-WLY6KV4B.js +0 -1
  387. package/dist/system-X5C4EQQH.js +0 -1
  388. package/dist/typescript-K5CWIA4V.js +0 -1
  389. package/dist/ui-H62CMRLG.js +0 -1
  390. package/dist/upgrade-EEOPH464.js +0 -1
  391. package/dist/version-76NBQR4K.js +0 -1
  392. package/dist/version-IGSEISUA.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a as Ju,b as Nn,c as ee}from"./chunk-QSTEVZFQ.js";import{Ea as Zu}from"./chunk-4V4DQ6W7.js";import{a as $,c as A,g as v}from"./chunk-VPRTJUIN.js";var eo=A((ir,In)=>{v();(function(e,t){typeof ir=="object"&&typeof In<"u"?t(ir):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.async={}))})(ir,(function(e){"use strict";function t(f,...n){return(...u)=>f(...n,...u)}function r(f){return function(...n){var u=n.pop();return f.call(this,n,u)}}var i=typeof queueMicrotask=="function"&&queueMicrotask,a=typeof setImmediate=="function"&&setImmediate,o=typeof process=="object"&&typeof process.nextTick=="function";function l(f){setTimeout(f,0)}function y(f){return(n,...u)=>f(()=>n(...u))}var _;i?_=queueMicrotask:a?_=setImmediate:o?_=process.nextTick:_=l;var T=y(_);function x(f){return O(f)?function(...n){let u=n.pop(),s=f.apply(this,n);return M(s,u)}:r(function(n,u){var s;try{s=f.apply(this,n)}catch(h){return u(h)}if(s&&typeof s.then=="function")return M(s,u);u(null,s)})}function M(f,n){return f.then(u=>{L(n,null,u)},u=>{L(n,u&&(u instanceof Error||u.message)?u:new Error(u))})}function L(f,n,u){try{f(n,u)}catch(s){T(h=>{throw h},s)}}function O(f){return f[Symbol.toStringTag]==="AsyncFunction"}function H(f){return f[Symbol.toStringTag]==="AsyncGenerator"}function Q(f){return typeof f[Symbol.asyncIterator]=="function"}function b(f){if(typeof f!="function")throw new Error("expected a function");return O(f)?x(f):f}function S(f,n){if(n||(n=f.length),!n)throw new Error("arity is undefined");function u(...s){return typeof s[n-1]=="function"?f.apply(this,s):new Promise((h,c)=>{s[n-1]=(d,...p)=>{if(d)return c(d);h(p.length>1?p:p[0])},f.apply(this,s)})}return u}function ye(f){return function(u,...s){return S(function(c){var d=this;return f(u,(p,g)=>{b(p).apply(d,s.concat(g))},c)})}}function Br(f,n,u,s){n=n||[];var h=[],c=0,d=b(u);return f(n,(p,g,m)=>{var C=c++;d(p,(B,P)=>{h[C]=P,m(B)})},p=>{s(p,h)})}function xt(f){return f&&typeof f.length=="number"&&f.length>=0&&f.length%1===0}let Ct={};function ve(f){function n(...u){if(f!==null){var s=f;f=null,s.apply(this,u)}}return Object.assign(n,f),n}function Kf(f){return f[Symbol.iterator]&&f[Symbol.iterator]()}function Yf(f){var n=-1,u=f.length;return function(){return++n<u?{value:f[n],key:n}:null}}function Qf(f){var n=-1;return function(){var s=f.next();return s.done?null:(n++,{value:s.value,key:n})}}function Xf(f){var n=f?Object.keys(f):[],u=-1,s=n.length;return function h(){var c=n[++u];return c==="__proto__"?h():u<s?{value:f[c],key:c}:null}}function Zf(f){if(xt(f))return Yf(f);var n=Kf(f);return n?Qf(n):Xf(f)}function _e(f){return function(...n){if(f===null)throw new Error("Callback was already called.");var u=f;f=null,u.apply(this,n)}}function Vi(f,n,u,s){let h=!1,c=!1,d=!1,p=0,g=0;function m(){p>=n||d||h||(d=!0,f.next().then(({value:P,done:Z})=>{if(!(c||h)){if(d=!1,Z){h=!0,p<=0&&s(null);return}p++,u(P,g,C),g++,m()}}).catch(B))}function C(P,Z){if(p-=1,!c){if(P)return B(P);if(P===!1){h=!0,c=!0;return}if(Z===Ct||h&&p<=0)return h=!0,s(null);m()}}function B(P){c||(d=!1,h=!0,s(P))}m()}var ie=f=>(n,u,s)=>{if(s=ve(s),f<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!n)return s(null);if(H(n))return Vi(n,f,u,s);if(Q(n))return Vi(n[Symbol.asyncIterator](),f,u,s);var h=Zf(n),c=!1,d=!1,p=0,g=!1;function m(B,P){if(!d)if(p-=1,B)c=!0,s(B);else if(B===!1)c=!0,d=!0;else{if(P===Ct||c&&p<=0)return c=!0,s(null);g||C()}}function C(){for(g=!0;p<f&&!c;){var B=h();if(B===null){c=!0,p<=0&&s(null);return}p+=1,u(B.value,B.key,_e(m))}g=!1}C()};function Jf(f,n,u,s){return ie(n)(f,b(u),s)}var Be=S(Jf,4);function eu(f,n,u){u=ve(u);var s=0,h=0,{length:c}=f,d=!1;c===0&&u(null);function p(g,m){g===!1&&(d=!0),d!==!0&&(g?u(g):(++h===c||m===Ct)&&u(null))}for(;s<c;s++)n(f[s],s,_e(p))}function tu(f,n,u){return Be(f,1/0,n,u)}function ru(f,n,u){var s=xt(f)?eu:tu;return s(f,b(n),u)}var X=S(ru,3);function iu(f,n,u){return Br(X,f,n,u)}var Pt=S(iu,3),Ki=ye(Pt);function nu(f,n,u){return Be(f,1,n,u)}var ne=S(nu,3);function au(f,n,u){return Br(ne,f,n,u)}var Nr=S(au,3),Yi=ye(Nr);let Ne=Symbol("promiseCallback");function Ie(){let f,n;function u(s,...h){if(s)return n(s);f(h.length>1?h:h[0])}return u[Ne]=new Promise((s,h)=>{f=s,n=h}),u}function Ir(f,n,u){typeof n!="number"&&(u=n,n=null),u=ve(u||Ie());var s=Object.keys(f).length;if(!s)return u(null);n||(n=s);var h={},c=0,d=!1,p=!1,g=Object.create(null),m=[],C=[],B={};Object.keys(f).forEach(w=>{var R=f[w];if(!Array.isArray(R)){P(w,[R]),C.push(w);return}var D=R.slice(0,R.length-1),U=D.length;if(U===0){P(w,R),C.push(w);return}B[w]=U,D.forEach(z=>{if(!f[z])throw new Error("async.auto task `"+w+"` has a non-existent dependency `"+z+"` in "+D.join(", "));We(z,()=>{U--,U===0&&P(w,R)})})}),N(),Z();function P(w,R){m.push(()=>ut(w,R))}function Z(){if(!d){if(m.length===0&&c===0)return u(null,h);for(;m.length&&c<n;){var w=m.shift();w()}}}function We(w,R){var D=g[w];D||(D=g[w]=[]),D.push(R)}function Oe(w){var R=g[w]||[];R.forEach(D=>D()),Z()}function ut(w,R){if(!p){var D=_e((z,...J)=>{if(c--,z===!1){d=!0;return}if(J.length<2&&([J]=J),z){var Ue={};if(Object.keys(h).forEach(Me=>{Ue[Me]=h[Me]}),Ue[w]=J,p=!0,g=Object.create(null),d)return;u(z,Ue)}else h[w]=J,Oe(w)});c++;var U=b(R[R.length-1]);R.length>1?U(h,D):U(D)}}function N(){for(var w,R=0;C.length;)w=C.pop(),R++,E(w).forEach(D=>{--B[D]===0&&C.push(D)});if(R!==s)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}function E(w){var R=[];return Object.keys(f).forEach(D=>{let U=f[D];Array.isArray(U)&&U.indexOf(w)>=0&&R.push(D)}),R}return u[Ne]}var fu=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,uu=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,ou=/,/,su=/(=.+)?(\s*)$/;function lu(f){let n="",u=0,s=f.indexOf("*/");for(;u<f.length;)if(f[u]==="/"&&f[u+1]==="/"){let h=f.indexOf(`
1
+ import{a as Ju,b as Nn,c as ee}from"./chunk-F3TMLDLC.js";import{Ea as Zu}from"./chunk-G4OQABDT.js";import{a as $,c as A,g as v}from"./chunk-VKWPEFWQ.js";var eo=A((ir,In)=>{v();(function(e,t){typeof ir=="object"&&typeof In<"u"?t(ir):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.async={}))})(ir,(function(e){"use strict";function t(f,...n){return(...u)=>f(...n,...u)}function r(f){return function(...n){var u=n.pop();return f.call(this,n,u)}}var i=typeof queueMicrotask=="function"&&queueMicrotask,a=typeof setImmediate=="function"&&setImmediate,o=typeof process=="object"&&typeof process.nextTick=="function";function l(f){setTimeout(f,0)}function y(f){return(n,...u)=>f(()=>n(...u))}var _;i?_=queueMicrotask:a?_=setImmediate:o?_=process.nextTick:_=l;var T=y(_);function x(f){return O(f)?function(...n){let u=n.pop(),s=f.apply(this,n);return M(s,u)}:r(function(n,u){var s;try{s=f.apply(this,n)}catch(h){return u(h)}if(s&&typeof s.then=="function")return M(s,u);u(null,s)})}function M(f,n){return f.then(u=>{L(n,null,u)},u=>{L(n,u&&(u instanceof Error||u.message)?u:new Error(u))})}function L(f,n,u){try{f(n,u)}catch(s){T(h=>{throw h},s)}}function O(f){return f[Symbol.toStringTag]==="AsyncFunction"}function H(f){return f[Symbol.toStringTag]==="AsyncGenerator"}function Q(f){return typeof f[Symbol.asyncIterator]=="function"}function b(f){if(typeof f!="function")throw new Error("expected a function");return O(f)?x(f):f}function S(f,n){if(n||(n=f.length),!n)throw new Error("arity is undefined");function u(...s){return typeof s[n-1]=="function"?f.apply(this,s):new Promise((h,c)=>{s[n-1]=(d,...p)=>{if(d)return c(d);h(p.length>1?p:p[0])},f.apply(this,s)})}return u}function ye(f){return function(u,...s){return S(function(c){var d=this;return f(u,(p,g)=>{b(p).apply(d,s.concat(g))},c)})}}function Br(f,n,u,s){n=n||[];var h=[],c=0,d=b(u);return f(n,(p,g,m)=>{var C=c++;d(p,(B,P)=>{h[C]=P,m(B)})},p=>{s(p,h)})}function xt(f){return f&&typeof f.length=="number"&&f.length>=0&&f.length%1===0}let Ct={};function ve(f){function n(...u){if(f!==null){var s=f;f=null,s.apply(this,u)}}return Object.assign(n,f),n}function Kf(f){return f[Symbol.iterator]&&f[Symbol.iterator]()}function Yf(f){var n=-1,u=f.length;return function(){return++n<u?{value:f[n],key:n}:null}}function Qf(f){var n=-1;return function(){var s=f.next();return s.done?null:(n++,{value:s.value,key:n})}}function Xf(f){var n=f?Object.keys(f):[],u=-1,s=n.length;return function h(){var c=n[++u];return c==="__proto__"?h():u<s?{value:f[c],key:c}:null}}function Zf(f){if(xt(f))return Yf(f);var n=Kf(f);return n?Qf(n):Xf(f)}function _e(f){return function(...n){if(f===null)throw new Error("Callback was already called.");var u=f;f=null,u.apply(this,n)}}function Vi(f,n,u,s){let h=!1,c=!1,d=!1,p=0,g=0;function m(){p>=n||d||h||(d=!0,f.next().then(({value:P,done:Z})=>{if(!(c||h)){if(d=!1,Z){h=!0,p<=0&&s(null);return}p++,u(P,g,C),g++,m()}}).catch(B))}function C(P,Z){if(p-=1,!c){if(P)return B(P);if(P===!1){h=!0,c=!0;return}if(Z===Ct||h&&p<=0)return h=!0,s(null);m()}}function B(P){c||(d=!1,h=!0,s(P))}m()}var ie=f=>(n,u,s)=>{if(s=ve(s),f<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!n)return s(null);if(H(n))return Vi(n,f,u,s);if(Q(n))return Vi(n[Symbol.asyncIterator](),f,u,s);var h=Zf(n),c=!1,d=!1,p=0,g=!1;function m(B,P){if(!d)if(p-=1,B)c=!0,s(B);else if(B===!1)c=!0,d=!0;else{if(P===Ct||c&&p<=0)return c=!0,s(null);g||C()}}function C(){for(g=!0;p<f&&!c;){var B=h();if(B===null){c=!0,p<=0&&s(null);return}p+=1,u(B.value,B.key,_e(m))}g=!1}C()};function Jf(f,n,u,s){return ie(n)(f,b(u),s)}var Be=S(Jf,4);function eu(f,n,u){u=ve(u);var s=0,h=0,{length:c}=f,d=!1;c===0&&u(null);function p(g,m){g===!1&&(d=!0),d!==!0&&(g?u(g):(++h===c||m===Ct)&&u(null))}for(;s<c;s++)n(f[s],s,_e(p))}function tu(f,n,u){return Be(f,1/0,n,u)}function ru(f,n,u){var s=xt(f)?eu:tu;return s(f,b(n),u)}var X=S(ru,3);function iu(f,n,u){return Br(X,f,n,u)}var Pt=S(iu,3),Ki=ye(Pt);function nu(f,n,u){return Be(f,1,n,u)}var ne=S(nu,3);function au(f,n,u){return Br(ne,f,n,u)}var Nr=S(au,3),Yi=ye(Nr);let Ne=Symbol("promiseCallback");function Ie(){let f,n;function u(s,...h){if(s)return n(s);f(h.length>1?h:h[0])}return u[Ne]=new Promise((s,h)=>{f=s,n=h}),u}function Ir(f,n,u){typeof n!="number"&&(u=n,n=null),u=ve(u||Ie());var s=Object.keys(f).length;if(!s)return u(null);n||(n=s);var h={},c=0,d=!1,p=!1,g=Object.create(null),m=[],C=[],B={};Object.keys(f).forEach(w=>{var R=f[w];if(!Array.isArray(R)){P(w,[R]),C.push(w);return}var D=R.slice(0,R.length-1),U=D.length;if(U===0){P(w,R),C.push(w);return}B[w]=U,D.forEach(z=>{if(!f[z])throw new Error("async.auto task `"+w+"` has a non-existent dependency `"+z+"` in "+D.join(", "));We(z,()=>{U--,U===0&&P(w,R)})})}),N(),Z();function P(w,R){m.push(()=>ut(w,R))}function Z(){if(!d){if(m.length===0&&c===0)return u(null,h);for(;m.length&&c<n;){var w=m.shift();w()}}}function We(w,R){var D=g[w];D||(D=g[w]=[]),D.push(R)}function Oe(w){var R=g[w]||[];R.forEach(D=>D()),Z()}function ut(w,R){if(!p){var D=_e((z,...J)=>{if(c--,z===!1){d=!0;return}if(J.length<2&&([J]=J),z){var Ue={};if(Object.keys(h).forEach(Me=>{Ue[Me]=h[Me]}),Ue[w]=J,p=!0,g=Object.create(null),d)return;u(z,Ue)}else h[w]=J,Oe(w)});c++;var U=b(R[R.length-1]);R.length>1?U(h,D):U(D)}}function N(){for(var w,R=0;C.length;)w=C.pop(),R++,E(w).forEach(D=>{--B[D]===0&&C.push(D)});if(R!==s)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}function E(w){var R=[];return Object.keys(f).forEach(D=>{let U=f[D];Array.isArray(U)&&U.indexOf(w)>=0&&R.push(D)}),R}return u[Ne]}var fu=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,uu=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,ou=/,/,su=/(=.+)?(\s*)$/;function lu(f){let n="",u=0,s=f.indexOf("*/");for(;u<f.length;)if(f[u]==="/"&&f[u+1]==="/"){let h=f.indexOf(`
2
2
  `,u);u=h===-1?f.length:h}else if(s!==-1&&f[u]==="/"&&f[u+1]==="*"){let h=f.indexOf("*/",u);h!==-1?(u=h+2,s=f.indexOf("*/",u)):(n+=f[u],u++)}else n+=f[u],u++;return n}function hu(f){let n=lu(f.toString()),u=n.match(fu);if(u||(u=n.match(uu)),!u)throw new Error(`could not parse args in autoInject
3
3
  Source:
4
4
  `+n);let[,s]=u;return s.replace(/\s/g,"").split(ou).map(h=>h.replace(su,"").trim())}function Qi(f,n){var u={};return Object.keys(f).forEach(s=>{var h=f[s],c,d=O(h),p=!d&&h.length===1||d&&h.length===0;if(Array.isArray(h))c=[...h],h=c.pop(),u[s]=c.concat(c.length>0?g:h);else if(p)u[s]=h;else{if(c=hu(h),h.length===0&&!d&&c.length===0)throw new Error("autoInject task functions require explicit parameters.");d||c.pop(),u[s]=c.concat(g)}function g(m,C){var B=c.map(P=>m[P]);B.push(C),b(h)(...B)}}),Ir(u,n)}class cu{constructor(){this.head=this.tail=null,this.length=0}removeLink(n){return n.prev?n.prev.next=n.next:this.head=n.next,n.next?n.next.prev=n.prev:this.tail=n.prev,n.prev=n.next=null,this.length-=1,n}empty(){for(;this.head;)this.shift();return this}insertAfter(n,u){u.prev=n,u.next=n.next,n.next?n.next.prev=u:this.tail=u,n.next=u,this.length+=1}insertBefore(n,u){u.prev=n.prev,u.next=n,n.prev?n.prev.next=u:this.head=u,n.prev=u,this.length+=1}unshift(n){this.head?this.insertBefore(this.head,n):Xi(this,n)}push(n){this.tail?this.insertAfter(this.tail,n):Xi(this,n)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var n=this.head;n;)yield n.data,n=n.next}remove(n){for(var u=this.head;u;){var{next:s}=u;n(u)&&this.removeLink(u),u=s}return this}}function Xi(f,n){f.length=1,f.head=f.tail=n}function kr(f,n,u){if(n==null)n=1;else if(n===0)throw new RangeError("Concurrency must not be zero");var s=b(f),h=0,c=[];let d={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function p(E,w){d[E].push(w)}function g(E,w){let R=(...D)=>{m(E,R),w(...D)};d[E].push(R)}function m(E,w){if(!E)return Object.keys(d).forEach(R=>d[R]=[]);if(!w)return d[E]=[];d[E]=d[E].filter(R=>R!==w)}function C(E,...w){d[E].forEach(R=>R(...w))}var B=!1;function P(E,w,R,D){if(D!=null&&typeof D!="function")throw new Error("task callback must be a function");N.started=!0;var U,z;function J(Me,...ot){if(Me)return R?z(Me):U();if(ot.length<=1)return U(ot[0]);U(ot)}var Ue=N._createTaskItem(E,R?J:D||J);if(w?N._tasks.unshift(Ue):N._tasks.push(Ue),B||(B=!0,T(()=>{B=!1,N.process()})),R||!D)return new Promise((Me,ot)=>{U=Me,z=ot})}function Z(E){return function(w,...R){h-=1;for(var D=0,U=E.length;D<U;D++){var z=E[D],J=c.indexOf(z);J===0?c.shift():J>0&&c.splice(J,1),z.callback(w,...R),w!=null&&C("error",w,z.data)}h<=N.concurrency-N.buffer&&C("unsaturated"),N.idle()&&C("drain"),N.process()}}function We(E){return E.length===0&&N.idle()?(T(()=>C("drain")),!0):!1}let Oe=E=>w=>{if(!w)return new Promise((R,D)=>{g(E,(U,z)=>{if(U)return D(U);R(z)})});m(E),p(E,w)};var ut=!1,N={_tasks:new cu,_createTaskItem(E,w){return{data:E,callback:w}},*[Symbol.iterator](){yield*N._tasks[Symbol.iterator]()},concurrency:n,payload:u,buffer:n/4,started:!1,paused:!1,push(E,w){return Array.isArray(E)?We(E)?void 0:E.map(R=>P(R,!1,!1,w)):P(E,!1,!1,w)},pushAsync(E,w){return Array.isArray(E)?We(E)?void 0:E.map(R=>P(R,!1,!0,w)):P(E,!1,!0,w)},kill(){m(),N._tasks.empty()},unshift(E,w){return Array.isArray(E)?We(E)?void 0:E.map(R=>P(R,!0,!1,w)):P(E,!0,!1,w)},unshiftAsync(E,w){return Array.isArray(E)?We(E)?void 0:E.map(R=>P(R,!0,!0,w)):P(E,!0,!0,w)},remove(E){N._tasks.remove(E)},process(){if(!ut){for(ut=!0;!N.paused&&h<N.concurrency&&N._tasks.length;){var E=[],w=[],R=N._tasks.length;N.payload&&(R=Math.min(R,N.payload));for(var D=0;D<R;D++){var U=N._tasks.shift();E.push(U),c.push(U),w.push(U.data)}h+=1,N._tasks.length===0&&C("empty"),h===N.concurrency&&C("saturated");var z=_e(Z(E));s(w,z)}ut=!1}},length(){return N._tasks.length},running(){return h},workersList(){return c},idle(){return N._tasks.length+h===0},pause(){N.paused=!0},resume(){N.paused!==!1&&(N.paused=!1,T(N.process))}};return Object.defineProperties(N,{saturated:{writable:!1,value:Oe("saturated")},unsaturated:{writable:!1,value:Oe("unsaturated")},empty:{writable:!1,value:Oe("empty")},drain:{writable:!1,value:Oe("drain")},error:{writable:!1,value:Oe("error")}}),N}function Zi(f,n){return kr(f,1,n)}function Ji(f,n,u){return kr(f,n,u)}function du(f,n,u,s){s=ve(s);var h=b(u);return ne(f,(c,d,p)=>{h(n,c,(g,m)=>{n=m,p(g)})},c=>s(c,n))}var we=S(du,4);function Wr(...f){var n=f.map(b);return function(...u){var s=this,h=u[u.length-1];return typeof h=="function"?u.pop():h=Ie(),we(n,u,(c,d,p)=>{d.apply(s,c.concat((g,...m)=>{p(g,m)}))},(c,d)=>h(c,...d)),h[Ne]}}function en(...f){return Wr(...f.reverse())}function pu(f,n,u,s){return Br(ie(n),f,u,s)}var rt=S(pu,4);function gu(f,n,u,s){var h=b(u);return rt(f,n,(c,d)=>{h(c,(p,...g)=>p?d(p):d(p,g))},(c,d)=>{for(var p=[],g=0;g<d.length;g++)d[g]&&(p=p.concat(...d[g]));return s(c,p)})}var ke=S(gu,4);function yu(f,n,u){return ke(f,1/0,n,u)}var Dt=S(yu,3);function vu(f,n,u){return ke(f,1,n,u)}var jt=S(vu,3);function tn(...f){return function(...n){var u=n.pop();return u(null,...f)}}function le(f,n){return(u,s,h,c)=>{var d=!1,p;let g=b(h);u(s,(m,C,B)=>{g(m,(P,Z)=>{if(P||P===!1)return B(P);if(f(Z)&&!p)return d=!0,p=n(!0,m),B(null,Ct);B()})},m=>{if(m)return c(m);c(null,d?p:n(!1))})}}function _u(f,n,u){return le(s=>s,(s,h)=>h)(X,f,n,u)}var Bt=S(_u,3);function wu(f,n,u,s){return le(h=>h,(h,c)=>c)(ie(n),f,u,s)}var Nt=S(wu,4);function mu(f,n,u){return le(s=>s,(s,h)=>h)(ie(1),f,n,u)}var It=S(mu,3);function rn(f){return(n,...u)=>b(n)(...u,(s,...h)=>{typeof console=="object"&&(s?console.error&&console.error(s):console[f]&&h.forEach(c=>console[f](c)))})}var nn=rn("dir");function bu(f,n,u){u=_e(u);var s=b(f),h=b(n),c;function d(g,...m){if(g)return u(g);g!==!1&&(c=m,h(...m,p))}function p(g,m){if(g)return u(g);if(g!==!1){if(!m)return u(null,...c);s(d)}}return p(null,!0)}var it=S(bu,3);function an(f,n,u){let s=b(n);return it(f,(...h)=>{let c=h.pop();s(...h,(d,p)=>c(d,!p))},u)}function fn(f){return(n,u,s)=>f(n,s)}function Su(f,n,u){return X(f,fn(b(n)),u)}var kt=S(Su,3);function Eu(f,n,u,s){return ie(n)(f,fn(b(u)),s)}var nt=S(Eu,4);function Ru(f,n,u){return nt(f,1,n,u)}var at=S(Ru,3);function Ur(f){return O(f)?f:function(...n){var u=n.pop(),s=!0;n.push((...h)=>{s?T(()=>u(...h)):u(...h)}),f.apply(this,n),s=!1}}function Tu(f,n,u){return le(s=>!s,s=>!s)(X,f,n,u)}var Wt=S(Tu,3);function Lu(f,n,u,s){return le(h=>!h,h=>!h)(ie(n),f,u,s)}var Ut=S(Lu,4);function Ou(f,n,u){return le(s=>!s,s=>!s)(ne,f,n,u)}var Ft=S(Ou,3);function Mu(f,n,u,s){var h=new Array(n.length);f(n,(c,d,p)=>{u(c,(g,m)=>{h[d]=!!m,p(g)})},c=>{if(c)return s(c);for(var d=[],p=0;p<n.length;p++)h[p]&&d.push(n[p]);s(null,d)})}function Au(f,n,u,s){var h=[];f(n,(c,d,p)=>{u(c,(g,m)=>{if(g)return p(g);m&&h.push({index:d,value:c}),p(g)})},c=>{if(c)return s(c);s(null,h.sort((d,p)=>d.index-p.index).map(d=>d.value))})}function $t(f,n,u,s){var h=xt(n)?Mu:Au;return h(f,n,b(u),s)}function qu(f,n,u){return $t(X,f,n,u)}var Ht=S(qu,3);function xu(f,n,u,s){return $t(ie(n),f,u,s)}var Gt=S(xu,4);function Cu(f,n,u){return $t(ne,f,n,u)}var zt=S(Cu,3);function Pu(f,n){var u=_e(n),s=b(Ur(f));function h(c){if(c)return u(c);c!==!1&&s(h)}return h()}var un=S(Pu,2);function Du(f,n,u,s){var h=b(u);return rt(f,n,(c,d)=>{h(c,(p,g)=>p?d(p):d(p,{key:g,val:c}))},(c,d)=>{for(var p={},{hasOwnProperty:g}=Object.prototype,m=0;m<d.length;m++)if(d[m]){var{key:C}=d[m],{val:B}=d[m];g.call(p,C)?p[C].push(B):p[C]=[B]}return s(c,p)})}var Vt=S(Du,4);function on(f,n,u){return Vt(f,1/0,n,u)}function sn(f,n,u){return Vt(f,1,n,u)}var ln=rn("log");function ju(f,n,u,s){s=ve(s);var h={},c=b(u);return ie(n)(f,(d,p,g)=>{c(d,p,(m,C)=>{if(m)return g(m);h[p]=C,g(m)})},d=>s(d,h))}var Kt=S(ju,4);function hn(f,n,u){return Kt(f,1/0,n,u)}function cn(f,n,u){return Kt(f,1,n,u)}function dn(f,n=u=>u){var u=Object.create(null),s=Object.create(null),h=b(f),c=r((d,p)=>{var g=n(...d);g in u?T(()=>p(null,...u[g])):g in s?s[g].push(p):(s[g]=[p],h(...d,(m,...C)=>{m||(u[g]=C);var B=s[g];delete s[g];for(var P=0,Z=B.length;P<Z;P++)B[P](m,...C)}))});return c.memo=u,c.unmemoized=f,c}var Yt;o?Yt=process.nextTick:a?Yt=setImmediate:Yt=l;var pn=y(Yt),Fr=S((f,n,u)=>{var s=xt(n)?[]:{};f(n,(h,c,d)=>{b(h)((p,...g)=>{g.length<2&&([g]=g),s[c]=g,d(p)})},h=>u(h,s))},3);function gn(f,n){return Fr(X,f,n)}function yn(f,n,u){return Fr(ie(n),f,u)}function $r(f,n){var u=b(f);return kr((s,h)=>{u(s[0],h)},n,1)}class Bu{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(n){let u;for(;n>0&&Hr(this.heap[n],this.heap[u=vn(n)]);){let s=this.heap[n];this.heap[n]=this.heap[u],this.heap[u]=s,n=u}}percDown(n){let u;for(;(u=Nu(n))<this.heap.length&&(u+1<this.heap.length&&Hr(this.heap[u+1],this.heap[u])&&(u=u+1),!Hr(this.heap[n],this.heap[u]));){let s=this.heap[n];this.heap[n]=this.heap[u],this.heap[u]=s,n=u}}push(n){n.pushCount=++this.pushCount,this.heap.push(n),this.percUp(this.heap.length-1)}unshift(n){return this.heap.push(n)}shift(){let[n]=this.heap;return this.heap[0]=this.heap[this.heap.length-1],this.heap.pop(),this.percDown(0),n}toArray(){return[...this]}*[Symbol.iterator](){for(let n=0;n<this.heap.length;n++)yield this.heap[n].data}remove(n){let u=0;for(let s=0;s<this.heap.length;s++)n(this.heap[s])||(this.heap[u]=this.heap[s],u++);this.heap.splice(u);for(let s=vn(this.heap.length-1);s>=0;s--)this.percDown(s);return this}}function Nu(f){return(f<<1)+1}function vn(f){return(f+1>>1)-1}function Hr(f,n){return f.priority!==n.priority?f.priority<n.priority:f.pushCount<n.pushCount}function _n(f,n){var u=$r(f,n),{push:s,pushAsync:h}=u;u._tasks=new Bu,u._createTaskItem=({data:d,priority:p},g)=>({data:d,priority:p,callback:g});function c(d,p){return Array.isArray(d)?d.map(g=>({data:g,priority:p})):{data:d,priority:p}}return u.push=function(d,p=0,g){return s(c(d,p),g)},u.pushAsync=function(d,p=0,g){return h(c(d,p),g)},delete u.unshift,delete u.unshiftAsync,u}function Iu(f,n){if(n=ve(n),!Array.isArray(f))return n(new TypeError("First argument to race must be an array of functions"));if(!f.length)return n();for(var u=0,s=f.length;u<s;u++)b(f[u])(n)}var wn=S(Iu,2);function Qt(f,n,u,s){var h=[...f].reverse();return we(h,n,u,s)}function Xt(f){var n=b(f);return r(function(s,h){return s.push((c,...d)=>{let p={};if(c&&(p.error=c),d.length>0){var g=d;d.length<=1&&([g]=d),p.value=g}h(null,p)}),n.apply(this,s)})}function mn(f){var n;return Array.isArray(f)?n=f.map(Xt):(n={},Object.keys(f).forEach(u=>{n[u]=Xt.call(this,f[u])})),n}function Gr(f,n,u,s){let h=b(u);return $t(f,n,(c,d)=>{h(c,(p,g)=>{d(p,!g)})},s)}function ku(f,n,u){return Gr(X,f,n,u)}var bn=S(ku,3);function Wu(f,n,u,s){return Gr(ie(n),f,u,s)}var Sn=S(Wu,4);function Uu(f,n,u){return Gr(ne,f,n,u)}var En=S(Uu,3);function Rn(f){return function(){return f}}let zr=5,Tn=0;function Zt(f,n,u){var s={times:zr,intervalFunc:Rn(Tn)};if(arguments.length<3&&typeof f=="function"?(u=n||Ie(),n=f):(Fu(s,f),u=u||Ie()),typeof n!="function")throw new Error("Invalid arguments for async.retry");var h=b(n),c=1;function d(){h((p,...g)=>{p!==!1&&(p&&c++<s.times&&(typeof s.errorFilter!="function"||s.errorFilter(p))?setTimeout(d,s.intervalFunc(c-1)):u(p,...g))})}return d(),u[Ne]}function Fu(f,n){if(typeof n=="object")f.times=+n.times||zr,f.intervalFunc=typeof n.interval=="function"?n.interval:Rn(+n.interval||Tn),f.errorFilter=n.errorFilter;else if(typeof n=="number"||typeof n=="string")f.times=+n||zr;else throw new Error("Invalid arguments for async.retry")}function Ln(f,n){n||(n=f,f=null);let u=f&&f.arity||n.length;O(n)&&(u+=1);var s=b(n);return r((h,c)=>{(h.length<u-1||c==null)&&(h.push(c),c=Ie());function d(p){s(...h,p)}return f?Zt(f,d,c):Zt(d,c),c[Ne]})}function On(f,n){return Fr(ne,f,n)}function $u(f,n,u){return le(Boolean,s=>s)(X,f,n,u)}var Jt=S($u,3);function Hu(f,n,u,s){return le(Boolean,h=>h)(ie(n),f,u,s)}var er=S(Hu,4);function Gu(f,n,u){return le(Boolean,s=>s)(ne,f,n,u)}var tr=S(Gu,3);function zu(f,n,u){var s=b(n);return Pt(f,(c,d)=>{s(c,(p,g)=>{if(p)return d(p);d(p,{value:c,criteria:g})})},(c,d)=>{if(c)return u(c);u(null,d.sort(h).map(p=>p.value))});function h(c,d){var p=c.criteria,g=d.criteria;return p<g?-1:p>g?1:0}}var Mn=S(zu,3);function An(f,n,u){var s=b(f);return r((h,c)=>{var d=!1,p;function g(){var m=f.name||"anonymous",C=new Error('Callback function "'+m+'" timed out.');C.code="ETIMEDOUT",u&&(C.info=u),d=!0,c(C)}h.push((...m)=>{d||(c(...m),clearTimeout(p))}),p=setTimeout(g,n),s(...h)})}function Vu(f){for(var n=Array(f);f--;)n[f]=f;return n}function rr(f,n,u,s){var h=b(u);return rt(Vu(f),n,h,s)}function qn(f,n,u){return rr(f,1/0,n,u)}function xn(f,n,u){return rr(f,1,n,u)}function Cn(f,n,u,s){arguments.length<=3&&typeof n=="function"&&(s=u,u=n,n=Array.isArray(f)?[]:{}),s=ve(s||Ie());var h=b(u);return X(f,(c,d,p)=>{h(n,c,d,p)},c=>s(c,n)),s[Ne]}function Ku(f,n){var u=null,s;return at(f,(h,c)=>{b(h)((d,...p)=>{if(d===!1)return c(d);p.length<2?[s]=p:s=p,u=d,c(d?null:{})})},()=>n(u,s))}var Pn=S(Ku);function Dn(f){return(...n)=>(f.unmemoized||f)(...n)}function Yu(f,n,u){u=_e(u);var s=b(n),h=b(f),c=[];function d(g,...m){if(g)return u(g);c=m,g!==!1&&h(p)}function p(g,m){if(g)return u(g);if(g!==!1){if(!m)return u(null,...c);s(d)}}return h(p)}var ft=S(Yu,3);function jn(f,n,u){let s=b(f);return ft(h=>s((c,d)=>h(c,!d)),n,u)}function Qu(f,n){if(n=ve(n),!Array.isArray(f))return n(new Error("First argument to waterfall must be an array of functions"));if(!f.length)return n();var u=0;function s(c){var d=b(f[u++]);d(...c,_e(h))}function h(c,...d){if(c!==!1){if(c||u===f.length)return n(c,...d);s(d)}}s([])}var Bn=S(Qu),Xu={apply:t,applyEach:Ki,applyEachSeries:Yi,asyncify:x,auto:Ir,autoInject:Qi,cargo:Zi,cargoQueue:Ji,compose:en,concat:Dt,concatLimit:ke,concatSeries:jt,constant:tn,detect:Bt,detectLimit:Nt,detectSeries:It,dir:nn,doUntil:an,doWhilst:it,each:kt,eachLimit:nt,eachOf:X,eachOfLimit:Be,eachOfSeries:ne,eachSeries:at,ensureAsync:Ur,every:Wt,everyLimit:Ut,everySeries:Ft,filter:Ht,filterLimit:Gt,filterSeries:zt,forever:un,groupBy:on,groupByLimit:Vt,groupBySeries:sn,log:ln,map:Pt,mapLimit:rt,mapSeries:Nr,mapValues:hn,mapValuesLimit:Kt,mapValuesSeries:cn,memoize:dn,nextTick:pn,parallel:gn,parallelLimit:yn,priorityQueue:_n,queue:$r,race:wn,reduce:we,reduceRight:Qt,reflect:Xt,reflectAll:mn,reject:bn,rejectLimit:Sn,rejectSeries:En,retry:Zt,retryable:Ln,seq:Wr,series:On,setImmediate:T,some:Jt,someLimit:er,someSeries:tr,sortBy:Mn,timeout:An,times:qn,timesLimit:rr,timesSeries:xn,transform:Cn,tryEach:Pn,unmemoize:Dn,until:jn,waterfall:Bn,whilst:ft,all:Wt,allLimit:Ut,allSeries:Ft,any:Jt,anyLimit:er,anySeries:tr,find:Bt,findLimit:Nt,findSeries:It,flatMap:Dt,flatMapLimit:ke,flatMapSeries:jt,forEach:kt,forEachSeries:at,forEachLimit:nt,forEachOf:X,forEachOfSeries:ne,forEachOfLimit:Be,inject:we,foldl:we,foldr:Qt,select:Ht,selectLimit:Gt,selectSeries:zt,wrapSync:x,during:ft,doDuring:it};e.all=Wt,e.allLimit=Ut,e.allSeries=Ft,e.any=Jt,e.anyLimit=er,e.anySeries=tr,e.apply=t,e.applyEach=Ki,e.applyEachSeries=Yi,e.asyncify=x,e.auto=Ir,e.autoInject=Qi,e.cargo=Zi,e.cargoQueue=Ji,e.compose=en,e.concat=Dt,e.concatLimit=ke,e.concatSeries=jt,e.constant=tn,e.default=Xu,e.detect=Bt,e.detectLimit=Nt,e.detectSeries=It,e.dir=nn,e.doDuring=it,e.doUntil=an,e.doWhilst=it,e.during=ft,e.each=kt,e.eachLimit=nt,e.eachOf=X,e.eachOfLimit=Be,e.eachOfSeries=ne,e.eachSeries=at,e.ensureAsync=Ur,e.every=Wt,e.everyLimit=Ut,e.everySeries=Ft,e.filter=Ht,e.filterLimit=Gt,e.filterSeries=zt,e.find=Bt,e.findLimit=Nt,e.findSeries=It,e.flatMap=Dt,e.flatMapLimit=ke,e.flatMapSeries=jt,e.foldl=we,e.foldr=Qt,e.forEach=kt,e.forEachLimit=nt,e.forEachOf=X,e.forEachOfLimit=Be,e.forEachOfSeries=ne,e.forEachSeries=at,e.forever=un,e.groupBy=on,e.groupByLimit=Vt,e.groupBySeries=sn,e.inject=we,e.log=ln,e.map=Pt,e.mapLimit=rt,e.mapSeries=Nr,e.mapValues=hn,e.mapValuesLimit=Kt,e.mapValuesSeries=cn,e.memoize=dn,e.nextTick=pn,e.parallel=gn,e.parallelLimit=yn,e.priorityQueue=_n,e.queue=$r,e.race=wn,e.reduce=we,e.reduceRight=Qt,e.reflect=Xt,e.reflectAll=mn,e.reject=bn,e.rejectLimit=Sn,e.rejectSeries=En,e.retry=Zt,e.retryable=Ln,e.select=Ht,e.selectLimit=Gt,e.selectSeries=zt,e.seq=Wr,e.series=On,e.setImmediate=T,e.some=Jt,e.someLimit=er,e.someSeries=tr,e.sortBy=Mn,e.timeout=An,e.times=qn,e.timesLimit=rr,e.timesSeries=xn,e.transform=Cn,e.tryEach=Pn,e.unmemoize=Dn,e.until=jn,e.waterfall=Bn,e.whilst=ft,e.wrapSync=x,Object.defineProperty(e,"__esModule",{value:!0})}))});var Vr=A((Qh,kn)=>{v();kn.exports=$("stream")});var Gn=A((Zh,Hn)=>{"use strict";v();function Wn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,i)}return r}function Un(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Wn(Object(r),!0).forEach(function(i){to(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wn(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function to(e,t,r){return t=$n(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ro(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fn(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,$n(i.key),i)}}function io(e,t,r){return t&&Fn(e.prototype,t),r&&Fn(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function $n(e){var t=no(e,"string");return typeof t=="symbol"?t:String(t)}function no(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ao=$("buffer"),nr=ao.Buffer,fo=$("util"),Kr=fo.inspect,uo=Kr&&Kr.custom||"inspect";function oo(e,t,r){nr.prototype.copy.call(e,t,r)}Hn.exports=(function(){function e(){ro(this,e),this.head=null,this.tail=null,this.length=0}return io(e,[{key:"push",value:function(r){var i={data:r,next:null};this.length>0?this.tail.next=i:this.head=i,this.tail=i,++this.length}},{key:"unshift",value:function(r){var i={data:r,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length}},{key:"shift",value:function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(r){if(this.length===0)return"";for(var i=this.head,a=""+i.data;i=i.next;)a+=r+i.data;return a}},{key:"concat",value:function(r){if(this.length===0)return nr.alloc(0);for(var i=nr.allocUnsafe(r>>>0),a=this.head,o=0;a;)oo(a.data,i,o),o+=a.data.length,a=a.next;return i}},{key:"consume",value:function(r,i){var a;return r<this.head.data.length?(a=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?a=this.shift():a=i?this._getString(r):this._getBuffer(r),a}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var i=this.head,a=1,o=i.data;for(r-=o.length;i=i.next;){var l=i.data,y=r>l.length?l.length:r;if(y===l.length?o+=l:o+=l.slice(0,r),r-=y,r===0){y===l.length?(++a,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=l.slice(y));break}++a}return this.length-=a,o}},{key:"_getBuffer",value:function(r){var i=nr.allocUnsafe(r),a=this.head,o=1;for(a.data.copy(i),r-=a.data.length;a=a.next;){var l=a.data,y=r>l.length?l.length:r;if(l.copy(i,i.length-r,0,y),r-=y,r===0){y===l.length?(++o,a.next?this.head=a.next:this.head=this.tail=null):(this.head=a,a.data=l.slice(y));break}++o}return this.length-=o,i}},{key:uo,value:function(r,i){return Kr(this,Un(Un({},i),{},{depth:0,customInspect:!1}))}}]),e})()});var Qr=A((ec,Vn)=>{"use strict";v();function so(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||a?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(Yr,this,e)):process.nextTick(Yr,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(o){!t&&o?r._writableState?r._writableState.errorEmitted?process.nextTick(ar,r):(r._writableState.errorEmitted=!0,process.nextTick(zn,r,o)):process.nextTick(zn,r,o):t?(process.nextTick(ar,r),t(o)):process.nextTick(ar,r)}),this)}function zn(e,t){Yr(e,t),ar(e)}function ar(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function lo(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function Yr(e,t){e.emit("error",t)}function ho(e,t){var r=e._readableState,i=e._writableState;r&&r.autoDestroy||i&&i.autoDestroy?e.destroy(t):e.emit("error",t)}Vn.exports={destroy:so,undestroy:lo,errorOrDestroy:ho}});var me=A((rc,Qn)=>{"use strict";v();var Yn={};function te(e,t,r){r||(r=Error);function i(o,l,y){return typeof t=="string"?t:t(o,l,y)}class a extends r{constructor(l,y,_){super(i(l,y,_))}}a.prototype.name=r.name,a.prototype.code=e,Yn[e]=a}function Kn(e,t){if(Array.isArray(e)){let r=e.length;return e=e.map(i=>String(i)),r>2?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:r===2?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}else return`of ${t} ${String(e)}`}function co(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function po(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function go(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}te("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);te("ERR_INVALID_ARG_TYPE",function(e,t,r){let i;typeof t=="string"&&co(t,"not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";let a;if(po(e," argument"))a=`The ${e} ${i} ${Kn(t,"type")}`;else{let o=go(e,".")?"property":"argument";a=`The "${e}" ${o} ${i} ${Kn(t,"type")}`}return a+=`. Received type ${typeof r}`,a},TypeError);te("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");te("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});te("ERR_STREAM_PREMATURE_CLOSE","Premature close");te("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});te("ERR_MULTIPLE_CALLBACK","Callback called multiple times");te("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");te("ERR_STREAM_WRITE_AFTER_END","write after end");te("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);te("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);te("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");Qn.exports.codes=Yn});var Xr=A((nc,Xn)=>{"use strict";v();var yo=me().codes.ERR_INVALID_OPT_VALUE;function vo(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function _o(e,t,r,i){var a=vo(t,i,r);if(a!=null){if(!(isFinite(a)&&Math.floor(a)===a)||a<0){var o=i?r:"highWaterMark";throw new yo(o,a)}return Math.floor(a)}return e.objectMode?16:16*1024}Xn.exports={getHighWaterMark:_o}});var ei=A((fc,ia)=>{"use strict";v();ia.exports=F;function Jn(e){var t=this;this.next=null,this.entry=null,this.finish=function(){Go(t,e)}}var Fe;F.WritableState=lt;var wo={deprecate:Nn()},ea=Vr(),ur=$("buffer").Buffer,mo=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function bo(e){return ur.from(e)}function So(e){return ur.isBuffer(e)||e instanceof mo}var Jr=Qr(),Eo=Xr(),Ro=Eo.getHighWaterMark,be=me().codes,To=be.ERR_INVALID_ARG_TYPE,Lo=be.ERR_METHOD_NOT_IMPLEMENTED,Oo=be.ERR_MULTIPLE_CALLBACK,Mo=be.ERR_STREAM_CANNOT_PIPE,Ao=be.ERR_STREAM_DESTROYED,qo=be.ERR_STREAM_NULL_VALUES,xo=be.ERR_STREAM_WRITE_AFTER_END,Co=be.ERR_UNKNOWN_ENCODING,$e=Jr.errorOrDestroy;ee()(F,ea);function Po(){}function lt(e,t,r){Fe=Fe||Ae(),e=e||{},typeof r!="boolean"&&(r=t instanceof Fe),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=Ro(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=e.decodeStrings===!1;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(a){Wo(t,a)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new Jn(this)}lt.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(lt.prototype,"buffer",{get:wo.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var fr;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(fr=Function.prototype[Symbol.hasInstance],Object.defineProperty(F,Symbol.hasInstance,{value:function(t){return fr.call(this,t)?!0:this!==F?!1:t&&t._writableState instanceof lt}})):fr=function(t){return t instanceof this};function F(e){Fe=Fe||Ae();var t=this instanceof Fe;if(!t&&!fr.call(F,this))return new F(e);this._writableState=new lt(e,this,t),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),ea.call(this)}F.prototype.pipe=function(){$e(this,new Mo)};function Do(e,t){var r=new xo;$e(e,r),process.nextTick(t,r)}function jo(e,t,r,i){var a;return r===null?a=new qo:typeof r!="string"&&!t.objectMode&&(a=new To("chunk",["string","Buffer"],r)),a?($e(e,a),process.nextTick(i,a),!1):!0}F.prototype.write=function(e,t,r){var i=this._writableState,a=!1,o=!i.objectMode&&So(e);return o&&!ur.isBuffer(e)&&(e=bo(e)),typeof t=="function"&&(r=t,t=null),o?t="buffer":t||(t=i.defaultEncoding),typeof r!="function"&&(r=Po),i.ending?Do(this,r):(o||jo(this,i,e,r))&&(i.pendingcb++,a=No(this,i,o,e,t,r)),a};F.prototype.cork=function(){this._writableState.corked++};F.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&ta(this,e))};F.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new Co(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(F.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Bo(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=ur.from(t,r)),t}Object.defineProperty(F.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function No(e,t,r,i,a,o){if(!r){var l=Bo(t,i,a);i!==l&&(r=!0,a="buffer",i=l)}var y=t.objectMode?1:i.length;t.length+=y;var _=t.length<t.highWaterMark;if(_||(t.needDrain=!0),t.writing||t.corked){var T=t.lastBufferedRequest;t.lastBufferedRequest={chunk:i,encoding:a,isBuf:r,callback:o,next:null},T?T.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else Zr(e,t,!1,y,i,a,o);return _}function Zr(e,t,r,i,a,o,l){t.writelen=i,t.writecb=l,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new Ao("write")):r?e._writev(a,t.onwrite):e._write(a,o,t.onwrite),t.sync=!1}function Io(e,t,r,i,a){--t.pendingcb,r?(process.nextTick(a,i),process.nextTick(st,e,t),e._writableState.errorEmitted=!0,$e(e,i)):(a(i),e._writableState.errorEmitted=!0,$e(e,i),st(e,t))}function ko(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function Wo(e,t){var r=e._writableState,i=r.sync,a=r.writecb;if(typeof a!="function")throw new Oo;if(ko(r),t)Io(e,r,i,t,a);else{var o=ra(r)||e.destroyed;!o&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&ta(e,r),i?process.nextTick(Zn,e,r,o,a):Zn(e,r,o,a)}}function Zn(e,t,r,i){r||Uo(e,t),t.pendingcb--,i(),st(e,t)}function Uo(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function ta(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,a=new Array(i),o=t.corkedRequestsFree;o.entry=r;for(var l=0,y=!0;r;)a[l]=r,r.isBuf||(y=!1),r=r.next,l+=1;a.allBuffers=y,Zr(e,t,!0,t.length,a,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new Jn(t),t.bufferedRequestCount=0}else{for(;r;){var _=r.chunk,T=r.encoding,x=r.callback,M=t.objectMode?1:_.length;if(Zr(e,t,!1,M,_,T,x),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}F.prototype._write=function(e,t,r){r(new Lo("_write()"))};F.prototype._writev=null;F.prototype.end=function(e,t,r){var i=this._writableState;return typeof e=="function"?(r=e,e=null,t=null):typeof t=="function"&&(r=t,t=null),e!=null&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||Ho(this,i,r),this};Object.defineProperty(F.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function ra(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function Fo(e,t){e._final(function(r){t.pendingcb--,r&&$e(e,r),t.prefinished=!0,e.emit("prefinish"),st(e,t)})}function $o(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(Fo,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function st(e,t){var r=ra(t);if(r&&($o(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return r}function Ho(e,t,r){t.ending=!0,st(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function Go(e,t,r){var i=e.entry;for(e.entry=null;i;){var a=i.callback;t.pendingcb--,a(r),i=i.next}t.corkedRequestsFree.next=e}Object.defineProperty(F.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}});F.prototype.destroy=Jr.destroy;F.prototype._undestroy=Jr.undestroy;F.prototype._destroy=function(e,t){t(e)}});var Ae=A((oc,aa)=>{"use strict";v();var zo=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};aa.exports=fe;var na=ii(),ri=ei();ee()(fe,na);for(ti=zo(ri.prototype),or=0;or<ti.length;or++)sr=ti[or],fe.prototype[sr]||(fe.prototype[sr]=ri.prototype[sr]);var ti,sr,or;function fe(e){if(!(this instanceof fe))return new fe(e);na.call(this,e),ri.call(this,e),this.allowHalfOpen=!0,e&&(e.readable===!1&&(this.readable=!1),e.writable===!1&&(this.writable=!1),e.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",Vo)))}Object.defineProperty(fe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(fe.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(fe.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Vo(){this._writableState.ended||process.nextTick(Ko,this)}function Ko(e){e.end()}Object.defineProperty(fe.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(t){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=t,this._writableState.destroyed=t)}})});var oa=A((ni,ua)=>{v();var lr=$("buffer"),ue=lr.Buffer;function fa(e,t){for(var r in e)t[r]=e[r]}ue.from&&ue.alloc&&ue.allocUnsafe&&ue.allocUnsafeSlow?ua.exports=lr:(fa(lr,ni),ni.Buffer=qe);function qe(e,t,r){return ue(e,t,r)}qe.prototype=Object.create(ue.prototype);fa(ue,qe);qe.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return ue(e,t,r)};qe.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var i=ue(e);return t!==void 0?typeof r=="string"?i.fill(t,r):i.fill(t):i.fill(0),i};qe.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return ue(e)};qe.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return lr.SlowBuffer(e)}});var ui=A(la=>{"use strict";v();var fi=oa().Buffer,sa=fi.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Yo(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function Qo(e){var t=Yo(e);if(typeof t!="string"&&(fi.isEncoding===sa||!sa(e)))throw new Error("Unknown encoding: "+e);return t||e}la.StringDecoder=ht;function ht(e){this.encoding=Qo(e);var t;switch(this.encoding){case"utf16le":this.text=rs,this.end=is,t=4;break;case"utf8":this.fillLast=Jo,t=4;break;case"base64":this.text=ns,this.end=as,t=3;break;default:this.write=fs,this.end=us;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=fi.allocUnsafe(t)}ht.prototype.write=function(e){if(e.length===0)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""};ht.prototype.end=ts;ht.prototype.text=es;ht.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function ai(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function Xo(e,t,r){var i=t.length-1;if(i<r)return 0;var a=ai(t[i]);return a>=0?(a>0&&(e.lastNeed=a-1),a):--i<r||a===-2?0:(a=ai(t[i]),a>=0?(a>0&&(e.lastNeed=a-2),a):--i<r||a===-2?0:(a=ai(t[i]),a>=0?(a>0&&(a===2?a=0:e.lastNeed=a-3),a):0))}function Zo(e,t,r){if((t[0]&192)!==128)return e.lastNeed=0,"\uFFFD";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"\uFFFD";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"\uFFFD"}}function Jo(e){var t=this.lastTotal-this.lastNeed,r=Zo(this,e,t);if(r!==void 0)return r;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function es(e,t){var r=Xo(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var i=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)}function ts(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function rs(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var i=r.charCodeAt(r.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function is(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function ns(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function as(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function fs(e){return e.toString(this.encoding)}function us(e){return e&&e.length?this.write(e):""}});var hr=A((dc,da)=>{"use strict";v();var ha=me().codes.ERR_STREAM_PREMATURE_CLOSE;function os(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];e.apply(this,i)}}}function ss(){}function ls(e){return e.setHeader&&typeof e.abort=="function"}function ca(e,t,r){if(typeof t=="function")return ca(e,null,t);t||(t={}),r=os(r||ss);var i=t.readable||t.readable!==!1&&e.readable,a=t.writable||t.writable!==!1&&e.writable,o=function(){e.writable||y()},l=e._writableState&&e._writableState.finished,y=function(){a=!1,l=!0,i||r.call(e)},_=e._readableState&&e._readableState.endEmitted,T=function(){i=!1,_=!0,a||r.call(e)},x=function(H){r.call(e,H)},M=function(){var H;if(i&&!_)return(!e._readableState||!e._readableState.ended)&&(H=new ha),r.call(e,H);if(a&&!l)return(!e._writableState||!e._writableState.ended)&&(H=new ha),r.call(e,H)},L=function(){e.req.on("finish",y)};return ls(e)?(e.on("complete",y),e.on("abort",M),e.req?L():e.on("request",L)):a&&!e._writableState&&(e.on("end",o),e.on("close",o)),e.on("end",T),e.on("finish",y),t.error!==!1&&e.on("error",x),e.on("close",M),function(){e.removeListener("complete",y),e.removeListener("abort",M),e.removeListener("request",L),e.req&&e.req.removeListener("finish",y),e.removeListener("end",o),e.removeListener("close",o),e.removeListener("finish",y),e.removeListener("end",T),e.removeListener("error",x),e.removeListener("close",M)}}da.exports=ca});var ga=A((gc,pa)=>{"use strict";v();var cr;function Se(e,t,r){return t=hs(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hs(e){var t=cs(e,"string");return typeof t=="symbol"?t:String(t)}function cs(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ds=hr(),Ee=Symbol("lastResolve"),xe=Symbol("lastReject"),ct=Symbol("error"),dr=Symbol("ended"),Ce=Symbol("lastPromise"),oi=Symbol("handlePromise"),Pe=Symbol("stream");function Re(e,t){return{value:e,done:t}}function ps(e){var t=e[Ee];if(t!==null){var r=e[Pe].read();r!==null&&(e[Ce]=null,e[Ee]=null,e[xe]=null,t(Re(r,!1)))}}function gs(e){process.nextTick(ps,e)}function ys(e,t){return function(r,i){e.then(function(){if(t[dr]){r(Re(void 0,!0));return}t[oi](r,i)},i)}}var vs=Object.getPrototypeOf(function(){}),_s=Object.setPrototypeOf((cr={get stream(){return this[Pe]},next:function(){var t=this,r=this[ct];if(r!==null)return Promise.reject(r);if(this[dr])return Promise.resolve(Re(void 0,!0));if(this[Pe].destroyed)return new Promise(function(l,y){process.nextTick(function(){t[ct]?y(t[ct]):l(Re(void 0,!0))})});var i=this[Ce],a;if(i)a=new Promise(ys(i,this));else{var o=this[Pe].read();if(o!==null)return Promise.resolve(Re(o,!1));a=new Promise(this[oi])}return this[Ce]=a,a}},Se(cr,Symbol.asyncIterator,function(){return this}),Se(cr,"return",function(){var t=this;return new Promise(function(r,i){t[Pe].destroy(null,function(a){if(a){i(a);return}r(Re(void 0,!0))})})}),cr),vs),ws=function(t){var r,i=Object.create(_s,(r={},Se(r,Pe,{value:t,writable:!0}),Se(r,Ee,{value:null,writable:!0}),Se(r,xe,{value:null,writable:!0}),Se(r,ct,{value:null,writable:!0}),Se(r,dr,{value:t._readableState.endEmitted,writable:!0}),Se(r,oi,{value:function(o,l){var y=i[Pe].read();y?(i[Ce]=null,i[Ee]=null,i[xe]=null,o(Re(y,!1))):(i[Ee]=o,i[xe]=l)},writable:!0}),r));return i[Ce]=null,ds(t,function(a){if(a&&a.code!=="ERR_STREAM_PREMATURE_CLOSE"){var o=i[xe];o!==null&&(i[Ce]=null,i[Ee]=null,i[xe]=null,o(a)),i[ct]=a;return}var l=i[Ee];l!==null&&(i[Ce]=null,i[Ee]=null,i[xe]=null,l(Re(void 0,!0))),i[dr]=!0}),t.on("readable",gs.bind(null,i)),i};pa.exports=ws});var wa=A((vc,_a)=>{"use strict";v();function ya(e,t,r,i,a,o,l){try{var y=e[o](l),_=y.value}catch(T){r(T);return}y.done?t(_):Promise.resolve(_).then(i,a)}function ms(e){return function(){var t=this,r=arguments;return new Promise(function(i,a){var o=e.apply(t,r);function l(_){ya(o,i,a,l,y,"next",_)}function y(_){ya(o,i,a,l,y,"throw",_)}l(void 0)})}}function va(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,i)}return r}function bs(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?va(Object(r),!0).forEach(function(i){Ss(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):va(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function Ss(e,t,r){return t=Es(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Es(e){var t=Rs(e,"string");return typeof t=="symbol"?t:String(t)}function Rs(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||"default");if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ts=me().codes.ERR_INVALID_ARG_TYPE;function Ls(e,t,r){var i;if(t&&typeof t.next=="function")i=t;else if(t&&t[Symbol.asyncIterator])i=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])i=t[Symbol.iterator]();else throw new Ts("iterable",["Iterable"],t);var a=new e(bs({objectMode:!0},r)),o=!1;a._read=function(){o||(o=!0,l())};function l(){return y.apply(this,arguments)}function y(){return y=ms(function*(){try{var _=yield i.next(),T=_.value,x=_.done;x?a.push(null):a.push(yield T)?l():o=!1}catch(M){a.destroy(M)}}),y.apply(this,arguments)}return a}_a.exports=Ls});var ii=A((mc,Aa)=>{"use strict";v();Aa.exports=j;var He;j.ReadableState=Ea;var wc=$("events").EventEmitter,Sa=function(t,r){return t.listeners(r).length},pt=Vr(),pr=$("buffer").Buffer,Os=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Ms(e){return pr.from(e)}function As(e){return pr.isBuffer(e)||e instanceof Os}var si=$("util"),q;si&&si.debuglog?q=si.debuglog("stream"):q=function(){};var qs=Gn(),yi=Qr(),xs=Xr(),Cs=xs.getHighWaterMark,gr=me().codes,Ps=gr.ERR_INVALID_ARG_TYPE,Ds=gr.ERR_STREAM_PUSH_AFTER_EOF,js=gr.ERR_METHOD_NOT_IMPLEMENTED,Bs=gr.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,Ge,li,hi;ee()(j,pt);var dt=yi.errorOrDestroy,ci=["error","close","destroy","pause","resume"];function Ns(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}function Ea(e,t,r){He=He||Ae(),e=e||{},typeof r!="boolean"&&(r=t instanceof He),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=Cs(this,e,"readableHighWaterMark",r),this.buffer=new qs,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(Ge||(Ge=ui().StringDecoder),this.decoder=new Ge(e.encoding),this.encoding=e.encoding)}function j(e){if(He=He||Ae(),!(this instanceof j))return new j(e);var t=this instanceof He;this._readableState=new Ea(e,this,t),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),pt.call(this)}Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}});j.prototype.destroy=yi.destroy;j.prototype._undestroy=yi.undestroy;j.prototype._destroy=function(e,t){t(e)};j.prototype.push=function(e,t){var r=this._readableState,i;return r.objectMode?i=!0:typeof e=="string"&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=pr.from(e,t),t=""),i=!0),Ra(this,e,t,!1,i)};j.prototype.unshift=function(e){return Ra(this,e,null,!0,!1)};function Ra(e,t,r,i,a){q("readableAddChunk",t);var o=e._readableState;if(t===null)o.reading=!1,Ws(e,o);else{var l;if(a||(l=Is(o,t)),l)dt(e,l);else if(o.objectMode||t&&t.length>0)if(typeof t!="string"&&!o.objectMode&&Object.getPrototypeOf(t)!==pr.prototype&&(t=Ms(t)),i)o.endEmitted?dt(e,new Bs):di(e,o,t,!0);else if(o.ended)dt(e,new Ds);else{if(o.destroyed)return!1;o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||t.length!==0?di(e,o,t,!1):gi(e,o)):di(e,o,t,!1)}else i||(o.reading=!1,gi(e,o))}return!o.ended&&(o.length<o.highWaterMark||o.length===0)}function di(e,t,r,i){t.flowing&&t.length===0&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&yr(e)),gi(e,t)}function Is(e,t){var r;return!As(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new Ps("chunk",["string","Buffer","Uint8Array"],t)),r}j.prototype.isPaused=function(){return this._readableState.flowing===!1};j.prototype.setEncoding=function(e){Ge||(Ge=ui().StringDecoder);var t=new Ge(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";r!==null;)i+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),i!==""&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var ma=1073741824;function ks(e){return e>=ma?e=ma:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function ba(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=ks(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}j.prototype.read=function(e){q("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&((t.highWaterMark!==0?t.length>=t.highWaterMark:t.length>0)||t.ended))return q("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?pi(this):yr(this),null;if(e=ba(e,t),e===0&&t.ended)return t.length===0&&pi(this),null;var i=t.needReadable;q("need readable",i),(t.length===0||t.length-e<t.highWaterMark)&&(i=!0,q("length less than watermark",i)),t.ended||t.reading?(i=!1,q("reading or ended",i)):i&&(q("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=ba(r,t)));var a;return e>0?a=Oa(e,t):a=null,a===null?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),t.length===0&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&pi(this)),a!==null&&this.emit("data",a),a};function Ws(e,t){if(q("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?yr(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,Ta(e)))}}function yr(e){var t=e._readableState;q("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(q("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(Ta,e))}function Ta(e){var t=e._readableState;q("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,vi(e)}function gi(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(Us,e,t))}function Us(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var r=t.length;if(q("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}j.prototype._read=function(e){dt(this,new js("_read()"))};j.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e);break}i.pipesCount+=1,q("pipe count=%d opts=%j",i.pipesCount,t);var a=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,o=a?y:Q;i.endEmitted?process.nextTick(o):r.once("end",o),e.on("unpipe",l);function l(b,S){q("onunpipe"),b===r&&S&&S.hasUnpiped===!1&&(S.hasUnpiped=!0,x())}function y(){q("onend"),e.end()}var _=Fs(r);e.on("drain",_);var T=!1;function x(){q("cleanup"),e.removeListener("close",O),e.removeListener("finish",H),e.removeListener("drain",_),e.removeListener("error",L),e.removeListener("unpipe",l),r.removeListener("end",y),r.removeListener("end",Q),r.removeListener("data",M),T=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&_()}r.on("data",M);function M(b){q("ondata");var S=e.write(b);q("dest.write",S),S===!1&&((i.pipesCount===1&&i.pipes===e||i.pipesCount>1&&Ma(i.pipes,e)!==-1)&&!T&&(q("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function L(b){q("onerror",b),Q(),e.removeListener("error",L),Sa(e,"error")===0&&dt(e,b)}Ns(e,"error",L);function O(){e.removeListener("finish",H),Q()}e.once("close",O);function H(){q("onfinish"),e.removeListener("close",O),Q()}e.once("finish",H);function Q(){q("unpipe"),r.unpipe(e)}return e.emit("pipe",r),i.flowing||(q("pipe resume"),r.resume()),e};function Fs(e){return function(){var r=e._readableState;q("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&Sa(e,"data")&&(r.flowing=!0,vi(e))}}j.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var i=t.pipes,a=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<a;o++)i[o].emit("unpipe",this,{hasUnpiped:!1});return this}var l=Ma(t.pipes,e);return l===-1?this:(t.pipes.splice(l,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)};j.prototype.on=function(e,t){var r=pt.prototype.on.call(this,e,t),i=this._readableState;return e==="data"?(i.readableListening=this.listenerCount("readable")>0,i.flowing!==!1&&this.resume()):e==="readable"&&!i.endEmitted&&!i.readableListening&&(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,q("on readable",i.length,i.reading),i.length?yr(this):i.reading||process.nextTick($s,this)),r};j.prototype.addListener=j.prototype.on;j.prototype.removeListener=function(e,t){var r=pt.prototype.removeListener.call(this,e,t);return e==="readable"&&process.nextTick(La,this),r};j.prototype.removeAllListeners=function(e){var t=pt.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(La,this),t};function La(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function $s(e){q("readable nexttick read 0"),e.read(0)}j.prototype.resume=function(){var e=this._readableState;return e.flowing||(q("resume"),e.flowing=!e.readableListening,Hs(this,e)),e.paused=!1,this};function Hs(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(Gs,e,t))}function Gs(e,t){q("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),vi(e),t.flowing&&!t.reading&&e.read(0)}j.prototype.pause=function(){return q("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(q("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function vi(e){var t=e._readableState;for(q("flow",t.flowing);t.flowing&&e.read()!==null;);}j.prototype.wrap=function(e){var t=this,r=this._readableState,i=!1;e.on("end",function(){if(q("wrapped end"),r.decoder&&!r.ended){var l=r.decoder.end();l&&l.length&&t.push(l)}t.push(null)}),e.on("data",function(l){if(q("wrapped data"),r.decoder&&(l=r.decoder.write(l)),!(r.objectMode&&l==null)&&!(!r.objectMode&&(!l||!l.length))){var y=t.push(l);y||(i=!0,e.pause())}});for(var a in e)this[a]===void 0&&typeof e[a]=="function"&&(this[a]=(function(y){return function(){return e[y].apply(e,arguments)}})(a));for(var o=0;o<ci.length;o++)e.on(ci[o],this.emit.bind(this,ci[o]));return this._read=function(l){q("wrapped _read",l),i&&(i=!1,e.resume())},this};typeof Symbol=="function"&&(j.prototype[Symbol.asyncIterator]=function(){return li===void 0&&(li=ga()),li(this)});Object.defineProperty(j.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(j.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(j.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}});j._fromList=Oa;Object.defineProperty(j.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Oa(e,t){if(t.length===0)return null;var r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(t.decoder?r=t.buffer.join(""):t.buffer.length===1?r=t.buffer.first():r=t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function pi(e){var t=e._readableState;q("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(zs,t,e))}function zs(e,t){if(q("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}typeof Symbol=="function"&&(j.from=function(e,t){return hi===void 0&&(hi=wa()),hi(j,e,t)});function Ma(e,t){for(var r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return-1}});var _i=A((Sc,xa)=>{"use strict";v();xa.exports=he;var vr=me().codes,Vs=vr.ERR_METHOD_NOT_IMPLEMENTED,Ks=vr.ERR_MULTIPLE_CALLBACK,Ys=vr.ERR_TRANSFORM_ALREADY_TRANSFORMING,Qs=vr.ERR_TRANSFORM_WITH_LENGTH_0,_r=Ae();ee()(he,_r);function Xs(e,t){var r=this._transformState;r.transforming=!1;var i=r.writecb;if(i===null)return this.emit("error",new Ks);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),i(e);var a=this._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}function he(e){if(!(this instanceof he))return new he(e);_r.call(this,e),this._transformState={afterTransform:Xs.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",Zs)}function Zs(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){qa(e,t,r)}):qa(this,null,null)}he.prototype.push=function(e,t){return this._transformState.needTransform=!1,_r.prototype.push.call(this,e,t)};he.prototype._transform=function(e,t,r){r(new Vs("_transform()"))};he.prototype._write=function(e,t,r){var i=this._transformState;if(i.writecb=r,i.writechunk=e,i.writeencoding=t,!i.transforming){var a=this._readableState;(i.needTransform||a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}};he.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};he.prototype._destroy=function(e,t){_r.prototype._destroy.call(this,e,function(r){t(r)})};function qa(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new Qs;if(e._transformState.transforming)throw new Ys;return e.push(null)}});var Da=A((Rc,Pa)=>{"use strict";v();Pa.exports=gt;var Ca=_i();ee()(gt,Ca);function gt(e){if(!(this instanceof gt))return new gt(e);Ca.call(this,e)}gt.prototype._transform=function(e,t,r){r(null,e)}});var ka=A((Lc,Ia)=>{"use strict";v();var wi;function Js(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var Na=me().codes,el=Na.ERR_MISSING_ARGS,tl=Na.ERR_STREAM_DESTROYED;function ja(e){if(e)throw e}function rl(e){return e.setHeader&&typeof e.abort=="function"}function il(e,t,r,i){i=Js(i);var a=!1;e.on("close",function(){a=!0}),wi===void 0&&(wi=hr()),wi(e,{readable:t,writable:r},function(l){if(l)return i(l);a=!0,i()});var o=!1;return function(l){if(!a&&!o){if(o=!0,rl(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();i(l||new tl("pipe"))}}}function Ba(e){e()}function nl(e,t){return e.pipe(t)}function al(e){return!e.length||typeof e[e.length-1]!="function"?ja:e.pop()}function fl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=al(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new el("streams");var a,o=t.map(function(l,y){var _=y<t.length-1,T=y>0;return il(l,_,T,function(x){a||(a=x),x&&o.forEach(Ba),!_&&(o.forEach(Ba),i(a))})});return t.reduce(nl)}Ia.exports=fl});var ze=A((re,vt)=>{v();var yt=$("stream");process.env.READABLE_STREAM==="disable"&&yt?(vt.exports=yt.Readable,Object.assign(vt.exports,yt),vt.exports.Stream=yt):(re=vt.exports=ii(),re.Stream=yt||re,re.Readable=re,re.Writable=ei(),re.Duplex=Ae(),re.Transform=_i(),re.PassThrough=Da(),re.finished=hr(),re.pipeline=ka())});var Fa=A((Ac,Ua)=>{"use strict";v();var{Buffer:ae}=$("buffer"),Wa=Symbol.for("BufferList");function k(e){if(!(this instanceof k))return new k(e);k._init.call(this,e)}k._init=function(t){Object.defineProperty(this,Wa,{value:!0}),this._bufs=[],this.length=0,t&&this.append(t)};k.prototype._new=function(t){return new k(t)};k.prototype._offset=function(t){if(t===0)return[0,0];let r=0;for(let i=0;i<this._bufs.length;i++){let a=r+this._bufs[i].length;if(t<a||i===this._bufs.length-1)return[i,t-r];r=a}};k.prototype._reverseOffset=function(e){let t=e[0],r=e[1];for(let i=0;i<t;i++)r+=this._bufs[i].length;return r};k.prototype.get=function(t){if(t>this.length||t<0)return;let r=this._offset(t);return this._bufs[r[0]][r[1]]};k.prototype.slice=function(t,r){return typeof t=="number"&&t<0&&(t+=this.length),typeof r=="number"&&r<0&&(r+=this.length),this.copy(null,0,t,r)};k.prototype.copy=function(t,r,i,a){if((typeof i!="number"||i<0)&&(i=0),(typeof a!="number"||a>this.length)&&(a=this.length),i>=this.length||a<=0)return t||ae.alloc(0);let o=!!t,l=this._offset(i),y=a-i,_=y,T=o&&r||0,x=l[1];if(i===0&&a===this.length){if(!o)return this._bufs.length===1?this._bufs[0]:ae.concat(this._bufs,this.length);for(let M=0;M<this._bufs.length;M++)this._bufs[M].copy(t,T),T+=this._bufs[M].length;return t}if(_<=this._bufs[l[0]].length-x)return o?this._bufs[l[0]].copy(t,r,x,x+_):this._bufs[l[0]].slice(x,x+_);o||(t=ae.allocUnsafe(y));for(let M=l[0];M<this._bufs.length;M++){let L=this._bufs[M].length-x;if(_>L)this._bufs[M].copy(t,T,x),T+=L;else{this._bufs[M].copy(t,T,x,x+_),T+=L;break}_-=L,x&&(x=0)}return t.length>T?t.slice(0,T):t};k.prototype.shallowSlice=function(t,r){if(t=t||0,r=typeof r!="number"?this.length:r,t<0&&(t+=this.length),r<0&&(r+=this.length),t===r)return this._new();let i=this._offset(t),a=this._offset(r),o=this._bufs.slice(i[0],a[0]+1);return a[1]===0?o.pop():o[o.length-1]=o[o.length-1].slice(0,a[1]),i[1]!==0&&(o[0]=o[0].slice(i[1])),this._new(o)};k.prototype.toString=function(t,r,i){return this.slice(r,i).toString(t)};k.prototype.consume=function(t){if(t=Math.trunc(t),Number.isNaN(t)||t<=0)return this;for(;this._bufs.length;)if(t>=this._bufs[0].length)t-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(t),this.length-=t;break}return this};k.prototype.duplicate=function(){let t=this._new();for(let r=0;r<this._bufs.length;r++)t.append(this._bufs[r]);return t};k.prototype.append=function(t){if(t==null)return this;if(t.buffer)this._appendBuffer(ae.from(t.buffer,t.byteOffset,t.byteLength));else if(Array.isArray(t))for(let r=0;r<t.length;r++)this.append(t[r]);else if(this._isBufferList(t))for(let r=0;r<t._bufs.length;r++)this.append(t._bufs[r]);else typeof t=="number"&&(t=t.toString()),this._appendBuffer(ae.from(t));return this};k.prototype._appendBuffer=function(t){this._bufs.push(t),this.length+=t.length};k.prototype.indexOf=function(e,t,r){if(r===void 0&&typeof t=="string"&&(r=t,t=void 0),typeof e=="function"||Array.isArray(e))throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');if(typeof e=="number"?e=ae.from([e]):typeof e=="string"?e=ae.from(e,r):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=ae.from(e.buffer,e.byteOffset,e.byteLength):ae.isBuffer(e)||(e=ae.from(e)),t=Number(t||0),isNaN(t)&&(t=0),t<0&&(t=this.length+t),t<0&&(t=0),e.length===0)return t>this.length?this.length:t;let i=this._offset(t),a=i[0],o=i[1];for(;a<this._bufs.length;a++){let l=this._bufs[a];for(;o<l.length;)if(l.length-o>=e.length){let _=l.indexOf(e,o);if(_!==-1)return this._reverseOffset([a,_]);o=l.length-e.length+1}else{let _=this._reverseOffset([a,o]);if(this._match(_,e))return _;o++}o=0}return-1};k.prototype._match=function(e,t){if(this.length-e<t.length)return!1;for(let r=0;r<t.length;r++)if(this.get(e+r)!==t[r])return!1;return!0};(function(){let e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(let t in e)(function(r){e[r]===null?k.prototype[r]=function(i,a){return this.slice(i,i+a)[r](0,a)}:k.prototype[r]=function(i=0){return this.slice(i,i+e[r])[r](0)}})(t)})();k.prototype._isBufferList=function(t){return t instanceof k||k.isBufferList(t)};k.isBufferList=function(t){return t!=null&&t[Wa]};Ua.exports=k});var $a=A((xc,wr)=>{"use strict";v();var mi=ze().Duplex,ul=ee(),_t=Fa();function K(e){if(!(this instanceof K))return new K(e);if(typeof e=="function"){this._callback=e;let t=function(i){this._callback&&(this._callback(i),this._callback=null)}.bind(this);this.on("pipe",function(i){i.on("error",t)}),this.on("unpipe",function(i){i.removeListener("error",t)}),e=null}_t._init.call(this,e),mi.call(this)}ul(K,mi);Object.assign(K.prototype,_t.prototype);K.prototype._new=function(t){return new K(t)};K.prototype._write=function(t,r,i){this._appendBuffer(t),typeof i=="function"&&i()};K.prototype._read=function(t){if(!this.length)return this.push(null);t=Math.min(t,this.length),this.push(this.slice(0,t)),this.consume(t)};K.prototype.end=function(t){mi.prototype.end.call(this,t),this._callback&&(this._callback(null,this.slice()),this._callback=null)};K.prototype._destroy=function(t,r){this._bufs.length=0,this.length=0,r(t)};K.prototype._isBufferList=function(t){return t instanceof K||t instanceof _t||K.isBufferList(t)};K.isBufferList=_t.isBufferList;wr.exports=K;wr.exports.BufferListStream=K;wr.exports.BufferList=_t});var Ei=A(Ke=>{v();var ol=Buffer.alloc,sl="0000000000000000000",ll="7777777777777777777",Ha=48,Ga=Buffer.from("ustar\0","binary"),hl=Buffer.from("00","binary"),cl=Buffer.from("ustar ","binary"),dl=Buffer.from(" \0","binary"),pl=parseInt("7777",8),wt=257,Si=263,gl=function(e,t,r){return typeof e!="number"?r:(e=~~e,e>=t?t:e>=0||(e+=t,e>=0)?e:0)},yl=function(e){switch(e){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null},vl=function(e){switch(e){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0},za=function(e,t,r,i){for(;r<i;r++)if(e[r]===t)return r;return i},Va=function(e){for(var t=256,r=0;r<148;r++)t+=e[r];for(var i=156;i<512;i++)t+=e[i];return t},Te=function(e,t){return e=e.toString(8),e.length>t?ll.slice(0,t)+" ":sl.slice(0,t-e.length)+e+" "};function _l(e){var t;if(e[0]===128)t=!0;else if(e[0]===255)t=!1;else return null;for(var r=[],i=e.length-1;i>0;i--){var a=e[i];t?r.push(a):r.push(255-a)}var o=0,l=r.length;for(i=0;i<l;i++)o+=r[i]*Math.pow(256,i);return t?o:-1*o}var Le=function(e,t,r){if(e=e.slice(t,t+r),t=0,e[t]&128)return _l(e);for(;t<e.length&&e[t]===32;)t++;for(var i=gl(za(e,32,t,e.length),e.length,e.length);t<i&&e[t]===0;)t++;return i===t?0:parseInt(e.slice(t,i).toString(),8)},Ve=function(e,t,r,i){return e.slice(t,za(e,0,t,t+r)).toString(i)},bi=function(e){var t=Buffer.byteLength(e),r=Math.floor(Math.log(t)/Math.log(10))+1;return t+r>=Math.pow(10,r)&&r++,t+r+e};Ke.decodeLongPath=function(e,t){return Ve(e,0,e.length,t)};Ke.encodePax=function(e){var t="";e.name&&(t+=bi(" path="+e.name+`
@@ -1 +1 @@
1
- import{g as r}from"./chunk-VPRTJUIN.js";r();var a={nextDeprecationDate:void 0};function o(){return a.nextDeprecationDate}function c(t){if(t.length<1)return;let e=D(Date.now(),t);if(!e)return;let n=o();(!n||e<n.getTime())&&(a.nextDeprecationDate=new Date(e))}function D(t,e){return e.map(i=>i.getTime()).sort().find(i=>i>t)}export{o as a,c as b};
1
+ import{g as r}from"./chunk-VKWPEFWQ.js";r();var a={nextDeprecationDate:void 0};function o(){return a.nextDeprecationDate}function c(t){if(t.length<1)return;let e=D(Date.now(),t);if(!e)return;let n=o();(!n||e<n.getTime())&&(a.nextDeprecationDate=new Date(e))}function D(t,e){return e.map(i=>i.getTime()).sort().find(i=>i>t)}export{o as a,c as b};
@@ -1,4 +1,4 @@
1
- import{b as Dn,c as Mn,d as qn,e as An}from"./chunk-PRVQAHWI.js";import{a as E,c,g as o}from"./chunk-VPRTJUIN.js";var Vt=c(H=>{"use strict";o();Object.defineProperty(H,"__esModule",{value:!0});H.splitWhen=H.flatten=void 0;function Fn(t){return t.reduce((e,r)=>[].concat(e,r),[])}H.flatten=Fn;function Rn(t,e){let r=[[]],n=0;for(let s of t)e(s)?(n++,r[n]=[]):r[n].push(s);return r}H.splitWhen=Rn});var Ct=c(K=>{"use strict";o();Object.defineProperty(K,"__esModule",{value:!0});K.isEnoentCodeError=void 0;function Ln(t){return t.code==="ENOENT"}K.isEnoentCodeError=Ln});var Yt=c(z=>{"use strict";o();Object.defineProperty(z,"__esModule",{value:!0});z.createDirentFromStats=void 0;var Se=class{constructor(e,r){this.name=e,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function xn(t,e){return new Se(t,e)}z.createDirentFromStats=xn});var Qt=c(P=>{"use strict";o();Object.defineProperty(P,"__esModule",{value:!0});P.convertPosixPathToPattern=P.convertWindowsPathToPattern=P.convertPathToPattern=P.escapePosixPath=P.escapeWindowsPath=P.escape=P.removeLeadingDotSegment=P.makeAbsolute=P.unixify=void 0;var jn=E("os"),In=E("path"),Ht=jn.platform()==="win32",Bn=2,Nn=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,Wn=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,Vn=/^\\\\([.?])/,Cn=/\\(?![!()+@[\]{}])/g;function Yn(t){return t.replace(/\\/g,"/")}P.unixify=Yn;function Hn(t,e){return In.resolve(t,e)}P.makeAbsolute=Hn;function Un(t){if(t.charAt(0)==="."){let e=t.charAt(1);if(e==="/"||e==="\\")return t.slice(Bn)}return t}P.removeLeadingDotSegment=Un;P.escape=Ht?Pe:ve;function Pe(t){return t.replace(Wn,"\\$2")}P.escapeWindowsPath=Pe;function ve(t){return t.replace(Nn,"\\$2")}P.escapePosixPath=ve;P.convertPathToPattern=Ht?Ut:Gt;function Ut(t){return Pe(t).replace(Vn,"//$1").replace(Cn,"/")}P.convertWindowsPathToPattern=Ut;function Gt(t){return ve(t)}P.convertPosixPathToPattern=Gt});var Zt=c((bo,zt)=>{"use strict";o();var Xt=E("util"),Jt=Mn(),q=An(),Ee=qn(),$t=t=>t===""||t==="./",Kt=t=>{let e=t.indexOf("{");return e>-1&&t.indexOf("}",e)>-1},S=(t,e,r)=>{e=[].concat(e),t=[].concat(t);let n=new Set,s=new Set,i=new Set,a=0,d=u=>{i.add(u.output),r&&r.onResult&&r.onResult(u)};for(let u=0;u<e.length;u++){let _=q(String(e[u]),{...r,onResult:d},!0),p=_.state.negated||_.state.negatedExtglob;p&&a++;for(let R of t){let m=_(R,!0);(p?!m.isMatch:m.isMatch)&&(p?n.add(m.output):(n.delete(m.output),s.add(m.output)))}}let h=(a===e.length?[...i]:[...s]).filter(u=>!n.has(u));if(r&&h.length===0){if(r.failglob===!0)throw new Error(`No matches found for "${e.join(", ")}"`);if(r.nonull===!0||r.nullglob===!0)return r.unescape?e.map(u=>u.replace(/\\/g,"")):e}return h};S.match=S;S.matcher=(t,e)=>q(t,e);S.isMatch=(t,e,r)=>q(e,r)(t);S.any=S.isMatch;S.not=(t,e,r={})=>{e=[].concat(e).map(String);let n=new Set,s=[],i=d=>{r.onResult&&r.onResult(d),s.push(d.output)},a=new Set(S(t,e,{...r,onResult:i}));for(let d of s)a.has(d)||n.add(d);return[...n]};S.contains=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${Xt.inspect(t)}"`);if(Array.isArray(e))return e.some(n=>S.contains(t,n,r));if(typeof e=="string"){if($t(t)||$t(e))return!1;if(t.includes(e)||t.startsWith("./")&&t.slice(2).includes(e))return!0}return S.isMatch(t,e,{...r,contains:!0})};S.matchKeys=(t,e,r)=>{if(!Ee.isObject(t))throw new TypeError("Expected the first argument to be an object");let n=S(Object.keys(t),e,r),s={};for(let i of n)s[i]=t[i];return s};S.some=(t,e,r)=>{let n=[].concat(t);for(let s of[].concat(e)){let i=q(String(s),r);if(n.some(a=>i(a)))return!0}return!1};S.every=(t,e,r)=>{let n=[].concat(t);for(let s of[].concat(e)){let i=q(String(s),r);if(!n.every(a=>i(a)))return!1}return!0};S.all=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${Xt.inspect(t)}"`);return[].concat(e).every(n=>q(n,r)(t))};S.capture=(t,e,r)=>{let n=Ee.isWindows(r),i=q.makeRe(String(t),{...r,capture:!0}).exec(n?Ee.toPosixSlashes(e):e);if(i)return i.slice(1).map(a=>a===void 0?"":a)};S.makeRe=(...t)=>q.makeRe(...t);S.scan=(...t)=>q.scan(...t);S.parse=(t,e)=>{let r=[];for(let n of[].concat(t||[]))for(let s of Jt(String(n),e))r.push(q.parse(s,e));return r};S.braces=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return e&&e.nobrace===!0||!Kt(t)?[t]:Jt(t,e)};S.braceExpand=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return S.braces(t,{...e,expand:!0})};S.hasBraces=Kt;zt.exports=S});var cr=c(l=>{"use strict";o();Object.defineProperty(l,"__esModule",{value:!0});l.isAbsolute=l.partitionAbsoluteAndRelative=l.removeDuplicateSlashes=l.matchAny=l.convertPatternsToRe=l.makeRe=l.getPatternParts=l.expandBraceExpansion=l.expandPatternsWithBraceExpansion=l.isAffectDepthOfReadingPattern=l.endsWithSlashGlobStar=l.hasGlobStar=l.getBaseDirectory=l.isPatternRelatedToParentDirectory=l.getPatternsOutsideCurrentDirectory=l.getPatternsInsideCurrentDirectory=l.getPositivePatterns=l.getNegativePatterns=l.isPositivePattern=l.isNegativePattern=l.convertToNegativePattern=l.convertToPositivePattern=l.isDynamicPattern=l.isStaticPattern=void 0;var er=E("path"),Gn=Dn(),be=Zt(),tr="**",Qn="\\",$n=/[*?]|^!/,Xn=/\[[^[]*]/,Jn=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,Kn=/[!*+?@]\([^(]*\)/,zn=/,|\.\./,Zn=/(?!^)\/{2,}/g;function rr(t,e={}){return!nr(t,e)}l.isStaticPattern=rr;function nr(t,e={}){return t===""?!1:!!(e.caseSensitiveMatch===!1||t.includes(Qn)||$n.test(t)||Xn.test(t)||Jn.test(t)||e.extglob!==!1&&Kn.test(t)||e.braceExpansion!==!1&&es(t))}l.isDynamicPattern=nr;function es(t){let e=t.indexOf("{");if(e===-1)return!1;let r=t.indexOf("}",e+1);if(r===-1)return!1;let n=t.slice(e,r);return zn.test(n)}function ts(t){return Z(t)?t.slice(1):t}l.convertToPositivePattern=ts;function rs(t){return"!"+t}l.convertToNegativePattern=rs;function Z(t){return t.startsWith("!")&&t[1]!=="("}l.isNegativePattern=Z;function sr(t){return!Z(t)}l.isPositivePattern=sr;function ns(t){return t.filter(Z)}l.getNegativePatterns=ns;function ss(t){return t.filter(sr)}l.getPositivePatterns=ss;function is(t){return t.filter(e=>!we(e))}l.getPatternsInsideCurrentDirectory=is;function os(t){return t.filter(we)}l.getPatternsOutsideCurrentDirectory=os;function we(t){return t.startsWith("..")||t.startsWith("./..")}l.isPatternRelatedToParentDirectory=we;function as(t){return Gn(t,{flipBackslashes:!1})}l.getBaseDirectory=as;function us(t){return t.includes(tr)}l.hasGlobStar=us;function ir(t){return t.endsWith("/"+tr)}l.endsWithSlashGlobStar=ir;function cs(t){let e=er.basename(t);return ir(t)||rr(e)}l.isAffectDepthOfReadingPattern=cs;function ls(t){return t.reduce((e,r)=>e.concat(or(r)),[])}l.expandPatternsWithBraceExpansion=ls;function or(t){let e=be.braces(t,{expand:!0,nodupes:!0,keepEscaping:!0});return e.sort((r,n)=>r.length-n.length),e.filter(r=>r!=="")}l.expandBraceExpansion=or;function hs(t,e){let{parts:r}=be.scan(t,Object.assign(Object.assign({},e),{parts:!0}));return r.length===0&&(r=[t]),r[0].startsWith("/")&&(r[0]=r[0].slice(1),r.unshift("")),r}l.getPatternParts=hs;function ar(t,e){return be.makeRe(t,e)}l.makeRe=ar;function fs(t,e){return t.map(r=>ar(r,e))}l.convertPatternsToRe=fs;function ds(t,e){return e.some(r=>r.test(t))}l.matchAny=ds;function _s(t){return t.replace(Zn,"/")}l.removeDuplicateSlashes=_s;function ps(t){let e=[],r=[];for(let n of t)ur(n)?e.push(n):r.push(n);return[e,r]}l.partitionAbsoluteAndRelative=ps;function ur(t){return er.isAbsolute(t)}l.isAbsolute=ur});var dr=c((Oo,fr)=>{"use strict";o();var gs=E("stream"),lr=gs.PassThrough,ms=Array.prototype.slice;fr.exports=ys;function ys(){let t=[],e=ms.call(arguments),r=!1,n=e[e.length-1];n&&!Array.isArray(n)&&n.pipe==null?e.pop():n={};let s=n.end!==!1,i=n.pipeError===!0;n.objectMode==null&&(n.objectMode=!0),n.highWaterMark==null&&(n.highWaterMark=64*1024);let a=lr(n);function d(){for(let u=0,_=arguments.length;u<_;u++)t.push(hr(arguments[u],n));return f(),this}function f(){if(r)return;r=!0;let u=t.shift();if(!u){process.nextTick(h);return}Array.isArray(u)||(u=[u]);let _=u.length+1;function p(){--_>0||(r=!1,f())}function R(m){function O(){m.removeListener("merge2UnpipeEnd",O),m.removeListener("end",O),i&&m.removeListener("error",J),p()}function J(C){a.emit("error",C)}if(m._readableState.endEmitted)return p();m.on("merge2UnpipeEnd",O),m.on("end",O),i&&m.on("error",J),m.pipe(a,{end:!1}),m.resume()}for(let m=0;m<u.length;m++)R(u[m]);p()}function h(){r=!1,a.emit("queueDrain"),s&&a.end()}return a.setMaxListeners(0),a.add=d,a.on("unpipe",function(u){u.emit("merge2UnpipeEnd")}),e.length&&d.apply(null,e),a}function hr(t,e){if(Array.isArray(t))for(let r=0,n=t.length;r<n;r++)t[r]=hr(t[r],e);else{if(!t._readableState&&t.pipe&&(t=t.pipe(lr(e))),!t._readableState||!t.pause||!t.pipe)throw new Error("Only readable stream can be merged.");t.pause()}return t}});var pr=c(ee=>{"use strict";o();Object.defineProperty(ee,"__esModule",{value:!0});ee.merge=void 0;var Ss=dr();function Ps(t){let e=Ss(t);return t.forEach(r=>{r.once("error",n=>e.emit("error",n))}),e.once("close",()=>_r(t)),e.once("end",()=>_r(t)),e}ee.merge=Ps;function _r(t){t.forEach(e=>e.emit("close"))}});var gr=c(U=>{"use strict";o();Object.defineProperty(U,"__esModule",{value:!0});U.isEmpty=U.isString=void 0;function vs(t){return typeof t=="string"}U.isString=vs;function Es(t){return t===""}U.isEmpty=Es});var L=c(b=>{"use strict";o();Object.defineProperty(b,"__esModule",{value:!0});b.string=b.stream=b.pattern=b.path=b.fs=b.errno=b.array=void 0;var bs=Vt();b.array=bs;var ws=Ct();b.errno=ws;var Ts=Yt();b.fs=Ts;var ks=Qt();b.path=ks;var Os=cr();b.pattern=Os;var Ds=pr();b.stream=Ds;var Ms=gr();b.string=Ms});var Pr=c(w=>{"use strict";o();Object.defineProperty(w,"__esModule",{value:!0});w.convertPatternGroupToTask=w.convertPatternGroupsToTasks=w.groupPatternsByBaseDirectory=w.getNegativePatternsAsPositive=w.getPositivePatterns=w.convertPatternsToTasks=w.generate=void 0;var D=L();function qs(t,e){let r=mr(t,e),n=mr(e.ignore,e),s=yr(r),i=Sr(r,n),a=s.filter(u=>D.pattern.isStaticPattern(u,e)),d=s.filter(u=>D.pattern.isDynamicPattern(u,e)),f=Te(a,i,!1),h=Te(d,i,!0);return f.concat(h)}w.generate=qs;function mr(t,e){let r=t;return e.braceExpansion&&(r=D.pattern.expandPatternsWithBraceExpansion(r)),e.baseNameMatch&&(r=r.map(n=>n.includes("/")?n:`**/${n}`)),r.map(n=>D.pattern.removeDuplicateSlashes(n))}function Te(t,e,r){let n=[],s=D.pattern.getPatternsOutsideCurrentDirectory(t),i=D.pattern.getPatternsInsideCurrentDirectory(t),a=ke(s),d=ke(i);return n.push(...Oe(a,e,r)),"."in d?n.push(De(".",i,e,r)):n.push(...Oe(d,e,r)),n}w.convertPatternsToTasks=Te;function yr(t){return D.pattern.getPositivePatterns(t)}w.getPositivePatterns=yr;function Sr(t,e){return D.pattern.getNegativePatterns(t).concat(e).map(D.pattern.convertToPositivePattern)}w.getNegativePatternsAsPositive=Sr;function ke(t){let e={};return t.reduce((r,n)=>{let s=D.pattern.getBaseDirectory(n);return s in r?r[s].push(n):r[s]=[n],r},e)}w.groupPatternsByBaseDirectory=ke;function Oe(t,e,r){return Object.keys(t).map(n=>De(n,t[n],e,r))}w.convertPatternGroupsToTasks=Oe;function De(t,e,r,n){return{dynamic:n,positive:e,negative:r,base:t,patterns:[].concat(e,r.map(D.pattern.convertToNegativePattern))}}w.convertPatternGroupToTask=De});var Er=c(te=>{"use strict";o();Object.defineProperty(te,"__esModule",{value:!0});te.read=void 0;function As(t,e,r){e.fs.lstat(t,(n,s)=>{if(n!==null){vr(r,n);return}if(!s.isSymbolicLink()||!e.followSymbolicLink){Me(r,s);return}e.fs.stat(t,(i,a)=>{if(i!==null){if(e.throwErrorOnBrokenSymbolicLink){vr(r,i);return}Me(r,s);return}e.markSymbolicLink&&(a.isSymbolicLink=()=>!0),Me(r,a)})})}te.read=As;function vr(t,e){t(e)}function Me(t,e){t(null,e)}});var br=c(re=>{"use strict";o();Object.defineProperty(re,"__esModule",{value:!0});re.read=void 0;function Fs(t,e){let r=e.fs.lstatSync(t);if(!r.isSymbolicLink()||!e.followSymbolicLink)return r;try{let n=e.fs.statSync(t);return e.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(n){if(!e.throwErrorOnBrokenSymbolicLink)return r;throw n}}re.read=Fs});var wr=c(x=>{"use strict";o();Object.defineProperty(x,"__esModule",{value:!0});x.createFileSystemAdapter=x.FILE_SYSTEM_ADAPTER=void 0;var ne=E("fs");x.FILE_SYSTEM_ADAPTER={lstat:ne.lstat,stat:ne.stat,lstatSync:ne.lstatSync,statSync:ne.statSync};function Rs(t){return t===void 0?x.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},x.FILE_SYSTEM_ADAPTER),t)}x.createFileSystemAdapter=Rs});var Tr=c(Ae=>{"use strict";o();Object.defineProperty(Ae,"__esModule",{value:!0});var Ls=wr(),qe=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=Ls.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,r){return e??r}};Ae.default=qe});var Y=c(j=>{"use strict";o();Object.defineProperty(j,"__esModule",{value:!0});j.statSync=j.stat=j.Settings=void 0;var kr=Er(),xs=br(),Fe=Tr();j.Settings=Fe.default;function js(t,e,r){if(typeof e=="function"){kr.read(t,Re(),e);return}kr.read(t,Re(e),r)}j.stat=js;function Is(t,e){let r=Re(e);return xs.read(t,r)}j.statSync=Is;function Re(t={}){return t instanceof Fe.default?t:new Fe.default(t)}});var Mr=c((Qo,Dr)=>{o();var Or;Dr.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):t=>(Or||(Or=Promise.resolve())).then(t).catch(e=>setTimeout(()=>{throw e},0))});var Ar=c((Xo,qr)=>{o();qr.exports=Ns;var Bs=Mr();function Ns(t,e){let r,n,s,i=!0;Array.isArray(t)?(r=[],n=t.length):(s=Object.keys(t),r={},n=s.length);function a(f){function h(){e&&e(f,r),e=null}i?Bs(h):h()}function d(f,h,u){r[f]=u,(--n===0||h)&&a(h)}n?s?s.forEach(function(f){t[f](function(h,u){d(f,h,u)})}):t.forEach(function(f,h){f(function(u,_){d(h,u,_)})}):a(null),i=!1}});var Le=c(ie=>{"use strict";o();Object.defineProperty(ie,"__esModule",{value:!0});ie.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var se=process.versions.node.split(".");if(se[0]===void 0||se[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var Fr=Number.parseInt(se[0],10),Ws=Number.parseInt(se[1],10),Rr=10,Vs=10,Cs=Fr>Rr,Ys=Fr===Rr&&Ws>=Vs;ie.IS_SUPPORT_READDIR_WITH_FILE_TYPES=Cs||Ys});var Lr=c(oe=>{"use strict";o();Object.defineProperty(oe,"__esModule",{value:!0});oe.createDirentFromStats=void 0;var xe=class{constructor(e,r){this.name=e,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function Hs(t,e){return new xe(t,e)}oe.createDirentFromStats=Hs});var je=c(ae=>{"use strict";o();Object.defineProperty(ae,"__esModule",{value:!0});ae.fs=void 0;var Us=Lr();ae.fs=Us});var Ie=c(ue=>{"use strict";o();Object.defineProperty(ue,"__esModule",{value:!0});ue.joinPathSegments=void 0;function Gs(t,e,r){return t.endsWith(r)?t+e:t+r+e}ue.joinPathSegments=Gs});var Wr=c(I=>{"use strict";o();Object.defineProperty(I,"__esModule",{value:!0});I.readdir=I.readdirWithFileTypes=I.read=void 0;var Qs=Y(),xr=Ar(),$s=Le(),jr=je(),Ir=Ie();function Xs(t,e,r){if(!e.stats&&$s.IS_SUPPORT_READDIR_WITH_FILE_TYPES){Br(t,e,r);return}Nr(t,e,r)}I.read=Xs;function Br(t,e,r){e.fs.readdir(t,{withFileTypes:!0},(n,s)=>{if(n!==null){ce(r,n);return}let i=s.map(d=>({dirent:d,name:d.name,path:Ir.joinPathSegments(t,d.name,e.pathSegmentSeparator)}));if(!e.followSymbolicLinks){Be(r,i);return}let a=i.map(d=>Js(d,e));xr(a,(d,f)=>{if(d!==null){ce(r,d);return}Be(r,f)})})}I.readdirWithFileTypes=Br;function Js(t,e){return r=>{if(!t.dirent.isSymbolicLink()){r(null,t);return}e.fs.stat(t.path,(n,s)=>{if(n!==null){if(e.throwErrorOnBrokenSymbolicLink){r(n);return}r(null,t);return}t.dirent=jr.fs.createDirentFromStats(t.name,s),r(null,t)})}}function Nr(t,e,r){e.fs.readdir(t,(n,s)=>{if(n!==null){ce(r,n);return}let i=s.map(a=>{let d=Ir.joinPathSegments(t,a,e.pathSegmentSeparator);return f=>{Qs.stat(d,e.fsStatSettings,(h,u)=>{if(h!==null){f(h);return}let _={name:a,path:d,dirent:jr.fs.createDirentFromStats(a,u)};e.stats&&(_.stats=u),f(null,_)})}});xr(i,(a,d)=>{if(a!==null){ce(r,a);return}Be(r,d)})})}I.readdir=Nr;function ce(t,e){t(e)}function Be(t,e){t(null,e)}});var Ur=c(B=>{"use strict";o();Object.defineProperty(B,"__esModule",{value:!0});B.readdir=B.readdirWithFileTypes=B.read=void 0;var Ks=Y(),zs=Le(),Vr=je(),Cr=Ie();function Zs(t,e){return!e.stats&&zs.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Yr(t,e):Hr(t,e)}B.read=Zs;function Yr(t,e){return e.fs.readdirSync(t,{withFileTypes:!0}).map(n=>{let s={dirent:n,name:n.name,path:Cr.joinPathSegments(t,n.name,e.pathSegmentSeparator)};if(s.dirent.isSymbolicLink()&&e.followSymbolicLinks)try{let i=e.fs.statSync(s.path);s.dirent=Vr.fs.createDirentFromStats(s.name,i)}catch(i){if(e.throwErrorOnBrokenSymbolicLink)throw i}return s})}B.readdirWithFileTypes=Yr;function Hr(t,e){return e.fs.readdirSync(t).map(n=>{let s=Cr.joinPathSegments(t,n,e.pathSegmentSeparator),i=Ks.statSync(s,e.fsStatSettings),a={name:n,path:s,dirent:Vr.fs.createDirentFromStats(n,i)};return e.stats&&(a.stats=i),a})}B.readdir=Hr});var Gr=c(N=>{"use strict";o();Object.defineProperty(N,"__esModule",{value:!0});N.createFileSystemAdapter=N.FILE_SYSTEM_ADAPTER=void 0;var G=E("fs");N.FILE_SYSTEM_ADAPTER={lstat:G.lstat,stat:G.stat,lstatSync:G.lstatSync,statSync:G.statSync,readdir:G.readdir,readdirSync:G.readdirSync};function ei(t){return t===void 0?N.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},N.FILE_SYSTEM_ADAPTER),t)}N.createFileSystemAdapter=ei});var Qr=c(We=>{"use strict";o();Object.defineProperty(We,"__esModule",{value:!0});var ti=E("path"),ri=Y(),ni=Gr(),Ne=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=ni.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,ti.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new ri.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e??r}};We.default=Ne});var le=c(W=>{"use strict";o();Object.defineProperty(W,"__esModule",{value:!0});W.Settings=W.scandirSync=W.scandir=void 0;var $r=Wr(),si=Ur(),Ve=Qr();W.Settings=Ve.default;function ii(t,e,r){if(typeof e=="function"){$r.read(t,Ce(),e);return}$r.read(t,Ce(e),r)}W.scandir=ii;function oi(t,e){let r=Ce(e);return si.read(t,r)}W.scandirSync=oi;function Ce(t={}){return t instanceof Ve.default?t:new Ve.default(t)}});var Jr=c((pa,Xr)=>{"use strict";o();function ai(t){var e=new t,r=e;function n(){var i=e;return i.next?e=i.next:(e=new t,r=e),i.next=null,i}function s(i){r.next=i,r=i}return{get:n,release:s}}Xr.exports=ai});var zr=c((ma,Ye)=>{"use strict";o();var ui=Jr();function Kr(t,e,r){if(typeof t=="function"&&(r=e,e=t,t=null),!(r>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");var n=ui(ci),s=null,i=null,a=0,d=null,f={push:O,drain:T,saturated:T,pause:u,paused:!1,get concurrency(){return r},set concurrency(g){if(!(g>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(r=g,!f.paused)for(;s&&a<r;)a++,C()},running:h,resume:R,idle:m,length:_,getQueue:p,unshift:J,empty:T,kill:En,killAndDrain:bn,error:Tn,abort:wn};return f;function h(){return a}function u(){f.paused=!0}function _(){for(var g=s,v=0;g;)g=g.next,v++;return v}function p(){for(var g=s,v=[];g;)v.push(g.value),g=g.next;return v}function R(){if(f.paused){if(f.paused=!1,s===null){a++,C();return}for(;s&&a<r;)a++,C()}}function m(){return a===0&&f.length()===0}function O(g,v){var y=n.get();y.context=t,y.release=C,y.value=g,y.callback=v||T,y.errorHandler=d,a>=r||f.paused?i?(i.next=y,i=y):(s=y,i=y,f.saturated()):(a++,e.call(t,y.value,y.worked))}function J(g,v){var y=n.get();y.context=t,y.release=C,y.value=g,y.callback=v||T,y.errorHandler=d,a>=r||f.paused?s?(y.next=s,s=y):(s=y,i=y,f.saturated()):(a++,e.call(t,y.value,y.worked))}function C(g){g&&n.release(g);var v=s;v&&a<=r?f.paused?a--:(i===s&&(i=null),s=v.next,v.next=null,e.call(t,v.value,v.worked),i===null&&f.empty()):--a===0&&f.drain()}function En(){s=null,i=null,f.drain=T}function bn(){s=null,i=null,f.drain(),f.drain=T}function wn(){var g=s;for(s=null,i=null;g;){var v=g.next,y=g.callback,Wt=g.errorHandler,kn=g.value,On=g.context;g.value=null,g.callback=T,g.errorHandler=null,Wt&&Wt(new Error("abort"),kn),y.call(On,new Error("abort")),g.release(g),g=v}f.drain=T}function Tn(g){d=g}}function T(){}function ci(){this.value=null,this.callback=T,this.next=null,this.release=T,this.context=null,this.errorHandler=null;var t=this;this.worked=function(r,n){var s=t.callback,i=t.errorHandler,a=t.value;t.value=null,t.callback=T,t.errorHandler&&i(r,a),s.call(t.context,r,n),t.release(t)}}function li(t,e,r){typeof t=="function"&&(r=e,e=t,t=null);function n(u,_){e.call(this,u).then(function(p){_(null,p)},_)}var s=Kr(t,n,r),i=s.push,a=s.unshift;return s.push=d,s.unshift=f,s.drained=h,s;function d(u){var _=new Promise(function(p,R){i(u,function(m,O){if(m){R(m);return}p(O)})});return _.catch(T),_}function f(u){var _=new Promise(function(p,R){a(u,function(m,O){if(m){R(m);return}p(O)})});return _.catch(T),_}function h(){var u=new Promise(function(_){process.nextTick(function(){if(s.idle())_();else{var p=s.drain;s.drain=function(){typeof p=="function"&&p(),_(),s.drain=p}}})});return u}}Ye.exports=Kr;Ye.exports.promise=li});var he=c(A=>{"use strict";o();Object.defineProperty(A,"__esModule",{value:!0});A.joinPathSegments=A.replacePathSegmentSeparator=A.isAppliedFilter=A.isFatalError=void 0;function hi(t,e){return t.errorFilter===null?!0:!t.errorFilter(e)}A.isFatalError=hi;function fi(t,e){return t===null||t(e)}A.isAppliedFilter=fi;function di(t,e){return t.split(/[/\\]/).join(e)}A.replacePathSegmentSeparator=di;function _i(t,e,r){return t===""?e:t.endsWith(r)?t+e:t+r+e}A.joinPathSegments=_i});var Ge=c(Ue=>{"use strict";o();Object.defineProperty(Ue,"__esModule",{value:!0});var pi=he(),He=class{constructor(e,r){this._root=e,this._settings=r,this._root=pi.replacePathSegmentSeparator(e,r.pathSegmentSeparator)}};Ue.default=He});var Xe=c($e=>{"use strict";o();Object.defineProperty($e,"__esModule",{value:!0});var gi=E("events"),mi=le(),yi=zr(),fe=he(),Si=Ge(),Qe=class extends Si.default{constructor(e,r){super(e,r),this._settings=r,this._scandir=mi.scandir,this._emitter=new gi.EventEmitter,this._queue=yi(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,r){let n={directory:e,base:r};this._queue.push(n,s=>{s!==null&&this._handleError(s)})}_worker(e,r){this._scandir(e.directory,this._settings.fsScandirSettings,(n,s)=>{if(n!==null){r(n,void 0);return}for(let i of s)this._handleEntry(i,e.base);r(null,void 0)})}_handleError(e){this._isDestroyed||!fe.isFatalError(this._settings,e)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,r){if(this._isDestroyed||this._isFatalError)return;let n=e.path;r!==void 0&&(e.path=fe.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),fe.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&fe.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,r===void 0?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}};$e.default=Qe});var Zr=c(Ke=>{"use strict";o();Object.defineProperty(Ke,"__esModule",{value:!0});var Pi=Xe(),Je=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new Pi.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError(r=>{vi(e,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{Ei(e,this._storage)}),this._reader.read()}};Ke.default=Je;function vi(t,e){t(e)}function Ei(t,e){t(null,e)}});var en=c(Ze=>{"use strict";o();Object.defineProperty(Ze,"__esModule",{value:!0});var bi=E("stream"),wi=Xe(),ze=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new wi.default(this._root,this._settings),this._stream=new bi.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(e=>{this._stream.emit("error",e)}),this._reader.onEntry(e=>{this._stream.push(e)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};Ze.default=ze});var tn=c(tt=>{"use strict";o();Object.defineProperty(tt,"__esModule",{value:!0});var Ti=le(),de=he(),ki=Ge(),et=class extends ki.default{constructor(){super(...arguments),this._scandir=Ti.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,r){this._queue.add({directory:e,base:r})}_handleQueue(){for(let e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,r){try{let n=this._scandir(e,this._settings.fsScandirSettings);for(let s of n)this._handleEntry(s,r)}catch(n){this._handleError(n)}}_handleError(e){if(de.isFatalError(this._settings,e))throw e}_handleEntry(e,r){let n=e.path;r!==void 0&&(e.path=de.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),de.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&de.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,r===void 0?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}};tt.default=et});var rn=c(nt=>{"use strict";o();Object.defineProperty(nt,"__esModule",{value:!0});var Oi=tn(),rt=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new Oi.default(this._root,this._settings)}read(){return this._reader.read()}};nt.default=rt});var nn=c(it=>{"use strict";o();Object.defineProperty(it,"__esModule",{value:!0});var Di=E("path"),Mi=le(),st=class{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Di.sep),this.fsScandirSettings=new Mi.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e??r}};it.default=st});var pe=c(F=>{"use strict";o();Object.defineProperty(F,"__esModule",{value:!0});F.Settings=F.walkStream=F.walkSync=F.walk=void 0;var sn=Zr(),qi=en(),Ai=rn(),ot=nn();F.Settings=ot.default;function Fi(t,e,r){if(typeof e=="function"){new sn.default(t,_e()).read(e);return}new sn.default(t,_e(e)).read(r)}F.walk=Fi;function Ri(t,e){let r=_e(e);return new Ai.default(t,r).read()}F.walkSync=Ri;function Li(t,e){let r=_e(e);return new qi.default(t,r).read()}F.walkStream=Li;function _e(t={}){return t instanceof ot.default?t:new ot.default(t)}});var ge=c(ut=>{"use strict";o();Object.defineProperty(ut,"__esModule",{value:!0});var xi=E("path"),ji=Y(),on=L(),at=class{constructor(e){this._settings=e,this._fsStatSettings=new ji.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return xi.resolve(this._settings.cwd,e)}_makeEntry(e,r){let n={name:r,path:r,dirent:on.fs.createDirentFromStats(r,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!on.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};ut.default=at});var ht=c(lt=>{"use strict";o();Object.defineProperty(lt,"__esModule",{value:!0});var Ii=E("stream"),Bi=Y(),Ni=pe(),Wi=ge(),ct=class extends Wi.default{constructor(){super(...arguments),this._walkStream=Ni.walkStream,this._stat=Bi.stat}dynamic(e,r){return this._walkStream(e,r)}static(e,r){let n=e.map(this._getFullEntryPath,this),s=new Ii.PassThrough({objectMode:!0});s._write=(i,a,d)=>this._getEntry(n[i],e[i],r).then(f=>{f!==null&&r.entryFilter(f)&&s.push(f),i===n.length-1&&s.end(),d()}).catch(d);for(let i=0;i<n.length;i++)s.write(i);return s}_getEntry(e,r,n){return this._getStat(e).then(s=>this._makeEntry(s,r)).catch(s=>{if(n.errorFilter(s))return null;throw s})}_getStat(e){return new Promise((r,n)=>{this._stat(e,this._fsStatSettings,(s,i)=>s===null?r(i):n(s))})}};lt.default=ct});var an=c(dt=>{"use strict";o();Object.defineProperty(dt,"__esModule",{value:!0});var Vi=pe(),Ci=ge(),Yi=ht(),ft=class extends Ci.default{constructor(){super(...arguments),this._walkAsync=Vi.walk,this._readerStream=new Yi.default(this._settings)}dynamic(e,r){return new Promise((n,s)=>{this._walkAsync(e,r,(i,a)=>{i===null?n(a):s(i)})})}async static(e,r){let n=[],s=this._readerStream.static(e,r);return new Promise((i,a)=>{s.once("error",a),s.on("data",d=>n.push(d)),s.once("end",()=>i(n))})}};dt.default=ft});var un=c(pt=>{"use strict";o();Object.defineProperty(pt,"__esModule",{value:!0});var X=L(),_t=class{constructor(e,r,n){this._patterns=e,this._settings=r,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){for(let e of this._patterns){let r=this._getPatternSegments(e),n=this._splitSegmentsIntoSections(r);this._storage.push({complete:n.length<=1,pattern:e,segments:r,sections:n})}}_getPatternSegments(e){return X.pattern.getPatternParts(e,this._micromatchOptions).map(n=>X.pattern.isDynamicPattern(n,this._settings)?{dynamic:!0,pattern:n,patternRe:X.pattern.makeRe(n,this._micromatchOptions)}:{dynamic:!1,pattern:n})}_splitSegmentsIntoSections(e){return X.array.splitWhen(e,r=>r.dynamic&&X.pattern.hasGlobStar(r.pattern))}};pt.default=_t});var cn=c(mt=>{"use strict";o();Object.defineProperty(mt,"__esModule",{value:!0});var Hi=un(),gt=class extends Hi.default{match(e){let r=e.split("/"),n=r.length,s=this._storage.filter(i=>!i.complete||i.segments.length>n);for(let i of s){let a=i.sections[0];if(!i.complete&&n>a.length||r.every((f,h)=>{let u=i.segments[h];return!!(u.dynamic&&u.patternRe.test(f)||!u.dynamic&&u.pattern===f)}))return!0}return!1}};mt.default=gt});var ln=c(St=>{"use strict";o();Object.defineProperty(St,"__esModule",{value:!0});var me=L(),Ui=cn(),yt=class{constructor(e,r){this._settings=e,this._micromatchOptions=r}getFilter(e,r,n){let s=this._getMatcher(r),i=this._getNegativePatternsRe(n);return a=>this._filter(e,a,s,i)}_getMatcher(e){return new Ui.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){let r=e.filter(me.pattern.isAffectDepthOfReadingPattern);return me.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(e,r,n,s){if(this._isSkippedByDeep(e,r.path)||this._isSkippedSymbolicLink(r))return!1;let i=me.path.removeLeadingDotSegment(r.path);return this._isSkippedByPositivePatterns(i,n)?!1:this._isSkippedByNegativePatterns(i,s)}_isSkippedByDeep(e,r){return this._settings.deep===1/0?!1:this._getEntryLevel(e,r)>=this._settings.deep}_getEntryLevel(e,r){let n=r.split("/").length;if(e==="")return n;let s=e.split("/").length;return n-s}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,r){return!this._settings.baseNameMatch&&!r.match(e)}_isSkippedByNegativePatterns(e,r){return!me.pattern.matchAny(e,r)}};St.default=yt});var hn=c(vt=>{"use strict";o();Object.defineProperty(vt,"__esModule",{value:!0});var V=L(),Pt=class{constructor(e,r){this._settings=e,this._micromatchOptions=r,this.index=new Map}getFilter(e,r){let[n,s]=V.pattern.partitionAbsoluteAndRelative(r),i={positive:{all:V.pattern.convertPatternsToRe(e,this._micromatchOptions)},negative:{absolute:V.pattern.convertPatternsToRe(n,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0})),relative:V.pattern.convertPatternsToRe(s,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}))}};return a=>this._filter(a,i)}_filter(e,r){let n=V.path.removeLeadingDotSegment(e.path);if(this._settings.unique&&this._isDuplicateEntry(n)||this._onlyFileFilter(e)||this._onlyDirectoryFilter(e))return!1;let s=this._isMatchToPatternsSet(n,r,e.dirent.isDirectory());return this._settings.unique&&s&&this._createIndexRecord(n),s}_isDuplicateEntry(e){return this.index.has(e)}_createIndexRecord(e){this.index.set(e,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isMatchToPatternsSet(e,r,n){return!(!this._isMatchToPatterns(e,r.positive.all,n)||this._isMatchToPatterns(e,r.negative.relative,n)||this._isMatchToAbsoluteNegative(e,r.negative.absolute,n))}_isMatchToAbsoluteNegative(e,r,n){if(r.length===0)return!1;let s=V.path.makeAbsolute(this._settings.cwd,e);return this._isMatchToPatterns(s,r,n)}_isMatchToPatterns(e,r,n){if(r.length===0)return!1;let s=V.pattern.matchAny(e,r);return!s&&n?V.pattern.matchAny(e+"/",r):s}};vt.default=Pt});var fn=c(bt=>{"use strict";o();Object.defineProperty(bt,"__esModule",{value:!0});var Gi=L(),Et=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return Gi.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};bt.default=Et});var _n=c(Tt=>{"use strict";o();Object.defineProperty(Tt,"__esModule",{value:!0});var dn=L(),wt=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let r=e.path;return this._settings.absolute&&(r=dn.path.makeAbsolute(this._settings.cwd,r),r=dn.path.unixify(r)),this._settings.markDirectories&&e.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:r}):r}};Tt.default=wt});var ye=c(Ot=>{"use strict";o();Object.defineProperty(Ot,"__esModule",{value:!0});var Qi=E("path"),$i=ln(),Xi=hn(),Ji=fn(),Ki=_n(),kt=class{constructor(e){this._settings=e,this.errorFilter=new Ji.default(this._settings),this.entryFilter=new Xi.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new $i.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new Ki.default(this._settings)}_getRootDirectory(e){return Qi.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){let r=e.base==="."?"":e.base;return{basePath:r,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(r,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};Ot.default=kt});var pn=c(Mt=>{"use strict";o();Object.defineProperty(Mt,"__esModule",{value:!0});var zi=an(),Zi=ye(),Dt=class extends Zi.default{constructor(){super(...arguments),this._reader=new zi.default(this._settings)}async read(e){let r=this._getRootDirectory(e),n=this._getReaderOptions(e);return(await this.api(r,e,n)).map(i=>n.transform(i))}api(e,r,n){return r.dynamic?this._reader.dynamic(e,n):this._reader.static(r.patterns,n)}};Mt.default=Dt});var gn=c(At=>{"use strict";o();Object.defineProperty(At,"__esModule",{value:!0});var eo=E("stream"),to=ht(),ro=ye(),qt=class extends ro.default{constructor(){super(...arguments),this._reader=new to.default(this._settings)}read(e){let r=this._getRootDirectory(e),n=this._getReaderOptions(e),s=this.api(r,e,n),i=new eo.Readable({objectMode:!0,read:()=>{}});return s.once("error",a=>i.emit("error",a)).on("data",a=>i.emit("data",n.transform(a))).once("end",()=>i.emit("end")),i.once("close",()=>s.destroy()),i}api(e,r,n){return r.dynamic?this._reader.dynamic(e,n):this._reader.static(r.patterns,n)}};At.default=qt});var mn=c(Rt=>{"use strict";o();Object.defineProperty(Rt,"__esModule",{value:!0});var no=Y(),so=pe(),io=ge(),Ft=class extends io.default{constructor(){super(...arguments),this._walkSync=so.walkSync,this._statSync=no.statSync}dynamic(e,r){return this._walkSync(e,r)}static(e,r){let n=[];for(let s of e){let i=this._getFullEntryPath(s),a=this._getEntry(i,s,r);a===null||!r.entryFilter(a)||n.push(a)}return n}_getEntry(e,r,n){try{let s=this._getStat(e);return this._makeEntry(s,r)}catch(s){if(n.errorFilter(s))return null;throw s}}_getStat(e){return this._statSync(e,this._fsStatSettings)}};Rt.default=Ft});var yn=c(xt=>{"use strict";o();Object.defineProperty(xt,"__esModule",{value:!0});var oo=mn(),ao=ye(),Lt=class extends ao.default{constructor(){super(...arguments),this._reader=new oo.default(this._settings)}read(e){let r=this._getRootDirectory(e),n=this._getReaderOptions(e);return this.api(r,e,n).map(n.transform)}api(e,r,n){return r.dynamic?this._reader.dynamic(e,n):this._reader.static(r.patterns,n)}};xt.default=Lt});var Sn=c($=>{"use strict";o();Object.defineProperty($,"__esModule",{value:!0});$.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var Q=E("fs"),uo=E("os"),co=Math.max(uo.cpus().length,1);$.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:Q.lstat,lstatSync:Q.lstatSync,stat:Q.stat,statSync:Q.statSync,readdir:Q.readdir,readdirSync:Q.readdirSync};var jt=class{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,co),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore)}_getValue(e,r){return e===void 0?r:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},$.DEFAULT_FILE_SYSTEM_ADAPTER),e)}};$.default=jt});var _o=c((du,vn)=>{o();var Pn=Pr(),lo=pn(),ho=gn(),fo=yn(),It=Sn(),k=L();async function Bt(t,e){M(t);let r=Nt(t,lo.default,e),n=await Promise.all(r);return k.array.flatten(n)}(function(t){t.glob=t,t.globSync=e,t.globStream=r,t.async=t;function e(h,u){M(h);let _=Nt(h,fo.default,u);return k.array.flatten(_)}t.sync=e;function r(h,u){M(h);let _=Nt(h,ho.default,u);return k.stream.merge(_)}t.stream=r;function n(h,u){M(h);let _=[].concat(h),p=new It.default(u);return Pn.generate(_,p)}t.generateTasks=n;function s(h,u){M(h);let _=new It.default(u);return k.pattern.isDynamicPattern(h,_)}t.isDynamicPattern=s;function i(h){return M(h),k.path.escape(h)}t.escapePath=i;function a(h){return M(h),k.path.convertPathToPattern(h)}t.convertPathToPattern=a;let d;(function(h){function u(p){return M(p),k.path.escapePosixPath(p)}h.escapePath=u;function _(p){return M(p),k.path.convertPosixPathToPattern(p)}h.convertPathToPattern=_})(d=t.posix||(t.posix={}));let f;(function(h){function u(p){return M(p),k.path.escapeWindowsPath(p)}h.escapePath=u;function _(p){return M(p),k.path.convertWindowsPathToPattern(p)}h.convertPathToPattern=_})(f=t.win32||(t.win32={}))})(Bt||(Bt={}));function Nt(t,e,r){let n=[].concat(t),s=new It.default(r),i=Pn.generate(n,s),a=new e(s);return i.map(a.read,a)}function M(t){if(![].concat(t).every(n=>k.string.isString(n)&&!k.string.isEmpty(n)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}vn.exports=Bt});export{dr as a,_o as b};
1
+ import{b as Dn,c as Mn,d as qn,e as An}from"./chunk-2O22LZKV.js";import{a as E,c,g as o}from"./chunk-VKWPEFWQ.js";var Vt=c(H=>{"use strict";o();Object.defineProperty(H,"__esModule",{value:!0});H.splitWhen=H.flatten=void 0;function Fn(t){return t.reduce((e,r)=>[].concat(e,r),[])}H.flatten=Fn;function Rn(t,e){let r=[[]],n=0;for(let s of t)e(s)?(n++,r[n]=[]):r[n].push(s);return r}H.splitWhen=Rn});var Ct=c(K=>{"use strict";o();Object.defineProperty(K,"__esModule",{value:!0});K.isEnoentCodeError=void 0;function Ln(t){return t.code==="ENOENT"}K.isEnoentCodeError=Ln});var Yt=c(z=>{"use strict";o();Object.defineProperty(z,"__esModule",{value:!0});z.createDirentFromStats=void 0;var Se=class{constructor(e,r){this.name=e,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function xn(t,e){return new Se(t,e)}z.createDirentFromStats=xn});var Qt=c(P=>{"use strict";o();Object.defineProperty(P,"__esModule",{value:!0});P.convertPosixPathToPattern=P.convertWindowsPathToPattern=P.convertPathToPattern=P.escapePosixPath=P.escapeWindowsPath=P.escape=P.removeLeadingDotSegment=P.makeAbsolute=P.unixify=void 0;var jn=E("os"),In=E("path"),Ht=jn.platform()==="win32",Bn=2,Nn=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,Wn=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,Vn=/^\\\\([.?])/,Cn=/\\(?![!()+@[\]{}])/g;function Yn(t){return t.replace(/\\/g,"/")}P.unixify=Yn;function Hn(t,e){return In.resolve(t,e)}P.makeAbsolute=Hn;function Un(t){if(t.charAt(0)==="."){let e=t.charAt(1);if(e==="/"||e==="\\")return t.slice(Bn)}return t}P.removeLeadingDotSegment=Un;P.escape=Ht?Pe:ve;function Pe(t){return t.replace(Wn,"\\$2")}P.escapeWindowsPath=Pe;function ve(t){return t.replace(Nn,"\\$2")}P.escapePosixPath=ve;P.convertPathToPattern=Ht?Ut:Gt;function Ut(t){return Pe(t).replace(Vn,"//$1").replace(Cn,"/")}P.convertWindowsPathToPattern=Ut;function Gt(t){return ve(t)}P.convertPosixPathToPattern=Gt});var Zt=c((bo,zt)=>{"use strict";o();var Xt=E("util"),Jt=Mn(),q=An(),Ee=qn(),$t=t=>t===""||t==="./",Kt=t=>{let e=t.indexOf("{");return e>-1&&t.indexOf("}",e)>-1},S=(t,e,r)=>{e=[].concat(e),t=[].concat(t);let n=new Set,s=new Set,i=new Set,a=0,d=u=>{i.add(u.output),r&&r.onResult&&r.onResult(u)};for(let u=0;u<e.length;u++){let _=q(String(e[u]),{...r,onResult:d},!0),p=_.state.negated||_.state.negatedExtglob;p&&a++;for(let R of t){let m=_(R,!0);(p?!m.isMatch:m.isMatch)&&(p?n.add(m.output):(n.delete(m.output),s.add(m.output)))}}let h=(a===e.length?[...i]:[...s]).filter(u=>!n.has(u));if(r&&h.length===0){if(r.failglob===!0)throw new Error(`No matches found for "${e.join(", ")}"`);if(r.nonull===!0||r.nullglob===!0)return r.unescape?e.map(u=>u.replace(/\\/g,"")):e}return h};S.match=S;S.matcher=(t,e)=>q(t,e);S.isMatch=(t,e,r)=>q(e,r)(t);S.any=S.isMatch;S.not=(t,e,r={})=>{e=[].concat(e).map(String);let n=new Set,s=[],i=d=>{r.onResult&&r.onResult(d),s.push(d.output)},a=new Set(S(t,e,{...r,onResult:i}));for(let d of s)a.has(d)||n.add(d);return[...n]};S.contains=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${Xt.inspect(t)}"`);if(Array.isArray(e))return e.some(n=>S.contains(t,n,r));if(typeof e=="string"){if($t(t)||$t(e))return!1;if(t.includes(e)||t.startsWith("./")&&t.slice(2).includes(e))return!0}return S.isMatch(t,e,{...r,contains:!0})};S.matchKeys=(t,e,r)=>{if(!Ee.isObject(t))throw new TypeError("Expected the first argument to be an object");let n=S(Object.keys(t),e,r),s={};for(let i of n)s[i]=t[i];return s};S.some=(t,e,r)=>{let n=[].concat(t);for(let s of[].concat(e)){let i=q(String(s),r);if(n.some(a=>i(a)))return!0}return!1};S.every=(t,e,r)=>{let n=[].concat(t);for(let s of[].concat(e)){let i=q(String(s),r);if(!n.every(a=>i(a)))return!1}return!0};S.all=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${Xt.inspect(t)}"`);return[].concat(e).every(n=>q(n,r)(t))};S.capture=(t,e,r)=>{let n=Ee.isWindows(r),i=q.makeRe(String(t),{...r,capture:!0}).exec(n?Ee.toPosixSlashes(e):e);if(i)return i.slice(1).map(a=>a===void 0?"":a)};S.makeRe=(...t)=>q.makeRe(...t);S.scan=(...t)=>q.scan(...t);S.parse=(t,e)=>{let r=[];for(let n of[].concat(t||[]))for(let s of Jt(String(n),e))r.push(q.parse(s,e));return r};S.braces=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return e&&e.nobrace===!0||!Kt(t)?[t]:Jt(t,e)};S.braceExpand=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return S.braces(t,{...e,expand:!0})};S.hasBraces=Kt;zt.exports=S});var cr=c(l=>{"use strict";o();Object.defineProperty(l,"__esModule",{value:!0});l.isAbsolute=l.partitionAbsoluteAndRelative=l.removeDuplicateSlashes=l.matchAny=l.convertPatternsToRe=l.makeRe=l.getPatternParts=l.expandBraceExpansion=l.expandPatternsWithBraceExpansion=l.isAffectDepthOfReadingPattern=l.endsWithSlashGlobStar=l.hasGlobStar=l.getBaseDirectory=l.isPatternRelatedToParentDirectory=l.getPatternsOutsideCurrentDirectory=l.getPatternsInsideCurrentDirectory=l.getPositivePatterns=l.getNegativePatterns=l.isPositivePattern=l.isNegativePattern=l.convertToNegativePattern=l.convertToPositivePattern=l.isDynamicPattern=l.isStaticPattern=void 0;var er=E("path"),Gn=Dn(),be=Zt(),tr="**",Qn="\\",$n=/[*?]|^!/,Xn=/\[[^[]*]/,Jn=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,Kn=/[!*+?@]\([^(]*\)/,zn=/,|\.\./,Zn=/(?!^)\/{2,}/g;function rr(t,e={}){return!nr(t,e)}l.isStaticPattern=rr;function nr(t,e={}){return t===""?!1:!!(e.caseSensitiveMatch===!1||t.includes(Qn)||$n.test(t)||Xn.test(t)||Jn.test(t)||e.extglob!==!1&&Kn.test(t)||e.braceExpansion!==!1&&es(t))}l.isDynamicPattern=nr;function es(t){let e=t.indexOf("{");if(e===-1)return!1;let r=t.indexOf("}",e+1);if(r===-1)return!1;let n=t.slice(e,r);return zn.test(n)}function ts(t){return Z(t)?t.slice(1):t}l.convertToPositivePattern=ts;function rs(t){return"!"+t}l.convertToNegativePattern=rs;function Z(t){return t.startsWith("!")&&t[1]!=="("}l.isNegativePattern=Z;function sr(t){return!Z(t)}l.isPositivePattern=sr;function ns(t){return t.filter(Z)}l.getNegativePatterns=ns;function ss(t){return t.filter(sr)}l.getPositivePatterns=ss;function is(t){return t.filter(e=>!we(e))}l.getPatternsInsideCurrentDirectory=is;function os(t){return t.filter(we)}l.getPatternsOutsideCurrentDirectory=os;function we(t){return t.startsWith("..")||t.startsWith("./..")}l.isPatternRelatedToParentDirectory=we;function as(t){return Gn(t,{flipBackslashes:!1})}l.getBaseDirectory=as;function us(t){return t.includes(tr)}l.hasGlobStar=us;function ir(t){return t.endsWith("/"+tr)}l.endsWithSlashGlobStar=ir;function cs(t){let e=er.basename(t);return ir(t)||rr(e)}l.isAffectDepthOfReadingPattern=cs;function ls(t){return t.reduce((e,r)=>e.concat(or(r)),[])}l.expandPatternsWithBraceExpansion=ls;function or(t){let e=be.braces(t,{expand:!0,nodupes:!0,keepEscaping:!0});return e.sort((r,n)=>r.length-n.length),e.filter(r=>r!=="")}l.expandBraceExpansion=or;function hs(t,e){let{parts:r}=be.scan(t,Object.assign(Object.assign({},e),{parts:!0}));return r.length===0&&(r=[t]),r[0].startsWith("/")&&(r[0]=r[0].slice(1),r.unshift("")),r}l.getPatternParts=hs;function ar(t,e){return be.makeRe(t,e)}l.makeRe=ar;function fs(t,e){return t.map(r=>ar(r,e))}l.convertPatternsToRe=fs;function ds(t,e){return e.some(r=>r.test(t))}l.matchAny=ds;function _s(t){return t.replace(Zn,"/")}l.removeDuplicateSlashes=_s;function ps(t){let e=[],r=[];for(let n of t)ur(n)?e.push(n):r.push(n);return[e,r]}l.partitionAbsoluteAndRelative=ps;function ur(t){return er.isAbsolute(t)}l.isAbsolute=ur});var dr=c((Oo,fr)=>{"use strict";o();var gs=E("stream"),lr=gs.PassThrough,ms=Array.prototype.slice;fr.exports=ys;function ys(){let t=[],e=ms.call(arguments),r=!1,n=e[e.length-1];n&&!Array.isArray(n)&&n.pipe==null?e.pop():n={};let s=n.end!==!1,i=n.pipeError===!0;n.objectMode==null&&(n.objectMode=!0),n.highWaterMark==null&&(n.highWaterMark=64*1024);let a=lr(n);function d(){for(let u=0,_=arguments.length;u<_;u++)t.push(hr(arguments[u],n));return f(),this}function f(){if(r)return;r=!0;let u=t.shift();if(!u){process.nextTick(h);return}Array.isArray(u)||(u=[u]);let _=u.length+1;function p(){--_>0||(r=!1,f())}function R(m){function O(){m.removeListener("merge2UnpipeEnd",O),m.removeListener("end",O),i&&m.removeListener("error",J),p()}function J(C){a.emit("error",C)}if(m._readableState.endEmitted)return p();m.on("merge2UnpipeEnd",O),m.on("end",O),i&&m.on("error",J),m.pipe(a,{end:!1}),m.resume()}for(let m=0;m<u.length;m++)R(u[m]);p()}function h(){r=!1,a.emit("queueDrain"),s&&a.end()}return a.setMaxListeners(0),a.add=d,a.on("unpipe",function(u){u.emit("merge2UnpipeEnd")}),e.length&&d.apply(null,e),a}function hr(t,e){if(Array.isArray(t))for(let r=0,n=t.length;r<n;r++)t[r]=hr(t[r],e);else{if(!t._readableState&&t.pipe&&(t=t.pipe(lr(e))),!t._readableState||!t.pause||!t.pipe)throw new Error("Only readable stream can be merged.");t.pause()}return t}});var pr=c(ee=>{"use strict";o();Object.defineProperty(ee,"__esModule",{value:!0});ee.merge=void 0;var Ss=dr();function Ps(t){let e=Ss(t);return t.forEach(r=>{r.once("error",n=>e.emit("error",n))}),e.once("close",()=>_r(t)),e.once("end",()=>_r(t)),e}ee.merge=Ps;function _r(t){t.forEach(e=>e.emit("close"))}});var gr=c(U=>{"use strict";o();Object.defineProperty(U,"__esModule",{value:!0});U.isEmpty=U.isString=void 0;function vs(t){return typeof t=="string"}U.isString=vs;function Es(t){return t===""}U.isEmpty=Es});var L=c(b=>{"use strict";o();Object.defineProperty(b,"__esModule",{value:!0});b.string=b.stream=b.pattern=b.path=b.fs=b.errno=b.array=void 0;var bs=Vt();b.array=bs;var ws=Ct();b.errno=ws;var Ts=Yt();b.fs=Ts;var ks=Qt();b.path=ks;var Os=cr();b.pattern=Os;var Ds=pr();b.stream=Ds;var Ms=gr();b.string=Ms});var Pr=c(w=>{"use strict";o();Object.defineProperty(w,"__esModule",{value:!0});w.convertPatternGroupToTask=w.convertPatternGroupsToTasks=w.groupPatternsByBaseDirectory=w.getNegativePatternsAsPositive=w.getPositivePatterns=w.convertPatternsToTasks=w.generate=void 0;var D=L();function qs(t,e){let r=mr(t,e),n=mr(e.ignore,e),s=yr(r),i=Sr(r,n),a=s.filter(u=>D.pattern.isStaticPattern(u,e)),d=s.filter(u=>D.pattern.isDynamicPattern(u,e)),f=Te(a,i,!1),h=Te(d,i,!0);return f.concat(h)}w.generate=qs;function mr(t,e){let r=t;return e.braceExpansion&&(r=D.pattern.expandPatternsWithBraceExpansion(r)),e.baseNameMatch&&(r=r.map(n=>n.includes("/")?n:`**/${n}`)),r.map(n=>D.pattern.removeDuplicateSlashes(n))}function Te(t,e,r){let n=[],s=D.pattern.getPatternsOutsideCurrentDirectory(t),i=D.pattern.getPatternsInsideCurrentDirectory(t),a=ke(s),d=ke(i);return n.push(...Oe(a,e,r)),"."in d?n.push(De(".",i,e,r)):n.push(...Oe(d,e,r)),n}w.convertPatternsToTasks=Te;function yr(t){return D.pattern.getPositivePatterns(t)}w.getPositivePatterns=yr;function Sr(t,e){return D.pattern.getNegativePatterns(t).concat(e).map(D.pattern.convertToPositivePattern)}w.getNegativePatternsAsPositive=Sr;function ke(t){let e={};return t.reduce((r,n)=>{let s=D.pattern.getBaseDirectory(n);return s in r?r[s].push(n):r[s]=[n],r},e)}w.groupPatternsByBaseDirectory=ke;function Oe(t,e,r){return Object.keys(t).map(n=>De(n,t[n],e,r))}w.convertPatternGroupsToTasks=Oe;function De(t,e,r,n){return{dynamic:n,positive:e,negative:r,base:t,patterns:[].concat(e,r.map(D.pattern.convertToNegativePattern))}}w.convertPatternGroupToTask=De});var Er=c(te=>{"use strict";o();Object.defineProperty(te,"__esModule",{value:!0});te.read=void 0;function As(t,e,r){e.fs.lstat(t,(n,s)=>{if(n!==null){vr(r,n);return}if(!s.isSymbolicLink()||!e.followSymbolicLink){Me(r,s);return}e.fs.stat(t,(i,a)=>{if(i!==null){if(e.throwErrorOnBrokenSymbolicLink){vr(r,i);return}Me(r,s);return}e.markSymbolicLink&&(a.isSymbolicLink=()=>!0),Me(r,a)})})}te.read=As;function vr(t,e){t(e)}function Me(t,e){t(null,e)}});var br=c(re=>{"use strict";o();Object.defineProperty(re,"__esModule",{value:!0});re.read=void 0;function Fs(t,e){let r=e.fs.lstatSync(t);if(!r.isSymbolicLink()||!e.followSymbolicLink)return r;try{let n=e.fs.statSync(t);return e.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(n){if(!e.throwErrorOnBrokenSymbolicLink)return r;throw n}}re.read=Fs});var wr=c(x=>{"use strict";o();Object.defineProperty(x,"__esModule",{value:!0});x.createFileSystemAdapter=x.FILE_SYSTEM_ADAPTER=void 0;var ne=E("fs");x.FILE_SYSTEM_ADAPTER={lstat:ne.lstat,stat:ne.stat,lstatSync:ne.lstatSync,statSync:ne.statSync};function Rs(t){return t===void 0?x.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},x.FILE_SYSTEM_ADAPTER),t)}x.createFileSystemAdapter=Rs});var Tr=c(Ae=>{"use strict";o();Object.defineProperty(Ae,"__esModule",{value:!0});var Ls=wr(),qe=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=Ls.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,r){return e??r}};Ae.default=qe});var Y=c(j=>{"use strict";o();Object.defineProperty(j,"__esModule",{value:!0});j.statSync=j.stat=j.Settings=void 0;var kr=Er(),xs=br(),Fe=Tr();j.Settings=Fe.default;function js(t,e,r){if(typeof e=="function"){kr.read(t,Re(),e);return}kr.read(t,Re(e),r)}j.stat=js;function Is(t,e){let r=Re(e);return xs.read(t,r)}j.statSync=Is;function Re(t={}){return t instanceof Fe.default?t:new Fe.default(t)}});var Mr=c((Qo,Dr)=>{o();var Or;Dr.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):t=>(Or||(Or=Promise.resolve())).then(t).catch(e=>setTimeout(()=>{throw e},0))});var Ar=c((Xo,qr)=>{o();qr.exports=Ns;var Bs=Mr();function Ns(t,e){let r,n,s,i=!0;Array.isArray(t)?(r=[],n=t.length):(s=Object.keys(t),r={},n=s.length);function a(f){function h(){e&&e(f,r),e=null}i?Bs(h):h()}function d(f,h,u){r[f]=u,(--n===0||h)&&a(h)}n?s?s.forEach(function(f){t[f](function(h,u){d(f,h,u)})}):t.forEach(function(f,h){f(function(u,_){d(h,u,_)})}):a(null),i=!1}});var Le=c(ie=>{"use strict";o();Object.defineProperty(ie,"__esModule",{value:!0});ie.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var se=process.versions.node.split(".");if(se[0]===void 0||se[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var Fr=Number.parseInt(se[0],10),Ws=Number.parseInt(se[1],10),Rr=10,Vs=10,Cs=Fr>Rr,Ys=Fr===Rr&&Ws>=Vs;ie.IS_SUPPORT_READDIR_WITH_FILE_TYPES=Cs||Ys});var Lr=c(oe=>{"use strict";o();Object.defineProperty(oe,"__esModule",{value:!0});oe.createDirentFromStats=void 0;var xe=class{constructor(e,r){this.name=e,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function Hs(t,e){return new xe(t,e)}oe.createDirentFromStats=Hs});var je=c(ae=>{"use strict";o();Object.defineProperty(ae,"__esModule",{value:!0});ae.fs=void 0;var Us=Lr();ae.fs=Us});var Ie=c(ue=>{"use strict";o();Object.defineProperty(ue,"__esModule",{value:!0});ue.joinPathSegments=void 0;function Gs(t,e,r){return t.endsWith(r)?t+e:t+r+e}ue.joinPathSegments=Gs});var Wr=c(I=>{"use strict";o();Object.defineProperty(I,"__esModule",{value:!0});I.readdir=I.readdirWithFileTypes=I.read=void 0;var Qs=Y(),xr=Ar(),$s=Le(),jr=je(),Ir=Ie();function Xs(t,e,r){if(!e.stats&&$s.IS_SUPPORT_READDIR_WITH_FILE_TYPES){Br(t,e,r);return}Nr(t,e,r)}I.read=Xs;function Br(t,e,r){e.fs.readdir(t,{withFileTypes:!0},(n,s)=>{if(n!==null){ce(r,n);return}let i=s.map(d=>({dirent:d,name:d.name,path:Ir.joinPathSegments(t,d.name,e.pathSegmentSeparator)}));if(!e.followSymbolicLinks){Be(r,i);return}let a=i.map(d=>Js(d,e));xr(a,(d,f)=>{if(d!==null){ce(r,d);return}Be(r,f)})})}I.readdirWithFileTypes=Br;function Js(t,e){return r=>{if(!t.dirent.isSymbolicLink()){r(null,t);return}e.fs.stat(t.path,(n,s)=>{if(n!==null){if(e.throwErrorOnBrokenSymbolicLink){r(n);return}r(null,t);return}t.dirent=jr.fs.createDirentFromStats(t.name,s),r(null,t)})}}function Nr(t,e,r){e.fs.readdir(t,(n,s)=>{if(n!==null){ce(r,n);return}let i=s.map(a=>{let d=Ir.joinPathSegments(t,a,e.pathSegmentSeparator);return f=>{Qs.stat(d,e.fsStatSettings,(h,u)=>{if(h!==null){f(h);return}let _={name:a,path:d,dirent:jr.fs.createDirentFromStats(a,u)};e.stats&&(_.stats=u),f(null,_)})}});xr(i,(a,d)=>{if(a!==null){ce(r,a);return}Be(r,d)})})}I.readdir=Nr;function ce(t,e){t(e)}function Be(t,e){t(null,e)}});var Ur=c(B=>{"use strict";o();Object.defineProperty(B,"__esModule",{value:!0});B.readdir=B.readdirWithFileTypes=B.read=void 0;var Ks=Y(),zs=Le(),Vr=je(),Cr=Ie();function Zs(t,e){return!e.stats&&zs.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Yr(t,e):Hr(t,e)}B.read=Zs;function Yr(t,e){return e.fs.readdirSync(t,{withFileTypes:!0}).map(n=>{let s={dirent:n,name:n.name,path:Cr.joinPathSegments(t,n.name,e.pathSegmentSeparator)};if(s.dirent.isSymbolicLink()&&e.followSymbolicLinks)try{let i=e.fs.statSync(s.path);s.dirent=Vr.fs.createDirentFromStats(s.name,i)}catch(i){if(e.throwErrorOnBrokenSymbolicLink)throw i}return s})}B.readdirWithFileTypes=Yr;function Hr(t,e){return e.fs.readdirSync(t).map(n=>{let s=Cr.joinPathSegments(t,n,e.pathSegmentSeparator),i=Ks.statSync(s,e.fsStatSettings),a={name:n,path:s,dirent:Vr.fs.createDirentFromStats(n,i)};return e.stats&&(a.stats=i),a})}B.readdir=Hr});var Gr=c(N=>{"use strict";o();Object.defineProperty(N,"__esModule",{value:!0});N.createFileSystemAdapter=N.FILE_SYSTEM_ADAPTER=void 0;var G=E("fs");N.FILE_SYSTEM_ADAPTER={lstat:G.lstat,stat:G.stat,lstatSync:G.lstatSync,statSync:G.statSync,readdir:G.readdir,readdirSync:G.readdirSync};function ei(t){return t===void 0?N.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},N.FILE_SYSTEM_ADAPTER),t)}N.createFileSystemAdapter=ei});var Qr=c(We=>{"use strict";o();Object.defineProperty(We,"__esModule",{value:!0});var ti=E("path"),ri=Y(),ni=Gr(),Ne=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=ni.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,ti.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new ri.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e??r}};We.default=Ne});var le=c(W=>{"use strict";o();Object.defineProperty(W,"__esModule",{value:!0});W.Settings=W.scandirSync=W.scandir=void 0;var $r=Wr(),si=Ur(),Ve=Qr();W.Settings=Ve.default;function ii(t,e,r){if(typeof e=="function"){$r.read(t,Ce(),e);return}$r.read(t,Ce(e),r)}W.scandir=ii;function oi(t,e){let r=Ce(e);return si.read(t,r)}W.scandirSync=oi;function Ce(t={}){return t instanceof Ve.default?t:new Ve.default(t)}});var Jr=c((pa,Xr)=>{"use strict";o();function ai(t){var e=new t,r=e;function n(){var i=e;return i.next?e=i.next:(e=new t,r=e),i.next=null,i}function s(i){r.next=i,r=i}return{get:n,release:s}}Xr.exports=ai});var zr=c((ma,Ye)=>{"use strict";o();var ui=Jr();function Kr(t,e,r){if(typeof t=="function"&&(r=e,e=t,t=null),!(r>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");var n=ui(ci),s=null,i=null,a=0,d=null,f={push:O,drain:T,saturated:T,pause:u,paused:!1,get concurrency(){return r},set concurrency(g){if(!(g>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(r=g,!f.paused)for(;s&&a<r;)a++,C()},running:h,resume:R,idle:m,length:_,getQueue:p,unshift:J,empty:T,kill:En,killAndDrain:bn,error:Tn,abort:wn};return f;function h(){return a}function u(){f.paused=!0}function _(){for(var g=s,v=0;g;)g=g.next,v++;return v}function p(){for(var g=s,v=[];g;)v.push(g.value),g=g.next;return v}function R(){if(f.paused){if(f.paused=!1,s===null){a++,C();return}for(;s&&a<r;)a++,C()}}function m(){return a===0&&f.length()===0}function O(g,v){var y=n.get();y.context=t,y.release=C,y.value=g,y.callback=v||T,y.errorHandler=d,a>=r||f.paused?i?(i.next=y,i=y):(s=y,i=y,f.saturated()):(a++,e.call(t,y.value,y.worked))}function J(g,v){var y=n.get();y.context=t,y.release=C,y.value=g,y.callback=v||T,y.errorHandler=d,a>=r||f.paused?s?(y.next=s,s=y):(s=y,i=y,f.saturated()):(a++,e.call(t,y.value,y.worked))}function C(g){g&&n.release(g);var v=s;v&&a<=r?f.paused?a--:(i===s&&(i=null),s=v.next,v.next=null,e.call(t,v.value,v.worked),i===null&&f.empty()):--a===0&&f.drain()}function En(){s=null,i=null,f.drain=T}function bn(){s=null,i=null,f.drain(),f.drain=T}function wn(){var g=s;for(s=null,i=null;g;){var v=g.next,y=g.callback,Wt=g.errorHandler,kn=g.value,On=g.context;g.value=null,g.callback=T,g.errorHandler=null,Wt&&Wt(new Error("abort"),kn),y.call(On,new Error("abort")),g.release(g),g=v}f.drain=T}function Tn(g){d=g}}function T(){}function ci(){this.value=null,this.callback=T,this.next=null,this.release=T,this.context=null,this.errorHandler=null;var t=this;this.worked=function(r,n){var s=t.callback,i=t.errorHandler,a=t.value;t.value=null,t.callback=T,t.errorHandler&&i(r,a),s.call(t.context,r,n),t.release(t)}}function li(t,e,r){typeof t=="function"&&(r=e,e=t,t=null);function n(u,_){e.call(this,u).then(function(p){_(null,p)},_)}var s=Kr(t,n,r),i=s.push,a=s.unshift;return s.push=d,s.unshift=f,s.drained=h,s;function d(u){var _=new Promise(function(p,R){i(u,function(m,O){if(m){R(m);return}p(O)})});return _.catch(T),_}function f(u){var _=new Promise(function(p,R){a(u,function(m,O){if(m){R(m);return}p(O)})});return _.catch(T),_}function h(){var u=new Promise(function(_){process.nextTick(function(){if(s.idle())_();else{var p=s.drain;s.drain=function(){typeof p=="function"&&p(),_(),s.drain=p}}})});return u}}Ye.exports=Kr;Ye.exports.promise=li});var he=c(A=>{"use strict";o();Object.defineProperty(A,"__esModule",{value:!0});A.joinPathSegments=A.replacePathSegmentSeparator=A.isAppliedFilter=A.isFatalError=void 0;function hi(t,e){return t.errorFilter===null?!0:!t.errorFilter(e)}A.isFatalError=hi;function fi(t,e){return t===null||t(e)}A.isAppliedFilter=fi;function di(t,e){return t.split(/[/\\]/).join(e)}A.replacePathSegmentSeparator=di;function _i(t,e,r){return t===""?e:t.endsWith(r)?t+e:t+r+e}A.joinPathSegments=_i});var Ge=c(Ue=>{"use strict";o();Object.defineProperty(Ue,"__esModule",{value:!0});var pi=he(),He=class{constructor(e,r){this._root=e,this._settings=r,this._root=pi.replacePathSegmentSeparator(e,r.pathSegmentSeparator)}};Ue.default=He});var Xe=c($e=>{"use strict";o();Object.defineProperty($e,"__esModule",{value:!0});var gi=E("events"),mi=le(),yi=zr(),fe=he(),Si=Ge(),Qe=class extends Si.default{constructor(e,r){super(e,r),this._settings=r,this._scandir=mi.scandir,this._emitter=new gi.EventEmitter,this._queue=yi(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,r){let n={directory:e,base:r};this._queue.push(n,s=>{s!==null&&this._handleError(s)})}_worker(e,r){this._scandir(e.directory,this._settings.fsScandirSettings,(n,s)=>{if(n!==null){r(n,void 0);return}for(let i of s)this._handleEntry(i,e.base);r(null,void 0)})}_handleError(e){this._isDestroyed||!fe.isFatalError(this._settings,e)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,r){if(this._isDestroyed||this._isFatalError)return;let n=e.path;r!==void 0&&(e.path=fe.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),fe.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&fe.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,r===void 0?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}};$e.default=Qe});var Zr=c(Ke=>{"use strict";o();Object.defineProperty(Ke,"__esModule",{value:!0});var Pi=Xe(),Je=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new Pi.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError(r=>{vi(e,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{Ei(e,this._storage)}),this._reader.read()}};Ke.default=Je;function vi(t,e){t(e)}function Ei(t,e){t(null,e)}});var en=c(Ze=>{"use strict";o();Object.defineProperty(Ze,"__esModule",{value:!0});var bi=E("stream"),wi=Xe(),ze=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new wi.default(this._root,this._settings),this._stream=new bi.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(e=>{this._stream.emit("error",e)}),this._reader.onEntry(e=>{this._stream.push(e)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};Ze.default=ze});var tn=c(tt=>{"use strict";o();Object.defineProperty(tt,"__esModule",{value:!0});var Ti=le(),de=he(),ki=Ge(),et=class extends ki.default{constructor(){super(...arguments),this._scandir=Ti.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,r){this._queue.add({directory:e,base:r})}_handleQueue(){for(let e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,r){try{let n=this._scandir(e,this._settings.fsScandirSettings);for(let s of n)this._handleEntry(s,r)}catch(n){this._handleError(n)}}_handleError(e){if(de.isFatalError(this._settings,e))throw e}_handleEntry(e,r){let n=e.path;r!==void 0&&(e.path=de.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),de.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&de.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,r===void 0?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}};tt.default=et});var rn=c(nt=>{"use strict";o();Object.defineProperty(nt,"__esModule",{value:!0});var Oi=tn(),rt=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new Oi.default(this._root,this._settings)}read(){return this._reader.read()}};nt.default=rt});var nn=c(it=>{"use strict";o();Object.defineProperty(it,"__esModule",{value:!0});var Di=E("path"),Mi=le(),st=class{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Di.sep),this.fsScandirSettings=new Mi.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e??r}};it.default=st});var pe=c(F=>{"use strict";o();Object.defineProperty(F,"__esModule",{value:!0});F.Settings=F.walkStream=F.walkSync=F.walk=void 0;var sn=Zr(),qi=en(),Ai=rn(),ot=nn();F.Settings=ot.default;function Fi(t,e,r){if(typeof e=="function"){new sn.default(t,_e()).read(e);return}new sn.default(t,_e(e)).read(r)}F.walk=Fi;function Ri(t,e){let r=_e(e);return new Ai.default(t,r).read()}F.walkSync=Ri;function Li(t,e){let r=_e(e);return new qi.default(t,r).read()}F.walkStream=Li;function _e(t={}){return t instanceof ot.default?t:new ot.default(t)}});var ge=c(ut=>{"use strict";o();Object.defineProperty(ut,"__esModule",{value:!0});var xi=E("path"),ji=Y(),on=L(),at=class{constructor(e){this._settings=e,this._fsStatSettings=new ji.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return xi.resolve(this._settings.cwd,e)}_makeEntry(e,r){let n={name:r,path:r,dirent:on.fs.createDirentFromStats(r,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!on.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};ut.default=at});var ht=c(lt=>{"use strict";o();Object.defineProperty(lt,"__esModule",{value:!0});var Ii=E("stream"),Bi=Y(),Ni=pe(),Wi=ge(),ct=class extends Wi.default{constructor(){super(...arguments),this._walkStream=Ni.walkStream,this._stat=Bi.stat}dynamic(e,r){return this._walkStream(e,r)}static(e,r){let n=e.map(this._getFullEntryPath,this),s=new Ii.PassThrough({objectMode:!0});s._write=(i,a,d)=>this._getEntry(n[i],e[i],r).then(f=>{f!==null&&r.entryFilter(f)&&s.push(f),i===n.length-1&&s.end(),d()}).catch(d);for(let i=0;i<n.length;i++)s.write(i);return s}_getEntry(e,r,n){return this._getStat(e).then(s=>this._makeEntry(s,r)).catch(s=>{if(n.errorFilter(s))return null;throw s})}_getStat(e){return new Promise((r,n)=>{this._stat(e,this._fsStatSettings,(s,i)=>s===null?r(i):n(s))})}};lt.default=ct});var an=c(dt=>{"use strict";o();Object.defineProperty(dt,"__esModule",{value:!0});var Vi=pe(),Ci=ge(),Yi=ht(),ft=class extends Ci.default{constructor(){super(...arguments),this._walkAsync=Vi.walk,this._readerStream=new Yi.default(this._settings)}dynamic(e,r){return new Promise((n,s)=>{this._walkAsync(e,r,(i,a)=>{i===null?n(a):s(i)})})}async static(e,r){let n=[],s=this._readerStream.static(e,r);return new Promise((i,a)=>{s.once("error",a),s.on("data",d=>n.push(d)),s.once("end",()=>i(n))})}};dt.default=ft});var un=c(pt=>{"use strict";o();Object.defineProperty(pt,"__esModule",{value:!0});var X=L(),_t=class{constructor(e,r,n){this._patterns=e,this._settings=r,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){for(let e of this._patterns){let r=this._getPatternSegments(e),n=this._splitSegmentsIntoSections(r);this._storage.push({complete:n.length<=1,pattern:e,segments:r,sections:n})}}_getPatternSegments(e){return X.pattern.getPatternParts(e,this._micromatchOptions).map(n=>X.pattern.isDynamicPattern(n,this._settings)?{dynamic:!0,pattern:n,patternRe:X.pattern.makeRe(n,this._micromatchOptions)}:{dynamic:!1,pattern:n})}_splitSegmentsIntoSections(e){return X.array.splitWhen(e,r=>r.dynamic&&X.pattern.hasGlobStar(r.pattern))}};pt.default=_t});var cn=c(mt=>{"use strict";o();Object.defineProperty(mt,"__esModule",{value:!0});var Hi=un(),gt=class extends Hi.default{match(e){let r=e.split("/"),n=r.length,s=this._storage.filter(i=>!i.complete||i.segments.length>n);for(let i of s){let a=i.sections[0];if(!i.complete&&n>a.length||r.every((f,h)=>{let u=i.segments[h];return!!(u.dynamic&&u.patternRe.test(f)||!u.dynamic&&u.pattern===f)}))return!0}return!1}};mt.default=gt});var ln=c(St=>{"use strict";o();Object.defineProperty(St,"__esModule",{value:!0});var me=L(),Ui=cn(),yt=class{constructor(e,r){this._settings=e,this._micromatchOptions=r}getFilter(e,r,n){let s=this._getMatcher(r),i=this._getNegativePatternsRe(n);return a=>this._filter(e,a,s,i)}_getMatcher(e){return new Ui.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){let r=e.filter(me.pattern.isAffectDepthOfReadingPattern);return me.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(e,r,n,s){if(this._isSkippedByDeep(e,r.path)||this._isSkippedSymbolicLink(r))return!1;let i=me.path.removeLeadingDotSegment(r.path);return this._isSkippedByPositivePatterns(i,n)?!1:this._isSkippedByNegativePatterns(i,s)}_isSkippedByDeep(e,r){return this._settings.deep===1/0?!1:this._getEntryLevel(e,r)>=this._settings.deep}_getEntryLevel(e,r){let n=r.split("/").length;if(e==="")return n;let s=e.split("/").length;return n-s}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,r){return!this._settings.baseNameMatch&&!r.match(e)}_isSkippedByNegativePatterns(e,r){return!me.pattern.matchAny(e,r)}};St.default=yt});var hn=c(vt=>{"use strict";o();Object.defineProperty(vt,"__esModule",{value:!0});var V=L(),Pt=class{constructor(e,r){this._settings=e,this._micromatchOptions=r,this.index=new Map}getFilter(e,r){let[n,s]=V.pattern.partitionAbsoluteAndRelative(r),i={positive:{all:V.pattern.convertPatternsToRe(e,this._micromatchOptions)},negative:{absolute:V.pattern.convertPatternsToRe(n,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0})),relative:V.pattern.convertPatternsToRe(s,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}))}};return a=>this._filter(a,i)}_filter(e,r){let n=V.path.removeLeadingDotSegment(e.path);if(this._settings.unique&&this._isDuplicateEntry(n)||this._onlyFileFilter(e)||this._onlyDirectoryFilter(e))return!1;let s=this._isMatchToPatternsSet(n,r,e.dirent.isDirectory());return this._settings.unique&&s&&this._createIndexRecord(n),s}_isDuplicateEntry(e){return this.index.has(e)}_createIndexRecord(e){this.index.set(e,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isMatchToPatternsSet(e,r,n){return!(!this._isMatchToPatterns(e,r.positive.all,n)||this._isMatchToPatterns(e,r.negative.relative,n)||this._isMatchToAbsoluteNegative(e,r.negative.absolute,n))}_isMatchToAbsoluteNegative(e,r,n){if(r.length===0)return!1;let s=V.path.makeAbsolute(this._settings.cwd,e);return this._isMatchToPatterns(s,r,n)}_isMatchToPatterns(e,r,n){if(r.length===0)return!1;let s=V.pattern.matchAny(e,r);return!s&&n?V.pattern.matchAny(e+"/",r):s}};vt.default=Pt});var fn=c(bt=>{"use strict";o();Object.defineProperty(bt,"__esModule",{value:!0});var Gi=L(),Et=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return Gi.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};bt.default=Et});var _n=c(Tt=>{"use strict";o();Object.defineProperty(Tt,"__esModule",{value:!0});var dn=L(),wt=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let r=e.path;return this._settings.absolute&&(r=dn.path.makeAbsolute(this._settings.cwd,r),r=dn.path.unixify(r)),this._settings.markDirectories&&e.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:r}):r}};Tt.default=wt});var ye=c(Ot=>{"use strict";o();Object.defineProperty(Ot,"__esModule",{value:!0});var Qi=E("path"),$i=ln(),Xi=hn(),Ji=fn(),Ki=_n(),kt=class{constructor(e){this._settings=e,this.errorFilter=new Ji.default(this._settings),this.entryFilter=new Xi.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new $i.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new Ki.default(this._settings)}_getRootDirectory(e){return Qi.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){let r=e.base==="."?"":e.base;return{basePath:r,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(r,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};Ot.default=kt});var pn=c(Mt=>{"use strict";o();Object.defineProperty(Mt,"__esModule",{value:!0});var zi=an(),Zi=ye(),Dt=class extends Zi.default{constructor(){super(...arguments),this._reader=new zi.default(this._settings)}async read(e){let r=this._getRootDirectory(e),n=this._getReaderOptions(e);return(await this.api(r,e,n)).map(i=>n.transform(i))}api(e,r,n){return r.dynamic?this._reader.dynamic(e,n):this._reader.static(r.patterns,n)}};Mt.default=Dt});var gn=c(At=>{"use strict";o();Object.defineProperty(At,"__esModule",{value:!0});var eo=E("stream"),to=ht(),ro=ye(),qt=class extends ro.default{constructor(){super(...arguments),this._reader=new to.default(this._settings)}read(e){let r=this._getRootDirectory(e),n=this._getReaderOptions(e),s=this.api(r,e,n),i=new eo.Readable({objectMode:!0,read:()=>{}});return s.once("error",a=>i.emit("error",a)).on("data",a=>i.emit("data",n.transform(a))).once("end",()=>i.emit("end")),i.once("close",()=>s.destroy()),i}api(e,r,n){return r.dynamic?this._reader.dynamic(e,n):this._reader.static(r.patterns,n)}};At.default=qt});var mn=c(Rt=>{"use strict";o();Object.defineProperty(Rt,"__esModule",{value:!0});var no=Y(),so=pe(),io=ge(),Ft=class extends io.default{constructor(){super(...arguments),this._walkSync=so.walkSync,this._statSync=no.statSync}dynamic(e,r){return this._walkSync(e,r)}static(e,r){let n=[];for(let s of e){let i=this._getFullEntryPath(s),a=this._getEntry(i,s,r);a===null||!r.entryFilter(a)||n.push(a)}return n}_getEntry(e,r,n){try{let s=this._getStat(e);return this._makeEntry(s,r)}catch(s){if(n.errorFilter(s))return null;throw s}}_getStat(e){return this._statSync(e,this._fsStatSettings)}};Rt.default=Ft});var yn=c(xt=>{"use strict";o();Object.defineProperty(xt,"__esModule",{value:!0});var oo=mn(),ao=ye(),Lt=class extends ao.default{constructor(){super(...arguments),this._reader=new oo.default(this._settings)}read(e){let r=this._getRootDirectory(e),n=this._getReaderOptions(e);return this.api(r,e,n).map(n.transform)}api(e,r,n){return r.dynamic?this._reader.dynamic(e,n):this._reader.static(r.patterns,n)}};xt.default=Lt});var Sn=c($=>{"use strict";o();Object.defineProperty($,"__esModule",{value:!0});$.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var Q=E("fs"),uo=E("os"),co=Math.max(uo.cpus().length,1);$.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:Q.lstat,lstatSync:Q.lstatSync,stat:Q.stat,statSync:Q.statSync,readdir:Q.readdir,readdirSync:Q.readdirSync};var jt=class{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,co),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore)}_getValue(e,r){return e===void 0?r:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},$.DEFAULT_FILE_SYSTEM_ADAPTER),e)}};$.default=jt});var _o=c((du,vn)=>{o();var Pn=Pr(),lo=pn(),ho=gn(),fo=yn(),It=Sn(),k=L();async function Bt(t,e){M(t);let r=Nt(t,lo.default,e),n=await Promise.all(r);return k.array.flatten(n)}(function(t){t.glob=t,t.globSync=e,t.globStream=r,t.async=t;function e(h,u){M(h);let _=Nt(h,fo.default,u);return k.array.flatten(_)}t.sync=e;function r(h,u){M(h);let _=Nt(h,ho.default,u);return k.stream.merge(_)}t.stream=r;function n(h,u){M(h);let _=[].concat(h),p=new It.default(u);return Pn.generate(_,p)}t.generateTasks=n;function s(h,u){M(h);let _=new It.default(u);return k.pattern.isDynamicPattern(h,_)}t.isDynamicPattern=s;function i(h){return M(h),k.path.escape(h)}t.escapePath=i;function a(h){return M(h),k.path.convertPathToPattern(h)}t.convertPathToPattern=a;let d;(function(h){function u(p){return M(p),k.path.escapePosixPath(p)}h.escapePath=u;function _(p){return M(p),k.path.convertPosixPathToPattern(p)}h.convertPathToPattern=_})(d=t.posix||(t.posix={}));let f;(function(h){function u(p){return M(p),k.path.escapeWindowsPath(p)}h.escapePath=u;function _(p){return M(p),k.path.convertWindowsPathToPattern(p)}h.convertPathToPattern=_})(f=t.win32||(t.win32={}))})(Bt||(Bt={}));function Nt(t,e,r){let n=[].concat(t),s=new It.default(r),i=Pn.generate(n,s),a=new e(s);return i.map(a.read,a)}function M(t){if(![].concat(t).every(n=>k.string.isString(n)&&!k.string.isEmpty(n)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}vn.exports=Bt});export{dr as a,_o as b};
2
2
  /*! Bundled license information:
3
3
 
4
4
  queue-microtask/index.js:
@@ -0,0 +1,9 @@
1
+ import{b as i}from"./chunk-OXJBYKMX.js";import{b as o}from"./chunk-HOSFU6UP.js";import{J as t}from"./chunk-NTRAWIEJ.js";import{r as p}from"./chunk-T6CC5WUU.js";import{e as h,g as a}from"./chunk-VKWPEFWQ.js";a();a();async function c(r){let e=new URLSearchParams;e.append("search",r??""),await t(`https://shopify.dev?${e.toString()}`)}var n=h(p(),1),s=class r extends o{static{this.description="Search shopify.dev for the most relevant content matching a query. Best for discovery \u2014 surfacing the relevant pieces of documentation for a topic, rather than retrieving a whole document. To download a full document verbatim, use `doc fetch`."}static{this.usage="search [query]"}static{this.examples=[`# open the search modal on Shopify.dev
2
+ shopify search
3
+
4
+ # search for a term on Shopify.dev
5
+ shopify search <query>
6
+
7
+ # search for a phrase on Shopify.dev
8
+ shopify search "<a search query separated by spaces>"
9
+ `]}static{this.args={query:n.Args.string()}}static{this.flags={...i}}async run(){let{args:e}=await this.parse(r);await c(e.query)}};export{s as a};
@@ -1,4 +1,4 @@
1
- import{c as g,g as s}from"./chunk-VPRTJUIN.js";var t=g((u,o)=>{s();o.exports=function(e,l){if(typeof e!="string")throw new TypeError("expected path to be a string");if(e==="\\"||e==="/")return"/";var i=e.length;if(i<=1)return e;var n="";if(i>4&&e[3]==="\\"){var f=e[2];(f==="?"||f===".")&&e.slice(0,2)==="\\\\"&&(e=e.slice(2),n="//")}var r=e.split(/[/\\]+/);return l!==!1&&r[r.length-1]===""&&r.pop(),n+r.join("/")}});export{t as a};
1
+ import{c as g,g as s}from"./chunk-VKWPEFWQ.js";var t=g((u,o)=>{s();o.exports=function(e,l){if(typeof e!="string")throw new TypeError("expected path to be a string");if(e==="\\"||e==="/")return"/";var i=e.length;if(i<=1)return e;var n="";if(i>4&&e[3]==="\\"){var f=e[2];(f==="?"||f===".")&&e.slice(0,2)==="\\\\"&&(e=e.slice(2),n="//")}var r=e.split(/[/\\]+/);return l!==!1&&r[r.length-1]===""&&r.pop(),n+r.join("/")}});export{t as a};
2
2
  /*! Bundled license information:
3
3
 
4
4
  normalize-path/index.js:
@@ -1 +1 @@
1
- import{a as d}from"./chunk-U3ZG675O.js";import{a as m}from"./chunk-T5MK7ZSF.js";import{a as p}from"./chunk-DCK2FX6J.js";import{Fa as s}from"./chunk-WCWNI3ZV.js";import{b as n}from"./chunk-4KRT35A2.js";import{Lb as r}from"./chunk-VPL2NDH6.js";import{g as i}from"./chunk-VPRTJUIN.js";i();var o,t=class extends m{async run(){let{flags:a}=await this.parse(o),{app:e,remoteApp:l,organization:c}=await s({directory:a.path,clientId:a["client-id"],forceRelink:a.reset,userProvidedConfigName:a.config});return r(await d(e,l,c)),{app:e}}};o=t;t.summary="Display app and extensions environment variables.";t.descriptionWithMarkdown="Displays environment variables that can be used to deploy apps and app extensions.";t.description=o.descriptionWithoutMarkdown();t.flags={...n,...p};var w=t;export{w as a};
1
+ import{a as d}from"./chunk-MMIHHCMW.js";import{a as m}from"./chunk-EKVTNWHM.js";import{a as p}from"./chunk-5BKCIDMS.js";import{Fa as s}from"./chunk-4QTEPWEJ.js";import{b as n}from"./chunk-OXJBYKMX.js";import{Lb as r}from"./chunk-7FQFEB33.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();var o,t=class extends m{async run(){let{flags:a}=await this.parse(o),{app:e,remoteApp:l,organization:c}=await s({directory:a.path,clientId:a["client-id"],forceRelink:a.reset,userProvidedConfigName:a.config});return r(await d(e,l,c)),{app:e}}};o=t;t.summary="Display app and extensions environment variables.";t.descriptionWithMarkdown="Displays environment variables that can be used to deploy apps and app extensions.";t.description=o.descriptionWithoutMarkdown();t.flags={...n,...p};var w=t;export{w as a};
@@ -1,4 +1,4 @@
1
- import{q as Yv}from"./chunk-HHXHOQQP.js";import{A as hy,B as ii,C as uy,D as Fn,E as py,F as my,G as za,H as fy,I as Oa,J as gy,K as rs,L as kT,M as by,N as Aa,O as is,P as os,Q as Pn,R as vy,S as sn,T as La,U as qa,V,W as CT,X as _T,a as ee,aa as Eu,b as Fa,c as Zv,d as Dn,e as ke,f as Pa,g as ey,h as ty,i as ny,j as ry,k as iy,l as ns,m as oy,n as Ma,o as K,p as Ia,q as sy,r as Na,s as Vt,t as ay,u as B,v as lt,w as kr,x as ly,y as cy,z as dy}from"./chunk-IWCPQD7X.js";import{b as Qv}from"./chunk-4KRT35A2.js";import{a as jt,b as Z,c as w,d as Xv,e as $t,f as Bt,g as d}from"./chunk-VPRTJUIN.js";var Ai=w(ct=>{"use strict";d();Object.defineProperty(ct,"__esModule",{value:!0});ct.stringArray=ct.array=ct.func=ct.error=ct.number=ct.string=ct.boolean=void 0;function TT(n){return n===!0||n===!1}ct.boolean=TT;function yy(n){return typeof n=="string"||n instanceof String}ct.string=yy;function RT(n){return typeof n=="number"||n instanceof Number}ct.number=RT;function ET(n){return n instanceof Error}ct.error=ET;function DT(n){return typeof n=="function"}ct.func=DT;function wy(n){return Array.isArray(n)}ct.array=wy;function FT(n){return wy(n)&&n.every(e=>yy(e))}ct.stringArray=FT});var Yu=w(j=>{"use strict";d();Object.defineProperty(j,"__esModule",{value:!0});j.Message=j.NotificationType9=j.NotificationType8=j.NotificationType7=j.NotificationType6=j.NotificationType5=j.NotificationType4=j.NotificationType3=j.NotificationType2=j.NotificationType1=j.NotificationType0=j.NotificationType=j.RequestType9=j.RequestType8=j.RequestType7=j.RequestType6=j.RequestType5=j.RequestType4=j.RequestType3=j.RequestType2=j.RequestType1=j.RequestType=j.RequestType0=j.AbstractMessageSignature=j.ParameterStructures=j.ResponseError=j.ErrorCodes=void 0;var oi=Ai(),Sy;(function(n){n.ParseError=-32700,n.InvalidRequest=-32600,n.MethodNotFound=-32601,n.InvalidParams=-32602,n.InternalError=-32603,n.jsonrpcReservedErrorRangeStart=-32099,n.serverErrorStart=-32099,n.MessageWriteError=-32099,n.MessageReadError=-32098,n.PendingResponseRejected=-32097,n.ConnectionInactive=-32096,n.ServerNotInitialized=-32002,n.UnknownErrorCode=-32001,n.jsonrpcReservedErrorRangeEnd=-32e3,n.serverErrorEnd=-32e3})(Sy=j.ErrorCodes||(j.ErrorCodes={}));var Du=class n extends Error{constructor(e,t,r){super(t),this.code=oi.number(e)?e:Sy.UnknownErrorCode,this.data=r,Object.setPrototypeOf(this,n.prototype)}toJson(){let e={code:this.code,message:this.message};return this.data!==void 0&&(e.data=this.data),e}};j.ResponseError=Du;var Tt=class n{constructor(e){this.kind=e}static is(e){return e===n.auto||e===n.byName||e===n.byPosition}toString(){return this.kind}};j.ParameterStructures=Tt;Tt.auto=new Tt("auto");Tt.byPosition=new Tt("byPosition");Tt.byName=new Tt("byName");var Ce=class{constructor(e,t){this.method=e,this.numberOfParams=t}get parameterStructures(){return Tt.auto}};j.AbstractMessageSignature=Ce;var Fu=class extends Ce{constructor(e){super(e,0)}};j.RequestType0=Fu;var Pu=class extends Ce{constructor(e,t=Tt.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};j.RequestType=Pu;var Mu=class extends Ce{constructor(e,t=Tt.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};j.RequestType1=Mu;var Iu=class extends Ce{constructor(e){super(e,2)}};j.RequestType2=Iu;var Nu=class extends Ce{constructor(e){super(e,3)}};j.RequestType3=Nu;var zu=class extends Ce{constructor(e){super(e,4)}};j.RequestType4=zu;var Ou=class extends Ce{constructor(e){super(e,5)}};j.RequestType5=Ou;var Au=class extends Ce{constructor(e){super(e,6)}};j.RequestType6=Au;var Lu=class extends Ce{constructor(e){super(e,7)}};j.RequestType7=Lu;var qu=class extends Ce{constructor(e){super(e,8)}};j.RequestType8=qu;var Wu=class extends Ce{constructor(e){super(e,9)}};j.RequestType9=Wu;var Hu=class extends Ce{constructor(e,t=Tt.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};j.NotificationType=Hu;var Uu=class extends Ce{constructor(e){super(e,0)}};j.NotificationType0=Uu;var ju=class extends Ce{constructor(e,t=Tt.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};j.NotificationType1=ju;var $u=class extends Ce{constructor(e){super(e,2)}};j.NotificationType2=$u;var Bu=class extends Ce{constructor(e){super(e,3)}};j.NotificationType3=Bu;var Vu=class extends Ce{constructor(e){super(e,4)}};j.NotificationType4=Vu;var Gu=class extends Ce{constructor(e){super(e,5)}};j.NotificationType5=Gu;var Ku=class extends Ce{constructor(e){super(e,6)}};j.NotificationType6=Ku;var Ju=class extends Ce{constructor(e){super(e,7)}};j.NotificationType7=Ju;var Xu=class extends Ce{constructor(e){super(e,8)}};j.NotificationType8=Xu;var Qu=class extends Ce{constructor(e){super(e,9)}};j.NotificationType9=Qu;var PT;(function(n){function e(i){let o=i;return o&&oi.string(o.method)&&(oi.string(o.id)||oi.number(o.id))}n.isRequest=e;function t(i){let o=i;return o&&oi.string(o.method)&&i.id===void 0}n.isNotification=t;function r(i){let o=i;return o&&(o.result!==void 0||!!o.error)&&(oi.string(o.id)||oi.number(o.id)||o.id===null)}n.isResponse=r})(PT=j.Message||(j.Message={}))});var ep=w(Kn=>{"use strict";d();var xy;Object.defineProperty(Kn,"__esModule",{value:!0});Kn.LRUCache=Kn.LinkedMap=Kn.Touch=void 0;var ft;(function(n){n.None=0,n.First=1,n.AsOld=n.First,n.Last=2,n.AsNew=n.Last})(ft=Kn.Touch||(Kn.Touch={}));var Wa=class{constructor(){this[xy]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}has(e){return this._map.has(e)}get(e,t=ft.None){let r=this._map.get(e);if(r)return t!==ft.None&&this.touch(r,t),r.value}set(e,t,r=ft.None){let i=this._map.get(e);if(i)i.value=t,r!==ft.None&&this.touch(i,r);else{switch(i={key:e,value:t,next:void 0,previous:void 0},r){case ft.None:this.addItemLast(i);break;case ft.First:this.addItemFirst(i);break;case ft.Last:this.addItemLast(i);break;default:this.addItemLast(i);break}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){let r=this._state,i=this._head;for(;i;){if(t?e.bind(t)(i.value,i.key,this):e(i.value,i.key,this),this._state!==r)throw new Error("LinkedMap got modified during iteration.");i=i.next}}keys(){let e=this._state,t=this._head,r={[Symbol.iterator]:()=>r,next:()=>{if(this._state!==e)throw new Error("LinkedMap got modified during iteration.");if(t){let i={value:t.key,done:!1};return t=t.next,i}else return{value:void 0,done:!0}}};return r}values(){let e=this._state,t=this._head,r={[Symbol.iterator]:()=>r,next:()=>{if(this._state!==e)throw new Error("LinkedMap got modified during iteration.");if(t){let i={value:t.value,done:!1};return t=t.next,i}else return{value:void 0,done:!0}}};return r}entries(){let e=this._state,t=this._head,r={[Symbol.iterator]:()=>r,next:()=>{if(this._state!==e)throw new Error("LinkedMap got modified during iteration.");if(t){let i={value:[t.key,t.value],done:!1};return t=t.next,i}else return{value:void 0,done:!0}}};return r}[(xy=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let t=this._head,r=this.size;for(;t&&r>e;)this._map.delete(t.key),t=t.next,r--;this._head=t,this._size=r,t&&(t.previous=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw new Error("Invalid list");this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw new Error("Invalid list");this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{let t=e.next,r=e.previous;if(!t||!r)throw new Error("Invalid list");t.previous=r,r.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(t!==ft.First&&t!==ft.Last)){if(t===ft.First){if(e===this._head)return;let r=e.next,i=e.previous;e===this._tail?(i.next=void 0,this._tail=i):(r.previous=i,i.next=r),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(t===ft.Last){if(e===this._tail)return;let r=e.next,i=e.previous;e===this._head?(r.previous=void 0,this._head=r):(r.previous=i,i.next=r),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((t,r)=>{e.push([r,t])}),e}fromJSON(e){this.clear();for(let[t,r]of e)this.set(t,r)}};Kn.LinkedMap=Wa;var Zu=class extends Wa{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get ratio(){return this._ratio}set ratio(e){this._ratio=Math.min(Math.max(0,e),1),this.checkTrim()}get(e,t=ft.AsNew){return super.get(e,t)}peek(e){return super.get(e,ft.None)}set(e,t){return super.set(e,t,ft.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}};Kn.LRUCache=Zu});var ky=w(ss=>{"use strict";d();Object.defineProperty(ss,"__esModule",{value:!0});ss.Disposable=void 0;var MT;(function(n){function e(t){return{dispose:t}}n.create=e})(MT=ss.Disposable||(ss.Disposable={}))});var Cr=w(rp=>{"use strict";d();Object.defineProperty(rp,"__esModule",{value:!0});var tp;function np(){if(tp===void 0)throw new Error("No runtime abstraction layer installed");return tp}(function(n){function e(t){if(t===void 0)throw new Error("No runtime abstraction layer provided");tp=t}n.install=e})(np||(np={}));rp.default=np});var Li=w(si=>{"use strict";d();Object.defineProperty(si,"__esModule",{value:!0});si.Emitter=si.Event=void 0;var IT=Cr(),NT;(function(n){let e={dispose(){}};n.None=function(){return e}})(NT=si.Event||(si.Event={}));var ip=class{add(e,t=null,r){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(r)&&r.push({dispose:()=>this.remove(e,t)})}remove(e,t=null){if(!this._callbacks)return;let r=!1;for(let i=0,o=this._callbacks.length;i<o;i++)if(this._callbacks[i]===e)if(this._contexts[i]===t){this._callbacks.splice(i,1),this._contexts.splice(i,1);return}else r=!0;if(r)throw new Error("When adding a listener with a context, you should remove it with the same context")}invoke(...e){if(!this._callbacks)return[];let t=[],r=this._callbacks.slice(0),i=this._contexts.slice(0);for(let o=0,s=r.length;o<s;o++)try{t.push(r[o].apply(i[o],e))}catch(a){(0,IT.default)().console.error(a)}return t}isEmpty(){return!this._callbacks||this._callbacks.length===0}dispose(){this._callbacks=void 0,this._contexts=void 0}},Ha=class n{constructor(e){this._options=e}get event(){return this._event||(this._event=(e,t,r)=>{this._callbacks||(this._callbacks=new ip),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,t);let i={dispose:()=>{this._callbacks&&(this._callbacks.remove(e,t),i.dispose=n._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(r)&&r.push(i),i}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}};si.Emitter=Ha;Ha._noop=function(){}});var ja=w(ai=>{"use strict";d();Object.defineProperty(ai,"__esModule",{value:!0});ai.CancellationTokenSource=ai.CancellationToken=void 0;var zT=Cr(),OT=Ai(),op=Li(),sp;(function(n){n.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:op.Event.None}),n.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:op.Event.None});function e(t){let r=t;return r&&(r===n.None||r===n.Cancelled||OT.boolean(r.isCancellationRequested)&&!!r.onCancellationRequested)}n.is=e})(sp=ai.CancellationToken||(ai.CancellationToken={}));var AT=Object.freeze(function(n,e){let t=(0,zT.default)().timer.setTimeout(n.bind(e),0);return{dispose(){t.dispose()}}}),Ua=class{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?AT:(this._emitter||(this._emitter=new op.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}},ap=class{get token(){return this._token||(this._token=new Ua),this._token}cancel(){this._token?this._token.cancel():this._token=sp.Cancelled}dispose(){this._token?this._token instanceof Ua&&this._token.dispose():this._token=sp.None}};ai.CancellationTokenSource=ap});var Cy=w(qi=>{"use strict";d();Object.defineProperty(qi,"__esModule",{value:!0});qi.SharedArrayReceiverStrategy=qi.SharedArraySenderStrategy=void 0;var LT=ja(),as;(function(n){n.Continue=0,n.Cancelled=1})(as||(as={}));var lp=class{constructor(){this.buffers=new Map}enableCancellation(e){if(e.id===null)return;let t=new SharedArrayBuffer(4),r=new Int32Array(t,0,1);r[0]=as.Continue,this.buffers.set(e.id,t),e.$cancellationData=t}async sendCancellation(e,t){let r=this.buffers.get(t);if(r===void 0)return;let i=new Int32Array(r,0,1);Atomics.store(i,0,as.Cancelled)}cleanup(e){this.buffers.delete(e)}dispose(){this.buffers.clear()}};qi.SharedArraySenderStrategy=lp;var cp=class{constructor(e){this.data=new Int32Array(e,0,1)}get isCancellationRequested(){return Atomics.load(this.data,0)===as.Cancelled}get onCancellationRequested(){throw new Error("Cancellation over SharedArrayBuffer doesn't support cancellation events")}},dp=class{constructor(e){this.token=new cp(e)}cancel(){}dispose(){}},hp=class{constructor(){this.kind="request"}createCancellationTokenSource(e){let t=e.$cancellationData;return t===void 0?new LT.CancellationTokenSource:new dp(t)}};qi.SharedArrayReceiverStrategy=hp});var pp=w($a=>{"use strict";d();Object.defineProperty($a,"__esModule",{value:!0});$a.Semaphore=void 0;var qT=Cr(),up=class{constructor(e=1){if(e<=0)throw new Error("Capacity must be greater than 0");this._capacity=e,this._active=0,this._waiting=[]}lock(e){return new Promise((t,r)=>{this._waiting.push({thunk:e,resolve:t,reject:r}),this.runNext()})}get active(){return this._active}runNext(){this._waiting.length===0||this._active===this._capacity||(0,qT.default)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;let e=this._waiting.shift();if(this._active++,this._active>this._capacity)throw new Error("To many thunks active");try{let t=e.thunk();t instanceof Promise?t.then(r=>{this._active--,e.resolve(r),this.runNext()},r=>{this._active--,e.reject(r),this.runNext()}):(this._active--,e.resolve(t),this.runNext())}catch(t){this._active--,e.reject(t),this.runNext()}}};$a.Semaphore=up});var _y=w(Jn=>{"use strict";d();Object.defineProperty(Jn,"__esModule",{value:!0});Jn.ReadableStreamMessageReader=Jn.AbstractMessageReader=Jn.MessageReader=void 0;var fp=Cr(),Wi=Ai(),mp=Li(),WT=pp(),HT;(function(n){function e(t){let r=t;return r&&Wi.func(r.listen)&&Wi.func(r.dispose)&&Wi.func(r.onError)&&Wi.func(r.onClose)&&Wi.func(r.onPartialMessage)}n.is=e})(HT=Jn.MessageReader||(Jn.MessageReader={}));var Ba=class{constructor(){this.errorEmitter=new mp.Emitter,this.closeEmitter=new mp.Emitter,this.partialMessageEmitter=new mp.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e){this.errorEmitter.fire(this.asError(e))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(e){this.partialMessageEmitter.fire(e)}asError(e){return e instanceof Error?e:new Error(`Reader received error. Reason: ${Wi.string(e.message)?e.message:"unknown"}`)}};Jn.AbstractMessageReader=Ba;var gp;(function(n){function e(t){let r,i,o,s=new Map,a,l=new Map;if(t===void 0||typeof t=="string")r=t??"utf-8";else{if(r=t.charset??"utf-8",t.contentDecoder!==void 0&&(o=t.contentDecoder,s.set(o.name,o)),t.contentDecoders!==void 0)for(let c of t.contentDecoders)s.set(c.name,c);if(t.contentTypeDecoder!==void 0&&(a=t.contentTypeDecoder,l.set(a.name,a)),t.contentTypeDecoders!==void 0)for(let c of t.contentTypeDecoders)l.set(c.name,c)}return a===void 0&&(a=(0,fp.default)().applicationJson.decoder,l.set(a.name,a)),{charset:r,contentDecoder:o,contentDecoders:s,contentTypeDecoder:a,contentTypeDecoders:l}}n.fromOptions=e})(gp||(gp={}));var bp=class extends Ba{constructor(e,t){super(),this.readable=e,this.options=gp.fromOptions(t),this.buffer=(0,fp.default)().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0,this.readSemaphore=new WT.Semaphore(1)}set partialMessageTimeout(e){this._partialMessageTimeout=e}get partialMessageTimeout(){return this._partialMessageTimeout}listen(e){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=e;let t=this.readable.onData(r=>{this.onData(r)});return this.readable.onError(r=>this.fireError(r)),this.readable.onClose(()=>this.fireClose()),t}onData(e){for(this.buffer.append(e);;){if(this.nextMessageLength===-1){let r=this.buffer.tryReadHeaders(!0);if(!r)return;let i=r.get("content-length");if(!i){this.fireError(new Error("Header must provide a Content-Length property."));return}let o=parseInt(i);if(isNaN(o)){this.fireError(new Error("Content-Length value must be a number."));return}this.nextMessageLength=o}let t=this.buffer.tryReadBody(this.nextMessageLength);if(t===void 0){this.setPartialMessageTimer();return}this.clearPartialMessageTimer(),this.nextMessageLength=-1,this.readSemaphore.lock(async()=>{let r=this.options.contentDecoder!==void 0?await this.options.contentDecoder.decode(t):t,i=await this.options.contentTypeDecoder.decode(r,this.options);this.callback(i)}).catch(r=>{this.fireError(r)})}}clearPartialMessageTimer(){this.partialMessageTimer&&(this.partialMessageTimer.dispose(),this.partialMessageTimer=void 0)}setPartialMessageTimer(){this.clearPartialMessageTimer(),!(this._partialMessageTimeout<=0)&&(this.partialMessageTimer=(0,fp.default)().timer.setTimeout((e,t)=>{this.partialMessageTimer=void 0,e===this.messageToken&&(this.firePartialMessage({messageToken:e,waitingTime:t}),this.setPartialMessageTimer())},this._partialMessageTimeout,this.messageToken,this._partialMessageTimeout))}};Jn.ReadableStreamMessageReader=bp});var Dy=w(Xn=>{"use strict";d();Object.defineProperty(Xn,"__esModule",{value:!0});Xn.WriteableStreamMessageWriter=Xn.AbstractMessageWriter=Xn.MessageWriter=void 0;var Ty=Cr(),ls=Ai(),UT=pp(),Ry=Li(),jT="Content-Length: ",Ey=`\r
1
+ import{q as Yv}from"./chunk-TUNUEOHO.js";import{A as hy,B as ii,C as uy,D as Fn,E as py,F as my,G as za,H as fy,I as Oa,J as gy,K as rs,L as kT,M as by,N as Aa,O as is,P as os,Q as Pn,R as vy,S as sn,T as La,U as qa,V,W as CT,X as _T,a as ee,aa as Eu,b as Fa,c as Zv,d as Dn,e as ke,f as Pa,g as ey,h as ty,i as ny,j as ry,k as iy,l as ns,m as oy,n as Ma,o as K,p as Ia,q as sy,r as Na,s as Vt,t as ay,u as B,v as lt,w as kr,x as ly,y as cy,z as dy}from"./chunk-4J32OHLY.js";import{b as Qv}from"./chunk-OXJBYKMX.js";import{a as jt,b as Z,c as w,d as Xv,e as $t,f as Bt,g as d}from"./chunk-VKWPEFWQ.js";var Ai=w(ct=>{"use strict";d();Object.defineProperty(ct,"__esModule",{value:!0});ct.stringArray=ct.array=ct.func=ct.error=ct.number=ct.string=ct.boolean=void 0;function TT(n){return n===!0||n===!1}ct.boolean=TT;function yy(n){return typeof n=="string"||n instanceof String}ct.string=yy;function RT(n){return typeof n=="number"||n instanceof Number}ct.number=RT;function ET(n){return n instanceof Error}ct.error=ET;function DT(n){return typeof n=="function"}ct.func=DT;function wy(n){return Array.isArray(n)}ct.array=wy;function FT(n){return wy(n)&&n.every(e=>yy(e))}ct.stringArray=FT});var Yu=w(j=>{"use strict";d();Object.defineProperty(j,"__esModule",{value:!0});j.Message=j.NotificationType9=j.NotificationType8=j.NotificationType7=j.NotificationType6=j.NotificationType5=j.NotificationType4=j.NotificationType3=j.NotificationType2=j.NotificationType1=j.NotificationType0=j.NotificationType=j.RequestType9=j.RequestType8=j.RequestType7=j.RequestType6=j.RequestType5=j.RequestType4=j.RequestType3=j.RequestType2=j.RequestType1=j.RequestType=j.RequestType0=j.AbstractMessageSignature=j.ParameterStructures=j.ResponseError=j.ErrorCodes=void 0;var oi=Ai(),Sy;(function(n){n.ParseError=-32700,n.InvalidRequest=-32600,n.MethodNotFound=-32601,n.InvalidParams=-32602,n.InternalError=-32603,n.jsonrpcReservedErrorRangeStart=-32099,n.serverErrorStart=-32099,n.MessageWriteError=-32099,n.MessageReadError=-32098,n.PendingResponseRejected=-32097,n.ConnectionInactive=-32096,n.ServerNotInitialized=-32002,n.UnknownErrorCode=-32001,n.jsonrpcReservedErrorRangeEnd=-32e3,n.serverErrorEnd=-32e3})(Sy=j.ErrorCodes||(j.ErrorCodes={}));var Du=class n extends Error{constructor(e,t,r){super(t),this.code=oi.number(e)?e:Sy.UnknownErrorCode,this.data=r,Object.setPrototypeOf(this,n.prototype)}toJson(){let e={code:this.code,message:this.message};return this.data!==void 0&&(e.data=this.data),e}};j.ResponseError=Du;var Tt=class n{constructor(e){this.kind=e}static is(e){return e===n.auto||e===n.byName||e===n.byPosition}toString(){return this.kind}};j.ParameterStructures=Tt;Tt.auto=new Tt("auto");Tt.byPosition=new Tt("byPosition");Tt.byName=new Tt("byName");var Ce=class{constructor(e,t){this.method=e,this.numberOfParams=t}get parameterStructures(){return Tt.auto}};j.AbstractMessageSignature=Ce;var Fu=class extends Ce{constructor(e){super(e,0)}};j.RequestType0=Fu;var Pu=class extends Ce{constructor(e,t=Tt.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};j.RequestType=Pu;var Mu=class extends Ce{constructor(e,t=Tt.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};j.RequestType1=Mu;var Iu=class extends Ce{constructor(e){super(e,2)}};j.RequestType2=Iu;var Nu=class extends Ce{constructor(e){super(e,3)}};j.RequestType3=Nu;var zu=class extends Ce{constructor(e){super(e,4)}};j.RequestType4=zu;var Ou=class extends Ce{constructor(e){super(e,5)}};j.RequestType5=Ou;var Au=class extends Ce{constructor(e){super(e,6)}};j.RequestType6=Au;var Lu=class extends Ce{constructor(e){super(e,7)}};j.RequestType7=Lu;var qu=class extends Ce{constructor(e){super(e,8)}};j.RequestType8=qu;var Wu=class extends Ce{constructor(e){super(e,9)}};j.RequestType9=Wu;var Hu=class extends Ce{constructor(e,t=Tt.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};j.NotificationType=Hu;var Uu=class extends Ce{constructor(e){super(e,0)}};j.NotificationType0=Uu;var ju=class extends Ce{constructor(e,t=Tt.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};j.NotificationType1=ju;var $u=class extends Ce{constructor(e){super(e,2)}};j.NotificationType2=$u;var Bu=class extends Ce{constructor(e){super(e,3)}};j.NotificationType3=Bu;var Vu=class extends Ce{constructor(e){super(e,4)}};j.NotificationType4=Vu;var Gu=class extends Ce{constructor(e){super(e,5)}};j.NotificationType5=Gu;var Ku=class extends Ce{constructor(e){super(e,6)}};j.NotificationType6=Ku;var Ju=class extends Ce{constructor(e){super(e,7)}};j.NotificationType7=Ju;var Xu=class extends Ce{constructor(e){super(e,8)}};j.NotificationType8=Xu;var Qu=class extends Ce{constructor(e){super(e,9)}};j.NotificationType9=Qu;var PT;(function(n){function e(i){let o=i;return o&&oi.string(o.method)&&(oi.string(o.id)||oi.number(o.id))}n.isRequest=e;function t(i){let o=i;return o&&oi.string(o.method)&&i.id===void 0}n.isNotification=t;function r(i){let o=i;return o&&(o.result!==void 0||!!o.error)&&(oi.string(o.id)||oi.number(o.id)||o.id===null)}n.isResponse=r})(PT=j.Message||(j.Message={}))});var ep=w(Kn=>{"use strict";d();var xy;Object.defineProperty(Kn,"__esModule",{value:!0});Kn.LRUCache=Kn.LinkedMap=Kn.Touch=void 0;var ft;(function(n){n.None=0,n.First=1,n.AsOld=n.First,n.Last=2,n.AsNew=n.Last})(ft=Kn.Touch||(Kn.Touch={}));var Wa=class{constructor(){this[xy]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}has(e){return this._map.has(e)}get(e,t=ft.None){let r=this._map.get(e);if(r)return t!==ft.None&&this.touch(r,t),r.value}set(e,t,r=ft.None){let i=this._map.get(e);if(i)i.value=t,r!==ft.None&&this.touch(i,r);else{switch(i={key:e,value:t,next:void 0,previous:void 0},r){case ft.None:this.addItemLast(i);break;case ft.First:this.addItemFirst(i);break;case ft.Last:this.addItemLast(i);break;default:this.addItemLast(i);break}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){let r=this._state,i=this._head;for(;i;){if(t?e.bind(t)(i.value,i.key,this):e(i.value,i.key,this),this._state!==r)throw new Error("LinkedMap got modified during iteration.");i=i.next}}keys(){let e=this._state,t=this._head,r={[Symbol.iterator]:()=>r,next:()=>{if(this._state!==e)throw new Error("LinkedMap got modified during iteration.");if(t){let i={value:t.key,done:!1};return t=t.next,i}else return{value:void 0,done:!0}}};return r}values(){let e=this._state,t=this._head,r={[Symbol.iterator]:()=>r,next:()=>{if(this._state!==e)throw new Error("LinkedMap got modified during iteration.");if(t){let i={value:t.value,done:!1};return t=t.next,i}else return{value:void 0,done:!0}}};return r}entries(){let e=this._state,t=this._head,r={[Symbol.iterator]:()=>r,next:()=>{if(this._state!==e)throw new Error("LinkedMap got modified during iteration.");if(t){let i={value:[t.key,t.value],done:!1};return t=t.next,i}else return{value:void 0,done:!0}}};return r}[(xy=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let t=this._head,r=this.size;for(;t&&r>e;)this._map.delete(t.key),t=t.next,r--;this._head=t,this._size=r,t&&(t.previous=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw new Error("Invalid list");this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw new Error("Invalid list");this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{let t=e.next,r=e.previous;if(!t||!r)throw new Error("Invalid list");t.previous=r,r.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(t!==ft.First&&t!==ft.Last)){if(t===ft.First){if(e===this._head)return;let r=e.next,i=e.previous;e===this._tail?(i.next=void 0,this._tail=i):(r.previous=i,i.next=r),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(t===ft.Last){if(e===this._tail)return;let r=e.next,i=e.previous;e===this._head?(r.previous=void 0,this._head=r):(r.previous=i,i.next=r),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((t,r)=>{e.push([r,t])}),e}fromJSON(e){this.clear();for(let[t,r]of e)this.set(t,r)}};Kn.LinkedMap=Wa;var Zu=class extends Wa{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get ratio(){return this._ratio}set ratio(e){this._ratio=Math.min(Math.max(0,e),1),this.checkTrim()}get(e,t=ft.AsNew){return super.get(e,t)}peek(e){return super.get(e,ft.None)}set(e,t){return super.set(e,t,ft.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}};Kn.LRUCache=Zu});var ky=w(ss=>{"use strict";d();Object.defineProperty(ss,"__esModule",{value:!0});ss.Disposable=void 0;var MT;(function(n){function e(t){return{dispose:t}}n.create=e})(MT=ss.Disposable||(ss.Disposable={}))});var Cr=w(rp=>{"use strict";d();Object.defineProperty(rp,"__esModule",{value:!0});var tp;function np(){if(tp===void 0)throw new Error("No runtime abstraction layer installed");return tp}(function(n){function e(t){if(t===void 0)throw new Error("No runtime abstraction layer provided");tp=t}n.install=e})(np||(np={}));rp.default=np});var Li=w(si=>{"use strict";d();Object.defineProperty(si,"__esModule",{value:!0});si.Emitter=si.Event=void 0;var IT=Cr(),NT;(function(n){let e={dispose(){}};n.None=function(){return e}})(NT=si.Event||(si.Event={}));var ip=class{add(e,t=null,r){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(r)&&r.push({dispose:()=>this.remove(e,t)})}remove(e,t=null){if(!this._callbacks)return;let r=!1;for(let i=0,o=this._callbacks.length;i<o;i++)if(this._callbacks[i]===e)if(this._contexts[i]===t){this._callbacks.splice(i,1),this._contexts.splice(i,1);return}else r=!0;if(r)throw new Error("When adding a listener with a context, you should remove it with the same context")}invoke(...e){if(!this._callbacks)return[];let t=[],r=this._callbacks.slice(0),i=this._contexts.slice(0);for(let o=0,s=r.length;o<s;o++)try{t.push(r[o].apply(i[o],e))}catch(a){(0,IT.default)().console.error(a)}return t}isEmpty(){return!this._callbacks||this._callbacks.length===0}dispose(){this._callbacks=void 0,this._contexts=void 0}},Ha=class n{constructor(e){this._options=e}get event(){return this._event||(this._event=(e,t,r)=>{this._callbacks||(this._callbacks=new ip),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,t);let i={dispose:()=>{this._callbacks&&(this._callbacks.remove(e,t),i.dispose=n._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(r)&&r.push(i),i}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}};si.Emitter=Ha;Ha._noop=function(){}});var ja=w(ai=>{"use strict";d();Object.defineProperty(ai,"__esModule",{value:!0});ai.CancellationTokenSource=ai.CancellationToken=void 0;var zT=Cr(),OT=Ai(),op=Li(),sp;(function(n){n.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:op.Event.None}),n.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:op.Event.None});function e(t){let r=t;return r&&(r===n.None||r===n.Cancelled||OT.boolean(r.isCancellationRequested)&&!!r.onCancellationRequested)}n.is=e})(sp=ai.CancellationToken||(ai.CancellationToken={}));var AT=Object.freeze(function(n,e){let t=(0,zT.default)().timer.setTimeout(n.bind(e),0);return{dispose(){t.dispose()}}}),Ua=class{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?AT:(this._emitter||(this._emitter=new op.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}},ap=class{get token(){return this._token||(this._token=new Ua),this._token}cancel(){this._token?this._token.cancel():this._token=sp.Cancelled}dispose(){this._token?this._token instanceof Ua&&this._token.dispose():this._token=sp.None}};ai.CancellationTokenSource=ap});var Cy=w(qi=>{"use strict";d();Object.defineProperty(qi,"__esModule",{value:!0});qi.SharedArrayReceiverStrategy=qi.SharedArraySenderStrategy=void 0;var LT=ja(),as;(function(n){n.Continue=0,n.Cancelled=1})(as||(as={}));var lp=class{constructor(){this.buffers=new Map}enableCancellation(e){if(e.id===null)return;let t=new SharedArrayBuffer(4),r=new Int32Array(t,0,1);r[0]=as.Continue,this.buffers.set(e.id,t),e.$cancellationData=t}async sendCancellation(e,t){let r=this.buffers.get(t);if(r===void 0)return;let i=new Int32Array(r,0,1);Atomics.store(i,0,as.Cancelled)}cleanup(e){this.buffers.delete(e)}dispose(){this.buffers.clear()}};qi.SharedArraySenderStrategy=lp;var cp=class{constructor(e){this.data=new Int32Array(e,0,1)}get isCancellationRequested(){return Atomics.load(this.data,0)===as.Cancelled}get onCancellationRequested(){throw new Error("Cancellation over SharedArrayBuffer doesn't support cancellation events")}},dp=class{constructor(e){this.token=new cp(e)}cancel(){}dispose(){}},hp=class{constructor(){this.kind="request"}createCancellationTokenSource(e){let t=e.$cancellationData;return t===void 0?new LT.CancellationTokenSource:new dp(t)}};qi.SharedArrayReceiverStrategy=hp});var pp=w($a=>{"use strict";d();Object.defineProperty($a,"__esModule",{value:!0});$a.Semaphore=void 0;var qT=Cr(),up=class{constructor(e=1){if(e<=0)throw new Error("Capacity must be greater than 0");this._capacity=e,this._active=0,this._waiting=[]}lock(e){return new Promise((t,r)=>{this._waiting.push({thunk:e,resolve:t,reject:r}),this.runNext()})}get active(){return this._active}runNext(){this._waiting.length===0||this._active===this._capacity||(0,qT.default)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;let e=this._waiting.shift();if(this._active++,this._active>this._capacity)throw new Error("To many thunks active");try{let t=e.thunk();t instanceof Promise?t.then(r=>{this._active--,e.resolve(r),this.runNext()},r=>{this._active--,e.reject(r),this.runNext()}):(this._active--,e.resolve(t),this.runNext())}catch(t){this._active--,e.reject(t),this.runNext()}}};$a.Semaphore=up});var _y=w(Jn=>{"use strict";d();Object.defineProperty(Jn,"__esModule",{value:!0});Jn.ReadableStreamMessageReader=Jn.AbstractMessageReader=Jn.MessageReader=void 0;var fp=Cr(),Wi=Ai(),mp=Li(),WT=pp(),HT;(function(n){function e(t){let r=t;return r&&Wi.func(r.listen)&&Wi.func(r.dispose)&&Wi.func(r.onError)&&Wi.func(r.onClose)&&Wi.func(r.onPartialMessage)}n.is=e})(HT=Jn.MessageReader||(Jn.MessageReader={}));var Ba=class{constructor(){this.errorEmitter=new mp.Emitter,this.closeEmitter=new mp.Emitter,this.partialMessageEmitter=new mp.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e){this.errorEmitter.fire(this.asError(e))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(e){this.partialMessageEmitter.fire(e)}asError(e){return e instanceof Error?e:new Error(`Reader received error. Reason: ${Wi.string(e.message)?e.message:"unknown"}`)}};Jn.AbstractMessageReader=Ba;var gp;(function(n){function e(t){let r,i,o,s=new Map,a,l=new Map;if(t===void 0||typeof t=="string")r=t??"utf-8";else{if(r=t.charset??"utf-8",t.contentDecoder!==void 0&&(o=t.contentDecoder,s.set(o.name,o)),t.contentDecoders!==void 0)for(let c of t.contentDecoders)s.set(c.name,c);if(t.contentTypeDecoder!==void 0&&(a=t.contentTypeDecoder,l.set(a.name,a)),t.contentTypeDecoders!==void 0)for(let c of t.contentTypeDecoders)l.set(c.name,c)}return a===void 0&&(a=(0,fp.default)().applicationJson.decoder,l.set(a.name,a)),{charset:r,contentDecoder:o,contentDecoders:s,contentTypeDecoder:a,contentTypeDecoders:l}}n.fromOptions=e})(gp||(gp={}));var bp=class extends Ba{constructor(e,t){super(),this.readable=e,this.options=gp.fromOptions(t),this.buffer=(0,fp.default)().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0,this.readSemaphore=new WT.Semaphore(1)}set partialMessageTimeout(e){this._partialMessageTimeout=e}get partialMessageTimeout(){return this._partialMessageTimeout}listen(e){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=e;let t=this.readable.onData(r=>{this.onData(r)});return this.readable.onError(r=>this.fireError(r)),this.readable.onClose(()=>this.fireClose()),t}onData(e){for(this.buffer.append(e);;){if(this.nextMessageLength===-1){let r=this.buffer.tryReadHeaders(!0);if(!r)return;let i=r.get("content-length");if(!i){this.fireError(new Error("Header must provide a Content-Length property."));return}let o=parseInt(i);if(isNaN(o)){this.fireError(new Error("Content-Length value must be a number."));return}this.nextMessageLength=o}let t=this.buffer.tryReadBody(this.nextMessageLength);if(t===void 0){this.setPartialMessageTimer();return}this.clearPartialMessageTimer(),this.nextMessageLength=-1,this.readSemaphore.lock(async()=>{let r=this.options.contentDecoder!==void 0?await this.options.contentDecoder.decode(t):t,i=await this.options.contentTypeDecoder.decode(r,this.options);this.callback(i)}).catch(r=>{this.fireError(r)})}}clearPartialMessageTimer(){this.partialMessageTimer&&(this.partialMessageTimer.dispose(),this.partialMessageTimer=void 0)}setPartialMessageTimer(){this.clearPartialMessageTimer(),!(this._partialMessageTimeout<=0)&&(this.partialMessageTimer=(0,fp.default)().timer.setTimeout((e,t)=>{this.partialMessageTimer=void 0,e===this.messageToken&&(this.firePartialMessage({messageToken:e,waitingTime:t}),this.setPartialMessageTimer())},this._partialMessageTimeout,this.messageToken,this._partialMessageTimeout))}};Jn.ReadableStreamMessageReader=bp});var Dy=w(Xn=>{"use strict";d();Object.defineProperty(Xn,"__esModule",{value:!0});Xn.WriteableStreamMessageWriter=Xn.AbstractMessageWriter=Xn.MessageWriter=void 0;var Ty=Cr(),ls=Ai(),UT=pp(),Ry=Li(),jT="Content-Length: ",Ey=`\r
2
2
  `,$T;(function(n){function e(t){let r=t;return r&&ls.func(r.dispose)&&ls.func(r.onClose)&&ls.func(r.onError)&&ls.func(r.write)}n.is=e})($T=Xn.MessageWriter||(Xn.MessageWriter={}));var Va=class{constructor(){this.errorEmitter=new Ry.Emitter,this.closeEmitter=new Ry.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e,t,r){this.errorEmitter.fire([this.asError(e),t,r])}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}asError(e){return e instanceof Error?e:new Error(`Writer received error. Reason: ${ls.string(e.message)?e.message:"unknown"}`)}};Xn.AbstractMessageWriter=Va;var vp;(function(n){function e(t){return t===void 0||typeof t=="string"?{charset:t??"utf-8",contentTypeEncoder:(0,Ty.default)().applicationJson.encoder}:{charset:t.charset??"utf-8",contentEncoder:t.contentEncoder,contentTypeEncoder:t.contentTypeEncoder??(0,Ty.default)().applicationJson.encoder}}n.fromOptions=e})(vp||(vp={}));var yp=class extends Va{constructor(e,t){super(),this.writable=e,this.options=vp.fromOptions(t),this.errorCount=0,this.writeSemaphore=new UT.Semaphore(1),this.writable.onError(r=>this.fireError(r)),this.writable.onClose(()=>this.fireClose())}async write(e){return this.writeSemaphore.lock(async()=>this.options.contentTypeEncoder.encode(e,this.options).then(r=>this.options.contentEncoder!==void 0?this.options.contentEncoder.encode(r):r).then(r=>{let i=[];return i.push(jT,r.byteLength.toString(),Ey),i.push(Ey),this.doWrite(e,i,r)},r=>{throw this.fireError(r),r}))}async doWrite(e,t,r){try{return await this.writable.write(t.join(""),"ascii"),this.writable.write(r)}catch(i){return this.handleError(i,e),Promise.reject(i)}}handleError(e,t){this.errorCount++,this.fireError(e,t,this.errorCount)}end(){this.writable.end()}};Xn.WriteableStreamMessageWriter=yp});var Fy=w(Ga=>{"use strict";d();Object.defineProperty(Ga,"__esModule",{value:!0});Ga.AbstractMessageBuffer=void 0;var BT=13,VT=10,GT=`\r
3
3
  `,wp=class{constructor(e="utf-8"){this._encoding=e,this._chunks=[],this._totalLength=0}get encoding(){return this._encoding}append(e){let t=typeof e=="string"?this.fromString(e,this._encoding):e;this._chunks.push(t),this._totalLength+=t.byteLength}tryReadHeaders(e=!1){if(this._chunks.length===0)return;let t=0,r=0,i=0,o=0;e:for(;r<this._chunks.length;){let c=this._chunks[r];for(i=0;i<c.length;){switch(c[i]){case BT:switch(t){case 0:t=1;break;case 2:t=3;break;default:t=0}break;case VT:switch(t){case 1:t=2;break;case 3:t=4,i++;break e;default:t=0}break;default:t=0}i++}o+=c.byteLength,r++}if(t!==4)return;let s=this._read(o+i),a=new Map,l=this.toString(s,"ascii").split(GT);if(l.length<2)return a;for(let c=0;c<l.length-2;c++){let h=l[c],p=h.indexOf(":");if(p===-1)throw new Error("Message header must separate key and value using :");let f=h.substr(0,p),b=h.substr(p+1).trim();a.set(e?f.toLowerCase():f,b)}return a}tryReadBody(e){if(!(this._totalLength<e))return this._read(e)}get numberOfBytes(){return this._totalLength}_read(e){if(e===0)return this.emptyBuffer();if(e>this._totalLength)throw new Error("Cannot read so many bytes!");if(this._chunks[0].byteLength===e){let o=this._chunks[0];return this._chunks.shift(),this._totalLength-=e,this.asNative(o)}if(this._chunks[0].byteLength>e){let o=this._chunks[0],s=this.asNative(o,e);return this._chunks[0]=o.slice(e),this._totalLength-=e,s}let t=this.allocNative(e),r=0,i=0;for(;e>0;){let o=this._chunks[i];if(o.byteLength>e){let s=o.slice(0,e);t.set(s,r),r+=e,this._chunks[i]=o.slice(e),this._totalLength-=e,e-=e}else t.set(o,r),r+=o.byteLength,this._chunks.shift(),this._totalLength-=o.byteLength,e-=o.byteLength}return t}};Ga.AbstractMessageBuffer=wp});var Ay=w(U=>{"use strict";d();Object.defineProperty(U,"__esModule",{value:!0});U.createMessageConnection=U.ConnectionOptions=U.MessageStrategy=U.CancellationStrategy=U.CancellationSenderStrategy=U.CancellationReceiverStrategy=U.RequestCancellationReceiverStrategy=U.IdCancellationReceiverStrategy=U.ConnectionStrategy=U.ConnectionError=U.ConnectionErrors=U.LogTraceNotification=U.SetTraceNotification=U.TraceFormat=U.TraceValues=U.Trace=U.NullLogger=U.ProgressType=U.ProgressToken=void 0;var Py=Cr(),Pe=Ai(),J=Yu(),My=ep(),cs=Li(),Sp=ja(),hs;(function(n){n.type=new J.NotificationType("$/cancelRequest")})(hs||(hs={}));var Iy;(function(n){function e(t){return typeof t=="string"||typeof t=="number"}n.is=e})(Iy=U.ProgressToken||(U.ProgressToken={}));var ds;(function(n){n.type=new J.NotificationType("$/progress")})(ds||(ds={}));var xp=class{constructor(){}};U.ProgressType=xp;var kp;(function(n){function e(t){return Pe.func(t)}n.is=e})(kp||(kp={}));U.NullLogger=Object.freeze({error:()=>{},warn:()=>{},info:()=>{},log:()=>{}});var fe;(function(n){n[n.Off=0]="Off",n[n.Messages=1]="Messages",n[n.Compact=2]="Compact",n[n.Verbose=3]="Verbose"})(fe=U.Trace||(U.Trace={}));var KT;(function(n){n.Off="off",n.Messages="messages",n.Compact="compact",n.Verbose="verbose"})(KT=U.TraceValues||(U.TraceValues={}));(function(n){function e(r){if(!Pe.string(r))return n.Off;switch(r=r.toLowerCase(),r){case"off":return n.Off;case"messages":return n.Messages;case"compact":return n.Compact;case"verbose":return n.Verbose;default:return n.Off}}n.fromString=e;function t(r){switch(r){case n.Off:return"off";case n.Messages:return"messages";case n.Compact:return"compact";case n.Verbose:return"verbose";default:return"off"}}n.toString=t})(fe=U.Trace||(U.Trace={}));var an;(function(n){n.Text="text",n.JSON="json"})(an=U.TraceFormat||(U.TraceFormat={}));(function(n){function e(t){return Pe.string(t)?(t=t.toLowerCase(),t==="json"?n.JSON:n.Text):n.Text}n.fromString=e})(an=U.TraceFormat||(U.TraceFormat={}));var Ny;(function(n){n.type=new J.NotificationType("$/setTrace")})(Ny=U.SetTraceNotification||(U.SetTraceNotification={}));var Cp;(function(n){n.type=new J.NotificationType("$/logTrace")})(Cp=U.LogTraceNotification||(U.LogTraceNotification={}));var Ka;(function(n){n[n.Closed=1]="Closed",n[n.Disposed=2]="Disposed",n[n.AlreadyListening=3]="AlreadyListening"})(Ka=U.ConnectionErrors||(U.ConnectionErrors={}));var Hi=class n extends Error{constructor(e,t){super(t),this.code=e,Object.setPrototypeOf(this,n.prototype)}};U.ConnectionError=Hi;var zy;(function(n){function e(t){let r=t;return r&&Pe.func(r.cancelUndispatched)}n.is=e})(zy=U.ConnectionStrategy||(U.ConnectionStrategy={}));var Rp;(function(n){function e(t){let r=t;return r&&(r.kind===void 0||r.kind==="id")&&Pe.func(r.createCancellationTokenSource)&&(r.dispose===void 0||Pe.func(r.dispose))}n.is=e})(Rp=U.IdCancellationReceiverStrategy||(U.IdCancellationReceiverStrategy={}));var Oy;(function(n){function e(t){let r=t;return r&&r.kind==="request"&&Pe.func(r.createCancellationTokenSource)&&(r.dispose===void 0||Pe.func(r.dispose))}n.is=e})(Oy=U.RequestCancellationReceiverStrategy||(U.RequestCancellationReceiverStrategy={}));var _p;(function(n){n.Message=Object.freeze({createCancellationTokenSource(t){return new Sp.CancellationTokenSource}});function e(t){return Rp.is(t)||Oy.is(t)}n.is=e})(_p=U.CancellationReceiverStrategy||(U.CancellationReceiverStrategy={}));var Tp;(function(n){n.Message=Object.freeze({sendCancellation(t,r){return t.sendNotification(hs.type,{id:r})},cleanup(t){}});function e(t){let r=t;return r&&Pe.func(r.sendCancellation)&&Pe.func(r.cleanup)}n.is=e})(Tp=U.CancellationSenderStrategy||(U.CancellationSenderStrategy={}));var Ep;(function(n){n.Message=Object.freeze({receiver:_p.Message,sender:Tp.Message});function e(t){let r=t;return r&&_p.is(r.receiver)&&Tp.is(r.sender)}n.is=e})(Ep=U.CancellationStrategy||(U.CancellationStrategy={}));var Dp;(function(n){function e(t){let r=t;return r&&Pe.func(r.handleMessage)}n.is=e})(Dp=U.MessageStrategy||(U.MessageStrategy={}));var JT;(function(n){function e(t){let r=t;return r&&(Ep.is(r.cancellationStrategy)||zy.is(r.connectionStrategy)||Dp.is(r.messageStrategy))}n.is=e})(JT=U.ConnectionOptions||(U.ConnectionOptions={}));var ln;(function(n){n[n.New=1]="New",n[n.Listening=2]="Listening",n[n.Closed=3]="Closed",n[n.Disposed=4]="Disposed"})(ln||(ln={}));function XT(n,e,t,r){let i=t!==void 0?t:U.NullLogger,o=0,s=0,a=0,l="2.0",c,h=new Map,p,f=new Map,b=new Map,C,D=new My.LinkedMap,P=new Map,A=new Set,S=new Map,y=fe.Off,R=an.Text,N,q=ln.New,Se=new cs.Emitter,De=new cs.Emitter,Wt=new cs.Emitter,Dt=new cs.Emitter,kt=new cs.Emitter,Ct=r&&r.cancellationStrategy?r.cancellationStrategy:Ep.Message;function wr(v){if(v===null)throw new Error("Can't send requests with id null since the response can't be correlated.");return"req-"+v.toString()}function ni(v){return v===null?"res-unknown-"+(++a).toString():"res-"+v.toString()}function Ht(){return"not-"+(++s).toString()}function Ft(v,E){J.Message.isRequest(E)?v.set(wr(E.id),E):J.Message.isResponse(E)?v.set(ni(E.id),E):v.set(Ht(),E)}function Sr(v){}function Ut(){return q===ln.Listening}function Rn(){return q===ln.Closed}function pt(){return q===ln.Disposed}function xr(){(q===ln.New||q===ln.Listening)&&(q=ln.Closed,De.fire(void 0))}function Zo(v){Se.fire([v,void 0,void 0])}function Mi(v){Se.fire(v)}n.onClose(xr),n.onError(Zo),e.onClose(xr),e.onError(Mi);function Ii(){C||D.size===0||(C=(0,Py.default)().timer.setImmediate(()=>{C=void 0,ku()}))}function Ni(v){J.Message.isRequest(v)?Cu(v):J.Message.isNotification(v)?Tu(v):J.Message.isResponse(v)?_u(v):Da(v)}function ku(){if(D.size===0)return;let v=D.shift();try{let E=r?.messageStrategy;Dp.is(E)?E.handleMessage(v,Ni):Ni(v)}finally{Ii()}}let ri=v=>{try{if(J.Message.isNotification(v)&&v.method===hs.type.method){let E=v.params.id,I=wr(E),H=D.get(I);if(J.Message.isRequest(H)){let ge=r?.connectionStrategy,Ne=ge&&ge.cancelUndispatched?ge.cancelUndispatched(H,Sr):void 0;if(Ne&&(Ne.error!==void 0||Ne.result!==void 0)){D.delete(I),S.delete(E),Ne.id=H.id,G(Ne,v.method,Date.now()),e.write(Ne).catch(()=>i.error("Sending response for canceled message failed."));return}}let xe=S.get(E);if(xe!==void 0){xe.cancel(),_t(v);return}else A.add(E)}Ft(D,v)}finally{Ii()}};function Cu(v){if(pt())return;function E(ce,Fe,me){let Be={jsonrpc:l,id:v.id};ce instanceof J.ResponseError?Be.error=ce.toJson():Be.result=ce===void 0?null:ce,G(Be,Fe,me),e.write(Be).catch(()=>i.error("Sending response failed."))}function I(ce,Fe,me){let Be={jsonrpc:l,id:v.id,error:ce.toJson()};G(Be,Fe,me),e.write(Be).catch(()=>i.error("Sending response failed."))}function H(ce,Fe,me){ce===void 0&&(ce=null);let Be={jsonrpc:l,id:v.id,result:ce};G(Be,Fe,me),e.write(Be).catch(()=>i.error("Sending response failed."))}Re(v);let xe=h.get(v.method),ge,Ne;xe&&(ge=xe.type,Ne=xe.handler);let Oe=Date.now();if(Ne||c){let ce=v.id??String(Date.now()),Fe=Rp.is(Ct.receiver)?Ct.receiver.createCancellationTokenSource(ce):Ct.receiver.createCancellationTokenSource(v);v.id!==null&&A.has(v.id)&&Fe.cancel(),v.id!==null&&S.set(ce,Fe);try{let me;if(Ne)if(v.params===void 0){if(ge!==void 0&&ge.numberOfParams!==0){I(new J.ResponseError(J.ErrorCodes.InvalidParams,`Request ${v.method} defines ${ge.numberOfParams} params but received none.`),v.method,Oe);return}me=Ne(Fe.token)}else if(Array.isArray(v.params)){if(ge!==void 0&&ge.parameterStructures===J.ParameterStructures.byName){I(new J.ResponseError(J.ErrorCodes.InvalidParams,`Request ${v.method} defines parameters by name but received parameters by position`),v.method,Oe);return}me=Ne(...v.params,Fe.token)}else{if(ge!==void 0&&ge.parameterStructures===J.ParameterStructures.byPosition){I(new J.ResponseError(J.ErrorCodes.InvalidParams,`Request ${v.method} defines parameters by position but received parameters by name`),v.method,Oe);return}me=Ne(v.params,Fe.token)}else c&&(me=c(v.method,v.params,Fe.token));let Be=me;me?Be.then?Be.then(mt=>{S.delete(ce),E(mt,v.method,Oe)},mt=>{S.delete(ce),mt instanceof J.ResponseError?I(mt,v.method,Oe):mt&&Pe.string(mt.message)?I(new J.ResponseError(J.ErrorCodes.InternalError,`Request ${v.method} failed with message: ${mt.message}`),v.method,Oe):I(new J.ResponseError(J.ErrorCodes.InternalError,`Request ${v.method} failed unexpectedly without providing any details.`),v.method,Oe)}):(S.delete(ce),E(me,v.method,Oe)):(S.delete(ce),H(me,v.method,Oe))}catch(me){S.delete(ce),me instanceof J.ResponseError?E(me,v.method,Oe):me&&Pe.string(me.message)?I(new J.ResponseError(J.ErrorCodes.InternalError,`Request ${v.method} failed with message: ${me.message}`),v.method,Oe):I(new J.ResponseError(J.ErrorCodes.InternalError,`Request ${v.method} failed unexpectedly without providing any details.`),v.method,Oe)}}else I(new J.ResponseError(J.ErrorCodes.MethodNotFound,`Unhandled method ${v.method}`),v.method,Oe)}function _u(v){if(!pt())if(v.id===null)v.error?i.error(`Received response message without id: Error is:
4
4
  ${JSON.stringify(v.error,void 0,4)}`):i.error("Received response message without id. No further error information provided.");else{let E=v.id,I=P.get(E);if(yT(v,I),I!==void 0){P.delete(E);try{if(v.error){let H=v.error;I.reject(new J.ResponseError(H.code,H.message,H.data))}else if(v.result!==void 0)I.resolve(v.result);else throw new Error("Should never happen.")}catch(H){H.message?i.error(`Response handler '${I.method}' failed with message: ${H.message}`):i.error(`Response handler '${I.method}' failed unexpectedly.`)}}}}function Tu(v){if(pt())return;let E,I;if(v.method===hs.type.method){let H=v.params.id;A.delete(H),_t(v);return}else{let H=f.get(v.method);H&&(I=H.handler,E=H.type)}if(I||p)try{if(_t(v),I)if(v.params===void 0)E!==void 0&&E.numberOfParams!==0&&E.parameterStructures!==J.ParameterStructures.byName&&i.error(`Notification ${v.method} defines ${E.numberOfParams} params but received none.`),I();else if(Array.isArray(v.params)){let H=v.params;v.method===ds.type.method&&H.length===2&&Iy.is(H[0])?I({token:H[0],value:H[1]}):(E!==void 0&&(E.parameterStructures===J.ParameterStructures.byName&&i.error(`Notification ${v.method} defines parameters by name but received parameters by position`),E.numberOfParams!==v.params.length&&i.error(`Notification ${v.method} defines ${E.numberOfParams} params but received ${H.length} arguments`)),I(...H))}else E!==void 0&&E.parameterStructures===J.ParameterStructures.byPosition&&i.error(`Notification ${v.method} defines parameters by position but received parameters by name`),I(v.params);else p&&p(v.method,v.params)}catch(H){H.message?i.error(`Notification handler '${v.method}' failed with message: ${H.message}`):i.error(`Notification handler '${v.method}' failed unexpectedly.`)}else Wt.fire(v)}function Da(v){if(!v){i.error("Received empty message.");return}i.error(`Received message which is neither a response nor a notification message: