@shopify/cli 4.2.0 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (392) hide show
  1. package/dist/{acorn-QBS5IYTX.js → acorn-7M27BPGP.js} +1 -1
  2. package/dist/analytics-JH64XI2J.js +1 -0
  3. package/dist/analytics-MEGKKFGF.js +1 -0
  4. package/dist/{angular-UTTM4Y4S.js → angular-DW5TQVCM.js} +1 -1
  5. package/dist/{babel-JS32NLHY.js → babel-I2RLWM7N.js} +1 -1
  6. package/dist/bootstrap.js +1 -1
  7. package/dist/{chokidar-G4ONJSK4.js → chokidar-VDIVGBZH.js} +1 -1
  8. package/dist/{chunk-NBYS6YQ2.js → chunk-25HJX3L2.js} +1 -1
  9. package/dist/{chunk-ZZYFG22L.js → chunk-2EHBJWC6.js} +1 -1
  10. package/dist/{chunk-INFBVFMU.js → chunk-2GAFKG64.js} +1 -1
  11. package/dist/{chunk-F6T3UBBL.js → chunk-2GU7OY3H.js} +1 -1
  12. package/dist/{chunk-MIO2CV3Q.js → chunk-2K7FGAT6.js} +1 -1
  13. package/dist/{chunk-PRVQAHWI.js → chunk-2O22LZKV.js} +1 -1
  14. package/dist/{chunk-MKE434RB.js → chunk-2RBIR3NM.js} +1 -1
  15. package/dist/{chunk-4Z2WYNTE.js → chunk-2TMQG2UT.js} +1 -1
  16. package/dist/{chunk-FTN7Y6HD.js → chunk-2XZBQZ5R.js} +1 -1
  17. package/dist/{chunk-J6VTZEE2.js → chunk-33OHQUHZ.js} +1 -1
  18. package/dist/chunk-3AOQKI4B.js +1 -0
  19. package/dist/{chunk-4EXYYBQ6.js → chunk-3SPDFV5D.js} +1 -1
  20. package/dist/{chunk-X2TC7S57.js → chunk-3YDYZ232.js} +2 -2
  21. package/dist/{chunk-FFYYJKF7.js → chunk-4FFPTEKD.js} +1 -1
  22. package/dist/{chunk-IWCPQD7X.js → chunk-4J32OHLY.js} +1 -1
  23. package/dist/chunk-4QTEPWEJ.js +283 -0
  24. package/dist/{chunk-QLQGHMVU.js → chunk-57PPQKJT.js} +1 -1
  25. package/dist/{chunk-DCK2FX6J.js → chunk-5BKCIDMS.js} +1 -1
  26. package/dist/{chunk-JUVAGMIH.js → chunk-5C7HDTHJ.js} +1 -1
  27. package/dist/{chunk-A6X2IVGT.js → chunk-5FFHQTRC.js} +1 -1
  28. package/dist/{chunk-UCLSPAVX.js → chunk-5FVB7JHP.js} +1 -1
  29. package/dist/{chunk-HD5TYIDZ.js → chunk-5H3VTG77.js} +1 -1
  30. package/dist/{chunk-6TEXPRI2.js → chunk-5O43334U.js} +1 -1
  31. package/dist/{chunk-MZJRNFAU.js → chunk-5XDQ76DQ.js} +1 -1
  32. package/dist/{chunk-PD5ZHJWI.js → chunk-636CTEW7.js} +1 -1
  33. package/dist/chunk-6JKGUQRD.js +1 -0
  34. package/dist/chunk-6KETAPWL.js +1 -0
  35. package/dist/{chunk-UOQQNAHX.js → chunk-6LWOWDF4.js} +1 -1
  36. package/dist/{chunk-CE6FKJFS.js → chunk-7572RLUP.js} +1 -1
  37. package/dist/{chunk-XFKCDWXB.js → chunk-762JWOWJ.js} +1 -1
  38. package/dist/{chunk-IU2ZQ6TE.js → chunk-773TIA5M.js} +1 -1
  39. package/dist/{chunk-23AMFHXC.js → chunk-7D45IAMQ.js} +1 -1
  40. package/dist/{chunk-VPL2NDH6.js → chunk-7FQFEB33.js} +5 -5
  41. package/dist/{chunk-BPVZ7E63.js → chunk-7LV55VWE.js} +1 -1
  42. package/dist/{chunk-QUTQDXSL.js → chunk-7UNQOKZW.js} +1 -1
  43. package/dist/{chunk-IWE4RUI7.js → chunk-A27NZMWB.js} +1 -1
  44. package/dist/{chunk-7JESXDF2.js → chunk-A4SBXDZB.js} +1 -1
  45. package/dist/{chunk-AP3RFOPL.js → chunk-A5HKAMAC.js} +1 -1
  46. package/dist/{chunk-Z35BTAM6.js → chunk-AAK376RT.js} +1 -1
  47. package/dist/{chunk-DNLOSMHL.js → chunk-AERKD4TO.js} +1 -1
  48. package/dist/{chunk-WUK5NQSX.js → chunk-ANBOLDON.js} +2 -2
  49. package/dist/{chunk-TLSAQ6FG.js → chunk-AO3RFGNV.js} +1 -1
  50. package/dist/{chunk-KU5OPV7U.js → chunk-ATSMK66C.js} +1 -1
  51. package/dist/{chunk-LTWXTDDR.js → chunk-AU5EZQW7.js} +1 -1
  52. package/dist/{chunk-2YXKZWYW.js → chunk-AVD3INWF.js} +1 -1
  53. package/dist/chunk-AWEB5AQM.js +1 -0
  54. package/dist/{chunk-X4CV6TRE.js → chunk-AXNAGI32.js} +1 -1
  55. package/dist/{chunk-FQDRVPCY.js → chunk-BL46CZ2M.js} +1 -1
  56. package/dist/{chunk-OKOYLEA7.js → chunk-BQWK3C47.js} +3 -3
  57. package/dist/{chunk-C3LZPAAH.js → chunk-CEHXOWA6.js} +1 -1
  58. package/dist/{chunk-N5ROZKPZ.js → chunk-CFOXXOO2.js} +1 -1
  59. package/dist/{chunk-PIBY5DDZ.js → chunk-CRALWNNO.js} +1 -1
  60. package/dist/{chunk-NO5KVFTV.js → chunk-CV5EQGES.js} +3 -3
  61. package/dist/{chunk-H4W4DFKK.js → chunk-CX5CC6P5.js} +1 -1
  62. package/dist/{chunk-OKNBZSGN.js → chunk-DCLUZFT7.js} +1 -1
  63. package/dist/{chunk-2EJCY4CE.js → chunk-DNXYKGV2.js} +1 -1
  64. package/dist/{chunk-IOQQUHST.js → chunk-DTIWUT2T.js} +1 -1
  65. package/dist/{chunk-6TORWTD7.js → chunk-DYNH5SKT.js} +1 -1
  66. package/dist/{chunk-D3DDLLNF.js → chunk-DZQYG32N.js} +1 -1
  67. package/dist/{chunk-QTGMS62F.js → chunk-E7DHELFH.js} +1 -1
  68. package/dist/{chunk-PUTZFF2Z.js → chunk-EH7ZTFS4.js} +3 -3
  69. package/dist/{chunk-YS6VOQ7I.js → chunk-EJDWYASP.js} +1 -1
  70. package/dist/chunk-EKVTNWHM.js +1 -0
  71. package/dist/{chunk-6M3ZYNGO.js → chunk-ET2CGROE.js} +1 -1
  72. package/dist/{chunk-6ZIOYXEF.js → chunk-EVZA2TCI.js} +1 -1
  73. package/dist/{chunk-QSTEVZFQ.js → chunk-F3TMLDLC.js} +1 -1
  74. package/dist/{chunk-CW7WJZKR.js → chunk-FIYAECXH.js} +1 -1
  75. package/dist/{chunk-WDC3KIZT.js → chunk-FKIVKNOV.js} +1 -1
  76. package/dist/{chunk-7DVOSOEP.js → chunk-FOFJBRSL.js} +1 -1
  77. package/dist/{chunk-D656BV5Z.js → chunk-FQ5ZZX2G.js} +1 -1
  78. package/dist/{chunk-6YHJ554P.js → chunk-G2LVUM7N.js} +1 -1
  79. package/dist/{chunk-NPM3MFB3.js → chunk-G2OHWAY2.js} +1 -1
  80. package/dist/chunk-G3JJLXPH.js +1 -0
  81. package/dist/{chunk-57N2DFIF.js → chunk-G3RWLAOG.js} +1 -1
  82. package/dist/{chunk-4V4DQ6W7.js → chunk-G4OQABDT.js} +30 -30
  83. package/dist/{chunk-KLMDWDT2.js → chunk-GB3YC4TI.js} +1 -1
  84. package/dist/{chunk-OCOY5MV2.js → chunk-GCN4O7HM.js} +1 -1
  85. package/dist/{chunk-2N4O33VM.js → chunk-GDHD3TGC.js} +1 -1
  86. package/dist/{chunk-N3YWHJMB.js → chunk-GJXINXSU.js} +2 -2
  87. package/dist/{chunk-RAH5NW3R.js → chunk-GWHV62YT.js} +1 -1
  88. package/dist/{chunk-VA5IUGZV.js → chunk-HCTZN7L4.js} +1 -1
  89. package/dist/{chunk-LITB5QQX.js → chunk-HDC5V7RY.js} +1 -1
  90. package/dist/{chunk-K7K6GNF6.js → chunk-HIQHYPLU.js} +1 -1
  91. package/dist/{chunk-VEDZUOVI.js → chunk-HOSFU6UP.js} +3 -3
  92. package/dist/{chunk-HSYRYSX4.js → chunk-I22ZTRKK.js} +1 -1
  93. package/dist/{chunk-KLA7AWG6.js → chunk-I4R7TML2.js} +1 -1
  94. package/dist/{chunk-EENHXSWU.js → chunk-I5A6BPCP.js} +1 -1
  95. package/dist/{chunk-TNQXTZAX.js → chunk-IWOTLFOY.js} +1 -1
  96. package/dist/{chunk-PBTXPBI6.js → chunk-J3H4LPN6.js} +3 -3
  97. package/dist/{chunk-6HZTMQD6.js → chunk-J3HX6ZGD.js} +1 -1
  98. package/dist/{chunk-OYP7DKPU.js → chunk-J3JPJCWP.js} +1 -1
  99. package/dist/{chunk-E2YBU6D3.js → chunk-J5BRKYGE.js} +2 -2
  100. package/dist/{chunk-5TIJLYZU.js → chunk-JAWKLBOB.js} +1 -1
  101. package/dist/{chunk-6AJZKIZ3.js → chunk-JAWOP4HJ.js} +1 -1
  102. package/dist/{chunk-TQGTEVSR.js → chunk-JCIN73BE.js} +1 -1
  103. package/dist/{chunk-C6ABJCRG.js → chunk-JEZ3PGVC.js} +1 -1
  104. package/dist/{chunk-TGACBJIY.js → chunk-JJ6RM54S.js} +1 -1
  105. package/dist/{chunk-TXUTT6UA.js → chunk-JK3NIHTX.js} +1 -1
  106. package/dist/{chunk-OLOBQ42K.js → chunk-JLE4NBMT.js} +1 -1
  107. package/dist/{chunk-7KJ5TBWG.js → chunk-JSOGPMWB.js} +1 -1
  108. package/dist/{chunk-L2VSSINY.js → chunk-JUYJZUYU.js} +1 -1
  109. package/dist/chunk-KRQGLK2Q.js +3 -0
  110. package/dist/{chunk-3VZEETAV.js → chunk-KRZABRYT.js} +1 -1
  111. package/dist/{chunk-FBVBO5YQ.js → chunk-L2PC4MUV.js} +1 -1
  112. package/dist/{chunk-SSM346XI.js → chunk-LCZDC6EE.js} +1 -1
  113. package/dist/{chunk-NEZEHBT2.js → chunk-LXVORHCQ.js} +1 -1
  114. package/dist/{chunk-DERA4K6A.js → chunk-M2YINBHF.js} +1 -1
  115. package/dist/{chunk-VT77EFRL.js → chunk-M7YFD4EV.js} +6 -6
  116. package/dist/{chunk-DCBYHVKW.js → chunk-MEIEEENL.js} +1 -1
  117. package/dist/{chunk-7BFDUVOG.js → chunk-MIDYZPO4.js} +1 -1
  118. package/dist/{chunk-I3LX25MB.js → chunk-MINZGZ4N.js} +1 -1
  119. package/dist/{chunk-U3ZG675O.js → chunk-MMIHHCMW.js} +1 -1
  120. package/dist/{chunk-PRKBO42R.js → chunk-MPW2YJWU.js} +1 -1
  121. package/dist/{chunk-C2FFA4O4.js → chunk-MRS6LAY7.js} +1 -1
  122. package/dist/{chunk-IVGWFPMA.js → chunk-N3CNWCC2.js} +1 -1
  123. package/dist/{chunk-NXL6LDJU.js → chunk-N3NE4MVN.js} +1 -1
  124. package/dist/{chunk-WNGV4JQS.js → chunk-N3YTDGFY.js} +1 -1
  125. package/dist/{chunk-A5SQCM63.js → chunk-N5LVGFDS.js} +1 -1
  126. package/dist/{chunk-GVITHCQJ.js → chunk-NILXAUUT.js} +1 -1
  127. package/dist/{chunk-5Y7GIF2W.js → chunk-NJOO5XJV.js} +1 -1
  128. package/dist/{chunk-ULQG3XQS.js → chunk-NNOSZ447.js} +1 -1
  129. package/dist/{chunk-MGL4YM3S.js → chunk-NTRAWIEJ.js} +4 -4
  130. package/dist/{chunk-2WNODIWJ.js → chunk-NWXDOCL5.js} +1 -1
  131. package/dist/{chunk-K77WAKOB.js → chunk-OU3M32A2.js} +1 -1
  132. package/dist/chunk-OU4SKQTC.js +5 -0
  133. package/dist/{chunk-4KRT35A2.js → chunk-OXJBYKMX.js} +1 -1
  134. package/dist/{chunk-LCCMXY6N.js → chunk-OZBY45KT.js} +1 -1
  135. package/dist/{chunk-75VPUOC5.js → chunk-P2OI2P2M.js} +1 -1
  136. package/dist/{chunk-XP6IRAZN.js → chunk-PCCK4YTE.js} +1 -1
  137. package/dist/{chunk-2VLMN5QZ.js → chunk-PFGYC53K.js} +1 -1
  138. package/dist/{chunk-YGMVL6NZ.js → chunk-PMS4MNHB.js} +2 -2
  139. package/dist/{chunk-OA4P6AKS.js → chunk-PNP5OKNZ.js} +1 -1
  140. package/dist/{chunk-XX343DDG.js → chunk-PXHY753L.js} +1 -1
  141. package/dist/{chunk-UURFVUAH.js → chunk-Q73GEVSJ.js} +1 -1
  142. package/dist/{chunk-M2TJICTB.js → chunk-Q77MM2N2.js} +1 -1
  143. package/dist/{chunk-XDAOLCPN.js → chunk-Q7C44DX5.js} +1 -1
  144. package/dist/chunk-QDVJJKLB.js +1 -0
  145. package/dist/{chunk-5CH3B62S.js → chunk-RJ5VF3QY.js} +1 -1
  146. package/dist/{chunk-LQMSF3F7.js → chunk-RKDZGK5K.js} +1 -1
  147. package/dist/{chunk-VYXVYOIJ.js → chunk-RSRYC5ZF.js} +1 -1
  148. package/dist/{chunk-HLMFVORT.js → chunk-S22NCNAJ.js} +1 -1
  149. package/dist/{chunk-UARVYVLN.js → chunk-S5IFJ737.js} +2 -2
  150. package/dist/{chunk-42RMKTCJ.js → chunk-S6B2ADVR.js} +1 -1
  151. package/dist/chunk-S7F5KFQP.js +1 -0
  152. package/dist/{chunk-UBKVCI7A.js → chunk-SSCYLDSX.js} +1 -1
  153. package/dist/{chunk-QFWIDATO.js → chunk-STJ3LWFL.js} +1 -1
  154. package/dist/{chunk-LKS47US7.js → chunk-T3ERXB7F.js} +1 -1
  155. package/dist/{chunk-PLQFX5ZP.js → chunk-T4IV643Z.js} +1 -1
  156. package/dist/{chunk-BECEP46I.js → chunk-T4NS63K4.js} +1 -1
  157. package/dist/{chunk-3YWUSKWF.js → chunk-T6CC5WUU.js} +1 -1
  158. package/dist/{chunk-3TNEIDOD.js → chunk-T7KHS6RF.js} +1 -1
  159. package/dist/{chunk-QYR5VPQA.js → chunk-TOLPNBZK.js} +1 -1
  160. package/dist/{chunk-XXE7667M.js → chunk-TP7E54WN.js} +1 -1
  161. package/dist/chunk-TPCG6DCA.js +1 -0
  162. package/dist/{chunk-2KH2S7PI.js → chunk-TRYWVIVJ.js} +1 -1
  163. package/dist/chunk-TU47HMTL.js +1 -0
  164. package/dist/{chunk-HHXHOQQP.js → chunk-TUNUEOHO.js} +1 -1
  165. package/dist/{chunk-PS25FEBF.js → chunk-TY6BZTG3.js} +1 -1
  166. package/dist/chunk-TYMYIUIQ.js +1 -0
  167. package/dist/chunk-UB26DGTR.js +6 -0
  168. package/dist/{chunk-HJSYHK4S.js → chunk-UC7KMA6W.js} +1 -1
  169. package/dist/{chunk-FD5S2O6M.js → chunk-UOHNRH6E.js} +1 -1
  170. package/dist/{chunk-ZR76GGZ6.js → chunk-UQWFDL3F.js} +1 -1
  171. package/dist/{chunk-M4LOKANA.js → chunk-USLYL5AC.js} +1 -1
  172. package/dist/{chunk-VICNWPLQ.js → chunk-UTO4Z6P6.js} +12 -12
  173. package/dist/{chunk-F47MFBKM.js → chunk-UU5P2IYU.js} +1 -1
  174. package/dist/chunk-UYSF234H.js +1 -0
  175. package/dist/chunk-VE35YELD.js +1 -0
  176. package/dist/{chunk-6YAXFS6V.js → chunk-VI34CKV6.js} +1 -1
  177. package/dist/{chunk-M4V2OQAX.js → chunk-VJ6KDRZI.js} +1 -1
  178. package/dist/{chunk-VBUZWRUL.js → chunk-VJEKDBGZ.js} +1 -1
  179. package/dist/chunk-VKWPEFWQ.js +1 -0
  180. package/dist/chunk-VPPWSKOY.js +1 -0
  181. package/dist/chunk-VRJTLVG3.js +1 -0
  182. package/dist/chunk-VUMUCNI7.js +1 -0
  183. package/dist/chunk-W7DDV2EY.js +1 -0
  184. package/dist/{chunk-RL5BWZ7D.js → chunk-WA3YC5W4.js} +1 -1
  185. package/dist/{chunk-MFLBTJO7.js → chunk-WHNWE7P2.js} +1 -1
  186. package/dist/{chunk-R6JNXEB3.js → chunk-WVRGCNBZ.js} +1 -1
  187. package/dist/{chunk-MOA33ZFO.js → chunk-WW7TENNA.js} +1 -1
  188. package/dist/{chunk-HZA6IAA4.js → chunk-XVUHUA36.js} +1 -1
  189. package/dist/{chunk-PSQFZAF3.js → chunk-XWPPBOGF.js} +1 -1
  190. package/dist/chunk-YIRFEW5M.js +1 -0
  191. package/dist/{chunk-RGNAWKD7.js → chunk-YL3TYQGT.js} +1 -1
  192. package/dist/{chunk-A3VYI4LO.js → chunk-YLQ3LNNY.js} +3 -3
  193. package/dist/{chunk-MA52QGHP.js → chunk-YMAWEIUR.js} +1 -1
  194. package/dist/{chunk-6LK6ZP3Q.js → chunk-YPBCSDFQ.js} +1 -1
  195. package/dist/{chunk-3BRUCKZ2.js → chunk-YSIBRY6C.js} +1 -1
  196. package/dist/{chunk-FGVC22EY.js → chunk-YVQXEPHY.js} +1 -1
  197. package/dist/{chunk-4LNCYIS3.js → chunk-ZDF5N422.js} +1 -1
  198. package/dist/{chunk-T4M5CWAO.js → chunk-ZG7BVVT2.js} +1 -1
  199. package/dist/chunk-ZGJ3DFTQ.js +9 -0
  200. package/dist/{chunk-NKQBEFPS.js → chunk-ZI7LK3LW.js} +1 -1
  201. package/dist/{chunk-IXUVSFW2.js → chunk-ZM75DSIW.js} +1 -1
  202. package/dist/{chunk-3V63X7WZ.js → chunk-ZUKLGZOU.js} +1 -1
  203. package/dist/cli/commands/app/app-logs/sources.js +1 -1
  204. package/dist/cli/commands/app/build.js +1 -1
  205. package/dist/cli/commands/app/bulk/cancel.js +1 -1
  206. package/dist/cli/commands/app/bulk/execute.js +1 -1
  207. package/dist/cli/commands/app/bulk/status.js +1 -1
  208. package/dist/cli/commands/app/config/link.js +1 -1
  209. package/dist/cli/commands/app/config/pull.js +1 -1
  210. package/dist/cli/commands/app/config/use.js +1 -1
  211. package/dist/cli/commands/app/config/validate.js +1 -1
  212. package/dist/cli/commands/app/demo/watcher.js +1 -1
  213. package/dist/cli/commands/app/deploy.js +1 -1
  214. package/dist/cli/commands/app/dev/clean.js +1 -1
  215. package/dist/cli/commands/app/dev.js +1 -1
  216. package/dist/cli/commands/app/env/pull.js +1 -1
  217. package/dist/cli/commands/app/env/show.js +1 -1
  218. package/dist/cli/commands/app/execute.js +1 -1
  219. package/dist/cli/commands/app/function/build.js +1 -1
  220. package/dist/cli/commands/app/function/info.js +1 -1
  221. package/dist/cli/commands/app/function/replay.js +1 -1
  222. package/dist/cli/commands/app/function/run.js +1 -1
  223. package/dist/cli/commands/app/function/schema.js +1 -1
  224. package/dist/cli/commands/app/function/typegen.js +1 -1
  225. package/dist/cli/commands/app/generate/extension.js +1 -1
  226. package/dist/cli/commands/app/import-custom-data-definitions.js +1 -1
  227. package/dist/cli/commands/app/import-extensions.js +1 -1
  228. package/dist/cli/commands/app/info.js +1 -1
  229. package/dist/cli/commands/app/init.js +1 -1
  230. package/dist/cli/commands/app/logs.js +1 -1
  231. package/dist/cli/commands/app/release.js +1 -1
  232. package/dist/cli/commands/app/versions/list.js +1 -1
  233. package/dist/cli/commands/app/webhook/trigger.js +1 -1
  234. package/dist/cli/commands/auth/login.js +1 -1
  235. package/dist/cli/commands/auth/logout.js +1 -1
  236. package/dist/cli/commands/cache/clear.js +1 -1
  237. package/dist/cli/commands/config/autoupgrade/constants.js +1 -1
  238. package/dist/cli/commands/config/autoupgrade/off.js +1 -1
  239. package/dist/cli/commands/config/autoupgrade/on.js +1 -1
  240. package/dist/cli/commands/config/autoupgrade/status.js +1 -1
  241. package/dist/cli/commands/debug/command-flags.js +1 -1
  242. package/dist/cli/commands/doc/fetch.d.ts +12 -0
  243. package/dist/cli/commands/doc/fetch.js +1 -0
  244. package/dist/cli/commands/doc/search.d.ts +13 -0
  245. package/dist/cli/commands/doc/search.js +1 -0
  246. package/dist/cli/commands/docs/generate.js +1 -1
  247. package/dist/cli/commands/doctor-release/doctor-release.js +1 -1
  248. package/dist/cli/commands/doctor-release/theme/index.js +1 -1
  249. package/dist/cli/commands/help.js +1 -1
  250. package/dist/cli/commands/kitchen-sink/async.js +1 -1
  251. package/dist/cli/commands/kitchen-sink/index.js +1 -1
  252. package/dist/cli/commands/kitchen-sink/prompts.js +1 -1
  253. package/dist/cli/commands/kitchen-sink/static.js +1 -1
  254. package/dist/cli/commands/notifications/generate.js +1 -1
  255. package/dist/cli/commands/notifications/list.js +1 -1
  256. package/dist/cli/commands/organization/list.js +1 -1
  257. package/dist/cli/commands/search.d.ts +4 -0
  258. package/dist/cli/commands/search.js +1 -1
  259. package/dist/cli/commands/theme/check.js +1 -1
  260. package/dist/cli/commands/theme/console.js +1 -1
  261. package/dist/cli/commands/theme/delete.js +1 -1
  262. package/dist/cli/commands/theme/dev.js +1 -1
  263. package/dist/cli/commands/theme/duplicate.js +1 -1
  264. package/dist/cli/commands/theme/info.js +1 -1
  265. package/dist/cli/commands/theme/init.js +1 -1
  266. package/dist/cli/commands/theme/language-server.js +1 -1
  267. package/dist/cli/commands/theme/list.js +1 -1
  268. package/dist/cli/commands/theme/metafields/pull.js +1 -1
  269. package/dist/cli/commands/theme/open.js +1 -1
  270. package/dist/cli/commands/theme/package.js +1 -1
  271. package/dist/cli/commands/theme/preview.js +1 -1
  272. package/dist/cli/commands/theme/profile.js +1 -1
  273. package/dist/cli/commands/theme/publish.js +1 -1
  274. package/dist/cli/commands/theme/pull.js +1 -1
  275. package/dist/cli/commands/theme/push.js +1 -1
  276. package/dist/cli/commands/theme/rename.js +1 -1
  277. package/dist/cli/commands/theme/share.js +1 -1
  278. package/dist/cli/commands/upgrade.js +1 -1
  279. package/dist/cli/commands/version.js +1 -1
  280. package/dist/cli/services/commands/doc/fetch.d.ts +1 -0
  281. package/dist/cli/services/commands/doc/fetch.js +45 -0
  282. package/dist/cli/services/commands/doc/search.d.ts +1 -0
  283. package/dist/cli/services/commands/doc/search.js +47 -0
  284. package/dist/command-registry.js +1 -1
  285. package/dist/{conf-store-6QNH5BID.js → conf-store-UY3MDGGA.js} +1 -1
  286. package/dist/{custom-oclif-loader-TSPWW5YF.js → custom-oclif-loader-3AICQCNU.js} +1 -1
  287. package/dist/deprecations-KNUMDRIU.js +1 -0
  288. package/dist/{devtools-HCKYP7DQ.js → devtools-37DE4MUR.js} +1 -1
  289. package/dist/{devtools-VEZNCV6W.js → devtools-WAWU5KQL.js} +1 -1
  290. package/dist/dist-C5IV2YDQ.js +1 -0
  291. package/dist/dist-VL4KZWV2.js +1 -0
  292. package/dist/environments-YPRVO2CF.js +1 -0
  293. package/dist/error-XRBQTNFM.js +1 -0
  294. package/dist/error-handler-NI7D6GSY.js +1 -0
  295. package/dist/{estree-BYYJYS3A.js → estree-JV5M77BA.js} +1 -1
  296. package/dist/{flow-M3Q2HPQT.js → flow-N4JYPYMQ.js} +1 -1
  297. package/dist/{fs-YMUQ6JLE.js → fs-LJWVNO4H.js} +1 -1
  298. package/dist/{glimmer-3DEJJGOJ.js → glimmer-JEV3BXHR.js} +1 -1
  299. package/dist/{graphql-A4HHE3MB.js → graphql-DTF6MHYF.js} +1 -1
  300. package/dist/hooks/app-init.js +1 -1
  301. package/dist/hooks/did-you-mean.js +1 -1
  302. package/dist/hooks/hydrogen-init.js +1 -1
  303. package/dist/hooks/plugin-plugins.js +1 -1
  304. package/dist/hooks/postrun.js +1 -1
  305. package/dist/hooks/prerun.js +1 -1
  306. package/dist/hooks/public-metadata.js +1 -1
  307. package/dist/hooks/sensitive-metadata.js +1 -1
  308. package/dist/hooks/tunnel-provider.js +1 -1
  309. package/dist/hooks/tunnel-start.js +1 -1
  310. package/dist/{html-HETICZ2F.js → html-LVOJ3RQS.js} +1 -1
  311. package/dist/{http-proxy-node16-Q5DZMBHC.js → http-proxy-node16-X2WAMUT5.js} +1 -1
  312. package/dist/index.js +28 -7
  313. package/dist/is-global-W6ALVC5L.js +1 -0
  314. package/dist/{is-wsl-TN2CXYI7.js → is-wsl-UEMXYJPN.js} +1 -1
  315. package/dist/{latest-version-6OAYLOBL.js → latest-version-32HXMWJ7.js} +1 -1
  316. package/dist/lib-AIKYSHWL.js +1 -0
  317. package/dist/lib-O5EZ4NVT.js +1 -0
  318. package/dist/lib-Q4PWEMFD.js +1 -0
  319. package/dist/lib-QJDPPAWN.js +1 -0
  320. package/dist/{local-GPDAXHE6.js → local-GKEWZAIV.js} +1 -1
  321. package/dist/local-storage-ZOZMA22B.js +1 -0
  322. package/dist/{markdown-5TVCXM53.js → markdown-J6CE6POI.js} +1 -1
  323. package/dist/{meriyah-23OZNYWC.js → meriyah-PNQQZQYI.js} +1 -1
  324. package/dist/metadata-UEUN64TK.js +1 -0
  325. package/dist/{morph-I35VYPBH.js → morph-CGOZEPPZ.js} +1 -1
  326. package/dist/{multipart-parser-Q4QJZK3V.js → multipart-parser-5NSSTW27.js} +1 -1
  327. package/dist/{node-package-manager-GO4ZRTKQ.js → node-package-manager-4ASQQIIF.js} +1 -1
  328. package/dist/notifications-system-HLXJCAMG.js +1 -0
  329. package/dist/{npa-VNALV7XY.js → npa-A4YSCQ5Q.js} +1 -1
  330. package/dist/{open-VA7TLUIL.js → open-KLSGXBIW.js} +1 -1
  331. package/dist/out-CDCY25QC.js +1 -0
  332. package/dist/{output-7IYOMPSA.js → output-S6E37GJQ.js} +1 -1
  333. package/dist/{path-CWUNINMX.js → path-MBXP7ZIC.js} +1 -1
  334. package/dist/{postcss-IIK6CGAW.js → postcss-Q36SHOML.js} +1 -1
  335. package/dist/{prettier-ZSBNNQTK.js → prettier-EGVCP5CY.js} +1 -1
  336. package/dist/{source-map-3K6Y2OMO.js → source-map-E7FCCJL7.js} +1 -1
  337. package/dist/system-YQZNGSWB.js +1 -0
  338. package/dist/tsconfig.tsbuildinfo +1 -1
  339. package/dist/typescript-5R4Y7PXE.js +1 -0
  340. package/dist/{typescript-YKZ232QT.js → typescript-WYPDGPSV.js} +1 -1
  341. package/dist/ui-D2FFWRK7.js +1 -0
  342. package/dist/upgrade-TVTCFMXM.js +1 -0
  343. package/dist/version-J6MDN7BZ.js +1 -0
  344. package/dist/version-RIRW5EXQ.js +1 -0
  345. package/dist/{workerd-ST6XJKUN.js → workerd-QOTT6UCO.js} +1 -1
  346. package/dist/{yaml-SJKIH3VD.js → yaml-6KWCJ64X.js} +1 -1
  347. package/oclif.manifest.json +304 -6
  348. package/package.json +11 -8
  349. package/dist/analytics-CX22YIUZ.js +0 -1
  350. package/dist/analytics-UBWQIQYF.js +0 -1
  351. package/dist/chunk-4ZGSSQC6.js +0 -1
  352. package/dist/chunk-6SXOUZ7V.js +0 -1
  353. package/dist/chunk-ATPFTRCC.js +0 -1
  354. package/dist/chunk-AWQ5AR2K.js +0 -5
  355. package/dist/chunk-BHWEA4V2.js +0 -1
  356. package/dist/chunk-CCEA5CUX.js +0 -1
  357. package/dist/chunk-FP2NOZSD.js +0 -1
  358. package/dist/chunk-FSTCEWXX.js +0 -1
  359. package/dist/chunk-K3PGC6DC.js +0 -1
  360. package/dist/chunk-KFCGMT67.js +0 -1
  361. package/dist/chunk-KQU6HOJ3.js +0 -1
  362. package/dist/chunk-NP4UFPAX.js +0 -9
  363. package/dist/chunk-RVMB5LC2.js +0 -1
  364. package/dist/chunk-T5MK7ZSF.js +0 -1
  365. package/dist/chunk-UOQ75BL3.js +0 -1
  366. package/dist/chunk-UWJ73J4B.js +0 -1
  367. package/dist/chunk-VPRTJUIN.js +0 -1
  368. package/dist/chunk-WCWNI3ZV.js +0 -283
  369. package/dist/chunk-XEFQQPL4.js +0 -1
  370. package/dist/chunk-YJB7P2HC.js +0 -1
  371. package/dist/chunk-YOZNRLFC.js +0 -1
  372. package/dist/deprecations-F6JWVV2W.js +0 -1
  373. package/dist/dist-4BD6KOLR.js +0 -1
  374. package/dist/dist-AUABCVPI.js +0 -1
  375. package/dist/environments-RGLI75HN.js +0 -1
  376. package/dist/error-OZALZZ3U.js +0 -1
  377. package/dist/error-handler-V7LSEXHM.js +0 -1
  378. package/dist/is-global-BLIZ57HQ.js +0 -1
  379. package/dist/lib-AK5EOIKR.js +0 -1
  380. package/dist/lib-LVUMLZ4H.js +0 -1
  381. package/dist/lib-ME6554NA.js +0 -1
  382. package/dist/lib-WU3FEA6I.js +0 -1
  383. package/dist/local-storage-P66KJG6I.js +0 -1
  384. package/dist/metadata-TRH25EHU.js +0 -1
  385. package/dist/notifications-system-HM6JZ6WJ.js +0 -1
  386. package/dist/out-WLY6KV4B.js +0 -1
  387. package/dist/system-X5C4EQQH.js +0 -1
  388. package/dist/typescript-K5CWIA4V.js +0 -1
  389. package/dist/ui-H62CMRLG.js +0 -1
  390. package/dist/upgrade-EEOPH464.js +0 -1
  391. package/dist/version-76NBQR4K.js +0 -1
  392. package/dist/version-IGSEISUA.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a as vS,b as Hp}from"./chunk-PSQFZAF3.js";import{a as SC}from"./chunk-TNQXTZAX.js";import{b as EC}from"./chunk-YS6VOQ7I.js";import{a as mS}from"./chunk-Z35BTAM6.js";import{r as gC}from"./chunk-3YWUSKWF.js";import{h as Pf,i as sS,j as mC,k as cS,l as di,m as Hf,n as Ip,o as Au,p as Pp,r as fS,s as dS,t as hC,u as Zn,v as tc,w as yC,x as pS}from"./chunk-7JESXDF2.js";import{a as vC,c as pa,e as nn,g as V}from"./chunk-VPRTJUIN.js";var DS=pa(Bt=>{"use strict";V();var jf=Symbol.for("react.element"),TC=Symbol.for("react.portal"),_C=Symbol.for("react.fragment"),xC=Symbol.for("react.strict_mode"),RC=Symbol.for("react.profiler"),CC=Symbol.for("react.provider"),NC=Symbol.for("react.context"),DC=Symbol.for("react.forward_ref"),LC=Symbol.for("react.suspense"),OC=Symbol.for("react.memo"),bC=Symbol.for("react.lazy"),hS=Symbol.iterator;function AC(s){return s===null||typeof s!="object"?null:(s=hS&&s[hS]||s["@@iterator"],typeof s=="function"?s:null)}var ES={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},SS=Object.assign,TS={};function nc(s,o,p){this.props=s,this.context=o,this.refs=TS,this.updater=p||ES}nc.prototype.isReactComponent={};nc.prototype.setState=function(s,o){if(typeof s!="object"&&typeof s!="function"&&s!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,s,o,"setState")};nc.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};function _S(){}_S.prototype=nc.prototype;function Uh(s,o,p){this.props=s,this.context=o,this.refs=TS,this.updater=p||ES}var wh=Uh.prototype=new _S;wh.constructor=Uh;SS(wh,nc.prototype);wh.isPureReactComponent=!0;var yS=Array.isArray,xS=Object.prototype.hasOwnProperty,zh={current:null},RS={key:!0,ref:!0,__self:!0,__source:!0};function CS(s,o,p){var E,h={},R=null,C=null;if(o!=null)for(E in o.ref!==void 0&&(C=o.ref),o.key!==void 0&&(R=""+o.key),o)xS.call(o,E)&&!RS.hasOwnProperty(E)&&(h[E]=o[E]);var F=arguments.length-2;if(F===1)h.children=p;else if(1<F){for(var A=Array(F),N=0;N<F;N++)A[N]=arguments[N+2];h.children=A}if(s&&s.defaultProps)for(E in F=s.defaultProps,F)h[E]===void 0&&(h[E]=F[E]);return{$$typeof:jf,type:s,key:R,ref:C,props:h,_owner:zh.current}}function UC(s,o){return{$$typeof:jf,type:s.type,key:o,ref:s.ref,props:s.props,_owner:s._owner}}function Mh(s){return typeof s=="object"&&s!==null&&s.$$typeof===jf}function wC(s){var o={"=":"=0",":":"=2"};return"$"+s.replace(/[=:]/g,function(p){return o[p]})}var gS=/\/+/g;function Ah(s,o){return typeof s=="object"&&s!==null&&s.key!=null?wC(""+s.key):o.toString(36)}function Bp(s,o,p,E,h){var R=typeof s;(R==="undefined"||R==="boolean")&&(s=null);var C=!1;if(s===null)C=!0;else switch(R){case"string":case"number":C=!0;break;case"object":switch(s.$$typeof){case jf:case TC:C=!0}}if(C)return C=s,h=h(C),s=E===""?"."+Ah(C,0):E,yS(h)?(p="",s!=null&&(p=s.replace(gS,"$&/")+"/"),Bp(h,o,p,"",function(N){return N})):h!=null&&(Mh(h)&&(h=UC(h,p+(!h.key||C&&C.key===h.key?"":(""+h.key).replace(gS,"$&/")+"/")+s)),o.push(h)),1;if(C=0,E=E===""?".":E+":",yS(s))for(var F=0;F<s.length;F++){R=s[F];var A=E+Ah(R,F);C+=Bp(R,o,p,A,h)}else if(A=AC(s),typeof A=="function")for(s=A.call(s),F=0;!(R=s.next()).done;)R=R.value,A=E+Ah(R,F++),C+=Bp(R,o,p,A,h);else if(R==="object")throw o=String(s),Error("Objects are not valid as a React child (found: "+(o==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.");return C}function jp(s,o,p){if(s==null)return s;var E=[],h=0;return Bp(s,E,"","",function(R){return o.call(p,R,h++)}),E}function zC(s){if(s._status===-1){var o=s._result;o=o(),o.then(function(p){(s._status===0||s._status===-1)&&(s._status=1,s._result=p)},function(p){(s._status===0||s._status===-1)&&(s._status=2,s._result=p)}),s._status===-1&&(s._status=0,s._result=o)}if(s._status===1)return s._result.default;throw s._result}var Ia={current:null},kp={transition:null},MC={ReactCurrentDispatcher:Ia,ReactCurrentBatchConfig:kp,ReactCurrentOwner:zh};function NS(){throw Error("act(...) is not supported in production builds of React.")}Bt.Children={map:jp,forEach:function(s,o,p){jp(s,function(){o.apply(this,arguments)},p)},count:function(s){var o=0;return jp(s,function(){o++}),o},toArray:function(s){return jp(s,function(o){return o})||[]},only:function(s){if(!Mh(s))throw Error("React.Children.only expected to receive a single React element child.");return s}};Bt.Component=nc;Bt.Fragment=_C;Bt.Profiler=RC;Bt.PureComponent=Uh;Bt.StrictMode=xC;Bt.Suspense=LC;Bt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=MC;Bt.act=NS;Bt.cloneElement=function(s,o,p){if(s==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+s+".");var E=SS({},s.props),h=s.key,R=s.ref,C=s._owner;if(o!=null){if(o.ref!==void 0&&(R=o.ref,C=zh.current),o.key!==void 0&&(h=""+o.key),s.type&&s.type.defaultProps)var F=s.type.defaultProps;for(A in o)xS.call(o,A)&&!RS.hasOwnProperty(A)&&(E[A]=o[A]===void 0&&F!==void 0?F[A]:o[A])}var A=arguments.length-2;if(A===1)E.children=p;else if(1<A){F=Array(A);for(var N=0;N<A;N++)F[N]=arguments[N+2];E.children=F}return{$$typeof:jf,type:s.type,key:h,ref:R,props:E,_owner:C}};Bt.createContext=function(s){return s={$$typeof:NC,_currentValue:s,_currentValue2:s,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},s.Provider={$$typeof:CC,_context:s},s.Consumer=s};Bt.createElement=CS;Bt.createFactory=function(s){var o=CS.bind(null,s);return o.type=s,o};Bt.createRef=function(){return{current:null}};Bt.forwardRef=function(s){return{$$typeof:DC,render:s}};Bt.isValidElement=Mh;Bt.lazy=function(s){return{$$typeof:bC,_payload:{_status:-1,_result:s},_init:zC}};Bt.memo=function(s,o){return{$$typeof:OC,type:s,compare:o===void 0?null:o}};Bt.startTransition=function(s){var o=kp.transition;kp.transition={};try{s()}finally{kp.transition=o}};Bt.unstable_act=NS;Bt.useCallback=function(s,o){return Ia.current.useCallback(s,o)};Bt.useContext=function(s){return Ia.current.useContext(s)};Bt.useDebugValue=function(){};Bt.useDeferredValue=function(s){return Ia.current.useDeferredValue(s)};Bt.useEffect=function(s,o){return Ia.current.useEffect(s,o)};Bt.useId=function(){return Ia.current.useId()};Bt.useImperativeHandle=function(s,o,p){return Ia.current.useImperativeHandle(s,o,p)};Bt.useInsertionEffect=function(s,o){return Ia.current.useInsertionEffect(s,o)};Bt.useLayoutEffect=function(s,o){return Ia.current.useLayoutEffect(s,o)};Bt.useMemo=function(s,o){return Ia.current.useMemo(s,o)};Bt.useReducer=function(s,o,p){return Ia.current.useReducer(s,o,p)};Bt.useRef=function(s){return Ia.current.useRef(s)};Bt.useState=function(s){return Ia.current.useState(s)};Bt.useSyncExternalStore=function(s,o,p){return Ia.current.useSyncExternalStore(s,o,p)};Bt.useTransition=function(){return Ia.current.useTransition()};Bt.version="18.3.1"});var LS=pa((kt,Vp)=>{"use strict";V();process.env.NODE_ENV!=="production"&&(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var s="18.3.1",o=Symbol.for("react.element"),p=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),F=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),le=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),xe=Symbol.for("react.lazy"),Le=Symbol.for("react.offscreen"),Ce=Symbol.iterator,he="@@iterator";function Ee(y){if(y===null||typeof y!="object")return null;var L=Ce&&y[Ce]||y[he];return typeof L=="function"?L:null}var $e={current:null},st={transition:null},et={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},Xe={current:null},Xt={},qe=null;function Ve(y){qe=y}Xt.setExtraStackFrame=function(y){qe=y},Xt.getCurrentStack=null,Xt.getStackAddendum=function(){var y="";qe&&(y+=qe);var L=Xt.getCurrentStack;return L&&(y+=L()||""),y};var rn=!1,Ge=!1,gt=!1,ze=!1,W=!1,ce={ReactCurrentDispatcher:$e,ReactCurrentBatchConfig:st,ReactCurrentOwner:Xe};ce.ReactDebugCurrentFrame=Xt,ce.ReactCurrentActQueue=et;function Oe(y){{for(var L=arguments.length,B=new Array(L>1?L-1:0),X=1;X<L;X++)B[X-1]=arguments[X];Tt("warn",y,B)}}function oe(y){{for(var L=arguments.length,B=new Array(L>1?L-1:0),X=1;X<L;X++)B[X-1]=arguments[X];Tt("error",y,B)}}function Tt(y,L,B){{var X=ce.ReactDebugCurrentFrame,fe=X.getStackAddendum();fe!==""&&(L+="%s",B=B.concat([fe]));var nt=B.map(function(_e){return String(_e)});nt.unshift("Warning: "+L),Function.prototype.apply.call(console[y],console,nt)}}var je={};function Rt(y,L){{var B=y.constructor,X=B&&(B.displayName||B.name)||"ReactClass",fe=X+"."+L;if(je[fe])return;oe("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",L,X),je[fe]=!0}}var Ue={isMounted:function(y){return!1},enqueueForceUpdate:function(y,L,B){Rt(y,"forceUpdate")},enqueueReplaceState:function(y,L,B,X){Rt(y,"replaceState")},enqueueSetState:function(y,L,B,X){Rt(y,"setState")}},_t=Object.assign,rt={};Object.freeze(rt);function Wt(y,L,B){this.props=y,this.context=L,this.refs=rt,this.updater=B||Ue}Wt.prototype.isReactComponent={},Wt.prototype.setState=function(y,L){if(typeof y!="object"&&typeof y!="function"&&y!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,y,L,"setState")},Wt.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};{var Je={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},bn=function(y,L){Object.defineProperty(Wt.prototype,y,{get:function(){Oe("%s(...) is deprecated in plain JavaScript React classes. %s",L[0],L[1])}})};for(var Kt in Je)Je.hasOwnProperty(Kt)&&bn(Kt,Je[Kt])}function tt(){}tt.prototype=Wt.prototype;function U(y,L,B){this.props=y,this.context=L,this.refs=rt,this.updater=B||Ue}var J=U.prototype=new tt;J.constructor=U,_t(J,Wt.prototype),J.isPureReactComponent=!0;function Ke(){var y={current:null};return Object.seal(y),y}var Yt=Array.isArray;function vt(y){return Yt(y)}function Dt(y){{var L=typeof Symbol=="function"&&Symbol.toStringTag,B=L&&y[Symbol.toStringTag]||y.constructor.name||"Object";return B}}function Et(y){try{return Qt(y),!1}catch{return!0}}function Qt(y){return""+y}function Nn(y){if(Et(y))return oe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Dt(y)),Qt(y)}function An(y,L,B){var X=y.displayName;if(X)return X;var fe=L.displayName||L.name||"";return fe!==""?B+"("+fe+")":B}function kn(y){return y.displayName||"Context"}function gn(y){if(y==null)return null;if(typeof y.tag=="number"&&oe("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;switch(y){case E:return"Fragment";case p:return"Portal";case R:return"Profiler";case h:return"StrictMode";case N:return"Suspense";case le:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case F:var L=y;return kn(L)+".Consumer";case C:var B=y;return kn(B._context)+".Provider";case A:return An(y,y.render,"ForwardRef");case $:var X=y.displayName||null;return X!==null?X:gn(y.type)||"Memo";case xe:{var fe=y,nt=fe._payload,_e=fe._init;try{return gn(_e(nt))}catch{return null}}}return null}var $n=Object.prototype.hasOwnProperty,br={key:!0,ref:!0,__self:!0,__source:!0},ha,on,Ar;Ar={};function ir(y){if($n.call(y,"ref")){var L=Object.getOwnPropertyDescriptor(y,"ref").get;if(L&&L.isReactWarning)return!1}return y.ref!==void 0}function Pa(y){if($n.call(y,"key")){var L=Object.getOwnPropertyDescriptor(y,"key").get;if(L&&L.isReactWarning)return!1}return y.key!==void 0}function Ka(y,L){var B=function(){ha||(ha=!0,oe("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",L))};B.isReactWarning=!0,Object.defineProperty(y,"key",{get:B,configurable:!0})}function ya(y,L){var B=function(){on||(on=!0,oe("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",L))};B.isReactWarning=!0,Object.defineProperty(y,"ref",{get:B,configurable:!0})}function ga(y){if(typeof y.ref=="string"&&Xe.current&&y.__self&&Xe.current.stateNode!==y.__self){var L=gn(Xe.current.type);Ar[L]||(oe('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',L,y.ref),Ar[L]=!0)}}var Ea=function(y,L,B,X,fe,nt,_e){var Ze={$$typeof:o,type:y,key:L,ref:B,props:_e,_owner:nt};return Ze._store={},Object.defineProperty(Ze._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ze,"_self",{configurable:!1,enumerable:!1,writable:!1,value:X}),Object.defineProperty(Ze,"_source",{configurable:!1,enumerable:!1,writable:!1,value:fe}),Object.freeze&&(Object.freeze(Ze.props),Object.freeze(Ze)),Ze};function ta(y,L,B){var X,fe={},nt=null,_e=null,Ze=null,St=null;if(L!=null){ir(L)&&(_e=L.ref,ga(L)),Pa(L)&&(Nn(L.key),nt=""+L.key),Ze=L.__self===void 0?null:L.__self,St=L.__source===void 0?null:L.__source;for(X in L)$n.call(L,X)&&!br.hasOwnProperty(X)&&(fe[X]=L[X])}var At=arguments.length-2;if(At===1)fe.children=B;else if(At>1){for(var Pt=Array(At),qt=0;qt<At;qt++)Pt[qt]=arguments[qt+2];Object.freeze&&Object.freeze(Pt),fe.children=Pt}if(y&&y.defaultProps){var mn=y.defaultProps;for(X in mn)fe[X]===void 0&&(fe[X]=mn[X])}if(nt||_e){var _n=typeof y=="function"?y.displayName||y.name||"Unknown":y;nt&&Ka(fe,_n),_e&&ya(fe,_n)}return Ea(y,nt,_e,Ze,St,Xe.current,fe)}function ye(y,L){var B=Ea(y.type,L,y.ref,y._self,y._source,y._owner,y.props);return B}function We(y,L,B){if(y==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+y+".");var X,fe=_t({},y.props),nt=y.key,_e=y.ref,Ze=y._self,St=y._source,At=y._owner;if(L!=null){ir(L)&&(_e=L.ref,At=Xe.current),Pa(L)&&(Nn(L.key),nt=""+L.key);var Pt;y.type&&y.type.defaultProps&&(Pt=y.type.defaultProps);for(X in L)$n.call(L,X)&&!br.hasOwnProperty(X)&&(L[X]===void 0&&Pt!==void 0?fe[X]=Pt[X]:fe[X]=L[X])}var qt=arguments.length-2;if(qt===1)fe.children=B;else if(qt>1){for(var mn=Array(qt),_n=0;_n<qt;_n++)mn[_n]=arguments[_n+2];fe.children=mn}return Ea(y.type,nt,_e,Ze,St,At,fe)}function dt(y){return typeof y=="object"&&y!==null&&y.$$typeof===o}var Ie=".",an=":";function ur(y){var L=/[=:]/g,B={"=":"=0",":":"=2"},X=y.replace(L,function(fe){return B[fe]});return"$"+X}var Pe=!1,Me=/\/+/g;function vn(y){return y.replace(Me,"$&/")}function Zt(y,L){return typeof y=="object"&&y!==null&&y.key!=null?(Nn(y.key),ur(""+y.key)):L.toString(36)}function ut(y,L,B,X,fe){var nt=typeof y;(nt==="undefined"||nt==="boolean")&&(y=null);var _e=!1;if(y===null)_e=!0;else switch(nt){case"string":case"number":_e=!0;break;case"object":switch(y.$$typeof){case o:case p:_e=!0}}if(_e){var Ze=y,St=fe(Ze),At=X===""?Ie+Zt(Ze,0):X;if(vt(St)){var Pt="";At!=null&&(Pt=vn(At)+"/"),ut(St,L,Pt,"",function(Ql){return Ql})}else St!=null&&(dt(St)&&(St.key&&(!Ze||Ze.key!==St.key)&&Nn(St.key),St=ye(St,B+(St.key&&(!Ze||Ze.key!==St.key)?vn(""+St.key)+"/":"")+At)),L.push(St));return 1}var qt,mn,_n=0,On=X===""?Ie:X+an;if(vt(y))for(var Wn=0;Wn<y.length;Wn++)qt=y[Wn],mn=On+Zt(qt,Wn),_n+=ut(qt,L,B,mn,fe);else{var Mr=Ee(y);if(typeof Mr=="function"){var cn=y;Mr===cn.entries&&(Pe||Oe("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Pe=!0);for(var Si=Mr.call(cn),aa,Yo=0;!(aa=Si.next()).done;)qt=aa.value,mn=On+Zt(qt,Yo++),_n+=ut(qt,L,B,mn,fe)}else if(nt==="object"){var Yl=String(y);throw new Error("Objects are not valid as a React child (found: "+(Yl==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":Yl)+"). If you meant to render a collection of children, use an array instead.")}}return _n}function lr(y,L,B){if(y==null)return y;var X=[],fe=0;return ut(y,X,"","",function(nt){return L.call(B,nt,fe++)}),X}function pi(y){var L=0;return lr(y,function(){L++}),L}function or(y,L,B){lr(y,function(){L.apply(this,arguments)},B)}function Ot(y){return lr(y,function(L){return L})||[]}function Ur(y){if(!dt(y))throw new Error("React.Children.only expected to receive a single React element child.");return y}function wr(y){var L={$$typeof:F,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};L.Provider={$$typeof:C,_context:L};var B=!1,X=!1,fe=!1;{var nt={$$typeof:F,_context:L};Object.defineProperties(nt,{Provider:{get:function(){return X||(X=!0,oe("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),L.Provider},set:function(_e){L.Provider=_e}},_currentValue:{get:function(){return L._currentValue},set:function(_e){L._currentValue=_e}},_currentValue2:{get:function(){return L._currentValue2},set:function(_e){L._currentValue2=_e}},_threadCount:{get:function(){return L._threadCount},set:function(_e){L._threadCount=_e}},Consumer:{get:function(){return B||(B=!0,oe("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),L.Consumer}},displayName:{get:function(){return L.displayName},set:function(_e){fe||(Oe("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",_e),fe=!0)}}}),L.Consumer=nt}return L._currentRenderer=null,L._currentRenderer2=null,L}var sr=-1,Vn=0,zr=1,Za=2;function $i(y){if(y._status===sr){var L=y._result,B=L();if(B.then(function(nt){if(y._status===Vn||y._status===sr){var _e=y;_e._status=zr,_e._result=nt}},function(nt){if(y._status===Vn||y._status===sr){var _e=y;_e._status=Za,_e._result=nt}}),y._status===sr){var X=y;X._status=Vn,X._result=B}}if(y._status===zr){var fe=y._result;return fe===void 0&&oe(`lazy: Expected the result of a dynamic import() call. Instead received: %s
1
+ import{a as vS,b as Hp}from"./chunk-XWPPBOGF.js";import{a as SC}from"./chunk-IWOTLFOY.js";import{b as EC}from"./chunk-EJDWYASP.js";import{a as mS}from"./chunk-AAK376RT.js";import{r as gC}from"./chunk-T6CC5WUU.js";import{h as Pf,i as sS,j as mC,k as cS,l as di,m as Hf,n as Ip,o as Au,p as Pp,r as fS,s as dS,t as hC,u as Zn,v as tc,w as yC,x as pS}from"./chunk-A4SBXDZB.js";import{a as vC,c as pa,e as nn,g as V}from"./chunk-VKWPEFWQ.js";var DS=pa(Bt=>{"use strict";V();var jf=Symbol.for("react.element"),TC=Symbol.for("react.portal"),_C=Symbol.for("react.fragment"),xC=Symbol.for("react.strict_mode"),RC=Symbol.for("react.profiler"),CC=Symbol.for("react.provider"),NC=Symbol.for("react.context"),DC=Symbol.for("react.forward_ref"),LC=Symbol.for("react.suspense"),OC=Symbol.for("react.memo"),bC=Symbol.for("react.lazy"),hS=Symbol.iterator;function AC(s){return s===null||typeof s!="object"?null:(s=hS&&s[hS]||s["@@iterator"],typeof s=="function"?s:null)}var ES={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},SS=Object.assign,TS={};function nc(s,o,p){this.props=s,this.context=o,this.refs=TS,this.updater=p||ES}nc.prototype.isReactComponent={};nc.prototype.setState=function(s,o){if(typeof s!="object"&&typeof s!="function"&&s!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,s,o,"setState")};nc.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};function _S(){}_S.prototype=nc.prototype;function Uh(s,o,p){this.props=s,this.context=o,this.refs=TS,this.updater=p||ES}var wh=Uh.prototype=new _S;wh.constructor=Uh;SS(wh,nc.prototype);wh.isPureReactComponent=!0;var yS=Array.isArray,xS=Object.prototype.hasOwnProperty,zh={current:null},RS={key:!0,ref:!0,__self:!0,__source:!0};function CS(s,o,p){var E,h={},R=null,C=null;if(o!=null)for(E in o.ref!==void 0&&(C=o.ref),o.key!==void 0&&(R=""+o.key),o)xS.call(o,E)&&!RS.hasOwnProperty(E)&&(h[E]=o[E]);var F=arguments.length-2;if(F===1)h.children=p;else if(1<F){for(var A=Array(F),N=0;N<F;N++)A[N]=arguments[N+2];h.children=A}if(s&&s.defaultProps)for(E in F=s.defaultProps,F)h[E]===void 0&&(h[E]=F[E]);return{$$typeof:jf,type:s,key:R,ref:C,props:h,_owner:zh.current}}function UC(s,o){return{$$typeof:jf,type:s.type,key:o,ref:s.ref,props:s.props,_owner:s._owner}}function Mh(s){return typeof s=="object"&&s!==null&&s.$$typeof===jf}function wC(s){var o={"=":"=0",":":"=2"};return"$"+s.replace(/[=:]/g,function(p){return o[p]})}var gS=/\/+/g;function Ah(s,o){return typeof s=="object"&&s!==null&&s.key!=null?wC(""+s.key):o.toString(36)}function Bp(s,o,p,E,h){var R=typeof s;(R==="undefined"||R==="boolean")&&(s=null);var C=!1;if(s===null)C=!0;else switch(R){case"string":case"number":C=!0;break;case"object":switch(s.$$typeof){case jf:case TC:C=!0}}if(C)return C=s,h=h(C),s=E===""?"."+Ah(C,0):E,yS(h)?(p="",s!=null&&(p=s.replace(gS,"$&/")+"/"),Bp(h,o,p,"",function(N){return N})):h!=null&&(Mh(h)&&(h=UC(h,p+(!h.key||C&&C.key===h.key?"":(""+h.key).replace(gS,"$&/")+"/")+s)),o.push(h)),1;if(C=0,E=E===""?".":E+":",yS(s))for(var F=0;F<s.length;F++){R=s[F];var A=E+Ah(R,F);C+=Bp(R,o,p,A,h)}else if(A=AC(s),typeof A=="function")for(s=A.call(s),F=0;!(R=s.next()).done;)R=R.value,A=E+Ah(R,F++),C+=Bp(R,o,p,A,h);else if(R==="object")throw o=String(s),Error("Objects are not valid as a React child (found: "+(o==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.");return C}function jp(s,o,p){if(s==null)return s;var E=[],h=0;return Bp(s,E,"","",function(R){return o.call(p,R,h++)}),E}function zC(s){if(s._status===-1){var o=s._result;o=o(),o.then(function(p){(s._status===0||s._status===-1)&&(s._status=1,s._result=p)},function(p){(s._status===0||s._status===-1)&&(s._status=2,s._result=p)}),s._status===-1&&(s._status=0,s._result=o)}if(s._status===1)return s._result.default;throw s._result}var Ia={current:null},kp={transition:null},MC={ReactCurrentDispatcher:Ia,ReactCurrentBatchConfig:kp,ReactCurrentOwner:zh};function NS(){throw Error("act(...) is not supported in production builds of React.")}Bt.Children={map:jp,forEach:function(s,o,p){jp(s,function(){o.apply(this,arguments)},p)},count:function(s){var o=0;return jp(s,function(){o++}),o},toArray:function(s){return jp(s,function(o){return o})||[]},only:function(s){if(!Mh(s))throw Error("React.Children.only expected to receive a single React element child.");return s}};Bt.Component=nc;Bt.Fragment=_C;Bt.Profiler=RC;Bt.PureComponent=Uh;Bt.StrictMode=xC;Bt.Suspense=LC;Bt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=MC;Bt.act=NS;Bt.cloneElement=function(s,o,p){if(s==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+s+".");var E=SS({},s.props),h=s.key,R=s.ref,C=s._owner;if(o!=null){if(o.ref!==void 0&&(R=o.ref,C=zh.current),o.key!==void 0&&(h=""+o.key),s.type&&s.type.defaultProps)var F=s.type.defaultProps;for(A in o)xS.call(o,A)&&!RS.hasOwnProperty(A)&&(E[A]=o[A]===void 0&&F!==void 0?F[A]:o[A])}var A=arguments.length-2;if(A===1)E.children=p;else if(1<A){F=Array(A);for(var N=0;N<A;N++)F[N]=arguments[N+2];E.children=F}return{$$typeof:jf,type:s.type,key:h,ref:R,props:E,_owner:C}};Bt.createContext=function(s){return s={$$typeof:NC,_currentValue:s,_currentValue2:s,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},s.Provider={$$typeof:CC,_context:s},s.Consumer=s};Bt.createElement=CS;Bt.createFactory=function(s){var o=CS.bind(null,s);return o.type=s,o};Bt.createRef=function(){return{current:null}};Bt.forwardRef=function(s){return{$$typeof:DC,render:s}};Bt.isValidElement=Mh;Bt.lazy=function(s){return{$$typeof:bC,_payload:{_status:-1,_result:s},_init:zC}};Bt.memo=function(s,o){return{$$typeof:OC,type:s,compare:o===void 0?null:o}};Bt.startTransition=function(s){var o=kp.transition;kp.transition={};try{s()}finally{kp.transition=o}};Bt.unstable_act=NS;Bt.useCallback=function(s,o){return Ia.current.useCallback(s,o)};Bt.useContext=function(s){return Ia.current.useContext(s)};Bt.useDebugValue=function(){};Bt.useDeferredValue=function(s){return Ia.current.useDeferredValue(s)};Bt.useEffect=function(s,o){return Ia.current.useEffect(s,o)};Bt.useId=function(){return Ia.current.useId()};Bt.useImperativeHandle=function(s,o,p){return Ia.current.useImperativeHandle(s,o,p)};Bt.useInsertionEffect=function(s,o){return Ia.current.useInsertionEffect(s,o)};Bt.useLayoutEffect=function(s,o){return Ia.current.useLayoutEffect(s,o)};Bt.useMemo=function(s,o){return Ia.current.useMemo(s,o)};Bt.useReducer=function(s,o,p){return Ia.current.useReducer(s,o,p)};Bt.useRef=function(s){return Ia.current.useRef(s)};Bt.useState=function(s){return Ia.current.useState(s)};Bt.useSyncExternalStore=function(s,o,p){return Ia.current.useSyncExternalStore(s,o,p)};Bt.useTransition=function(){return Ia.current.useTransition()};Bt.version="18.3.1"});var LS=pa((kt,Vp)=>{"use strict";V();process.env.NODE_ENV!=="production"&&(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var s="18.3.1",o=Symbol.for("react.element"),p=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),F=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),le=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),xe=Symbol.for("react.lazy"),Le=Symbol.for("react.offscreen"),Ce=Symbol.iterator,he="@@iterator";function Ee(y){if(y===null||typeof y!="object")return null;var L=Ce&&y[Ce]||y[he];return typeof L=="function"?L:null}var $e={current:null},st={transition:null},et={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},Xe={current:null},Xt={},qe=null;function Ve(y){qe=y}Xt.setExtraStackFrame=function(y){qe=y},Xt.getCurrentStack=null,Xt.getStackAddendum=function(){var y="";qe&&(y+=qe);var L=Xt.getCurrentStack;return L&&(y+=L()||""),y};var rn=!1,Ge=!1,gt=!1,ze=!1,W=!1,ce={ReactCurrentDispatcher:$e,ReactCurrentBatchConfig:st,ReactCurrentOwner:Xe};ce.ReactDebugCurrentFrame=Xt,ce.ReactCurrentActQueue=et;function Oe(y){{for(var L=arguments.length,B=new Array(L>1?L-1:0),X=1;X<L;X++)B[X-1]=arguments[X];Tt("warn",y,B)}}function oe(y){{for(var L=arguments.length,B=new Array(L>1?L-1:0),X=1;X<L;X++)B[X-1]=arguments[X];Tt("error",y,B)}}function Tt(y,L,B){{var X=ce.ReactDebugCurrentFrame,fe=X.getStackAddendum();fe!==""&&(L+="%s",B=B.concat([fe]));var nt=B.map(function(_e){return String(_e)});nt.unshift("Warning: "+L),Function.prototype.apply.call(console[y],console,nt)}}var je={};function Rt(y,L){{var B=y.constructor,X=B&&(B.displayName||B.name)||"ReactClass",fe=X+"."+L;if(je[fe])return;oe("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",L,X),je[fe]=!0}}var Ue={isMounted:function(y){return!1},enqueueForceUpdate:function(y,L,B){Rt(y,"forceUpdate")},enqueueReplaceState:function(y,L,B,X){Rt(y,"replaceState")},enqueueSetState:function(y,L,B,X){Rt(y,"setState")}},_t=Object.assign,rt={};Object.freeze(rt);function Wt(y,L,B){this.props=y,this.context=L,this.refs=rt,this.updater=B||Ue}Wt.prototype.isReactComponent={},Wt.prototype.setState=function(y,L){if(typeof y!="object"&&typeof y!="function"&&y!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,y,L,"setState")},Wt.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};{var Je={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},bn=function(y,L){Object.defineProperty(Wt.prototype,y,{get:function(){Oe("%s(...) is deprecated in plain JavaScript React classes. %s",L[0],L[1])}})};for(var Kt in Je)Je.hasOwnProperty(Kt)&&bn(Kt,Je[Kt])}function tt(){}tt.prototype=Wt.prototype;function U(y,L,B){this.props=y,this.context=L,this.refs=rt,this.updater=B||Ue}var J=U.prototype=new tt;J.constructor=U,_t(J,Wt.prototype),J.isPureReactComponent=!0;function Ke(){var y={current:null};return Object.seal(y),y}var Yt=Array.isArray;function vt(y){return Yt(y)}function Dt(y){{var L=typeof Symbol=="function"&&Symbol.toStringTag,B=L&&y[Symbol.toStringTag]||y.constructor.name||"Object";return B}}function Et(y){try{return Qt(y),!1}catch{return!0}}function Qt(y){return""+y}function Nn(y){if(Et(y))return oe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Dt(y)),Qt(y)}function An(y,L,B){var X=y.displayName;if(X)return X;var fe=L.displayName||L.name||"";return fe!==""?B+"("+fe+")":B}function kn(y){return y.displayName||"Context"}function gn(y){if(y==null)return null;if(typeof y.tag=="number"&&oe("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;switch(y){case E:return"Fragment";case p:return"Portal";case R:return"Profiler";case h:return"StrictMode";case N:return"Suspense";case le:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case F:var L=y;return kn(L)+".Consumer";case C:var B=y;return kn(B._context)+".Provider";case A:return An(y,y.render,"ForwardRef");case $:var X=y.displayName||null;return X!==null?X:gn(y.type)||"Memo";case xe:{var fe=y,nt=fe._payload,_e=fe._init;try{return gn(_e(nt))}catch{return null}}}return null}var $n=Object.prototype.hasOwnProperty,br={key:!0,ref:!0,__self:!0,__source:!0},ha,on,Ar;Ar={};function ir(y){if($n.call(y,"ref")){var L=Object.getOwnPropertyDescriptor(y,"ref").get;if(L&&L.isReactWarning)return!1}return y.ref!==void 0}function Pa(y){if($n.call(y,"key")){var L=Object.getOwnPropertyDescriptor(y,"key").get;if(L&&L.isReactWarning)return!1}return y.key!==void 0}function Ka(y,L){var B=function(){ha||(ha=!0,oe("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",L))};B.isReactWarning=!0,Object.defineProperty(y,"key",{get:B,configurable:!0})}function ya(y,L){var B=function(){on||(on=!0,oe("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",L))};B.isReactWarning=!0,Object.defineProperty(y,"ref",{get:B,configurable:!0})}function ga(y){if(typeof y.ref=="string"&&Xe.current&&y.__self&&Xe.current.stateNode!==y.__self){var L=gn(Xe.current.type);Ar[L]||(oe('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',L,y.ref),Ar[L]=!0)}}var Ea=function(y,L,B,X,fe,nt,_e){var Ze={$$typeof:o,type:y,key:L,ref:B,props:_e,_owner:nt};return Ze._store={},Object.defineProperty(Ze._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ze,"_self",{configurable:!1,enumerable:!1,writable:!1,value:X}),Object.defineProperty(Ze,"_source",{configurable:!1,enumerable:!1,writable:!1,value:fe}),Object.freeze&&(Object.freeze(Ze.props),Object.freeze(Ze)),Ze};function ta(y,L,B){var X,fe={},nt=null,_e=null,Ze=null,St=null;if(L!=null){ir(L)&&(_e=L.ref,ga(L)),Pa(L)&&(Nn(L.key),nt=""+L.key),Ze=L.__self===void 0?null:L.__self,St=L.__source===void 0?null:L.__source;for(X in L)$n.call(L,X)&&!br.hasOwnProperty(X)&&(fe[X]=L[X])}var At=arguments.length-2;if(At===1)fe.children=B;else if(At>1){for(var Pt=Array(At),qt=0;qt<At;qt++)Pt[qt]=arguments[qt+2];Object.freeze&&Object.freeze(Pt),fe.children=Pt}if(y&&y.defaultProps){var mn=y.defaultProps;for(X in mn)fe[X]===void 0&&(fe[X]=mn[X])}if(nt||_e){var _n=typeof y=="function"?y.displayName||y.name||"Unknown":y;nt&&Ka(fe,_n),_e&&ya(fe,_n)}return Ea(y,nt,_e,Ze,St,Xe.current,fe)}function ye(y,L){var B=Ea(y.type,L,y.ref,y._self,y._source,y._owner,y.props);return B}function We(y,L,B){if(y==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+y+".");var X,fe=_t({},y.props),nt=y.key,_e=y.ref,Ze=y._self,St=y._source,At=y._owner;if(L!=null){ir(L)&&(_e=L.ref,At=Xe.current),Pa(L)&&(Nn(L.key),nt=""+L.key);var Pt;y.type&&y.type.defaultProps&&(Pt=y.type.defaultProps);for(X in L)$n.call(L,X)&&!br.hasOwnProperty(X)&&(L[X]===void 0&&Pt!==void 0?fe[X]=Pt[X]:fe[X]=L[X])}var qt=arguments.length-2;if(qt===1)fe.children=B;else if(qt>1){for(var mn=Array(qt),_n=0;_n<qt;_n++)mn[_n]=arguments[_n+2];fe.children=mn}return Ea(y.type,nt,_e,Ze,St,At,fe)}function dt(y){return typeof y=="object"&&y!==null&&y.$$typeof===o}var Ie=".",an=":";function ur(y){var L=/[=:]/g,B={"=":"=0",":":"=2"},X=y.replace(L,function(fe){return B[fe]});return"$"+X}var Pe=!1,Me=/\/+/g;function vn(y){return y.replace(Me,"$&/")}function Zt(y,L){return typeof y=="object"&&y!==null&&y.key!=null?(Nn(y.key),ur(""+y.key)):L.toString(36)}function ut(y,L,B,X,fe){var nt=typeof y;(nt==="undefined"||nt==="boolean")&&(y=null);var _e=!1;if(y===null)_e=!0;else switch(nt){case"string":case"number":_e=!0;break;case"object":switch(y.$$typeof){case o:case p:_e=!0}}if(_e){var Ze=y,St=fe(Ze),At=X===""?Ie+Zt(Ze,0):X;if(vt(St)){var Pt="";At!=null&&(Pt=vn(At)+"/"),ut(St,L,Pt,"",function(Ql){return Ql})}else St!=null&&(dt(St)&&(St.key&&(!Ze||Ze.key!==St.key)&&Nn(St.key),St=ye(St,B+(St.key&&(!Ze||Ze.key!==St.key)?vn(""+St.key)+"/":"")+At)),L.push(St));return 1}var qt,mn,_n=0,On=X===""?Ie:X+an;if(vt(y))for(var Wn=0;Wn<y.length;Wn++)qt=y[Wn],mn=On+Zt(qt,Wn),_n+=ut(qt,L,B,mn,fe);else{var Mr=Ee(y);if(typeof Mr=="function"){var cn=y;Mr===cn.entries&&(Pe||Oe("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Pe=!0);for(var Si=Mr.call(cn),aa,Yo=0;!(aa=Si.next()).done;)qt=aa.value,mn=On+Zt(qt,Yo++),_n+=ut(qt,L,B,mn,fe)}else if(nt==="object"){var Yl=String(y);throw new Error("Objects are not valid as a React child (found: "+(Yl==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":Yl)+"). If you meant to render a collection of children, use an array instead.")}}return _n}function lr(y,L,B){if(y==null)return y;var X=[],fe=0;return ut(y,X,"","",function(nt){return L.call(B,nt,fe++)}),X}function pi(y){var L=0;return lr(y,function(){L++}),L}function or(y,L,B){lr(y,function(){L.apply(this,arguments)},B)}function Ot(y){return lr(y,function(L){return L})||[]}function Ur(y){if(!dt(y))throw new Error("React.Children.only expected to receive a single React element child.");return y}function wr(y){var L={$$typeof:F,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};L.Provider={$$typeof:C,_context:L};var B=!1,X=!1,fe=!1;{var nt={$$typeof:F,_context:L};Object.defineProperties(nt,{Provider:{get:function(){return X||(X=!0,oe("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),L.Provider},set:function(_e){L.Provider=_e}},_currentValue:{get:function(){return L._currentValue},set:function(_e){L._currentValue=_e}},_currentValue2:{get:function(){return L._currentValue2},set:function(_e){L._currentValue2=_e}},_threadCount:{get:function(){return L._threadCount},set:function(_e){L._threadCount=_e}},Consumer:{get:function(){return B||(B=!0,oe("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),L.Consumer}},displayName:{get:function(){return L.displayName},set:function(_e){fe||(Oe("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",_e),fe=!0)}}}),L.Consumer=nt}return L._currentRenderer=null,L._currentRenderer2=null,L}var sr=-1,Vn=0,zr=1,Za=2;function $i(y){if(y._status===sr){var L=y._result,B=L();if(B.then(function(nt){if(y._status===Vn||y._status===sr){var _e=y;_e._status=zr,_e._result=nt}},function(nt){if(y._status===Vn||y._status===sr){var _e=y;_e._status=Za,_e._result=nt}}),y._status===sr){var X=y;X._status=Vn,X._result=B}}if(y._status===zr){var fe=y._result;return fe===void 0&&oe(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
2
 
3
3
  Your code should look like:
4
4
  const MyComponent = lazy(() => import('./MyComponent'))
@@ -155,7 +155,7 @@ Use "options.replacer" or "options.ignoreUnknown"
155
155
  `)},_domwindow:function(){return E("domwindow")},_bigint:function(h){return E("bigint:"+h.toString())},_process:function(){return E("process")},_timer:function(){return E("timer")},_pipe:function(){return E("pipe")},_tcp:function(){return E("tcp")},_udp:function(){return E("udp")},_tty:function(){return E("tty")},_statwatcher:function(){return E("statwatcher")},_securecontext:function(){return E("securecontext")},_connection:function(){return E("connection")},_zlib:function(){return E("zlib")},_context:function(){return E("context")},_nodescript:function(){return E("nodescript")},_httpparser:function(){return E("httpparser")},_dataview:function(){return E("dataview")},_signal:function(){return E("signal")},_fsevent:function(){return E("fsevent")},_tlswrap:function(){return E("tlswrap")}}}function K0(){return{buf:"",write:function(s){this.buf+=s},end:function(s){this.buf+=s},read:function(){return this.buf}}}});var h_=pa((cv,m_)=>{V();(function(s,o){typeof cv=="object"&&typeof m_<"u"?o(cv):typeof define=="function"&&define.amd?define(["exports"],o):o((s=typeof globalThis<"u"?globalThis:s||self).naturalOrderBy={})})(cv,(function(s){"use strict";var o=function(W,ce){return W<ce?-1:W>ce?1:0},p=function(W,ce){var Oe=W.localeCompare(ce);return Oe?Oe/Math.abs(Oe):0},E=/(^0x[\da-fA-F]+$|^([+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?!\.\d+)(?=\D|\s|$))|\d+)/g,h=/^\s+|\s+$/g,R=/\s+/g,C=/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?$/,F=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[/-]\d{1,4}[/-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,A=/^0+[1-9]{1}[0-9]*$/,N=/[^\x00-\x80]/,le=function(W,ce){return W<ce?-1:W>ce?1:0},$=function(W,ce){return W.value===ce.value?0:W.parsedNumber!==void 0&&ce.parsedNumber!==void 0?o(W.parsedNumber,ce.parsedNumber):W.chunks&&ce.chunks?(function(Oe,oe){for(var Tt=Oe.length,je=oe.length,Rt=Math.min(Tt,je),Ue=0;Ue<Rt;Ue++){var _t=Oe[Ue],rt=oe[Ue];if(_t.normalizedString!==rt.normalizedString){if(_t.normalizedString===""!=(rt.normalizedString===""))return _t.normalizedString===""?-1:1;if(_t.parsedNumber!==void 0&&rt.parsedNumber!==void 0){var Wt=o(_t.parsedNumber,rt.parsedNumber);return Wt===0?le(_t.normalizedString,rt.normalizedString):Wt}return _t.parsedNumber!==void 0||rt.parsedNumber!==void 0?_t.parsedNumber!==void 0?-1:1:N.test(_t.normalizedString+rt.normalizedString)?p(_t.normalizedString,rt.normalizedString):le(_t.normalizedString,rt.normalizedString)}}return Tt>Rt||je>Rt?Tt<=Rt?-1:1:0})(W.chunks,ce.chunks):(function(Oe,oe){return(Oe.chunks?!oe.chunks:oe.chunks)?Oe.chunks?-1:1:(Oe.isNaN?!oe.isNaN:oe.isNaN)?Oe.isNaN?-1:1:(Oe.isSymbol?!oe.isSymbol:oe.isSymbol)?Oe.isSymbol?-1:1:(Oe.isObject?!oe.isObject:oe.isObject)?Oe.isObject?-1:1:(Oe.isArray?!oe.isArray:oe.isArray)?Oe.isArray?-1:1:(Oe.isFunction?!oe.isFunction:oe.isFunction)?Oe.isFunction?-1:1:(Oe.isNull?!oe.isNull:oe.isNull)?Oe.isNull?-1:1:0})(W,ce)},xe=function(W){return W.replace(R," ").replace(h,"")},Le=function(W){if(W.length!==0){var ce=Number(W);if(!Number.isNaN(ce))return ce}},Ce=function(W,ce,Oe){if(C.test(W)&&(!A.test(W)||ce===0||Oe[ce-1]!=="."))return Le(W)||0},he=function(W,ce,Oe){return{parsedNumber:Ce(W,ce,Oe),normalizedString:xe(W)}},Ee=function(W){var ce=(function(Oe){return Oe.replace(E,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0")})(W).map(he);return ce},$e=function(W){return typeof W=="function"},st=function(W){return Number.isNaN(W)||W instanceof Number&&Number.isNaN(W.valueOf())},et=function(W){return W===null},Xe=function(W){return!(W===null||typeof W!="object"||Array.isArray(W)||W instanceof Number||W instanceof String||W instanceof Boolean||W instanceof Date)},Xt=function(W){return typeof W=="symbol"},qe=function(W){return W===void 0},Ve=function(W){var ce=Le(W);return ce!==void 0?ce:(function(Oe){try{var oe=Date.parse(Oe);return!Number.isNaN(oe)&&F.test(Oe)?oe:void 0}catch{return}})(W)},rn=function(W){if(typeof W=="string"||W instanceof String||(typeof W=="number"||W instanceof Number)&&!st(W)||typeof W=="boolean"||W instanceof Boolean||W instanceof Date){var ce=(function(oe){return typeof oe=="boolean"||oe instanceof Boolean?Number(oe).toString():typeof oe=="number"||oe instanceof Number?oe.toString():oe instanceof Date?oe.getTime().toString():typeof oe=="string"||oe instanceof String?oe.toLowerCase().replace(h,""):""})(W),Oe=Ve(ce);return{parsedNumber:Oe,chunks:Ee(Oe?""+Oe:ce),value:W}}return{isArray:Array.isArray(W),isFunction:$e(W),isNaN:st(W),isNull:et(W),isObject:Xe(W),isSymbol:Xt(W),isUndefined:qe(W),value:W}},Ge=function(W){return typeof W=="string"&&(W==="asc"||W==="desc")},gt=function(W){return typeof W=="function"?W:function(ce){if(Array.isArray(ce)){var Oe=Number(W);if(Number.isInteger(Oe))return ce[Oe]}else if(ce&&typeof ce=="object"){var oe=Object.getOwnPropertyDescriptor(ce,W);return oe?.value}return ce}},ze=function(W,ce,Oe){var oe=ce.length?ce.map(gt):[function(je){return je}],Tt=W.map((function(je,Rt){return{index:Rt,values:oe.map((function(Ue){return Ue(je)})).map(rn)}}));return Tt.sort((function(je,Rt){return(function(Ue,_t,rt){for(var Wt=Ue.index,Je=Ue.values,bn=_t.index,Kt=_t.values,tt=Je.length,U=rt.length,J=0;J<tt;J++){var Ke=J<U?rt[J]:null;if(Ke&&typeof Ke=="function"){var Yt=Ke(Je[J].value,Kt[J].value);if(Yt)return Yt}else{var vt=$(Je[J],Kt[J]);if(vt)return vt*(Ke==="desc"?-1:1)}}return Wt-bn})(je,Rt,Oe)})),Tt.map((function(je){return(function(Rt,Ue){return Rt[Ue]})(W,je.index)}))};s.compare=function(W){var ce,Oe;return(function(oe){return function(Tt,je){var Rt=rn(Tt),Ue=rn(je);return $(Rt,Ue)*(oe.order==="desc"?-1:1)}})((Oe="asc",typeof(ce=W)=="string"&&Ge(ce)?Oe=ce:ce&&typeof ce=="object"&&ce.order&&Ge(ce.order)&&(Oe=ce.order),{order:Oe}))},s.orderBy=function(W,ce,Oe){if(!W||!Array.isArray(W))return[];var oe=(function(je){if(!je)return[];var Rt=Array.isArray(je)?[].concat(je):[je];return Rt.some((function(Ue){return typeof Ue!="string"&&typeof Ue!="number"&&typeof Ue!="function"}))?[]:Rt})(ce),Tt=(function(je){if(!je)return[];var Rt=Array.isArray(je)?[].concat(je):[je];return Rt.some((function(Ue){return Ue!=="asc"&&Ue!=="desc"&&typeof Ue!="function"}))?[]:Rt})(Oe);return ze(W,oe,Tt)},Object.defineProperty(s,"__esModule",{value:!0})}))});var g_=pa((fv,y_)=>{V();(function(s,o){typeof fv=="object"&&typeof y_<"u"?o(fv):typeof define=="function"&&define.amd?define(["exports"],o):(s=typeof globalThis<"u"?globalThis:s||self,o(s.naturalOrderBy={}))})(fv,(function(s){"use strict";var o=function(U,J){return U<J?-1:U>J?1:0},p=function(U,J){var Ke=U.localeCompare(J);return Ke?Ke/Math.abs(Ke):0},E=/(^0x[\da-fA-F]+$|^([+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?!\.\d+)(?=\D|\s|$))|\d+)/g,h=/^\s+|\s+$/g,R=/\s+/g,C=/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?$/,F=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[/-]\d{1,4}[/-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,A=/^0+[1-9]{1}[0-9]*$/,N=/[^\x00-\x80]/,le=function(U,J){return U<J?-1:U>J?1:0},$=function(U,J){for(var Ke=U.length,Yt=J.length,vt=Math.min(Ke,Yt),Dt=0;Dt<vt;Dt++){var Et=U[Dt],Qt=J[Dt];if(Et.normalizedString!==Qt.normalizedString){if(Et.normalizedString===""!=(Qt.normalizedString===""))return Et.normalizedString===""?-1:1;if(Et.parsedNumber!==void 0&&Qt.parsedNumber!==void 0){var Nn=o(Et.parsedNumber,Qt.parsedNumber);return Nn===0?le(Et.normalizedString,Qt.normalizedString):Nn}else return Et.parsedNumber!==void 0||Qt.parsedNumber!==void 0?Et.parsedNumber!==void 0?-1:1:N.test(Et.normalizedString+Qt.normalizedString)?p(Et.normalizedString,Qt.normalizedString):le(Et.normalizedString,Qt.normalizedString)}}return Ke>vt||Yt>vt?Ke<=vt?-1:1:0},xe=function(U,J){return(U.chunks?!J.chunks:J.chunks)?U.chunks?-1:1:(U.isNaN?!J.isNaN:J.isNaN)?U.isNaN?-1:1:(U.isSymbol?!J.isSymbol:J.isSymbol)?U.isSymbol?-1:1:(U.isObject?!J.isObject:J.isObject)?U.isObject?-1:1:(U.isArray?!J.isArray:J.isArray)?U.isArray?-1:1:(U.isFunction?!J.isFunction:J.isFunction)?U.isFunction?-1:1:(U.isNull?!J.isNull:J.isNull)?U.isNull?-1:1:0},Le=function(U,J){return U.value===J.value?0:U.parsedNumber!==void 0&&J.parsedNumber!==void 0?o(U.parsedNumber,J.parsedNumber):U.chunks&&J.chunks?$(U.chunks,J.chunks):xe(U,J)},Ce=function(U){return U.replace(R," ").replace(h,"")},he=function(U){if(U.length!==0){var J=Number(U);if(!Number.isNaN(J))return J}},Ee=function(U,J,Ke){if(C.test(U)&&(!A.test(U)||J===0||Ke[J-1]!=="."))return he(U)||0},$e=function(U,J,Ke){return{parsedNumber:Ee(U,J,Ke),normalizedString:Ce(U)}},st=function(U){return U.replace(E,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0")},et=function(U){var J=st(U).map($e);return J},Xe=function(U){return typeof U=="function"},Xt=function(U){return Number.isNaN(U)||U instanceof Number&&Number.isNaN(U.valueOf())},qe=function(U){return U===null},Ve=function(U){return U!==null&&typeof U=="object"&&!Array.isArray(U)&&!(U instanceof Number)&&!(U instanceof String)&&!(U instanceof Boolean)&&!(U instanceof Date)},rn=function(U){return typeof U=="symbol"},Ge=function(U){return U===void 0},gt=function(U){try{var J=Date.parse(U);return!Number.isNaN(J)&&F.test(U)?J:void 0}catch{return}},ze=function(U){var J=he(U);return J!==void 0?J:gt(U)},W=function(U){return typeof U=="boolean"||U instanceof Boolean?Number(U).toString():typeof U=="number"||U instanceof Number?U.toString():U instanceof Date?U.getTime().toString():typeof U=="string"||U instanceof String?U.toLowerCase().replace(h,""):""},ce=function(U){if(typeof U=="string"||U instanceof String||(typeof U=="number"||U instanceof Number)&&!Xt(U)||typeof U=="boolean"||U instanceof Boolean||U instanceof Date){var J=W(U),Ke=ze(J),Yt=et(Ke?""+Ke:J);return{parsedNumber:Ke,chunks:Yt,value:U}}return{isArray:Array.isArray(U),isFunction:Xe(U),isNaN:Xt(U),isNull:qe(U),isObject:Ve(U),isSymbol:rn(U),isUndefined:Ge(U),value:U}},Oe=function(U){return function(J,Ke){var Yt=ce(J),vt=ce(Ke),Dt=Le(Yt,vt);return Dt*(U.order==="desc"?-1:1)}},oe=function(U){return typeof U=="string"&&(U==="asc"||U==="desc")},Tt=function(U){var J="asc";return typeof U=="string"&&oe(U)?J=U:U&&typeof U=="object"&&U.order&&oe(U.order)&&(J=U.order),{order:J}};function je(tt){var U=Tt(tt);return Oe(U)}var Rt=function(U,J,Ke){for(var Yt=U.index,vt=U.values,Dt=J.index,Et=J.values,Qt=vt.length,Nn=Ke.length,An=0;An<Qt;An++){var kn=An<Nn?Ke[An]:null;if(kn&&typeof kn=="function"){var gn=kn(vt[An].value,Et[An].value);if(gn)return gn}else{var $n=Le(vt[An],Et[An]);if($n)return $n*(kn==="desc"?-1:1)}}return Yt-Dt},Ue=function(U){return typeof U=="function"?U:function(J){if(Array.isArray(J)){var Ke=Number(U);if(Number.isInteger(Ke))return J[Ke]}else if(J&&typeof J=="object"){var Yt=Object.getOwnPropertyDescriptor(J,U);return Yt?.value}return J}},_t=function(U,J){return U[J]},rt=function(U,J){return J(U)},Wt=function(U,J,Ke){var Yt=J.length?J.map(Ue):[function(Dt){return Dt}],vt=U.map(function(Dt,Et){var Qt=Yt.map(function(Nn){return rt(Dt,Nn)}).map(ce);return{index:Et,values:Qt}});return vt.sort(function(Dt,Et){return Rt(Dt,Et,Ke)}),vt.map(function(Dt){return _t(U,Dt.index)})},Je=function(U){if(!U)return[];var J=Array.isArray(U)?[].concat(U):[U];return J.some(function(Ke){return typeof Ke!="string"&&typeof Ke!="number"&&typeof Ke!="function"})?[]:J},bn=function(U){if(!U)return[];var J=Array.isArray(U)?[].concat(U):[U];return J.some(function(Ke){return Ke!=="asc"&&Ke!=="desc"&&typeof Ke!="function"})?[]:J};function Kt(tt,U,J){if(!tt||!Array.isArray(tt))return[];var Ke=Je(U),Yt=bn(J);return Wt(tt,Ke,Yt)}s.compare=je,s.orderBy=Kt,Object.defineProperty(s,"__esModule",{value:!0})}))});var E_=pa((oU,gy)=>{"use strict";V();process.env.NODE_ENV==="production"?gy.exports=h_():gy.exports=g_()});V();V();var wi=nn(gC(),1);V();V();V();V();import{Stream as NN}from"node:stream";import lv from"node:process";V();var W0=nn(Ln(),1),py=nn(EC(),1);import CN from"node:process";V();import{env as Bf}from"node:process";var FC=Bf.CI!=="0"&&Bf.CI!=="false"&&("CI"in Bf||"CONTINUOUS_INTEGRATION"in Bf||Object.keys(Bf).some(s=>s.startsWith("CI_"))),bo=FC;var Y0=nn(mC(),1);V();import{readFile as PC}from"node:fs/promises";import{createRequire as HC}from"node:module";V();V();var Ne={},OS=Ne.ALIGN_AUTO=0,bS=Ne.ALIGN_FLEX_START=1,AS=Ne.ALIGN_CENTER=2,US=Ne.ALIGN_FLEX_END=3,wS=Ne.ALIGN_STRETCH=4,zS=Ne.ALIGN_BASELINE=5,MS=Ne.ALIGN_SPACE_BETWEEN=6,FS=Ne.ALIGN_SPACE_AROUND=7,IS=Ne.DIMENSION_WIDTH=0,PS=Ne.DIMENSION_HEIGHT=1,HS=Ne.DIRECTION_INHERIT=0,jS=Ne.DIRECTION_LTR=1,BS=Ne.DIRECTION_RTL=2,kS=Ne.DISPLAY_FLEX=0,VS=Ne.DISPLAY_NONE=1,GS=Ne.EDGE_LEFT=0,WS=Ne.EDGE_TOP=1,YS=Ne.EDGE_RIGHT=2,QS=Ne.EDGE_BOTTOM=3,XS=Ne.EDGE_START=4,qS=Ne.EDGE_END=5,JS=Ne.EDGE_HORIZONTAL=6,KS=Ne.EDGE_VERTICAL=7,ZS=Ne.EDGE_ALL=8,$S=Ne.EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS=0,eT=Ne.EXPERIMENTAL_FEATURE_ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE=1,tT=Ne.EXPERIMENTAL_FEATURE_FIX_ABSOLUTE_TRAILING_COLUMN_MARGIN=2,nT=Ne.FLEX_DIRECTION_COLUMN=0,rT=Ne.FLEX_DIRECTION_COLUMN_REVERSE=1,aT=Ne.FLEX_DIRECTION_ROW=2,iT=Ne.FLEX_DIRECTION_ROW_REVERSE=3,uT=Ne.GUTTER_COLUMN=0,lT=Ne.GUTTER_ROW=1,oT=Ne.GUTTER_ALL=2,sT=Ne.JUSTIFY_FLEX_START=0,cT=Ne.JUSTIFY_CENTER=1,fT=Ne.JUSTIFY_FLEX_END=2,dT=Ne.JUSTIFY_SPACE_BETWEEN=3,pT=Ne.JUSTIFY_SPACE_AROUND=4,vT=Ne.JUSTIFY_SPACE_EVENLY=5,mT=Ne.LOG_LEVEL_ERROR=0,hT=Ne.LOG_LEVEL_WARN=1,yT=Ne.LOG_LEVEL_INFO=2,gT=Ne.LOG_LEVEL_DEBUG=3,ET=Ne.LOG_LEVEL_VERBOSE=4,ST=Ne.LOG_LEVEL_FATAL=5,TT=Ne.MEASURE_MODE_UNDEFINED=0,_T=Ne.MEASURE_MODE_EXACTLY=1,xT=Ne.MEASURE_MODE_AT_MOST=2,RT=Ne.NODE_TYPE_DEFAULT=0,CT=Ne.NODE_TYPE_TEXT=1,NT=Ne.OVERFLOW_VISIBLE=0,DT=Ne.OVERFLOW_HIDDEN=1,LT=Ne.OVERFLOW_SCROLL=2,OT=Ne.POSITION_TYPE_STATIC=0,bT=Ne.POSITION_TYPE_RELATIVE=1,AT=Ne.POSITION_TYPE_ABSOLUTE=2,UT=Ne.PRINT_OPTIONS_LAYOUT=1,wT=Ne.PRINT_OPTIONS_STYLE=2,zT=Ne.PRINT_OPTIONS_CHILDREN=4,MT=Ne.UNIT_UNDEFINED=0,FT=Ne.UNIT_POINT=1,IT=Ne.UNIT_PERCENT=2,PT=Ne.UNIT_AUTO=3,HT=Ne.WRAP_NO_WRAP=0,jT=Ne.WRAP_WRAP=1,BT=Ne.WRAP_WRAP_REVERSE=2;var kT=s=>{function o(h,R,C){let F=h[R];h[R]=function(...A){return C.call(this,F,...A)}}for(let h of["setPosition","setMargin","setFlexBasis","setWidth","setHeight","setMinWidth","setMinHeight","setMaxWidth","setMaxHeight","setPadding"]){let R={[Ne.UNIT_POINT]:s.Node.prototype[h],[Ne.UNIT_PERCENT]:s.Node.prototype[`${h}Percent`],[Ne.UNIT_AUTO]:s.Node.prototype[`${h}Auto`]};o(s.Node.prototype,h,function(C,...F){let A,N,le=F.pop();if(le==="auto")A=Ne.UNIT_AUTO,N=void 0;else if(typeof le=="object")A=le.unit,N=le.valueOf();else if(A=typeof le=="string"&&le.endsWith("%")?Ne.UNIT_PERCENT:Ne.UNIT_POINT,N=parseFloat(le),!Number.isNaN(le)&&Number.isNaN(N))throw Error(`Invalid value ${le} for ${h}`);if(!R[A])throw Error(`Failed to execute "${h}": Unsupported unit '${le}'`);return N!==void 0?R[A].call(this,...F,N):R[A].call(this,...F)})}function p(h){return s.MeasureCallback.implement({measure:(...R)=>{let{width:C,height:F}=h(...R);return{width:C??NaN,height:F??NaN}}})}function E(h){return s.DirtiedCallback.implement({dirtied:h})}return o(s.Node.prototype,"setMeasureFunc",function(h,R){return R?h.call(this,p(R)):this.unsetMeasureFunc()}),o(s.Node.prototype,"setDirtiedFunc",function(h,R){h.call(this,E(R))}),o(s.Config.prototype,"free",function(){s.Config.destroy(this)}),o(s.Node,"create",(h,R)=>R?s.Node.createWithConfig(R):s.Node.createDefault()),o(s.Node.prototype,"free",function(){s.Node.destroy(this)}),o(s.Node.prototype,"freeRecursive",function(){for(let h=0,R=this.getChildCount();h<R;++h)this.getChild(0).freeRecursive();this.free()}),o(s.Node.prototype,"calculateLayout",function(h,R=NaN,C=NaN,F=Ne.DIRECTION_LTR){return h.call(this,R,C,F)}),{Config:s.Config,Node:s.Node,...Ne}};var IC=(()=>{var s=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return function(o={}){A||(A=o!==void 0?o:{}),A.ready=new Promise(function(x,T){N=x,le=T});var p,E,h=Object.assign({},A),R="";typeof document<"u"&&document.currentScript&&(R=document.currentScript.src),s&&(R=s),R=R.indexOf("blob:")!==0?R.substr(0,R.replace(/[?#].*/,"").lastIndexOf("/")+1):"";var C=console.log.bind(console),F=console.warn.bind(console);Object.assign(A,h),h=null,typeof WebAssembly!="object"&&ce("no native wasm support detected");var A,N,le,$,xe=!1;function Le(x,T,z){z=T+z;for(var j="";!(T>=z);){var w=x[T++];if(!w)break;if(128&w){var G=63&x[T++];if((224&w)==192)j+=String.fromCharCode((31&w)<<6|G);else{var ue=63&x[T++];65536>(w=(240&w)==224?(15&w)<<12|G<<6|ue:(7&w)<<18|G<<12|ue<<6|63&x[T++])?j+=String.fromCharCode(w):(w-=65536,j+=String.fromCharCode(55296|w>>10,56320|1023&w))}}else j+=String.fromCharCode(w)}return j}function Ce(){var x=$.buffer;A.HEAP8=he=new Int8Array(x),A.HEAP16=$e=new Int16Array(x),A.HEAP32=et=new Int32Array(x),A.HEAPU8=Ee=new Uint8Array(x),A.HEAPU16=st=new Uint16Array(x),A.HEAPU32=Xe=new Uint32Array(x),A.HEAPF32=Xt=new Float32Array(x),A.HEAPF64=qe=new Float64Array(x)}var he,Ee,$e,st,et,Xe,Xt,qe,Ve,rn=[],Ge=[],gt=[],ze=0,W=null;function ce(x){throw F(x="Aborted("+x+")"),xe=!0,le(x=new WebAssembly.RuntimeError(x+". Build with -sASSERTIONS for more info.")),x}function Oe(){return p.startsWith("data:application/octet-stream;base64,")}function oe(){try{throw"both async and sync fetching of the wasm failed"}catch(x){ce(x)}}function Tt(x){for(;0<x.length;)x.shift()(A)}function je(x){if(x===void 0)return"_unknown";var T=(x=x.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return 48<=T&&57>=T?"_"+x:x}function Rt(x,T){return x=je(x),function(){return T.apply(this,arguments)}}p="yoga.wasm",Oe()||(p=R+p);var Ue=[{},{value:void 0},{value:null},{value:!0},{value:!1}],_t=[];function rt(x){var T=Error,z=Rt(x,function(j){this.name=x,this.message=j,(j=Error(j).stack)!==void 0&&(this.stack=this.toString()+`
156
156
  `+j.replace(/^Error(:[^\n]*)?\n/,""))});return z.prototype=Object.create(T.prototype),z.prototype.constructor=z,z.prototype.toString=function(){return this.message===void 0?this.name:this.name+": "+this.message},z}var Wt=void 0;function Je(x){throw new Wt(x)}var bn=x=>(x||Je("Cannot use deleted val. handle = "+x),Ue[x].value),Kt=x=>{switch(x){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var T=_t.length?_t.pop():Ue.length;return Ue[T]={fa:1,value:x},T}},tt=void 0,U=void 0;function J(x){for(var T="";Ee[x];)T+=U[Ee[x++]];return T}var Ke=[];function Yt(){for(;Ke.length;){var x=Ke.pop();x.L.Z=!1,x.delete()}}var vt=void 0,Dt={};function Et(x,T){for(T===void 0&&Je("ptr should not be undefined");x.P;)T=x.aa(T),x=x.P;return T}var Qt={};function Nn(x){var T=J(x=yi(x));return cr(x),T}function An(x,T){var z=Qt[x];return z===void 0&&Je(T+" has unknown type "+Nn(x)),z}function kn(){}var gn=!1;function $n(x){--x.count.value,x.count.value===0&&(x.S?x.T.V(x.S):x.O.M.V(x.N))}var br={},ha=void 0;function on(x){throw new ha(x)}function Ar(x,T){return T.O&&T.N||on("makeClassHandle requires ptr and ptrType"),!!T.T!=!!T.S&&on("Both smartPtrType and smartPtr must be specified"),T.count={value:1},ir(Object.create(x,{L:{value:T}}))}function ir(x){return typeof FinalizationRegistry>"u"?(ir=T=>T,x):(gn=new FinalizationRegistry(T=>{$n(T.L)}),ir=T=>{var z=T.L;return z.S&&gn.register(T,{L:z},T),T},kn=T=>{gn.unregister(T)},ir(x))}var Pa={};function Ka(x){for(;x.length;){var T=x.pop();x.pop()(T)}}function ya(x){return this.fromWireType(et[x>>2])}var ga={},Ea={};function ta(x,T,z){function j(ee){(ee=z(ee)).length!==x.length&&on("Mismatched type converter count");for(var se=0;se<x.length;++se)We(x[se],ee[se])}x.forEach(function(ee){Ea[ee]=T});var w=Array(T.length),G=[],ue=0;T.forEach((ee,se)=>{Qt.hasOwnProperty(ee)?w[se]=Qt[ee]:(G.push(ee),ga.hasOwnProperty(ee)||(ga[ee]=[]),ga[ee].push(()=>{w[se]=Qt[ee],++ue===G.length&&j(w)}))}),G.length===0&&j(w)}function ye(x){switch(x){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw TypeError("Unknown type size: "+x)}}function We(x,T,z={}){if(!("argPackAdvance"in T))throw TypeError("registerType registeredInstance requires argPackAdvance");var j=T.name;if(x||Je('type "'+j+'" must have a positive integer typeid pointer'),Qt.hasOwnProperty(x)){if(z.ta)return;Je("Cannot register type '"+j+"' twice")}Qt[x]=T,delete Ea[x],ga.hasOwnProperty(x)&&(T=ga[x],delete ga[x],T.forEach(w=>w()))}function dt(x){Je(x.L.O.M.name+" instance already deleted")}function Ie(){}function an(x,T,z){if(x[T].R===void 0){var j=x[T];x[T]=function(){return x[T].R.hasOwnProperty(arguments.length)||Je("Function '"+z+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+x[T].R+")!"),x[T].R[arguments.length].apply(this,arguments)},x[T].R=[],x[T].R[j.Y]=j}}function ur(x,T,z,j,w,G,ue,ee){this.name=x,this.constructor=T,this.W=z,this.V=j,this.P=w,this.oa=G,this.aa=ue,this.ma=ee,this.ia=[]}function Pe(x,T,z){for(;T!==z;)T.aa||Je("Expected null or instance of "+z.name+", got an instance of "+T.name),x=T.aa(x),T=T.P;return x}function Me(x,T){return T===null?(this.da&&Je("null is not a valid "+this.name),0):(T.L||Je('Cannot pass "'+zr(T)+'" as a '+this.name),T.L.N||Je("Cannot pass deleted object as a pointer of type "+this.name),Pe(T.L.N,T.L.O.M,this.M))}function vn(x,T){if(T===null){if(this.da&&Je("null is not a valid "+this.name),this.ca){var z=this.ea();return x!==null&&x.push(this.V,z),z}return 0}if(T.L||Je('Cannot pass "'+zr(T)+'" as a '+this.name),T.L.N||Je("Cannot pass deleted object as a pointer of type "+this.name),!this.ba&&T.L.O.ba&&Je("Cannot convert argument of type "+(T.L.T?T.L.T.name:T.L.O.name)+" to parameter type "+this.name),z=Pe(T.L.N,T.L.O.M,this.M),this.ca)switch(T.L.S===void 0&&Je("Passing raw pointer to smart pointer is illegal"),this.Aa){case 0:T.L.T===this?z=T.L.S:Je("Cannot convert argument of type "+(T.L.T?T.L.T.name:T.L.O.name)+" to parameter type "+this.name);break;case 1:z=T.L.S;break;case 2:if(T.L.T===this)z=T.L.S;else{var j=T.clone();z=this.wa(z,Kt(function(){j.delete()})),x!==null&&x.push(this.V,z)}break;default:Je("Unsupporting sharing policy")}return z}function Zt(x,T){return T===null?(this.da&&Je("null is not a valid "+this.name),0):(T.L||Je('Cannot pass "'+zr(T)+'" as a '+this.name),T.L.N||Je("Cannot pass deleted object as a pointer of type "+this.name),T.L.O.ba&&Je("Cannot convert argument of type "+T.L.O.name+" to parameter type "+this.name),Pe(T.L.N,T.L.O.M,this.M))}function ut(x,T,z,j){this.name=x,this.M=T,this.da=z,this.ba=j,this.ca=!1,this.V=this.wa=this.ea=this.ja=this.Aa=this.va=void 0,T.P!==void 0?this.toWireType=vn:(this.toWireType=j?Me:Zt,this.U=null)}var lr=[];function pi(x){var T=lr[x];return T||(x>=lr.length&&(lr.length=x+1),lr[x]=T=Ve.get(x)),T}function or(x,T){var z,j,w=(x=J(x)).includes("j")?(z=x,j=[],function(){if(j.length=0,Object.assign(j,arguments),z.includes("j")){var G=A["dynCall_"+z];G=j&&j.length?G.apply(null,[T].concat(j)):G.call(null,T)}else G=pi(T).apply(null,j);return G}):pi(T);return typeof w!="function"&&Je("unknown function pointer with signature "+x+": "+T),w}var Ot=void 0;function Ur(x,T){var z=[],j={};throw T.forEach(function w(G){j[G]||Qt[G]||(Ea[G]?Ea[G].forEach(w):(z.push(G),j[G]=!0))}),new Ot(x+": "+z.map(Nn).join([", "]))}function wr(x,T,z,j,w){var G=T.length;2>G&&Je("argTypes array size mismatch! Must at least get return value and 'this' types!");var ue=T[1]!==null&&z!==null,ee=!1;for(z=1;z<T.length;++z)if(T[z]!==null&&T[z].U===void 0){ee=!0;break}var se=T[0].name!=="void",re=G-2,de=Array(re),Se=[],we=[];return function(){if(arguments.length!==re&&Je("function "+x+" called with "+arguments.length+" arguments, expected "+re+" args!"),we.length=0,Se.length=ue?2:1,Se[0]=w,ue){var Ct=T[1].toWireType(we,this);Se[1]=Ct}for(var ct=0;ct<re;++ct)de[ct]=T[ct+2].toWireType(we,arguments[ct]),Se.push(de[ct]);if(ct=j.apply(null,Se),ee)Ka(we);else for(var Ft=ue?1:2;Ft<T.length;Ft++){var fr=Ft===1?Ct:de[Ft-2];T[Ft].U!==null&&T[Ft].U(fr)}return se?T[0].fromWireType(ct):void 0}}function sr(x,T){for(var z=[],j=0;j<x;j++)z.push(Xe[T+4*j>>2]);return z}function Vn(x){4<x&&--Ue[x].fa==0&&(Ue[x]=void 0,_t.push(x))}function zr(x){if(x===null)return"null";var T=typeof x;return T==="object"||T==="array"||T==="function"?x.toString():""+x}function Za(x,T){for(var z="",j=0;!(j>=T/2);++j){var w=$e[x+2*j>>1];if(w==0)break;z+=String.fromCharCode(w)}return z}function $i(x,T,z){if(z===void 0&&(z=2147483647),2>z)return 0;z-=2;var j=T;z=z<2*x.length?z/2:x.length;for(var w=0;w<z;++w)$e[T>>1]=x.charCodeAt(w),T+=2;return $e[T>>1]=0,T-j}function ul(x){return 2*x.length}function wu(x,T){for(var z=0,j="";!(z>=T/4);){var w=et[x+4*z>>2];if(w==0)break;++z,65536<=w?(w-=65536,j+=String.fromCharCode(55296|w>>10,56320|1023&w)):j+=String.fromCharCode(w)}return j}function vi(x,T,z){if(z===void 0&&(z=2147483647),4>z)return 0;var j=T;z=j+z-4;for(var w=0;w<x.length;++w){var G=x.charCodeAt(w);if(55296<=G&&57343>=G&&(G=65536+((1023&G)<<10)|1023&x.charCodeAt(++w)),et[T>>2]=G,(T+=4)+4>z)break}return et[T>>2]=0,T-j}function Gn(x){for(var T=0,z=0;z<x.length;++z){var j=x.charCodeAt(z);55296<=j&&57343>=j&&++z,T+=4}return T}var mi={};function Un(x){var T=mi[x];return T===void 0?J(x):T}var hi=[],Ha=[],zu=[null,[],[]];Wt=A.BindingError=rt("BindingError"),A.count_emval_handles=function(){for(var x=0,T=5;T<Ue.length;++T)Ue[T]!==void 0&&++x;return x},A.get_first_emval=function(){for(var x=5;x<Ue.length;++x)if(Ue[x]!==void 0)return Ue[x];return null},tt=A.PureVirtualError=rt("PureVirtualError");for(var na=Array(256),$a=0;256>$a;++$a)na[$a]=String.fromCharCode($a);U=na,A.getInheritedInstanceCount=function(){return Object.keys(Dt).length},A.getLiveInheritedInstances=function(){var x,T=[];for(x in Dt)Dt.hasOwnProperty(x)&&T.push(Dt[x]);return T},A.flushPendingDeletes=Yt,A.setDelayFunction=function(x){vt=x,Ke.length&&vt&&vt(Yt)},ha=A.InternalError=rt("InternalError"),Ie.prototype.isAliasOf=function(x){if(!(this instanceof Ie&&x instanceof Ie))return!1;var T=this.L.O.M,z=this.L.N,j=x.L.O.M;for(x=x.L.N;T.P;)z=T.aa(z),T=T.P;for(;j.P;)x=j.aa(x),j=j.P;return T===j&&z===x},Ie.prototype.clone=function(){if(this.L.N||dt(this),this.L.$)return this.L.count.value+=1,this;var x=ir,T=Object,z=T.create,j=Object.getPrototypeOf(this),w=this.L;return x=x(z.call(T,j,{L:{value:{count:w.count,Z:w.Z,$:w.$,N:w.N,O:w.O,S:w.S,T:w.T}}})),x.L.count.value+=1,x.L.Z=!1,x},Ie.prototype.delete=function(){this.L.N||dt(this),this.L.Z&&!this.L.$&&Je("Object already scheduled for deletion"),kn(this),$n(this.L),this.L.$||(this.L.S=void 0,this.L.N=void 0)},Ie.prototype.isDeleted=function(){return!this.L.N},Ie.prototype.deleteLater=function(){return this.L.N||dt(this),this.L.Z&&!this.L.$&&Je("Object already scheduled for deletion"),Ke.push(this),Ke.length===1&&vt&&vt(Yt),this.L.Z=!0,this},ut.prototype.pa=function(x){return this.ja&&(x=this.ja(x)),x},ut.prototype.ga=function(x){this.V&&this.V(x)},ut.prototype.argPackAdvance=8,ut.prototype.readValueFromPointer=ya,ut.prototype.deleteObject=function(x){x!==null&&x.delete()},ut.prototype.fromWireType=function(x){function T(){return this.ca?Ar(this.M.W,{O:this.va,N:j,T:this,S:x}):Ar(this.M.W,{O:this,N:x})}var z,j=this.pa(x);if(!j)return this.ga(x),null;var w=Dt[Et(this.M,j)];if(w!==void 0)return w.L.count.value===0?(w.L.N=j,w.L.S=x,w.clone()):(w=w.clone(),this.ga(x),w);if(!(w=br[w=this.M.oa(j)]))return T.call(this);w=this.ba?w.ka:w.pointerType;var G=(function ue(ee,se,re){return se===re?ee:re.P===void 0||(ee=ue(ee,se,re.P))===null?null:re.ma(ee)})(j,this.M,w.M);return G===null?T.call(this):this.ca?Ar(w.M.W,{O:w,N:G,T:this,S:x}):Ar(w.M.W,{O:w,N:G})},Ot=A.UnboundTypeError=rt("UnboundTypeError");var Mu={q:function(x,T,z){x=J(x),T=An(T,"wrapper"),z=bn(z);var j=[].slice,w=T.M,G=w.W,ue=w.P.W,ee=w.P.constructor;for(var se in x=Rt(x,function(){w.P.ia.forEach((function(re){if(this[re]===ue[re])throw new tt("Pure virtual function "+re+" must be implemented in JavaScript")}).bind(this)),Object.defineProperty(this,"__parent",{value:G}),this.__construct.apply(this,j.call(arguments))}),G.__construct=function(){this===G&&Je("Pass correct 'this' to __construct");var re=ee.implement.apply(void 0,[this].concat(j.call(arguments)));kn(re);var de=re.L;re.notifyOnDestruction(),de.$=!0,Object.defineProperties(this,{L:{value:de}}),ir(this),re=Et(w,re=de.N),Dt.hasOwnProperty(re)?Je("Tried to register registered instance: "+re):Dt[re]=this},G.__destruct=function(){this===G&&Je("Pass correct 'this' to __destruct"),kn(this);var re=this.L.N;re=Et(w,re),Dt.hasOwnProperty(re)?delete Dt[re]:Je("Tried to unregister unregistered instance: "+re)},x.prototype=Object.create(G),z)x.prototype[se]=z[se];return Kt(x)},l:function(x){var T=Pa[x];delete Pa[x];var z=T.ea,j=T.V,w=T.ha;ta([x],w.map(G=>G.sa).concat(w.map(G=>G.ya)),G=>{var ue={};return w.forEach((ee,se)=>{var re=G[se],de=ee.qa,Se=ee.ra,we=G[se+w.length],Ct=ee.xa,ct=ee.za;ue[ee.na]={read:Ft=>re.fromWireType(de(Se,Ft)),write:(Ft,fr)=>{var dr=[];Ct(ct,Ft,we.toWireType(dr,fr)),Ka(dr)}}}),[{name:T.name,fromWireType:function(ee){var se,re={};for(se in ue)re[se]=ue[se].read(ee);return j(ee),re},toWireType:function(ee,se){for(var re in ue)if(!(re in se))throw TypeError('Missing field: "'+re+'"');var de=z();for(re in ue)ue[re].write(de,se[re]);return ee!==null&&ee.push(j,de),de},argPackAdvance:8,readValueFromPointer:ya,U:j}]})},v:function(){},B:function(x,T,z,j,w){var G=ye(z);We(x,{name:T=J(T),fromWireType:function(ue){return!!ue},toWireType:function(ue,ee){return ee?j:w},argPackAdvance:8,readValueFromPointer:function(ue){if(z===1)var ee=he;else if(z===2)ee=$e;else if(z===4)ee=et;else throw TypeError("Unknown boolean type size: "+T);return this.fromWireType(ee[ue>>G])},U:null})},h:function(x,T,z,j,w,G,ue,ee,se,re,de,Se,we){de=J(de),G=or(w,G),ee&&(ee=or(ue,ee)),re&&(re=or(se,re)),we=or(Se,we);var Ct,ct=je(de);Ct=function(){Ur("Cannot construct "+de+" due to unbound types",[j])},A.hasOwnProperty(ct)?(Je("Cannot register public name '"+ct+"' twice"),an(A,ct,ct),A.hasOwnProperty(void 0)&&Je("Cannot register multiple overloads of a function with the same number of arguments (undefined)!"),A[ct].R[void 0]=Ct):A[ct]=Ct,ta([x,T,z],j?[j]:[],function(Ft){if(Ft=Ft[0],j)var fr,dr=Ft.M,sn=dr.W;else sn=Ie.prototype;Ft=Rt(ct,function(){if(Object.getPrototypeOf(this)!==Sa)throw new Wt("Use 'new' to construct "+de);if(Br.X===void 0)throw new Wt(de+" has no accessible constructor");var ti=Br.X[arguments.length];if(ti===void 0)throw new Wt("Tried to invoke ctor of "+de+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(Br.X).toString()+") parameters instead!");return ti.apply(this,arguments)});var Sa=Object.create(sn,{constructor:{value:Ft}});Ft.prototype=Sa;var Br=new ur(de,Ft,Sa,we,dr,G,ee,re);dr=new ut(de,Br,!0,!1),sn=new ut(de+"*",Br,!1,!1);var zi=new ut(de+" const*",Br,!1,!0);return br[x]={pointerType:sn,ka:zi},fr=Ft,A.hasOwnProperty(ct)||on("Replacing nonexistant public symbol"),A[ct]=fr,A[ct].Y=void 0,[dr,sn,zi]})},d:function(x,T,z,j,w,G,ue){var ee=sr(z,j);T=J(T),G=or(w,G),ta([],[x],function(se){function re(){Ur("Cannot call "+de+" due to unbound types",ee)}var de=(se=se[0]).name+"."+T;T.startsWith("@@")&&(T=Symbol[T.substring(2)]);var Se=se.M.constructor;return Se[T]===void 0?(re.Y=z-1,Se[T]=re):(an(Se,T,de),Se[T].R[z-1]=re),ta([],ee,function(we){return we=wr(de,[we[0],null].concat(we.slice(1)),null,G,ue),Se[T].R===void 0?(we.Y=z-1,Se[T]=we):Se[T].R[z-1]=we,[]}),[]})},p:function(x,T,z,j,w,G){0<T||ce();var ue=sr(T,z);w=or(j,w),ta([],[x],function(ee){var se="constructor "+(ee=ee[0]).name;if(ee.M.X===void 0&&(ee.M.X=[]),ee.M.X[T-1]!==void 0)throw new Wt("Cannot register multiple constructors with identical number of parameters ("+(T-1)+") for class '"+ee.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return ee.M.X[T-1]=()=>{Ur("Cannot construct "+ee.name+" due to unbound types",ue)},ta([],ue,function(re){return re.splice(1,0,null),ee.M.X[T-1]=wr(se,re,null,w,G),[]}),[]})},a:function(x,T,z,j,w,G,ue,ee){var se=sr(z,j);T=J(T),G=or(w,G),ta([],[x],function(re){function de(){Ur("Cannot call "+Se+" due to unbound types",se)}var Se=(re=re[0]).name+"."+T;T.startsWith("@@")&&(T=Symbol[T.substring(2)]),ee&&re.M.ia.push(T);var we=re.M.W,Ct=we[T];return Ct===void 0||Ct.R===void 0&&Ct.className!==re.name&&Ct.Y===z-2?(de.Y=z-2,de.className=re.name,we[T]=de):(an(we,T,Se),we[T].R[z-2]=de),ta([],se,function(ct){return ct=wr(Se,ct,re,G,ue),we[T].R===void 0?(ct.Y=z-2,we[T]=ct):we[T].R[z-2]=ct,[]}),[]})},A:function(x,T){We(x,{name:T=J(T),fromWireType:function(z){var j=bn(z);return Vn(z),j},toWireType:function(z,j){return Kt(j)},argPackAdvance:8,readValueFromPointer:ya,U:null})},n:function(x,T,z){z=ye(z),We(x,{name:T=J(T),fromWireType:function(j){return j},toWireType:function(j,w){return w},argPackAdvance:8,readValueFromPointer:(function(j,w){switch(w){case 2:return function(G){return this.fromWireType(Xt[G>>2])};case 3:return function(G){return this.fromWireType(qe[G>>3])};default:throw TypeError("Unknown float type: "+j)}})(T,z),U:null})},e:function(x,T,z,j,w){T=J(T),w===-1&&(w=4294967295),w=ye(z);var G=ee=>ee;if(j===0){var ue=32-8*z;G=ee=>ee<<ue>>>ue}z=T.includes("unsigned")?function(ee,se){return se>>>0}:function(ee,se){return se},We(x,{name:T,fromWireType:G,toWireType:z,argPackAdvance:8,readValueFromPointer:(function(ee,se,re){switch(se){case 0:return re?function(de){return he[de]}:function(de){return Ee[de]};case 1:return re?function(de){return $e[de>>1]}:function(de){return st[de>>1]};case 2:return re?function(de){return et[de>>2]}:function(de){return Xe[de>>2]};default:throw TypeError("Unknown integer type: "+ee)}})(T,w,j!==0),U:null})},b:function(x,T,z){function j(G){G>>=2;var ue=Xe;return new w(ue.buffer,ue[G+1],ue[G])}var w=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][T];We(x,{name:z=J(z),fromWireType:j,argPackAdvance:8,readValueFromPointer:j},{ta:!0})},o:function(x,T){var z=(T=J(T))==="std::string";We(x,{name:T,fromWireType:function(j){var w=Xe[j>>2],G=j+4;if(z)for(var ue=G,ee=0;ee<=w;++ee){var se=G+ee;if(ee==w||Ee[se]==0){if(ue=ue?Le(Ee,ue,se-ue):"",re===void 0)var re=ue;else re+="\0"+ue;ue=se+1}}else{for(ee=0,re=Array(w);ee<w;++ee)re[ee]=String.fromCharCode(Ee[G+ee]);re=re.join("")}return cr(j),re},toWireType:function(j,w){w instanceof ArrayBuffer&&(w=new Uint8Array(w));var G,ue=typeof w=="string";if(ue||w instanceof Uint8Array||w instanceof Uint8ClampedArray||w instanceof Int8Array||Je("Cannot pass non-string to std::string"),z&&ue){var ee=0;for(G=0;G<w.length;++G){var se=w.charCodeAt(G);127>=se?ee++:2047>=se?ee+=2:55296<=se&&57343>=se?(ee+=4,++G):ee+=3}G=ee}else G=w.length;if(se=(ee=ei(4+G+1))+4,Xe[ee>>2]=G,z&&ue){if(ue=se,se=G+1,G=Ee,0<se){se=ue+se-1;for(var re=0;re<w.length;++re){var de=w.charCodeAt(re);if(55296<=de&&57343>=de&&(de=65536+((1023&de)<<10)|1023&w.charCodeAt(++re)),127>=de){if(ue>=se)break;G[ue++]=de}else{if(2047>=de){if(ue+1>=se)break;G[ue++]=192|de>>6}else{if(65535>=de){if(ue+2>=se)break;G[ue++]=224|de>>12}else{if(ue+3>=se)break;G[ue++]=240|de>>18,G[ue++]=128|de>>12&63}G[ue++]=128|de>>6&63}G[ue++]=128|63&de}}G[ue]=0}}else if(ue)for(ue=0;ue<G;++ue)255<(re=w.charCodeAt(ue))&&(cr(se),Je("String has UTF-16 code units that do not fit in 8 bits")),Ee[se+ue]=re;else for(ue=0;ue<G;++ue)Ee[se+ue]=w[ue];return j!==null&&j.push(cr,ee),ee},argPackAdvance:8,readValueFromPointer:ya,U:function(j){cr(j)}})},k:function(x,T,z){if(z=J(z),T===2)var j=Za,w=$i,G=ul,ue=()=>st,ee=1;else T===4&&(j=wu,w=vi,G=Gn,ue=()=>Xe,ee=2);We(x,{name:z,fromWireType:function(se){for(var re,de=Xe[se>>2],Se=ue(),we=se+4,Ct=0;Ct<=de;++Ct){var ct=se+4+Ct*T;(Ct==de||Se[ct>>ee]==0)&&(we=j(we,ct-we),re===void 0?re=we:re+="\0"+we,we=ct+T)}return cr(se),re},toWireType:function(se,re){typeof re!="string"&&Je("Cannot pass non-string to C++ string type "+z);var de=G(re),Se=ei(4+de+T);return Xe[Se>>2]=de>>ee,w(re,Se+4,de+T),se!==null&&se.push(cr,Se),Se},argPackAdvance:8,readValueFromPointer:ya,U:function(se){cr(se)}})},m:function(x,T,z,j,w,G){Pa[x]={name:J(T),ea:or(z,j),V:or(w,G),ha:[]}},c:function(x,T,z,j,w,G,ue,ee,se,re){Pa[x].ha.push({na:J(T),sa:z,qa:or(j,w),ra:G,ya:ue,xa:or(ee,se),za:re})},C:function(x,T){We(x,{ua:!0,name:T=J(T),argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},t:function(x,T,z,j,w){x=hi[x],T=bn(T),z=Un(z);var G=[];return Xe[j>>2]=Kt(G),x(T,z,G,w)},j:function(x,T,z,j){x=hi[x],x(T=bn(T),z=Un(z),null,j)},f:Vn,g:function(x,T){var z,j,w=(function(se,re){for(var de=Array(se),Se=0;Se<se;++Se)de[Se]=An(Xe[re+4*Se>>2],"parameter "+Se);return de})(x,T),G=w[0],ue=Ha[T=G.name+"_$"+w.slice(1).map(function(se){return se.name}).join("_")+"$"];if(ue!==void 0)return ue;var ee=Array(x-1);return z=(se,re,de,Se)=>{for(var we=0,Ct=0;Ct<x-1;++Ct)ee[Ct]=w[Ct+1].readValueFromPointer(Se+we),we+=w[Ct+1].argPackAdvance;for(Ct=0,se=se[re].apply(se,ee);Ct<x-1;++Ct)w[Ct+1].la&&w[Ct+1].la(ee[Ct]);if(!G.ua)return G.toWireType(de,se)},j=hi.length,hi.push(z),ue=j,Ha[T]=ue},r:function(x){4<x&&(Ue[x].fa+=1)},s:function(x){Ka(bn(x)),Vn(x)},i:function(){ce("")},x:function(x,T,z){Ee.copyWithin(x,T,T+z)},w:function(x){var T=Ee.length;if(2147483648<(x>>>=0))return!1;for(var z=1;4>=z;z*=2){var j=T*(1+.2/z);j=Math.min(j,x+100663296);var w=Math,G=w.min;j=Math.max(x,j),j+=(65536-j%65536)%65536;e:{var ue=$.buffer;try{$.grow(G.call(w,2147483648,j)-ue.byteLength+65535>>>16),Ce();var ee=1;break e}catch{}ee=void 0}if(ee)return!0}return!1},z:function(){return 52},u:function(){return 70},y:function(x,T,z,j){for(var w=0,G=0;G<z;G++){var ue=Xe[T>>2],ee=Xe[T+4>>2];T+=8;for(var se=0;se<ee;se++){var re=Ee[ue+se],de=zu[x];re===0||re===10?((x===1?C:F)(Le(de,0)),de.length=0):de.push(re)}w+=ee}return Xe[j>>2]=w,0}};(function(){function x(w){A.asm=w.exports,$=A.asm.D,Ce(),Ve=A.asm.I,Ge.unshift(A.asm.E),--ze==0&&W&&(w=W,W=null,w())}function T(w){x(w.instance)}function z(w){return(typeof fetch=="function"?fetch(p,{credentials:"same-origin"}).then(function(G){if(!G.ok)throw"failed to load wasm binary file at '"+p+"'";return G.arrayBuffer()}).catch(function(){return oe()}):Promise.resolve().then(function(){return oe()})).then(function(G){return WebAssembly.instantiate(G,j)}).then(function(G){return G}).then(w,function(G){F("failed to asynchronously prepare wasm: "+G),ce(G)})}var j={a:Mu};if(ze++,A.instantiateWasm)try{return A.instantiateWasm(j,x)}catch(w){F("Module.instantiateWasm callback failed with error: "+w),le(w)}(typeof WebAssembly.instantiateStreaming!="function"||Oe()||typeof fetch!="function"?z(T):fetch(p,{credentials:"same-origin"}).then(function(w){return WebAssembly.instantiateStreaming(w,j).then(T,function(G){return F("wasm streaming compile failed: "+G),F("falling back to ArrayBuffer instantiation"),z(T)})})).catch(le)})();var yi=A.___getTypeName=function(){return(yi=A.___getTypeName=A.asm.F).apply(null,arguments)};function ei(){return(ei=A.asm.H).apply(null,arguments)}function cr(){return(cr=A.asm.J).apply(null,arguments)}function ra(){0<ze||(Tt(rn),0<ze||E||(E=!0,A.calledRun=!0,xe||(Tt(Ge),N(A),Tt(gt))))}return A.__embind_initialize_bindings=function(){return(A.__embind_initialize_bindings=A.asm.G).apply(null,arguments)},A.dynCall_jiji=function(){return(A.dynCall_jiji=A.asm.K).apply(null,arguments)},W=function x(){E||ra(),E||(W=x)},ra(),o.ready}})();async function VT(s){let o=await IC({instantiateWasm(p,E){WebAssembly.instantiate(s,p).then(h=>{h instanceof WebAssembly.Instance?E(h):E(h.instance)})}});return kT(o)}var Ye=await VT(await PC(HC(import.meta.url).resolve("./yoga.wasm")));V();var h0=nn(i0(),1),y0=nn(o0(),1);import eN from"node:process";V();V();V();function zo(s){let o=0;for(let p of s.split(`
157
157
  `))o=Math.max(o,Ip(p));return o}var s0={},BC=s=>{if(s.length===0)return{width:0,height:0};let o=s0[s];if(o)return o;let p=zo(s),E=s.split(`
158
- `).length;return s0[s]={width:p,height:E},{width:p,height:E}},Jh=BC;V();var c0={},kC=(s,o,p)=>{let E=s+String(o)+String(p),h=c0[E];if(h)return h;let R=s;if(p==="wrap"&&(R=Pp(s,o,{trim:!1,hard:!0})),p.startsWith("truncate")){let C="end";p==="truncate-middle"&&(C="middle"),p==="truncate-start"&&(C="start"),R=Hp(s,o,{position:C})}return c0[E]=R,R},qp=kC;V();var f0=s=>{let o="";for(let p=0;p<s.childNodes.length;p++){let E=s.childNodes[p];if(E===void 0)continue;let h="";E.nodeName==="#text"?h=E.nodeValue:((E.nodeName==="ink-text"||E.nodeName==="ink-virtual-text")&&(h=f0(E)),h.length>0&&typeof E.internal_transform=="function"&&(h=E.internal_transform(h,p))),o+=h}return o},Jp=f0;var Kp=s=>{let o={nodeName:s,style:{},attributes:{},childNodes:[],parentNode:void 0,yogaNode:s==="ink-virtual-text"?void 0:Ye.Node.create()};return s==="ink-text"&&o.yogaNode?.setMeasureFunc(VC.bind(null,o)),o},Zp=(s,o)=>{o.parentNode&&Wf(o.parentNode,o),o.parentNode=s,s.childNodes.push(o),o.yogaNode&&s.yogaNode?.insertChild(o.yogaNode,s.yogaNode.getChildCount()),(s.nodeName==="ink-text"||s.nodeName==="ink-virtual-text")&&$p(s)},Kh=(s,o,p)=>{o.parentNode&&Wf(o.parentNode,o),o.parentNode=s;let E=s.childNodes.indexOf(p);if(E>=0){s.childNodes.splice(E,0,o),o.yogaNode&&s.yogaNode?.insertChild(o.yogaNode,E);return}s.childNodes.push(o),o.yogaNode&&s.yogaNode?.insertChild(o.yogaNode,s.yogaNode.getChildCount()),(s.nodeName==="ink-text"||s.nodeName==="ink-virtual-text")&&$p(s)},Wf=(s,o)=>{o.yogaNode&&o.parentNode?.yogaNode?.removeChild(o.yogaNode),o.parentNode=void 0;let p=s.childNodes.indexOf(o);p>=0&&s.childNodes.splice(p,1),(s.nodeName==="ink-text"||s.nodeName==="ink-virtual-text")&&$p(s)},Zh=(s,o,p)=>{s.attributes[o]=p},$h=(s,o)=>{s.style=o},d0=s=>{let o={nodeName:"#text",nodeValue:s,yogaNode:void 0,parentNode:void 0,style:{}};return Yf(o,s),o},VC=function(s,o){let p=s.nodeName==="#text"?s.nodeValue:Jp(s),E=Jh(p);if(E.width<=o||E.width>=1&&o>0&&o<1)return E;let h=s.style?.textWrap??"wrap",R=qp(p,o,h);return Jh(R)},p0=s=>{if(s?.parentNode)return s.yogaNode??p0(s.parentNode)},$p=s=>{p0(s)?.markDirty()},Yf=(s,o)=>{typeof o!="string"&&(o=String(o)),s.nodeValue=o,$p(s)};V();var WC=(s,o)=>{"position"in o&&s.setPositionType(o.position==="absolute"?Ye.POSITION_TYPE_ABSOLUTE:Ye.POSITION_TYPE_RELATIVE)},YC=(s,o)=>{"margin"in o&&s.setMargin(Ye.EDGE_ALL,o.margin??0),"marginX"in o&&s.setMargin(Ye.EDGE_HORIZONTAL,o.marginX??0),"marginY"in o&&s.setMargin(Ye.EDGE_VERTICAL,o.marginY??0),"marginLeft"in o&&s.setMargin(Ye.EDGE_START,o.marginLeft||0),"marginRight"in o&&s.setMargin(Ye.EDGE_END,o.marginRight||0),"marginTop"in o&&s.setMargin(Ye.EDGE_TOP,o.marginTop||0),"marginBottom"in o&&s.setMargin(Ye.EDGE_BOTTOM,o.marginBottom||0)},QC=(s,o)=>{"padding"in o&&s.setPadding(Ye.EDGE_ALL,o.padding??0),"paddingX"in o&&s.setPadding(Ye.EDGE_HORIZONTAL,o.paddingX??0),"paddingY"in o&&s.setPadding(Ye.EDGE_VERTICAL,o.paddingY??0),"paddingLeft"in o&&s.setPadding(Ye.EDGE_LEFT,o.paddingLeft||0),"paddingRight"in o&&s.setPadding(Ye.EDGE_RIGHT,o.paddingRight||0),"paddingTop"in o&&s.setPadding(Ye.EDGE_TOP,o.paddingTop||0),"paddingBottom"in o&&s.setPadding(Ye.EDGE_BOTTOM,o.paddingBottom||0)},XC=(s,o)=>{"flexGrow"in o&&s.setFlexGrow(o.flexGrow??0),"flexShrink"in o&&s.setFlexShrink(typeof o.flexShrink=="number"?o.flexShrink:1),"flexWrap"in o&&(o.flexWrap==="nowrap"&&s.setFlexWrap(Ye.WRAP_NO_WRAP),o.flexWrap==="wrap"&&s.setFlexWrap(Ye.WRAP_WRAP),o.flexWrap==="wrap-reverse"&&s.setFlexWrap(Ye.WRAP_WRAP_REVERSE)),"flexDirection"in o&&(o.flexDirection==="row"&&s.setFlexDirection(Ye.FLEX_DIRECTION_ROW),o.flexDirection==="row-reverse"&&s.setFlexDirection(Ye.FLEX_DIRECTION_ROW_REVERSE),o.flexDirection==="column"&&s.setFlexDirection(Ye.FLEX_DIRECTION_COLUMN),o.flexDirection==="column-reverse"&&s.setFlexDirection(Ye.FLEX_DIRECTION_COLUMN_REVERSE)),"flexBasis"in o&&(typeof o.flexBasis=="number"?s.setFlexBasis(o.flexBasis):typeof o.flexBasis=="string"?s.setFlexBasisPercent(Number.parseInt(o.flexBasis,10)):s.setFlexBasis(Number.NaN)),"alignItems"in o&&((o.alignItems==="stretch"||!o.alignItems)&&s.setAlignItems(Ye.ALIGN_STRETCH),o.alignItems==="flex-start"&&s.setAlignItems(Ye.ALIGN_FLEX_START),o.alignItems==="center"&&s.setAlignItems(Ye.ALIGN_CENTER),o.alignItems==="flex-end"&&s.setAlignItems(Ye.ALIGN_FLEX_END)),"alignSelf"in o&&((o.alignSelf==="auto"||!o.alignSelf)&&s.setAlignSelf(Ye.ALIGN_AUTO),o.alignSelf==="flex-start"&&s.setAlignSelf(Ye.ALIGN_FLEX_START),o.alignSelf==="center"&&s.setAlignSelf(Ye.ALIGN_CENTER),o.alignSelf==="flex-end"&&s.setAlignSelf(Ye.ALIGN_FLEX_END)),"justifyContent"in o&&((o.justifyContent==="flex-start"||!o.justifyContent)&&s.setJustifyContent(Ye.JUSTIFY_FLEX_START),o.justifyContent==="center"&&s.setJustifyContent(Ye.JUSTIFY_CENTER),o.justifyContent==="flex-end"&&s.setJustifyContent(Ye.JUSTIFY_FLEX_END),o.justifyContent==="space-between"&&s.setJustifyContent(Ye.JUSTIFY_SPACE_BETWEEN),o.justifyContent==="space-around"&&s.setJustifyContent(Ye.JUSTIFY_SPACE_AROUND))},qC=(s,o)=>{"width"in o&&(typeof o.width=="number"?s.setWidth(o.width):typeof o.width=="string"?s.setWidthPercent(Number.parseInt(o.width,10)):s.setWidthAuto()),"height"in o&&(typeof o.height=="number"?s.setHeight(o.height):typeof o.height=="string"?s.setHeightPercent(Number.parseInt(o.height,10)):s.setHeightAuto()),"minWidth"in o&&(typeof o.minWidth=="string"?s.setMinWidthPercent(Number.parseInt(o.minWidth,10)):s.setMinWidth(o.minWidth??0)),"minHeight"in o&&(typeof o.minHeight=="string"?s.setMinHeightPercent(Number.parseInt(o.minHeight,10)):s.setMinHeight(o.minHeight??0))},JC=(s,o)=>{"display"in o&&s.setDisplay(o.display==="flex"?Ye.DISPLAY_FLEX:Ye.DISPLAY_NONE)},KC=(s,o)=>{if("borderStyle"in o){let p=o.borderStyle?1:0;o.borderTop!==!1&&s.setBorder(Ye.EDGE_TOP,p),o.borderBottom!==!1&&s.setBorder(Ye.EDGE_BOTTOM,p),o.borderLeft!==!1&&s.setBorder(Ye.EDGE_LEFT,p),o.borderRight!==!1&&s.setBorder(Ye.EDGE_RIGHT,p)}},ZC=(s,o)=>{"gap"in o&&s.setGap(Ye.GUTTER_ALL,o.gap??0),"columnGap"in o&&s.setGap(Ye.GUTTER_COLUMN,o.columnGap??0),"rowGap"in o&&s.setGap(Ye.GUTTER_ROW,o.rowGap??0)},$C=(s,o={})=>{WC(s,o),YC(s,o),QC(s,o),XC(s,o),qC(s,o),JC(s,o),KC(s,o),ZC(s,o)},ey=$C;if(eN.env.DEV==="true")try{await import("./devtools-HCKYP7DQ.js")}catch(s){if(s.code==="ERR_MODULE_NOT_FOUND")console.warn(`
158
+ `).length;return s0[s]={width:p,height:E},{width:p,height:E}},Jh=BC;V();var c0={},kC=(s,o,p)=>{let E=s+String(o)+String(p),h=c0[E];if(h)return h;let R=s;if(p==="wrap"&&(R=Pp(s,o,{trim:!1,hard:!0})),p.startsWith("truncate")){let C="end";p==="truncate-middle"&&(C="middle"),p==="truncate-start"&&(C="start"),R=Hp(s,o,{position:C})}return c0[E]=R,R},qp=kC;V();var f0=s=>{let o="";for(let p=0;p<s.childNodes.length;p++){let E=s.childNodes[p];if(E===void 0)continue;let h="";E.nodeName==="#text"?h=E.nodeValue:((E.nodeName==="ink-text"||E.nodeName==="ink-virtual-text")&&(h=f0(E)),h.length>0&&typeof E.internal_transform=="function"&&(h=E.internal_transform(h,p))),o+=h}return o},Jp=f0;var Kp=s=>{let o={nodeName:s,style:{},attributes:{},childNodes:[],parentNode:void 0,yogaNode:s==="ink-virtual-text"?void 0:Ye.Node.create()};return s==="ink-text"&&o.yogaNode?.setMeasureFunc(VC.bind(null,o)),o},Zp=(s,o)=>{o.parentNode&&Wf(o.parentNode,o),o.parentNode=s,s.childNodes.push(o),o.yogaNode&&s.yogaNode?.insertChild(o.yogaNode,s.yogaNode.getChildCount()),(s.nodeName==="ink-text"||s.nodeName==="ink-virtual-text")&&$p(s)},Kh=(s,o,p)=>{o.parentNode&&Wf(o.parentNode,o),o.parentNode=s;let E=s.childNodes.indexOf(p);if(E>=0){s.childNodes.splice(E,0,o),o.yogaNode&&s.yogaNode?.insertChild(o.yogaNode,E);return}s.childNodes.push(o),o.yogaNode&&s.yogaNode?.insertChild(o.yogaNode,s.yogaNode.getChildCount()),(s.nodeName==="ink-text"||s.nodeName==="ink-virtual-text")&&$p(s)},Wf=(s,o)=>{o.yogaNode&&o.parentNode?.yogaNode?.removeChild(o.yogaNode),o.parentNode=void 0;let p=s.childNodes.indexOf(o);p>=0&&s.childNodes.splice(p,1),(s.nodeName==="ink-text"||s.nodeName==="ink-virtual-text")&&$p(s)},Zh=(s,o,p)=>{s.attributes[o]=p},$h=(s,o)=>{s.style=o},d0=s=>{let o={nodeName:"#text",nodeValue:s,yogaNode:void 0,parentNode:void 0,style:{}};return Yf(o,s),o},VC=function(s,o){let p=s.nodeName==="#text"?s.nodeValue:Jp(s),E=Jh(p);if(E.width<=o||E.width>=1&&o>0&&o<1)return E;let h=s.style?.textWrap??"wrap",R=qp(p,o,h);return Jh(R)},p0=s=>{if(s?.parentNode)return s.yogaNode??p0(s.parentNode)},$p=s=>{p0(s)?.markDirty()},Yf=(s,o)=>{typeof o!="string"&&(o=String(o)),s.nodeValue=o,$p(s)};V();var WC=(s,o)=>{"position"in o&&s.setPositionType(o.position==="absolute"?Ye.POSITION_TYPE_ABSOLUTE:Ye.POSITION_TYPE_RELATIVE)},YC=(s,o)=>{"margin"in o&&s.setMargin(Ye.EDGE_ALL,o.margin??0),"marginX"in o&&s.setMargin(Ye.EDGE_HORIZONTAL,o.marginX??0),"marginY"in o&&s.setMargin(Ye.EDGE_VERTICAL,o.marginY??0),"marginLeft"in o&&s.setMargin(Ye.EDGE_START,o.marginLeft||0),"marginRight"in o&&s.setMargin(Ye.EDGE_END,o.marginRight||0),"marginTop"in o&&s.setMargin(Ye.EDGE_TOP,o.marginTop||0),"marginBottom"in o&&s.setMargin(Ye.EDGE_BOTTOM,o.marginBottom||0)},QC=(s,o)=>{"padding"in o&&s.setPadding(Ye.EDGE_ALL,o.padding??0),"paddingX"in o&&s.setPadding(Ye.EDGE_HORIZONTAL,o.paddingX??0),"paddingY"in o&&s.setPadding(Ye.EDGE_VERTICAL,o.paddingY??0),"paddingLeft"in o&&s.setPadding(Ye.EDGE_LEFT,o.paddingLeft||0),"paddingRight"in o&&s.setPadding(Ye.EDGE_RIGHT,o.paddingRight||0),"paddingTop"in o&&s.setPadding(Ye.EDGE_TOP,o.paddingTop||0),"paddingBottom"in o&&s.setPadding(Ye.EDGE_BOTTOM,o.paddingBottom||0)},XC=(s,o)=>{"flexGrow"in o&&s.setFlexGrow(o.flexGrow??0),"flexShrink"in o&&s.setFlexShrink(typeof o.flexShrink=="number"?o.flexShrink:1),"flexWrap"in o&&(o.flexWrap==="nowrap"&&s.setFlexWrap(Ye.WRAP_NO_WRAP),o.flexWrap==="wrap"&&s.setFlexWrap(Ye.WRAP_WRAP),o.flexWrap==="wrap-reverse"&&s.setFlexWrap(Ye.WRAP_WRAP_REVERSE)),"flexDirection"in o&&(o.flexDirection==="row"&&s.setFlexDirection(Ye.FLEX_DIRECTION_ROW),o.flexDirection==="row-reverse"&&s.setFlexDirection(Ye.FLEX_DIRECTION_ROW_REVERSE),o.flexDirection==="column"&&s.setFlexDirection(Ye.FLEX_DIRECTION_COLUMN),o.flexDirection==="column-reverse"&&s.setFlexDirection(Ye.FLEX_DIRECTION_COLUMN_REVERSE)),"flexBasis"in o&&(typeof o.flexBasis=="number"?s.setFlexBasis(o.flexBasis):typeof o.flexBasis=="string"?s.setFlexBasisPercent(Number.parseInt(o.flexBasis,10)):s.setFlexBasis(Number.NaN)),"alignItems"in o&&((o.alignItems==="stretch"||!o.alignItems)&&s.setAlignItems(Ye.ALIGN_STRETCH),o.alignItems==="flex-start"&&s.setAlignItems(Ye.ALIGN_FLEX_START),o.alignItems==="center"&&s.setAlignItems(Ye.ALIGN_CENTER),o.alignItems==="flex-end"&&s.setAlignItems(Ye.ALIGN_FLEX_END)),"alignSelf"in o&&((o.alignSelf==="auto"||!o.alignSelf)&&s.setAlignSelf(Ye.ALIGN_AUTO),o.alignSelf==="flex-start"&&s.setAlignSelf(Ye.ALIGN_FLEX_START),o.alignSelf==="center"&&s.setAlignSelf(Ye.ALIGN_CENTER),o.alignSelf==="flex-end"&&s.setAlignSelf(Ye.ALIGN_FLEX_END)),"justifyContent"in o&&((o.justifyContent==="flex-start"||!o.justifyContent)&&s.setJustifyContent(Ye.JUSTIFY_FLEX_START),o.justifyContent==="center"&&s.setJustifyContent(Ye.JUSTIFY_CENTER),o.justifyContent==="flex-end"&&s.setJustifyContent(Ye.JUSTIFY_FLEX_END),o.justifyContent==="space-between"&&s.setJustifyContent(Ye.JUSTIFY_SPACE_BETWEEN),o.justifyContent==="space-around"&&s.setJustifyContent(Ye.JUSTIFY_SPACE_AROUND))},qC=(s,o)=>{"width"in o&&(typeof o.width=="number"?s.setWidth(o.width):typeof o.width=="string"?s.setWidthPercent(Number.parseInt(o.width,10)):s.setWidthAuto()),"height"in o&&(typeof o.height=="number"?s.setHeight(o.height):typeof o.height=="string"?s.setHeightPercent(Number.parseInt(o.height,10)):s.setHeightAuto()),"minWidth"in o&&(typeof o.minWidth=="string"?s.setMinWidthPercent(Number.parseInt(o.minWidth,10)):s.setMinWidth(o.minWidth??0)),"minHeight"in o&&(typeof o.minHeight=="string"?s.setMinHeightPercent(Number.parseInt(o.minHeight,10)):s.setMinHeight(o.minHeight??0))},JC=(s,o)=>{"display"in o&&s.setDisplay(o.display==="flex"?Ye.DISPLAY_FLEX:Ye.DISPLAY_NONE)},KC=(s,o)=>{if("borderStyle"in o){let p=o.borderStyle?1:0;o.borderTop!==!1&&s.setBorder(Ye.EDGE_TOP,p),o.borderBottom!==!1&&s.setBorder(Ye.EDGE_BOTTOM,p),o.borderLeft!==!1&&s.setBorder(Ye.EDGE_LEFT,p),o.borderRight!==!1&&s.setBorder(Ye.EDGE_RIGHT,p)}},ZC=(s,o)=>{"gap"in o&&s.setGap(Ye.GUTTER_ALL,o.gap??0),"columnGap"in o&&s.setGap(Ye.GUTTER_COLUMN,o.columnGap??0),"rowGap"in o&&s.setGap(Ye.GUTTER_ROW,o.rowGap??0)},$C=(s,o={})=>{WC(s,o),YC(s,o),QC(s,o),XC(s,o),qC(s,o),JC(s,o),KC(s,o),ZC(s,o)},ey=$C;if(eN.env.DEV==="true")try{await import("./devtools-37DE4MUR.js")}catch(s){if(s.code==="ERR_MODULE_NOT_FOUND")console.warn(`
159
159
  The environment variable DEV is set to true, so Ink tried to import \`react-devtools-core\`,
160
160
  but this failed as it was not installed. Debugging with React Devtools requires it.
161
161
 
@@ -1,3 +1,3 @@
1
- import{a as n}from"./chunk-MFLBTJO7.js";import{k as i,q as m}from"./chunk-HHXHOQQP.js";import{b as t}from"./chunk-4KRT35A2.js";import{r as c}from"./chunk-3YWUSKWF.js";import{e as l,g as r}from"./chunk-VPRTJUIN.js";r();var a=l(c(),1),s,o=class extends m{async command(e){let d={path:e.path,password:e.password,store:e.store,force:e.force,verbose:e.verbose,noColor:e["no-color"]};await n(d)}};s=o;o.summary="Download metafields definitions from your shop into a local file.";o.descriptionWithMarkdown=`Retrieves metafields from Shopify Admin.
1
+ import{a as n}from"./chunk-WHNWE7P2.js";import{k as i,q as m}from"./chunk-TUNUEOHO.js";import{b as t}from"./chunk-OXJBYKMX.js";import{r as c}from"./chunk-T6CC5WUU.js";import{e as l,g as r}from"./chunk-VKWPEFWQ.js";r();var a=l(c(),1),s,o=class extends m{async command(e){let d={path:e.path,password:e.password,store:e.store,force:e.force,verbose:e.verbose,noColor:e["no-color"]};await n(d)}};s=o;o.summary="Download metafields definitions from your shop into a local file.";o.descriptionWithMarkdown=`Retrieves metafields from Shopify Admin.
2
2
 
3
3
  If the metafields file already exists, it will be overwritten.`;o.description=s.descriptionWithoutMarkdown();o.flags={...t,...i,force:a.Flags.boolean({hidden:!0,char:"f",description:"Proceed without confirmation, if current directory does not seem to be theme directory.",env:"SHOPIFY_FLAG_FORCE"})};o.multiEnvironmentsFlags=null;var v=o;export{v as a};
@@ -1 +1 @@
1
- import{a as o}from"./chunk-K77WAKOB.js";import{b as e}from"./chunk-VEDZUOVI.js";import{g as i}from"./chunk-VPRTJUIN.js";i();var t=class extends e{static{this.description="View the UI kit components that display static output"}static{this.hidden=!0}async run(){await o()}};export{t as a};
1
+ import{a as o}from"./chunk-OU3M32A2.js";import{b as e}from"./chunk-HOSFU6UP.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();var t=class extends e{static{this.description="View the UI kit components that display static output"}static{this.hidden=!0}async run(){await o()}};export{t as a};
@@ -1,4 +1,4 @@
1
- import{c as w}from"./chunk-GVITHCQJ.js";import{c as F,e as x}from"./chunk-QTGMS62F.js";import{B as h,m as S,t as L,u as P,v as f,z as N}from"./chunk-WUK5NQSX.js";import{o as $,q as m}from"./chunk-LITB5QQX.js";import{a as c}from"./chunk-YJB7P2HC.js";import{O as V,S as y,v as R}from"./chunk-MGL4YM3S.js";import{Bb as U,Cb as D,Fb as u,Hb as p,Mb as d,Pb as l,Qb as E,yb as A}from"./chunk-VPL2NDH6.js";import{c as _}from"./chunk-UARVYVLN.js";import{p as C,q as b,r as I}from"./chunk-IU2ZQ6TE.js";import{g as v}from"./chunk-VPRTJUIN.js";v();function M(){let e=U();if(!(!e||e==="unknown"))return e==="homebrew"?"brew upgrade shopify-cli":e==="yarn"?`${e} global add @shopify/cli@latest`:`${e} ${e==="pnpm"?"add":"install"} -g @shopify/cli@latest`}async function re(e={}){let n=I()??b(),o=D(n),t=A();if(_()){d("Skipping upgrade in development mode.");return}if(!(e.autoupgrade&&!t))if(t){let a=M();if(!a)throw new Error("Could not determine the package manager");let[r,...i]=a.split(" ");if(!r)throw new Error("Could not determine the command to run");let s=f("@shopify/cli",c),T=s?`\u2728 New version of Shopify CLI available! (${c} \u2192 ${s})`:"\u2728 New version of Shopify CLI available!";d(p`${T}
1
+ import{c as w}from"./chunk-NILXAUUT.js";import{c as F,e as x}from"./chunk-E7DHELFH.js";import{B as h,m as S,t as L,u as P,v as f,z as N}from"./chunk-ANBOLDON.js";import{o as $,q as m}from"./chunk-HDC5V7RY.js";import{a as c}from"./chunk-VPPWSKOY.js";import{O as V,S as y,v as R}from"./chunk-NTRAWIEJ.js";import{Bb as U,Cb as D,Fb as u,Hb as p,Mb as d,Pb as l,Qb as E,yb as A}from"./chunk-7FQFEB33.js";import{c as _}from"./chunk-S5IFJ737.js";import{p as C,q as b,r as I}from"./chunk-773TIA5M.js";import{g as v}from"./chunk-VKWPEFWQ.js";v();function M(){let e=U();if(!(!e||e==="unknown"))return e==="homebrew"?"brew upgrade shopify-cli":e==="yarn"?`${e} global add @shopify/cli@latest`:`${e} ${e==="pnpm"?"add":"install"} -g @shopify/cli@latest`}async function re(e={}){let n=I()??b(),o=D(n),t=A();if(_()){d("Skipping upgrade in development mode.");return}if(!(e.autoupgrade&&!t))if(t){let a=M();if(!a)throw new Error("Could not determine the package manager");let[r,...i]=a.split(" ");if(!r)throw new Error("Could not determine the command to run");let s=f("@shopify/cli",c),T=s?`\u2728 New version of Shopify CLI available! (${c} \u2192 ${s})`:"\u2728 New version of Shopify CLI available!";d(p`${T}
2
2
  Now upgrading by running: ${u.genericShellCommand(a)}...`),await V(r,i,{stdio:"inherit"}),R({headline:"Shopify CLI upgraded.",body:s?`You're now on version ${s}.`:"You're now on the latest version."})}else if(o)await Y(o,c);else throw new Error("Could not determine the local project directory")}function ie(){let e=c,n=f("@shopify/cli",e);if(!n){l("Auto-upgrade: No newer version available.");return}if(process.env.SHOPIFY_CLI_FORCE_AUTO_UPGRADE==="1")return l("Auto-upgrade: Forcing auto-upgrade because of SHOPIFY_CLI_FORCE_AUTO_UPGRADE."),n;if(!m()){l("Auto-upgrade: Skipping because auto-upgrade is not enabled.");return}if(y()){l("Auto-upgrade: Skipping auto-upgrade in CI.");return}if(w(e)){l("Auto-upgrade: Skipping auto-upgrade for pre-release version.");return}return n}async function se(){try{let{notifications:e}=await F();return x(e,"",["autoupgrade"]).some(o=>o.type==="error")}catch{return!1}}async function ce(){if(y()||w(c)||m())return;let e=f("@shopify/cli",c);e&&await $("warn-on-available-upgrade",{days:1},async()=>{E(G(e))})}function G(e,n=!1){let o=M(),t=o?p`💡 Version ${e} available! Run ${u.genericShellCommand(o)}`.value:p`💡 Version ${e} available!`.value;if(n){let a=`https://github.com/Shopify/cli/releases/tag/${e}`,r=p`⚠️ This is a major version — review breaking changes before upgrading:\n ${u.link(a,a)}`.value;return`${t}
3
3
 
4
4
  ${r}`}return t}async function Y(e,n){let o=(await h(e)).content,t=o.dependencies??{},a=o.devDependencies??{},i={...t,...a}[await k()];if(!i){l("Auto-upgrade: CLI dependency not found in project dependencies, skipping local upgrade.");return}i.slice(0,1).match(/[\^~]/)&&(i=n);let s=await P(await k(),i);s?q(i,s):W(i),await J("prod",t,e),await J("dev",a,e)}async function J(e,n,o){let t=[await k(),...await j()].filter(r=>!!n[r]).map(r=>({name:r,version:"latest"})),a=await L(o);t.length>0&&await N(t,{packageManager:await S(o),type:e,directory:o,stdout:process.stdout,stderr:process.stderr,addToRootDirectory:a})}async function k(){return(await O()).name}async function j(){return(await O())?.oclif?.plugins??[]}var g;async function O(){if(!g){let e=await h(C(import.meta.url));g=g??e.content}return g}function W(e){d(p`You're on the latest version, ${u.yellow(e)}, no need to upgrade!`)}function q(e,n){d(p`Upgrading CLI from ${u.yellow(e)} to ${u.yellow(n)}...`)}export{M as a,re as b,ie as c,se as d,ce as e,G as f};
@@ -1 +1 @@
1
- import{n as a}from"./chunk-4V4DQ6W7.js";import{d as o}from"./chunk-BHWEA4V2.js";import{g as u}from"./chunk-VPRTJUIN.js";u();var n={LOCALHOST:"localhost",HTTP:"http",PUBSUB:"google-pub-sub",EVENTBRIDGE:"event-bridge"},p={LOCALHOST:new RegExp("^http:","i"),HTTP:new RegExp("^https:","i"),PUBSUB:new RegExp("^pubsub:"),EVENTBRIDGE:new RegExp("^arn:aws:events:")};function c(t,e){let r=h(t);return r===n.LOCALHOST&&e===n.HTTP?!0:r===e}function f(t){return p.LOCALHOST.test(t)?new URL(t.toLowerCase()).hostname==="localhost":!1}function E(t,e){if(!c(t,e))throw new o(`Can't deliver your webhook payload to this address using '${e}'`,"Use a valid URL for address",l(e));let r=e;return f(t)&&(r=n.LOCALHOST),[t.trim(),r]}function l(t){return t===n.HTTP?["For remote HTTP testing, use a URL that starts with https://","For local HTTP testing, use http://localhost:{port}/{url-path}"]:t===n.PUBSUB?["For Google Pub/Sub, use pubsub://{project-id}:{topic-id}"]:t===n.EVENTBRIDGE?["For Amazon EventBridge, use an Amazon Resource Name (ARN) starting with arn:aws:events:"]:[]}function g(t,e){if(e.includes(t))return t;throw new o(`Api Version '${t}' does not exist`,`Allowed values: ${e.join(", ")}`,["Try again with a valid api-version value"])}function L(t,e,r){if(r.length===0)throw new o(`No topics found for '${e}'`);let i=T(t.trim(),r);if(i===void 0)throw new o(`Topic '${t}' does not exist for ApiVersion '${e}'`,`Allowed values: ${r.join(", ")}`,["Try again with a valid api-version - topic pair"]);return i}function T(t,e){return e.includes(t)?t:e.find(r=>r.toUpperCase().replace("/","_")===t)}function h(t){if(t){if(t.startsWith("pubsub:"))return n.PUBSUB;if(t.startsWith("arn:aws:events:"))return n.EVENTBRIDGE;if(f(t))return n.LOCALHOST;if(p.HTTP.test(t))return n.HTTP}}u();async function H(t,e,r){let i={method:"POST",body:e,headers:{"Content-Type":"application/json",...JSON.parse(r)}},s=await a(t,i);return s.status>=200&&s.status<300}export{H as a,n as b,c,E as d,g as e,L as f,h as g};
1
+ import{n as a}from"./chunk-G4OQABDT.js";import{d as o}from"./chunk-TPCG6DCA.js";import{g as u}from"./chunk-VKWPEFWQ.js";u();var n={LOCALHOST:"localhost",HTTP:"http",PUBSUB:"google-pub-sub",EVENTBRIDGE:"event-bridge"},p={LOCALHOST:new RegExp("^http:","i"),HTTP:new RegExp("^https:","i"),PUBSUB:new RegExp("^pubsub:"),EVENTBRIDGE:new RegExp("^arn:aws:events:")};function c(t,e){let r=h(t);return r===n.LOCALHOST&&e===n.HTTP?!0:r===e}function f(t){return p.LOCALHOST.test(t)?new URL(t.toLowerCase()).hostname==="localhost":!1}function E(t,e){if(!c(t,e))throw new o(`Can't deliver your webhook payload to this address using '${e}'`,"Use a valid URL for address",l(e));let r=e;return f(t)&&(r=n.LOCALHOST),[t.trim(),r]}function l(t){return t===n.HTTP?["For remote HTTP testing, use a URL that starts with https://","For local HTTP testing, use http://localhost:{port}/{url-path}"]:t===n.PUBSUB?["For Google Pub/Sub, use pubsub://{project-id}:{topic-id}"]:t===n.EVENTBRIDGE?["For Amazon EventBridge, use an Amazon Resource Name (ARN) starting with arn:aws:events:"]:[]}function g(t,e){if(e.includes(t))return t;throw new o(`Api Version '${t}' does not exist`,`Allowed values: ${e.join(", ")}`,["Try again with a valid api-version value"])}function L(t,e,r){if(r.length===0)throw new o(`No topics found for '${e}'`);let i=T(t.trim(),r);if(i===void 0)throw new o(`Topic '${t}' does not exist for ApiVersion '${e}'`,`Allowed values: ${r.join(", ")}`,["Try again with a valid api-version - topic pair"]);return i}function T(t,e){return e.includes(t)?t:e.find(r=>r.toUpperCase().replace("/","_")===t)}function h(t){if(t){if(t.startsWith("pubsub:"))return n.PUBSUB;if(t.startsWith("arn:aws:events:"))return n.EVENTBRIDGE;if(f(t))return n.LOCALHOST;if(p.HTTP.test(t))return n.HTTP}}u();async function H(t,e,r){let i={method:"POST",body:e,headers:{"Content-Type":"application/json",...JSON.parse(r)}},s=await a(t,i);return s.status>=200&&s.status<300}export{H as a,n as b,c,E as d,g as e,L as f,h as g};
@@ -1 +1 @@
1
- import{b as a}from"./chunk-MKE434RB.js";import{Ia as i}from"./chunk-4V4DQ6W7.js";import{b as s}from"./chunk-VEDZUOVI.js";import{r as m}from"./chunk-3YWUSKWF.js";import{e as d,g as e}from"./chunk-VPRTJUIN.js";e();var n=d(m(),1);var t=class c extends s{static{this.description="List current notifications configured for the CLI."}static{this.hidden=!0}static{this.flags={"ignore-errors":n.Flags.boolean({hidden:!1,description:"Don't fail if an error occurs.",env:"SHOPIFY_FLAG_IGNORE_ERRORS"})}}async run(){let{flags:f}=await this.parse(c);try{await a()}catch(r){let o="Error fetching notifications";if(r instanceof Error&&(o=o.concat(`: ${r.message}`)),await i(o,"expected_error"),!f["ignore-errors"])throw r}}};export{t as a};
1
+ import{b as a}from"./chunk-2RBIR3NM.js";import{Ia as i}from"./chunk-G4OQABDT.js";import{b as s}from"./chunk-HOSFU6UP.js";import{r as m}from"./chunk-T6CC5WUU.js";import{e as d,g as e}from"./chunk-VKWPEFWQ.js";e();var n=d(m(),1);var t=class c extends s{static{this.description="List current notifications configured for the CLI."}static{this.hidden=!0}static{this.flags={"ignore-errors":n.Flags.boolean({hidden:!1,description:"Don't fail if an error occurs.",env:"SHOPIFY_FLAG_IGNORE_ERRORS"})}}async run(){let{flags:f}=await this.parse(c);try{await a()}catch(r){let o="Error fetching notifications";if(r instanceof Error&&(o=o.concat(`: ${r.message}`)),await i(o,"expected_error"),!f["ignore-errors"])throw r}}};export{t as a};
@@ -1,4 +1,4 @@
1
- import{a as B,j as C,m as P}from"./chunk-X2TC7S57.js";import{B as U,C as _}from"./chunk-IOQQUHST.js";import{e as g}from"./chunk-M4V2OQAX.js";import{l as v,m as w}from"./chunk-MZJRNFAU.js";import{xa as E}from"./chunk-4V4DQ6W7.js";import{Pb as m}from"./chunk-VPL2NDH6.js";import{g as T}from"./chunk-VPRTJUIN.js";T();var $=20,J=1024*1024,A=2;function oe(t,e,r,s,o={},l){let n=B(r),i=new Map,c=a=>a.total===0?"[100%]":`[${Math.round(a.current/a.total*100)}%]`,u=R(t,e,n),h=Promise.all([s.ready(),u]).then(()=>q(n,s,t,e,i)),p=h.then(a=>a.promise).then(()=>j(n,s,t,e,o,i)),k=o?.deferPartialWork?u:p.then(a=>a.promise);return o?.backgroundWorkCatch&&Promise.all([u,h.then(a=>a.promise),p.then(a=>a.promise)]).catch(o.backgroundWorkCatch),{uploadResults:i,workPromise:k,renderThemeSyncProgress:async()=>{if(o?.deferPartialWork)return;let{progress:a,promise:d}=await h,f=o.multiEnvironment?4e3:1e3;await g(b({promise:d,titleGetter:()=>`Uploading files to remote theme ${c(a)}`,updateInterval:f}),l?.stderr,o?.multiEnvironment);let{progress:y,promise:F}=await p;await g(b({promise:F,titleGetter:()=>`Cleaning your remote theme ${c(y)}`,updateInterval:f}),l?.stderr,o?.multiEnvironment),await g([{title:"Theme upload complete",task:async()=>{}}],l?.stderr,o?.multiEnvironment),H(i,o?.environment)}}}function b({promise:t,titleGetter:e,updateInterval:r}){let s=[],o=()=>{s.push({title:e(),task:async()=>{await Promise.race([t,new Promise(n=>setTimeout(()=>n("timeout"),r))])==="timeout"&&o()}})};return o(),s}function j(t,e,r,s,o,l){if(o.nodelete)return{progress:{current:0,total:0},promise:Promise.resolve()};let n=L(t,e),i=x(n),c={current:0,total:i.length};if(i.length===0)return{progress:c,promise:Promise.resolve()};let u=[];for(let p=0;p<i.length;p+=$){let k=i.slice(p,p+$),a=v(r.id,k.map(d=>d.key),s).then(d=>{d.forEach(f=>{if(l.set(f.key,f),!f.success){let y=f.errors?.asset?.map(F=>`-${F}`).join(`
1
+ import{a as B,j as C,m as P}from"./chunk-3YDYZ232.js";import{B as U,C as _}from"./chunk-DTIWUT2T.js";import{e as g}from"./chunk-VJ6KDRZI.js";import{l as v,m as w}from"./chunk-5XDQ76DQ.js";import{xa as E}from"./chunk-G4OQABDT.js";import{Pb as m}from"./chunk-7FQFEB33.js";import{g as T}from"./chunk-VKWPEFWQ.js";T();var $=20,J=1024*1024,A=2;function oe(t,e,r,s,o={},l){let n=B(r),i=new Map,c=a=>a.total===0?"[100%]":`[${Math.round(a.current/a.total*100)}%]`,u=R(t,e,n),h=Promise.all([s.ready(),u]).then(()=>q(n,s,t,e,i)),p=h.then(a=>a.promise).then(()=>j(n,s,t,e,o,i)),k=o?.deferPartialWork?u:p.then(a=>a.promise);return o?.backgroundWorkCatch&&Promise.all([u,h.then(a=>a.promise),p.then(a=>a.promise)]).catch(o.backgroundWorkCatch),{uploadResults:i,workPromise:k,renderThemeSyncProgress:async()=>{if(o?.deferPartialWork)return;let{progress:a,promise:d}=await h,f=o.multiEnvironment?4e3:1e3;await g(b({promise:d,titleGetter:()=>`Uploading files to remote theme ${c(a)}`,updateInterval:f}),l?.stderr,o?.multiEnvironment);let{progress:y,promise:F}=await p;await g(b({promise:F,titleGetter:()=>`Cleaning your remote theme ${c(y)}`,updateInterval:f}),l?.stderr,o?.multiEnvironment),await g([{title:"Theme upload complete",task:async()=>{}}],l?.stderr,o?.multiEnvironment),H(i,o?.environment)}}}function b({promise:t,titleGetter:e,updateInterval:r}){let s=[],o=()=>{s.push({title:e(),task:async()=>{await Promise.race([t,new Promise(n=>setTimeout(()=>n("timeout"),r))])==="timeout"&&o()}})};return o(),s}function j(t,e,r,s,o,l){if(o.nodelete)return{progress:{current:0,total:0},promise:Promise.resolve()};let n=L(t,e),i=x(n),c={current:0,total:i.length};if(i.length===0)return{progress:c,promise:Promise.resolve()};let u=[];for(let p=0;p<i.length;p+=$){let k=i.slice(p,p+$),a=v(r.id,k.map(d=>d.key),s).then(d=>{d.forEach(f=>{if(l.set(f.key,f),!f.success){let y=f.errors?.asset?.map(F=>`-${F}`).join(`
2
2
  `);_(f.key,"delete")(new Error(`Failed to delete ${f.key}: ${y}`))}}),c.current+=k.length});u.push(a)}let h=Promise.all(u).then(()=>{c.current=c.total});return{progress:c,promise:h}}function L(t,e){let s=e.applyIgnoreFilters(t).filter(o=>!e.files.has(o.key));return m(`Files to be deleted:
3
3
  ${s.map(o=>`-${o.key}`).join(`
4
4
  `)}`),s}function x(t){let e=P(t);return[...e.contextualizedJsonFiles,...e.templateJsonFiles,...e.sectionJsonFiles,...e.otherJsonFiles,...e.sectionLiquidFiles,...e.blockLiquidFiles,...e.layoutFiles,...e.otherLiquidFiles,...e.configDataFile,...e.configSchemaFile,...e.staticAssetFiles]}var D=[{key:"config/settings_schema.json",value:"[]"},{key:"layout/password.liquid",value:"{{ content_for_header }}{{ content_for_layout }}"},{key:"layout/theme.liquid",value:"{{ content_for_header }}{{ content_for_layout }}"}];async function R(t,e,r){let s=new Set(r.map(l=>l.key)),o=D.filter(({key:l})=>!s.has(l));o.length>0&&await w(t.id,o,e)}function q(t,e,r,s,o){let l=I(e,t);e.unsyncedFileKeys.clear(),l.forEach(a=>e.unsyncedFileKeys.add(a.key));let{independentFiles:n,dependentFiles:i}=z(l),c={current:0,total:l.length},u=a=>a.length===0?Promise.resolve():Promise.all(S(a).map(d=>N(d,e,s,r.id,o).then(()=>{c.current+=d.length,d.forEach(f=>e.unsyncedFileKeys.delete(f.key))}))).then(()=>{}),h=i.reduce((a,d)=>a.then(()=>u(d)),Promise.resolve()),p=Promise.resolve().then(()=>u(n.flat())),k=Promise.all([h,p]).then(()=>{c.current=c.total});return{progress:c,promise:k}}function I(t,e){let r=K(t),s=t.applyIgnoreFilters(r),o=new Map(e.map(n=>[n.key,n])),l=s.filter(n=>{let i=o.get(n.key);return!i||i.checksum!==n.checksum});return m(`Files to be uploaded:
@@ -1 +1 @@
1
- import{a as J,b as N,c as q,f as C,h as F}from"./chunk-IWE4RUI7.js";import{a as E}from"./chunk-T5MK7ZSF.js";import{a as k,c as A}from"./chunk-DCK2FX6J.js";import{b as x}from"./chunk-N5ROZKPZ.js";import{g as z,h as y}from"./chunk-4V4DQ6W7.js";import{b}from"./chunk-4KRT35A2.js";import{E as m,v as f,x as S}from"./chunk-MGL4YM3S.js";import{d as u}from"./chunk-BHWEA4V2.js";import{Fb as c,Hb as n,Lb as O,Ta as v,ma as w,ua as g}from"./chunk-VPL2NDH6.js";import{e as I,g as l}from"./chunk-VPRTJUIN.js";l();l();var M=I(z(),1);async function D(s,e){if(s)try{return JSON.parse(s)}catch(t){let r=t instanceof Error?t.message:"Unknown error";throw new u(n`Invalid JSON in ${c.yellow("--variables")} flag: ${r}`,"Please provide valid JSON format.")}else if(e){if(!await v(e))throw new u(n`Variable file not found at ${c.path(e)}. Please check the path and try again.`);let t=await w(e,{encoding:"utf8"});try{return JSON.parse(t)}catch(r){let p=r instanceof Error?r.message:"Unknown error";throw new u(n`Invalid JSON in variable file ${c.path(e)}: ${p}`,"Please provide valid JSON format.")}}}async function $(s){let{remoteApp:e,store:t,query:r,variables:p,variableFile:L,version:R,outputFile:d}=s,{adminSession:V,version:G}=await m({title:n`Authenticating`,task:async()=>{let o=await J(e,t.shopDomain),i=await q({adminSession:o,userSpecifiedVersion:R});return{adminSession:o,version:i}},renderOptions:{stdout:process.stderr}}),P=await D(p,L);N(r),C(r,t);try{let o=await m({title:n`Executing GraphQL operation`,task:async()=>x({query:(0,M.parse)(r),session:V,variables:P,version:G,responseOptions:{handleErrors:!1}}),renderOptions:{stdout:process.stderr}}),i=JSON.stringify(o,null,2);d?(await g(d,i),f({headline:"Operation succeeded.",body:`Results written to ${d}`})):(f({headline:"Operation succeeded."}),O(i))}catch(o){if(o instanceof y){let i={errors:o.response.errors},Q=JSON.stringify(i,null,2);S({headline:"GraphQL operation failed.",body:Q});return}throw o}}var h,a=class extends E{async run(){let{flags:e}=await this.parse(h),{query:t,appContextResult:r,store:p}=await F(e);return await $({organization:r.organization,remoteApp:r.remoteApp,store:p,query:t,variables:e.variables,variableFile:e["variable-file"],outputFile:e["output-file"],...e.version&&{version:e.version}}),{app:r.app}}};h=a;a.summary="Execute GraphQL queries and mutations.";a.descriptionWithMarkdown="Executes an Admin API GraphQL query or mutation on the specified store. Mutations are only allowed on dev stores.\n\n For operations that process large amounts of data, use [`bulk execute`](https://shopify.dev/docs/api/shopify-cli/app/app-bulk-execute) instead.";a.description=h.descriptionWithoutMarkdown();a.flags={...b,...k,...A};var oe=a;export{oe as a};
1
+ import{a as J,b as N,c as q,f as C,h as F}from"./chunk-A27NZMWB.js";import{a as E}from"./chunk-EKVTNWHM.js";import{a as k,c as A}from"./chunk-5BKCIDMS.js";import{b as x}from"./chunk-CFOXXOO2.js";import{g as z,h as y}from"./chunk-G4OQABDT.js";import{b}from"./chunk-OXJBYKMX.js";import{E as m,v as f,x as S}from"./chunk-NTRAWIEJ.js";import{d as u}from"./chunk-TPCG6DCA.js";import{Fb as c,Hb as n,Lb as O,Ta as v,ma as w,ua as g}from"./chunk-7FQFEB33.js";import{e as I,g as l}from"./chunk-VKWPEFWQ.js";l();l();var M=I(z(),1);async function D(s,e){if(s)try{return JSON.parse(s)}catch(t){let r=t instanceof Error?t.message:"Unknown error";throw new u(n`Invalid JSON in ${c.yellow("--variables")} flag: ${r}`,"Please provide valid JSON format.")}else if(e){if(!await v(e))throw new u(n`Variable file not found at ${c.path(e)}. Please check the path and try again.`);let t=await w(e,{encoding:"utf8"});try{return JSON.parse(t)}catch(r){let p=r instanceof Error?r.message:"Unknown error";throw new u(n`Invalid JSON in variable file ${c.path(e)}: ${p}`,"Please provide valid JSON format.")}}}async function $(s){let{remoteApp:e,store:t,query:r,variables:p,variableFile:L,version:R,outputFile:d}=s,{adminSession:V,version:G}=await m({title:n`Authenticating`,task:async()=>{let o=await J(e,t.shopDomain),i=await q({adminSession:o,userSpecifiedVersion:R});return{adminSession:o,version:i}},renderOptions:{stdout:process.stderr}}),P=await D(p,L);N(r),C(r,t);try{let o=await m({title:n`Executing GraphQL operation`,task:async()=>x({query:(0,M.parse)(r),session:V,variables:P,version:G,responseOptions:{handleErrors:!1}}),renderOptions:{stdout:process.stderr}}),i=JSON.stringify(o,null,2);d?(await g(d,i),f({headline:"Operation succeeded.",body:`Results written to ${d}`})):(f({headline:"Operation succeeded."}),O(i))}catch(o){if(o instanceof y){let i={errors:o.response.errors},Q=JSON.stringify(i,null,2);S({headline:"GraphQL operation failed.",body:Q});return}throw o}}var h,a=class extends E{async run(){let{flags:e}=await this.parse(h),{query:t,appContextResult:r,store:p}=await F(e);return await $({organization:r.organization,remoteApp:r.remoteApp,store:p,query:t,variables:e.variables,variableFile:e["variable-file"],outputFile:e["output-file"],...e.version&&{version:e.version}}),{app:r.app}}};h=a;a.summary="Execute GraphQL queries and mutations.";a.descriptionWithMarkdown="Executes an Admin API GraphQL query or mutation on the specified store. Mutations are only allowed on dev stores.\n\n For operations that process large amounts of data, use [`bulk execute`](https://shopify.dev/docs/api/shopify-cli/app/app-bulk-execute) instead.";a.description=h.descriptionWithoutMarkdown();a.flags={...b,...k,...A};var oe=a;export{oe as a};
@@ -1,4 +1,4 @@
1
- import{a as D}from"./chunk-2WNODIWJ.js";import{b as ne,c as re}from"./chunk-CE6FKJFS.js";import{c as ee,d as te}from"./chunk-YGMVL6NZ.js";import{A as T}from"./chunk-NBYS6YQ2.js";import{a as Z}from"./chunk-T5MK7ZSF.js";import{a as Q}from"./chunk-DCK2FX6J.js";import{Fa as X}from"./chunk-WCWNI3ZV.js";import{b as Y,c as V}from"./chunk-4KRT35A2.js";import{B as q,a as S,i as K,j as U,k as b,p as C}from"./chunk-MGL4YM3S.js";import{d as M}from"./chunk-BHWEA4V2.js";import{r as ye}from"./chunk-3YWUSKWF.js";import{a as J}from"./chunk-4EXYYBQ6.js";import{eb as O,fb as l,gb as s,ib as j,jb as G,kb as H,ma as N}from"./chunk-VPL2NDH6.js";import{f as z}from"./chunk-UARVYVLN.js";import{d as I}from"./chunk-IU2ZQ6TE.js";import{e as R,g as c}from"./chunk-VPRTJUIN.js";c();c();c();c();c();var y=R(O(),1);import{Writable as oe}from"stream";function ie({selectedRun:e,abortController:t,app:o,extension:r,appWatcher:i}){let a={type:"functionRun",input:e.payload.input,output:e.payload.output,logs:e.payload.logs,name:e.source,size:0,memory_usage:0,instructions:e.payload.fuelConsumed},[u,f]=(0,y.useState)([]),[p,m]=(0,y.useState)([a,a]),[w,d]=(0,y.useState)(void 0),{input:E,export:$}=e.payload,[fe,L]=(0,y.useState)(`Watching for changes to ${e.source}...`);return(0,y.useEffect)(()=>{let A=new S;t.signal.addEventListener("abort",()=>{A.abort()});let B=async()=>{let F=await we(r,JSON.stringify(E),$);m(h=>[F,h[0]]),L(`Watching for changes to ${e.source}...`),f(h=>[...h,F])},de=async()=>{L("Replaying log with local function..."),await B()},ge=async()=>{i.onEvent(async h=>{let x=h.extensionEvents.find(v=>v.extension.handle===r.handle);if(!(!x||x.type!==ee.Updated)){if(x.buildResult?.status==="error"){d(`Error while reloading and building extension: ${x.buildResult?.error}`);return}d(void 0),L("Re-running with latest changes..."),await B()}});let F=new oe({write(h,x,v){f(he=>[...he,{type:"systemMessage",message:h.toString()}]),v()}});await i.start({stdout:F,stderr:F,signal:A.signal},!1)};return de().then(()=>{ge()}),()=>{A.abort()}},[E,$,o,r]),C(t.signal,async()=>{setTimeout(()=>{z()||J(process.pid,"SIGINT",!1,()=>{process.exit(0)})},2e3)}),{logs:u,statusMessage:fe,recentFunctionRuns:p,error:w}}async function we(e,t,o){let r="",i=new oe({write(u,f,p){r+=u,p()}});return await D({functionExtension:e,input:t,export:o,stdout:i,json:!0}),{...JSON.parse(r),type:"functionRun"}}var n=R(O(),1);var ae=({selectedRun:e,abortController:t,app:o,extension:r})=>{let{isAborted:i}=C(t.signal),{isRawModeSupported:a}=G(),u=new te(o),{logs:f,statusMessage:p,recentFunctionRuns:m,error:w}=ie({selectedRun:e,abortController:t,app:o,extension:r,appWatcher:u});return H((d,E)=>{U(d,E,()=>t.abort()),d==="q"&&t.abort()},{isActive:!!a}),n.default.createElement(n.default.Fragment,null,n.default.createElement(j,{items:f},(d,E)=>n.default.createElement(l,{key:`replayOutputScrollerLog${E}`,flexDirection:"column"},n.default.createElement(Se,{log:d}))),i?null:n.default.createElement(l,{marginY:1,paddingTop:1,flexDirection:"column",flexGrow:1,borderStyle:"single",borderBottom:!1,borderLeft:!1,borderRight:!1,borderTop:!0},a?n.default.createElement(l,{flexDirection:"column"},n.default.createElement(l,{flexDirection:"row"},n.default.createElement(s,null,b.pointerSmall," ",p)),n.default.createElement(Re,{recentFunctionRuns:m}),n.default.createElement(s,null,b.pointerSmall," Press ",n.default.createElement(s,{bold:!0},"q")," ",b.lineVertical," quit")):null,w?n.default.createElement(s,{color:"red"},w):null))};function k({title:e,backgroundColor:t}){let o=Math.max(Math.round((28-e.length)/2),0),r=" ".repeat(o);return n.default.createElement(s,{backgroundColor:t,color:"black"},`
1
+ import{a as D}from"./chunk-NWXDOCL5.js";import{b as ne,c as re}from"./chunk-7572RLUP.js";import{c as ee,d as te}from"./chunk-PMS4MNHB.js";import{A as T}from"./chunk-25HJX3L2.js";import{a as Z}from"./chunk-EKVTNWHM.js";import{a as Q}from"./chunk-5BKCIDMS.js";import{Fa as X}from"./chunk-4QTEPWEJ.js";import{b as Y,c as V}from"./chunk-OXJBYKMX.js";import{B as q,a as S,i as K,j as U,k as b,p as C}from"./chunk-NTRAWIEJ.js";import{d as M}from"./chunk-TPCG6DCA.js";import{r as ye}from"./chunk-T6CC5WUU.js";import{a as J}from"./chunk-3SPDFV5D.js";import{eb as O,fb as l,gb as s,ib as j,jb as G,kb as H,ma as N}from"./chunk-7FQFEB33.js";import{f as z}from"./chunk-S5IFJ737.js";import{d as I}from"./chunk-773TIA5M.js";import{e as R,g as c}from"./chunk-VKWPEFWQ.js";c();c();c();c();c();var y=R(O(),1);import{Writable as oe}from"stream";function ie({selectedRun:e,abortController:t,app:o,extension:r,appWatcher:i}){let a={type:"functionRun",input:e.payload.input,output:e.payload.output,logs:e.payload.logs,name:e.source,size:0,memory_usage:0,instructions:e.payload.fuelConsumed},[u,f]=(0,y.useState)([]),[p,m]=(0,y.useState)([a,a]),[w,d]=(0,y.useState)(void 0),{input:E,export:$}=e.payload,[fe,L]=(0,y.useState)(`Watching for changes to ${e.source}...`);return(0,y.useEffect)(()=>{let A=new S;t.signal.addEventListener("abort",()=>{A.abort()});let B=async()=>{let F=await we(r,JSON.stringify(E),$);m(h=>[F,h[0]]),L(`Watching for changes to ${e.source}...`),f(h=>[...h,F])},de=async()=>{L("Replaying log with local function..."),await B()},ge=async()=>{i.onEvent(async h=>{let x=h.extensionEvents.find(v=>v.extension.handle===r.handle);if(!(!x||x.type!==ee.Updated)){if(x.buildResult?.status==="error"){d(`Error while reloading and building extension: ${x.buildResult?.error}`);return}d(void 0),L("Re-running with latest changes..."),await B()}});let F=new oe({write(h,x,v){f(he=>[...he,{type:"systemMessage",message:h.toString()}]),v()}});await i.start({stdout:F,stderr:F,signal:A.signal},!1)};return de().then(()=>{ge()}),()=>{A.abort()}},[E,$,o,r]),C(t.signal,async()=>{setTimeout(()=>{z()||J(process.pid,"SIGINT",!1,()=>{process.exit(0)})},2e3)}),{logs:u,statusMessage:fe,recentFunctionRuns:p,error:w}}async function we(e,t,o){let r="",i=new oe({write(u,f,p){r+=u,p()}});return await D({functionExtension:e,input:t,export:o,stdout:i,json:!0}),{...JSON.parse(r),type:"functionRun"}}var n=R(O(),1);var ae=({selectedRun:e,abortController:t,app:o,extension:r})=>{let{isAborted:i}=C(t.signal),{isRawModeSupported:a}=G(),u=new te(o),{logs:f,statusMessage:p,recentFunctionRuns:m,error:w}=ie({selectedRun:e,abortController:t,app:o,extension:r,appWatcher:u});return H((d,E)=>{U(d,E,()=>t.abort()),d==="q"&&t.abort()},{isActive:!!a}),n.default.createElement(n.default.Fragment,null,n.default.createElement(j,{items:f},(d,E)=>n.default.createElement(l,{key:`replayOutputScrollerLog${E}`,flexDirection:"column"},n.default.createElement(Se,{log:d}))),i?null:n.default.createElement(l,{marginY:1,paddingTop:1,flexDirection:"column",flexGrow:1,borderStyle:"single",borderBottom:!1,borderLeft:!1,borderRight:!1,borderTop:!0},a?n.default.createElement(l,{flexDirection:"column"},n.default.createElement(l,{flexDirection:"row"},n.default.createElement(s,null,b.pointerSmall," ",p)),n.default.createElement(Re,{recentFunctionRuns:m}),n.default.createElement(s,null,b.pointerSmall," Press ",n.default.createElement(s,{bold:!0},"q")," ",b.lineVertical," quit")):null,w?n.default.createElement(s,{color:"red"},w):null))};function k({title:e,backgroundColor:t}){let o=Math.max(Math.round((28-e.length)/2),0),r=" ".repeat(o);return n.default.createElement(s,{backgroundColor:t,color:"black"},`
2
2
 
3
3
  `,r,e,r,`
4
4
  `)}function Ee({input:e}){return n.default.createElement(l,{flexDirection:"column"},n.default.createElement(k,{title:"Input",backgroundColor:"yellow"}),n.default.createElement(s,null,T(e)))}function Fe({logs:e}){return n.default.createElement(l,{flexDirection:"column"},n.default.createElement(k,{title:"Logs",backgroundColor:"blueBright"}),n.default.createElement(s,null,e))}function xe({output:e}){return n.default.createElement(l,{flexDirection:"column"},n.default.createElement(k,{title:"Output",backgroundColor:"greenBright"}),n.default.createElement(s,null,T(e)))}function be({functionRun:e}){return n.default.createElement(l,{flexDirection:"column"},n.default.createElement(k,{title:"Benchmark Results",backgroundColor:"green"}),n.default.createElement(s,null,"Name: ",e.name),n.default.createElement(s,null,"Linear Memory Usage: ",e.memory_usage,"KB"),n.default.createElement(s,null,"Instructions: ",e.instructions/1e3,"K"),n.default.createElement(s,null,"Size: ",e.size,"KB"))}function Re({recentFunctionRuns:e}){let t=e[0].instructions-e[1].instructions;return n.default.createElement(l,{flexDirection:"column"},n.default.createElement(s,null,b.pointerSmall," Instruction count change: ",t>0?"+":"",t))}function Se({log:e}){switch(e.type){case"functionRun":return n.default.createElement(l,{flexDirection:"column"},n.default.createElement(Ee,{input:e.input}),n.default.createElement(Fe,{logs:e.logs}),n.default.createElement(xe,{output:e.output}),n.default.createElement(be,{functionRun:e}),n.default.createElement(s,null,"\xA0"));case"systemMessage":return n.default.createElement(s,null,e.message);default:return null}}var se=R(O(),1);async function ce({selectedRun:e,abortController:t,app:o,extension:r}){return K(se.default.createElement(ae,{selectedRun:e,abortController:t,app:o,extension:r}),{exitOnCtrlC:!1})}c();async function le(e){if(e.length===0)return;let t=i=>({label:`${i.logTimestamp} (${i.status}) - ${i.identifier}`,value:i}),o=e.map(t);return await q({message:"Which function run would you like to replay locally?",choices:o})}import{existsSync as Ce,readdirSync as De}from"fs";var _=100;async function ue(e){let{watch:t,extension:o,app:r}=e,i=new S;try{let a=r.getLogsDir(),u=e.log?await ke(a,o.handle,e.log):await Ae(a,o.handle),{input:f,export:p}=u.payload;t?await ce({selectedRun:u,abortController:i,app:r,extension:o}):await D({functionExtension:o,json:e.json,input:JSON.stringify(f),export:p})}catch(a){throw i.abort(),a}}async function ke(e,t,o){let r=await Le(e,t,o);if(r===void 0)throw new M(`No log found for '${o}'.
@@ -1 +1 @@
1
- import{h as l}from"./chunk-MZJRNFAU.js";import{O as c}from"./chunk-4V4DQ6W7.js";import{d as u}from"./chunk-BHWEA4V2.js";import{g as i}from"./chunk-VPRTJUIN.js";i();var s=["live","unpublished","development"];async function A(e,r){let t=await c(e,r);return p(t)}async function p(e){let r=e.storeFqdn,t=(await l(e)).filter(d);if(t.length===0)throw new u(`There are no themes in the ${r} store`);return t.sort(w)}function d(e){return s.includes(e.role)}function w(e,r){return s.indexOf(e.role)-s.indexOf(r.role)}i();function E(e,r,t){return y(e,r,t)??T(e,r,t)}function y(e,r,t){let o=t.role;if(!o)return;let n=`No themes on the store ${e} match the role "${o}"`;return m(r,h=>h.role===o).orThrow(n)}function T(e,r,t){return t.themeIdentifiers.flatMap(n=>{let h=`No themes on the store ${e} match the ID or name "${n}"`;return m(r,f=>`${f.id}`===n||f.name.toLowerCase()===n.toLowerCase()?!0:L(f.name.toLowerCase(),n.toLowerCase())).orThrow(h)})}function m(e,r){let t=e.filter(r);return t.length>0?{orThrow:o=>t}:{orThrow:o=>{throw new u(o)}}}var a=class{constructor(r){this.queryProps=r}get role(){for(let r of s)if(this.queryProps[r])return r}get themeIdentifiers(){return[this.queryProps.theme,this.queryProps.themes].flat().filter(t=>!!t)}any(){return Object.values(this.queryProps).some(r=>r?.length!==void 0?r.length>0:!!r)}};function L(e,r){let t=r.replace(/(^\*)|(\*$)/g,"");return r.startsWith("*")&&r.endsWith("*")?e.includes(t):r.startsWith("*")?e.endsWith(t):r.endsWith("*")?e.startsWith(t):!1}export{s as a,A as b,p as c,E as d,a as e};
1
+ import{h as l}from"./chunk-5XDQ76DQ.js";import{O as c}from"./chunk-G4OQABDT.js";import{d as u}from"./chunk-TPCG6DCA.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();var s=["live","unpublished","development"];async function A(e,r){let t=await c(e,r);return p(t)}async function p(e){let r=e.storeFqdn,t=(await l(e)).filter(d);if(t.length===0)throw new u(`There are no themes in the ${r} store`);return t.sort(w)}function d(e){return s.includes(e.role)}function w(e,r){return s.indexOf(e.role)-s.indexOf(r.role)}i();function E(e,r,t){return y(e,r,t)??T(e,r,t)}function y(e,r,t){let o=t.role;if(!o)return;let n=`No themes on the store ${e} match the role "${o}"`;return m(r,h=>h.role===o).orThrow(n)}function T(e,r,t){return t.themeIdentifiers.flatMap(n=>{let h=`No themes on the store ${e} match the ID or name "${n}"`;return m(r,f=>`${f.id}`===n||f.name.toLowerCase()===n.toLowerCase()?!0:L(f.name.toLowerCase(),n.toLowerCase())).orThrow(h)})}function m(e,r){let t=e.filter(r);return t.length>0?{orThrow:o=>t}:{orThrow:o=>{throw new u(o)}}}var a=class{constructor(r){this.queryProps=r}get role(){for(let r of s)if(this.queryProps[r])return r}get themeIdentifiers(){return[this.queryProps.theme,this.queryProps.themes].flat().filter(t=>!!t)}any(){return Object.values(this.queryProps).some(r=>r?.length!==void 0?r.length>0:!!r)}};function L(e,r){let t=r.replace(/(^\*)|(\*$)/g,"");return r.startsWith("*")&&r.endsWith("*")?e.includes(t):r.startsWith("*")?e.endsWith(t):r.endsWith("*")?e.startsWith(t):!1}export{s as a,A as b,p as c,E as d,a as e};
@@ -0,0 +1,3 @@
1
+ import{n as u}from"./chunk-G4OQABDT.js";import{b as g}from"./chunk-OXJBYKMX.js";import{b as y}from"./chunk-HOSFU6UP.js";import{d as r}from"./chunk-TPCG6DCA.js";import{r as R}from"./chunk-T6CC5WUU.js";import{Lb as v,Mb as w,ua as l,wa as m}from"./chunk-7FQFEB33.js";import{f as p,i as h}from"./chunk-773TIA5M.js";import{e as A,g as s}from"./chunk-VKWPEFWQ.js";s();s();var U="text/markdown",L="X-Shopify-Surface",E="cli",F=["shopify.dev"];async function S(t,e){let c;try{c=new URL(t)}catch{throw new r(`Invalid URL: ${t}`)}let{hostname:d}=c;if(!F.some(o=>d===o||d.endsWith(`.${o}`)))throw new r(`Only documents from the following hosts can be fetched: ${F.join(", ")}.`);let i=await u(t,{headers:{Accept:U,[L]:E}});if(!i.ok)throw new r(`Failed to fetch ${t}: ${i.status} ${i.statusText}`);let f=await i.text();if(e){let o=p(e);await m(h(o)),await l(o,f),w(`Saved ${t} to ${o}`);return}v(f)}var n=A(R(),1),a=class t extends y{static{this.description="Download a complete document from shopify.dev. Every page on shopify.dev has a Markdown version, and that is what this tool returns. Use this to pull an entire document verbatim \u2014 for example, a set of instructions an agent follows like a centrally-served skill. For finding the relevant pieces of content across shopify.dev instead, use `doc search`."}static{this.examples=[`# fetch the Markdown version of a Shopify.dev page
2
+ shopify doc fetch --url https://shopify.dev/docs/api/shopify-cli`,`# save the document to a file instead of printing it
3
+ shopify doc fetch --url https://shopify.dev/docs/api/shopify-cli --output docs/shopify-cli.md`]}static{this.flags={...g,url:n.Flags.string({description:"The shopify.dev URL to fetch.",env:"SHOPIFY_FLAG_URL",required:!0}),output:n.Flags.string({description:"Write the document to this file path instead of printing it to stdout.",env:"SHOPIFY_FLAG_OUTPUT"})}}async run(){let{flags:e}=await this.parse(t);await S(e.url,e.output)}};export{a};
@@ -1 +1 @@
1
- import{g as t}from"./chunk-VPRTJUIN.js";t();t();var l={ez:"application/andrew-inset",aw:"application/applixware",atom:"application/atom+xml",atomcat:"application/atomcat+xml",atomdeleted:"application/atomdeleted+xml",atomsvc:"application/atomsvc+xml",dwd:"application/atsc-dwd+xml",held:"application/atsc-held+xml",rsat:"application/atsc-rsat+xml",bdoc:"application/bdoc",xcs:"application/calendar+xml",ccxml:"application/ccxml+xml",cdfx:"application/cdfx+xml",cdmia:"application/cdmi-capability",cdmic:"application/cdmi-container",cdmid:"application/cdmi-domain",cdmio:"application/cdmi-object",cdmiq:"application/cdmi-queue",cu:"application/cu-seeme",mpd:"application/dash+xml",davmount:"application/davmount+xml",dbk:"application/docbook+xml",dssc:"application/dssc+der",xdssc:"application/dssc+xml",es:"application/ecmascript",ecma:"application/ecmascript",emma:"application/emma+xml",emotionml:"application/emotionml+xml",epub:"application/epub+zip",exi:"application/exi",fdt:"application/fdt+xml",pfr:"application/font-tdpfr",geojson:"application/geo+json",gml:"application/gml+xml",gpx:"application/gpx+xml",gxf:"application/gxf",gz:"application/gzip",hjson:"application/hjson",stk:"application/hyperstudio",ink:"application/inkml+xml",inkml:"application/inkml+xml",ipfix:"application/ipfix",its:"application/its+xml",jar:"application/java-archive",war:"application/java-archive",ear:"application/java-archive",ser:"application/java-serialized-object",class:"application/java-vm",js:"application/javascript",mjs:"application/javascript",json:"application/json",map:"application/json",json5:"application/json5",jsonml:"application/jsonml+json",jsonld:"application/ld+json",lgr:"application/lgr+xml",lostxml:"application/lost+xml",hqx:"application/mac-binhex40",cpt:"application/mac-compactpro",mads:"application/mads+xml",webmanifest:"application/manifest+json",mrc:"application/marc",mrcx:"application/marcxml+xml",ma:"application/mathematica",nb:"application/mathematica",mb:"application/mathematica",mathml:"application/mathml+xml",mbox:"application/mbox",mscml:"application/mediaservercontrol+xml",metalink:"application/metalink+xml",meta4:"application/metalink4+xml",mets:"application/mets+xml",maei:"application/mmt-aei+xml",musd:"application/mmt-usd+xml",mods:"application/mods+xml",m21:"application/mp21",mp21:"application/mp21",mp4s:"application/mp4",m4p:"application/mp4",doc:"application/msword",dot:"application/msword",mxf:"application/mxf",nq:"application/n-quads",nt:"application/n-triples",cjs:"application/node",bin:"application/octet-stream",dms:"application/octet-stream",lrf:"application/octet-stream",mar:"application/octet-stream",so:"application/octet-stream",dist:"application/octet-stream",distz:"application/octet-stream",pkg:"application/octet-stream",bpk:"application/octet-stream",dump:"application/octet-stream",elc:"application/octet-stream",deploy:"application/octet-stream",exe:"application/octet-stream",dll:"application/octet-stream",deb:"application/octet-stream",dmg:"application/octet-stream",iso:"application/octet-stream",img:"application/octet-stream",msi:"application/octet-stream",msp:"application/octet-stream",msm:"application/octet-stream",buffer:"application/octet-stream",oda:"application/oda",opf:"application/oebps-package+xml",ogx:"application/ogg",omdoc:"application/omdoc+xml",onetoc:"application/onenote",onetoc2:"application/onenote",onetmp:"application/onenote",onepkg:"application/onenote",oxps:"application/oxps",relo:"application/p2p-overlay+xml",xer:"application/patch-ops-error+xml",pdf:"application/pdf",pgp:"application/pgp-encrypted",asc:"application/pgp-signature",sig:"application/pgp-signature",prf:"application/pics-rules",p10:"application/pkcs10",p7m:"application/pkcs7-mime",p7c:"application/pkcs7-mime",p7s:"application/pkcs7-signature",p8:"application/pkcs8",ac:"application/pkix-attr-cert",cer:"application/pkix-cert",crl:"application/pkix-crl",pkipath:"application/pkix-pkipath",pki:"application/pkixcmp",pls:"application/pls+xml",ai:"application/postscript",eps:"application/postscript",ps:"application/postscript",provx:"application/provenance+xml",cww:"application/prs.cww",pskcxml:"application/pskc+xml",raml:"application/raml+yaml",rdf:"application/rdf+xml",owl:"application/rdf+xml",rif:"application/reginfo+xml",rnc:"application/relax-ng-compact-syntax",rl:"application/resource-lists+xml",rld:"application/resource-lists-diff+xml",rs:"application/rls-services+xml",rapd:"application/route-apd+xml",sls:"application/route-s-tsid+xml",rusd:"application/route-usd+xml",gbr:"application/rpki-ghostbusters",mft:"application/rpki-manifest",roa:"application/rpki-roa",rsd:"application/rsd+xml",rss:"application/rss+xml",rtf:"application/rtf",sbml:"application/sbml+xml",scq:"application/scvp-cv-request",scs:"application/scvp-cv-response",spq:"application/scvp-vp-request",spp:"application/scvp-vp-response",sdp:"application/sdp",senmlx:"application/senml+xml",sensmlx:"application/sensml+xml",setpay:"application/set-payment-initiation",setreg:"application/set-registration-initiation",shf:"application/shf+xml",siv:"application/sieve",sieve:"application/sieve",smi:"application/smil+xml",smil:"application/smil+xml",rq:"application/sparql-query",srx:"application/sparql-results+xml",gram:"application/srgs",grxml:"application/srgs+xml",sru:"application/sru+xml",ssdl:"application/ssdl+xml",ssml:"application/ssml+xml",swidtag:"application/swid+xml",tei:"application/tei+xml",teicorpus:"application/tei+xml",tfi:"application/thraud+xml",tsd:"application/timestamped-data",toml:"application/toml",trig:"application/trig",ttml:"application/ttml+xml",ubj:"application/ubjson",rsheet:"application/urc-ressheet+xml",td:"application/urc-targetdesc+xml",vxml:"application/voicexml+xml",wasm:"application/wasm",wgt:"application/widget",hlp:"application/winhlp",wsdl:"application/wsdl+xml",wspolicy:"application/wspolicy+xml",xaml:"application/xaml+xml",xav:"application/xcap-att+xml",xca:"application/xcap-caps+xml",xdf:"application/xcap-diff+xml",xel:"application/xcap-el+xml",xns:"application/xcap-ns+xml",xenc:"application/xenc+xml",xhtml:"application/xhtml+xml",xht:"application/xhtml+xml",xlf:"application/xliff+xml",xml:"application/xml",xsl:"application/xml",xsd:"application/xml",rng:"application/xml",dtd:"application/xml-dtd",xop:"application/xop+xml",xpl:"application/xproc+xml",xslt:"application/xml",xspf:"application/xspf+xml",mxml:"application/xv+xml",xhvml:"application/xv+xml",xvml:"application/xv+xml",xvm:"application/xv+xml",yang:"application/yang",yin:"application/yin+xml",zip:"application/zip","3gpp":"video/3gpp",adp:"audio/adpcm",amr:"audio/amr",au:"audio/basic",snd:"audio/basic",mid:"audio/midi",midi:"audio/midi",kar:"audio/midi",rmi:"audio/midi",mxmf:"audio/mobile-xmf",mp3:"audio/mpeg",m4a:"audio/mp4",mp4a:"audio/mp4",mpga:"audio/mpeg",mp2:"audio/mpeg",mp2a:"audio/mpeg",m2a:"audio/mpeg",m3a:"audio/mpeg",oga:"audio/ogg",ogg:"audio/ogg",spx:"audio/ogg",opus:"audio/ogg",s3m:"audio/s3m",sil:"audio/silk",wav:"audio/wav",weba:"audio/webm",xm:"audio/xm",ttc:"font/collection",otf:"font/otf",ttf:"font/ttf",woff:"font/woff",woff2:"font/woff2",exr:"image/aces",apng:"image/apng",avif:"image/avif",bmp:"image/bmp",cgm:"image/cgm",drle:"image/dicom-rle",emf:"image/emf",fits:"image/fits",g3:"image/g3fax",gif:"image/gif",heic:"image/heic",heics:"image/heic-sequence",heif:"image/heif",heifs:"image/heif-sequence",hej2:"image/hej2k",hsj2:"image/hsj2",ief:"image/ief",jls:"image/jls",jp2:"image/jp2",jpg2:"image/jp2",jpeg:"image/jpeg",jpg:"image/jpeg",jpe:"image/jpeg",jph:"image/jph",jhc:"image/jphc",jpm:"image/jpm",jpx:"image/jpx",jpf:"image/jpx",jxr:"image/jxr",jxra:"image/jxra",jxrs:"image/jxrs",jxs:"image/jxs",jxsc:"image/jxsc",jxsi:"image/jxsi",jxss:"image/jxss",ktx:"image/ktx",ktx2:"image/ktx2",png:"image/png",btif:"image/prs.btif",pti:"image/prs.pti",sgi:"image/sgi",svg:"image/svg+xml",svgz:"image/svg+xml",t38:"image/t38",tif:"image/tiff",tiff:"image/tiff",tfx:"image/tiff-fx",webp:"image/webp",wmf:"image/wmf","disposition-notification":"message/disposition-notification",u8msg:"message/global",u8dsn:"message/global-delivery-status",u8mdn:"message/global-disposition-notification",u8hdr:"message/global-headers",eml:"message/rfc822",mime:"message/rfc822","3mf":"model/3mf",gltf:"model/gltf+json",glb:"model/gltf-binary",igs:"model/iges",iges:"model/iges",msh:"model/mesh",mesh:"model/mesh",silo:"model/mesh",mtl:"model/mtl",obj:"model/obj",stpz:"model/step+zip",stpxz:"model/step-xml+zip",stl:"model/stl",wrl:"model/vrml",vrml:"model/vrml",x3db:"model/x3d+fastinfoset",x3dbz:"model/x3d+binary",x3dv:"model/x3d-vrml",x3dvz:"model/x3d+vrml",x3d:"model/x3d+xml",x3dz:"model/x3d+xml",appcache:"text/cache-manifest",manifest:"text/cache-manifest",ics:"text/calendar",ifb:"text/calendar",coffee:"text/coffeescript",litcoffee:"text/coffeescript",css:"text/css",csv:"text/csv",html:"text/html",htm:"text/html",shtml:"text/html",jade:"text/jade",jsx:"text/jsx",less:"text/less",markdown:"text/markdown",md:"text/markdown",mml:"text/mathml",mdx:"text/mdx",n3:"text/n3",txt:"text/plain",text:"text/plain",conf:"text/plain",def:"text/plain",list:"text/plain",log:"text/plain",in:"text/plain",ini:"text/plain",dsc:"text/prs.lines.tag",rtx:"text/richtext",sgml:"text/sgml",sgm:"text/sgml",shex:"text/shex",slim:"text/slim",slm:"text/slim",spdx:"text/spdx",stylus:"text/stylus",styl:"text/stylus",tsv:"text/tab-separated-values",t:"text/troff",tr:"text/troff",roff:"text/troff",man:"text/troff",me:"text/troff",ms:"text/troff",ttl:"text/turtle",uri:"text/uri-list",uris:"text/uri-list",urls:"text/uri-list",vcard:"text/vcard",vtt:"text/vtt",yaml:"text/yaml",yml:"text/yaml","3gp":"video/3gpp","3g2":"video/3gpp2",h261:"video/h261",h263:"video/h263",h264:"video/h264",m4s:"video/iso.segment",jpgv:"video/jpeg",jpgm:"image/jpm",mj2:"video/mj2",mjp2:"video/mj2",ts:"video/mp2t",mp4:"video/mp4",mp4v:"video/mp4",mpg4:"video/mp4",mpeg:"video/mpeg",mpg:"video/mpeg",mpe:"video/mpeg",m1v:"video/mpeg",m2v:"video/mpeg",ogv:"video/ogg",qt:"video/quicktime",mov:"video/quicktime",webm:"video/webm"};function o(i){let a=(""+i).trim().toLowerCase(),p=a.lastIndexOf(".");return l[~p?a.substring(++p):a]}function s(i){return o(i)??"application/octet-stream"}function n(i){Object.entries(i).forEach(([a,p])=>{l[a]=p})}export{s as a,n as b};
1
+ import{g as t}from"./chunk-VKWPEFWQ.js";t();t();var l={ez:"application/andrew-inset",aw:"application/applixware",atom:"application/atom+xml",atomcat:"application/atomcat+xml",atomdeleted:"application/atomdeleted+xml",atomsvc:"application/atomsvc+xml",dwd:"application/atsc-dwd+xml",held:"application/atsc-held+xml",rsat:"application/atsc-rsat+xml",bdoc:"application/bdoc",xcs:"application/calendar+xml",ccxml:"application/ccxml+xml",cdfx:"application/cdfx+xml",cdmia:"application/cdmi-capability",cdmic:"application/cdmi-container",cdmid:"application/cdmi-domain",cdmio:"application/cdmi-object",cdmiq:"application/cdmi-queue",cu:"application/cu-seeme",mpd:"application/dash+xml",davmount:"application/davmount+xml",dbk:"application/docbook+xml",dssc:"application/dssc+der",xdssc:"application/dssc+xml",es:"application/ecmascript",ecma:"application/ecmascript",emma:"application/emma+xml",emotionml:"application/emotionml+xml",epub:"application/epub+zip",exi:"application/exi",fdt:"application/fdt+xml",pfr:"application/font-tdpfr",geojson:"application/geo+json",gml:"application/gml+xml",gpx:"application/gpx+xml",gxf:"application/gxf",gz:"application/gzip",hjson:"application/hjson",stk:"application/hyperstudio",ink:"application/inkml+xml",inkml:"application/inkml+xml",ipfix:"application/ipfix",its:"application/its+xml",jar:"application/java-archive",war:"application/java-archive",ear:"application/java-archive",ser:"application/java-serialized-object",class:"application/java-vm",js:"application/javascript",mjs:"application/javascript",json:"application/json",map:"application/json",json5:"application/json5",jsonml:"application/jsonml+json",jsonld:"application/ld+json",lgr:"application/lgr+xml",lostxml:"application/lost+xml",hqx:"application/mac-binhex40",cpt:"application/mac-compactpro",mads:"application/mads+xml",webmanifest:"application/manifest+json",mrc:"application/marc",mrcx:"application/marcxml+xml",ma:"application/mathematica",nb:"application/mathematica",mb:"application/mathematica",mathml:"application/mathml+xml",mbox:"application/mbox",mscml:"application/mediaservercontrol+xml",metalink:"application/metalink+xml",meta4:"application/metalink4+xml",mets:"application/mets+xml",maei:"application/mmt-aei+xml",musd:"application/mmt-usd+xml",mods:"application/mods+xml",m21:"application/mp21",mp21:"application/mp21",mp4s:"application/mp4",m4p:"application/mp4",doc:"application/msword",dot:"application/msword",mxf:"application/mxf",nq:"application/n-quads",nt:"application/n-triples",cjs:"application/node",bin:"application/octet-stream",dms:"application/octet-stream",lrf:"application/octet-stream",mar:"application/octet-stream",so:"application/octet-stream",dist:"application/octet-stream",distz:"application/octet-stream",pkg:"application/octet-stream",bpk:"application/octet-stream",dump:"application/octet-stream",elc:"application/octet-stream",deploy:"application/octet-stream",exe:"application/octet-stream",dll:"application/octet-stream",deb:"application/octet-stream",dmg:"application/octet-stream",iso:"application/octet-stream",img:"application/octet-stream",msi:"application/octet-stream",msp:"application/octet-stream",msm:"application/octet-stream",buffer:"application/octet-stream",oda:"application/oda",opf:"application/oebps-package+xml",ogx:"application/ogg",omdoc:"application/omdoc+xml",onetoc:"application/onenote",onetoc2:"application/onenote",onetmp:"application/onenote",onepkg:"application/onenote",oxps:"application/oxps",relo:"application/p2p-overlay+xml",xer:"application/patch-ops-error+xml",pdf:"application/pdf",pgp:"application/pgp-encrypted",asc:"application/pgp-signature",sig:"application/pgp-signature",prf:"application/pics-rules",p10:"application/pkcs10",p7m:"application/pkcs7-mime",p7c:"application/pkcs7-mime",p7s:"application/pkcs7-signature",p8:"application/pkcs8",ac:"application/pkix-attr-cert",cer:"application/pkix-cert",crl:"application/pkix-crl",pkipath:"application/pkix-pkipath",pki:"application/pkixcmp",pls:"application/pls+xml",ai:"application/postscript",eps:"application/postscript",ps:"application/postscript",provx:"application/provenance+xml",cww:"application/prs.cww",pskcxml:"application/pskc+xml",raml:"application/raml+yaml",rdf:"application/rdf+xml",owl:"application/rdf+xml",rif:"application/reginfo+xml",rnc:"application/relax-ng-compact-syntax",rl:"application/resource-lists+xml",rld:"application/resource-lists-diff+xml",rs:"application/rls-services+xml",rapd:"application/route-apd+xml",sls:"application/route-s-tsid+xml",rusd:"application/route-usd+xml",gbr:"application/rpki-ghostbusters",mft:"application/rpki-manifest",roa:"application/rpki-roa",rsd:"application/rsd+xml",rss:"application/rss+xml",rtf:"application/rtf",sbml:"application/sbml+xml",scq:"application/scvp-cv-request",scs:"application/scvp-cv-response",spq:"application/scvp-vp-request",spp:"application/scvp-vp-response",sdp:"application/sdp",senmlx:"application/senml+xml",sensmlx:"application/sensml+xml",setpay:"application/set-payment-initiation",setreg:"application/set-registration-initiation",shf:"application/shf+xml",siv:"application/sieve",sieve:"application/sieve",smi:"application/smil+xml",smil:"application/smil+xml",rq:"application/sparql-query",srx:"application/sparql-results+xml",gram:"application/srgs",grxml:"application/srgs+xml",sru:"application/sru+xml",ssdl:"application/ssdl+xml",ssml:"application/ssml+xml",swidtag:"application/swid+xml",tei:"application/tei+xml",teicorpus:"application/tei+xml",tfi:"application/thraud+xml",tsd:"application/timestamped-data",toml:"application/toml",trig:"application/trig",ttml:"application/ttml+xml",ubj:"application/ubjson",rsheet:"application/urc-ressheet+xml",td:"application/urc-targetdesc+xml",vxml:"application/voicexml+xml",wasm:"application/wasm",wgt:"application/widget",hlp:"application/winhlp",wsdl:"application/wsdl+xml",wspolicy:"application/wspolicy+xml",xaml:"application/xaml+xml",xav:"application/xcap-att+xml",xca:"application/xcap-caps+xml",xdf:"application/xcap-diff+xml",xel:"application/xcap-el+xml",xns:"application/xcap-ns+xml",xenc:"application/xenc+xml",xhtml:"application/xhtml+xml",xht:"application/xhtml+xml",xlf:"application/xliff+xml",xml:"application/xml",xsl:"application/xml",xsd:"application/xml",rng:"application/xml",dtd:"application/xml-dtd",xop:"application/xop+xml",xpl:"application/xproc+xml",xslt:"application/xml",xspf:"application/xspf+xml",mxml:"application/xv+xml",xhvml:"application/xv+xml",xvml:"application/xv+xml",xvm:"application/xv+xml",yang:"application/yang",yin:"application/yin+xml",zip:"application/zip","3gpp":"video/3gpp",adp:"audio/adpcm",amr:"audio/amr",au:"audio/basic",snd:"audio/basic",mid:"audio/midi",midi:"audio/midi",kar:"audio/midi",rmi:"audio/midi",mxmf:"audio/mobile-xmf",mp3:"audio/mpeg",m4a:"audio/mp4",mp4a:"audio/mp4",mpga:"audio/mpeg",mp2:"audio/mpeg",mp2a:"audio/mpeg",m2a:"audio/mpeg",m3a:"audio/mpeg",oga:"audio/ogg",ogg:"audio/ogg",spx:"audio/ogg",opus:"audio/ogg",s3m:"audio/s3m",sil:"audio/silk",wav:"audio/wav",weba:"audio/webm",xm:"audio/xm",ttc:"font/collection",otf:"font/otf",ttf:"font/ttf",woff:"font/woff",woff2:"font/woff2",exr:"image/aces",apng:"image/apng",avif:"image/avif",bmp:"image/bmp",cgm:"image/cgm",drle:"image/dicom-rle",emf:"image/emf",fits:"image/fits",g3:"image/g3fax",gif:"image/gif",heic:"image/heic",heics:"image/heic-sequence",heif:"image/heif",heifs:"image/heif-sequence",hej2:"image/hej2k",hsj2:"image/hsj2",ief:"image/ief",jls:"image/jls",jp2:"image/jp2",jpg2:"image/jp2",jpeg:"image/jpeg",jpg:"image/jpeg",jpe:"image/jpeg",jph:"image/jph",jhc:"image/jphc",jpm:"image/jpm",jpx:"image/jpx",jpf:"image/jpx",jxr:"image/jxr",jxra:"image/jxra",jxrs:"image/jxrs",jxs:"image/jxs",jxsc:"image/jxsc",jxsi:"image/jxsi",jxss:"image/jxss",ktx:"image/ktx",ktx2:"image/ktx2",png:"image/png",btif:"image/prs.btif",pti:"image/prs.pti",sgi:"image/sgi",svg:"image/svg+xml",svgz:"image/svg+xml",t38:"image/t38",tif:"image/tiff",tiff:"image/tiff",tfx:"image/tiff-fx",webp:"image/webp",wmf:"image/wmf","disposition-notification":"message/disposition-notification",u8msg:"message/global",u8dsn:"message/global-delivery-status",u8mdn:"message/global-disposition-notification",u8hdr:"message/global-headers",eml:"message/rfc822",mime:"message/rfc822","3mf":"model/3mf",gltf:"model/gltf+json",glb:"model/gltf-binary",igs:"model/iges",iges:"model/iges",msh:"model/mesh",mesh:"model/mesh",silo:"model/mesh",mtl:"model/mtl",obj:"model/obj",stpz:"model/step+zip",stpxz:"model/step-xml+zip",stl:"model/stl",wrl:"model/vrml",vrml:"model/vrml",x3db:"model/x3d+fastinfoset",x3dbz:"model/x3d+binary",x3dv:"model/x3d-vrml",x3dvz:"model/x3d+vrml",x3d:"model/x3d+xml",x3dz:"model/x3d+xml",appcache:"text/cache-manifest",manifest:"text/cache-manifest",ics:"text/calendar",ifb:"text/calendar",coffee:"text/coffeescript",litcoffee:"text/coffeescript",css:"text/css",csv:"text/csv",html:"text/html",htm:"text/html",shtml:"text/html",jade:"text/jade",jsx:"text/jsx",less:"text/less",markdown:"text/markdown",md:"text/markdown",mml:"text/mathml",mdx:"text/mdx",n3:"text/n3",txt:"text/plain",text:"text/plain",conf:"text/plain",def:"text/plain",list:"text/plain",log:"text/plain",in:"text/plain",ini:"text/plain",dsc:"text/prs.lines.tag",rtx:"text/richtext",sgml:"text/sgml",sgm:"text/sgml",shex:"text/shex",slim:"text/slim",slm:"text/slim",spdx:"text/spdx",stylus:"text/stylus",styl:"text/stylus",tsv:"text/tab-separated-values",t:"text/troff",tr:"text/troff",roff:"text/troff",man:"text/troff",me:"text/troff",ms:"text/troff",ttl:"text/turtle",uri:"text/uri-list",uris:"text/uri-list",urls:"text/uri-list",vcard:"text/vcard",vtt:"text/vtt",yaml:"text/yaml",yml:"text/yaml","3gp":"video/3gpp","3g2":"video/3gpp2",h261:"video/h261",h263:"video/h263",h264:"video/h264",m4s:"video/iso.segment",jpgv:"video/jpeg",jpgm:"image/jpm",mj2:"video/mj2",mjp2:"video/mj2",ts:"video/mp2t",mp4:"video/mp4",mp4v:"video/mp4",mpg4:"video/mp4",mpeg:"video/mpeg",mpg:"video/mpeg",mpe:"video/mpeg",m1v:"video/mpeg",m2v:"video/mpeg",ogv:"video/ogg",qt:"video/quicktime",mov:"video/quicktime",webm:"video/webm"};function o(i){let a=(""+i).trim().toLowerCase(),p=a.lastIndexOf(".");return l[~p?a.substring(++p):a]}function s(i){return o(i)??"application/octet-stream"}function n(i){Object.entries(i).forEach(([a,p])=>{l[a]=p})}export{s as a,n as b};
@@ -1,4 +1,4 @@
1
- import{b as C}from"./chunk-A5SQCM63.js";import{b as f}from"./chunk-VEDZUOVI.js";import{A as S,u as i,y as x}from"./chunk-MGL4YM3S.js";import{d as v}from"./chunk-BHWEA4V2.js";import{Pb as I}from"./chunk-VPL2NDH6.js";import{g as a}from"./chunk-VPRTJUIN.js";a();a();a();var m={on:"Autocorrect on. The system will automatically run commands even when you mistype them.",off:"Autocorrect off. You'll need to confirm corrections for mistyped commands."};a();function p(o=W()){return!!o.get("autocorrectEnabled")}function y(o,n=W()){n.set("autocorrectEnabled",o)}function W(){return b??(b=new C({projectName:"did-you-mean"})),b}var b;var A,s=class extends f{async run(){y(!0),i({body:m.on})}};A=s;s.summary="Enable autocorrect. Off by default.";s.descriptionWithMarkdown=`Enable autocorrect. Off by default.
1
+ import{b as C}from"./chunk-N5LVGFDS.js";import{b as f}from"./chunk-HOSFU6UP.js";import{A as S,u as i,y as x}from"./chunk-NTRAWIEJ.js";import{d as v}from"./chunk-TPCG6DCA.js";import{Pb as I}from"./chunk-7FQFEB33.js";import{g as a}from"./chunk-VKWPEFWQ.js";a();a();a();var m={on:"Autocorrect on. The system will automatically run commands even when you mistype them.",off:"Autocorrect off. You'll need to confirm corrections for mistyped commands."};a();function p(o=W()){return!!o.get("autocorrectEnabled")}function y(o,n=W()){n.set("autocorrectEnabled",o)}function W(){return b??(b=new C({projectName:"did-you-mean"})),b}var b;var A,s=class extends f{async run(){y(!0),i({body:m.on})}};A=s;s.summary="Enable autocorrect. Off by default.";s.descriptionWithMarkdown=`Enable autocorrect. Off by default.
2
2
 
3
3
  When autocorrection is enabled, Shopify CLI automatically runs a corrected version of your command if a correction is available.
4
4
 
@@ -1,4 +1,4 @@
1
- import{a as h}from"./chunk-LCCMXY6N.js";import{a as v}from"./chunk-T5MK7ZSF.js";import{a as m}from"./chunk-DCK2FX6J.js";import{Fa as c}from"./chunk-WCWNI3ZV.js";import{z as n}from"./chunk-4V4DQ6W7.js";import{b as l}from"./chunk-4KRT35A2.js";import{v as d}from"./chunk-MGL4YM3S.js";import{d as a}from"./chunk-BHWEA4V2.js";import{r as x}from"./chunk-3YWUSKWF.js";import{e as S,g as p}from"./chunk-VPRTJUIN.js";p();p();async function f(o){let e=o.appContextResult.developerPlatformClient,r=o.appContextResult.remoteApp;if(!e.supportsDevSessions)throw new a("Dev preview is not supported for this app. It's valid only for apps created on the Next-Gen Dev Platform.");let s=await e.devSessionDelete({shopFqdn:o.store.shopDomain,appId:r.id});if(s.devSessionDelete?.userErrors.length){let u=s.devSessionDelete.userErrors.map(g=>g.message).join(`
1
+ import{a as h}from"./chunk-OZBY45KT.js";import{a as v}from"./chunk-EKVTNWHM.js";import{a as m}from"./chunk-5BKCIDMS.js";import{Fa as c}from"./chunk-4QTEPWEJ.js";import{z as n}from"./chunk-G4OQABDT.js";import{b as l}from"./chunk-OXJBYKMX.js";import{v as d}from"./chunk-NTRAWIEJ.js";import{d as a}from"./chunk-TPCG6DCA.js";import{r as x}from"./chunk-T6CC5WUU.js";import{e as S,g as p}from"./chunk-VKWPEFWQ.js";p();p();async function f(o){let e=o.appContextResult.developerPlatformClient,r=o.appContextResult.remoteApp;if(!e.supportsDevSessions)throw new a("Dev preview is not supported for this app. It's valid only for apps created on the Next-Gen Dev Platform.");let s=await e.devSessionDelete({shopFqdn:o.store.shopDomain,appId:r.id});if(s.devSessionDelete?.userErrors.length){let u=s.devSessionDelete.userErrors.map(g=>g.message).join(`
2
2
  `);throw new a(`Failed to stop the dev preview: ${u}`)}d({headline:"Dev preview stopped.",body:[`The dev preview has been stopped on ${o.store.shopDomain} and the app's active version has been restored.`,"You can start it again with",{command:"shopify app dev"}]})}var w=S(x(),1);var i,t=class extends v{async run(){let{flags:e}=await this.parse(i),r=await c({directory:e.path,clientId:e["client-id"],forceRelink:e.reset,userProvidedConfigName:e.config}),s=await h({appContextResult:r,storeFqdn:e.store,forceReselectStore:e.reset});return await f({appContextResult:r,store:s}),{app:r.app}}};i=t;t.summary="Cleans up the dev preview from the selected store.";t.descriptionWithMarkdown=`Stop the dev preview that was started with \`shopify app dev\`.
3
3
 
4
4
  It restores the app's active version to the selected development store.
@@ -1 +1 @@
1
- import{a as p,b as u}from"./chunk-UOQQNAHX.js";import{m as l,n as f}from"./chunk-4V4DQ6W7.js";import{d as i}from"./chunk-BHWEA4V2.js";import{Ga as m,na as c}from"./chunk-VPL2NDH6.js";import{d as a}from"./chunk-IU2ZQ6TE.js";import{g as s}from"./chunk-VPRTJUIN.js";s();import{writeFile as w}from"fs/promises";var d=1024*1024,h=100,g=h*d;async function b(o,t){let e=a(t,"manifest.json");await w(e,JSON.stringify(o,null,2))}var S=["!**/*.js.map","!**/*.metafile.json"];async function N(o,t,e){let r=e??["**/*",...S];t.endsWith(".br")?await u({inputDirectory:o,outputPath:t,matchFilePattern:r}):await p({inputDirectory:o,outputZipPath:t,matchFilePattern:r})}async function T(o,t){let e=await m(t);if(e>g){let E=`${(Math.ceil(e/d*100)/100).toFixed(2)} MB`;throw new i(`Your app bundle exceeds the ${h} MB upload limit (it is ${E}).`,"Check the asset paths in your extension configuration \u2014 a misconfigured source can pull in much more than intended. Exclude large files or directories from your bundle, then try again.")}let r=l(),n=c(t);r.append("my_upload",n),await f(o,{method:"put",body:n,headers:r.getHeaders()},"slow-request")}async function j(o,t){let e=await o.generateSignedUploadUrl(t);if(!e.assetUrl||e.userErrors?.length>0){let r=e.userErrors.map(n=>n.message).join(", ");throw new i(r)}return e.assetUrl}export{b as a,S as b,N as c,T as d,j as e};
1
+ import{a as p,b as u}from"./chunk-6LWOWDF4.js";import{m as l,n as f}from"./chunk-G4OQABDT.js";import{d as i}from"./chunk-TPCG6DCA.js";import{Ga as m,na as c}from"./chunk-7FQFEB33.js";import{d as a}from"./chunk-773TIA5M.js";import{g as s}from"./chunk-VKWPEFWQ.js";s();import{writeFile as w}from"fs/promises";var d=1024*1024,h=100,g=h*d;async function b(o,t){let e=a(t,"manifest.json");await w(e,JSON.stringify(o,null,2))}var S=["!**/*.js.map","!**/*.metafile.json"];async function N(o,t,e){let r=e??["**/*",...S];t.endsWith(".br")?await u({inputDirectory:o,outputPath:t,matchFilePattern:r}):await p({inputDirectory:o,outputZipPath:t,matchFilePattern:r})}async function T(o,t){let e=await m(t);if(e>g){let E=`${(Math.ceil(e/d*100)/100).toFixed(2)} MB`;throw new i(`Your app bundle exceeds the ${h} MB upload limit (it is ${E}).`,"Check the asset paths in your extension configuration \u2014 a misconfigured source can pull in much more than intended. Exclude large files or directories from your bundle, then try again.")}let r=l(),n=c(t);r.append("my_upload",n),await f(o,{method:"put",body:n,headers:r.getHeaders()},"slow-request")}async function j(o,t){let e=await o.generateSignedUploadUrl(t);if(!e.assetUrl||e.userErrors?.length>0){let r=e.userErrors.map(n=>n.message).join(", ");throw new i(r)}return e.assetUrl}export{b as a,S as b,N as c,T as d,j as e};
@@ -1,4 +1,4 @@
1
- import{a as C}from"./chunk-KFCGMT67.js";import{a as p}from"./chunk-M4V2OQAX.js";import{a as N}from"./chunk-QFWIDATO.js";import{a as v,b as J}from"./chunk-7BFDUVOG.js";import{r as E}from"./chunk-MZJRNFAU.js";import{k as c,m as F,q as S}from"./chunk-HHXHOQQP.js";import{O as w}from"./chunk-4V4DQ6W7.js";import{b as q,c as D}from"./chunk-4KRT35A2.js";import{A as T,S as O,v as I,x as u}from"./chunk-MGL4YM3S.js";import{r as M}from"./chunk-3YWUSKWF.js";import{Lb as a}from"./chunk-VPL2NDH6.js";import{e as A,g as h}from"./chunk-VPRTJUIN.js";h();h();async function _(t,o,e){let{name:r,verbose:d,noColor:l,json:m,force:x}=e,g=O()||x;if(C({verbose:d,noColor:l}),g&&!o){let s="A theme ID is required to duplicate a theme, specify one with the --theme flag";m?a(JSON.stringify({message:s,errors:[]})):u({body:[s]});return}let i=o?await J(t,o):await v(t,{header:"Select a theme to duplicate",filter:{theme:o}});if(!i){let s=`No theme with ID ${o} could be found. Use shopify theme list to find a theme ID.`;m?a(JSON.stringify({message:s,errors:[]})):u({body:[s]});return}if(i?.role==="development"){let s="Development themes can't be duplicated. Use shopify theme push to upload it to the store first.";m?a(JSON.stringify({message:s,errors:[]})):u({body:[s]});return}if(!g&&!await T({message:`Do you want to duplicate '${i.name}' on ${t.storeFqdn}?`,confirmationMessage:`Yes, duplicate '${i.name}'`,cancellationMessage:"No, cancel duplicate"}))return;let b=await E(i.id,r,t);m?j(i,t,b):P(i,t,b)}function P(t,o,e){if(e.userErrors&&e.userErrors.length>0){let r=e.userErrors.map(d=>d.message).join(", ");u({body:["The theme",...p(t),"could not be duplicated due to errors: ",{subdued:r},{char:"."},...e.requestId?[`
1
+ import{a as C}from"./chunk-W7DDV2EY.js";import{a as N}from"./chunk-STJ3LWFL.js";import{a as v,b as J}from"./chunk-MIDYZPO4.js";import{a as p}from"./chunk-VJ6KDRZI.js";import{r as E}from"./chunk-5XDQ76DQ.js";import{k as c,m as F,q as S}from"./chunk-TUNUEOHO.js";import{O as w}from"./chunk-G4OQABDT.js";import{b as q,c as D}from"./chunk-OXJBYKMX.js";import{A as T,S as O,v as I,x as u}from"./chunk-NTRAWIEJ.js";import{r as M}from"./chunk-T6CC5WUU.js";import{Lb as a}from"./chunk-7FQFEB33.js";import{e as A,g as h}from"./chunk-VKWPEFWQ.js";h();h();async function _(t,o,e){let{name:r,verbose:d,noColor:l,json:m,force:x}=e,g=O()||x;if(C({verbose:d,noColor:l}),g&&!o){let s="A theme ID is required to duplicate a theme, specify one with the --theme flag";m?a(JSON.stringify({message:s,errors:[]})):u({body:[s]});return}let i=o?await J(t,o):await v(t,{header:"Select a theme to duplicate",filter:{theme:o}});if(!i){let s=`No theme with ID ${o} could be found. Use shopify theme list to find a theme ID.`;m?a(JSON.stringify({message:s,errors:[]})):u({body:[s]});return}if(i?.role==="development"){let s="Development themes can't be duplicated. Use shopify theme push to upload it to the store first.";m?a(JSON.stringify({message:s,errors:[]})):u({body:[s]});return}if(!g&&!await T({message:`Do you want to duplicate '${i.name}' on ${t.storeFqdn}?`,confirmationMessage:`Yes, duplicate '${i.name}'`,cancellationMessage:"No, cancel duplicate"}))return;let b=await E(i.id,r,t);m?j(i,t,b):P(i,t,b)}function P(t,o,e){if(e.userErrors&&e.userErrors.length>0){let r=e.userErrors.map(d=>d.message).join(", ");u({body:["The theme",...p(t),"could not be duplicated due to errors: ",{subdued:r},{char:"."},...e.requestId?[`
2
2
  Request ID: `,{subdued:e.requestId}]:[]]})}else e.theme?I({body:["The theme",...p(t),"has been duplicated",{char:"."}],nextSteps:[[{link:{label:"View the duplicated theme",url:N(e.theme,o)}}]]}):u({body:["The theme",...p(t),"unexpectedly could not be duplicated",{char:"."},...e.requestId?[`
3
3
  Request ID: `,{subdued:e.requestId}]:[]]})}function j(t,o,e){if(e.userErrors&&e.userErrors.length>0)a(JSON.stringify({message:`The theme '${t.name}' could not be duplicated due to errors`,errors:e.userErrors.map(r=>r.message),requestId:e.requestId}));else if(e.theme){let{id:r,name:d,role:l}=e.theme,m={theme:{id:r,name:d,role:l,shop:o.storeFqdn}};a(JSON.stringify(m))}else a(JSON.stringify({message:`The theme '${t.name}' unexpectedly could not be duplicated `,errors:[],requestId:e.requestId}))}var f=A(M(),1);var y,n=class extends S{async run(){let{flags:o}=await this.parse(y),e=F(o),r=await w(e,o.password);await _(r,o.theme,o)}};y=n;n.summary="Duplicates a theme from your theme library.";n.usage=["theme duplicate","theme duplicate --theme 10 --name 'New Theme'"];n.descriptionWithMarkdown=`If you want to duplicate your local theme, you need to run \`shopify theme push\` first.
4
4