shopify 5.0.2 → 5.1.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 (526) hide show
  1. package/dist/analytics-QFDTQYPM.js +1 -0
  2. package/dist/analytics-XADBBHOH.js +1 -0
  3. package/dist/bootstrap.js +1 -1
  4. package/dist/chunk-24Q6X53V.js +1 -0
  5. package/dist/{chunk-LEHBZKK3.js → chunk-25MYHE4W.js} +1 -1
  6. package/dist/{chunk-TODZ3TJR.js → chunk-27JT4NA4.js} +1 -1
  7. package/dist/chunk-2BYW3BYX.js +1 -0
  8. package/dist/chunk-2KFYIYLI.js +1 -0
  9. package/dist/{chunk-D2KIGKBI.js → chunk-2KUM2RU4.js} +60 -60
  10. package/dist/chunk-2PD7TNFS.js +275 -0
  11. package/dist/{chunk-64G5TGFF.js → chunk-3C72S6LO.js} +1 -1
  12. package/dist/chunk-3FZ4LE6A.js +10 -0
  13. package/dist/{chunk-3MYDSQHF.js → chunk-3GD5ESWN.js} +1 -1
  14. package/dist/chunk-3KGN6N7E.js +1 -0
  15. package/dist/{chunk-KNWT7JLL.js → chunk-3MZ7ELHS.js} +2 -2
  16. package/dist/{chunk-PF53E2DC.js → chunk-3PS52ZT4.js} +1 -1
  17. package/dist/chunk-3PYDIBTX.js +1 -0
  18. package/dist/chunk-3Z75BVGJ.js +1 -0
  19. package/dist/chunk-4FWPOGPQ.js +1 -0
  20. package/dist/chunk-4IP37MBX.js +1 -0
  21. package/dist/chunk-4NFX7YCT.js +1 -0
  22. package/dist/chunk-4TCXPHKN.js +1 -0
  23. package/dist/chunk-4WBWZIN5.js +6 -0
  24. package/dist/chunk-5534MHZW.js +97 -0
  25. package/dist/{chunk-UKWIWCOH.js → chunk-5C6CXU74.js} +1 -1
  26. package/dist/{chunk-QEKGGTMN.js → chunk-5HOZDOJ7.js} +1 -1
  27. package/dist/{chunk-ER6C5WS3.js → chunk-5PSQFQL6.js} +1 -1
  28. package/dist/chunk-5T3ZT6CC.js +1 -0
  29. package/dist/chunk-62NW4EPI.js +17 -0
  30. package/dist/chunk-65NCQJYR.js +1 -0
  31. package/dist/{chunk-IHXGZW42.js → chunk-6BYHL3DS.js} +1 -1
  32. package/dist/chunk-6I7DT7QR.js +3 -0
  33. package/dist/chunk-6IMTMS2S.js +3 -0
  34. package/dist/chunk-7A77JCED.js +11 -0
  35. package/dist/chunk-7ART2IKU.js +1 -0
  36. package/dist/{chunk-I4CEH7AK.js → chunk-7BPT5V24.js} +2 -2
  37. package/dist/{chunk-Z2WAW6MM.js → chunk-7CT3NIXI.js} +1 -1
  38. package/dist/chunk-7DBKSSDK.js +1 -0
  39. package/dist/chunk-7HECBXSP.js +1 -0
  40. package/dist/chunk-7KID5BIR.js +4 -0
  41. package/dist/{chunk-2L6AN3QA.js → chunk-7N7KRZOM.js} +1 -1
  42. package/dist/{chunk-W37IFK3P.js → chunk-7NRHZG5Y.js} +102 -102
  43. package/dist/chunk-7PHDEILV.js +1 -0
  44. package/dist/chunk-A2NSORBM.js +2296 -0
  45. package/dist/chunk-A54TADAZ.js +1 -0
  46. package/dist/{chunk-YTUUU33R.js → chunk-AE3IQG7S.js} +1 -1
  47. package/dist/chunk-AGTUAQHX.js +4 -0
  48. package/dist/chunk-AHYI27QL.js +11 -0
  49. package/dist/chunk-ALINJ6J2.js +1 -0
  50. package/dist/chunk-AMVWKHNY.js +1 -0
  51. package/dist/{chunk-NVKJ7ZLP.js → chunk-ASKBYEO7.js} +1 -1
  52. package/dist/{chunk-62EOM3Y2.js → chunk-AVJJGQOP.js} +1 -1
  53. package/dist/{chunk-NXAEBGMO.js → chunk-AY3AAV77.js} +1 -1
  54. package/dist/{chunk-F3CK3EJJ.js → chunk-BFAOTQGH.js} +1 -1
  55. package/dist/{chunk-H6GNKWYM.js → chunk-BPKQA2EO.js} +1 -1
  56. package/dist/{chunk-WESTVWWD.js → chunk-C2HJEGTS.js} +1 -1
  57. package/dist/chunk-C72QNK6O.js +4 -0
  58. package/dist/chunk-CDSDQTNB.js +16 -0
  59. package/dist/chunk-CEQGOCKX.js +1 -0
  60. package/dist/{chunk-WCC52MR2.js → chunk-CIGWIKOW.js} +1 -1
  61. package/dist/chunk-CQAD5WML.js +1 -0
  62. package/dist/chunk-CRQQCT7F.js +1 -0
  63. package/dist/chunk-CZNUBAAG.js +3 -0
  64. package/dist/{chunk-ISKQQXLZ.js → chunk-D7IMC2G4.js} +1 -1
  65. package/dist/{chunk-6ES4KRFW.js → chunk-DC7ITY6T.js} +1 -1
  66. package/dist/{chunk-7GHSE7SG.js → chunk-DDRP6QTC.js} +1 -1
  67. package/dist/{chunk-SLY27GDC.js → chunk-DDZYIC76.js} +2 -2
  68. package/dist/chunk-DGIIUQH3.js +1 -0
  69. package/dist/{chunk-3KM5ZOW2.js → chunk-DMOLPSXF.js} +1 -1
  70. package/dist/{chunk-LHXFTFFM.js → chunk-DOLVBTCB.js} +1 -1
  71. package/dist/{chunk-WBVS5NBV.js → chunk-DTKGI43P.js} +2 -2
  72. package/dist/{chunk-2WJOTJOD.js → chunk-DVD7I2TX.js} +2 -2
  73. package/dist/chunk-DVFVO6ZE.js +2 -0
  74. package/dist/{chunk-3XRI3D44.js → chunk-DXEMSLI6.js} +1 -1
  75. package/dist/chunk-EDWIWZWM.js +15 -0
  76. package/dist/chunk-ELR6AZT4.js +9 -0
  77. package/dist/chunk-EVQPYZ7F.js +5 -0
  78. package/dist/chunk-F5QKMDP3.js +1 -0
  79. package/dist/{chunk-URXM5A2K.js → chunk-F6IQWX2F.js} +1 -1
  80. package/dist/{chunk-SACNUF4I.js → chunk-FAVPTYIR.js} +1 -1
  81. package/dist/{chunk-Q7BOSHWX.js → chunk-FDSNRKGQ.js} +1 -1
  82. package/dist/{chunk-Q4JYAUVL.js → chunk-FHKK3QU7.js} +1 -1
  83. package/dist/chunk-FKKJQGYX.js +7 -0
  84. package/dist/chunk-FQLXQ7WN.js +16 -0
  85. package/dist/{chunk-6PUU6ZNQ.js → chunk-FRWQJAW2.js} +1 -1
  86. package/dist/{chunk-J5ERDFIC.js → chunk-FU7PYW7H.js} +1 -1
  87. package/dist/{chunk-ESFCYB46.js → chunk-FYQE5E6U.js} +1 -1
  88. package/dist/chunk-G3EWGBXR.js +1 -0
  89. package/dist/chunk-G3RNO2TC.js +1 -0
  90. package/dist/{chunk-35XFNKNB.js → chunk-GGCP2TIK.js} +1 -1
  91. package/dist/chunk-GSFWBFFH.js +1 -0
  92. package/dist/{chunk-ZRI3SSLG.js → chunk-H2KGP2FM.js} +2 -2
  93. package/dist/{chunk-GW7YIJPJ.js → chunk-H4K3F7PP.js} +1 -1
  94. package/dist/chunk-HGZ2HRPO.js +13 -0
  95. package/dist/chunk-HMPRWNGG.js +203 -0
  96. package/dist/chunk-HP4QYSBQ.js +1 -0
  97. package/dist/{chunk-RPCIFYCY.js → chunk-HSTZV6H7.js} +2 -2
  98. package/dist/{chunk-N57Y7THE.js → chunk-HVUMVDUG.js} +1 -1
  99. package/dist/{chunk-XWSWXQCC.js → chunk-HYCNYUHW.js} +1 -1
  100. package/dist/{chunk-CXI3RHPW.js → chunk-I3WRA2LH.js} +1 -1
  101. package/dist/{chunk-UUAKOX7E.js → chunk-IRLYC626.js} +2 -2
  102. package/dist/chunk-IWNFPBH2.js +33 -0
  103. package/dist/{chunk-C3RFAKWR.js → chunk-JALDNBTU.js} +1 -1
  104. package/dist/{chunk-QDCLL5OI.js → chunk-JC37YZ4I.js} +1 -1
  105. package/dist/{chunk-QF5WKTPD.js → chunk-JG4FAT2T.js} +1 -1
  106. package/dist/chunk-JGLLABZR.js +8 -0
  107. package/dist/chunk-JIY6XWSC.js +1 -0
  108. package/dist/{chunk-3ODQKAEA.js → chunk-JIYCZXK5.js} +1 -1
  109. package/dist/chunk-JMSAHCBU.js +35 -0
  110. package/dist/{chunk-KZRLZWOU.js → chunk-JNSVKDBY.js} +1 -1
  111. package/dist/chunk-JQU2BJDH.js +3 -0
  112. package/dist/chunk-JVY6CCLE.js +3 -0
  113. package/dist/{chunk-BAHIL37I.js → chunk-K4QJEQI4.js} +1 -1
  114. package/dist/chunk-KCAWHJGF.js +1 -0
  115. package/dist/{chunk-YV2TP44L.js → chunk-KFO2JNF5.js} +1 -1
  116. package/dist/chunk-KFR7HWCG.js +9 -0
  117. package/dist/{chunk-MEYVUHQH.js → chunk-KHZF73BL.js} +1 -1
  118. package/dist/{chunk-LGXI7EGM.js → chunk-KM4LE7K4.js} +2 -2
  119. package/dist/{chunk-IILLQOUC.js → chunk-L2PUDV7Y.js} +1 -1
  120. package/dist/chunk-LFBFPK22.js +1 -0
  121. package/dist/{chunk-BN7ZXAZJ.js → chunk-LG3KEHGD.js} +2 -2
  122. package/dist/chunk-LGDWE3H3.js +1 -0
  123. package/dist/chunk-LPPEAMI6.js +1 -0
  124. package/dist/chunk-LXIWMYM4.js +1 -0
  125. package/dist/chunk-MGWCXTGD.js +1 -0
  126. package/dist/chunk-MGX7UG44.js +1 -0
  127. package/dist/chunk-MKFRKNHF.js +3 -0
  128. package/dist/chunk-MTT6EAQO.js +1 -0
  129. package/dist/{chunk-SIL6HPMK.js → chunk-MU7IVBGI.js} +2 -2
  130. package/dist/{chunk-QEVTBD33.js → chunk-MYMBHVC4.js} +1 -1
  131. package/dist/chunk-MZDBH4XV.js +4 -0
  132. package/dist/{chunk-Q5IC3IYY.js → chunk-NUBJ2HK7.js} +1 -1
  133. package/dist/{chunk-3Z3MADXZ.js → chunk-NY5N4ANL.js} +1 -1
  134. package/dist/{chunk-WRZWHT6M.js → chunk-NYMKGE3J.js} +1 -1
  135. package/dist/{chunk-CX5CC6P5.js → chunk-O472FAYX.js} +1 -1
  136. package/dist/chunk-O7HZ3EIP.js +1 -0
  137. package/dist/chunk-OJOF6IYG.js +9 -0
  138. package/dist/{chunk-UXVXVI6O.js → chunk-ONZULPQH.js} +68 -66
  139. package/dist/chunk-ORMXPSJM.js +1 -0
  140. package/dist/chunk-ORYEDUKM.js +5 -0
  141. package/dist/{chunk-T4XJKM6B.js → chunk-OTMYJWIP.js} +1 -1
  142. package/dist/chunk-OVJVFB5E.js +20 -0
  143. package/dist/chunk-OWQEFORZ.js +1 -0
  144. package/dist/{chunk-UBP3LQFY.js → chunk-OXPEBT4I.js} +2 -2
  145. package/dist/chunk-OXZR2MB4.js +6 -0
  146. package/dist/chunk-OY5M52EF.js +6 -0
  147. package/dist/{chunk-2A2JSAAA.js → chunk-PJZZZNWR.js} +1 -1
  148. package/dist/chunk-Q2LQJYRK.js +16 -0
  149. package/dist/chunk-QBRRFFMZ.js +1 -0
  150. package/dist/{chunk-AQKWPRZE.js → chunk-QCLE5REL.js} +2 -2
  151. package/dist/{chunk-43R5VGKT.js → chunk-QGQWVA7N.js} +1 -1
  152. package/dist/chunk-QKPAB245.js +1 -0
  153. package/dist/chunk-QUPZOBTB.js +1 -0
  154. package/dist/chunk-R4E2E4NN.js +1 -0
  155. package/dist/{chunk-CGVROSPS.js → chunk-R6US7F33.js} +1 -1
  156. package/dist/chunk-RKNVTEO3.js +5 -0
  157. package/dist/{chunk-7CCTPBCT.js → chunk-RLOEI6VE.js} +1 -1
  158. package/dist/chunk-RSZAAN37.js +1 -0
  159. package/dist/{chunk-WBJ6ZHYH.js → chunk-S3RROJGG.js} +37 -37
  160. package/dist/chunk-S4KNPCW3.js +81 -0
  161. package/dist/{chunk-26PWHH3B.js → chunk-SBN3ILXO.js} +1 -1
  162. package/dist/chunk-SCDGLREP.js +1 -0
  163. package/dist/chunk-SHOMIS6Q.js +2 -0
  164. package/dist/chunk-SN3PMWUF.js +6 -0
  165. package/dist/chunk-SODCXZ5U.js +1 -0
  166. package/dist/chunk-SPJM7RTD.js +1 -0
  167. package/dist/chunk-SQL67BKI.js +5 -0
  168. package/dist/{chunk-AQ6EVL73.js → chunk-SURFUFAZ.js} +1 -1
  169. package/dist/{chunk-SNH4XZ6E.js → chunk-SVQDMZJO.js} +1 -1
  170. package/dist/chunk-T4ZOTYOY.js +1 -0
  171. package/dist/chunk-T6C4WC3Z.js +2 -0
  172. package/dist/chunk-TD6JBHUS.js +1 -0
  173. package/dist/chunk-TIM4CIXZ.js +22 -0
  174. package/dist/{chunk-B2O3ANRZ.js → chunk-TP7CTMMT.js} +1 -1
  175. package/dist/chunk-TSPJAMYB.js +1 -0
  176. package/dist/chunk-TSVEV2UD.js +26 -0
  177. package/dist/{chunk-ZBL7XMJ6.js → chunk-TTAT62N3.js} +2 -2
  178. package/dist/{chunk-S5P7KWY4.js → chunk-TUSS6PXB.js} +1 -1
  179. package/dist/chunk-TXP6KFWO.js +5 -0
  180. package/dist/chunk-TZHVCMZN.js +6 -0
  181. package/dist/chunk-UC4TOM36.js +3 -0
  182. package/dist/{chunk-RPVZ2JON.js → chunk-UFY4L5KQ.js} +1 -1
  183. package/dist/chunk-UU6UQ2QY.js +1 -0
  184. package/dist/chunk-V4FC72R6.js +1 -0
  185. package/dist/chunk-VA2S7W7H.js +10 -0
  186. package/dist/chunk-VE3IIC7H.js +1 -0
  187. package/dist/{chunk-PTSCGSQV.js → chunk-VJG7VXFU.js} +2 -2
  188. package/dist/chunk-VQSRU5XL.js +4 -0
  189. package/dist/chunk-VRIFLMA3.js +70 -0
  190. package/dist/chunk-WBJFTCEJ.js +1 -0
  191. package/dist/chunk-WBPP6PO7.js +31 -0
  192. package/dist/chunk-WE5KY6T6.js +1 -0
  193. package/dist/chunk-WFPVT2IY.js +1 -0
  194. package/dist/{chunk-PLSS456F.js → chunk-WLYXBQ2M.js} +1 -1
  195. package/dist/chunk-WNVOEE6T.js +7 -0
  196. package/dist/chunk-WPDJVUTY.js +47 -0
  197. package/dist/chunk-WWCYEZUU.js +1 -0
  198. package/dist/chunk-WWVDZ3GC.js +3 -0
  199. package/dist/{chunk-4KECSZTL.js → chunk-WZBZ7FWP.js} +2 -2
  200. package/dist/chunk-XEZPN5TR.js +22 -0
  201. package/dist/{chunk-QW52RPAU.js → chunk-XLMKHTJ5.js} +1 -1
  202. package/dist/chunk-XRNBCV2B.js +1 -0
  203. package/dist/{chunk-67L7FIB6.js → chunk-XWLNCBAG.js} +1 -1
  204. package/dist/chunk-YF4AXKM4.js +1 -0
  205. package/dist/chunk-YKDRUAY3.js +857 -0
  206. package/dist/{chunk-YSWVYPWR.js → chunk-YNFQBYSL.js} +1 -1
  207. package/dist/{chunk-TFPW2VGN.js → chunk-YNZLLZU2.js} +1 -1
  208. package/dist/chunk-YOYPYB4H.js +1 -0
  209. package/dist/{chunk-HF4NDEX3.js → chunk-YR4J46US.js} +1 -1
  210. package/dist/chunk-YTL45RXR.js +103 -0
  211. package/dist/chunk-YVPB7OT6.js +6 -0
  212. package/dist/chunk-YYWSHRO2.js +89 -0
  213. package/dist/{chunk-DZKFP6H2.js → chunk-Z5QEXS6F.js} +1 -1
  214. package/dist/chunk-Z5WFRYVQ.js +6 -0
  215. package/dist/{chunk-PWAT52M4.js → chunk-Z6ZRS256.js} +1 -1
  216. package/dist/chunk-ZMOW2YZ4.js +18 -0
  217. package/dist/chunk-ZMU4EYXT.js +1 -0
  218. package/dist/{chunk-ACA2BGAD.js → chunk-ZNEPRGFY.js} +1 -1
  219. package/dist/chunk-ZXZWMXXK.js +7 -0
  220. package/dist/cli/commands/app/build.js +1 -1
  221. package/dist/cli/commands/app/bulk/cancel.js +1 -1
  222. package/dist/cli/commands/app/bulk/execute.js +1 -1
  223. package/dist/cli/commands/app/bulk/status.js +1 -1
  224. package/dist/cli/commands/app/config/link.js +1 -1
  225. package/dist/cli/commands/app/config/pull.js +1 -1
  226. package/dist/cli/commands/app/config/use.js +1 -1
  227. package/dist/cli/commands/app/config/validate.js +1 -1
  228. package/dist/cli/commands/app/demo/watcher.js +1 -1
  229. package/dist/cli/commands/app/deploy.js +1 -1
  230. package/dist/cli/commands/app/dev/clean.js +1 -1
  231. package/dist/cli/commands/app/dev.js +1 -1
  232. package/dist/cli/commands/app/env/pull.js +1 -1
  233. package/dist/cli/commands/app/env/show.js +1 -1
  234. package/dist/cli/commands/app/execute.js +1 -1
  235. package/dist/cli/commands/app/function/build.js +1 -1
  236. package/dist/cli/commands/app/function/info.js +1 -1
  237. package/dist/cli/commands/app/function/replay.js +1 -1
  238. package/dist/cli/commands/app/function/run.js +1 -1
  239. package/dist/cli/commands/app/function/schema.js +1 -1
  240. package/dist/cli/commands/app/function/typegen.js +1 -1
  241. package/dist/cli/commands/app/generate/extension.js +1 -1
  242. package/dist/cli/commands/app/graphiql.js +1 -1
  243. package/dist/cli/commands/app/import/channel-config.js +1 -1
  244. package/dist/cli/commands/app/import/custom-data-definitions.js +1 -1
  245. package/dist/cli/commands/app/import/dashboard-extensions.js +1 -1
  246. package/dist/cli/commands/app/import-custom-data-definitions.js +1 -1
  247. package/dist/cli/commands/app/import-extensions.js +1 -1
  248. package/dist/cli/commands/app/info.js +1 -1
  249. package/dist/cli/commands/app/init.js +1 -1
  250. package/dist/cli/commands/app/logs-next.js +1 -0
  251. package/dist/cli/commands/app/logs.js +1 -1
  252. package/dist/cli/commands/app/release.js +1 -1
  253. package/dist/cli/commands/app/security/check.js +1 -1
  254. package/dist/cli/commands/app/security/clean.js +1 -1
  255. package/dist/cli/commands/app/security/instructions.js +1 -1
  256. package/dist/cli/commands/app/security/record.js +1 -1
  257. package/dist/cli/commands/app/security/review.js +1 -1
  258. package/dist/cli/commands/app/subscription-migrations/cancel.js +1 -1
  259. package/dist/cli/commands/app/subscription-migrations/list.js +1 -1
  260. package/dist/cli/commands/app/subscription-migrations/schedule.js +1 -1
  261. package/dist/cli/commands/app/subscription-migrations/status.js +1 -1
  262. package/dist/cli/commands/app/subscription-migrations/unschedule.js +1 -1
  263. package/dist/cli/commands/app/versions/list.js +1 -1
  264. package/dist/cli/commands/app/webhook/trigger.js +1 -1
  265. package/dist/cli/commands/auth/login.d.ts +10 -10
  266. package/dist/cli/commands/auth/login.js +1 -1
  267. package/dist/cli/commands/auth/logout.d.ts +7 -7
  268. package/dist/cli/commands/auth/logout.js +1 -1
  269. package/dist/cli/commands/cache/clear.js +1 -1
  270. package/dist/cli/commands/config/autoupgrade/off.d.ts +7 -7
  271. package/dist/cli/commands/config/autoupgrade/off.js +1 -1
  272. package/dist/cli/commands/config/autoupgrade/on.d.ts +7 -7
  273. package/dist/cli/commands/config/autoupgrade/on.js +1 -1
  274. package/dist/cli/commands/config/autoupgrade/status.d.ts +7 -7
  275. package/dist/cli/commands/config/autoupgrade/status.js +1 -1
  276. package/dist/cli/commands/debug/command-flags.js +1 -1
  277. package/dist/cli/commands/doc/fetch.d.ts +21 -21
  278. package/dist/cli/commands/doc/fetch.js +1 -1
  279. package/dist/cli/commands/doc/search.d.ts +23 -23
  280. package/dist/cli/commands/doc/search.js +1 -1
  281. package/dist/cli/commands/docs/generate.js +1 -1
  282. package/dist/cli/commands/doctor-release/doctor-release.js +1 -1
  283. package/dist/cli/commands/doctor-release/theme/index.js +1 -1
  284. package/dist/cli/commands/help.d.ts +90 -90
  285. package/dist/cli/commands/help.js +1 -1
  286. package/dist/cli/commands/kitchen-sink/async.js +1 -1
  287. package/dist/cli/commands/kitchen-sink/index.js +1 -1
  288. package/dist/cli/commands/kitchen-sink/prompts.js +1 -1
  289. package/dist/cli/commands/kitchen-sink/static.js +1 -1
  290. package/dist/cli/commands/notifications/generate.js +1 -1
  291. package/dist/cli/commands/notifications/list.js +1 -1
  292. package/dist/cli/commands/organization/list.js +1 -1
  293. package/dist/cli/commands/search.d.ts +7 -7
  294. package/dist/cli/commands/search.js +1 -1
  295. package/dist/cli/commands/send-analytics.js +1 -1
  296. package/dist/cli/commands/theme/check.js +1 -1
  297. package/dist/cli/commands/theme/console.js +1 -1
  298. package/dist/cli/commands/theme/delete.js +1 -1
  299. package/dist/cli/commands/theme/dev.js +1 -1
  300. package/dist/cli/commands/theme/duplicate.js +1 -1
  301. package/dist/cli/commands/theme/info.js +1 -1
  302. package/dist/cli/commands/theme/init.js +1 -1
  303. package/dist/cli/commands/theme/language-server.js +1 -1
  304. package/dist/cli/commands/theme/list.js +1 -1
  305. package/dist/cli/commands/theme/metafields/pull.js +1 -1
  306. package/dist/cli/commands/theme/open.js +1 -1
  307. package/dist/cli/commands/theme/package.js +1 -1
  308. package/dist/cli/commands/theme/preview.js +1 -1
  309. package/dist/cli/commands/theme/profile.js +1 -1
  310. package/dist/cli/commands/theme/publish.js +1 -1
  311. package/dist/cli/commands/theme/pull.js +1 -1
  312. package/dist/cli/commands/theme/push.js +1 -1
  313. package/dist/cli/commands/theme/rename.js +1 -1
  314. package/dist/cli/commands/theme/share.js +1 -1
  315. package/dist/cli/commands/upgrade.d.ts +24 -24
  316. package/dist/cli/commands/upgrade.js +1 -1
  317. package/dist/cli/commands/version.d.ts +7 -7
  318. package/dist/cli/commands/version.js +1 -1
  319. package/dist/cli/help.js +1 -1
  320. package/dist/cli-version-check-V25AVSZ6.js +1 -0
  321. package/dist/{command-event-context-LFUZ7UCA.js → command-event-context-ILIANB5Q.js} +1 -1
  322. package/dist/command-json-schema-C5UZXP2W.js +1 -0
  323. package/dist/command-registry.js +1 -1
  324. package/dist/conf-store-OCGEEV4U.js +1 -0
  325. package/dist/custom-oclif-loader-ZVUKMRGH.js +1 -0
  326. package/dist/data/filters.json +41 -2
  327. package/dist/data/local_block_entry.json +1 -1
  328. package/dist/data/manifest_theme.json +1 -0
  329. package/dist/data/objects.json +78 -36
  330. package/dist/data/section.json +1 -1
  331. package/dist/data/shopify_system_translations.json +240 -23
  332. package/dist/data/strict_settings.json +24 -0
  333. package/dist/data/tags.json +57 -24
  334. package/dist/data/theme_block.json +1 -1
  335. package/dist/deprecations-A5AXXKIK.js +1 -0
  336. package/dist/dist-NORLLIHQ.js +1 -0
  337. package/dist/dist-XBM4XZS4.js +1 -0
  338. package/dist/environment-5P7JJ3GI.js +1 -0
  339. package/dist/environments-Y5JEI3U3.js +1 -0
  340. package/dist/error-GI4DXVDU.js +1 -0
  341. package/dist/error-handler-BS2ZENQV.js +1 -0
  342. package/dist/fs-UOOLPOHJ.js +1 -0
  343. package/dist/hooks/did-you-mean.js +1 -1
  344. package/dist/hooks/hydrogen-init.js +1 -1
  345. package/dist/hooks/plugin-plugins.js +1 -1
  346. package/dist/hooks/postrun.js +1 -1
  347. package/dist/hooks/prerun.js +2 -2
  348. package/dist/hooks/public-metadata.js +1 -1
  349. package/dist/hooks/sensitive-metadata.js +1 -1
  350. package/dist/hooks/tunnel-provider.js +1 -1
  351. package/dist/hooks/tunnel-start.js +1 -1
  352. package/dist/http-2OXOS2AW.js +1 -0
  353. package/dist/http-proxy-node16-NZZ674YW.js +38 -0
  354. package/dist/index.js +12 -12
  355. package/dist/is-global-CI77T7NE.js +1 -0
  356. package/dist/json-error-6PBUR4LQ.js +1 -0
  357. package/dist/latest-version-75YEFEMK.js +9 -0
  358. package/dist/lib-4JVADMNT.js +1 -0
  359. package/dist/lib-L4STV5B2.js +1 -0
  360. package/dist/lib-LEEN55OD.js +1 -0
  361. package/dist/{local-OKPVB4NH.js → local-5NIWPWDS.js} +1 -1
  362. package/dist/metadata-IXPNNPNJ.js +1 -0
  363. package/dist/{morph-CRY35DIK.js → morph-H7XQP55V.js} +3 -3
  364. package/dist/node-package-manager-ALFEGGD6.js +1 -0
  365. package/dist/notifications-system-FQW3GKH2.js +1 -0
  366. package/dist/{npa-A4YSCQ5Q.js → npa-LVYMN7GE.js} +1 -1
  367. package/dist/os-6TNQTEUN.js +1 -0
  368. package/dist/output-LEOB5LAM.js +1 -0
  369. package/dist/{prettier-EGVCP5CY.js → prettier-VLTY4MIE.js} +1 -1
  370. package/dist/registry-auth-token-EDH77OOW.js +1 -0
  371. package/dist/registry-url-JMNV3LLX.js +1 -0
  372. package/dist/semver-HHZRKD6Y.js +1 -0
  373. package/dist/system-J4CTESP5.js +1 -0
  374. package/dist/tsconfig.tsbuildinfo +1 -1
  375. package/dist/ui-YDUI56E3.js +1 -0
  376. package/dist/upgrade-LBCZORG2.js +1 -0
  377. package/dist/version-2YL4YEQ2.js +1 -0
  378. package/dist/version-X2CPQVWQ.js +1 -0
  379. package/dist/workerd-5UPTEWNI.js +18 -0
  380. package/oclif.manifest.json +25622 -1132
  381. package/package.json +7 -7
  382. package/dist/analytics-NMMVOF4B.js +0 -1
  383. package/dist/analytics-UK77WNLG.js +0 -1
  384. package/dist/chunk-224UPIYS.js +0 -4
  385. package/dist/chunk-27NXPOAS.js +0 -1
  386. package/dist/chunk-2MT3LSMZ.js +0 -1
  387. package/dist/chunk-2T4HDR6R.js +0 -70
  388. package/dist/chunk-2ZBXHCQZ.js +0 -1
  389. package/dist/chunk-335BUVBP.js +0 -1
  390. package/dist/chunk-33ZE3DRQ.js +0 -16
  391. package/dist/chunk-34MOWGRL.js +0 -1
  392. package/dist/chunk-3JSKNXL7.js +0 -1
  393. package/dist/chunk-3MG4MTWQ.js +0 -1
  394. package/dist/chunk-4WYKPIN3.js +0 -1
  395. package/dist/chunk-5AEZJZNQ.js +0 -1
  396. package/dist/chunk-5ED7SOQZ.js +0 -20
  397. package/dist/chunk-5IDJALJH.js +0 -1
  398. package/dist/chunk-66TMIQMB.js +0 -1
  399. package/dist/chunk-74NRFUGQ.js +0 -1
  400. package/dist/chunk-7GUMJ5E4.js +0 -1
  401. package/dist/chunk-7NFTSBHQ.js +0 -10
  402. package/dist/chunk-ACZNWIRY.js +0 -1
  403. package/dist/chunk-AUE7LM32.js +0 -1
  404. package/dist/chunk-AXL2VIWA.js +0 -16
  405. package/dist/chunk-B3ZJGYZY.js +0 -3
  406. package/dist/chunk-BOAGJ6P5.js +0 -1
  407. package/dist/chunk-BWN2QG6D.js +0 -5
  408. package/dist/chunk-CCUQM4FX.js +0 -6
  409. package/dist/chunk-CLUUA3HX.js +0 -3
  410. package/dist/chunk-CYEEGTVZ.js +0 -11
  411. package/dist/chunk-DBDTE3EE.js +0 -5
  412. package/dist/chunk-DLVB3237.js +0 -31
  413. package/dist/chunk-DN6X7SHW.js +0 -2
  414. package/dist/chunk-E5COIKGY.js +0 -5
  415. package/dist/chunk-E6RONHMT.js +0 -1
  416. package/dist/chunk-EAZIQI2D.js +0 -1
  417. package/dist/chunk-EEY4FKAW.js +0 -1
  418. package/dist/chunk-EKFPTBXC.js +0 -1
  419. package/dist/chunk-FEBOZ2XX.js +0 -31
  420. package/dist/chunk-FFSDGRAN.js +0 -1
  421. package/dist/chunk-FZCGRIOM.js +0 -1
  422. package/dist/chunk-GNCVDN7U.js +0 -1
  423. package/dist/chunk-GQLNG537.js +0 -836
  424. package/dist/chunk-GVI3DWSB.js +0 -4
  425. package/dist/chunk-H6GYBLVQ.js +0 -2
  426. package/dist/chunk-HB3MJYBK.js +0 -1
  427. package/dist/chunk-HSKDFEXW.js +0 -1
  428. package/dist/chunk-HTRJU4R4.js +0 -1
  429. package/dist/chunk-HXZAY5OA.js +0 -1
  430. package/dist/chunk-I7PEEJVH.js +0 -1
  431. package/dist/chunk-IHMATNOR.js +0 -1
  432. package/dist/chunk-IJY3RJPJ.js +0 -47
  433. package/dist/chunk-J3JPJCWP.js +0 -1
  434. package/dist/chunk-J55GQLP4.js +0 -1
  435. package/dist/chunk-JLQRDFR5.js +0 -18
  436. package/dist/chunk-JPWRZ5SL.js +0 -16
  437. package/dist/chunk-K7ZSPQKL.js +0 -4
  438. package/dist/chunk-L5TSPCSY.js +0 -26
  439. package/dist/chunk-LUGMXSRI.js +0 -9
  440. package/dist/chunk-M2CWCOFU.js +0 -11
  441. package/dist/chunk-M5VIFG2V.js +0 -1
  442. package/dist/chunk-MADINS4Z.js +0 -1
  443. package/dist/chunk-MGHPF7HU.js +0 -6
  444. package/dist/chunk-MHR5OHT5.js +0 -10
  445. package/dist/chunk-MXEXP3HT.js +0 -15
  446. package/dist/chunk-OJULL7HT.js +0 -1
  447. package/dist/chunk-OMPQ7REW.js +0 -3
  448. package/dist/chunk-OR4IJ4BQ.js +0 -1
  449. package/dist/chunk-P2RMFHQP.js +0 -1
  450. package/dist/chunk-P4VZYOKO.js +0 -15
  451. package/dist/chunk-PDZBKVWL.js +0 -97
  452. package/dist/chunk-Q2KWXZQB.js +0 -12
  453. package/dist/chunk-QFSENE5T.js +0 -3
  454. package/dist/chunk-QFWWCZOI.js +0 -1
  455. package/dist/chunk-QFYLJVJW.js +0 -77
  456. package/dist/chunk-QQJNQNKP.js +0 -6
  457. package/dist/chunk-R4UVIYZP.js +0 -4
  458. package/dist/chunk-RLNIOJH3.js +0 -272
  459. package/dist/chunk-RW6G4ZPU.js +0 -1
  460. package/dist/chunk-S4LOWCGS.js +0 -1
  461. package/dist/chunk-SB27UOXX.js +0 -1
  462. package/dist/chunk-SHD4VV5V.js +0 -3
  463. package/dist/chunk-SK7EPN6C.js +0 -1
  464. package/dist/chunk-TAWCKJKP.js +0 -1
  465. package/dist/chunk-U2T5HPRD.js +0 -319
  466. package/dist/chunk-U6YOP562.js +0 -1
  467. package/dist/chunk-UPPO3BMT.js +0 -7
  468. package/dist/chunk-USXIXANP.js +0 -103
  469. package/dist/chunk-UV5GAGAD.js +0 -1
  470. package/dist/chunk-UY6W2EVZ.js +0 -1
  471. package/dist/chunk-UYELAINQ.js +0 -16
  472. package/dist/chunk-V75WUEFU.js +0 -1
  473. package/dist/chunk-VAVXDIUX.js +0 -6
  474. package/dist/chunk-VEUKT5EI.js +0 -6
  475. package/dist/chunk-VGSH52JM.js +0 -1
  476. package/dist/chunk-VHZ6RL67.js +0 -1
  477. package/dist/chunk-VQA3X7O3.js +0 -1
  478. package/dist/chunk-VZCMJRYV.js +0 -1
  479. package/dist/chunk-W56ZGEQQ.js +0 -2265
  480. package/dist/chunk-WSDKCQH6.js +0 -6
  481. package/dist/chunk-X2PFXSU4.js +0 -1
  482. package/dist/chunk-X5NIAZA4.js +0 -1
  483. package/dist/chunk-XBMD3FEZ.js +0 -3
  484. package/dist/chunk-XDVPIGXE.js +0 -2
  485. package/dist/chunk-XLIJYJ6Q.js +0 -1
  486. package/dist/chunk-XUHGWIWW.js +0 -4
  487. package/dist/chunk-Y55T4IIQ.js +0 -7
  488. package/dist/chunk-Y5CVX5LJ.js +0 -1
  489. package/dist/chunk-Y6J46XYF.js +0 -3
  490. package/dist/chunk-YKMINHYY.js +0 -3
  491. package/dist/chunk-ZDQO6CNY.js +0 -1
  492. package/dist/chunk-ZGASBRSQ.js +0 -5
  493. package/dist/chunk-ZGBTO46A.js +0 -1
  494. package/dist/chunk-ZJOX5HW4.js +0 -22
  495. package/dist/chunk-ZOOT3GBY.js +0 -5
  496. package/dist/command-json-schema-F5XF7XHL.js +0 -1
  497. package/dist/conf-store-5CBLWTOC.js +0 -1
  498. package/dist/custom-oclif-loader-UDVUFKMD.js +0 -1
  499. package/dist/deprecations-EOHPSTCS.js +0 -1
  500. package/dist/dist-RNV3GFZ7.js +0 -1
  501. package/dist/dist-ZFKWJVNB.js +0 -1
  502. package/dist/environment-O7ECODHU.js +0 -1
  503. package/dist/environments-4FLRZW4P.js +0 -1
  504. package/dist/error-JY2ADS6S.js +0 -1
  505. package/dist/error-handler-4GCXKC6I.js +0 -1
  506. package/dist/fs-XS5YF34R.js +0 -1
  507. package/dist/http-proxy-node16-D3JUYA5D.js +0 -38
  508. package/dist/is-global-27MUENOK.js +0 -1
  509. package/dist/json-error-S5XFS3UX.js +0 -1
  510. package/dist/latest-version-LDWU5F7A.js +0 -49
  511. package/dist/lib-PJHT4MKY.js +0 -1
  512. package/dist/lib-VKSQ65BQ.js +0 -1
  513. package/dist/lib-YEZOHXF3.js +0 -1
  514. package/dist/metadata-2YJBAKR7.js +0 -1
  515. package/dist/node-package-manager-B3OW3PFQ.js +0 -1
  516. package/dist/notifications-system-BWTDYBG2.js +0 -1
  517. package/dist/os-F6QKJCFW.js +0 -1
  518. package/dist/output-BRIPK7UC.js +0 -1
  519. package/dist/system-466QKFDI.js +0 -1
  520. package/dist/ui-VJTNGCS6.js +0 -1
  521. package/dist/upgrade-VHVJLXKX.js +0 -1
  522. package/dist/version-FETZRLZO.js +0 -1
  523. package/dist/version-T4XXTJMB.js +0 -1
  524. package/dist/workerd-32DMKLMN.js +0 -18
  525. /package/dist/{chunk-YLQ3LNNY.js → chunk-2S3FHQFS.js} +0 -0
  526. /package/dist/{chunk-YRHFPXC3.js → chunk-Z2AV4BWZ.js} +0 -0
@@ -0,0 +1,70 @@
1
+ import{a as Dl}from"./chunk-UWHAOGO4.js";import{a as si}from"./chunk-ZI7LK3LW.js";import{$ as Al,_ as Ta,a as Ol,aa as J,ba as Il,c as Ra}from"./chunk-2PD7TNFS.js";import{Ja as Rl,Ka as Tl}from"./chunk-YKDRUAY3.js";import{Eb as ai,Va as ii,ha as Yt,tb as Kt,vb as ni,xa}from"./chunk-ZMOW2YZ4.js";import{a as xl}from"./chunk-UU6UQ2QY.js";import{c as Sa,f as ti,h as ri}from"./chunk-IWTNUJGY.js";import{a as w,c as y,e as Sl,g as u}from"./chunk-VKWPEFWQ.js";var Ma=y((M0,Da)=>{u();Da.exports=Ia;var fi=w("fs"),{EventEmitter:Ml}=w("events"),{Minimatch:oi}=Al(),{resolve:Ll}=w("path");function Pl(e,t){return new Promise((r,i)=>{fi.readdir(e,{withFileTypes:!0},(n,a)=>{if(n)switch(n.code){case"ENOTDIR":t?i(n):r([]);break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":r([]);break;default:i(n);break}else r(a)})})}function Oa(e,t){return new Promise((r,i)=>{(t?fi.stat:fi.lstat)(e,(a,s)=>{a?a.code==="ENOENT"?r(t?Oa(e,!1):null):r(null):r(s)})})}async function*Aa(e,t,r,i,n,a){let s=await Pl(t+e,a);for(let o of s){let f=o.name;f===void 0&&(f=o,i=!0);let l=e+"/"+f,c=l.slice(1),p=t+"/"+c,d=null;(i||r)&&(d=await Oa(p,r)),!d&&o.name!==void 0&&(d=o),d===null&&(d={isDirectory:()=>!1}),d.isDirectory()?n(c)||(yield{relative:c,absolute:p,stats:d},yield*Aa(l,t,r,i,n,!1)):yield{relative:c,absolute:p,stats:d}}}async function*Cl(e,t,r,i){yield*Aa("",e,t,r,i,!0)}function Nl(e){return{pattern:e.pattern,dot:!!e.dot,noglobstar:!!e.noglobstar,matchBase:!!e.matchBase,nocase:!!e.nocase,ignore:e.ignore,skip:e.skip,follow:!!e.follow,stat:!!e.stat,nodir:!!e.nodir,mark:!!e.mark,silent:!!e.silent,absolute:!!e.absolute}}var Qt=class extends Ml{constructor(t,r,i){if(super(),typeof r=="function"&&(i=r,r=null),this.options=Nl(r||{}),this.matchers=[],this.options.pattern){let n=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=n.map(a=>new oi(a,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase}))}if(this.ignoreMatchers=[],this.options.ignore){let n=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=n.map(a=>new oi(a,{dot:!0}))}if(this.skipMatchers=[],this.options.skip){let n=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=n.map(a=>new oi(a,{dot:!0}))}this.iterator=Cl(Ll(t||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this)),this.paused=!1,this.inactive=!1,this.aborted=!1,i&&(this._matches=[],this.on("match",n=>this._matches.push(this.options.absolute?n.absolute:n.relative)),this.on("error",n=>i(n)),this.on("end",()=>i(null,this._matches))),setTimeout(()=>this._next(),0)}_shouldSkipDirectory(t){return this.skipMatchers.some(r=>r.match(t))}_fileMatches(t,r){let i=t+(r?"/":"");return(this.matchers.length===0||this.matchers.some(n=>n.match(i)))&&!this.ignoreMatchers.some(n=>n.match(i))&&(!this.options.nodir||!r)}_next(){!this.paused&&!this.aborted?this.iterator.next().then(t=>{if(t.done)this.emit("end");else{let r=t.value.stats.isDirectory();if(this._fileMatches(t.value.relative,r)){let i=t.value.relative,n=t.value.absolute;this.options.mark&&r&&(i+="/",n+="/"),this.options.stat?this.emit("match",{relative:i,absolute:n,stat:t.value.stats}):this.emit("match",{relative:i,absolute:n})}this._next(this.iterator)}}).catch(t=>{this.abort(),this.emit("error",t),!t.code&&!this.options.silent&&console.error(t)}):this.inactive=!0}abort(){this.aborted=!0}pause(){this.paused=!0}resume(){this.paused=!1,this.inactive&&(this.inactive=!1,this._next())}};function Ia(e,t,r){return new Qt(e,t,r)}Ia.ReaddirGlob=Qt});var _t=y((P0,ui)=>{"use strict";u();typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?ui.exports={nextTick:ql}:ui.exports=process;function ql(e,t,r,i){if(typeof e!="function")throw new TypeError('"callback" argument must be a function');var n=arguments.length,a,s;switch(n){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick(function(){e.call(null,t)});case 3:return process.nextTick(function(){e.call(null,t,r)});case 4:return process.nextTick(function(){e.call(null,t,r,i)});default:for(a=new Array(n-1),s=0;s<a.length;)a[s++]=arguments[s];return process.nextTick(function(){e.apply(null,a)})}}});var li=y((N0,La)=>{u();La.exports=w("stream")});var vt=y((hi,Ca)=>{u();var Xt=w("buffer"),ye=Xt.Buffer;function Pa(e,t){for(var r in e)t[r]=e[r]}ye.from&&ye.alloc&&ye.allocUnsafe&&ye.allocUnsafeSlow?Ca.exports=Xt:(Pa(Xt,hi),hi.Buffer=Ke);function Ke(e,t,r){return ye(e,t,r)}Pa(ye,Ke);Ke.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return ye(e,t,r)};Ke.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var i=ye(e);return t!==void 0?typeof r=="string"?i.fill(t,r):i.fill(t):i.fill(0),i};Ke.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return ye(e)};Ke.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Xt.SlowBuffer(e)}});var Qe=y(Y=>{u();function Bl(e){return Array.isArray?Array.isArray(e):Jt(e)==="[object Array]"}Y.isArray=Bl;function Fl(e){return typeof e=="boolean"}Y.isBoolean=Fl;function kl(e){return e===null}Y.isNull=kl;function jl(e){return e==null}Y.isNullOrUndefined=jl;function Ul(e){return typeof e=="number"}Y.isNumber=Ul;function zl(e){return typeof e=="string"}Y.isString=zl;function Gl(e){return typeof e=="symbol"}Y.isSymbol=Gl;function Wl(e){return e===void 0}Y.isUndefined=Wl;function Hl(e){return Jt(e)==="[object RegExp]"}Y.isRegExp=Hl;function Zl(e){return typeof e=="object"&&e!==null}Y.isObject=Zl;function $l(e){return Jt(e)==="[object Date]"}Y.isDate=$l;function Vl(e){return Jt(e)==="[object Error]"||e instanceof Error}Y.isError=Vl;function Yl(e){return typeof e=="function"}Y.isFunction=Yl;function Kl(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}Y.isPrimitive=Kl;Y.isBuffer=w("buffer").Buffer.isBuffer;function Jt(e){return Object.prototype.toString.call(e)}});var qa=y((j0,ci)=>{"use strict";u();function Ql(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Na=vt().Buffer,mt=w("util");function Xl(e,t,r){e.copy(t,r)}ci.exports=(function(){function e(){Ql(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(r){var i={data:r,next:null};this.length>0?this.tail.next=i:this.head=i,this.tail=i,++this.length},e.prototype.unshift=function(r){var i={data:r,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length},e.prototype.shift=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}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(r){if(this.length===0)return"";for(var i=this.head,n=""+i.data;i=i.next;)n+=r+i.data;return n},e.prototype.concat=function(r){if(this.length===0)return Na.alloc(0);for(var i=Na.allocUnsafe(r>>>0),n=this.head,a=0;n;)Xl(n.data,i,a),a+=n.data.length,n=n.next;return i},e})();mt&&mt.inspect&&mt.inspect.custom&&(ci.exports.prototype[mt.inspect.custom]=function(){var e=mt.inspect({length:this.length});return this.constructor.name+" "+e})});var di=y((z0,Ba)=>{"use strict";u();var er=_t();function Jl(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return i||n?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,er.nextTick(tr,this,e)):er.nextTick(tr,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(a){!t&&a?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,er.nextTick(tr,r,a)):er.nextTick(tr,r,a):t&&t(a)}),this)}function eh(){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 tr(e,t){e.emit("error",t)}Ba.exports={destroy:Jl,undestroy:eh}});var gi=y((W0,Ha)=>{"use strict";u();var Ne=_t();Ha.exports=U;function ka(e){var t=this;this.next=null,this.entry=null,this.finish=function(){vh(t,e)}}var th=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:Ne.nextTick,Xe;U.WritableState=wt;var ja=Object.create(Qe());ja.inherits=J();var rh={deprecate:Ra()},Ua=li(),ir=vt().Buffer,ih=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function nh(e){return ir.from(e)}function ah(e){return ir.isBuffer(e)||e instanceof ih}var za=di();ja.inherits(U,Ua);function sh(){}function wt(e,t){Xe=Xe||qe(),e=e||{};var r=t instanceof Xe;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,n=e.writableHighWaterMark,a=this.objectMode?16:16*1024;i||i===0?this.highWaterMark=i:r&&(n||n===0)?this.highWaterMark=n:this.highWaterMark=a,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=e.decodeStrings===!1;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(o){dh(t,o)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new ka(this)}wt.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(wt.prototype,"buffer",{get:rh.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var rr;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(rr=Function.prototype[Symbol.hasInstance],Object.defineProperty(U,Symbol.hasInstance,{value:function(e){return rr.call(this,e)?!0:this!==U?!1:e&&e._writableState instanceof wt}})):rr=function(e){return e instanceof this};function U(e){if(Xe=Xe||qe(),!rr.call(U,this)&&!(this instanceof Xe))return new U(e);this._writableState=new wt(e,this),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)),Ua.call(this)}U.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function oh(e,t){var r=new Error("write after end");e.emit("error",r),Ne.nextTick(t,r)}function fh(e,t,r,i){var n=!0,a=!1;return r===null?a=new TypeError("May not write null values to stream"):typeof r!="string"&&r!==void 0&&!t.objectMode&&(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),Ne.nextTick(i,a),n=!1),n}U.prototype.write=function(e,t,r){var i=this._writableState,n=!1,a=!i.objectMode&&ah(e);return a&&!ir.isBuffer(e)&&(e=nh(e)),typeof t=="function"&&(r=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),typeof r!="function"&&(r=sh),i.ended?oh(this,r):(a||fh(this,i,e,r))&&(i.pendingcb++,n=lh(this,i,a,e,t,r)),n};U.prototype.cork=function(){var e=this._writableState;e.corked++};U.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&Ga(this,e))};U.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 TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this};function uh(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=ir.from(t,r)),t}Object.defineProperty(U.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function lh(e,t,r,i,n,a){if(!r){var s=uh(t,i,n);i!==s&&(r=!0,n="buffer",i=s)}var o=t.objectMode?1:i.length;t.length+=o;var f=t.length<t.highWaterMark;if(f||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:i,encoding:n,isBuf:r,callback:a,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else pi(e,t,!1,o,i,n,a);return f}function pi(e,t,r,i,n,a,s){t.writelen=i,t.writecb=s,t.writing=!0,t.sync=!0,r?e._writev(n,t.onwrite):e._write(n,a,t.onwrite),t.sync=!1}function hh(e,t,r,i,n){--t.pendingcb,r?(Ne.nextTick(n,i),Ne.nextTick(bt,e,t),e._writableState.errorEmitted=!0,e.emit("error",i)):(n(i),e._writableState.errorEmitted=!0,e.emit("error",i),bt(e,t))}function ch(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function dh(e,t){var r=e._writableState,i=r.sync,n=r.writecb;if(ch(r),t)hh(e,r,i,t,n);else{var a=Wa(r);!a&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&Ga(e,r),i?th(Fa,e,r,a,n):Fa(e,r,a,n)}}function Fa(e,t,r,i){r||ph(e,t),t.pendingcb--,i(),bt(e,t)}function ph(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function Ga(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,n=new Array(i),a=t.corkedRequestsFree;a.entry=r;for(var s=0,o=!0;r;)n[s]=r,r.isBuf||(o=!1),r=r.next,s+=1;n.allBuffers=o,pi(e,t,!0,t.length,n,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new ka(t),t.bufferedRequestCount=0}else{for(;r;){var f=r.chunk,l=r.encoding,c=r.callback,p=t.objectMode?1:f.length;if(pi(e,t,!1,p,f,l,c),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}U.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))};U.prototype._writev=null;U.prototype.end=function(e,t,r){var i=this._writableState;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||_h(this,i,r)};function Wa(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function gh(e,t){e._final(function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),bt(e,t)})}function yh(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"?(t.pendingcb++,t.finalCalled=!0,Ne.nextTick(gh,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function bt(e,t){var r=Wa(t);return r&&(yh(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"))),r}function _h(e,t,r){t.ending=!0,bt(e,t),r&&(t.finished?Ne.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function vh(e,t,r){var i=e.entry;for(e.entry=null;i;){var n=i.callback;t.pendingcb--,n(r),i=i.next}t.corkedRequestsFree.next=e}Object.defineProperty(U.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}});U.prototype.destroy=za.destroy;U.prototype._undestroy=za.undestroy;U.prototype._destroy=function(e,t){this.end(),t(e)}});var qe=y((Z0,Ya)=>{"use strict";u();var Za=_t(),mh=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};Ya.exports=_e;var $a=Object.create(Qe());$a.inherits=J();var Va=vi(),_i=gi();$a.inherits(_e,Va);for(yi=mh(_i.prototype),nr=0;nr<yi.length;nr++)ar=yi[nr],_e.prototype[ar]||(_e.prototype[ar]=_i.prototype[ar]);var yi,ar,nr;function _e(e){if(!(this instanceof _e))return new _e(e);Va.call(this,e),_i.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",bh)}Object.defineProperty(_e.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function bh(){this.allowHalfOpen||this._writableState.ended||Za.nextTick(wh,this)}function wh(e){e.end()}Object.defineProperty(_e.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=e,this._writableState.destroyed=e)}});_e.prototype._destroy=function(e,t){this.push(null),this.end(),Za.nextTick(t,e)}});var wi=y(Qa=>{"use strict";u();var bi=vt().Buffer,Ka=bi.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 Eh(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 Sh(e){var t=Eh(e);if(typeof t!="string"&&(bi.isEncoding===Ka||!Ka(e)))throw new Error("Unknown encoding: "+e);return t||e}Qa.StringDecoder=Et;function Et(e){this.encoding=Sh(e);var t;switch(this.encoding){case"utf16le":this.text=Ih,this.end=Dh,t=4;break;case"utf8":this.fillLast=Th,t=4;break;case"base64":this.text=Mh,this.end=Lh,t=3;break;default:this.write=Ph,this.end=Ch;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=bi.allocUnsafe(t)}Et.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||""};Et.prototype.end=Ah;Et.prototype.text=Oh;Et.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 mi(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function xh(e,t,r){var i=t.length-1;if(i<r)return 0;var n=mi(t[i]);return n>=0?(n>0&&(e.lastNeed=n-1),n):--i<r||n===-2?0:(n=mi(t[i]),n>=0?(n>0&&(e.lastNeed=n-2),n):--i<r||n===-2?0:(n=mi(t[i]),n>=0?(n>0&&(n===2?n=0:e.lastNeed=n-3),n):0))}function Rh(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 Th(e){var t=this.lastTotal-this.lastNeed,r=Rh(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 Oh(e,t){var r=xh(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 Ah(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function Ih(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 Dh(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 Mh(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 Lh(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function Ph(e){return e.toString(this.encoding)}function Ch(e){return e&&e.length?this.write(e):""}});var vi=y((Q0,us)=>{"use strict";u();var et=_t();us.exports=F;var Nh=Ol(),St;F.ReadableState=ns;var K0=w("events").EventEmitter,ts=function(e,t){return e.listeners(t).length},Ti=li(),xt=vt().Buffer,qh=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Bh(e){return xt.from(e)}function Fh(e){return xt.isBuffer(e)||e instanceof qh}var rs=Object.create(Qe());rs.inherits=J();var Ei=w("util"),L=void 0;Ei&&Ei.debuglog?L=Ei.debuglog("stream"):L=function(){};var kh=qa(),is=di(),Je;rs.inherits(F,Ti);var Si=["error","close","destroy","pause","resume"];function jh(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):Nh(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}function ns(e,t){St=St||qe(),e=e||{};var r=t instanceof St;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,n=e.readableHighWaterMark,a=this.objectMode?16:16*1024;i||i===0?this.highWaterMark=i:r&&(n||n===0)?this.highWaterMark=n:this.highWaterMark=a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new kh,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.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(Je||(Je=wi().StringDecoder),this.decoder=new Je(e.encoding),this.encoding=e.encoding)}function F(e){if(St=St||qe(),!(this instanceof F))return new F(e);this._readableState=new ns(e,this),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),Ti.call(this)}Object.defineProperty(F.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}});F.prototype.destroy=is.destroy;F.prototype._undestroy=is.undestroy;F.prototype._destroy=function(e,t){this.push(null),t(e)};F.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=xt.from(e,t),t=""),i=!0),as(this,e,t,!1,i)};F.prototype.unshift=function(e){return as(this,e,null,!0,!1)};function as(e,t,r,i,n){var a=e._readableState;if(t===null)a.reading=!1,Wh(e,a);else{var s;n||(s=Uh(a,t)),s?e.emit("error",s):a.objectMode||t&&t.length>0?(typeof t!="string"&&!a.objectMode&&Object.getPrototypeOf(t)!==xt.prototype&&(t=Bh(t)),i?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):xi(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||t.length!==0?xi(e,a,t,!1):ss(e,a)):xi(e,a,t,!1))):i||(a.reading=!1)}return zh(a)}function xi(e,t,r,i){t.flowing&&t.length===0&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&sr(e)),ss(e,t)}function Uh(e,t){var r;return!Fh(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new TypeError("Invalid non-string/buffer chunk")),r}function zh(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}F.prototype.isPaused=function(){return this._readableState.flowing===!1};F.prototype.setEncoding=function(e){return Je||(Je=wi().StringDecoder),this._readableState.decoder=new Je(e),this._readableState.encoding=e,this};var Xa=8388608;function Gh(e){return e>=Xa?e=Xa:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function Ja(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=Gh(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}F.prototype.read=function(e){L("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return L("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?Ri(this):sr(this),null;if(e=Ja(e,t),e===0&&t.ended)return t.length===0&&Ri(this),null;var i=t.needReadable;L("need readable",i),(t.length===0||t.length-e<t.highWaterMark)&&(i=!0,L("length less than watermark",i)),t.ended||t.reading?(i=!1,L("reading or ended",i)):i&&(L("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Ja(r,t)));var n;return e>0?n=os(e,t):n=null,n===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&Ri(this)),n!==null&&this.emit("data",n),n};function Wh(e,t){if(!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,sr(e)}}function sr(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(L("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?et.nextTick(es,e):es(e))}function es(e){L("emit readable"),e.emit("readable"),Oi(e)}function ss(e,t){t.readingMore||(t.readingMore=!0,et.nextTick(Hh,e,t))}function Hh(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(L("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}F.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))};F.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,L("pipe count=%d opts=%j",i.pipesCount,t);var n=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,a=n?o:x;i.endEmitted?et.nextTick(a):r.once("end",a),e.on("unpipe",s);function s(S,C){L("onunpipe"),S===r&&C&&C.hasUnpiped===!1&&(C.hasUnpiped=!0,c())}function o(){L("onend"),e.end()}var f=Zh(r);e.on("drain",f);var l=!1;function c(){L("cleanup"),e.removeListener("close",g),e.removeListener("finish",b),e.removeListener("drain",f),e.removeListener("error",h),e.removeListener("unpipe",s),r.removeListener("end",o),r.removeListener("end",x),r.removeListener("data",d),l=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&f()}var p=!1;r.on("data",d);function d(S){L("ondata"),p=!1;var C=e.write(S);C===!1&&!p&&((i.pipesCount===1&&i.pipes===e||i.pipesCount>1&&fs(i.pipes,e)!==-1)&&!l&&(L("false write response, pause",i.awaitDrain),i.awaitDrain++,p=!0),r.pause())}function h(S){L("onerror",S),x(),e.removeListener("error",h),ts(e,"error")===0&&e.emit("error",S)}jh(e,"error",h);function g(){e.removeListener("finish",b),x()}e.once("close",g);function b(){L("onfinish"),e.removeListener("close",g),x()}e.once("finish",b);function x(){L("unpipe"),r.unpipe(e)}return e.emit("pipe",r),i.flowing||(L("pipe resume"),r.resume()),e};function Zh(e){return function(){var t=e._readableState;L("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&ts(e,"data")&&(t.flowing=!0,Oi(e))}}F.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,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<n;a++)i[a].emit("unpipe",this,{hasUnpiped:!1});return this}var s=fs(t.pipes,e);return s===-1?this:(t.pipes.splice(s,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)};F.prototype.on=function(e,t){var r=Ti.prototype.on.call(this,e,t);if(e==="data")this._readableState.flowing!==!1&&this.resume();else if(e==="readable"){var i=this._readableState;!i.endEmitted&&!i.readableListening&&(i.readableListening=i.needReadable=!0,i.emittedReadable=!1,i.reading?i.length&&sr(this):et.nextTick($h,this))}return r};F.prototype.addListener=F.prototype.on;function $h(e){L("readable nexttick read 0"),e.read(0)}F.prototype.resume=function(){var e=this._readableState;return e.flowing||(L("resume"),e.flowing=!0,Vh(this,e)),this};function Vh(e,t){t.resumeScheduled||(t.resumeScheduled=!0,et.nextTick(Yh,e,t))}function Yh(e,t){t.reading||(L("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),Oi(e),t.flowing&&!t.reading&&e.read(0)}F.prototype.pause=function(){return L("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(L("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function Oi(e){var t=e._readableState;for(L("flow",t.flowing);t.flowing&&e.read()!==null;);}F.prototype.wrap=function(e){var t=this,r=this._readableState,i=!1;e.on("end",function(){if(L("wrapped end"),r.decoder&&!r.ended){var s=r.decoder.end();s&&s.length&&t.push(s)}t.push(null)}),e.on("data",function(s){if(L("wrapped data"),r.decoder&&(s=r.decoder.write(s)),!(r.objectMode&&s==null)&&!(!r.objectMode&&(!s||!s.length))){var o=t.push(s);o||(i=!0,e.pause())}});for(var n in e)this[n]===void 0&&typeof e[n]=="function"&&(this[n]=(function(s){return function(){return e[s].apply(e,arguments)}})(n));for(var a=0;a<Si.length;a++)e.on(Si[a],this.emit.bind(this,Si[a]));return this._read=function(s){L("wrapped _read",s),i&&(i=!1,e.resume())},this};Object.defineProperty(F.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});F._fromList=os;function os(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.head.data:r=t.buffer.concat(t.length),t.buffer.clear()):r=Kh(e,t.buffer,t.decoder),r}function Kh(e,t,r){var i;return e<t.head.data.length?(i=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):e===t.head.data.length?i=t.shift():i=r?Qh(e,t):Xh(e,t),i}function Qh(e,t){var r=t.head,i=1,n=r.data;for(e-=n.length;r=r.next;){var a=r.data,s=e>a.length?a.length:e;if(s===a.length?n+=a:n+=a.slice(0,e),e-=s,e===0){s===a.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(s));break}++i}return t.length-=i,n}function Xh(e,t){var r=xt.allocUnsafe(e),i=t.head,n=1;for(i.data.copy(r),e-=i.data.length;i=i.next;){var a=i.data,s=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,s),e-=s,e===0){s===a.length?(++n,i.next?t.head=i.next:t.head=t.tail=null):(t.head=i,i.data=a.slice(s));break}++n}return t.length-=n,r}function Ri(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,et.nextTick(Jh,t,e))}function Jh(e,t){!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function fs(e,t){for(var r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return-1}});var Ai=y((J0,cs)=>{"use strict";u();cs.exports=ve;var or=qe(),hs=Object.create(Qe());hs.inherits=J();hs.inherits(ve,or);function ec(e,t){var r=this._transformState;r.transforming=!1;var i=r.writecb;if(!i)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,t!=null&&this.push(t),i(e);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function ve(e){if(!(this instanceof ve))return new ve(e);or.call(this,e),this._transformState={afterTransform:ec.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",tc)}function tc(){var e=this;typeof this._flush=="function"?this._flush(function(t,r){ls(e,t,r)}):ls(this,null,null)}ve.prototype.push=function(e,t){return this._transformState.needTransform=!1,or.prototype.push.call(this,e,t)};ve.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")};ve.prototype._write=function(e,t,r){var i=this._transformState;if(i.writecb=r,i.writechunk=e,i.writeencoding=t,!i.transforming){var n=this._readableState;(i.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}};ve.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};ve.prototype._destroy=function(e,t){var r=this;or.prototype._destroy.call(this,e,function(i){t(i),r.emit("close")})};function ls(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}});var ys=y((tm,gs)=>{"use strict";u();gs.exports=Rt;var ds=Ai(),ps=Object.create(Qe());ps.inherits=J();ps.inherits(Rt,ds);function Rt(e){if(!(this instanceof Rt))return new Rt(e);ds.call(this,e)}Rt.prototype._transform=function(e,t,r){r(null,e)}});var Ii=y(($,fr)=>{u();var ue=w("stream");process.env.READABLE_STREAM==="disable"&&ue?(fr.exports=ue,$=fr.exports=ue.Readable,$.Readable=ue.Readable,$.Writable=ue.Writable,$.Duplex=ue.Duplex,$.Transform=ue.Transform,$.PassThrough=ue.PassThrough,$.Stream=ue):($=fr.exports=vi(),$.Stream=ue||$,$.Readable=$,$.Writable=gi(),$.Duplex=qe(),$.Transform=Ai(),$.PassThrough=ys())});var vs=y((nm,_s)=>{u();_s.exports=Ii().PassThrough});var Di=y((sm,ws)=>{u();var ms=w("util"),hr=vs();ws.exports={Readable:ur,Writable:lr};ms.inherits(ur,hr);ms.inherits(lr,hr);function bs(e,t,r){e[t]=function(){return delete e[t],r.apply(this,arguments),this[t].apply(this,arguments)}}function ur(e,t){if(!(this instanceof ur))return new ur(e,t);hr.call(this,t),bs(this,"_read",function(){var r=e.call(this,t),i=this.emit.bind(this,"error");r.on("error",i),r.pipe(this)}),this.emit("readable")}function lr(e,t){if(!(this instanceof lr))return new lr(e,t);hr.call(this,t),bs(this,"_write",function(){var r=e.call(this,t),i=this.emit.bind(this,"error");r.on("error",i),this.pipe(r)}),this.emit("writable")}});var Ci=y((fm,As)=>{u();var Ss=9007199254740991,rc="[object Arguments]",ic="[object Function]",nc="[object GeneratorFunction]",ac=/^(?:0|[1-9]\d*)$/;function xs(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function sc(e,t){for(var r=-1,i=Array(e);++r<e;)i[r]=t(r);return i}var Tt=Object.prototype,Ot=Tt.hasOwnProperty,Rs=Tt.toString,oc=Tt.propertyIsEnumerable,Es=Math.max;function fc(e,t){var r=vc(e)||_c(e)?sc(e.length,String):[],i=r.length,n=!!i;for(var a in e)(t||Ot.call(e,a))&&!(n&&(a=="length"||Os(a,i)))&&r.push(a);return r}function uc(e,t,r,i){return e===void 0||Mi(e,Tt[r])&&!Ot.call(i,r)?t:e}function lc(e,t,r){var i=e[t];(!(Ot.call(e,t)&&Mi(i,r))||r===void 0&&!(t in e))&&(e[t]=r)}function hc(e){if(!Pi(e))return yc(e);var t=gc(e),r=[];for(var i in e)i=="constructor"&&(t||!Ot.call(e,i))||r.push(i);return r}function Ts(e,t){return t=Es(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,n=Es(r.length-t,0),a=Array(n);++i<n;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=a,xs(e,this,s)}}function cc(e,t,r,i){r||(r={});for(var n=-1,a=t.length;++n<a;){var s=t[n],o=i?i(r[s],e[s],s,r,e):void 0;lc(r,s,o===void 0?e[s]:o)}return r}function dc(e){return Ts(function(t,r){var i=-1,n=r.length,a=n>1?r[n-1]:void 0,s=n>2?r[2]:void 0;for(a=e.length>3&&typeof a=="function"?(n--,a):void 0,s&&pc(r[0],r[1],s)&&(a=n<3?void 0:a,n=1),t=Object(t);++i<n;){var o=r[i];o&&e(t,o,i,a)}return t})}function Os(e,t){return t=t??Ss,!!t&&(typeof e=="number"||ac.test(e))&&e>-1&&e%1==0&&e<t}function pc(e,t,r){if(!Pi(r))return!1;var i=typeof t;return(i=="number"?Li(r)&&Os(t,r.length):i=="string"&&t in r)?Mi(r[t],e):!1}function gc(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Tt;return e===r}function yc(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}function Mi(e,t){return e===t||e!==e&&t!==t}function _c(e){return mc(e)&&Ot.call(e,"callee")&&(!oc.call(e,"callee")||Rs.call(e)==rc)}var vc=Array.isArray;function Li(e){return e!=null&&wc(e.length)&&!bc(e)}function mc(e){return Ec(e)&&Li(e)}function bc(e){var t=Pi(e)?Rs.call(e):"";return t==ic||t==nc}function wc(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Ss}function Pi(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Ec(e){return!!e&&typeof e=="object"}var Sc=dc(function(e,t,r,i){cc(t,Rc(t),e,i)}),xc=Ts(function(e){return e.push(void 0,uc),xs(Sc,void 0,e)});function Rc(e){return Li(e)?fc(e,!0):hc(e)}As.exports=xc});var qi=y((lm,Ps)=>{u();var Tc=9007199254740991,Oc="[object Arguments]",Ac="[object Function]",Ic="[object GeneratorFunction]",Dc=typeof global=="object"&&global&&global.Object===Object&&global,Mc=typeof self=="object"&&self&&self.Object===Object&&self,Lc=Dc||Mc||Function("return this")();function Pc(e,t){for(var r=-1,i=t.length,n=e.length;++r<i;)e[n+r]=t[r];return e}var Ni=Object.prototype,Cc=Ni.hasOwnProperty,Ms=Ni.toString,Is=Lc.Symbol,Nc=Ni.propertyIsEnumerable,Ds=Is?Is.isConcatSpreadable:void 0;function Ls(e,t,r,i,n){var a=-1,s=e.length;for(r||(r=qc),n||(n=[]);++a<s;){var o=e[a];t>0&&r(o)?t>1?Ls(o,t-1,r,i,n):Pc(n,o):i||(n[n.length]=o)}return n}function qc(e){return kc(e)||Fc(e)||!!(Ds&&e&&e[Ds])}function Bc(e){var t=e?e.length:0;return t?Ls(e,1):[]}function Fc(e){return Uc(e)&&Cc.call(e,"callee")&&(!Nc.call(e,"callee")||Ms.call(e)==Oc)}var kc=Array.isArray;function jc(e){return e!=null&&Gc(e.length)&&!zc(e)}function Uc(e){return Hc(e)&&jc(e)}function zc(e){var t=Wc(e)?Ms.call(e):"";return t==Ac||t==Ic}function Gc(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Tc}function Wc(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Hc(e){return!!e&&typeof e=="object"}Ps.exports=Bc});var zi=y((cm,Ws)=>{u();var Zc=200,ki="__lodash_hash_undefined__",$c=9007199254740991,Vc="[object Arguments]",Yc="[object Function]",Kc="[object GeneratorFunction]",Qc=/[\\^$.*+?()[\]{}|]/g,Xc=/^\[object .+?Constructor\]$/,Jc=typeof global=="object"&&global&&global.Object===Object&&global,ed=typeof self=="object"&&self&&self.Object===Object&&self,ji=Jc||ed||Function("return this")();function td(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function rd(e,t){var r=e?e.length:0;return!!r&&od(e,t,0)>-1}function id(e,t,r){for(var i=-1,n=e?e.length:0;++i<n;)if(r(t,e[i]))return!0;return!1}function nd(e,t){for(var r=-1,i=e?e.length:0,n=Array(i);++r<i;)n[r]=t(e[r],r,e);return n}function ad(e,t){for(var r=-1,i=t.length,n=e.length;++r<i;)e[n+r]=t[r];return e}function sd(e,t,r,i){for(var n=e.length,a=r+(i?1:-1);i?a--:++a<n;)if(t(e[a],a,e))return a;return-1}function od(e,t,r){if(t!==t)return sd(e,fd,r);for(var i=r-1,n=e.length;++i<n;)if(e[i]===t)return i;return-1}function fd(e){return e!==e}function ud(e){return function(t){return e(t)}}function ld(e,t){return e.has(t)}function hd(e,t){return e?.[t]}function cd(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var dd=Array.prototype,pd=Function.prototype,Ui=Object.prototype,Bi=ji["__core-js_shared__"],Cs=(function(){var e=/[^.]+$/.exec(Bi&&Bi.keys&&Bi.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})(),Fs=pd.toString,dr=Ui.hasOwnProperty,ks=Ui.toString,gd=RegExp("^"+Fs.call(dr).replace(Qc,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ns=ji.Symbol,yd=Ui.propertyIsEnumerable,_d=dd.splice,qs=Ns?Ns.isConcatSpreadable:void 0,Bs=Math.max,vd=Us(ji,"Map"),At=Us(Object,"create");function Be(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function md(){this.__data__=At?At(null):{}}function bd(e){return this.has(e)&&delete this.__data__[e]}function wd(e){var t=this.__data__;if(At){var r=t[e];return r===ki?void 0:r}return dr.call(t,e)?t[e]:void 0}function Ed(e){var t=this.__data__;return At?t[e]!==void 0:dr.call(t,e)}function Sd(e,t){var r=this.__data__;return r[e]=At&&t===void 0?ki:t,this}Be.prototype.clear=md;Be.prototype.delete=bd;Be.prototype.get=wd;Be.prototype.has=Ed;Be.prototype.set=Sd;function tt(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function xd(){this.__data__=[]}function Rd(e){var t=this.__data__,r=pr(t,e);if(r<0)return!1;var i=t.length-1;return r==i?t.pop():_d.call(t,r,1),!0}function Td(e){var t=this.__data__,r=pr(t,e);return r<0?void 0:t[r][1]}function Od(e){return pr(this.__data__,e)>-1}function Ad(e,t){var r=this.__data__,i=pr(r,e);return i<0?r.push([e,t]):r[i][1]=t,this}tt.prototype.clear=xd;tt.prototype.delete=Rd;tt.prototype.get=Td;tt.prototype.has=Od;tt.prototype.set=Ad;function rt(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function Id(){this.__data__={hash:new Be,map:new(vd||tt),string:new Be}}function Dd(e){return gr(this,e).delete(e)}function Md(e){return gr(this,e).get(e)}function Ld(e){return gr(this,e).has(e)}function Pd(e,t){return gr(this,e).set(e,t),this}rt.prototype.clear=Id;rt.prototype.delete=Dd;rt.prototype.get=Md;rt.prototype.has=Ld;rt.prototype.set=Pd;function cr(e){var t=-1,r=e?e.length:0;for(this.__data__=new rt;++t<r;)this.add(e[t])}function Cd(e){return this.__data__.set(e,ki),this}function Nd(e){return this.__data__.has(e)}cr.prototype.add=cr.prototype.push=Cd;cr.prototype.has=Nd;function pr(e,t){for(var r=e.length;r--;)if(Wd(e[r][0],t))return r;return-1}function qd(e,t,r,i){var n=-1,a=rd,s=!0,o=e.length,f=[],l=t.length;if(!o)return f;r&&(t=nd(t,ud(r))),i?(a=id,s=!1):t.length>=Zc&&(a=ld,s=!1,t=new cr(t));e:for(;++n<o;){var c=e[n],p=r?r(c):c;if(c=i||c!==0?c:0,s&&p===p){for(var d=l;d--;)if(t[d]===p)continue e;f.push(c)}else a(t,p,i)||f.push(c)}return f}function js(e,t,r,i,n){var a=-1,s=e.length;for(r||(r=kd),n||(n=[]);++a<s;){var o=e[a];t>0&&r(o)?t>1?js(o,t-1,r,i,n):ad(n,o):i||(n[n.length]=o)}return n}function Bd(e){if(!Gs(e)||Ud(e))return!1;var t=zs(e)||cd(e)?gd:Xc;return t.test(zd(e))}function Fd(e,t){return t=Bs(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,n=Bs(r.length-t,0),a=Array(n);++i<n;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=a,td(e,this,s)}}function gr(e,t){var r=e.__data__;return jd(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Us(e,t){var r=hd(e,t);return Bd(r)?r:void 0}function kd(e){return Zd(e)||Hd(e)||!!(qs&&e&&e[qs])}function jd(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Ud(e){return!!Cs&&Cs in e}function zd(e){if(e!=null){try{return Fs.call(e)}catch{}try{return e+""}catch{}}return""}var Gd=Fd(function(e,t){return Fi(e)?qd(e,js(t,1,Fi,!0)):[]});function Wd(e,t){return e===t||e!==e&&t!==t}function Hd(e){return Fi(e)&&dr.call(e,"callee")&&(!yd.call(e,"callee")||ks.call(e)==Vc)}var Zd=Array.isArray;function $d(e){return e!=null&&Vd(e.length)&&!zs(e)}function Fi(e){return Yd(e)&&$d(e)}function zs(e){var t=Gs(e)?ks.call(e):"";return t==Yc||t==Kc}function Vd(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=$c}function Gs(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Yd(e){return!!e&&typeof e=="object"}Ws.exports=Gd});var Vi=y((pm,ro)=>{u();var Kd=200,Hi="__lodash_hash_undefined__",Qd=1/0,Xd=9007199254740991,Jd="[object Arguments]",ep="[object Function]",tp="[object GeneratorFunction]",rp=/[\\^$.*+?()[\]{}|]/g,ip=/^\[object .+?Constructor\]$/,np=typeof global=="object"&&global&&global.Object===Object&&global,ap=typeof self=="object"&&self&&self.Object===Object&&self,_r=np||ap||Function("return this")();function sp(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function op(e,t){var r=e?e.length:0;return!!r&&hp(e,t,0)>-1}function fp(e,t,r){for(var i=-1,n=e?e.length:0;++i<n;)if(r(t,e[i]))return!0;return!1}function up(e,t){for(var r=-1,i=t.length,n=e.length;++r<i;)e[n+r]=t[r];return e}function lp(e,t,r,i){for(var n=e.length,a=r+(i?1:-1);i?a--:++a<n;)if(t(e[a],a,e))return a;return-1}function hp(e,t,r){if(t!==t)return lp(e,cp,r);for(var i=r-1,n=e.length;++i<n;)if(e[i]===t)return i;return-1}function cp(e){return e!==e}function dp(e,t){return e.has(t)}function pp(e,t){return e?.[t]}function gp(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}function Ys(e){var t=-1,r=Array(e.size);return e.forEach(function(i){r[++t]=i}),r}var yp=Array.prototype,_p=Function.prototype,Zi=Object.prototype,Gi=_r["__core-js_shared__"],Hs=(function(){var e=/[^.]+$/.exec(Gi&&Gi.keys&&Gi.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})(),Ks=_p.toString,vr=Zi.hasOwnProperty,Qs=Zi.toString,vp=RegExp("^"+Ks.call(vr).replace(rp,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Zs=_r.Symbol,mp=Zi.propertyIsEnumerable,bp=yp.splice,$s=Zs?Zs.isConcatSpreadable:void 0,Vs=Math.max,wp=$i(_r,"Map"),Wi=$i(_r,"Set"),It=$i(Object,"create");function Fe(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function Ep(){this.__data__=It?It(null):{}}function Sp(e){return this.has(e)&&delete this.__data__[e]}function xp(e){var t=this.__data__;if(It){var r=t[e];return r===Hi?void 0:r}return vr.call(t,e)?t[e]:void 0}function Rp(e){var t=this.__data__;return It?t[e]!==void 0:vr.call(t,e)}function Tp(e,t){var r=this.__data__;return r[e]=It&&t===void 0?Hi:t,this}Fe.prototype.clear=Ep;Fe.prototype.delete=Sp;Fe.prototype.get=xp;Fe.prototype.has=Rp;Fe.prototype.set=Tp;function it(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function Op(){this.__data__=[]}function Ap(e){var t=this.__data__,r=mr(t,e);if(r<0)return!1;var i=t.length-1;return r==i?t.pop():bp.call(t,r,1),!0}function Ip(e){var t=this.__data__,r=mr(t,e);return r<0?void 0:t[r][1]}function Dp(e){return mr(this.__data__,e)>-1}function Mp(e,t){var r=this.__data__,i=mr(r,e);return i<0?r.push([e,t]):r[i][1]=t,this}it.prototype.clear=Op;it.prototype.delete=Ap;it.prototype.get=Ip;it.prototype.has=Dp;it.prototype.set=Mp;function nt(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function Lp(){this.__data__={hash:new Fe,map:new(wp||it),string:new Fe}}function Pp(e){return br(this,e).delete(e)}function Cp(e){return br(this,e).get(e)}function Np(e){return br(this,e).has(e)}function qp(e,t){return br(this,e).set(e,t),this}nt.prototype.clear=Lp;nt.prototype.delete=Pp;nt.prototype.get=Cp;nt.prototype.has=Np;nt.prototype.set=qp;function yr(e){var t=-1,r=e?e.length:0;for(this.__data__=new nt;++t<r;)this.add(e[t])}function Bp(e){return this.__data__.set(e,Hi),this}function Fp(e){return this.__data__.has(e)}yr.prototype.add=yr.prototype.push=Bp;yr.prototype.has=Fp;function mr(e,t){for(var r=e.length;r--;)if(Vp(e[r][0],t))return r;return-1}function Xs(e,t,r,i,n){var a=-1,s=e.length;for(r||(r=Gp),n||(n=[]);++a<s;){var o=e[a];t>0&&r(o)?t>1?Xs(o,t-1,r,i,n):up(n,o):i||(n[n.length]=o)}return n}function kp(e){if(!to(e)||Hp(e))return!1;var t=eo(e)||gp(e)?vp:ip;return t.test(Zp(e))}function jp(e,t){return t=Vs(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,n=Vs(r.length-t,0),a=Array(n);++i<n;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=a,sp(e,this,s)}}function Up(e,t,r){var i=-1,n=op,a=e.length,s=!0,o=[],f=o;if(r)s=!1,n=fp;else if(a>=Kd){var l=t?null:zp(e);if(l)return Ys(l);s=!1,n=dp,f=new yr}else f=t?[]:o;e:for(;++i<a;){var c=e[i],p=t?t(c):c;if(c=r||c!==0?c:0,s&&p===p){for(var d=f.length;d--;)if(f[d]===p)continue e;t&&f.push(p),o.push(c)}else n(f,p,r)||(f!==o&&f.push(p),o.push(c))}return o}var zp=Wi&&1/Ys(new Wi([,-0]))[1]==Qd?function(e){return new Wi(e)}:eg;function br(e,t){var r=e.__data__;return Wp(t)?r[typeof t=="string"?"string":"hash"]:r.map}function $i(e,t){var r=pp(e,t);return kp(r)?r:void 0}function Gp(e){return Kp(e)||Yp(e)||!!($s&&e&&e[$s])}function Wp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Hp(e){return!!Hs&&Hs in e}function Zp(e){if(e!=null){try{return Ks.call(e)}catch{}try{return e+""}catch{}}return""}var $p=jp(function(e){return Up(Xs(e,1,Js,!0))});function Vp(e,t){return e===t||e!==e&&t!==t}function Yp(e){return Js(e)&&vr.call(e,"callee")&&(!mp.call(e,"callee")||Qs.call(e)==Jd)}var Kp=Array.isArray;function Qp(e){return e!=null&&Xp(e.length)&&!eo(e)}function Js(e){return Jp(e)&&Qp(e)}function eo(e){var t=to(e)?Qs.call(e):"";return t==ep||t==tp}function Xp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Xd}function to(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Jp(e){return!!e&&typeof e=="object"}function eg(){}ro.exports=$p});var Yi=y((ym,ao)=>{u();var tg="[object Object]";function rg(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}function ig(e,t){return function(r){return e(t(r))}}var ng=Function.prototype,io=Object.prototype,no=ng.toString,ag=io.hasOwnProperty,sg=no.call(Object),og=io.toString,fg=ig(Object.getPrototypeOf,Object);function ug(e){return!!e&&typeof e=="object"}function lg(e){if(!ug(e)||og.call(e)!=tg||rg(e))return!1;var t=fg(e);if(t===null)return!0;var r=ag.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&no.call(r)==sg}ao.exports=lg});var oo=y((vm,so)=>{u();so.exports=function(e,t){for(var r=[],i=0;i<e.length;i++){var n=t(e[i],i);hg(n)?r.push.apply(r,n):r.push(n)}return r};var hg=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"}});var go=y((wm,po)=>{u();var bm=oo(),fo=xl();po.exports=mg;var uo="\0SLASH"+Math.random()+"\0",lo="\0OPEN"+Math.random()+"\0",Ji="\0CLOSE"+Math.random()+"\0",ho="\0COMMA"+Math.random()+"\0",co="\0PERIOD"+Math.random()+"\0",cg=1e5,dg=4e6,pg=1e3,gg=1e3;function Ki(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function yg(e){return e.split("\\\\").join(uo).split("\\{").join(lo).split("\\}").join(Ji).split("\\,").join(ho).split("\\.").join(co)}function _g(e){return e.split(uo).join("\\").split(lo).join("{").split(Ji).join("}").split(ho).join(",").split(co).join(".")}function Qi(e,t){for(var r=0;r<t.length;r++)e.push(t[r])}function vg(e){for(var t=[],r="";;){var i=fo("{","}",e);if(!i){var n=e.split(",");return n[0]=r+n[0],Qi(t,n),t}var a=i.pre,s=i.body,o=i.post,f=a.split(",");if(f[0]=r+f[0],f[f.length-1]+="{"+s+"}",!o.length)return Qi(t,f),t;r=f.pop(),Qi(t,f),e=o}}function mg(e,t){if(!e)return[];t=t||{};var r=t.max==null?cg:t.max,i=t.maxLength==null?dg:t.maxLength,n=t.maxDepth==null?pg:t.maxDepth,a=t.maxRewrites==null?gg:t.maxRewrites;return e.substr(0,2)==="{}"&&(e="\\{\\}"+e.substr(2)),Xi(yg(e),r,i,n,0,a,!0).map(_g)}function bg(e){return"{"+e+"}"}function wg(e){return/^-?0\d/.test(e)}function Eg(e,t){return e<=t}function Sg(e,t){return e>=t}function Dt(e,t,r,i,n,a,s,o){for(var f=[],l=0,c=0;c<e.length;c++)for(var p=0;p<i.length;p++){if(f.length>=n)return f;var d=e[c]+r+i[p];if(!(s&&d.length===t[c])){if(l+d.length>a)return f;f.push(d),o.push(t[c]),l+=d.length}}return f}function xg(e,t,r,i){var n=e.split(/\.\./),a=[];if(n[0]===void 0||n[1]===void 0)return a;var s=Ki(n[0]),o=Ki(n[1]),f=Math.max(n[0].length,n[1].length),l=n.length===3&&n[2]!==void 0?Math.max(Math.abs(Ki(n[2])),1):1,c=Eg,p=o<s;p&&(l*=-1,c=Sg);for(var d=n.some(wg),h=0,g=s;c(g,o)&&a.length<r;g+=l){var b;if(t)b=String.fromCharCode(g),b==="\\"&&(b="");else if(b=String(g),d){var x=f-b.length;if(x>0){var S=new Array(x+1).join("0");g<0?b="-"+S+b.slice(1):b=S+b}}if(h+b.length>i)break;a.push(b),h+=b.length}return a}function Xi(e,t,r,i,n,a,s){if(n>i)return[e];for(var o=[""],f=[0],l=0,c=!1,p=!0,d;;){var h=fo("{","}",e);if(!h)return Dt(o,f,e,[""],t,r,c,[]);var g=h.pre;if(/\$$/.test(g))return Dt(o,f,e,[""],t,r,c,[]);var b=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(h.body),x=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(h.body),S=b||x,C=h.body.indexOf(",")>=0;if(!S&&!C){if(l<a&&h.post.match(/,(?!,).*\}/)){l++,e=h.pre+"{"+h.body+Ji+h.post,s=!0,p=!0,c=!1,f=[];for(var X=0;X<o.length;X++)f.push(o[X].length);continue}return Dt(o,f,g+"{"+h.body+"}"+h.post,[""],t,r,c,[])}p&&(c=s&&!S,p=!1);var Z;if(S)Z=xg(h.body,x,t,r);else{var G=vg(h.body);if(G.length===1&&G[0]!==void 0&&(G=Xi(G[0],t,r,i,n+1,a,!1).map(bg),G.length===1)){if(d=[],o=Dt(o,f,g+G[0],[""],t,r,c&&!h.post.length,d),f=d,!h.post.length)break;e=h.post;continue}for(var pe=c&&!h.post.length&&!g,v=0;pe&&v<o.length;v++)o[v].length!==f[v]&&(pe=!1);Z=[];var q=0;e:for(var m=0;m<G.length;m++)for(var A=Xi(G[m],t,r,i,n+1,a,!1),I=0;I<A.length;I++){var N=A[I];if(!(pe&&!N)){if(Z.length>=t||q+N.length>r)break e;Z.push(N),q+=N.length}}}if(d=[],o=Dt(o,f,g,Z,t,r,c&&!h.post.length,d),f=d,!h.post.length)break;e=h.post}return o}});var Sr=y((Sm,bo)=>{u();bo.exports=ee;ee.Minimatch=z;var Mt=(function(){try{return w("path")}catch{}})()||{sep:"/"};ee.sep=Mt.sep;var ke=ee.GLOBSTAR=z.GLOBSTAR={},Rg=go(),yo={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},en="[^/]",tn=en+"*?",Tg="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Og="(?:(?!(?:\\/|^)\\.).)*?",_o=Ag("().*{}+?[]^$\\!");function Ag(e){return e.split("").reduce(function(t,r){return t[r]=!0,t},{})}var vo=/\/+/;ee.filter=Ig;function Ig(e,t){return t=t||{},function(r,i,n){return ee(r,e,t)}}function Ee(e,t){t=t||{};var r={};return Object.keys(e).forEach(function(i){r[i]=e[i]}),Object.keys(t).forEach(function(i){r[i]=t[i]}),r}ee.defaults=function(e){if(!e||typeof e!="object"||!Object.keys(e).length)return ee;var t=ee,r=function(n,a,s){return t(n,a,Ee(e,s))};return r.Minimatch=function(n,a){return new t.Minimatch(n,Ee(e,a))},r.Minimatch.defaults=function(n){return t.defaults(Ee(e,n)).Minimatch},r.filter=function(n,a){return t.filter(n,Ee(e,a))},r.defaults=function(n){return t.defaults(Ee(e,n))},r.makeRe=function(n,a){return t.makeRe(n,Ee(e,a))},r.braceExpand=function(n,a){return t.braceExpand(n,Ee(e,a))},r.match=function(i,n,a){return t.match(i,n,Ee(e,a))},r};z.defaults=function(e){return ee.defaults(e).Minimatch};function ee(e,t,r){return Er(t),r||(r={}),!r.nocomment&&t.charAt(0)==="#"?!1:new z(t,r).match(e)}function z(e,t){if(!(this instanceof z))return new z(e,t);Er(e),t||(t={}),e=e.trim(),!t.allowWindowsEscape&&Mt.sep!=="/"&&(e=e.split(Mt.sep).join("/")),this.options=t,this.maxGlobstarRecursion=t.maxGlobstarRecursion!==void 0?t.maxGlobstarRecursion:200,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}z.prototype.debug=function(){};z.prototype.make=Dg;function Dg(){var e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate();var r=this.globSet=this.braceExpand();t.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,r),r=this.globParts=r.map(function(i){return i.split(vo)}),this.debug(this.pattern,r),r=r.map(function(i,n,a){return i.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(i){return i.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}z.prototype.parseNegate=Mg;function Mg(){var e=this.pattern,t=!1,r=this.options,i=0;if(!r.nonegate){for(var n=0,a=e.length;n<a&&e.charAt(n)==="!";n++)t=!t,i++;i&&(this.pattern=e.substr(i)),this.negate=t}}ee.braceExpand=function(e,t){return mo(e,t)};z.prototype.braceExpand=mo;function mo(e,t){return t||(this instanceof z?t=this.options:t={}),e=typeof e>"u"?this.pattern:e,Er(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:Rg(e)}var Lg=1024*64,Er=function(e){if(typeof e!="string")throw new TypeError("invalid pattern");if(e.length>Lg)throw new TypeError("pattern is too long")};z.prototype.parse=Pg;var wr={};function Pg(e,t){Er(e);var r=this.options;if(e==="**")if(r.noglobstar)e="*";else return ke;if(e==="")return"";var i="",n=!!r.nocase,a=!1,s=[],o=[],f,l=!1,c=-1,p=-1,d=e.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",h=this;function g(){if(f){switch(f){case"*":i+=tn,n=!0;break;case"?":i+=en,n=!0;break;default:i+="\\"+f;break}h.debug("clearStateChar %j %j",f,i),f=!1}}for(var b=0,x=e.length,S;b<x&&(S=e.charAt(b));b++){if(this.debug("%s %s %s %j",e,b,i,S),a&&_o[S]){i+="\\"+S,a=!1;continue}switch(S){case"/":return!1;case"\\":g(),a=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",e,b,i,S),l){this.debug(" in class"),S==="!"&&b===p+1&&(S="^"),i+=S;continue}if(S==="*"&&f==="*")continue;h.debug("call clearStateChar %j",f),g(),f=S,r.noext&&g();continue;case"(":if(l){i+="(";continue}if(!f){i+="\\(";continue}s.push({type:f,start:b-1,reStart:i.length,open:yo[f].open,close:yo[f].close}),i+=f==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",f,i),f=!1;continue;case")":if(l||!s.length){i+="\\)";continue}g(),n=!0;var C=s.pop();i+=C.close,C.type==="!"&&o.push(C),C.reEnd=i.length;continue;case"|":if(l||!s.length||a){i+="\\|",a=!1;continue}g(),i+="|";continue;case"[":if(g(),l){i+="\\"+S;continue}l=!0,p=b,c=i.length,i+=S;continue;case"]":if(b===p+1||!l){i+="\\"+S,a=!1;continue}var X=e.substring(p+1,b);try{RegExp("["+X+"]")}catch{var Z=this.parse(X,wr);i=i.substr(0,c)+"\\["+Z[0]+"\\]",n=n||Z[1],l=!1;continue}n=!0,l=!1,i+=S;continue;default:g(),a?a=!1:_o[S]&&!(S==="^"&&l)&&(i+="\\"),i+=S}}for(l&&(X=e.substr(p+1),Z=this.parse(X,wr),i=i.substr(0,c)+"\\["+Z[0],n=n||Z[1]),C=s.pop();C;C=s.pop()){var G=i.slice(C.reStart+C.open.length);this.debug("setting tail",i,C),G=G.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(wa,Ea,ei){return ei||(ei="\\"),Ea+Ea+ei+"|"}),this.debug(`tail=%j
2
+ %s`,G,G,C,i);var pe=C.type==="*"?tn:C.type==="?"?en:"\\"+C.type;n=!0,i=i.slice(0,C.reStart)+pe+"\\("+G}g(),a&&(i+="\\\\");var v=!1;switch(i.charAt(0)){case"[":case".":case"(":v=!0}for(var q=o.length-1;q>-1;q--){var m=o[q],A=i.slice(0,m.reStart),I=i.slice(m.reStart,m.reEnd-8),N=i.slice(m.reEnd-8,m.reEnd),ge=i.slice(m.reEnd);N+=ge;var bl=A.split("(").length-1,Xr=ge;for(b=0;b<bl;b++)Xr=Xr.replace(/\)[+*?]?/,"");ge=Xr;var ba="";ge===""&&t!==wr&&(ba="$");var wl=A+I+ge+ba+N;i=wl}if(i!==""&&n&&(i="(?=.)"+i),v&&(i=d+i),t===wr)return[i,n];if(!n)return Ng(e);var El=r.nocase?"i":"";try{var Jr=new RegExp("^"+i+"$",El)}catch{return new RegExp("$.")}return Jr._glob=e,Jr._src=i,Jr}ee.makeRe=function(e,t){return new z(e,t||{}).makeRe()};z.prototype.makeRe=Cg;function Cg(){if(this.regexp||this.regexp===!1)return this.regexp;var e=this.set;if(!e.length)return this.regexp=!1,this.regexp;var t=this.options,r=t.noglobstar?tn:t.dot?Tg:Og,i=t.nocase?"i":"",n=e.map(function(a){return a.map(function(s){return s===ke?r:typeof s=="string"?qg(s):s._src}).join("\\/")}).join("|");n="^(?:"+n+")$",this.negate&&(n="^(?!"+n+").*$");try{this.regexp=new RegExp(n,i)}catch{this.regexp=!1}return this.regexp}ee.match=function(e,t,r){r=r||{};var i=new z(t,r);return e=e.filter(function(n){return i.match(n)}),i.options.nonull&&!e.length&&e.push(t),e};z.prototype.match=function(t,r){if(typeof r>"u"&&(r=this.partial),this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return t==="";if(t==="/"&&r)return!0;var i=this.options;Mt.sep!=="/"&&(t=t.split(Mt.sep).join("/")),t=t.split(vo),this.debug(this.pattern,"split",t);var n=this.set;this.debug(this.pattern,"set",n);var a,s;for(s=t.length-1;s>=0&&(a=t[s],!a);s--);for(s=0;s<n.length;s++){var o=n[s],f=t;i.matchBase&&o.length===1&&(f=[a]);var l=this.matchOne(f,o,r);if(l)return i.flipNegate?!0:!this.negate}return i.flipNegate?!1:this.negate};z.prototype.matchOne=function(e,t,r){return t.indexOf(ke)!==-1?this._matchGlobstar(e,t,r,0,0):this._matchOne(e,t,r,0,0)};z.prototype._matchGlobstar=function(e,t,r,i,n){var a,s=-1;for(a=n;a<t.length;a++)if(t[a]===ke){s=a;break}var o=-1;for(a=t.length-1;a>=0;a--)if(t[a]===ke){o=a;break}var f=t.slice(n,s),l=r?t.slice(s+1):t.slice(s+1,o),c=r?[]:t.slice(o+1);if(f.length){var p=e.slice(i,i+f.length);if(!this._matchOne(p,f,r,0,0))return!1;i+=f.length}var d=0;if(c.length){if(c.length+i>e.length)return!1;var h=e.length-c.length;if(this._matchOne(e,c,r,h,0))d=c.length;else{if(e[e.length-1]!==""||i+c.length===e.length||(h--,!this._matchOne(e,c,r,h,0)))return!1;d=c.length+1}}if(!l.length){var g=!!d;for(a=i;a<e.length-d;a++){var b=String(e[a]);if(g=!0,b==="."||b===".."||!this.options.dot&&b.charAt(0)===".")return!1}return r||g}for(var x=[[[],0]],S=x[0],C=0,X=[0],Z=0;Z<l.length;Z++){var G=l[Z];G===ke?(X.push(C),S=[[],0],x.push(S)):(S[0].push(G),C++)}for(var pe=x.length-1,v=e.length-d,q=0;q<x.length;q++)x[q][1]=v-(X[pe--]+x[q][0].length);return!!this._matchGlobStarBodySections(e,x,i,0,r,0,!!d)};z.prototype._matchGlobStarBodySections=function(e,t,r,i,n,a,s){var o=t[i];if(!o){for(var f=r;f<e.length;f++){s=!0;var l=e[f];if(l==="."||l===".."||!this.options.dot&&l.charAt(0)===".")return!1}return s}for(var c=o[0],p=o[1];r<=p;){var d=this._matchOne(e.slice(0,r+c.length),c,n,r,0);if(d&&a<this.maxGlobstarRecursion){var h=this._matchGlobStarBodySections(e,t,r+c.length,i+1,n,a+1,s);if(h!==!1)return h}var l=e[r];if(l==="."||l===".."||!this.options.dot&&l.charAt(0)===".")return!1;r++}return n||null};z.prototype._matchOne=function(e,t,r,i,n){var a,s,o,f;for(a=i,s=n,o=e.length,f=t.length;a<o&&s<f;a++,s++){this.debug("matchOne loop");var l=t[s],c=e[a];if(this.debug(t,l,c),l===!1||l===ke)return!1;var p;if(typeof l=="string"?(p=c===l,this.debug("string match",l,c,p)):(p=c.match(l),this.debug("pattern match",l,c,p)),!p)return!1}if(a===o&&s===f)return!0;if(a===o)return r;if(s===f)return a===o-1&&e[a]==="";throw new Error("wtf?")};function Ng(e){return e.replace(/\\(.)/g,"$1")}function qg(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}});var Rr=y((Rm,xr)=>{"use strict";u();function wo(e){return e.charAt(0)==="/"}function Eo(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,r=t.exec(e),i=r[1]||"",n=!!(i&&i.charAt(1)!==":");return!!(r[2]||n)}xr.exports=process.platform==="win32"?Eo:wo;xr.exports.posix=wo;xr.exports.win32=Eo});var nn=y(Se=>{u();Se.setopts=zg;Se.ownProp=So;Se.makeAbs=Lt;Se.finish=Gg;Se.mark=Wg;Se.isIgnored=Ro;Se.childrenIgnored=Hg;function So(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Bg=w("fs"),at=w("path"),Fg=Sr(),xo=Rr(),rn=Fg.Minimatch;function kg(e,t){return e.localeCompare(t,"en")}function jg(e,t){e.ignore=t.ignore||[],Array.isArray(e.ignore)||(e.ignore=[e.ignore]),e.ignore.length&&(e.ignore=e.ignore.map(Ug))}function Ug(e){var t=null;if(e.slice(-3)==="/**"){var r=e.replace(/(\/\*\*)+$/,"");t=new rn(r,{dot:!0})}return{matcher:new rn(e,{dot:!0}),gmatcher:t}}function zg(e,t,r){if(r||(r={}),r.matchBase&&t.indexOf("/")===-1){if(r.noglobstar)throw new Error("base matching requires globstar");t="**/"+t}e.silent=!!r.silent,e.pattern=t,e.strict=r.strict!==!1,e.realpath=!!r.realpath,e.realpathCache=r.realpathCache||Object.create(null),e.follow=!!r.follow,e.dot=!!r.dot,e.mark=!!r.mark,e.nodir=!!r.nodir,e.nodir&&(e.mark=!0),e.sync=!!r.sync,e.nounique=!!r.nounique,e.nonull=!!r.nonull,e.nosort=!!r.nosort,e.nocase=!!r.nocase,e.stat=!!r.stat,e.noprocess=!!r.noprocess,e.absolute=!!r.absolute,e.fs=r.fs||Bg,e.maxLength=r.maxLength||1/0,e.cache=r.cache||Object.create(null),e.statCache=r.statCache||Object.create(null),e.symlinks=r.symlinks||Object.create(null),jg(e,r),e.changedCwd=!1;var i=process.cwd();So(r,"cwd")?(e.cwd=at.resolve(r.cwd),e.changedCwd=e.cwd!==i):e.cwd=i,e.root=r.root||at.resolve(e.cwd,"/"),e.root=at.resolve(e.root),process.platform==="win32"&&(e.root=e.root.replace(/\\/g,"/")),e.cwdAbs=xo(e.cwd)?e.cwd:Lt(e,e.cwd),process.platform==="win32"&&(e.cwdAbs=e.cwdAbs.replace(/\\/g,"/")),e.nomount=!!r.nomount,r.nonegate=!0,r.nocomment=!0,r.allowWindowsEscape=!1,e.minimatch=new rn(t,r),e.options=e.minimatch.options}function Gg(e){for(var t=e.nounique,r=t?[]:Object.create(null),i=0,n=e.matches.length;i<n;i++){var a=e.matches[i];if(!a||Object.keys(a).length===0){if(e.nonull){var s=e.minimatch.globSet[i];t?r.push(s):r[s]=!0}}else{var o=Object.keys(a);t?r.push.apply(r,o):o.forEach(function(f){r[f]=!0})}}if(t||(r=Object.keys(r)),e.nosort||(r=r.sort(kg)),e.mark){for(var i=0;i<r.length;i++)r[i]=e._mark(r[i]);e.nodir&&(r=r.filter(function(f){var l=!/\/$/.test(f),c=e.cache[f]||e.cache[Lt(e,f)];return l&&c&&(l=c!=="DIR"&&!Array.isArray(c)),l}))}e.ignore.length&&(r=r.filter(function(f){return!Ro(e,f)})),e.found=r}function Wg(e,t){var r=Lt(e,t),i=e.cache[r],n=t;if(i){var a=i==="DIR"||Array.isArray(i),s=t.slice(-1)==="/";if(a&&!s?n+="/":!a&&s&&(n=n.slice(0,-1)),n!==t){var o=Lt(e,n);e.statCache[o]=e.statCache[r],e.cache[o]=e.cache[r]}}return n}function Lt(e,t){var r=t;return t.charAt(0)==="/"?r=at.join(e.root,t):xo(t)||t===""?r=t:e.changedCwd?r=at.resolve(e.cwd,t):r=at.resolve(t),process.platform==="win32"&&(r=r.replace(/\\/g,"/")),r}function Ro(e,t){return e.ignore.length?e.ignore.some(function(r){return r.matcher.match(t)||!!(r.gmatcher&&r.gmatcher.match(t))}):!1}function Hg(e,t){return e.ignore.length?e.ignore.some(function(r){return!!(r.gmatcher&&r.gmatcher.match(t))}):!1}});var Do=y((Lm,Io)=>{u();Io.exports=Ao;Ao.GlobSync=W;var Zg=Ta(),To=Sr(),Im=To.Minimatch,Dm=Or().Glob,Mm=w("util"),an=w("path"),Oo=w("assert"),Tr=Rr(),je=nn(),$g=je.setopts,sn=je.ownProp,Vg=je.childrenIgnored,Yg=je.isIgnored;function Ao(e,t){if(typeof t=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
3
+ See: https://github.com/isaacs/node-glob/issues/167`);return new W(e,t).found}function W(e,t){if(!e)throw new Error("must provide pattern");if(typeof t=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
4
+ See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof W))return new W(e,t);if($g(this,e,t),this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var i=0;i<r;i++)this._process(this.minimatch.set[i],i,!1);this._finish()}W.prototype._finish=function(){if(Oo.ok(this instanceof W),this.realpath){var e=this;this.matches.forEach(function(t,r){var i=e.matches[r]=Object.create(null);for(var n in t)try{n=e._makeAbs(n);var a=Zg.realpathSync(n,e.realpathCache);i[a]=!0}catch(s){if(s.syscall==="stat")i[e._makeAbs(n)]=!0;else throw s}})}je.finish(this)};W.prototype._process=function(e,t,r){Oo.ok(this instanceof W);for(var i=0;typeof e[i]=="string";)i++;var n;switch(i){case e.length:this._processSimple(e.join("/"),t);return;case 0:n=null;break;default:n=e.slice(0,i).join("/");break}var a=e.slice(i),s;n===null?s=".":((Tr(n)||Tr(e.map(function(l){return typeof l=="string"?l:"[*]"}).join("/")))&&(!n||!Tr(n))&&(n="/"+n),s=n);var o=this._makeAbs(s);if(!Vg(this,s)){var f=a[0]===To.GLOBSTAR;f?this._processGlobStar(n,s,o,a,t,r):this._processReaddir(n,s,o,a,t,r)}};W.prototype._processReaddir=function(e,t,r,i,n,a){var s=this._readdir(r,a);if(s){for(var o=i[0],f=!!this.minimatch.negate,l=o._glob,c=this.dot||l.charAt(0)===".",p=[],d=0;d<s.length;d++){var h=s[d];if(h.charAt(0)!=="."||c){var g;f&&!e?g=!h.match(o):g=h.match(o),g&&p.push(h)}}var b=p.length;if(b!==0){if(i.length===1&&!this.mark&&!this.stat){this.matches[n]||(this.matches[n]=Object.create(null));for(var d=0;d<b;d++){var h=p[d];e&&(e.slice(-1)!=="/"?h=e+"/"+h:h=e+h),h.charAt(0)==="/"&&!this.nomount&&(h=an.join(this.root,h)),this._emitMatch(n,h)}return}i.shift();for(var d=0;d<b;d++){var h=p[d],x;e?x=[e,h]:x=[h],this._process(x.concat(i),n,a)}}}};W.prototype._emitMatch=function(e,t){if(!Yg(this,t)){var r=this._makeAbs(t);if(this.mark&&(t=this._mark(t)),this.absolute&&(t=r),!this.matches[e][t]){if(this.nodir){var i=this.cache[r];if(i==="DIR"||Array.isArray(i))return}this.matches[e][t]=!0,this.stat&&this._stat(t)}}};W.prototype._readdirInGlobStar=function(e){if(this.follow)return this._readdir(e,!1);var t,r,i;try{r=this.fs.lstatSync(e)}catch(a){if(a.code==="ENOENT")return null}var n=r&&r.isSymbolicLink();return this.symlinks[e]=n,!n&&r&&!r.isDirectory()?this.cache[e]="FILE":t=this._readdir(e,!1),t};W.prototype._readdir=function(e,t){var r;if(t&&!sn(this.symlinks,e))return this._readdirInGlobStar(e);if(sn(this.cache,e)){var i=this.cache[e];if(!i||i==="FILE")return null;if(Array.isArray(i))return i}try{return this._readdirEntries(e,this.fs.readdirSync(e))}catch(n){return this._readdirError(e,n),null}};W.prototype._readdirEntries=function(e,t){if(!this.mark&&!this.stat)for(var r=0;r<t.length;r++){var i=t[r];e==="/"?i=e+i:i=e+"/"+i,this.cache[i]=!0}return this.cache[e]=t,t};W.prototype._readdirError=function(e,t){switch(t.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(e);if(this.cache[r]="FILE",r===this.cwdAbs){var i=new Error(t.code+" invalid cwd "+this.cwd);throw i.path=this.cwd,i.code=t.code,i}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=!1;break;default:if(this.cache[this._makeAbs(e)]=!1,this.strict)throw t;this.silent||console.error("glob error",t);break}};W.prototype._processGlobStar=function(e,t,r,i,n,a){var s=this._readdir(r,a);if(s){var o=i.slice(1),f=e?[e]:[],l=f.concat(o);this._process(l,n,!1);var c=s.length,p=this.symlinks[r];if(!(p&&a))for(var d=0;d<c;d++){var h=s[d];if(!(h.charAt(0)==="."&&!this.dot)){var g=f.concat(s[d],o);this._process(g,n,!0);var b=f.concat(s[d],i);this._process(b,n,!0)}}}};W.prototype._processSimple=function(e,t){var r=this._stat(e);if(this.matches[t]||(this.matches[t]=Object.create(null)),!!r){if(e&&Tr(e)&&!this.nomount){var i=/[\/\\]$/.test(e);e.charAt(0)==="/"?e=an.join(this.root,e):(e=an.resolve(this.root,e),i&&(e+="/"))}process.platform==="win32"&&(e=e.replace(/\\/g,"/")),this._emitMatch(t,e)}};W.prototype._stat=function(e){var t=this._makeAbs(e),r=e.slice(-1)==="/";if(e.length>this.maxLength)return!1;if(!this.stat&&sn(this.cache,t)){var s=this.cache[t];if(Array.isArray(s)&&(s="DIR"),!r||s==="DIR")return s;if(r&&s==="FILE")return!1}var i,n=this.statCache[t];if(!n){var a;try{a=this.fs.lstatSync(t)}catch(o){if(o&&(o.code==="ENOENT"||o.code==="ENOTDIR"))return this.statCache[t]=!1,!1}if(a&&a.isSymbolicLink())try{n=this.fs.statSync(t)}catch{n=a}else n=a}this.statCache[t]=n;var s=!0;return n&&(s=n.isDirectory()?"DIR":"FILE"),this.cache[t]=this.cache[t]||s,r&&s==="FILE"?!1:s};W.prototype._mark=function(e){return je.mark(this,e)};W.prototype._makeAbs=function(e){return je.makeAbs(this,e)}});var Or=y((qm,Lo)=>{u();Lo.exports=Ue;var Kg=Ta(),Mo=Sr(),Cm=Mo.Minimatch,Qg=J(),Xg=w("events").EventEmitter,on=w("path"),fn=w("assert"),Pt=Rr(),ln=Do(),ze=nn(),Jg=ze.setopts,un=ze.ownProp,hn=Il(),Nm=w("util"),ey=ze.childrenIgnored,ty=ze.isIgnored,ry=Rl();function Ue(e,t,r){if(typeof t=="function"&&(r=t,t={}),t||(t={}),t.sync){if(r)throw new TypeError("callback provided to sync glob");return ln(e,t)}return new P(e,t,r)}Ue.sync=ln;var iy=Ue.GlobSync=ln.GlobSync;Ue.glob=Ue;function ny(e,t){if(t===null||typeof t!="object")return e;for(var r=Object.keys(t),i=r.length;i--;)e[r[i]]=t[r[i]];return e}Ue.hasMagic=function(e,t){var r=ny({},t);r.noprocess=!0;var i=new P(e,r),n=i.minimatch.set;if(!e)return!1;if(n.length>1)return!0;for(var a=0;a<n[0].length;a++)if(typeof n[0][a]!="string")return!0;return!1};Ue.Glob=P;Qg(P,Xg);function P(e,t,r){if(typeof t=="function"&&(r=t,t=null),t&&t.sync){if(r)throw new TypeError("callback provided to sync glob");return new iy(e,t)}if(!(this instanceof P))return new P(e,t,r);Jg(this,e,t),this._didRealPath=!1;var i=this.minimatch.set.length;this.matches=new Array(i),typeof r=="function"&&(r=ry(r),this.on("error",r),this.on("end",function(f){r(null,f)}));var n=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(i===0)return o();for(var a=!0,s=0;s<i;s++)this._process(this.minimatch.set[s],s,!1,o);a=!1;function o(){--n._processing,n._processing<=0&&(a?process.nextTick(function(){n._finish()}):n._finish())}}P.prototype._finish=function(){if(fn(this instanceof P),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();ze.finish(this),this.emit("end",this.found)}};P.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=!0;var e=this.matches.length;if(e===0)return this._finish();for(var t=this,r=0;r<this.matches.length;r++)this._realpathSet(r,i);function i(){--e===0&&t._finish()}};P.prototype._realpathSet=function(e,t){var r=this.matches[e];if(!r)return t();var i=Object.keys(r),n=this,a=i.length;if(a===0)return t();var s=this.matches[e]=Object.create(null);i.forEach(function(o,f){o=n._makeAbs(o),Kg.realpath(o,n.realpathCache,function(l,c){l?l.syscall==="stat"?s[o]=!0:n.emit("error",l):s[c]=!0,--a===0&&(n.matches[e]=s,t())})})};P.prototype._mark=function(e){return ze.mark(this,e)};P.prototype._makeAbs=function(e){return ze.makeAbs(this,e)};P.prototype.abort=function(){this.aborted=!0,this.emit("abort")};P.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))};P.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var e=this._emitQueue.slice(0);this._emitQueue.length=0;for(var t=0;t<e.length;t++){var r=e[t];this._emitMatch(r[0],r[1])}}if(this._processQueue.length){var i=this._processQueue.slice(0);this._processQueue.length=0;for(var t=0;t<i.length;t++){var n=i[t];this._processing--,this._process(n[0],n[1],n[2],n[3])}}}};P.prototype._process=function(e,t,r,i){if(fn(this instanceof P),fn(typeof i=="function"),!this.aborted){if(this._processing++,this.paused){this._processQueue.push([e,t,r,i]);return}for(var n=0;typeof e[n]=="string";)n++;var a;switch(n){case e.length:this._processSimple(e.join("/"),t,i);return;case 0:a=null;break;default:a=e.slice(0,n).join("/");break}var s=e.slice(n),o;a===null?o=".":((Pt(a)||Pt(e.map(function(c){return typeof c=="string"?c:"[*]"}).join("/")))&&(!a||!Pt(a))&&(a="/"+a),o=a);var f=this._makeAbs(o);if(ey(this,o))return i();var l=s[0]===Mo.GLOBSTAR;l?this._processGlobStar(a,o,f,s,t,r,i):this._processReaddir(a,o,f,s,t,r,i)}};P.prototype._processReaddir=function(e,t,r,i,n,a,s){var o=this;this._readdir(r,a,function(f,l){return o._processReaddir2(e,t,r,i,n,a,l,s)})};P.prototype._processReaddir2=function(e,t,r,i,n,a,s,o){if(!s)return o();for(var f=i[0],l=!!this.minimatch.negate,c=f._glob,p=this.dot||c.charAt(0)===".",d=[],h=0;h<s.length;h++){var g=s[h];if(g.charAt(0)!=="."||p){var b;l&&!e?b=!g.match(f):b=g.match(f),b&&d.push(g)}}var x=d.length;if(x===0)return o();if(i.length===1&&!this.mark&&!this.stat){this.matches[n]||(this.matches[n]=Object.create(null));for(var h=0;h<x;h++){var g=d[h];e&&(e!=="/"?g=e+"/"+g:g=e+g),g.charAt(0)==="/"&&!this.nomount&&(g=on.join(this.root,g)),this._emitMatch(n,g)}return o()}i.shift();for(var h=0;h<x;h++){var g=d[h],S;e&&(e!=="/"?g=e+"/"+g:g=e+g),this._process([g].concat(i),n,a,o)}o()};P.prototype._emitMatch=function(e,t){if(!this.aborted&&!ty(this,t)){if(this.paused){this._emitQueue.push([e,t]);return}var r=Pt(t)?t:this._makeAbs(t);if(this.mark&&(t=this._mark(t)),this.absolute&&(t=r),!this.matches[e][t]){if(this.nodir){var i=this.cache[r];if(i==="DIR"||Array.isArray(i))return}this.matches[e][t]=!0;var n=this.statCache[r];n&&this.emit("stat",t,n),this.emit("match",t)}}};P.prototype._readdirInGlobStar=function(e,t){if(this.aborted)return;if(this.follow)return this._readdir(e,!1,t);var r="lstat\0"+e,i=this,n=hn(r,a);n&&i.fs.lstat(e,n);function a(s,o){if(s&&s.code==="ENOENT")return t();var f=o&&o.isSymbolicLink();i.symlinks[e]=f,!f&&o&&!o.isDirectory()?(i.cache[e]="FILE",t()):i._readdir(e,!1,t)}};P.prototype._readdir=function(e,t,r){if(!this.aborted&&(r=hn("readdir\0"+e+"\0"+t,r),!!r)){if(t&&!un(this.symlinks,e))return this._readdirInGlobStar(e,r);if(un(this.cache,e)){var i=this.cache[e];if(!i||i==="FILE")return r();if(Array.isArray(i))return r(null,i)}var n=this;n.fs.readdir(e,ay(this,e,r))}};function ay(e,t,r){return function(i,n){i?e._readdirError(t,i,r):e._readdirEntries(t,n,r)}}P.prototype._readdirEntries=function(e,t,r){if(!this.aborted){if(!this.mark&&!this.stat)for(var i=0;i<t.length;i++){var n=t[i];e==="/"?n=e+n:n=e+"/"+n,this.cache[n]=!0}return this.cache[e]=t,r(null,t)}};P.prototype._readdirError=function(e,t,r){if(!this.aborted){switch(t.code){case"ENOTSUP":case"ENOTDIR":var i=this._makeAbs(e);if(this.cache[i]="FILE",i===this.cwdAbs){var n=new Error(t.code+" invalid cwd "+this.cwd);n.path=this.cwd,n.code=t.code,this.emit("error",n),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=!1;break;default:this.cache[this._makeAbs(e)]=!1,this.strict&&(this.emit("error",t),this.abort()),this.silent||console.error("glob error",t);break}return r()}};P.prototype._processGlobStar=function(e,t,r,i,n,a,s){var o=this;this._readdir(r,a,function(f,l){o._processGlobStar2(e,t,r,i,n,a,l,s)})};P.prototype._processGlobStar2=function(e,t,r,i,n,a,s,o){if(!s)return o();var f=i.slice(1),l=e?[e]:[],c=l.concat(f);this._process(c,n,!1,o);var p=this.symlinks[r],d=s.length;if(p&&a)return o();for(var h=0;h<d;h++){var g=s[h];if(!(g.charAt(0)==="."&&!this.dot)){var b=l.concat(s[h],f);this._process(b,n,!0,o);var x=l.concat(s[h],i);this._process(x,n,!0,o)}}o()};P.prototype._processSimple=function(e,t,r){var i=this;this._stat(e,function(n,a){i._processSimple2(e,t,n,a,r)})};P.prototype._processSimple2=function(e,t,r,i,n){if(this.matches[t]||(this.matches[t]=Object.create(null)),!i)return n();if(e&&Pt(e)&&!this.nomount){var a=/[\/\\]$/.test(e);e.charAt(0)==="/"?e=on.join(this.root,e):(e=on.resolve(this.root,e),a&&(e+="/"))}process.platform==="win32"&&(e=e.replace(/\\/g,"/")),this._emitMatch(t,e),n()};P.prototype._stat=function(e,t){var r=this._makeAbs(e),i=e.slice(-1)==="/";if(e.length>this.maxLength)return t();if(!this.stat&&un(this.cache,r)){var n=this.cache[r];if(Array.isArray(n)&&(n="DIR"),!i||n==="DIR")return t(null,n);if(i&&n==="FILE")return t()}var a,s=this.statCache[r];if(s!==void 0){if(s===!1)return t(null,s);var o=s.isDirectory()?"DIR":"FILE";return i&&o==="FILE"?t():t(null,o,s)}var f=this,l=hn("stat\0"+r,c);l&&f.fs.lstat(r,l);function c(p,d){if(d&&d.isSymbolicLink())return f.fs.stat(r,function(h,g){h?f._stat2(e,r,null,d,t):f._stat2(e,r,h,g,t)});f._stat2(e,r,p,d,t)}};P.prototype._stat2=function(e,t,r,i,n){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR"))return this.statCache[t]=!1,n();var a=e.slice(-1)==="/";if(this.statCache[t]=i,t.slice(-1)==="/"&&i&&!i.isDirectory())return n(null,!1,i);var s=!0;return i&&(s=i.isDirectory()?"DIR":"FILE"),this.cache[t]=this.cache[t]||s,a&&s==="FILE"?n():n(null,s,i)}});var qo=y((Fm,No)=>{u();var Co=Yt(),st=w("path"),cn=qi(),sy=zi(),oy=Vi(),fy=Yi(),uy=Or(),Ge=No.exports={},Po=/[\/\\]/g,ly=function(e,t){var r=[];return cn(e).forEach(function(i){var n=i.indexOf("!")===0;n&&(i=i.slice(1));var a=t(i);n?r=sy(r,a):r=oy(r,a)}),r};Ge.exists=function(){var e=st.join.apply(st,arguments);return Co.existsSync(e)};Ge.expand=function(...e){var t=fy(e[0])?e.shift():{},r=Array.isArray(e[0])?e[0]:e;if(r.length===0)return[];var i=ly(r,function(n){return uy.sync(n,t)});return t.filter&&(i=i.filter(function(n){n=st.join(t.cwd||"",n);try{return typeof t.filter=="function"?t.filter(n):Co.statSync(n)[t.filter]()}catch{return!1}})),i};Ge.expandMapping=function(e,t,r){r=Object.assign({rename:function(a,s){return st.join(a||"",s)}},r);var i=[],n={};return Ge.expand(r,e).forEach(function(a){var s=a;r.flatten&&(s=st.basename(s)),r.ext&&(s=s.replace(/(\.[^\/]*)?$/,r.ext));var o=r.rename(t,s,r);r.cwd&&(a=st.join(r.cwd,a)),o=o.replace(Po,"/"),a=a.replace(Po,"/"),n[o]?n[o].src.push(a):(i.push({src:[a],dest:o}),n[o]=i[i.length-1])}),i};Ge.normalizeFilesArray=function(e){var t=[];return e.forEach(function(r){var i;("src"in r||"dest"in r)&&t.push(r)}),t.length===0?[]:(t=_(t).chain().forEach(function(r){!("src"in r)||!r.src||(Array.isArray(r.src)?r.src=cn(r.src):r.src=[r.src])}).map(function(r){var i=Object.assign({},r);if(delete i.src,delete i.dest,r.expand)return Ge.expandMapping(r.src,r.dest,i).map(function(a){var s=Object.assign({},r);return s.orig=Object.assign({},r),s.src=a.src,s.dest=a.dest,["expand","cwd","flatten","rename","ext"].forEach(function(o){delete s[o]}),s});var n=Object.assign({},r);return n.orig=Object.assign({},r),"src"in n&&Object.defineProperty(n,"src",{enumerable:!0,get:function a(){var s;return"result"in a||(s=r.src,s=Array.isArray(s)?cn(s):[s],a.result=Ge.expand(i,s)),a.result}}),"dest"in n&&(n.dest=r.dest),n}).flatten().value(),t)}});var Ct=y((Um,ko)=>{u();var dn=Yt(),Bo=w("path"),jm=w("util"),hy=Di(),Fo=si(),cy=Ci(),dy=w("stream").Stream,py=Ii().PassThrough,te=ko.exports={};te.file=qo();te.collectStream=function(e,t){var r=[],i=0;e.on("error",t),e.on("data",function(n){r.push(n),i+=n.length}),e.on("end",function(){var n=new Buffer(i),a=0;r.forEach(function(s){s.copy(n,a),a+=s.length}),t(null,n)})};te.dateify=function(e){return e=e||new Date,e instanceof Date?e=e:typeof e=="string"?e=new Date(e):e=new Date,e};te.defaults=function(e,t,r){var i=arguments;return i[0]=i[0]||{},cy(...i)};te.isStream=function(e){return e instanceof dy};te.lazyReadStream=function(e){return new hy.Readable(function(){return dn.createReadStream(e)})};te.normalizeInputSource=function(e){if(e===null)return new Buffer(0);if(typeof e=="string")return new Buffer(e);if(te.isStream(e)&&!e._readableState){var t=new py;return e.pipe(t),t}return e};te.sanitizePath=function(e){return Fo(e,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};te.trailingSlashIt=function(e){return e.slice(-1)!=="/"?e+"/":e};te.unixifyPath=function(e){return Fo(e,!1).replace(/^\w+:/,"")};te.walkdir=function(e,t,r){var i=[];typeof t=="function"&&(r=t,t=e),dn.readdir(e,function(n,a){var s=0,o,f;if(n)return r(n);(function l(){if(o=a[s++],!o)return r(null,i);f=Bo.join(e,o),dn.stat(f,function(c,p){i.push({path:f,relative:Bo.relative(t,f).replace(/\\/g,"/"),stats:p}),p&&p.isDirectory()?te.walkdir(f,t,function(d,h){h.forEach(function(g){i.push(g)}),l()}):l()})})()})}});var Go=y((Uo,zo)=>{u();var gy=w("util"),yy={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};function jo(e,t){Error.captureStackTrace(this,this.constructor),this.message=yy[e]||e,this.code=e,this.data=t}gy.inherits(jo,Error);Uo=zo.exports=jo});var pn=y((Wm,Wo)=>{u();Wo.exports=w("stream")});var Ko=y((Zm,Yo)=>{"use strict";u();function Ho(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,i)}return r}function Zo(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ho(Object(r),!0).forEach(function(i){_y(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ho(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function _y(e,t,r){return t=Vo(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $o(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,Vo(i.key),i)}}function my(e,t,r){return t&&$o(e.prototype,t),r&&$o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Vo(e){var t=by(e,"string");return typeof t=="symbol"?t:String(t)}function by(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 wy=w("buffer"),Ar=wy.Buffer,Ey=w("util"),gn=Ey.inspect,Sy=gn&&gn.custom||"inspect";function xy(e,t,r){Ar.prototype.copy.call(e,t,r)}Yo.exports=(function(){function e(){vy(this,e),this.head=null,this.tail=null,this.length=0}return my(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,n=""+i.data;i=i.next;)n+=r+i.data;return n}},{key:"concat",value:function(r){if(this.length===0)return Ar.alloc(0);for(var i=Ar.allocUnsafe(r>>>0),n=this.head,a=0;n;)xy(n.data,i,a),a+=n.data.length,n=n.next;return i}},{key:"consume",value:function(r,i){var n;return r<this.head.data.length?(n=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?n=this.shift():n=i?this._getString(r):this._getBuffer(r),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var i=this.head,n=1,a=i.data;for(r-=a.length;i=i.next;){var s=i.data,o=r>s.length?s.length:r;if(o===s.length?a+=s:a+=s.slice(0,r),r-=o,r===0){o===s.length?(++n,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=s.slice(o));break}++n}return this.length-=n,a}},{key:"_getBuffer",value:function(r){var i=Ar.allocUnsafe(r),n=this.head,a=1;for(n.data.copy(i),r-=n.data.length;n=n.next;){var s=n.data,o=r>s.length?s.length:r;if(s.copy(i,i.length-r,0,o),r-=o,r===0){o===s.length?(++a,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=s.slice(o));break}++a}return this.length-=a,i}},{key:Sy,value:function(r,i){return gn(this,Zo(Zo({},i),{},{depth:0,customInspect:!1}))}}]),e})()});var _n=y((Vm,Xo)=>{"use strict";u();function Ry(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return i||n?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(yn,this,e)):process.nextTick(yn,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(a){!t&&a?r._writableState?r._writableState.errorEmitted?process.nextTick(Ir,r):(r._writableState.errorEmitted=!0,process.nextTick(Qo,r,a)):process.nextTick(Qo,r,a):t?(process.nextTick(Ir,r),t(a)):process.nextTick(Ir,r)}),this)}function Qo(e,t){yn(e,t),Ir(e)}function Ir(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function Ty(){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 yn(e,t){e.emit("error",t)}function Oy(e,t){var r=e._readableState,i=e._writableState;r&&r.autoDestroy||i&&i.autoDestroy?e.destroy(t):e.emit("error",t)}Xo.exports={destroy:Ry,undestroy:Ty,errorOrDestroy:Oy}});var xe=y((Km,tf)=>{"use strict";u();var ef={};function ne(e,t,r){r||(r=Error);function i(a,s,o){return typeof t=="string"?t:t(a,s,o)}class n extends r{constructor(s,o,f){super(i(s,o,f))}}n.prototype.name=r.name,n.prototype.code=e,ef[e]=n}function Jo(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 Ay(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function Iy(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function Dy(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}ne("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);ne("ERR_INVALID_ARG_TYPE",function(e,t,r){let i;typeof t=="string"&&Ay(t,"not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";let n;if(Iy(e," argument"))n=`The ${e} ${i} ${Jo(t,"type")}`;else{let a=Dy(e,".")?"property":"argument";n=`The "${e}" ${a} ${i} ${Jo(t,"type")}`}return n+=`. Received type ${typeof r}`,n},TypeError);ne("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");ne("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});ne("ERR_STREAM_PREMATURE_CLOSE","Premature close");ne("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});ne("ERR_MULTIPLE_CALLBACK","Callback called multiple times");ne("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");ne("ERR_STREAM_WRITE_AFTER_END","write after end");ne("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);ne("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);ne("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");tf.exports.codes=ef});var vn=y((Xm,rf)=>{"use strict";u();var My=xe().codes.ERR_INVALID_OPT_VALUE;function Ly(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function Py(e,t,r,i){var n=Ly(t,i,r);if(n!=null){if(!(isFinite(n)&&Math.floor(n)===n)||n<0){var a=i?r:"highWaterMark";throw new My(a,n)}return Math.floor(n)}return e.objectMode?16:16*1024}rf.exports={getHighWaterMark:Py}});var wn=y((eb,uf)=>{"use strict";u();uf.exports=k;function af(e){var t=this;this.next=null,this.entry=null,this.finish=function(){s_(t,e)}}var ot;k.WritableState=qt;var Cy={deprecate:Ra()},sf=pn(),Mr=w("buffer").Buffer,Ny=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function qy(e){return Mr.from(e)}function By(e){return Mr.isBuffer(e)||e instanceof Ny}var bn=_n(),Fy=vn(),ky=Fy.getHighWaterMark,Re=xe().codes,jy=Re.ERR_INVALID_ARG_TYPE,Uy=Re.ERR_METHOD_NOT_IMPLEMENTED,zy=Re.ERR_MULTIPLE_CALLBACK,Gy=Re.ERR_STREAM_CANNOT_PIPE,Wy=Re.ERR_STREAM_DESTROYED,Hy=Re.ERR_STREAM_NULL_VALUES,Zy=Re.ERR_STREAM_WRITE_AFTER_END,$y=Re.ERR_UNKNOWN_ENCODING,ft=bn.errorOrDestroy;J()(k,sf);function Vy(){}function qt(e,t,r){ot=ot||We(),e=e||{},typeof r!="boolean"&&(r=t instanceof ot),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=ky(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(n){t_(t,n)},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 af(this)}qt.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(qt.prototype,"buffer",{get:Cy.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Dr;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Dr=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(t){return Dr.call(this,t)?!0:this!==k?!1:t&&t._writableState instanceof qt}})):Dr=function(t){return t instanceof this};function k(e){ot=ot||We();var t=this instanceof ot;if(!t&&!Dr.call(k,this))return new k(e);this._writableState=new qt(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)),sf.call(this)}k.prototype.pipe=function(){ft(this,new Gy)};function Yy(e,t){var r=new Zy;ft(e,r),process.nextTick(t,r)}function Ky(e,t,r,i){var n;return r===null?n=new Hy:typeof r!="string"&&!t.objectMode&&(n=new jy("chunk",["string","Buffer"],r)),n?(ft(e,n),process.nextTick(i,n),!1):!0}k.prototype.write=function(e,t,r){var i=this._writableState,n=!1,a=!i.objectMode&&By(e);return a&&!Mr.isBuffer(e)&&(e=qy(e)),typeof t=="function"&&(r=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),typeof r!="function"&&(r=Vy),i.ending?Yy(this,r):(a||Ky(this,i,e,r))&&(i.pendingcb++,n=Xy(this,i,a,e,t,r)),n};k.prototype.cork=function(){this._writableState.corked++};k.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&of(this,e))};k.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 $y(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Qy(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=Mr.from(t,r)),t}Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Xy(e,t,r,i,n,a){if(!r){var s=Qy(t,i,n);i!==s&&(r=!0,n="buffer",i=s)}var o=t.objectMode?1:i.length;t.length+=o;var f=t.length<t.highWaterMark;if(f||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:i,encoding:n,isBuf:r,callback:a,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else mn(e,t,!1,o,i,n,a);return f}function mn(e,t,r,i,n,a,s){t.writelen=i,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new Wy("write")):r?e._writev(n,t.onwrite):e._write(n,a,t.onwrite),t.sync=!1}function Jy(e,t,r,i,n){--t.pendingcb,r?(process.nextTick(n,i),process.nextTick(Nt,e,t),e._writableState.errorEmitted=!0,ft(e,i)):(n(i),e._writableState.errorEmitted=!0,ft(e,i),Nt(e,t))}function e_(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function t_(e,t){var r=e._writableState,i=r.sync,n=r.writecb;if(typeof n!="function")throw new zy;if(e_(r),t)Jy(e,r,i,t,n);else{var a=ff(r)||e.destroyed;!a&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&of(e,r),i?process.nextTick(nf,e,r,a,n):nf(e,r,a,n)}}function nf(e,t,r,i){r||r_(e,t),t.pendingcb--,i(),Nt(e,t)}function r_(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function of(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,n=new Array(i),a=t.corkedRequestsFree;a.entry=r;for(var s=0,o=!0;r;)n[s]=r,r.isBuf||(o=!1),r=r.next,s+=1;n.allBuffers=o,mn(e,t,!0,t.length,n,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new af(t),t.bufferedRequestCount=0}else{for(;r;){var f=r.chunk,l=r.encoding,c=r.callback,p=t.objectMode?1:f.length;if(mn(e,t,!1,p,f,l,c),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}k.prototype._write=function(e,t,r){r(new Uy("_write()"))};k.prototype._writev=null;k.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||a_(this,i,r),this};Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function ff(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function i_(e,t){e._final(function(r){t.pendingcb--,r&&ft(e,r),t.prefinished=!0,e.emit("prefinish"),Nt(e,t)})}function n_(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(i_,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function Nt(e,t){var r=ff(t);if(r&&(n_(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 a_(e,t,r){t.ending=!0,Nt(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function s_(e,t,r){var i=e.entry;for(e.entry=null;i;){var n=i.callback;t.pendingcb--,n(r),i=i.next}t.corkedRequestsFree.next=e}Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}});k.prototype.destroy=bn.destroy;k.prototype._undestroy=bn.undestroy;k.prototype._destroy=function(e,t){t(e)}});var We=y((rb,hf)=>{"use strict";u();var o_=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};hf.exports=le;var lf=xn(),Sn=wn();J()(le,lf);for(En=o_(Sn.prototype),Lr=0;Lr<En.length;Lr++)Pr=En[Lr],le.prototype[Pr]||(le.prototype[Pr]=Sn.prototype[Pr]);var En,Pr,Lr;function le(e){if(!(this instanceof le))return new le(e);lf.call(this,e),Sn.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",f_)))}Object.defineProperty(le.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(le.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(le.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function f_(){this._writableState.ended||process.nextTick(u_,this)}function u_(e){e.end()}Object.defineProperty(le.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 pf=y((Rn,df)=>{u();var Cr=w("buffer"),he=Cr.Buffer;function cf(e,t){for(var r in e)t[r]=e[r]}he.from&&he.alloc&&he.allocUnsafe&&he.allocUnsafeSlow?df.exports=Cr:(cf(Cr,Rn),Rn.Buffer=He);function He(e,t,r){return he(e,t,r)}He.prototype=Object.create(he.prototype);cf(he,He);He.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return he(e,t,r)};He.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var i=he(e);return t!==void 0?typeof r=="string"?i.fill(t,r):i.fill(t):i.fill(0),i};He.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return he(e)};He.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Cr.SlowBuffer(e)}});var An=y(yf=>{"use strict";u();var On=pf().Buffer,gf=On.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 l_(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 h_(e){var t=l_(e);if(typeof t!="string"&&(On.isEncoding===gf||!gf(e)))throw new Error("Unknown encoding: "+e);return t||e}yf.StringDecoder=Bt;function Bt(e){this.encoding=h_(e);var t;switch(this.encoding){case"utf16le":this.text=__,this.end=v_,t=4;break;case"utf8":this.fillLast=p_,t=4;break;case"base64":this.text=m_,this.end=b_,t=3;break;default:this.write=w_,this.end=E_;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=On.allocUnsafe(t)}Bt.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||""};Bt.prototype.end=y_;Bt.prototype.text=g_;Bt.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 Tn(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function c_(e,t,r){var i=t.length-1;if(i<r)return 0;var n=Tn(t[i]);return n>=0?(n>0&&(e.lastNeed=n-1),n):--i<r||n===-2?0:(n=Tn(t[i]),n>=0?(n>0&&(e.lastNeed=n-2),n):--i<r||n===-2?0:(n=Tn(t[i]),n>=0?(n>0&&(n===2?n=0:e.lastNeed=n-3),n):0))}function d_(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 p_(e){var t=this.lastTotal-this.lastNeed,r=d_(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 g_(e,t){var r=c_(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 y_(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function __(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 v_(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 m_(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 b_(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function w_(e){return e.toString(this.encoding)}function E_(e){return e&&e.length?this.write(e):""}});var Nr=y((ob,mf)=>{"use strict";u();var _f=xe().codes.ERR_STREAM_PREMATURE_CLOSE;function S_(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,i=new Array(r),n=0;n<r;n++)i[n]=arguments[n];e.apply(this,i)}}}function x_(){}function R_(e){return e.setHeader&&typeof e.abort=="function"}function vf(e,t,r){if(typeof t=="function")return vf(e,null,t);t||(t={}),r=S_(r||x_);var i=t.readable||t.readable!==!1&&e.readable,n=t.writable||t.writable!==!1&&e.writable,a=function(){e.writable||o()},s=e._writableState&&e._writableState.finished,o=function(){n=!1,s=!0,i||r.call(e)},f=e._readableState&&e._readableState.endEmitted,l=function(){i=!1,f=!0,n||r.call(e)},c=function(g){r.call(e,g)},p=function(){var g;if(i&&!f)return(!e._readableState||!e._readableState.ended)&&(g=new _f),r.call(e,g);if(n&&!s)return(!e._writableState||!e._writableState.ended)&&(g=new _f),r.call(e,g)},d=function(){e.req.on("finish",o)};return R_(e)?(e.on("complete",o),e.on("abort",p),e.req?d():e.on("request",d)):n&&!e._writableState&&(e.on("end",a),e.on("close",a)),e.on("end",l),e.on("finish",o),t.error!==!1&&e.on("error",c),e.on("close",p),function(){e.removeListener("complete",o),e.removeListener("abort",p),e.removeListener("request",d),e.req&&e.req.removeListener("finish",o),e.removeListener("end",a),e.removeListener("close",a),e.removeListener("finish",o),e.removeListener("end",l),e.removeListener("error",c),e.removeListener("close",p)}}mf.exports=vf});var wf=y((ub,bf)=>{"use strict";u();var qr;function Te(e,t,r){return t=T_(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function T_(e){var t=O_(e,"string");return typeof t=="symbol"?t:String(t)}function O_(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 A_=Nr(),Oe=Symbol("lastResolve"),Ze=Symbol("lastReject"),Ft=Symbol("error"),Br=Symbol("ended"),$e=Symbol("lastPromise"),In=Symbol("handlePromise"),Ve=Symbol("stream");function Ae(e,t){return{value:e,done:t}}function I_(e){var t=e[Oe];if(t!==null){var r=e[Ve].read();r!==null&&(e[$e]=null,e[Oe]=null,e[Ze]=null,t(Ae(r,!1)))}}function D_(e){process.nextTick(I_,e)}function M_(e,t){return function(r,i){e.then(function(){if(t[Br]){r(Ae(void 0,!0));return}t[In](r,i)},i)}}var L_=Object.getPrototypeOf(function(){}),P_=Object.setPrototypeOf((qr={get stream(){return this[Ve]},next:function(){var t=this,r=this[Ft];if(r!==null)return Promise.reject(r);if(this[Br])return Promise.resolve(Ae(void 0,!0));if(this[Ve].destroyed)return new Promise(function(s,o){process.nextTick(function(){t[Ft]?o(t[Ft]):s(Ae(void 0,!0))})});var i=this[$e],n;if(i)n=new Promise(M_(i,this));else{var a=this[Ve].read();if(a!==null)return Promise.resolve(Ae(a,!1));n=new Promise(this[In])}return this[$e]=n,n}},Te(qr,Symbol.asyncIterator,function(){return this}),Te(qr,"return",function(){var t=this;return new Promise(function(r,i){t[Ve].destroy(null,function(n){if(n){i(n);return}r(Ae(void 0,!0))})})}),qr),L_),C_=function(t){var r,i=Object.create(P_,(r={},Te(r,Ve,{value:t,writable:!0}),Te(r,Oe,{value:null,writable:!0}),Te(r,Ze,{value:null,writable:!0}),Te(r,Ft,{value:null,writable:!0}),Te(r,Br,{value:t._readableState.endEmitted,writable:!0}),Te(r,In,{value:function(a,s){var o=i[Ve].read();o?(i[$e]=null,i[Oe]=null,i[Ze]=null,a(Ae(o,!1))):(i[Oe]=a,i[Ze]=s)},writable:!0}),r));return i[$e]=null,A_(t,function(n){if(n&&n.code!=="ERR_STREAM_PREMATURE_CLOSE"){var a=i[Ze];a!==null&&(i[$e]=null,i[Oe]=null,i[Ze]=null,a(n)),i[Ft]=n;return}var s=i[Oe];s!==null&&(i[$e]=null,i[Oe]=null,i[Ze]=null,s(Ae(void 0,!0))),i[Br]=!0}),t.on("readable",D_.bind(null,i)),i};bf.exports=C_});var Rf=y((hb,xf)=>{"use strict";u();function Ef(e,t,r,i,n,a,s){try{var o=e[a](s),f=o.value}catch(l){r(l);return}o.done?t(f):Promise.resolve(f).then(i,n)}function N_(e){return function(){var t=this,r=arguments;return new Promise(function(i,n){var a=e.apply(t,r);function s(f){Ef(a,i,n,s,o,"next",f)}function o(f){Ef(a,i,n,s,o,"throw",f)}s(void 0)})}}function Sf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,i)}return r}function q_(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Sf(Object(r),!0).forEach(function(i){B_(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sf(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function B_(e,t,r){return t=F_(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function F_(e){var t=k_(e,"string");return typeof t=="symbol"?t:String(t)}function k_(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 j_=xe().codes.ERR_INVALID_ARG_TYPE;function U_(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 j_("iterable",["Iterable"],t);var n=new e(q_({objectMode:!0},r)),a=!1;n._read=function(){a||(a=!0,s())};function s(){return o.apply(this,arguments)}function o(){return o=N_(function*(){try{var f=yield i.next(),l=f.value,c=f.done;c?n.push(null):n.push(yield l)?s():a=!1}catch(p){n.destroy(p)}}),o.apply(this,arguments)}return n}xf.exports=U_});var xn=y((pb,Nf)=>{"use strict";u();Nf.exports=D;var ut;D.ReadableState=If;var db=w("events").EventEmitter,Af=function(t,r){return t.listeners(r).length},jt=pn(),Fr=w("buffer").Buffer,z_=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function G_(e){return Fr.from(e)}function W_(e){return Fr.isBuffer(e)||e instanceof z_}var Dn=w("util"),T;Dn&&Dn.debuglog?T=Dn.debuglog("stream"):T=function(){};var H_=Ko(),Bn=_n(),Z_=vn(),$_=Z_.getHighWaterMark,kr=xe().codes,V_=kr.ERR_INVALID_ARG_TYPE,Y_=kr.ERR_STREAM_PUSH_AFTER_EOF,K_=kr.ERR_METHOD_NOT_IMPLEMENTED,Q_=kr.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,lt,Mn,Ln;J()(D,jt);var kt=Bn.errorOrDestroy,Pn=["error","close","destroy","pause","resume"];function X_(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 If(e,t,r){ut=ut||We(),e=e||{},typeof r!="boolean"&&(r=t instanceof ut),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=$_(this,e,"readableHighWaterMark",r),this.buffer=new H_,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&&(lt||(lt=An().StringDecoder),this.decoder=new lt(e.encoding),this.encoding=e.encoding)}function D(e){if(ut=ut||We(),!(this instanceof D))return new D(e);var t=this instanceof ut;this._readableState=new If(e,this,t),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),jt.call(this)}Object.defineProperty(D.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}});D.prototype.destroy=Bn.destroy;D.prototype._undestroy=Bn.undestroy;D.prototype._destroy=function(e,t){t(e)};D.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=Fr.from(e,t),t=""),i=!0),Df(this,e,t,!1,i)};D.prototype.unshift=function(e){return Df(this,e,null,!0,!1)};function Df(e,t,r,i,n){T("readableAddChunk",t);var a=e._readableState;if(t===null)a.reading=!1,tv(e,a);else{var s;if(n||(s=J_(a,t)),s)kt(e,s);else if(a.objectMode||t&&t.length>0)if(typeof t!="string"&&!a.objectMode&&Object.getPrototypeOf(t)!==Fr.prototype&&(t=G_(t)),i)a.endEmitted?kt(e,new Q_):Cn(e,a,t,!0);else if(a.ended)kt(e,new Y_);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||t.length!==0?Cn(e,a,t,!1):qn(e,a)):Cn(e,a,t,!1)}else i||(a.reading=!1,qn(e,a))}return!a.ended&&(a.length<a.highWaterMark||a.length===0)}function Cn(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&&jr(e)),qn(e,t)}function J_(e,t){var r;return!W_(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new V_("chunk",["string","Buffer","Uint8Array"],t)),r}D.prototype.isPaused=function(){return this._readableState.flowing===!1};D.prototype.setEncoding=function(e){lt||(lt=An().StringDecoder);var t=new lt(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 Tf=1073741824;function ev(e){return e>=Tf?e=Tf:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function Of(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=ev(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}D.prototype.read=function(e){T("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 T("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?Nn(this):jr(this),null;if(e=Of(e,t),e===0&&t.ended)return t.length===0&&Nn(this),null;var i=t.needReadable;T("need readable",i),(t.length===0||t.length-e<t.highWaterMark)&&(i=!0,T("length less than watermark",i)),t.ended||t.reading?(i=!1,T("reading or ended",i)):i&&(T("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Of(r,t)));var n;return e>0?n=Pf(e,t):n=null,n===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&&Nn(this)),n!==null&&this.emit("data",n),n};function tv(e,t){if(T("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?jr(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,Mf(e)))}}function jr(e){var t=e._readableState;T("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(T("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(Mf,e))}function Mf(e){var t=e._readableState;T("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,Fn(e)}function qn(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(rv,e,t))}function rv(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var r=t.length;if(T("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}D.prototype._read=function(e){kt(this,new K_("_read()"))};D.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,T("pipe count=%d opts=%j",i.pipesCount,t);var n=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,a=n?o:b;i.endEmitted?process.nextTick(a):r.once("end",a),e.on("unpipe",s);function s(x,S){T("onunpipe"),x===r&&S&&S.hasUnpiped===!1&&(S.hasUnpiped=!0,c())}function o(){T("onend"),e.end()}var f=iv(r);e.on("drain",f);var l=!1;function c(){T("cleanup"),e.removeListener("close",h),e.removeListener("finish",g),e.removeListener("drain",f),e.removeListener("error",d),e.removeListener("unpipe",s),r.removeListener("end",o),r.removeListener("end",b),r.removeListener("data",p),l=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&f()}r.on("data",p);function p(x){T("ondata");var S=e.write(x);T("dest.write",S),S===!1&&((i.pipesCount===1&&i.pipes===e||i.pipesCount>1&&Cf(i.pipes,e)!==-1)&&!l&&(T("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function d(x){T("onerror",x),b(),e.removeListener("error",d),Af(e,"error")===0&&kt(e,x)}X_(e,"error",d);function h(){e.removeListener("finish",g),b()}e.once("close",h);function g(){T("onfinish"),e.removeListener("close",h),b()}e.once("finish",g);function b(){T("unpipe"),r.unpipe(e)}return e.emit("pipe",r),i.flowing||(T("pipe resume"),r.resume()),e};function iv(e){return function(){var r=e._readableState;T("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&Af(e,"data")&&(r.flowing=!0,Fn(e))}}D.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,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<n;a++)i[a].emit("unpipe",this,{hasUnpiped:!1});return this}var s=Cf(t.pipes,e);return s===-1?this:(t.pipes.splice(s,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)};D.prototype.on=function(e,t){var r=jt.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,T("on readable",i.length,i.reading),i.length?jr(this):i.reading||process.nextTick(nv,this)),r};D.prototype.addListener=D.prototype.on;D.prototype.removeListener=function(e,t){var r=jt.prototype.removeListener.call(this,e,t);return e==="readable"&&process.nextTick(Lf,this),r};D.prototype.removeAllListeners=function(e){var t=jt.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(Lf,this),t};function Lf(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 nv(e){T("readable nexttick read 0"),e.read(0)}D.prototype.resume=function(){var e=this._readableState;return e.flowing||(T("resume"),e.flowing=!e.readableListening,av(this,e)),e.paused=!1,this};function av(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(sv,e,t))}function sv(e,t){T("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),Fn(e),t.flowing&&!t.reading&&e.read(0)}D.prototype.pause=function(){return T("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(T("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Fn(e){var t=e._readableState;for(T("flow",t.flowing);t.flowing&&e.read()!==null;);}D.prototype.wrap=function(e){var t=this,r=this._readableState,i=!1;e.on("end",function(){if(T("wrapped end"),r.decoder&&!r.ended){var s=r.decoder.end();s&&s.length&&t.push(s)}t.push(null)}),e.on("data",function(s){if(T("wrapped data"),r.decoder&&(s=r.decoder.write(s)),!(r.objectMode&&s==null)&&!(!r.objectMode&&(!s||!s.length))){var o=t.push(s);o||(i=!0,e.pause())}});for(var n in e)this[n]===void 0&&typeof e[n]=="function"&&(this[n]=(function(o){return function(){return e[o].apply(e,arguments)}})(n));for(var a=0;a<Pn.length;a++)e.on(Pn[a],this.emit.bind(this,Pn[a]));return this._read=function(s){T("wrapped _read",s),i&&(i=!1,e.resume())},this};typeof Symbol=="function"&&(D.prototype[Symbol.asyncIterator]=function(){return Mn===void 0&&(Mn=wf()),Mn(this)});Object.defineProperty(D.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(D.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(D.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}});D._fromList=Pf;Object.defineProperty(D.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Pf(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 Nn(e){var t=e._readableState;T("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(ov,t,e))}function ov(e,t){if(T("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"&&(D.from=function(e,t){return Ln===void 0&&(Ln=Rf()),Ln(D,e,t)});function Cf(e,t){for(var r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return-1}});var kn=y((yb,Bf)=>{"use strict";u();Bf.exports=me;var Ur=xe().codes,fv=Ur.ERR_METHOD_NOT_IMPLEMENTED,uv=Ur.ERR_MULTIPLE_CALLBACK,lv=Ur.ERR_TRANSFORM_ALREADY_TRANSFORMING,hv=Ur.ERR_TRANSFORM_WITH_LENGTH_0,zr=We();J()(me,zr);function cv(e,t){var r=this._transformState;r.transforming=!1;var i=r.writecb;if(i===null)return this.emit("error",new uv);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),i(e);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function me(e){if(!(this instanceof me))return new me(e);zr.call(this,e),this._transformState={afterTransform:cv.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",dv)}function dv(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){qf(e,t,r)}):qf(this,null,null)}me.prototype.push=function(e,t){return this._transformState.needTransform=!1,zr.prototype.push.call(this,e,t)};me.prototype._transform=function(e,t,r){r(new fv("_transform()"))};me.prototype._write=function(e,t,r){var i=this._transformState;if(i.writecb=r,i.writechunk=e,i.writeencoding=t,!i.transforming){var n=this._readableState;(i.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}};me.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};me.prototype._destroy=function(e,t){zr.prototype._destroy.call(this,e,function(r){t(r)})};function qf(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new hv;if(e._transformState.transforming)throw new lv;return e.push(null)}});var jf=y((vb,kf)=>{"use strict";u();kf.exports=Ut;var Ff=kn();J()(Ut,Ff);function Ut(e){if(!(this instanceof Ut))return new Ut(e);Ff.call(this,e)}Ut.prototype._transform=function(e,t,r){r(null,e)}});var Hf=y((bb,Wf)=>{"use strict";u();var jn;function pv(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var Gf=xe().codes,gv=Gf.ERR_MISSING_ARGS,yv=Gf.ERR_STREAM_DESTROYED;function Uf(e){if(e)throw e}function _v(e){return e.setHeader&&typeof e.abort=="function"}function vv(e,t,r,i){i=pv(i);var n=!1;e.on("close",function(){n=!0}),jn===void 0&&(jn=Nr()),jn(e,{readable:t,writable:r},function(s){if(s)return i(s);n=!0,i()});var a=!1;return function(s){if(!n&&!a){if(a=!0,_v(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();i(s||new yv("pipe"))}}}function zf(e){e()}function mv(e,t){return e.pipe(t)}function bv(e){return!e.length||typeof e[e.length-1]!="function"?Uf:e.pop()}function wv(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=bv(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new gv("streams");var n,a=t.map(function(s,o){var f=o<t.length-1,l=o>0;return vv(s,f,l,function(c){n||(n=c),c&&a.forEach(zf),!f&&(a.forEach(zf),i(n))})});return t.reduce(mv)}Wf.exports=wv});var se=y((ae,Gt)=>{u();var zt=w("stream");process.env.READABLE_STREAM==="disable"&&zt?(Gt.exports=zt.Readable,Object.assign(Gt.exports,zt),Gt.exports.Stream=zt):(ae=Gt.exports=xn(),ae.Stream=zt||ae,ae.Readable=ae,ae.Writable=wn(),ae.Duplex=We(),ae.Transform=kn(),ae.PassThrough=jf(),ae.finished=Nr(),ae.pipeline=Hf())});var Kf=y((Sb,Yf)=>{u();var Gn=w("fs"),$f=Ma(),Zf=Dl(),Un=w("path"),ce=Ct(),Ev=w("util").inherits,j=Go(),Vf=se().Transform,zn=process.platform==="win32",M=function(e,t){if(!(this instanceof M))return new M(e,t);typeof e!="string"&&(t=e,e="zip"),t=this.options=ce.defaults(t,{highWaterMark:1024*1024,statConcurrency:4}),Vf.call(this,t),this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=Zf.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=Zf.queue(this._onStatQueueTask.bind(this),t.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]};Ev(M,Vf);M.prototype._abort=function(){this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle()&&this._shutdown()};M.prototype._append=function(e,t){t=t||{};var r={source:null,filepath:e};t.name||(t.name=e),t.sourcePath=e,r.data=t,this._entriesCount++,t.stats&&t.stats instanceof Gn.Stats?(r=this._updateQueueTaskWithStats(r,t.stats),r&&(t.stats.size&&(this._fsEntriesTotalBytes+=t.stats.size),this._queue.push(r))):this._statQueue.push(r)};M.prototype._finalize=function(){this._state.finalizing||this._state.finalized||this._state.aborted||(this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0)};M.prototype._maybeFinalize=function(){return this._state.finalizing||this._state.finalized||this._state.aborted?!1:this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()?(this._finalize(),!0):!1};M.prototype._moduleAppend=function(e,t,r){if(this._state.aborted){r();return}this._module.append(e,t,function(i){if(this._task=null,this._state.aborted){this._shutdown();return}if(i){this.emit("error",i),setImmediate(r);return}this.emit("entry",t),this._entriesProcessedCount++,t.stats&&t.stats.size&&(this._fsEntriesProcessedBytes+=t.stats.size),this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(r)}.bind(this))};M.prototype._moduleFinalize=function(){typeof this._module.finalize=="function"?this._module.finalize():typeof this._module.end=="function"?this._module.end():this.emit("error",new j("NOENDMETHOD"))};M.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0};M.prototype._moduleSupports=function(e){return!this._module.supports||!this._module.supports[e]?!1:this._module.supports[e]};M.prototype._moduleUnpipe=function(){this._module.unpipe(this),this._state.modulePiped=!1};M.prototype._normalizeEntryData=function(e,t){e=ce.defaults(e,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1}),t&&e.stats===!1&&(e.stats=t);var r=e.type==="directory";return e.name&&(typeof e.prefix=="string"&&e.prefix!==""&&(e.name=e.prefix+"/"+e.name,e.prefix=null),e.name=ce.sanitizePath(e.name),e.type!=="symlink"&&e.name.slice(-1)==="/"?(r=!0,e.type="directory"):r&&(e.name+="/")),typeof e.mode=="number"?zn?e.mode&=511:e.mode&=4095:e.stats&&e.mode===null?(zn?e.mode=e.stats.mode&511:e.mode=e.stats.mode&4095,zn&&r&&(e.mode=493)):e.mode===null&&(e.mode=r?493:420),e.stats&&e.date===null?e.date=e.stats.mtime:e.date=ce.dateify(e.date),e};M.prototype._onModuleError=function(e){this.emit("error",e)};M.prototype._onQueueDrain=function(){this._state.finalizing||this._state.finalized||this._state.aborted||this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()&&this._finalize()};M.prototype._onQueueTask=function(e,t){var r=()=>{e.data.callback&&e.data.callback(),t()};if(this._state.finalizing||this._state.finalized||this._state.aborted){r();return}this._task=e,this._moduleAppend(e.source,e.data,r)};M.prototype._onStatQueueTask=function(e,t){if(this._state.finalizing||this._state.finalized||this._state.aborted){t();return}Gn.lstat(e.filepath,function(r,i){if(this._state.aborted){setImmediate(t);return}if(r){this._entriesCount--,this.emit("warning",r),setImmediate(t);return}e=this._updateQueueTaskWithStats(e,i),e&&(i.size&&(this._fsEntriesTotalBytes+=i.size),this._queue.push(e)),setImmediate(t)}.bind(this))};M.prototype._shutdown=function(){this._moduleUnpipe(),this.end()};M.prototype._transform=function(e,t,r){e&&(this._pointer+=e.length),r(null,e)};M.prototype._updateQueueTaskWithStats=function(e,t){if(t.isFile())e.data.type="file",e.data.sourceType="stream",e.source=ce.lazyReadStream(e.filepath);else if(t.isDirectory()&&this._moduleSupports("directory"))e.data.name=ce.trailingSlashIt(e.data.name),e.data.type="directory",e.data.sourcePath=ce.trailingSlashIt(e.filepath),e.data.sourceType="buffer",e.source=Buffer.concat([]);else if(t.isSymbolicLink()&&this._moduleSupports("symlink")){var r=Gn.readlinkSync(e.filepath),i=Un.dirname(e.filepath);e.data.type="symlink",e.data.linkname=Un.relative(i,Un.resolve(i,r)),e.data.sourceType="buffer",e.source=Buffer.concat([])}else return t.isDirectory()?this.emit("warning",new j("DIRECTORYNOTSUPPORTED",e.data)):t.isSymbolicLink()?this.emit("warning",new j("SYMLINKNOTSUPPORTED",e.data)):this.emit("warning",new j("ENTRYNOTSUPPORTED",e.data)),null;return e.data=this._normalizeEntryData(e.data,t),e};M.prototype.abort=function(){return this._state.aborted||this._state.finalized?this:(this._abort(),this)};M.prototype.append=function(e,t){if(this._state.finalize||this._state.aborted)return this.emit("error",new j("QUEUECLOSED")),this;if(t=this._normalizeEntryData(t),typeof t.name!="string"||t.name.length===0)return this.emit("error",new j("ENTRYNAMEREQUIRED")),this;if(t.type==="directory"&&!this._moduleSupports("directory"))return this.emit("error",new j("DIRECTORYNOTSUPPORTED",{name:t.name})),this;if(e=ce.normalizeInputSource(e),Buffer.isBuffer(e))t.sourceType="buffer";else if(ce.isStream(e))t.sourceType="stream";else return this.emit("error",new j("INPUTSTEAMBUFFERREQUIRED",{name:t.name})),this;return this._entriesCount++,this._queue.push({data:t,source:e}),this};M.prototype.directory=function(e,t,r){if(this._state.finalize||this._state.aborted)return this.emit("error",new j("QUEUECLOSED")),this;if(typeof e!="string"||e.length===0)return this.emit("error",new j("DIRECTORYDIRPATHREQUIRED")),this;this._pending++,t===!1?t="":typeof t!="string"&&(t=e);var i=!1;typeof r=="function"?(i=r,r={}):typeof r!="object"&&(r={});var n={stat:!0,dot:!0};function a(){this._pending--,this._maybeFinalize()}function s(l){this.emit("error",l)}function o(l){f.pause();var c=!1,p=Object.assign({},r);p.name=l.relative,p.prefix=t,p.stats=l.stat,p.callback=f.resume.bind(f);try{if(i){if(p=i(p),p===!1)c=!0;else if(typeof p!="object")throw new j("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:e})}}catch(d){this.emit("error",d);return}if(c){f.resume();return}this._append(l.absolute,p)}var f=$f(e,n);return f.on("error",s.bind(this)),f.on("match",o.bind(this)),f.on("end",a.bind(this)),this};M.prototype.file=function(e,t){return this._state.finalize||this._state.aborted?(this.emit("error",new j("QUEUECLOSED")),this):typeof e!="string"||e.length===0?(this.emit("error",new j("FILEFILEPATHREQUIRED")),this):(this._append(e,t),this)};M.prototype.glob=function(e,t,r){this._pending++,t=ce.defaults(t,{stat:!0,pattern:e});function i(){this._pending--,this._maybeFinalize()}function n(o){this.emit("error",o)}function a(o){s.pause();var f=Object.assign({},r);f.callback=s.resume.bind(s),f.stats=o.stat,f.name=o.relative,this._append(o.absolute,f)}var s=$f(t.cwd||".",t);return s.on("error",n.bind(this)),s.on("match",a.bind(this)),s.on("end",i.bind(this)),this};M.prototype.finalize=function(){if(this._state.aborted){var e=new j("ABORTED");return this.emit("error",e),Promise.reject(e)}if(this._state.finalize){var t=new j("FINALIZING");return this.emit("error",t),Promise.reject(t)}this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle()&&this._finalize();var r=this;return new Promise(function(i,n){var a;r._module.on("end",function(){a||i()}),r._module.on("error",function(s){a=!0,n(s)})})};M.prototype.setFormat=function(e){return this._format?(this.emit("error",new j("FORMATSET")),this):(this._format=e,this)};M.prototype.setModule=function(e){return this._state.aborted?(this.emit("error",new j("ABORTED")),this):this._state.module?(this.emit("error",new j("MODULESET")),this):(this._module=e,this._modulePipe(),this)};M.prototype.symlink=function(e,t,r){if(this._state.finalize||this._state.aborted)return this.emit("error",new j("QUEUECLOSED")),this;if(typeof e!="string"||e.length===0)return this.emit("error",new j("SYMLINKFILEPATHREQUIRED")),this;if(typeof t!="string"||t.length===0)return this.emit("error",new j("SYMLINKTARGETREQUIRED",{filepath:e})),this;if(!this._moduleSupports("symlink"))return this.emit("error",new j("SYMLINKNOTSUPPORTED",{filepath:e})),this;var i={};return i.type="symlink",i.name=e.replace(/\\/g,"/"),i.linkname=t.replace(/\\/g,"/"),i.sourceType="buffer",typeof r=="number"&&(i.mode=r),this._entriesCount++,this._queue.push({data:i,source:Buffer.concat([])}),this};M.prototype.pointer=function(){return this._pointer};M.prototype.use=function(e){return this._streams.push(e),this};Yf.exports=M});var Wr=y((Rb,Qf)=>{u();var Gr=Qf.exports=function(){};Gr.prototype.getName=function(){};Gr.prototype.getSize=function(){};Gr.prototype.getLastModifiedDate=function(){};Gr.prototype.isDirectory=function(){}});var Hr=y((Ob,Xf)=>{u();var oe=Xf.exports={};oe.dateToDos=function(e,t){t=t||!1;var r=t?e.getFullYear():e.getUTCFullYear();if(r<1980)return 2162688;if(r>=2044)return 2141175677;var i={year:r,month:t?e.getMonth():e.getUTCMonth(),date:t?e.getDate():e.getUTCDate(),hours:t?e.getHours():e.getUTCHours(),minutes:t?e.getMinutes():e.getUTCMinutes(),seconds:t?e.getSeconds():e.getUTCSeconds()};return i.year-1980<<25|i.month+1<<21|i.date<<16|i.hours<<11|i.minutes<<5|i.seconds/2};oe.dosToDate=function(e){return new Date((e>>25&127)+1980,(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(e&31)<<1)};oe.fromDosTime=function(e){return oe.dosToDate(e.readUInt32LE(0))};oe.getEightBytes=function(e){var t=Buffer.alloc(8);return t.writeUInt32LE(e%4294967296,0),t.writeUInt32LE(e/4294967296|0,4),t};oe.getShortBytes=function(e){var t=Buffer.alloc(2);return t.writeUInt16LE((e&65535)>>>0,0),t};oe.getShortBytesValue=function(e,t){return e.readUInt16LE(t)};oe.getLongBytes=function(e){var t=Buffer.alloc(4);return t.writeUInt32LE((e&4294967295)>>>0,0),t};oe.getLongBytesValue=function(e,t){return e.readUInt32LE(t)};oe.toDosTime=function(e){return oe.getLongBytes(oe.dateToDos(e))}});var Wn=y((Ib,nu)=>{u();var Jf=Hr(),eu=8,tu=1,Sv=4,xv=2,ru=64,iu=2048,V=nu.exports=function(){return this instanceof V?(this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this):new V};V.prototype.encode=function(){return Jf.getShortBytes((this.descriptor?eu:0)|(this.utf8?iu:0)|(this.encryption?tu:0)|(this.strongEncryption?ru:0))};V.prototype.parse=function(e,t){var r=Jf.getShortBytesValue(e,t),i=new V;return i.useDataDescriptor((r&eu)!==0),i.useUTF8ForNames((r&iu)!==0),i.useStrongEncryption((r&ru)!==0),i.useEncryption((r&tu)!==0),i.setSlidingDictionarySize((r&xv)!==0?8192:4096),i.setNumberOfShannonFanoTrees((r&Sv)!==0?3:2),i};V.prototype.setNumberOfShannonFanoTrees=function(e){this.numberOfShannonFanoTrees=e};V.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};V.prototype.setSlidingDictionarySize=function(e){this.slidingDictionarySize=e};V.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};V.prototype.useDataDescriptor=function(e){this.descriptor=e};V.prototype.usesDataDescriptor=function(){return this.descriptor};V.prototype.useEncryption=function(e){this.encryption=e};V.prototype.usesEncryption=function(){return this.encryption};V.prototype.useStrongEncryption=function(e){this.strongEncryption=e};V.prototype.usesStrongEncryption=function(){return this.strongEncryption};V.prototype.useUTF8ForNames=function(e){this.utf8=e};V.prototype.usesUTF8ForNames=function(){return this.utf8}});var su=y((Mb,au)=>{u();au.exports={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}});var Hn=y((Pb,ou)=>{u();ou.exports={WORD:4,DWORD:8,EMPTY:Buffer.alloc(0),SHORT:2,SHORT_MASK:65535,SHORT_SHIFT:16,SHORT_ZERO:Buffer.from(Array(2)),LONG:4,LONG_ZERO:Buffer.from(Array(4)),MIN_VERSION_INITIAL:10,MIN_VERSION_DATA_DESCRIPTOR:20,MIN_VERSION_ZIP64:45,VERSION_MADEBY:45,METHOD_STORED:0,METHOD_DEFLATED:8,PLATFORM_UNIX:3,PLATFORM_FAT:0,SIG_LFH:67324752,SIG_DD:134695760,SIG_CFH:33639248,SIG_EOCD:101010256,SIG_ZIP64_EOCD:101075792,SIG_ZIP64_EOCD_LOC:117853008,ZIP64_MAGIC_SHORT:65535,ZIP64_MAGIC:4294967295,ZIP64_EXTRA_ID:1,ZLIB_NO_COMPRESSION:0,ZLIB_BEST_SPEED:1,ZLIB_BEST_COMPRESSION:9,ZLIB_DEFAULT_COMPRESSION:-1,MODE_MASK:4095,DEFAULT_FILE_MODE:33188,DEFAULT_DIR_MODE:16877,EXT_FILE_ATTR_DIR:1106051088,EXT_FILE_ATTR_FILE:2175008800,S_IFMT:61440,S_IFIFO:4096,S_IFCHR:8192,S_IFDIR:16384,S_IFBLK:24576,S_IFREG:32768,S_IFLNK:40960,S_IFSOCK:49152,S_DOS_A:32,S_DOS_D:16,S_DOS_V:8,S_DOS_S:4,S_DOS_H:2,S_DOS_R:1}});var Zn=y((Nb,cu)=>{u();var Rv=w("util").inherits,Tv=si(),uu=Wr(),lu=Wn(),fu=su(),Q=Hn(),hu=Hr(),O=cu.exports=function(e){if(!(this instanceof O))return new O(e);uu.call(this),this.platform=Q.PLATFORM_FAT,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new lu,this.crc=0,this.time=-1,this.minver=Q.MIN_VERSION_INITIAL,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,e&&this.setName(e)};Rv(O,uu);O.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};O.prototype.getComment=function(){return this.comment!==null?this.comment:""};O.prototype.getCompressedSize=function(){return this.csize};O.prototype.getCrc=function(){return this.crc};O.prototype.getExternalAttributes=function(){return this.exattr};O.prototype.getExtra=function(){return this.extra!==null?this.extra:Q.EMPTY};O.prototype.getGeneralPurposeBit=function(){return this.gpb};O.prototype.getInternalAttributes=function(){return this.inattr};O.prototype.getLastModifiedDate=function(){return this.getTime()};O.prototype.getLocalFileDataExtra=function(){return this.getExtra()};O.prototype.getMethod=function(){return this.method};O.prototype.getName=function(){return this.name};O.prototype.getPlatform=function(){return this.platform};O.prototype.getSize=function(){return this.size};O.prototype.getTime=function(){return this.time!==-1?hu.dosToDate(this.time):-1};O.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};O.prototype.getUnixMode=function(){return this.platform!==Q.PLATFORM_UNIX?0:this.getExternalAttributes()>>Q.SHORT_SHIFT&Q.SHORT_MASK};O.prototype.getVersionNeededToExtract=function(){return this.minver};O.prototype.setComment=function(e){Buffer.byteLength(e)!==e.length&&this.getGeneralPurposeBit().useUTF8ForNames(!0),this.comment=e};O.prototype.setCompressedSize=function(e){if(e<0)throw new Error("invalid entry compressed size");this.csize=e};O.prototype.setCrc=function(e){if(e<0)throw new Error("invalid entry crc32");this.crc=e};O.prototype.setExternalAttributes=function(e){this.exattr=e>>>0};O.prototype.setExtra=function(e){this.extra=e};O.prototype.setGeneralPurposeBit=function(e){if(!(e instanceof lu))throw new Error("invalid entry GeneralPurposeBit");this.gpb=e};O.prototype.setInternalAttributes=function(e){this.inattr=e};O.prototype.setMethod=function(e){if(e<0)throw new Error("invalid entry compression method");this.method=e};O.prototype.setName=function(e,t=!1){e=Tv(e,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),t&&(e=`/${e}`),Buffer.byteLength(e)!==e.length&&this.getGeneralPurposeBit().useUTF8ForNames(!0),this.name=e};O.prototype.setPlatform=function(e){this.platform=e};O.prototype.setSize=function(e){if(e<0)throw new Error("invalid entry size");this.size=e};O.prototype.setTime=function(e,t){if(!(e instanceof Date))throw new Error("invalid entry time");this.time=hu.dateToDos(e,t)};O.prototype.setUnixMode=function(e){e|=this.isDirectory()?Q.S_IFDIR:Q.S_IFREG;var t=0;t|=e<<Q.SHORT_SHIFT|(this.isDirectory()?Q.S_DOS_D:Q.S_DOS_A),this.setExternalAttributes(t),this.mode=e&Q.MODE_MASK,this.platform=Q.PLATFORM_UNIX};O.prototype.setVersionNeededToExtract=function(e){this.minver=e};O.prototype.isDirectory=function(){return this.getName().slice(-1)==="/"};O.prototype.isUnixSymlink=function(){return(this.getUnixMode()&fu.FILE_TYPE_FLAG)===fu.LINK_FLAG};O.prototype.isZip64=function(){return this.csize>Q.ZIP64_MAGIC||this.size>Q.ZIP64_MAGIC}});var Vn=y((Bb,du)=>{u();var Ov=w("stream").Stream,Av=se().PassThrough,$n=du.exports={};$n.isStream=function(e){return e instanceof Ov};$n.normalizeInputSource=function(e){if(e===null)return Buffer.alloc(0);if(typeof e=="string")return Buffer.from(e);if($n.isStream(e)&&!e._readableState){var t=new Av;return e.pipe(t),t}return e}});var Kn=y((kb,gu)=>{u();var Iv=w("util").inherits,Yn=se().Transform,Dv=Wr(),pu=Vn(),re=gu.exports=function(e){if(!(this instanceof re))return new re(e);Yn.call(this,e),this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}};Iv(re,Yn);re.prototype._appendBuffer=function(e,t,r){};re.prototype._appendStream=function(e,t,r){};re.prototype._emitErrorCallback=function(e){e&&this.emit("error",e)};re.prototype._finish=function(e){};re.prototype._normalizeEntry=function(e){};re.prototype._transform=function(e,t,r){r(null,e)};re.prototype.entry=function(e,t,r){if(t=t||null,typeof r!="function"&&(r=this._emitErrorCallback.bind(this)),!(e instanceof Dv)){r(new Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){r(new Error("unacceptable entry after finish"));return}if(this._archive.processing){r(new Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry(e),this._entry=e,t=pu.normalizeInputSource(t),Buffer.isBuffer(t))this._appendBuffer(e,t,r);else if(pu.isStream(t))this._appendStream(e,t,r);else{this._archive.processing=!1,r(new Error("input source must be valid Stream or Buffer instance"));return}return this};re.prototype.finish=function(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()};re.prototype.getBytesWritten=function(){return this.offset};re.prototype.write=function(e,t){return e&&(this.offset+=e.length),Yn.prototype.write.call(this,e,t)}});var ea=y((Ub,_u)=>{u();var Ie=w("buffer").Buffer,Qn=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(Qn=new Int32Array(Qn));function yu(e){if(Ie.isBuffer(e))return e;var t=typeof Ie.alloc=="function"&&typeof Ie.from=="function";if(typeof e=="number")return t?Ie.alloc(e):new Ie(e);if(typeof e=="string")return t?Ie.from(e):new Ie(e);throw new Error("input must be buffer, number, or string, received "+typeof e)}function Mv(e){var t=yu(4);return t.writeInt32BE(e,0),t}function Xn(e,t){e=yu(e),Ie.isBuffer(t)&&(t=t.readUInt32BE(0));for(var r=~~t^-1,i=0;i<e.length;i++)r=Qn[(r^e[i])&255]^r>>>8;return r^-1}function Jn(){return Mv(Xn.apply(null,arguments))}Jn.signed=function(){return Xn.apply(null,arguments)};Jn.unsigned=function(){return Xn.apply(null,arguments)>>>0};_u.exports=Jn});var ra=y(ta=>{u();var vu;(function(e){typeof DO_NOT_EXPORT_CRC>"u"?typeof ta=="object"?e(ta):typeof define=="function"&&define.amd?define(function(){var t={};return e(t),t}):e(vu={}):e(vu={})})(function(e){e.version="1.2.2";function t(){for(var v=0,q=new Array(256),m=0;m!=256;++m)v=m,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,q[m]=v;return typeof Int32Array<"u"?new Int32Array(q):q}var r=t();function i(v){var q=0,m=0,A=0,I=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(A=0;A!=256;++A)I[A]=v[A];for(A=0;A!=256;++A)for(m=v[A],q=256+A;q<4096;q+=256)m=I[q]=m>>>8^v[m&255];var N=[];for(A=1;A!=16;++A)N[A-1]=typeof Int32Array<"u"?I.subarray(A*256,A*256+256):I.slice(A*256,A*256+256);return N}var n=i(r),a=n[0],s=n[1],o=n[2],f=n[3],l=n[4],c=n[5],p=n[6],d=n[7],h=n[8],g=n[9],b=n[10],x=n[11],S=n[12],C=n[13],X=n[14];function Z(v,q){for(var m=q^-1,A=0,I=v.length;A<I;)m=m>>>8^r[(m^v.charCodeAt(A++))&255];return~m}function G(v,q){for(var m=q^-1,A=v.length-15,I=0;I<A;)m=X[v[I++]^m&255]^C[v[I++]^m>>8&255]^S[v[I++]^m>>16&255]^x[v[I++]^m>>>24]^b[v[I++]]^g[v[I++]]^h[v[I++]]^d[v[I++]]^p[v[I++]]^c[v[I++]]^l[v[I++]]^f[v[I++]]^o[v[I++]]^s[v[I++]]^a[v[I++]]^r[v[I++]];for(A+=15;I<A;)m=m>>>8^r[(m^v[I++])&255];return~m}function pe(v,q){for(var m=q^-1,A=0,I=v.length,N=0,ge=0;A<I;)N=v.charCodeAt(A++),N<128?m=m>>>8^r[(m^N)&255]:N<2048?(m=m>>>8^r[(m^(192|N>>6&31))&255],m=m>>>8^r[(m^(128|N&63))&255]):N>=55296&&N<57344?(N=(N&1023)+64,ge=v.charCodeAt(A++)&1023,m=m>>>8^r[(m^(240|N>>8&7))&255],m=m>>>8^r[(m^(128|N>>2&63))&255],m=m>>>8^r[(m^(128|ge>>6&15|(N&3)<<4))&255],m=m>>>8^r[(m^(128|ge&63))&255]):(m=m>>>8^r[(m^(224|N>>12&15))&255],m=m>>>8^r[(m^(128|N>>6&63))&255],m=m>>>8^r[(m^(128|N&63))&255]);return~m}e.table=r,e.bstr=Z,e.buf=G,e.str=pe})});var bu=y((Hb,mu)=>{"use strict";u();var{Transform:Lv}=se(),Pv=ra(),ia=class extends Lv{constructor(t){super(t),this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform(t,r,i){t&&(this.checksum=Pv.buf(t,this.checksum)>>>0,this.rawSize+=t.length),i(null,t)}digest(t){let r=Buffer.allocUnsafe(4);return r.writeUInt32BE(this.checksum>>>0,0),t?r.toString(t):r}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}};mu.exports=ia});var Eu=y(($b,wu)=>{"use strict";u();var{DeflateRaw:Cv}=w("zlib"),Nv=ra(),na=class extends Cv{constructor(t){super(t),this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push(t,r){return t&&(this.compressedSize+=t.length),super.push(t,r)}_transform(t,r,i){t&&(this.checksum=Nv.buf(t,this.checksum)>>>0,this.rawSize+=t.length),super._transform(t,r,i)}digest(t){let r=Buffer.allocUnsafe(4);return r.writeUInt32BE(this.checksum>>>0,0),t?r.toString(t):r}hex(){return this.digest("hex").toUpperCase()}size(t=!1){return t?this.compressedSize:this.rawSize}};wu.exports=na});var aa=y((Yb,Su)=>{"use strict";u();Su.exports={CRC32Stream:bu(),DeflateCRC32Stream:Eu()}});var Tu=y((ew,Ru)=>{u();var qv=w("util").inherits,Bv=ea(),{CRC32Stream:Fv}=aa(),{DeflateCRC32Stream:kv}=aa(),xu=Kn(),Qb=Zn(),Xb=Wn(),R=Hn(),Jb=Vn(),E=Hr(),H=Ru.exports=function(e){if(!(this instanceof H))return new H(e);e=this.options=this._defaults(e),xu.call(this,e),this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:e.forceZip64,forceLocalTime:e.forceLocalTime}};qv(H,xu);H.prototype._afterAppend=function(e){this._entries.push(e),e.getGeneralPurposeBit().usesDataDescriptor()&&this._writeDataDescriptor(e),this._archive.processing=!1,this._entry=null,this._archive.finish&&!this._archive.finished&&this._finish()};H.prototype._appendBuffer=function(e,t,r){t.length===0&&e.setMethod(R.METHOD_STORED);var i=e.getMethod();if(i===R.METHOD_STORED&&(e.setSize(t.length),e.setCompressedSize(t.length),e.setCrc(Bv.unsigned(t))),this._writeLocalFileHeader(e),i===R.METHOD_STORED){this.write(t),this._afterAppend(e),r(null,e);return}else if(i===R.METHOD_DEFLATED){this._smartStream(e,r).end(t);return}else{r(new Error("compression method "+i+" not implemented"));return}};H.prototype._appendStream=function(e,t,r){e.getGeneralPurposeBit().useDataDescriptor(!0),e.setVersionNeededToExtract(R.MIN_VERSION_DATA_DESCRIPTOR),this._writeLocalFileHeader(e);var i=this._smartStream(e,r);t.once("error",function(n){i.emit("error",n),i.end()}),t.pipe(i)};H.prototype._defaults=function(e){return typeof e!="object"&&(e={}),typeof e.zlib!="object"&&(e.zlib={}),typeof e.zlib.level!="number"&&(e.zlib.level=R.ZLIB_BEST_SPEED),e.forceZip64=!!e.forceZip64,e.forceLocalTime=!!e.forceLocalTime,e};H.prototype._finish=function(){this._archive.centralOffset=this.offset,this._entries.forEach(function(e){this._writeCentralFileHeader(e)}.bind(this)),this._archive.centralLength=this.offset-this._archive.centralOffset,this.isZip64()&&this._writeCentralDirectoryZip64(),this._writeCentralDirectoryEnd(),this._archive.processing=!1,this._archive.finish=!0,this._archive.finished=!0,this.end()};H.prototype._normalizeEntry=function(e){e.getMethod()===-1&&e.setMethod(R.METHOD_DEFLATED),e.getMethod()===R.METHOD_DEFLATED&&(e.getGeneralPurposeBit().useDataDescriptor(!0),e.setVersionNeededToExtract(R.MIN_VERSION_DATA_DESCRIPTOR)),e.getTime()===-1&&e.setTime(new Date,this._archive.forceLocalTime),e._offsets={file:0,data:0,contents:0}};H.prototype._smartStream=function(e,t){var r=e.getMethod()===R.METHOD_DEFLATED,i=r?new kv(this.options.zlib):new Fv,n=null;function a(){var s=i.digest().readUInt32BE(0);e.setCrc(s),e.setSize(i.size()),e.setCompressedSize(i.size(!0)),this._afterAppend(e),t(n,e)}return i.once("end",a.bind(this)),i.once("error",function(s){n=s}),i.pipe(this,{end:!1}),i};H.prototype._writeCentralDirectoryEnd=function(){var e=this._entries.length,t=this._archive.centralLength,r=this._archive.centralOffset;this.isZip64()&&(e=R.ZIP64_MAGIC_SHORT,t=R.ZIP64_MAGIC,r=R.ZIP64_MAGIC),this.write(E.getLongBytes(R.SIG_EOCD)),this.write(R.SHORT_ZERO),this.write(R.SHORT_ZERO),this.write(E.getShortBytes(e)),this.write(E.getShortBytes(e)),this.write(E.getLongBytes(t)),this.write(E.getLongBytes(r));var i=this.getComment(),n=Buffer.byteLength(i);this.write(E.getShortBytes(n)),this.write(i)};H.prototype._writeCentralDirectoryZip64=function(){this.write(E.getLongBytes(R.SIG_ZIP64_EOCD)),this.write(E.getEightBytes(44)),this.write(E.getShortBytes(R.MIN_VERSION_ZIP64)),this.write(E.getShortBytes(R.MIN_VERSION_ZIP64)),this.write(R.LONG_ZERO),this.write(R.LONG_ZERO),this.write(E.getEightBytes(this._entries.length)),this.write(E.getEightBytes(this._entries.length)),this.write(E.getEightBytes(this._archive.centralLength)),this.write(E.getEightBytes(this._archive.centralOffset)),this.write(E.getLongBytes(R.SIG_ZIP64_EOCD_LOC)),this.write(R.LONG_ZERO),this.write(E.getEightBytes(this._archive.centralOffset+this._archive.centralLength)),this.write(E.getLongBytes(1))};H.prototype._writeCentralFileHeader=function(e){var t=e.getGeneralPurposeBit(),r=e.getMethod(),i=e._offsets,n=e.getSize(),a=e.getCompressedSize();if(e.isZip64()||i.file>R.ZIP64_MAGIC){n=R.ZIP64_MAGIC,a=R.ZIP64_MAGIC,e.setVersionNeededToExtract(R.MIN_VERSION_ZIP64);var s=Buffer.concat([E.getShortBytes(R.ZIP64_EXTRA_ID),E.getShortBytes(24),E.getEightBytes(e.getSize()),E.getEightBytes(e.getCompressedSize()),E.getEightBytes(i.file)],28);e.setExtra(s)}this.write(E.getLongBytes(R.SIG_CFH)),this.write(E.getShortBytes(e.getPlatform()<<8|R.VERSION_MADEBY)),this.write(E.getShortBytes(e.getVersionNeededToExtract())),this.write(t.encode()),this.write(E.getShortBytes(r)),this.write(E.getLongBytes(e.getTimeDos())),this.write(E.getLongBytes(e.getCrc())),this.write(E.getLongBytes(a)),this.write(E.getLongBytes(n));var o=e.getName(),f=e.getComment(),l=e.getCentralDirectoryExtra();t.usesUTF8ForNames()&&(o=Buffer.from(o),f=Buffer.from(f)),this.write(E.getShortBytes(o.length)),this.write(E.getShortBytes(l.length)),this.write(E.getShortBytes(f.length)),this.write(R.SHORT_ZERO),this.write(E.getShortBytes(e.getInternalAttributes())),this.write(E.getLongBytes(e.getExternalAttributes())),i.file>R.ZIP64_MAGIC?this.write(E.getLongBytes(R.ZIP64_MAGIC)):this.write(E.getLongBytes(i.file)),this.write(o),this.write(l),this.write(f)};H.prototype._writeDataDescriptor=function(e){this.write(E.getLongBytes(R.SIG_DD)),this.write(E.getLongBytes(e.getCrc())),e.isZip64()?(this.write(E.getEightBytes(e.getCompressedSize())),this.write(E.getEightBytes(e.getSize()))):(this.write(E.getLongBytes(e.getCompressedSize())),this.write(E.getLongBytes(e.getSize())))};H.prototype._writeLocalFileHeader=function(e){var t=e.getGeneralPurposeBit(),r=e.getMethod(),i=e.getName(),n=e.getLocalFileDataExtra();e.isZip64()&&(t.useDataDescriptor(!0),e.setVersionNeededToExtract(R.MIN_VERSION_ZIP64)),t.usesUTF8ForNames()&&(i=Buffer.from(i)),e._offsets.file=this.offset,this.write(E.getLongBytes(R.SIG_LFH)),this.write(E.getShortBytes(e.getVersionNeededToExtract())),this.write(t.encode()),this.write(E.getShortBytes(r)),this.write(E.getLongBytes(e.getTimeDos())),e._offsets.data=this.offset,t.usesDataDescriptor()?(this.write(R.LONG_ZERO),this.write(R.LONG_ZERO),this.write(R.LONG_ZERO)):(this.write(E.getLongBytes(e.getCrc())),this.write(E.getLongBytes(e.getCompressedSize())),this.write(E.getLongBytes(e.getSize()))),this.write(E.getShortBytes(i.length)),this.write(E.getShortBytes(n.length)),this.write(i),this.write(n),e._offsets.contents=this.offset};H.prototype.getComment=function(e){return this._archive.comment!==null?this._archive.comment:""};H.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>R.ZIP64_MAGIC_SHORT||this._archive.centralLength>R.ZIP64_MAGIC||this._archive.centralOffset>R.ZIP64_MAGIC};H.prototype.setComment=function(e){this._archive.comment=e}});var sa=y((rw,Ou)=>{u();Ou.exports={ArchiveEntry:Wr(),ZipArchiveEntry:Zn(),ArchiveOutputStream:Kn(),ZipArchiveOutputStream:Tu()}});var Mu=y((nw,Du)=>{u();var Iu=Yt(),ht=w("path"),oa=qi(),jv=zi(),Uv=Vi(),zv=Yi(),Gv=Or(),Ye=Du.exports={},Au=/[\/\\]/g,Wv=function(e,t){var r=[];return oa(e).forEach(function(i){var n=i.indexOf("!")===0;n&&(i=i.slice(1));var a=t(i);n?r=jv(r,a):r=Uv(r,a)}),r};Ye.exists=function(){var e=ht.join.apply(ht,arguments);return Iu.existsSync(e)};Ye.expand=function(...e){var t=zv(e[0])?e.shift():{},r=Array.isArray(e[0])?e[0]:e;if(r.length===0)return[];var i=Wv(r,function(n){return Gv.sync(n,t)});return t.filter&&(i=i.filter(function(n){n=ht.join(t.cwd||"",n);try{return typeof t.filter=="function"?t.filter(n):Iu.statSync(n)[t.filter]()}catch{return!1}})),i};Ye.expandMapping=function(e,t,r){r=Object.assign({rename:function(a,s){return ht.join(a||"",s)}},r);var i=[],n={};return Ye.expand(r,e).forEach(function(a){var s=a;r.flatten&&(s=ht.basename(s)),r.ext&&(s=s.replace(/(\.[^\/]*)?$/,r.ext));var o=r.rename(t,s,r);r.cwd&&(a=ht.join(r.cwd,a)),o=o.replace(Au,"/"),a=a.replace(Au,"/"),n[o]?n[o].src.push(a):(i.push({src:[a],dest:o}),n[o]=i[i.length-1])}),i};Ye.normalizeFilesArray=function(e){var t=[];return e.forEach(function(r){var i;("src"in r||"dest"in r)&&t.push(r)}),t.length===0?[]:(t=_(t).chain().forEach(function(r){!("src"in r)||!r.src||(Array.isArray(r.src)?r.src=oa(r.src):r.src=[r.src])}).map(function(r){var i=Object.assign({},r);if(delete i.src,delete i.dest,r.expand)return Ye.expandMapping(r.src,r.dest,i).map(function(a){var s=Object.assign({},r);return s.orig=Object.assign({},r),s.src=a.src,s.dest=a.dest,["expand","cwd","flatten","rename","ext"].forEach(function(o){delete s[o]}),s});var n=Object.assign({},r);return n.orig=Object.assign({},r),"src"in n&&Object.defineProperty(n,"src",{enumerable:!0,get:function a(){var s;return"result"in a||(s=r.src,s=Array.isArray(s)?oa(s):[s],a.result=Ye.expand(i,s)),a.result}}),"dest"in n&&(n.dest=r.dest),n}).flatten().value(),t)}});var Nu=y((sw,Cu)=>{u();var fa=Yt(),Lu=w("path"),Hv=Di(),Pu=si(),Zv=Ci(),$v=w("stream").Stream,Vv=se().PassThrough,ie=Cu.exports={};ie.file=Mu();ie.collectStream=function(e,t){var r=[],i=0;e.on("error",t),e.on("data",function(n){r.push(n),i+=n.length}),e.on("end",function(){var n=Buffer.alloc(i),a=0;r.forEach(function(s){s.copy(n,a),a+=s.length}),t(null,n)})};ie.dateify=function(e){return e=e||new Date,e instanceof Date?e=e:typeof e=="string"?e=new Date(e):e=new Date,e};ie.defaults=function(e,t,r){var i=arguments;return i[0]=i[0]||{},Zv(...i)};ie.isStream=function(e){return e instanceof $v};ie.lazyReadStream=function(e){return new Hv.Readable(function(){return fa.createReadStream(e)})};ie.normalizeInputSource=function(e){return e===null?Buffer.alloc(0):typeof e=="string"?Buffer.from(e):ie.isStream(e)?e.pipe(new Vv):e};ie.sanitizePath=function(e){return Pu(e,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};ie.trailingSlashIt=function(e){return e.slice(-1)!=="/"?e+"/":e};ie.unixifyPath=function(e){return Pu(e,!1).replace(/^\w+:/,"")};ie.walkdir=function(e,t,r){var i=[];typeof t=="function"&&(r=t,t=e),fa.readdir(e,function(n,a){var s=0,o,f;if(n)return r(n);(function l(){if(o=a[s++],!o)return r(null,i);f=Lu.join(e,o),fa.stat(f,function(c,p){i.push({path:f,relative:Lu.relative(t,f).replace(/\\/g,"/"),stats:p}),p&&p.isDirectory()?ie.walkdir(f,t,function(d,h){h.forEach(function(g){i.push(g)}),l()}):l()})})()})}});var Bu=y((fw,qu)=>{u();var Yv=w("util").inherits,la=sa().ZipArchiveOutputStream,Kv=sa().ZipArchiveEntry,ua=Nu(),ct=qu.exports=function(e){if(!(this instanceof ct))return new ct(e);e=this.options=e||{},e.zlib=e.zlib||{},la.call(this,e),typeof e.level=="number"&&e.level>=0&&(e.zlib.level=e.level,delete e.level),!e.forceZip64&&typeof e.zlib.level=="number"&&e.zlib.level===0&&(e.store=!0),e.namePrependSlash=e.namePrependSlash||!1,e.comment&&e.comment.length>0&&this.setComment(e.comment)};Yv(ct,la);ct.prototype._normalizeFileData=function(e){e=ua.defaults(e,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var t=e.type==="directory",r=e.type==="symlink";return e.name&&(e.name=ua.sanitizePath(e.name),!r&&e.name.slice(-1)==="/"?(t=!0,e.type="directory"):t&&(e.name+="/")),(t||r)&&(e.store=!0),e.date=ua.dateify(e.date),e};ct.prototype.entry=function(e,t,r){if(typeof r!="function"&&(r=this._emitErrorCallback.bind(this)),t=this._normalizeFileData(t),t.type!=="file"&&t.type!=="directory"&&t.type!=="symlink"){r(new Error(t.type+" entries not currently supported"));return}if(typeof t.name!="string"||t.name.length===0){r(new Error("entry name must be a non-empty string value"));return}if(t.type==="symlink"&&typeof t.linkname!="string"){r(new Error("entry linkname must be a non-empty string value when type equals symlink"));return}var i=new Kv(t.name);return i.setTime(t.date,this.options.forceLocalTime),t.namePrependSlash&&i.setName(t.name,!0),t.store&&i.setMethod(0),t.comment.length>0&&i.setComment(t.comment),t.type==="symlink"&&typeof t.mode!="number"&&(t.mode=40960),typeof t.mode=="number"&&(t.type==="symlink"&&(t.mode|=40960),i.setUnixMode(t.mode)),t.type==="symlink"&&typeof t.linkname=="string"&&(e=Buffer.from(t.linkname)),la.prototype.entry.call(this,i,e,r)};ct.prototype.finalize=function(){this.finish()}});var ku=y((lw,Fu)=>{u();var Qv=Bu(),Xv=Ct(),De=function(e){if(!(this instanceof De))return new De(e);e=this.options=Xv.defaults(e,{comment:"",forceUTC:!1,namePrependSlash:!1,store:!1}),this.supports={directory:!0,symlink:!0},this.engine=new Qv(e)};De.prototype.append=function(e,t,r){this.engine.entry(e,t,r)};De.prototype.finalize=function(){this.engine.finalize()};De.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};De.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};De.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};Fu.exports=De});var zu=y((cw,Uu)=>{"use strict";u();var{Buffer:fe}=w("buffer"),ju=Symbol.for("BufferList");function B(e){if(!(this instanceof B))return new B(e);B._init.call(this,e)}B._init=function(t){Object.defineProperty(this,ju,{value:!0}),this._bufs=[],this.length=0,t&&this.append(t)};B.prototype._new=function(t){return new B(t)};B.prototype._offset=function(t){if(t===0)return[0,0];let r=0;for(let i=0;i<this._bufs.length;i++){let n=r+this._bufs[i].length;if(t<n||i===this._bufs.length-1)return[i,t-r];r=n}};B.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};B.prototype.get=function(t){if(t>this.length||t<0)return;let r=this._offset(t);return this._bufs[r[0]][r[1]]};B.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)};B.prototype.copy=function(t,r,i,n){if((typeof i!="number"||i<0)&&(i=0),(typeof n!="number"||n>this.length)&&(n=this.length),i>=this.length||n<=0)return t||fe.alloc(0);let a=!!t,s=this._offset(i),o=n-i,f=o,l=a&&r||0,c=s[1];if(i===0&&n===this.length){if(!a)return this._bufs.length===1?this._bufs[0]:fe.concat(this._bufs,this.length);for(let p=0;p<this._bufs.length;p++)this._bufs[p].copy(t,l),l+=this._bufs[p].length;return t}if(f<=this._bufs[s[0]].length-c)return a?this._bufs[s[0]].copy(t,r,c,c+f):this._bufs[s[0]].slice(c,c+f);a||(t=fe.allocUnsafe(o));for(let p=s[0];p<this._bufs.length;p++){let d=this._bufs[p].length-c;if(f>d)this._bufs[p].copy(t,l,c),l+=d;else{this._bufs[p].copy(t,l,c,c+f),l+=d;break}f-=d,c&&(c=0)}return t.length>l?t.slice(0,l):t};B.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),n=this._offset(r),a=this._bufs.slice(i[0],n[0]+1);return n[1]===0?a.pop():a[a.length-1]=a[a.length-1].slice(0,n[1]),i[1]!==0&&(a[0]=a[0].slice(i[1])),this._new(a)};B.prototype.toString=function(t,r,i){return this.slice(r,i).toString(t)};B.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};B.prototype.duplicate=function(){let t=this._new();for(let r=0;r<this._bufs.length;r++)t.append(this._bufs[r]);return t};B.prototype.append=function(t){if(t==null)return this;if(t.buffer)this._appendBuffer(fe.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(fe.from(t));return this};B.prototype._appendBuffer=function(t){this._bufs.push(t),this.length+=t.length};B.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=fe.from([e]):typeof e=="string"?e=fe.from(e,r):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=fe.from(e.buffer,e.byteOffset,e.byteLength):fe.isBuffer(e)||(e=fe.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),n=i[0],a=i[1];for(;n<this._bufs.length;n++){let s=this._bufs[n];for(;a<s.length;)if(s.length-a>=e.length){let f=s.indexOf(e,a);if(f!==-1)return this._reverseOffset([n,f]);a=s.length-e.length+1}else{let f=this._reverseOffset([n,a]);if(this._match(f,e))return f;a++}a=0}return-1};B.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?B.prototype[r]=function(i,n){return this.slice(i,i+n)[r](0,n)}:B.prototype[r]=function(i=0){return this.slice(i,i+e[r])[r](0)}})(t)})();B.prototype._isBufferList=function(t){return t instanceof B||B.isBufferList(t)};B.isBufferList=function(t){return t!=null&&t[ju]};Uu.exports=B});var Gu=y((pw,Zr)=>{"use strict";u();var ha=se().Duplex,Jv=J(),Wt=zu();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}Wt._init.call(this,e),ha.call(this)}Jv(K,ha);Object.assign(K.prototype,Wt.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){ha.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 Wt||K.isBufferList(t)};K.isBufferList=Wt.isBufferList;Zr.exports=K;Zr.exports.BufferListStream=K;Zr.exports.BufferList=Wt});var pa=y(pt=>{u();var e0=Buffer.alloc,t0="0000000000000000000",r0="7777777777777777777",Wu=48,Hu=Buffer.from("ustar\0","binary"),i0=Buffer.from("00","binary"),n0=Buffer.from("ustar ","binary"),a0=Buffer.from(" \0","binary"),s0=parseInt("7777",8),Ht=257,da=263,o0=function(e,t,r){return typeof e!="number"?r:(e=~~e,e>=t?t:e>=0||(e+=t,e>=0)?e:0)},f0=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},u0=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},Zu=function(e,t,r,i){for(;r<i;r++)if(e[r]===t)return r;return i},$u=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},Me=function(e,t){return e=e.toString(8),e.length>t?r0.slice(0,t)+" ":t0.slice(0,t-e.length)+e+" "};function l0(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 n=e[i];t?r.push(n):r.push(255-n)}var a=0,s=r.length;for(i=0;i<s;i++)a+=r[i]*Math.pow(256,i);return t?a:-1*a}var Le=function(e,t,r){if(e=e.slice(t,t+r),t=0,e[t]&128)return l0(e);for(;t<e.length&&e[t]===32;)t++;for(var i=o0(Zu(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)},dt=function(e,t,r,i){return e.slice(t,Zu(e,0,t,t+r)).toString(i)},ca=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};pt.decodeLongPath=function(e,t){return dt(e,0,e.length,t)};pt.encodePax=function(e){var t="";e.name&&(t+=ca(" path="+e.name+`
5
+ `)),e.linkname&&(t+=ca(" linkpath="+e.linkname+`
6
+ `));var r=e.pax;if(r)for(var i in r)t+=ca(" "+i+"="+r[i]+`
7
+ `);return Buffer.from(t)};pt.decodePax=function(e){for(var t={};e.length;){for(var r=0;r<e.length&&e[r]!==32;)r++;var i=parseInt(e.slice(0,r).toString(),10);if(!i)return t;var n=e.slice(r+1,i-1).toString(),a=n.indexOf("=");if(a===-1)return t;t[n.slice(0,a)]=n.slice(a+1),e=e.slice(i)}return t};pt.encode=function(e){var t=e0(512),r=e.name,i="";if(e.typeflag===5&&r[r.length-1]!=="/"&&(r+="/"),Buffer.byteLength(r)!==r.length)return null;for(;Buffer.byteLength(r)>100;){var n=r.indexOf("/");if(n===-1)return null;i+=i?"/"+r.slice(0,n):r.slice(0,n),r=r.slice(n+1)}return Buffer.byteLength(r)>100||Buffer.byteLength(i)>155||e.linkname&&Buffer.byteLength(e.linkname)>100?null:(t.write(r),t.write(Me(e.mode&s0,6),100),t.write(Me(e.uid,6),108),t.write(Me(e.gid,6),116),t.write(Me(e.size,11),124),t.write(Me(e.mtime.getTime()/1e3|0,11),136),t[156]=Wu+u0(e.type),e.linkname&&t.write(e.linkname,157),Hu.copy(t,Ht),i0.copy(t,da),e.uname&&t.write(e.uname,265),e.gname&&t.write(e.gname,297),t.write(Me(e.devmajor||0,6),329),t.write(Me(e.devminor||0,6),337),i&&t.write(i,345),t.write(Me($u(t),6),148),t)};pt.decode=function(e,t,r){var i=e[156]===0?0:e[156]-Wu,n=dt(e,0,100,t),a=Le(e,100,8),s=Le(e,108,8),o=Le(e,116,8),f=Le(e,124,12),l=Le(e,136,12),c=f0(i),p=e[157]===0?null:dt(e,157,100,t),d=dt(e,265,32),h=dt(e,297,32),g=Le(e,329,8),b=Le(e,337,8),x=$u(e);if(x===256)return null;if(x!==Le(e,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(Hu.compare(e,Ht,Ht+6)===0)e[345]&&(n=dt(e,345,155,t)+"/"+n);else if(!(n0.compare(e,Ht,Ht+6)===0&&a0.compare(e,da,da+2)===0)){if(!r)throw new Error("Invalid tar header: unknown format.")}return i===0&&n&&n[n.length-1]==="/"&&(i=5),{name:n,mode:a,uid:s,gid:o,size:f,mtime:new Date(1e3*l),type:c,linkname:p,uname:d,gname:h,devmajor:g,devminor:b}}});var el=y((vw,Ju)=>{u();var Yu=w("util"),h0=Gu(),Zt=pa(),Ku=se().Writable,Qu=se().PassThrough,Xu=function(){},Vu=function(e){return e&=511,e&&512-e},c0=function(e,t){var r=new $r(e,t);return r.end(),r},d0=function(e,t){return t.path&&(e.name=t.path),t.linkpath&&(e.linkname=t.linkpath),t.size&&(e.size=parseInt(t.size,10)),e.pax=t,e},$r=function(e,t){this._parent=e,this.offset=t,Qu.call(this,{autoDestroy:!1})};Yu.inherits($r,Qu);$r.prototype.destroy=function(e){this._parent.destroy(e)};var be=function(e){if(!(this instanceof be))return new be(e);Ku.call(this,e),e=e||{},this._offset=0,this._buffer=h0(),this._missing=0,this._partial=!1,this._onparse=Xu,this._header=null,this._stream=null,this._overflow=null,this._cb=null,this._locked=!1,this._destroyed=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null;var t=this,r=t._buffer,i=function(){t._continue()},n=function(d){if(t._locked=!1,d)return t.destroy(d);t._stream||i()},a=function(){t._stream=null;var d=Vu(t._header.size);d?t._parse(d,s):t._parse(512,p),t._locked||i()},s=function(){t._buffer.consume(Vu(t._header.size)),t._parse(512,p),i()},o=function(){var d=t._header.size;t._paxGlobal=Zt.decodePax(r.slice(0,d)),r.consume(d),a()},f=function(){var d=t._header.size;t._pax=Zt.decodePax(r.slice(0,d)),t._paxGlobal&&(t._pax=Object.assign({},t._paxGlobal,t._pax)),r.consume(d),a()},l=function(){var d=t._header.size;this._gnuLongPath=Zt.decodeLongPath(r.slice(0,d),e.filenameEncoding),r.consume(d),a()},c=function(){var d=t._header.size;this._gnuLongLinkPath=Zt.decodeLongPath(r.slice(0,d),e.filenameEncoding),r.consume(d),a()},p=function(){var d=t._offset,h;try{h=t._header=Zt.decode(r.slice(0,512),e.filenameEncoding,e.allowUnknownFormat)}catch(g){t.emit("error",g)}if(r.consume(512),!h){t._parse(512,p),i();return}if(h.type==="gnu-long-path"){t._parse(h.size,l),i();return}if(h.type==="gnu-long-link-path"){t._parse(h.size,c),i();return}if(h.type==="pax-global-header"){t._parse(h.size,o),i();return}if(h.type==="pax-header"){t._parse(h.size,f),i();return}if(t._gnuLongPath&&(h.name=t._gnuLongPath,t._gnuLongPath=null),t._gnuLongLinkPath&&(h.linkname=t._gnuLongLinkPath,t._gnuLongLinkPath=null),t._pax&&(t._header=h=d0(h,t._pax),t._pax=null),t._locked=!0,!h.size||h.type==="directory"){t._parse(512,p),t.emit("entry",h,c0(t,d),n);return}t._stream=new $r(t,d),t.emit("entry",h,t._stream,n),t._parse(h.size,a),i()};this._onheader=p,this._parse(512,p)};Yu.inherits(be,Ku);be.prototype.destroy=function(e){this._destroyed||(this._destroyed=!0,e&&this.emit("error",e),this.emit("close"),this._stream&&this._stream.emit("close"))};be.prototype._parse=function(e,t){this._destroyed||(this._offset+=e,this._missing=e,t===this._onheader&&(this._partial=!1),this._onparse=t)};be.prototype._continue=function(){if(!this._destroyed){var e=this._cb;this._cb=Xu,this._overflow?this._write(this._overflow,void 0,e):e()}};be.prototype._write=function(e,t,r){if(!this._destroyed){var i=this._stream,n=this._buffer,a=this._missing;if(e.length&&(this._partial=!0),e.length<a)return this._missing-=e.length,this._overflow=null,i?i.write(e,r):(n.append(e),r());this._cb=r,this._missing=0;var s=null;e.length>a&&(s=e.slice(a),e=e.slice(0,a)),i?i.end(e):n.append(e),this._overflow=s,this._onparse()}};be.prototype._final=function(e){if(this._partial)return this.destroy(new Error("Unexpected end of data"));e()};Ju.exports=be});var rl=y((bw,tl)=>{u();tl.exports=w("fs").constants||w("constants")});var ol=y((Ew,sl)=>{u();var gt=rl(),il=Tl(),Yr=J(),p0=Buffer.alloc,nl=se().Readable,yt=se().Writable,g0=w("string_decoder").StringDecoder,Vr=pa(),y0=parseInt("755",8),_0=parseInt("644",8),al=p0(1024),ya=function(){},ga=function(e,t){t&=511,t&&e.push(al.slice(0,512-t))};function v0(e){switch(e&gt.S_IFMT){case gt.S_IFBLK:return"block-device";case gt.S_IFCHR:return"character-device";case gt.S_IFDIR:return"directory";case gt.S_IFIFO:return"fifo";case gt.S_IFLNK:return"symlink"}return"file"}var Kr=function(e){yt.call(this),this.written=0,this._to=e,this._destroyed=!1};Yr(Kr,yt);Kr.prototype._write=function(e,t,r){if(this.written+=e.length,this._to.push(e))return r();this._to._drain=r};Kr.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.emit("close"))};var Qr=function(){yt.call(this),this.linkname="",this._decoder=new g0("utf-8"),this._destroyed=!1};Yr(Qr,yt);Qr.prototype._write=function(e,t,r){this.linkname+=this._decoder.write(e),r()};Qr.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.emit("close"))};var $t=function(){yt.call(this),this._destroyed=!1};Yr($t,yt);$t.prototype._write=function(e,t,r){r(new Error("No body allowed for this entry"))};$t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.emit("close"))};var de=function(e){if(!(this instanceof de))return new de(e);nl.call(this,e),this._drain=ya,this._finalized=!1,this._finalizing=!1,this._destroyed=!1,this._stream=null};Yr(de,nl);de.prototype.entry=function(e,t,r){if(this._stream)throw new Error("already piping an entry");if(!(this._finalized||this._destroyed)){typeof t=="function"&&(r=t,t=null),r||(r=ya);var i=this;if((!e.size||e.type==="symlink")&&(e.size=0),e.type||(e.type=v0(e.mode)),e.mode||(e.mode=e.type==="directory"?y0:_0),e.uid||(e.uid=0),e.gid||(e.gid=0),e.mtime||(e.mtime=new Date),typeof t=="string"&&(t=Buffer.from(t)),Buffer.isBuffer(t)){e.size=t.length,this._encode(e);var n=this.push(t);return ga(i,e.size),n?process.nextTick(r):this._drain=r,new $t}if(e.type==="symlink"&&!e.linkname){var a=new Qr;return il(a,function(o){if(o)return i.destroy(),r(o);e.linkname=a.linkname,i._encode(e),r()}),a}if(this._encode(e),e.type!=="file"&&e.type!=="contiguous-file")return process.nextTick(r),new $t;var s=new Kr(this);return this._stream=s,il(s,function(o){if(i._stream=null,o)return i.destroy(),r(o);if(s.written!==e.size)return i.destroy(),r(new Error("size mismatch"));ga(i,e.size),i._finalizing&&i.finalize(),r()}),s}};de.prototype.finalize=function(){if(this._stream){this._finalizing=!0;return}this._finalized||(this._finalized=!0,this.push(al),this.push(null))};de.prototype.destroy=function(e){this._destroyed||(this._destroyed=!0,e&&this.emit("error",e),this.emit("close"),this._stream&&this._stream.destroy&&this._stream.destroy())};de.prototype._encode=function(e){if(!e.pax){var t=Vr.encode(e);if(t){this.push(t);return}}this._encodePax(e)};de.prototype._encodePax=function(e){var t=Vr.encodePax({name:e.name,linkname:e.linkname,pax:e.pax}),r={name:"PaxHeader",mode:e.mode,uid:e.uid,gid:e.gid,size:t.length,mtime:e.mtime,type:"pax-header",linkname:e.linkname&&"PaxHeader",uname:e.uname,gname:e.gname,devmajor:e.devmajor,devminor:e.devminor};this.push(Vr.encode(r)),this.push(t),ga(this,t.length),r.size=e.size,r.type=e.type,this.push(Vr.encode(r))};de.prototype._read=function(e){var t=this._drain;this._drain=ya,t()};sl.exports=de});var fl=y(_a=>{u();_a.extract=el();_a.pack=ol()});var hl=y((Tw,ll)=>{u();var m0=w("zlib"),b0=fl(),ul=Ct(),we=function(e){if(!(this instanceof we))return new we(e);e=this.options=ul.defaults(e,{gzip:!1}),typeof e.gzipOptions!="object"&&(e.gzipOptions={}),this.supports={directory:!0,symlink:!0},this.engine=b0.pack(e),this.compressor=!1,e.gzip&&(this.compressor=m0.createGzip(e.gzipOptions),this.compressor.on("error",this._onCompressorError.bind(this)))};we.prototype._onCompressorError=function(e){this.engine.emit("error",e)};we.prototype.append=function(e,t,r){var i=this;t.mtime=t.date;function n(s,o){if(s){r(s);return}i.engine.entry(t,o,function(f){r(f,t)})}if(t.sourceType==="buffer")n(null,e);else if(t.sourceType==="stream"&&t.stats){t.size=t.stats.size;var a=i.engine.entry(t,function(s){r(s,t)});e.pipe(a)}else t.sourceType==="stream"&&ul.collectStream(e,n)};we.prototype.finalize=function(){this.engine.finalize()};we.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};we.prototype.pipe=function(e,t){return this.compressor?this.engine.pipe.apply(this.engine,[this.compressor]).pipe(e,t):this.engine.pipe.apply(this.engine,arguments)};we.prototype.unpipe=function(){return this.compressor?this.compressor.unpipe.apply(this.compressor,arguments):this.engine.unpipe.apply(this.engine,arguments)};ll.exports=we});var gl=y((Aw,pl)=>{u();var w0=w("util").inherits,cl=se().Transform,E0=ea(),dl=Ct(),Pe=function(e){if(!(this instanceof Pe))return new Pe(e);e=this.options=dl.defaults(e,{}),cl.call(this,e),this.supports={directory:!0,symlink:!0},this.files=[]};w0(Pe,cl);Pe.prototype._transform=function(e,t,r){r(null,e)};Pe.prototype._writeStringified=function(){var e=JSON.stringify(this.files);this.write(e)};Pe.prototype.append=function(e,t,r){var i=this;t.crc32=0;function n(a,s){if(a){r(a);return}t.size=s.length||0,t.crc32=E0.unsigned(s),i.files.push(t),r(null,t)}t.sourceType==="buffer"?n(null,e):t.sourceType==="stream"&&dl.collectStream(e,n)};Pe.prototype.finalize=function(){this._writeStringified(),this.end()};pl.exports=Pe});var _l=y((Dw,yl)=>{u();var S0=Kf(),Vt={},Ce=function(e,t){return Ce.create(e,t)};Ce.create=function(e,t){if(Vt[e]){var r=new S0(e,t);return r.setFormat(e),r.setModule(new Vt[e](t)),r}else throw new Error("create("+e+"): format not registered")};Ce.registerFormat=function(e,t){if(Vt[e])throw new Error("register("+e+"): format already registered");if(typeof t!="function")throw new Error("register("+e+"): format module invalid");if(typeof t.prototype.append!="function"||typeof t.prototype.finalize!="function")throw new Error("register("+e+"): format module missing methods");Vt[e]=t};Ce.isRegisteredFormat=function(e){return!!Vt[e]};Ce.registerFormat("zip",ku());Ce.registerFormat("tar",hl());Ce.registerFormat("json",gl());yl.exports=Ce});u();var ma=Sl(_l());import{createWriteStream as vl,readFileSync as x0,writeFileSync as R0}from"fs";import{readFile as T0}from"fs/promises";import{tmpdir as O0}from"os";import{randomUUID as A0}from"crypto";import{brotliCompressSync as I0,constants as va}from"zlib";async function jw(e){let{inputDirectory:t,outputZipPath:r,matchFilePattern:i="**/*"}=e;ai(ni`Zipping ${Kt.path(t)} into ${Kt.path(r)}`);let n=await ii(i,{cwd:t,absolute:!0,dot:!0,followSymbolicLinks:!1});return new Promise((a,s)=>{let o=(0,ma.default)("zip"),f=vl(r),l;f.on("error",h=>{l=h,o.abort()}),f.on("close",()=>{l?s(l):a()}),o.on("error",h=>{f.destroy(h)}),o.pipe(f);let c=new Set;for(let h of n){let g=ti(t,h);D0(g,c)}let p=Array.from(c).sort((h,g)=>h.localeCompare(g));for(let h of p){let g=h.endsWith("/")?h:`${h}/`;o.append(Buffer.alloc(0),{name:g})}let d=n.map(async h=>{await ml(t,h,o)});Promise.all(d).then(()=>{if(!f.destroyed)return o.finalize()}).catch(h=>{f.destroy(h instanceof Error?h:new Error(String(h)))})})}function D0(e,t){let r=ri(e);for(;r&&r!=="."&&r!=="/";){t.add(r);let i=ri(r);if(i===r)break;r=i}}async function ml(e,t,r){let i=ti(e,t);if(!t||!i)return;let n=await T0(t);r.append(n,{name:i})}async function Uw(e){let t=Sa(O0(),`${A0()}.tar`);try{await new Promise((n,a)=>{let s=(0,ma.default)("tar"),o=vl(t);o.on("close",()=>n()),s.on("error",f=>a(f)),s.pipe(o),ii(e.matchFilePattern??"**/*",{cwd:e.inputDirectory,absolute:!0,dot:!0,followSymbolicLinks:!1}).then(async f=>{let l=f.map(async c=>{await ml(e.inputDirectory,c,s)});await Promise.all(l),s.finalize()}).catch(f=>{a(f instanceof Error?f:new Error(String(f)))})});let r=x0(t),i=I0(r,{params:{[va.BROTLI_PARAM_QUALITY]:7,[va.BROTLI_PARAM_MODE]:va.BROTLI_MODE_GENERIC}});R0(e.outputPath,i)}finally{try{await xa(t)}catch{ai(ni`Failed to clean up temporary file: ${Kt.path(t)}`)}}}export{jw as a,Uw as b};
8
+ /*! Bundled license information:
9
+
10
+ archiver/lib/error.js:
11
+ archiver/lib/core.js:
12
+ (**
13
+ * Archiver Core
14
+ *
15
+ * @ignore
16
+ * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
17
+ * @copyright (c) 2012-2014 Chris Talkington, contributors.
18
+ *)
19
+
20
+ safe-buffer/index.js:
21
+ (*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
22
+
23
+ crc-32/crc32.js:
24
+ (*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com *)
25
+
26
+ zip-stream/index.js:
27
+ (**
28
+ * ZipStream
29
+ *
30
+ * @ignore
31
+ * @license [MIT]{@link https://github.com/archiverjs/node-zip-stream/blob/master/LICENSE}
32
+ * @copyright (c) 2014 Chris Talkington, contributors.
33
+ *)
34
+
35
+ archiver/lib/plugins/zip.js:
36
+ (**
37
+ * ZIP Format Plugin
38
+ *
39
+ * @module plugins/zip
40
+ * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
41
+ * @copyright (c) 2012-2014 Chris Talkington, contributors.
42
+ *)
43
+
44
+ archiver/lib/plugins/tar.js:
45
+ (**
46
+ * TAR Format Plugin
47
+ *
48
+ * @module plugins/tar
49
+ * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
50
+ * @copyright (c) 2012-2014 Chris Talkington, contributors.
51
+ *)
52
+
53
+ archiver/lib/plugins/json.js:
54
+ (**
55
+ * JSON Format Plugin
56
+ *
57
+ * @module plugins/json
58
+ * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
59
+ * @copyright (c) 2012-2014 Chris Talkington, contributors.
60
+ *)
61
+
62
+ archiver/index.js:
63
+ (**
64
+ * Archiver Vending
65
+ *
66
+ * @ignore
67
+ * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
68
+ * @copyright (c) 2012-2014 Chris Talkington, contributors.
69
+ *)
70
+ */
@@ -0,0 +1 @@
1
+ import{o as R}from"./chunk-YTL45RXR.js";import{a as E}from"./chunk-Z6ZRS256.js";import{c as D}from"./chunk-XLMKHTJ5.js";import{s as A}from"./chunk-DVFVO6ZE.js";import{e as S}from"./chunk-7HECBXSP.js";import{r as v}from"./chunk-CZNUBAAG.js";import{a as k}from"./chunk-KFO2JNF5.js";import{U as g}from"./chunk-YKDRUAY3.js";import{A as C,y as b,z as P}from"./chunk-2KUM2RU4.js";import{Eb as M,ua as O,zb as j}from"./chunk-ZMOW2YZ4.js";import{b as e,j as T}from"./chunk-3PYDIBTX.js";import{c as u,e as h,g as y,p as w}from"./chunk-IWTNUJGY.js";import{g as s}from"./chunk-VKWPEFWQ.js";s();import{resolve as x}from"node:path";var I=e.object({name:e.string(),category:e.string()}),L=e.object({key:e.string(),namespace:e.string(),name:e.string(),description:e.string().nullish(),type:I}),a={article:"ARTICLE",blog:"BLOG",collection:"COLLECTION",company:"COMPANY",company_location:"COMPANY_LOCATION",location:"LOCATION",market:"MARKET",order:"ORDER",page:"PAGE",product:"PRODUCT",variant:"PRODUCTVARIANT",shop:"SHOP"},$=e.object(Object.fromEntries(Object.keys(a).map(t=>[t,e.array(L)]))),N=e.object({ownerType:e.string().describe("The upstream owner type, such as PRODUCT or COMPANY_LOCATION."),key:e.string(),namespace:e.string(),name:e.string(),description:e.string().nullable(),type:e.object({name:e.string().describe("The upstream metafield type, such as single_line_text_field."),category:e.string().describe("The upstream metafield category.")}).strict()}).strict(),F=S({name:"ThemeMetafieldsPullResult",schema:e.union([e.object({status:e.enum(["success","partial"]),changed:e.literal(!0),path:e.string().refine(y).describe("The absolute path of the native language-server metafields JSON artifact."),definitions:e.array(N).describe("All fetched definitions, flattened across owner types."),failedOwnerTypes:e.array(e.string()).describe("Upstream owner types whose fetch failed.")}).strict(),e.object({status:e.literal("skipped"),reason:e.literal("not-a-theme")}).strict()]),definitions:{MetafieldDefinition:N},project:t=>{let i=t;if(i.status==="failed")throw new Error("Failed downloads must use the fatal error envelope.");return i.status==="skipped"?i.reason==="cancelled"?{status:"cancelled"}:{status:"skipped",reason:i.reason}:{status:i.failedOwnerTypes.length?"partial":"success",changed:!0,path:x(i.path),definitions:Object.entries(i.definitions).flatMap(([r,o])=>o.map(n=>({ownerType:a[r],key:n.key,namespace:n.namespace,name:n.name,description:n.description??null,type:{name:n.type.name,category:n.type.category}}))),failedOwnerTypes:i.failedOwnerTypes}}});s();function _(t,i,r=!1){t.status==="downloaded"&&t.failedOwnerTypes.length>0&&M(`Failed to fetch metafield definitions for the following owner types: ${t.failedOwnerTypes.join(", ")}`),!r&&(i==="json"?(t.status==="failed"&&T({type:"diagnostic",level:"error",message:"Failed to fetch metafield definitions."}),j(F.encode(t))):t.status==="downloaded"?t.failedOwnerTypes.length>0?P({body:`Metafield definitions were partially downloaded. Failed owner types: ${t.failedOwnerTypes.join(", ")}.`}):b({body:"Metafield definitions have been successfully downloaded."}):t.status==="failed"&&C({body:"Failed to fetch metafield definitions.",nextSteps:["Check your network connection and try again.","Ensure you have the permission to fetch metafield definitions."],reference:[{link:{label:"Metafield Definition API",url:"https://shopify.dev/docs/api/admin-graphql/latest/queries/metafieldDefinition"}}]}))}s();async function me(t){let i=await J(t);_(i,"text",t.silent)}async function J(t){E({verbose:t.verbose,noColor:t.noColor});let i=v({store:t.store}),r=await g(i,t.password);return U(r,{path:h(t.path??w()),force:t.force??!1})}async function U(t,i){let{force:r,path:o}=i;if(!await R(o)){if(process.env.SHOPIFY_LANGUAGE_SERVER==="1")return{status:"skipped",reason:"not-a-theme"};if(!await D(r))return{status:"skipped",reason:"cancelled"}}let n=[],f=[];for(let[l,c]of Object.entries(a))n.push(A(c,t).catch(m=>(f.push(c),[])).then(m=>({[l]:m})));let p=(await Promise.all(n)).reduce((l,c)=>({...l,...c})),d=Object.values(a).filter(l=>f.includes(l));return d.length===Object.values(a).length?{status:"failed",failedOwnerTypes:d}:{status:"downloaded",path:await G(o,p),definitions:p,failedOwnerTypes:d}}async function G(t,i){let r=await k(t),o=u(r,"metafields.json"),n=JSON.stringify(i,null,2);return O(o,n),o}export{F as a,_ as b,me as c,J as d};