@wix/cli 1.1.170 → 1.1.171

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 (199) hide show
  1. package/build/{ConnectWixVibeCommand-Q6HKX3QQ.js → ConnectWixVibeCommand-4JAB2H5C.js} +17 -17
  2. package/build/{DevCommand-KGNTYNMF.js → DevCommand-5OW5EJD4.js} +15 -15
  3. package/build/{DevCommand-TOP6EWUO.js → DevCommand-LHR3DCMM.js} +19 -19
  4. package/build/{DevCommand-CPE5YZ3A.js → DevCommand-TU7K77SJ.js} +681 -686
  5. package/build/{DevCommand-CPE5YZ3A.js.map → DevCommand-TU7K77SJ.js.map} +1 -1
  6. package/build/{EnvPullCommand-2CEYL4OE.js → EnvPullCommand-2ZIS4G5U.js} +12 -12
  7. package/build/{EnvRemoveCommand-CISQNNQ6.js → EnvRemoveCommand-5X33376E.js} +11 -11
  8. package/build/{EnvSetCommand-ZJOIW426.js → EnvSetCommand-PPFUNZVI.js} +11 -11
  9. package/build/{GenerateCommand-NXA6EG5K.js → GenerateCommand-WOBLRCI3.js} +14 -14
  10. package/build/{InstallCommand-6DGT7YHP.js → InstallCommand-7NALLNUM.js} +17 -17
  11. package/build/{LoginCommand-ZNGSWUC4.js → LoginCommand-QDSN4AWC.js} +9 -9
  12. package/build/{LogoutCommand-5WY7Q7SP.js → LogoutCommand-EWCQTF2O.js} +6 -6
  13. package/build/{PreviewCommand-JNQVCZ3K.js → PreviewCommand-CAE3I7H5.js} +19 -19
  14. package/build/{PreviewCommand-2FAXJTIC.js → PreviewCommand-STPK4ET3.js} +19 -19
  15. package/build/{PreviewCommand-H5ZKPPSG.js → PreviewCommand-VL35W6EY.js} +19 -19
  16. package/build/{PromoteCommand-OOBVTIQG.js → PromoteCommand-F6WRDR72.js} +22 -22
  17. package/build/PromoteCommand-F6WRDR72.js.map +1 -0
  18. package/build/{PublishCommand-BETMAE65.js → PublishCommand-FAN5AQ3G.js} +19 -19
  19. package/build/{ReleaseCommand-VAO5I7ND.js → ReleaseCommand-2D3ATS5A.js} +31 -34
  20. package/build/ReleaseCommand-2D3ATS5A.js.map +1 -0
  21. package/build/{TranslationPullCommand-I5R5CQX6.js → TranslationPullCommand-VDDHO4QY.js} +12 -12
  22. package/build/{TranslationPushCommand-FF636U6C.js → TranslationPushCommand-6YJO5Q6N.js} +13 -13
  23. package/build/{UninstallCommand-XOHE5WYZ.js → UninstallCommand-KNVKCOOV.js} +17 -17
  24. package/build/{WhoamiCommand-I6NEMI5H.js → WhoamiCommand-OOFLC3YV.js} +3 -3
  25. package/build/{chunk-K7CPZ76V.js → chunk-32RFPZ5X.js} +2 -2
  26. package/build/{chunk-PWGZLHQK.js → chunk-35DSCETZ.js} +3 -3
  27. package/build/{chunk-NOAYWPSU.js → chunk-3CE3ADYU.js} +1 -2
  28. package/build/{chunk-NOAYWPSU.js.map → chunk-3CE3ADYU.js.map} +1 -1
  29. package/build/{chunk-7DVE34NP.js → chunk-3HKVNW6O.js} +3 -3
  30. package/build/{chunk-WKYOTFRN.js → chunk-67Z5ZAFQ.js} +3 -3
  31. package/build/{chunk-PEWZZDIF.js → chunk-6YUOMTJI.js} +4 -4
  32. package/build/{chunk-VB2TITLQ.js → chunk-7T3EKIJJ.js} +2 -2
  33. package/build/{chunk-4B4USTTE.js → chunk-A64ENMU7.js} +2 -2
  34. package/build/{chunk-OUSNXB4Y.js → chunk-A7RXXBHO.js} +8 -8
  35. package/build/{chunk-NDLMWKGS.js → chunk-AY424OCT.js} +2 -2
  36. package/build/{chunk-YZ4UFXM6.js → chunk-CHCU455M.js} +6 -6
  37. package/build/{chunk-2XVCXR7D.js → chunk-CW2QY5YG.js} +2 -2
  38. package/build/{chunk-TIX2YHCH.js → chunk-CXMVUZTM.js} +2 -2
  39. package/build/{chunk-ZSN2UURP.js → chunk-DSOV6S2I.js} +2 -2
  40. package/build/{chunk-5CKH3OMW.js → chunk-F3ENVXDM.js} +2 -2
  41. package/build/{chunk-BGDQAKCH.js → chunk-F7END7HX.js} +5 -5
  42. package/build/{chunk-XPLEOWFP.js → chunk-FIAS3SAF.js} +8 -8
  43. package/build/{chunk-7VNDLUNH.js → chunk-G2747YFO.js} +3 -3
  44. package/build/{chunk-XHZ7L7ZR.js → chunk-GCJEBW76.js} +4 -4
  45. package/build/{chunk-WK2TZLIJ.js → chunk-GD62MQGS.js} +8 -8
  46. package/build/{chunk-KA7B5CAK.js → chunk-H3UDVC3A.js} +2 -2
  47. package/build/{chunk-JDIZDTXS.js → chunk-H7Q43T5H.js} +3 -3
  48. package/build/{chunk-HNBL2TIV.js → chunk-HWT6ICUW.js} +5 -5
  49. package/build/{chunk-VTGHBBDO.js → chunk-IIVLOHFB.js} +6 -6
  50. package/build/{chunk-DKBAJT66.js → chunk-JVGJ4FZ4.js} +4 -4
  51. package/build/{chunk-2ZIXT2TW.js → chunk-KD4REJAN.js} +3 -3
  52. package/build/{chunk-X7A3443W.js → chunk-KDC7S4VF.js} +2 -2
  53. package/build/{chunk-3MSD7RGO.js → chunk-KNG4NUR2.js} +5 -5
  54. package/build/{chunk-GJR445ET.js → chunk-KQTXQ55T.js} +8 -8
  55. package/build/{chunk-HSLEP2DR.js → chunk-LBK6WGDW.js} +6 -6
  56. package/build/chunk-LWKIKYYG.js +2296 -0
  57. package/build/chunk-LWKIKYYG.js.map +1 -0
  58. package/build/{chunk-MPJ57O4V.js → chunk-MIRS3M7N.js} +8 -8
  59. package/build/{chunk-NKFKI5QG.js → chunk-MMGMMV4Q.js} +13 -13
  60. package/build/chunk-MMGMMV4Q.js.map +1 -0
  61. package/build/{chunk-R3BR7GCO.js → chunk-PQUXWSDX.js} +6 -6
  62. package/build/{chunk-VFMUVMEB.js → chunk-RAVEDNMI.js} +7 -7
  63. package/build/{chunk-3GBGKPOW.js → chunk-TGYN7E2N.js} +5 -5
  64. package/build/{chunk-QF3VJ2H7.js → chunk-UCG2BW6I.js} +2 -2
  65. package/build/{chunk-GWIV2MUG.js → chunk-VEGJKJSP.js} +4 -4
  66. package/build/{chunk-GWIV2MUG.js.map → chunk-VEGJKJSP.js.map} +1 -1
  67. package/build/{chunk-DCYBYMTU.js → chunk-VXU75TGR.js} +2 -2
  68. package/build/{chunk-J6S3EQQP.js → chunk-WOZ6KIZG.js} +2 -2
  69. package/build/{chunk-OTHELDGX.js → chunk-X3J6OEB3.js} +4 -4
  70. package/build/{chunk-NUR34CWO.js → chunk-XFOKZ6A3.js} +7 -7
  71. package/build/{chunk-2ADUYQPH.js → chunk-XMDA4FUP.js} +8 -8
  72. package/build/{chunk-44DCPIQ7.js → chunk-XQZEZCCB.js} +3 -3
  73. package/build/{chunk-4VPH7IPB.js → chunk-XSTYPZKJ.js} +4 -4
  74. package/build/{chunk-EC2JRUEW.js → chunk-XZUXE33T.js} +5 -14
  75. package/build/{chunk-EC2JRUEW.js.map → chunk-XZUXE33T.js.map} +1 -1
  76. package/build/{chunk-FIOP5PUA.js → chunk-Y5Q3BCOG.js} +2 -2
  77. package/build/{chunk-WDR4N2AO.js → chunk-YJL6IMFG.js} +2 -2
  78. package/build/{chunk-KP4B6J6V.js → chunk-YYQ2I37O.js} +7 -7
  79. package/build/{chunk-573GMKPX.js → chunk-ZD5ST4JO.js} +4 -4
  80. package/build/{chunk-CACHFOBS.js → chunk-ZF4HBTGW.js} +3 -3
  81. package/build/{dev-NUESCEVU.js → dev-SF2GL22K.js} +22 -22
  82. package/build/{env-pull-BZWGRQQO.js → env-pull-3FRD2FGS.js} +14 -14
  83. package/build/index.js +24 -24
  84. package/build/{install-5QY6FB3C.js → install-GX2USVXL.js} +15 -15
  85. package/build/{preview-TLNTYO7B.js → preview-ZBC4MSLK.js} +21 -21
  86. package/build/{publish-PZE3HY7O.js → publish-LLDQK3JV.js} +16 -16
  87. package/build/{render-command-KQ4IDPLN.js → render-command-673GWWZP.js} +11 -11
  88. package/build/{render-command-TBSJTMV6.js → render-command-CEO3M6HG.js} +12 -12
  89. package/build/{render-command-PV4UUGJI.js → render-command-RKENNYIE.js} +12 -12
  90. package/build/{render-command-MU7YBPHN.js → render-command-SCKHUJ6G.js} +11 -11
  91. package/build/{render-command-6YBX3NU3.js → render-command-Y6FZPOXO.js} +11 -11
  92. package/build/{run-command-APAJAUCI.js → run-command-YBIOTDCC.js} +8 -8
  93. package/build/{src-UJLFJRCE.js → src-3M73KFZU.js} +17 -17
  94. package/build/{src-GY5U6BDS.js → src-3N74H5YY.js} +6 -6
  95. package/build/{src-ZBR6LJQI.js → src-3REM6YWE.js} +41 -44
  96. package/build/{src-ZBR6LJQI.js.map → src-3REM6YWE.js.map} +1 -1
  97. package/build/{src-LLXBSZX5.js → src-F5Z7UHIR.js} +4 -4
  98. package/build/{src-OI432PPT.js → src-LMQUAXUN.js} +6 -6
  99. package/build/{src-QWBGBSUZ.js → src-M77RHWYF.js} +4 -4
  100. package/build/{src-PTASZH6I.js → src-NNQ3BMJU.js} +14 -14
  101. package/build/{src-DJZLSCWD.js → src-SUVZIKY7.js} +2 -2
  102. package/build/{sync-types-GJTS6APS.js → sync-types-PIQCB54H.js} +11 -11
  103. package/build/{translation-pull-UY4GMO2F.js → translation-pull-W2C4SEXD.js} +14 -14
  104. package/build/{translation-push-YPS3CBGN.js → translation-push-QQK3JS26.js} +15 -15
  105. package/build/{uninstall-FKDQ3SEX.js → uninstall-3NX7WPFT.js} +15 -15
  106. package/package.json +2 -2
  107. package/build/PromoteCommand-OOBVTIQG.js.map +0 -1
  108. package/build/ReleaseCommand-VAO5I7ND.js.map +0 -1
  109. package/build/chunk-2IJTJJEM.js +0 -29
  110. package/build/chunk-2IJTJJEM.js.map +0 -1
  111. package/build/chunk-NKFKI5QG.js.map +0 -1
  112. package/build/chunk-Q2PALYEZ.js +0 -810
  113. package/build/chunk-Q2PALYEZ.js.map +0 -1
  114. /package/build/{ConnectWixVibeCommand-Q6HKX3QQ.js.map → ConnectWixVibeCommand-4JAB2H5C.js.map} +0 -0
  115. /package/build/{DevCommand-KGNTYNMF.js.map → DevCommand-5OW5EJD4.js.map} +0 -0
  116. /package/build/{DevCommand-TOP6EWUO.js.map → DevCommand-LHR3DCMM.js.map} +0 -0
  117. /package/build/{EnvPullCommand-2CEYL4OE.js.map → EnvPullCommand-2ZIS4G5U.js.map} +0 -0
  118. /package/build/{EnvRemoveCommand-CISQNNQ6.js.map → EnvRemoveCommand-5X33376E.js.map} +0 -0
  119. /package/build/{EnvSetCommand-ZJOIW426.js.map → EnvSetCommand-PPFUNZVI.js.map} +0 -0
  120. /package/build/{GenerateCommand-NXA6EG5K.js.map → GenerateCommand-WOBLRCI3.js.map} +0 -0
  121. /package/build/{InstallCommand-6DGT7YHP.js.map → InstallCommand-7NALLNUM.js.map} +0 -0
  122. /package/build/{LoginCommand-ZNGSWUC4.js.map → LoginCommand-QDSN4AWC.js.map} +0 -0
  123. /package/build/{LogoutCommand-5WY7Q7SP.js.map → LogoutCommand-EWCQTF2O.js.map} +0 -0
  124. /package/build/{PreviewCommand-JNQVCZ3K.js.map → PreviewCommand-CAE3I7H5.js.map} +0 -0
  125. /package/build/{PreviewCommand-2FAXJTIC.js.map → PreviewCommand-STPK4ET3.js.map} +0 -0
  126. /package/build/{PreviewCommand-H5ZKPPSG.js.map → PreviewCommand-VL35W6EY.js.map} +0 -0
  127. /package/build/{PublishCommand-BETMAE65.js.map → PublishCommand-FAN5AQ3G.js.map} +0 -0
  128. /package/build/{TranslationPullCommand-I5R5CQX6.js.map → TranslationPullCommand-VDDHO4QY.js.map} +0 -0
  129. /package/build/{TranslationPushCommand-FF636U6C.js.map → TranslationPushCommand-6YJO5Q6N.js.map} +0 -0
  130. /package/build/{UninstallCommand-XOHE5WYZ.js.map → UninstallCommand-KNVKCOOV.js.map} +0 -0
  131. /package/build/{WhoamiCommand-I6NEMI5H.js.map → WhoamiCommand-OOFLC3YV.js.map} +0 -0
  132. /package/build/{chunk-K7CPZ76V.js.map → chunk-32RFPZ5X.js.map} +0 -0
  133. /package/build/{chunk-PWGZLHQK.js.map → chunk-35DSCETZ.js.map} +0 -0
  134. /package/build/{chunk-7DVE34NP.js.map → chunk-3HKVNW6O.js.map} +0 -0
  135. /package/build/{chunk-WKYOTFRN.js.map → chunk-67Z5ZAFQ.js.map} +0 -0
  136. /package/build/{chunk-PEWZZDIF.js.map → chunk-6YUOMTJI.js.map} +0 -0
  137. /package/build/{chunk-VB2TITLQ.js.map → chunk-7T3EKIJJ.js.map} +0 -0
  138. /package/build/{chunk-4B4USTTE.js.map → chunk-A64ENMU7.js.map} +0 -0
  139. /package/build/{chunk-OUSNXB4Y.js.map → chunk-A7RXXBHO.js.map} +0 -0
  140. /package/build/{chunk-NDLMWKGS.js.map → chunk-AY424OCT.js.map} +0 -0
  141. /package/build/{chunk-YZ4UFXM6.js.map → chunk-CHCU455M.js.map} +0 -0
  142. /package/build/{chunk-2XVCXR7D.js.map → chunk-CW2QY5YG.js.map} +0 -0
  143. /package/build/{chunk-TIX2YHCH.js.map → chunk-CXMVUZTM.js.map} +0 -0
  144. /package/build/{chunk-ZSN2UURP.js.map → chunk-DSOV6S2I.js.map} +0 -0
  145. /package/build/{chunk-5CKH3OMW.js.map → chunk-F3ENVXDM.js.map} +0 -0
  146. /package/build/{chunk-BGDQAKCH.js.map → chunk-F7END7HX.js.map} +0 -0
  147. /package/build/{chunk-XPLEOWFP.js.map → chunk-FIAS3SAF.js.map} +0 -0
  148. /package/build/{chunk-7VNDLUNH.js.map → chunk-G2747YFO.js.map} +0 -0
  149. /package/build/{chunk-XHZ7L7ZR.js.map → chunk-GCJEBW76.js.map} +0 -0
  150. /package/build/{chunk-WK2TZLIJ.js.map → chunk-GD62MQGS.js.map} +0 -0
  151. /package/build/{chunk-KA7B5CAK.js.map → chunk-H3UDVC3A.js.map} +0 -0
  152. /package/build/{chunk-JDIZDTXS.js.map → chunk-H7Q43T5H.js.map} +0 -0
  153. /package/build/{chunk-HNBL2TIV.js.map → chunk-HWT6ICUW.js.map} +0 -0
  154. /package/build/{chunk-VTGHBBDO.js.map → chunk-IIVLOHFB.js.map} +0 -0
  155. /package/build/{chunk-DKBAJT66.js.map → chunk-JVGJ4FZ4.js.map} +0 -0
  156. /package/build/{chunk-2ZIXT2TW.js.map → chunk-KD4REJAN.js.map} +0 -0
  157. /package/build/{chunk-X7A3443W.js.map → chunk-KDC7S4VF.js.map} +0 -0
  158. /package/build/{chunk-3MSD7RGO.js.map → chunk-KNG4NUR2.js.map} +0 -0
  159. /package/build/{chunk-GJR445ET.js.map → chunk-KQTXQ55T.js.map} +0 -0
  160. /package/build/{chunk-HSLEP2DR.js.map → chunk-LBK6WGDW.js.map} +0 -0
  161. /package/build/{chunk-MPJ57O4V.js.map → chunk-MIRS3M7N.js.map} +0 -0
  162. /package/build/{chunk-R3BR7GCO.js.map → chunk-PQUXWSDX.js.map} +0 -0
  163. /package/build/{chunk-VFMUVMEB.js.map → chunk-RAVEDNMI.js.map} +0 -0
  164. /package/build/{chunk-3GBGKPOW.js.map → chunk-TGYN7E2N.js.map} +0 -0
  165. /package/build/{chunk-QF3VJ2H7.js.map → chunk-UCG2BW6I.js.map} +0 -0
  166. /package/build/{chunk-DCYBYMTU.js.map → chunk-VXU75TGR.js.map} +0 -0
  167. /package/build/{chunk-J6S3EQQP.js.map → chunk-WOZ6KIZG.js.map} +0 -0
  168. /package/build/{chunk-OTHELDGX.js.map → chunk-X3J6OEB3.js.map} +0 -0
  169. /package/build/{chunk-NUR34CWO.js.map → chunk-XFOKZ6A3.js.map} +0 -0
  170. /package/build/{chunk-2ADUYQPH.js.map → chunk-XMDA4FUP.js.map} +0 -0
  171. /package/build/{chunk-44DCPIQ7.js.map → chunk-XQZEZCCB.js.map} +0 -0
  172. /package/build/{chunk-4VPH7IPB.js.map → chunk-XSTYPZKJ.js.map} +0 -0
  173. /package/build/{chunk-FIOP5PUA.js.map → chunk-Y5Q3BCOG.js.map} +0 -0
  174. /package/build/{chunk-WDR4N2AO.js.map → chunk-YJL6IMFG.js.map} +0 -0
  175. /package/build/{chunk-KP4B6J6V.js.map → chunk-YYQ2I37O.js.map} +0 -0
  176. /package/build/{chunk-573GMKPX.js.map → chunk-ZD5ST4JO.js.map} +0 -0
  177. /package/build/{chunk-CACHFOBS.js.map → chunk-ZF4HBTGW.js.map} +0 -0
  178. /package/build/{dev-NUESCEVU.js.map → dev-SF2GL22K.js.map} +0 -0
  179. /package/build/{env-pull-BZWGRQQO.js.map → env-pull-3FRD2FGS.js.map} +0 -0
  180. /package/build/{install-5QY6FB3C.js.map → install-GX2USVXL.js.map} +0 -0
  181. /package/build/{preview-TLNTYO7B.js.map → preview-ZBC4MSLK.js.map} +0 -0
  182. /package/build/{publish-PZE3HY7O.js.map → publish-LLDQK3JV.js.map} +0 -0
  183. /package/build/{render-command-KQ4IDPLN.js.map → render-command-673GWWZP.js.map} +0 -0
  184. /package/build/{render-command-TBSJTMV6.js.map → render-command-CEO3M6HG.js.map} +0 -0
  185. /package/build/{render-command-PV4UUGJI.js.map → render-command-RKENNYIE.js.map} +0 -0
  186. /package/build/{render-command-MU7YBPHN.js.map → render-command-SCKHUJ6G.js.map} +0 -0
  187. /package/build/{render-command-6YBX3NU3.js.map → render-command-Y6FZPOXO.js.map} +0 -0
  188. /package/build/{run-command-APAJAUCI.js.map → run-command-YBIOTDCC.js.map} +0 -0
  189. /package/build/{src-UJLFJRCE.js.map → src-3M73KFZU.js.map} +0 -0
  190. /package/build/{src-DJZLSCWD.js.map → src-3N74H5YY.js.map} +0 -0
  191. /package/build/{src-GY5U6BDS.js.map → src-F5Z7UHIR.js.map} +0 -0
  192. /package/build/{src-OI432PPT.js.map → src-LMQUAXUN.js.map} +0 -0
  193. /package/build/{src-LLXBSZX5.js.map → src-M77RHWYF.js.map} +0 -0
  194. /package/build/{src-PTASZH6I.js.map → src-NNQ3BMJU.js.map} +0 -0
  195. /package/build/{src-QWBGBSUZ.js.map → src-SUVZIKY7.js.map} +0 -0
  196. /package/build/{sync-types-GJTS6APS.js.map → sync-types-PIQCB54H.js.map} +0 -0
  197. /package/build/{translation-pull-UY4GMO2F.js.map → translation-pull-W2C4SEXD.js.map} +0 -0
  198. /package/build/{translation-push-YPS3CBGN.js.map → translation-push-QQK3JS26.js.map} +0 -0
  199. /package/build/{uninstall-FKDQ3SEX.js.map → uninstall-3NX7WPFT.js.map} +0 -0
@@ -2,34 +2,34 @@ import { createRequire as _createRequire } from 'node:module';
2
2
  const require = _createRequire(import.meta.url);
3
3
  import {
4
4
  useTunnel
5
- } from "./chunk-R3BR7GCO.js";
5
+ } from "./chunk-PQUXWSDX.js";
6
6
  import {
7
7
  useMetasiteManagerClient,
8
8
  useWixCliAppBi
9
- } from "./chunk-HNBL2TIV.js";
9
+ } from "./chunk-HWT6ICUW.js";
10
10
  import {
11
11
  RedirectLink,
12
- useARMClient,
12
+ useDevCenterOverridesClient,
13
13
  useUpdateDeploymentTopology
14
- } from "./chunk-Q2PALYEZ.js";
14
+ } from "./chunk-LWKIKYYG.js";
15
15
  import {
16
16
  useDevCenterClient
17
- } from "./chunk-YZ4UFXM6.js";
17
+ } from "./chunk-CHCU455M.js";
18
18
  import {
19
19
  PlatformLink
20
- } from "./chunk-J6S3EQQP.js";
20
+ } from "./chunk-WOZ6KIZG.js";
21
21
  import {
22
22
  OnboardingState,
23
23
  useVeloClient
24
- } from "./chunk-WK2TZLIJ.js";
25
- import "./chunk-DCYBYMTU.js";
24
+ } from "./chunk-GD62MQGS.js";
25
+ import "./chunk-VXU75TGR.js";
26
26
  import "./chunk-MVBGFP6D.js";
27
- import "./chunk-KA7B5CAK.js";
28
- import "./chunk-X7A3443W.js";
27
+ import "./chunk-H3UDVC3A.js";
28
+ import "./chunk-KDC7S4VF.js";
29
29
  import {
30
30
  createPackageManager,
31
31
  getRepoType
32
- } from "./chunk-JDIZDTXS.js";
32
+ } from "./chunk-H7Q43T5H.js";
33
33
  import {
34
34
  execa
35
35
  } from "./chunk-2R5BII2J.js";
@@ -47,18 +47,18 @@ import {
47
47
  getDevLogPath,
48
48
  looseComponentSchema,
49
49
  parseLooseAppManifest,
50
- useProjectModel
51
- } from "./chunk-PEWZZDIF.js";
50
+ useProjectModel,
51
+ useSiteConfig
52
+ } from "./chunk-6YUOMTJI.js";
52
53
  import {
53
54
  useHttpClient
54
- } from "./chunk-4B4USTTE.js";
55
+ } from "./chunk-A64ENMU7.js";
55
56
  import {
56
57
  usePanoramaMethodLogger
57
- } from "./chunk-K7CPZ76V.js";
58
+ } from "./chunk-32RFPZ5X.js";
58
59
  import {
59
60
  BiProvider,
60
61
  ErrorViewer,
61
- SiteAuthProvider,
62
62
  TimeoutError,
63
63
  openBrowser,
64
64
  pRetry,
@@ -68,7 +68,7 @@ import {
68
68
  useBiLogger,
69
69
  useDebugLog,
70
70
  useErrorReporter
71
- } from "./chunk-EC2JRUEW.js";
71
+ } from "./chunk-XZUXE33T.js";
72
72
  import {
73
73
  wixCliAction,
74
74
  wixCliAppFlowStepsAnswers
@@ -77,7 +77,7 @@ import {
77
77
  I18nProvider,
78
78
  Trans,
79
79
  useTranslation
80
- } from "./chunk-NDLMWKGS.js";
80
+ } from "./chunk-AY424OCT.js";
81
81
  import "./chunk-KJ37XZQA.js";
82
82
  import {
83
83
  Alert,
@@ -95,7 +95,7 @@ import {
95
95
  useAsyncCallback,
96
96
  useExit,
97
97
  use_input_default
98
- } from "./chunk-FIOP5PUA.js";
98
+ } from "./chunk-Y5Q3BCOG.js";
99
99
  import {
100
100
  require_react
101
101
  } from "./chunk-YAIN7HW3.js";
@@ -107,7 +107,7 @@ import "./chunk-C4SUTB4O.js";
107
107
  import {
108
108
  readUserConfig,
109
109
  updateUserConfig
110
- } from "./chunk-5CKH3OMW.js";
110
+ } from "./chunk-F3ENVXDM.js";
111
111
  import "./chunk-Q5T35E2T.js";
112
112
  import {
113
113
  getTestOverrides
@@ -117,7 +117,7 @@ import {
117
117
  pathExists,
118
118
  readJson,
119
119
  writeJson
120
- } from "./chunk-ZSN2UURP.js";
120
+ } from "./chunk-DSOV6S2I.js";
121
121
  import {
122
122
  external_exports
123
123
  } from "./chunk-F43XHKVL.js";
@@ -125,7 +125,7 @@ import {
125
125
  CliError,
126
126
  CliErrorCode,
127
127
  require_lib
128
- } from "./chunk-NOAYWPSU.js";
128
+ } from "./chunk-3CE3ADYU.js";
129
129
  import {
130
130
  __commonJS,
131
131
  __dirname,
@@ -3046,9 +3046,9 @@ ${trace}`);
3046
3046
  function isMemberExpressionLike(node) {
3047
3047
  return (0, _index.isMemberExpression)(node) || (0, _index.isMetaProperty)(node);
3048
3048
  }
3049
- function matchesPattern(member, match13, allowPartial) {
3049
+ function matchesPattern(member, match12, allowPartial) {
3050
3050
  if (!isMemberExpressionLike(member)) return false;
3051
- const parts = Array.isArray(match13) ? match13 : match13.split(".");
3051
+ const parts = Array.isArray(match12) ? match12 : match12.split(".");
3052
3052
  const nodes = [];
3053
3053
  let node;
3054
3054
  for (node = member; isMemberExpressionLike(node); node = (_object = node.object) != null ? _object : node.meta) {
@@ -3088,8 +3088,8 @@ ${trace}`);
3088
3088
  });
3089
3089
  exports2.default = buildMatchMemberExpression;
3090
3090
  var _matchesPattern = require_matchesPattern();
3091
- function buildMatchMemberExpression(match13, allowPartial) {
3092
- const parts = match13.split(".");
3091
+ function buildMatchMemberExpression(match12, allowPartial) {
3092
+ const parts = match12.split(".");
3093
3093
  return (member) => (0, _matchesPattern.default)(member, parts, allowPartial);
3094
3094
  }
3095
3095
  }
@@ -3519,8 +3519,8 @@ ${trace}`);
3519
3519
  default:
3520
3520
  if (ch >= 48 && ch <= 55) {
3521
3521
  const startPos = pos2 - 1;
3522
- const match13 = /^[0-7]+/.exec(input.slice(startPos, pos2 + 2));
3523
- let octalStr = match13[0];
3522
+ const match12 = /^[0-7]+/.exec(input.slice(startPos, pos2 + 2));
3523
+ let octalStr = match12[0];
3524
3524
  let octal = parseInt(octalStr, 8);
3525
3525
  if (octal > 255) {
3526
3526
  octalStr = octalStr.slice(0, -1);
@@ -4388,9 +4388,9 @@ ${errors.join("\n")}`);
4388
4388
  }
4389
4389
  }),
4390
4390
  validate: process.env.BABEL_TYPES_8_BREAKING ? function(parent, key2, node) {
4391
- const match13 = /\.(\w+)$/.exec(key2.toString());
4392
- if (!match13) return;
4393
- const [, parentKey] = match13;
4391
+ const match12 = /\.(\w+)$/.exec(key2.toString());
4392
+ if (!match12) return;
4393
+ const [, parentKey] = match12;
4394
4394
  const nonComp = {
4395
4395
  computed: false
4396
4396
  };
@@ -4719,9 +4719,9 @@ ${errors.join("\n")}`);
4719
4719
  }
4720
4720
  }),
4721
4721
  validate: process.env.BABEL_TYPES_8_BREAKING ? function(parent, key2) {
4722
- const match13 = /(\w+)\[(\d+)\]/.exec(key2.toString());
4723
- if (!match13) throw new Error("Internal Babel error: malformed key.");
4724
- const [, listKey, index] = match13;
4722
+ const match12 = /(\w+)\[(\d+)\]/.exec(key2.toString());
4723
+ if (!match12) throw new Error("Internal Babel error: malformed key.");
4724
+ const [, listKey, index] = match12;
4725
4725
  if (parent[listKey].length > +index + 1) {
4726
4726
  throw new TypeError(`RestElement must be last element of ${listKey}`);
4727
4727
  }
@@ -12438,7 +12438,7 @@ Expected ${val.length + 1} quasis but got ${node.quasis.length}`);
12438
12438
  name += (0, _helperValidatorIdentifier.isIdentifierChar)(c2.codePointAt(0)) ? c2 : "-";
12439
12439
  }
12440
12440
  name = name.replace(/^[-0-9]+/, "");
12441
- name = name.replace(/[-\s]+(.)?/g, function(match13, c2) {
12441
+ name = name.replace(/[-\s]+(.)?/g, function(match12, c2) {
12442
12442
  return c2 ? c2.toUpperCase() : "";
12443
12443
  });
12444
12444
  if (!(0, _isValidIdentifier.default)(name)) {
@@ -19740,8 +19740,8 @@ ${str}
19740
19740
  default:
19741
19741
  if (ch >= 48 && ch <= 55) {
19742
19742
  const startPos = pos2 - 1;
19743
- const match13 = /^[0-7]+/.exec(input.slice(startPos, pos2 + 2));
19744
- let octalStr = match13[0];
19743
+ const match12 = /^[0-7]+/.exec(input.slice(startPos, pos2 + 2));
19744
+ let octalStr = match12[0];
19745
19745
  let octal = parseInt(octalStr, 8);
19746
19746
  if (octal > 255) {
19747
19747
  octalStr = octalStr.slice(0, -1);
@@ -28939,16 +28939,16 @@ ${str}
28939
28939
  value: true
28940
28940
  });
28941
28941
  exports2.default = /((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;
28942
- exports2.matchToToken = function(match13) {
28943
- var token2 = { type: "invalid", value: match13[0], closed: void 0 };
28944
- if (match13[1]) token2.type = "string", token2.closed = !!(match13[3] || match13[4]);
28945
- else if (match13[5]) token2.type = "comment";
28946
- else if (match13[6]) token2.type = "comment", token2.closed = !!match13[7];
28947
- else if (match13[8]) token2.type = "regex";
28948
- else if (match13[9]) token2.type = "number";
28949
- else if (match13[10]) token2.type = "name";
28950
- else if (match13[11]) token2.type = "punctuator";
28951
- else if (match13[12]) token2.type = "whitespace";
28942
+ exports2.matchToToken = function(match12) {
28943
+ var token2 = { type: "invalid", value: match12[0], closed: void 0 };
28944
+ if (match12[1]) token2.type = "string", token2.closed = !!(match12[3] || match12[4]);
28945
+ else if (match12[5]) token2.type = "comment";
28946
+ else if (match12[6]) token2.type = "comment", token2.closed = !!match12[7];
28947
+ else if (match12[8]) token2.type = "regex";
28948
+ else if (match12[9]) token2.type = "number";
28949
+ else if (match12[10]) token2.type = "name";
28950
+ else if (match12[11]) token2.type = "punctuator";
28951
+ else if (match12[12]) token2.type = "whitespace";
28952
28952
  return token2;
28953
28953
  };
28954
28954
  }
@@ -29013,11 +29013,11 @@ ${str}
29013
29013
  return token2.type;
29014
29014
  };
29015
29015
  tokenize = function* (text) {
29016
- let match13;
29017
- while (match13 = jsTokens.default.exec(text)) {
29018
- const token2 = jsTokens.matchToToken(match13);
29016
+ let match12;
29017
+ while (match12 = jsTokens.default.exec(text)) {
29018
+ const token2 = jsTokens.matchToToken(match12);
29019
29019
  yield {
29020
- type: getTokenType(token2, match13.index, text),
29020
+ type: getTokenType(token2, match12.index, text),
29021
29021
  value: token2.value
29022
29022
  };
29023
29023
  }
@@ -31281,14 +31281,14 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
31281
31281
  if (str.length > 100) {
31282
31282
  return;
31283
31283
  }
31284
- var match13 = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
31284
+ var match12 = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
31285
31285
  str
31286
31286
  );
31287
- if (!match13) {
31287
+ if (!match12) {
31288
31288
  return;
31289
31289
  }
31290
- var n = parseFloat(match13[1]);
31291
- var type = (match13[2] || "ms").toLowerCase();
31290
+ var n = parseFloat(match12[1]);
31291
+ var type = (match12[2] || "ms").toLowerCase();
31292
31292
  switch (type) {
31293
31293
  case "years":
31294
31294
  case "year":
@@ -31418,19 +31418,19 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
31418
31418
  args.unshift("%O");
31419
31419
  }
31420
31420
  let index = 0;
31421
- args[0] = args[0].replace(/%([a-zA-Z%])/g, (match13, format) => {
31422
- if (match13 === "%%") {
31421
+ args[0] = args[0].replace(/%([a-zA-Z%])/g, (match12, format) => {
31422
+ if (match12 === "%%") {
31423
31423
  return "%";
31424
31424
  }
31425
31425
  index++;
31426
31426
  const formatter = createDebug.formatters[format];
31427
31427
  if (typeof formatter === "function") {
31428
31428
  const val = args[index];
31429
- match13 = formatter.call(self2, val);
31429
+ match12 = formatter.call(self2, val);
31430
31430
  args.splice(index, 1);
31431
31431
  index--;
31432
31432
  }
31433
- return match13;
31433
+ return match12;
31434
31434
  });
31435
31435
  createDebug.formatArgs.call(self2, args);
31436
31436
  const logFn = self2.log || createDebug.log;
@@ -31664,12 +31664,12 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
31664
31664
  args.splice(1, 0, c2, "color: inherit");
31665
31665
  let index = 0;
31666
31666
  let lastC = 0;
31667
- args[0].replace(/%[a-zA-Z%]/g, (match13) => {
31668
- if (match13 === "%%") {
31667
+ args[0].replace(/%[a-zA-Z%]/g, (match12) => {
31668
+ if (match12 === "%%") {
31669
31669
  return;
31670
31670
  }
31671
31671
  index++;
31672
- if (match13 === "%c") {
31672
+ if (match12 === "%c") {
31673
31673
  lastC = index;
31674
31674
  }
31675
31675
  });
@@ -34291,13 +34291,13 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
34291
34291
  return /^[.?#]/.test(input);
34292
34292
  }
34293
34293
  function parseAbsoluteUrl(input) {
34294
- const match13 = urlRegex.exec(input);
34295
- return makeUrl(match13[1], match13[2] || "", match13[3], match13[4] || "", match13[5] || "/", match13[6] || "", match13[7] || "");
34294
+ const match12 = urlRegex.exec(input);
34295
+ return makeUrl(match12[1], match12[2] || "", match12[3], match12[4] || "", match12[5] || "/", match12[6] || "", match12[7] || "");
34296
34296
  }
34297
34297
  function parseFileUrl(input) {
34298
- const match13 = fileRegex.exec(input);
34299
- const path = match13[2];
34300
- return makeUrl("file:", "", match13[1] || "", "", isAbsolutePath(path) ? path : "/" + path, match13[3] || "", match13[4] || "");
34298
+ const match12 = fileRegex.exec(input);
34299
+ const path = match12[2];
34300
+ return makeUrl("file:", "", match12[1] || "", "", isAbsolutePath(path) ? path : "/" + path, match12[3] || "", match12[4] || "");
34301
34301
  }
34302
34302
  function makeUrl(scheme, user, host, port, path, query, hash) {
34303
34303
  return {
@@ -43713,13 +43713,13 @@ ${" ".repeat(indentSize)}`);
43713
43713
  for (const prop of props) {
43714
43714
  if (!prop.isProperty()) continue;
43715
43715
  const key2 = prop.get("key");
43716
- let match13 = prop.isnt("computed") && key2.isIdentifier({
43716
+ let match12 = prop.isnt("computed") && key2.isIdentifier({
43717
43717
  name: targetName
43718
43718
  });
43719
- match13 = match13 || key2.isLiteral({
43719
+ match12 = match12 || key2.isLiteral({
43720
43720
  value: targetName
43721
43721
  });
43722
- if (match13) return prop.get("value").resolve(dangerous, resolved);
43722
+ if (match12) return prop.get("value").resolve(dangerous, resolved);
43723
43723
  }
43724
43724
  } else if (target.isArrayExpression() && !isNaN(+targetName)) {
43725
43725
  const elems = target.get("elements");
@@ -46135,23 +46135,23 @@ ${" ".repeat(indentSize)}`);
46135
46135
  return null;
46136
46136
  }
46137
46137
  options = options || {};
46138
- var match13 = null;
46138
+ var match12 = null;
46139
46139
  if (!options.rtl) {
46140
- match13 = version.match(safeRe[t.COERCE]);
46140
+ match12 = version.match(safeRe[t.COERCE]);
46141
46141
  } else {
46142
46142
  var next;
46143
- while ((next = safeRe[t.COERCERTL].exec(version)) && (!match13 || match13.index + match13[0].length !== version.length)) {
46144
- if (!match13 || next.index + next[0].length !== match13.index + match13[0].length) {
46145
- match13 = next;
46143
+ while ((next = safeRe[t.COERCERTL].exec(version)) && (!match12 || match12.index + match12[0].length !== version.length)) {
46144
+ if (!match12 || next.index + next[0].length !== match12.index + match12[0].length) {
46145
+ match12 = next;
46146
46146
  }
46147
46147
  safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;
46148
46148
  }
46149
46149
  safeRe[t.COERCERTL].lastIndex = -1;
46150
46150
  }
46151
- if (match13 === null) {
46151
+ if (match12 === null) {
46152
46152
  return null;
46153
46153
  }
46154
- return parse3(match13[2] + "." + (match13[3] || "0") + "." + (match13[4] || "0"), options);
46154
+ return parse3(match12[2] + "." + (match12[3] || "0") + "." + (match12[4] || "0"), options);
46155
46155
  }
46156
46156
  }
46157
46157
  });
@@ -51360,11 +51360,11 @@ ${" ".repeat(indentSize)}`);
51360
51360
  }
51361
51361
  for (var name in all) {
51362
51362
  var type = all[name];
51363
- var match13 = query.match(type.regexp);
51364
- if (match13) {
51363
+ var match12 = query.match(type.regexp);
51364
+ if (match12) {
51365
51365
  node.type = name;
51366
51366
  for (var i = 0; i < type.matches.length; i++) {
51367
- node[type.matches[i]] = match13[i + 1];
51367
+ node[type.matches[i]] = match12[i + 1];
51368
51368
  }
51369
51369
  return node;
51370
51370
  }
@@ -54390,23 +54390,23 @@ ${" ".repeat(indentSize)}`);
54390
54390
  return null;
54391
54391
  }
54392
54392
  options = options || {};
54393
- var match13 = null;
54393
+ var match12 = null;
54394
54394
  if (!options.rtl) {
54395
- match13 = version.match(safeRe[t.COERCE]);
54395
+ match12 = version.match(safeRe[t.COERCE]);
54396
54396
  } else {
54397
54397
  var next;
54398
- while ((next = safeRe[t.COERCERTL].exec(version)) && (!match13 || match13.index + match13[0].length !== version.length)) {
54399
- if (!match13 || next.index + next[0].length !== match13.index + match13[0].length) {
54400
- match13 = next;
54398
+ while ((next = safeRe[t.COERCERTL].exec(version)) && (!match12 || match12.index + match12[0].length !== version.length)) {
54399
+ if (!match12 || next.index + next[0].length !== match12.index + match12[0].length) {
54400
+ match12 = next;
54401
54401
  }
54402
54402
  safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;
54403
54403
  }
54404
54404
  safeRe[t.COERCERTL].lastIndex = -1;
54405
54405
  }
54406
- if (match13 === null) {
54406
+ if (match12 === null) {
54407
54407
  return null;
54408
54408
  }
54409
- return parse3(match13[2] + "." + (match13[3] || "0") + "." + (match13[4] || "0"), options);
54409
+ return parse3(match12[2] + "." + (match12[3] || "0") + "." + (match12[4] || "0"), options);
54410
54410
  }
54411
54411
  }
54412
54412
  });
@@ -58853,8 +58853,8 @@ See https://babeljs.io/docs/configuration#print-effective-configs for more info.
58853
58853
  const lastComment = extractComments(EXTERNAL_SOURCEMAP_REGEX, ast);
58854
58854
  if (typeof options.filename === "string" && lastComment) {
58855
58855
  try {
58856
- const match13 = EXTERNAL_SOURCEMAP_REGEX.exec(lastComment);
58857
- const inputMapContent = _fs().readFileSync(_path().resolve(_path().dirname(options.filename), match13[1]), "utf8");
58856
+ const match12 = EXTERNAL_SOURCEMAP_REGEX.exec(lastComment);
58857
+ const inputMapContent = _fs().readFileSync(_path().resolve(_path().dirname(options.filename), match12[1]), "utf8");
58858
58858
  inputMap = _convertSourceMap().fromJSON(inputMapContent);
58859
58859
  } catch (err) {
58860
58860
  debug("discarding unknown file input sourcemap", err);
@@ -63986,23 +63986,23 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
63986
63986
  return null;
63987
63987
  }
63988
63988
  options = options || {};
63989
- var match13 = null;
63989
+ var match12 = null;
63990
63990
  if (!options.rtl) {
63991
- match13 = version.match(safeRe[t.COERCE]);
63991
+ match12 = version.match(safeRe[t.COERCE]);
63992
63992
  } else {
63993
63993
  var next;
63994
- while ((next = safeRe[t.COERCERTL].exec(version)) && (!match13 || match13.index + match13[0].length !== version.length)) {
63995
- if (!match13 || next.index + next[0].length !== match13.index + match13[0].length) {
63996
- match13 = next;
63994
+ while ((next = safeRe[t.COERCERTL].exec(version)) && (!match12 || match12.index + match12[0].length !== version.length)) {
63995
+ if (!match12 || next.index + next[0].length !== match12.index + match12[0].length) {
63996
+ match12 = next;
63997
63997
  }
63998
63998
  safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;
63999
63999
  }
64000
64000
  safeRe[t.COERCERTL].lastIndex = -1;
64001
64001
  }
64002
- if (match13 === null) {
64002
+ if (match12 === null) {
64003
64003
  return null;
64004
64004
  }
64005
- return parse3(match13[2] + "." + (match13[3] || "0") + "." + (match13[4] || "0"), options);
64005
+ return parse3(match12[2] + "." + (match12[3] || "0") + "." + (match12[4] || "0"), options);
64006
64006
  }
64007
64007
  }
64008
64008
  });
@@ -66772,13 +66772,13 @@ module.exports = function(api) {
66772
66772
  var encodedSeparatorRegEx = /%2f|%5c/i;
66773
66773
  var emittedPackageWarnings = /* @__PURE__ */ new Set();
66774
66774
  var doubleSlashRegEx = /[/\\]{2}/;
66775
- function emitInvalidSegmentDeprecation(target, request, match13, packageJsonUrl, internal, base, isTarget) {
66775
+ function emitInvalidSegmentDeprecation(target, request, match12, packageJsonUrl, internal, base, isTarget) {
66776
66776
  if (_process().noDeprecation) {
66777
66777
  return;
66778
66778
  }
66779
66779
  const pjsonPath = (0, _url().fileURLToPath)(packageJsonUrl);
66780
66780
  const double = doubleSlashRegEx.exec(isTarget ? target : request) !== null;
66781
- _process().emitWarning(`Use of deprecated ${double ? "double slash" : "leading or trailing slash matching"} resolving "${target}" for module request "${request}" ${request === match13 ? "" : `matched to "${match13}" `}in the "${internal ? "imports" : "exports"}" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${(0, _url().fileURLToPath)(base)}` : ""}.`, "DeprecationWarning", "DEP0166");
66781
+ _process().emitWarning(`Use of deprecated ${double ? "double slash" : "leading or trailing slash matching"} resolving "${target}" for module request "${request}" ${request === match12 ? "" : `matched to "${match12}" `}in the "${internal ? "imports" : "exports"}" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${(0, _url().fileURLToPath)(base)}` : ""}.`, "DeprecationWarning", "DEP0166");
66782
66782
  }
66783
66783
  function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main) {
66784
66784
  if (_process().noDeprecation) {
@@ -66888,16 +66888,16 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
66888
66888
  function exportsNotFound(subpath, packageJsonUrl, base) {
66889
66889
  return new ERR_PACKAGE_PATH_NOT_EXPORTED((0, _url().fileURLToPath)(new (_url()).URL(".", packageJsonUrl)), subpath, base && (0, _url().fileURLToPath)(base));
66890
66890
  }
66891
- function throwInvalidSubpath(request, match13, packageJsonUrl, internal, base) {
66892
- const reason = `request is not a valid match in pattern "${match13}" for the "${internal ? "imports" : "exports"}" resolution of ${(0, _url().fileURLToPath)(packageJsonUrl)}`;
66891
+ function throwInvalidSubpath(request, match12, packageJsonUrl, internal, base) {
66892
+ const reason = `request is not a valid match in pattern "${match12}" for the "${internal ? "imports" : "exports"}" resolution of ${(0, _url().fileURLToPath)(packageJsonUrl)}`;
66893
66893
  throw new ERR_INVALID_MODULE_SPECIFIER(request, reason, base && (0, _url().fileURLToPath)(base));
66894
66894
  }
66895
66895
  function invalidPackageTarget(subpath, target, packageJsonUrl, internal, base) {
66896
66896
  target = typeof target === "object" && target !== null ? JSON.stringify(target, null, "") : `${target}`;
66897
66897
  return new ERR_INVALID_PACKAGE_TARGET((0, _url().fileURLToPath)(new (_url()).URL(".", packageJsonUrl)), subpath, target, internal, base && (0, _url().fileURLToPath)(base));
66898
66898
  }
66899
- function resolvePackageTargetString(target, subpath, match13, packageJsonUrl, base, pattern, internal, isPathMap, conditions) {
66900
- if (subpath !== "" && !pattern && target[target.length - 1] !== "/") throw invalidPackageTarget(match13, target, packageJsonUrl, internal, base);
66899
+ function resolvePackageTargetString(target, subpath, match12, packageJsonUrl, base, pattern, internal, isPathMap, conditions) {
66900
+ if (subpath !== "" && !pattern && target[target.length - 1] !== "/") throw invalidPackageTarget(match12, target, packageJsonUrl, internal, base);
66901
66901
  if (!target.startsWith("./")) {
66902
66902
  if (internal && !target.startsWith("../") && !target.startsWith("/")) {
66903
66903
  let isURL2 = false;
@@ -66911,33 +66911,33 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
66911
66911
  return packageResolve(exportTarget, packageJsonUrl, conditions);
66912
66912
  }
66913
66913
  }
66914
- throw invalidPackageTarget(match13, target, packageJsonUrl, internal, base);
66914
+ throw invalidPackageTarget(match12, target, packageJsonUrl, internal, base);
66915
66915
  }
66916
66916
  if (invalidSegmentRegEx.exec(target.slice(2)) !== null) {
66917
66917
  if (deprecatedInvalidSegmentRegEx.exec(target.slice(2)) === null) {
66918
66918
  if (!isPathMap) {
66919
- const request = pattern ? match13.replace("*", () => subpath) : match13 + subpath;
66919
+ const request = pattern ? match12.replace("*", () => subpath) : match12 + subpath;
66920
66920
  const resolvedTarget = pattern ? RegExpPrototypeSymbolReplace.call(patternRegEx, target, () => subpath) : target;
66921
- emitInvalidSegmentDeprecation(resolvedTarget, request, match13, packageJsonUrl, internal, base, true);
66921
+ emitInvalidSegmentDeprecation(resolvedTarget, request, match12, packageJsonUrl, internal, base, true);
66922
66922
  }
66923
66923
  } else {
66924
- throw invalidPackageTarget(match13, target, packageJsonUrl, internal, base);
66924
+ throw invalidPackageTarget(match12, target, packageJsonUrl, internal, base);
66925
66925
  }
66926
66926
  }
66927
66927
  const resolved = new (_url()).URL(target, packageJsonUrl);
66928
66928
  const resolvedPath = resolved.pathname;
66929
66929
  const packagePath = new (_url()).URL(".", packageJsonUrl).pathname;
66930
- if (!resolvedPath.startsWith(packagePath)) throw invalidPackageTarget(match13, target, packageJsonUrl, internal, base);
66930
+ if (!resolvedPath.startsWith(packagePath)) throw invalidPackageTarget(match12, target, packageJsonUrl, internal, base);
66931
66931
  if (subpath === "") return resolved;
66932
66932
  if (invalidSegmentRegEx.exec(subpath) !== null) {
66933
- const request = pattern ? match13.replace("*", () => subpath) : match13 + subpath;
66933
+ const request = pattern ? match12.replace("*", () => subpath) : match12 + subpath;
66934
66934
  if (deprecatedInvalidSegmentRegEx.exec(subpath) === null) {
66935
66935
  if (!isPathMap) {
66936
66936
  const resolvedTarget = pattern ? RegExpPrototypeSymbolReplace.call(patternRegEx, target, () => subpath) : target;
66937
- emitInvalidSegmentDeprecation(resolvedTarget, request, match13, packageJsonUrl, internal, base, false);
66937
+ emitInvalidSegmentDeprecation(resolvedTarget, request, match12, packageJsonUrl, internal, base, false);
66938
66938
  }
66939
66939
  } else {
66940
- throwInvalidSubpath(request, match13, packageJsonUrl, internal, base);
66940
+ throwInvalidSubpath(request, match12, packageJsonUrl, internal, base);
66941
66941
  }
66942
66942
  }
66943
66943
  if (pattern) {
@@ -67026,14 +67026,14 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
67026
67026
  }
67027
67027
  return isConditionalSugar;
67028
67028
  }
67029
- function emitTrailingSlashPatternDeprecation(match13, pjsonUrl, base) {
67029
+ function emitTrailingSlashPatternDeprecation(match12, pjsonUrl, base) {
67030
67030
  if (_process().noDeprecation) {
67031
67031
  return;
67032
67032
  }
67033
67033
  const pjsonPath = (0, _url().fileURLToPath)(pjsonUrl);
67034
- if (emittedPackageWarnings.has(pjsonPath + "|" + match13)) return;
67035
- emittedPackageWarnings.add(pjsonPath + "|" + match13);
67036
- _process().emitWarning(`Use of deprecated trailing slash pattern mapping "${match13}" in the "exports" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${(0, _url().fileURLToPath)(base)}` : ""}. Mapping specifiers ending in "/" is no longer supported.`, "DeprecationWarning", "DEP0155");
67034
+ if (emittedPackageWarnings.has(pjsonPath + "|" + match12)) return;
67035
+ emittedPackageWarnings.add(pjsonPath + "|" + match12);
67036
+ _process().emitWarning(`Use of deprecated trailing slash pattern mapping "${match12}" in the "exports" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${(0, _url().fileURLToPath)(base)}` : ""}. Mapping specifiers ending in "/" is no longer supported.`, "DeprecationWarning", "DEP0155");
67037
67037
  }
67038
67038
  function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions) {
67039
67039
  let exports3 = packageConfig.exports;
@@ -70049,7 +70049,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
70049
70049
  var makeRe = (pattern, options = {}) => new Minimatch(pattern, options).makeRe();
70050
70050
  exports2.makeRe = makeRe;
70051
70051
  exports2.minimatch.makeRe = exports2.makeRe;
70052
- var match13 = (list, pattern, options = {}) => {
70052
+ var match12 = (list, pattern, options = {}) => {
70053
70053
  const mm = new Minimatch(pattern, options);
70054
70054
  list = list.filter((f) => mm.match(f));
70055
70055
  if (mm.options.nonull && !list.length) {
@@ -70057,7 +70057,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
70057
70057
  }
70058
70058
  return list;
70059
70059
  };
70060
- exports2.match = match13;
70060
+ exports2.match = match12;
70061
70061
  exports2.minimatch.match = exports2.match;
70062
70062
  var globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/;
70063
70063
  var regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
@@ -76841,10 +76841,10 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
76841
76841
  });
76842
76842
  }
76843
76843
  let shouldIndentNextCharacter = options.indentStart !== false;
76844
- const replacer = (match13) => {
76845
- if (shouldIndentNextCharacter) return `${indentStr}${match13}`;
76844
+ const replacer = (match12) => {
76845
+ if (shouldIndentNextCharacter) return `${indentStr}${match12}`;
76846
76846
  shouldIndentNextCharacter = true;
76847
- return match13;
76847
+ return match12;
76848
76848
  };
76849
76849
  this.intro = this.intro.replace(pattern, replacer);
76850
76850
  let charIndex = 0;
@@ -77232,44 +77232,44 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
77232
77232
  return this.original !== this.toString();
77233
77233
  }
77234
77234
  _replaceRegexp(searchValue, replacement) {
77235
- function getReplacement(match13, str) {
77235
+ function getReplacement(match12, str) {
77236
77236
  if (typeof replacement === "string") {
77237
77237
  return replacement.replace(/\$(\$|&|\d+)/g, (_, i) => {
77238
77238
  if (i === "$") return "$";
77239
- if (i === "&") return match13[0];
77239
+ if (i === "&") return match12[0];
77240
77240
  const num = +i;
77241
- if (num < match13.length) return match13[+i];
77241
+ if (num < match12.length) return match12[+i];
77242
77242
  return `$${i}`;
77243
77243
  });
77244
77244
  } else {
77245
- return replacement(...match13, match13.index, str, match13.groups);
77245
+ return replacement(...match12, match12.index, str, match12.groups);
77246
77246
  }
77247
77247
  }
77248
77248
  function matchAll(re, str) {
77249
- let match13;
77249
+ let match12;
77250
77250
  const matches = [];
77251
- while (match13 = re.exec(str)) {
77252
- matches.push(match13);
77251
+ while (match12 = re.exec(str)) {
77252
+ matches.push(match12);
77253
77253
  }
77254
77254
  return matches;
77255
77255
  }
77256
77256
  if (searchValue.global) {
77257
77257
  const matches = matchAll(searchValue, this.original);
77258
- matches.forEach((match13) => {
77259
- if (match13.index != null)
77258
+ matches.forEach((match12) => {
77259
+ if (match12.index != null)
77260
77260
  this.overwrite(
77261
- match13.index,
77262
- match13.index + match13[0].length,
77263
- getReplacement(match13, this.original)
77261
+ match12.index,
77262
+ match12.index + match12[0].length,
77263
+ getReplacement(match12, this.original)
77264
77264
  );
77265
77265
  });
77266
77266
  } else {
77267
- const match13 = this.original.match(searchValue);
77268
- if (match13 && match13.index != null)
77267
+ const match12 = this.original.match(searchValue);
77268
+ if (match12 && match12.index != null)
77269
77269
  this.overwrite(
77270
- match13.index,
77271
- match13.index + match13[0].length,
77272
- getReplacement(match13, this.original)
77270
+ match12.index,
77271
+ match12.index + match12[0].length,
77272
+ getReplacement(match12, this.original)
77273
77273
  );
77274
77274
  }
77275
77275
  return this;
@@ -77473,8 +77473,8 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
77473
77473
  trailingNewline = source2.content.lastChar() === "\n";
77474
77474
  });
77475
77475
  if (this.intro) {
77476
- this.intro = indentStr + this.intro.replace(/^[^\n]/gm, (match13, index) => {
77477
- return index > 0 ? indentStr + match13 : match13;
77476
+ this.intro = indentStr + this.intro.replace(/^[^\n]/gm, (match12, index) => {
77477
+ return index > 0 ? indentStr + match12 : match12;
77478
77478
  });
77479
77479
  }
77480
77480
  return this;
@@ -77755,8 +77755,8 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
77755
77755
  exports2.escapeRegex = (str) => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, "\\$1");
77756
77756
  exports2.toPosixSlashes = (str) => str.replace(REGEX_BACKSLASH, "/");
77757
77757
  exports2.removeBackslashes = (str) => {
77758
- return str.replace(REGEX_REMOVE_BACKSLASH, (match13) => {
77759
- return match13 === "\\" ? "" : match13;
77758
+ return str.replace(REGEX_REMOVE_BACKSLASH, (match12) => {
77759
+ return match12 === "\\" ? "" : match12;
77760
77760
  });
77761
77761
  };
77762
77762
  exports2.supportsLookbehinds = () => {
@@ -78373,10 +78373,10 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
78373
78373
  push2({ type: "text", value: value2 });
78374
78374
  continue;
78375
78375
  }
78376
- const match13 = /^\\+/.exec(remaining());
78376
+ const match12 = /^\\+/.exec(remaining());
78377
78377
  let slashes = 0;
78378
- if (match13 && match13[0].length > 2) {
78379
- slashes = match13[0].length;
78378
+ if (match12 && match12[0].length > 2) {
78379
+ slashes = match12[0].length;
78380
78380
  state.index += slashes;
78381
78381
  if (slashes % 2 !== 0) {
78382
78382
  value2 += "\\";
@@ -78664,10 +78664,10 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
78664
78664
  if (value2 === "$" || value2 === "^") {
78665
78665
  value2 = `\\${value2}`;
78666
78666
  }
78667
- const match13 = REGEX_NON_SPECIAL_CHARS.exec(remaining());
78668
- if (match13) {
78669
- value2 += match13[0];
78670
- state.index += match13[0].length;
78667
+ const match12 = REGEX_NON_SPECIAL_CHARS.exec(remaining());
78668
+ if (match12) {
78669
+ value2 += match12[0];
78670
+ state.index += match12[0].length;
78671
78671
  }
78672
78672
  push2({ type: "text", value: value2 });
78673
78673
  continue;
@@ -78878,11 +78878,11 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
78878
78878
  case "**/.*":
78879
78879
  return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${DOT_LITERAL}${ONE_CHAR}${star}`;
78880
78880
  default: {
78881
- const match13 = /^(.*?)\.(\w+)$/.exec(str);
78882
- if (!match13) return;
78883
- const source3 = create(match13[1]);
78881
+ const match12 = /^(.*?)\.(\w+)$/.exec(str);
78882
+ if (!match12) return;
78883
+ const source3 = create(match12[1]);
78884
78884
  if (!source3) return;
78885
- return source3 + DOT_LITERAL + match13[2];
78885
+ return source3 + DOT_LITERAL + match12[2];
78886
78886
  }
78887
78887
  }
78888
78888
  };
@@ -78932,8 +78932,8 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
78932
78932
  isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);
78933
78933
  }
78934
78934
  const matcher = (input, returnObject = false) => {
78935
- const { isMatch, match: match13, output } = picomatch.test(input, regex, options, { glob, posix });
78936
- const result = { glob, state, regex, posix, input, output, match: match13, isMatch };
78935
+ const { isMatch, match: match12, output } = picomatch.test(input, regex, options, { glob, posix });
78936
+ const result = { glob, state, regex, posix, input, output, match: match12, isMatch };
78937
78937
  if (typeof opts.onResult === "function") {
78938
78938
  opts.onResult(result);
78939
78939
  }
@@ -78967,20 +78967,20 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
78967
78967
  }
78968
78968
  const opts = options || {};
78969
78969
  const format = opts.format || (posix ? utils.toPosixSlashes : null);
78970
- let match13 = input === glob;
78971
- let output = match13 && format ? format(input) : input;
78972
- if (match13 === false) {
78970
+ let match12 = input === glob;
78971
+ let output = match12 && format ? format(input) : input;
78972
+ if (match12 === false) {
78973
78973
  output = format ? format(input) : input;
78974
- match13 = output === glob;
78974
+ match12 = output === glob;
78975
78975
  }
78976
- if (match13 === false || opts.capture === true) {
78976
+ if (match12 === false || opts.capture === true) {
78977
78977
  if (opts.matchBase === true || opts.basename === true) {
78978
- match13 = picomatch.matchBase(input, regex, options, posix);
78978
+ match12 = picomatch.matchBase(input, regex, options, posix);
78979
78979
  } else {
78980
- match13 = regex.exec(output);
78980
+ match12 = regex.exec(output);
78981
78981
  }
78982
78982
  }
78983
- return { isMatch: Boolean(match13), match: match13, output };
78983
+ return { isMatch: Boolean(match12), match: match12, output };
78984
78984
  };
78985
78985
  picomatch.matchBase = (input, glob, options, posix = utils.isWindows(options)) => {
78986
78986
  const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
@@ -79481,8 +79481,8 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
79481
79481
  exports2.escapeRegex = (str) => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, "\\$1");
79482
79482
  exports2.toPosixSlashes = (str) => str.replace(REGEX_BACKSLASH, "/");
79483
79483
  exports2.removeBackslashes = (str) => {
79484
- return str.replace(REGEX_REMOVE_BACKSLASH, (match13) => {
79485
- return match13 === "\\" ? "" : match13;
79484
+ return str.replace(REGEX_REMOVE_BACKSLASH, (match12) => {
79485
+ return match12 === "\\" ? "" : match12;
79486
79486
  });
79487
79487
  };
79488
79488
  exports2.supportsLookbehinds = () => {
@@ -80099,10 +80099,10 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
80099
80099
  push2({ type: "text", value: value2 });
80100
80100
  continue;
80101
80101
  }
80102
- const match13 = /^\\+/.exec(remaining());
80102
+ const match12 = /^\\+/.exec(remaining());
80103
80103
  let slashes = 0;
80104
- if (match13 && match13[0].length > 2) {
80105
- slashes = match13[0].length;
80104
+ if (match12 && match12[0].length > 2) {
80105
+ slashes = match12[0].length;
80106
80106
  state.index += slashes;
80107
80107
  if (slashes % 2 !== 0) {
80108
80108
  value2 += "\\";
@@ -80390,10 +80390,10 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
80390
80390
  if (value2 === "$" || value2 === "^") {
80391
80391
  value2 = `\\${value2}`;
80392
80392
  }
80393
- const match13 = REGEX_NON_SPECIAL_CHARS.exec(remaining());
80394
- if (match13) {
80395
- value2 += match13[0];
80396
- state.index += match13[0].length;
80393
+ const match12 = REGEX_NON_SPECIAL_CHARS.exec(remaining());
80394
+ if (match12) {
80395
+ value2 += match12[0];
80396
+ state.index += match12[0].length;
80397
80397
  }
80398
80398
  push2({ type: "text", value: value2 });
80399
80399
  continue;
@@ -80604,11 +80604,11 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
80604
80604
  case "**/.*":
80605
80605
  return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${DOT_LITERAL}${ONE_CHAR}${star}`;
80606
80606
  default: {
80607
- const match13 = /^(.*?)\.(\w+)$/.exec(str);
80608
- if (!match13) return;
80609
- const source3 = create(match13[1]);
80607
+ const match12 = /^(.*?)\.(\w+)$/.exec(str);
80608
+ if (!match12) return;
80609
+ const source3 = create(match12[1]);
80610
80610
  if (!source3) return;
80611
- return source3 + DOT_LITERAL + match13[2];
80611
+ return source3 + DOT_LITERAL + match12[2];
80612
80612
  }
80613
80613
  }
80614
80614
  };
@@ -80658,8 +80658,8 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
80658
80658
  isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);
80659
80659
  }
80660
80660
  const matcher = (input, returnObject = false) => {
80661
- const { isMatch, match: match13, output } = picomatch.test(input, regex, options, { glob, posix });
80662
- const result = { glob, state, regex, posix, input, output, match: match13, isMatch };
80661
+ const { isMatch, match: match12, output } = picomatch.test(input, regex, options, { glob, posix });
80662
+ const result = { glob, state, regex, posix, input, output, match: match12, isMatch };
80663
80663
  if (typeof opts.onResult === "function") {
80664
80664
  opts.onResult(result);
80665
80665
  }
@@ -80693,20 +80693,20 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
80693
80693
  }
80694
80694
  const opts = options || {};
80695
80695
  const format = opts.format || (posix ? utils.toPosixSlashes : null);
80696
- let match13 = input === glob;
80697
- let output = match13 && format ? format(input) : input;
80698
- if (match13 === false) {
80696
+ let match12 = input === glob;
80697
+ let output = match12 && format ? format(input) : input;
80698
+ if (match12 === false) {
80699
80699
  output = format ? format(input) : input;
80700
- match13 = output === glob;
80700
+ match12 = output === glob;
80701
80701
  }
80702
- if (match13 === false || opts.capture === true) {
80702
+ if (match12 === false || opts.capture === true) {
80703
80703
  if (opts.matchBase === true || opts.basename === true) {
80704
- match13 = picomatch.matchBase(input, regex, options, posix);
80704
+ match12 = picomatch.matchBase(input, regex, options, posix);
80705
80705
  } else {
80706
- match13 = regex.exec(output);
80706
+ match12 = regex.exec(output);
80707
80707
  }
80708
80708
  }
80709
- return { isMatch: Boolean(match13), match: match13, output };
80709
+ return { isMatch: Boolean(match12), match: match12, output };
80710
80710
  };
80711
80711
  picomatch.matchBase = (input, glob, options, posix = utils.isWindows(options)) => {
80712
80712
  const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
@@ -80865,10 +80865,10 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
80865
80865
  if (typeof str !== "string" || str === "") {
80866
80866
  return false;
80867
80867
  }
80868
- var match13;
80869
- while (match13 = /(\\).|([@?!+*]\(.*\))/g.exec(str)) {
80870
- if (match13[2]) return true;
80871
- str = str.slice(match13.index + match13[0].length);
80868
+ var match12;
80869
+ while (match12 = /(\\).|([@?!+*]\(.*\))/g.exec(str)) {
80870
+ if (match12[2]) return true;
80871
+ str = str.slice(match12.index + match12[0].length);
80872
80872
  }
80873
80873
  return false;
80874
80874
  };
@@ -84614,17 +84614,17 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
84614
84614
  for (; ; ) {
84615
84615
  skipWhiteSpace.lastIndex = start;
84616
84616
  start += skipWhiteSpace.exec(this.input)[0].length;
84617
- var match13 = literal2.exec(this.input.slice(start));
84618
- if (!match13) {
84617
+ var match12 = literal2.exec(this.input.slice(start));
84618
+ if (!match12) {
84619
84619
  return false;
84620
84620
  }
84621
- if ((match13[1] || match13[2]) === "use strict") {
84622
- skipWhiteSpace.lastIndex = start + match13[0].length;
84621
+ if ((match12[1] || match12[2]) === "use strict") {
84622
+ skipWhiteSpace.lastIndex = start + match12[0].length;
84623
84623
  var spaceAfter = skipWhiteSpace.exec(this.input), end = spaceAfter.index + spaceAfter[0].length;
84624
84624
  var next = this.input.charAt(end);
84625
84625
  return next === ";" || next === "}" || lineBreak.test(spaceAfter[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(next) || next === "!" && this.input.charAt(end + 1) === "=");
84626
84626
  }
84627
- start += match13[0].length;
84627
+ start += match12[0].length;
84628
84628
  skipWhiteSpace.lastIndex = start;
84629
84629
  start += skipWhiteSpace.exec(this.input)[0].length;
84630
84630
  if (this.input[start] === ";") {
@@ -90070,17 +90070,17 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
90070
90070
  var streamChunksOfRawSource = (source2, onChunk, onSource, onName) => {
90071
90071
  let line2 = 1;
90072
90072
  const matches = splitIntoLines(source2);
90073
- let match13;
90074
- for (match13 of matches) {
90075
- onChunk(match13, line2, 0, -1, -1, -1, -1);
90073
+ let match12;
90074
+ for (match12 of matches) {
90075
+ onChunk(match12, line2, 0, -1, -1, -1, -1);
90076
90076
  line2++;
90077
90077
  }
90078
- return matches.length === 0 || match13.endsWith("\n") ? {
90078
+ return matches.length === 0 || match12.endsWith("\n") ? {
90079
90079
  generatedLine: matches.length + 1,
90080
90080
  generatedColumn: 0
90081
90081
  } : {
90082
90082
  generatedLine: matches.length,
90083
- generatedColumn: match13.length
90083
+ generatedColumn: match12.length
90084
90084
  };
90085
90085
  };
90086
90086
  module2.exports = (source2, onChunk, onSource, onName, finalSource) => {
@@ -90514,19 +90514,19 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
90514
90514
  let line2 = 1;
90515
90515
  let column2 = 0;
90516
90516
  if (matches !== null) {
90517
- for (const match13 of matches) {
90518
- const isEndOfLine = match13.endsWith("\n");
90519
- if (isEndOfLine && match13.length === 1) {
90520
- if (!finalSource) onChunk(match13, line2, column2, -1, -1, -1, -1);
90517
+ for (const match12 of matches) {
90518
+ const isEndOfLine = match12.endsWith("\n");
90519
+ if (isEndOfLine && match12.length === 1) {
90520
+ if (!finalSource) onChunk(match12, line2, column2, -1, -1, -1, -1);
90521
90521
  } else {
90522
- const chunk = finalSource ? void 0 : match13;
90522
+ const chunk = finalSource ? void 0 : match12;
90523
90523
  onChunk(chunk, line2, column2, 0, line2, column2, -1);
90524
90524
  }
90525
90525
  if (isEndOfLine) {
90526
90526
  line2++;
90527
90527
  column2 = 0;
90528
90528
  } else {
90529
- column2 += match13.length;
90529
+ column2 += match12.length;
90530
90530
  }
90531
90531
  }
90532
90532
  }
@@ -90549,18 +90549,18 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
90549
90549
  } else {
90550
90550
  let line2 = 1;
90551
90551
  const matches = splitIntoLines(this._value);
90552
- let match13;
90553
- for (match13 of matches) {
90554
- onChunk(finalSource ? void 0 : match13, line2, 0, 0, line2, 0, -1);
90552
+ let match12;
90553
+ for (match12 of matches) {
90554
+ onChunk(finalSource ? void 0 : match12, line2, 0, 0, line2, 0, -1);
90555
90555
  line2++;
90556
90556
  }
90557
- return matches.length === 0 || match13.endsWith("\n") ? {
90557
+ return matches.length === 0 || match12.endsWith("\n") ? {
90558
90558
  generatedLine: matches.length + 1,
90559
90559
  generatedColumn: 0,
90560
90560
  source: finalSource ? this._value : void 0
90561
90561
  } : {
90562
90562
  generatedLine: matches.length,
90563
- generatedColumn: match13.length,
90563
+ generatedColumn: match12.length,
90564
90564
  source: finalSource ? this._value : void 0
90565
90565
  };
90566
90566
  }
@@ -92833,13 +92833,13 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
92833
92833
  return input.startsWith("/");
92834
92834
  }
92835
92835
  function parseAbsoluteUrl(input) {
92836
- const match13 = urlRegex.exec(input);
92836
+ const match12 = urlRegex.exec(input);
92837
92837
  return {
92838
- scheme: match13[1],
92839
- user: match13[2] || "",
92840
- host: match13[3],
92841
- port: match13[4] || "",
92842
- path: match13[5] || "/",
92838
+ scheme: match12[1],
92839
+ user: match12[2] || "",
92840
+ host: match12[3],
92841
+ port: match12[4] || "",
92842
+ path: match12[5] || "/",
92843
92843
  relativePath: false
92844
92844
  };
92845
92845
  }
@@ -94155,10 +94155,10 @@ Did you specify these with the most recent transformation maps first?`);
94155
94155
  const obj = {};
94156
94156
  let lines = src.toString();
94157
94157
  lines = lines.replace(/\r\n?/mg, "\n");
94158
- let match13;
94159
- while ((match13 = LINE.exec(lines)) != null) {
94160
- const key2 = match13[1];
94161
- let value2 = match13[2] || "";
94158
+ let match12;
94159
+ while ((match12 = LINE.exec(lines)) != null) {
94160
+ const key2 = match12[1];
94161
+ let value2 = match12[2] || "";
94162
94162
  value2 = value2.trim();
94163
94163
  const maybeQuote = value2[0];
94164
94164
  value2 = value2.replace(/^(['"`])([\s\S]*)\1$/mg, "$2");
@@ -95355,14 +95355,14 @@ Did you specify these with the most recent transformation maps first?`);
95355
95355
  return `${protocol}://${publicKey}${withPassword && pass ? `:${pass}` : ""}@${host}${port ? `:${port}` : ""}/${path2 ? `${path2}/` : path2}${projectId}`;
95356
95356
  }
95357
95357
  function dsnFromString2(str) {
95358
- const match13 = DSN_REGEX.exec(str);
95359
- if (!match13) {
95358
+ const match12 = DSN_REGEX.exec(str);
95359
+ if (!match12) {
95360
95360
  consoleSandbox(() => {
95361
95361
  console.error(`Invalid Sentry Dsn: ${str}`);
95362
95362
  });
95363
95363
  return void 0;
95364
95364
  }
95365
- const [protocol, publicKey, pass = "", host = "", port = "", lastPath = ""] = match13.slice(1);
95365
+ const [protocol, publicKey, pass = "", host = "", port = "", lastPath = ""] = match12.slice(1);
95366
95366
  let path2 = "";
95367
95367
  let projectId = lastPath;
95368
95368
  const split = projectId.split("/");
@@ -99713,9 +99713,9 @@ Reason: ${reason}`
99713
99713
  version = version.slice(1);
99714
99714
  }
99715
99715
  var regex = /^[\^~]?(\d+)(\.\d+)?(\.\d+)?(-.+)?/;
99716
- var match13 = version.match(regex);
99717
- if (match13) {
99718
- return parseInt(match13[1], 10);
99716
+ var match12 = version.match(regex);
99717
+ if (match12) {
99718
+ return parseInt(match12[1], 10);
99719
99719
  }
99720
99720
  var coerced = parseInt(version, 10);
99721
99721
  if (!Number.isNaN(coerced)) {
@@ -100370,9 +100370,9 @@ Reason: ${reason}`
100370
100370
  return _prepareBundleForDebugIdUpload.apply(this, arguments);
100371
100371
  }
100372
100372
  function determineDebugIdFromBundleSource(code) {
100373
- var match13 = code.match(/sentry-dbid-([0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12})/);
100374
- if (match13) {
100375
- return match13[1];
100373
+ var match12 = code.match(/sentry-dbid-([0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12})/);
100374
+ if (match12) {
100375
+ return match12[1];
100376
100376
  } else {
100377
100377
  return void 0;
100378
100378
  }
@@ -101533,9 +101533,9 @@ Reason: ${reason}`
101533
101533
  var ms = new MagicString__default["default"](code, {
101534
101534
  filename: chunk.fileName
101535
101535
  });
101536
- var match13 = (_code$match = code.match(COMMENT_USE_STRICT_REGEX)) === null || _code$match === void 0 ? void 0 : _code$match[0];
101537
- if (match13) {
101538
- ms.appendLeft(match13.length, codeToInject);
101536
+ var match12 = (_code$match = code.match(COMMENT_USE_STRICT_REGEX)) === null || _code$match === void 0 ? void 0 : _code$match[0];
101537
+ if (match12) {
101538
+ ms.appendLeft(match12.length, codeToInject);
101539
101539
  } else {
101540
101540
  ms.prepend(codeToInject);
101541
101541
  }
@@ -101565,9 +101565,9 @@ Reason: ${reason}`
101565
101565
  var ms = new MagicString__default["default"](code, {
101566
101566
  filename: chunk.fileName
101567
101567
  });
101568
- var match13 = (_code$match2 = code.match(COMMENT_USE_STRICT_REGEX)) === null || _code$match2 === void 0 ? void 0 : _code$match2[0];
101569
- if (match13) {
101570
- ms.appendLeft(match13.length, injectionCode);
101568
+ var match12 = (_code$match2 = code.match(COMMENT_USE_STRICT_REGEX)) === null || _code$match2 === void 0 ? void 0 : _code$match2[0];
101569
+ if (match12) {
101570
+ ms.appendLeft(match12.length, injectionCode);
101571
101571
  } else {
101572
101572
  ms.prepend(injectionCode);
101573
101573
  }
@@ -106188,11 +106188,11 @@ ${error.errors.map(formatZodIssue).join("\n")}`,
106188
106188
  };
106189
106189
  }
106190
106190
  function dsnFromString(str) {
106191
- const match13 = SENTRY_DSN_REGEX.exec(str);
106192
- if (!match13) {
106191
+ const match12 = SENTRY_DSN_REGEX.exec(str);
106192
+ if (!match12) {
106193
106193
  throw new Error("Invalid DSN");
106194
106194
  }
106195
- const [protocol, publicKey, pass = "", host = "", port = "", lastPath = ""] = match13.slice(1);
106195
+ const [protocol, publicKey, pass = "", host = "", port = "", lastPath = ""] = match12.slice(1);
106196
106196
  let path = "";
106197
106197
  let projectId = lastPath;
106198
106198
  const split = projectId.split("/");
@@ -106309,6 +106309,7 @@ init_esm_shims();
106309
106309
  // ../cli-astro-commands/src/components/DevCommand/DevCommand.tsx
106310
106310
  init_esm_shims();
106311
106311
  var import_react28 = __toESM(require_react(), 1);
106312
+ var import_variant16 = __toESM(require_lib(), 1);
106312
106313
 
106313
106314
  // ../cli-astro-commands/src/components/DevCommand/utils/runAstroDev.ts
106314
106315
  init_esm_shims();
@@ -106343,9 +106344,9 @@ function runAstroDev({
106343
106344
  for (const line of lines) {
106344
106345
  result.stdout?.emit(EVENT_LINE, line);
106345
106346
  if (line.includes("http://")) {
106346
- const match13 = /(http:\/\/[^\s]+)/.exec(line);
106347
- if (match13?.[1]) {
106348
- const address = stripAnsi(match13[1]).trim();
106347
+ const match12 = /(http:\/\/[^\s]+)/.exec(line);
106348
+ if (match12?.[1]) {
106349
+ const address = stripAnsi(match12[1]).trim();
106349
106350
  result.stdout?.emit(EVENT_SERVER_ADDRESS, address);
106350
106351
  }
106351
106352
  }
@@ -106531,8 +106532,7 @@ function useFetchDevMetadata() {
106531
106532
 
106532
106533
  // ../cli-astro-commands/src/components/DevCommand/SiteDevFlow.tsx
106533
106534
  init_esm_shims();
106534
- var import_react21 = __toESM(require_react(), 1);
106535
- var import_variant14 = __toESM(require_lib(), 1);
106535
+ var import_react8 = __toESM(require_react(), 1);
106536
106536
 
106537
106537
  // ../cli-astro-commands/src/components/DevCommand/DevScreenBorder.tsx
106538
106538
  init_esm_shims();
@@ -106554,13 +106554,18 @@ var DevScreenBorder = ({ children }) => {
106554
106554
  );
106555
106555
  };
106556
106556
 
106557
- // ../cli-astro-commands/src/site/index.ts
106557
+ // ../cli-astro-commands/src/components/DevCommand/SiteDev.tsx
106558
106558
  init_esm_shims();
106559
+ var import_react7 = __toESM(require_react(), 1);
106560
+ var import_variant5 = __toESM(require_lib(), 1);
106559
106561
 
106560
- // ../cli-astro-commands/src/site/SiteProvider.tsx
106562
+ // ../cli-astro-commands/src/components/DevCommand/hooks/useDevCenterUpdater.ts
106563
+ init_esm_shims();
106564
+ var import_react5 = __toESM(require_react(), 1);
106565
+ var import_variant3 = __toESM(require_lib(), 1);
106566
+
106567
+ // ../cli-astro-commands/src/files/app.config.ts
106561
106568
  init_esm_shims();
106562
- var import_react15 = __toESM(require_react(), 1);
106563
- var import_variant9 = __toESM(require_lib(), 1);
106564
106569
 
106565
106570
  // ../cli-app-definitions/src/index.ts
106566
106571
  init_esm_shims();
@@ -107129,7 +107134,6 @@ var siteComponentPanelConfigSchema = external_exports.object({
107129
107134
  }).strict();
107130
107135
 
107131
107136
  // ../cli-astro-commands/src/files/app.config.ts
107132
- init_esm_shims();
107133
107137
  async function readAppConfig(projectFolder, writeDebugLog) {
107134
107138
  const configPath = getAppConfigPath(projectFolder);
107135
107139
  const isConfigExist = await pathExists(configPath);
@@ -107157,18 +107161,344 @@ async function saveAppConfig(projectFolder, config) {
107157
107161
  await writeJson(getAppConfigPath(projectFolder), newConfig);
107158
107162
  }
107159
107163
 
107164
+ // ../cli-astro-commands/src/components/DevCommand/hooks/useFetchAppManifest.ts
107165
+ init_esm_shims();
107166
+ var import_react4 = __toESM(require_react(), 1);
107167
+
107168
+ // ../cli-astro-commands/src/components/DevCommand/utils/isTunnelRequired.ts
107169
+ init_esm_shims();
107170
+ function isTunnelRequired(appManifest) {
107171
+ for (const extension of appManifest.components) {
107172
+ const knownAppManifest = parseKnownExtensionManifest(extension);
107173
+ if (knownAppManifest != null && knownAppManifest.compType === ComponentType.WEBHOOK) {
107174
+ return !URL.canParse(knownAppManifest.compData.webhook.callbackUrl);
107175
+ }
107176
+ }
107177
+ return false;
107178
+ }
107179
+ function parseKnownExtensionManifest(extensionManifest) {
107180
+ const appManifestResult = looseComponentSchema.safeParse(extensionManifest);
107181
+ if (appManifestResult.error) {
107182
+ return null;
107183
+ }
107184
+ return appManifestResult.data;
107185
+ }
107186
+
107187
+ // ../cli-astro-commands/src/components/DevCommand/hooks/useFetchAppManifest.ts
107188
+ function useFetchAppManifest() {
107189
+ const http = useHttpClient({ type: "standalone" });
107190
+ return (0, import_react4.useCallback)(
107191
+ async (serverLocalUrl, devMetadata, baseUrl, tunnelUrl) => {
107192
+ const url = new URL("/_wix/app-manifest.json", serverLocalUrl);
107193
+ const { data: text } = await http.get(url.toString(), {
107194
+ responseType: "text",
107195
+ transitional: {
107196
+ silentJSONParsing: true,
107197
+ forcedJSONParsing: false,
107198
+ clarifyTimeoutError: false
107199
+ },
107200
+ disableWixHeaders: true
107201
+ });
107202
+ if (devMetadata != null) {
107203
+ const placeholders = /* @__PURE__ */ new Map();
107204
+ placeholders.set(devMetadata.staticsUrlPlaceholder, baseUrl);
107205
+ placeholders.set(devMetadata.serverUrlPlaceholder, tunnelUrl);
107206
+ return {
107207
+ manifest: parseLooseAppManifest(text, placeholders),
107208
+ isTunnelRequired: text.includes(devMetadata.serverUrlPlaceholder)
107209
+ };
107210
+ }
107211
+ const manifestV1 = parseLooseAppManifest(text);
107212
+ return {
107213
+ manifest: manifestV1,
107214
+ isTunnelRequired: isTunnelRequired(manifestV1)
107215
+ };
107216
+ },
107217
+ [http]
107218
+ );
107219
+ }
107220
+
107221
+ // ../cli-astro-commands/src/components/DevCommand/hooks/checkManifestForChanges.ts
107222
+ init_esm_shims();
107223
+ var import_variant2 = __toESM(require_lib(), 1);
107224
+ import { isDeepStrictEqual } from "node:util";
107225
+ var ManifestUpdateResult = (0, import_variant2.variant)({
107226
+ Changed: (0, import_variant2.fields)(),
107227
+ Unchanged: {}
107228
+ });
107229
+ function checkManifestForChanges(previous, latest) {
107230
+ if (previous == null) {
107231
+ return ManifestUpdateResult.Changed({
107232
+ shouldDistributeClientUpdate: false
107233
+ });
107234
+ }
107235
+ if (isDeepStrictEqual(previous, latest)) {
107236
+ return ManifestUpdateResult.Unchanged();
107237
+ }
107238
+ const oldComponentsMap = new Map(
107239
+ previous.components.map((comp) => [comp.compId, comp])
107240
+ );
107241
+ const changedComponents = latest.components.filter((newComp) => {
107242
+ const oldComp = oldComponentsMap.get(newComp.compId);
107243
+ return !isDeepStrictEqual(newComp, oldComp);
107244
+ });
107245
+ const editorComponentsChanged = changedComponents.filter(
107246
+ (comp) => comp.compType === ComponentType.PANEL || comp.compType === ComponentType.EDITOR_REACT_COMPONENT
107247
+ );
107248
+ return ManifestUpdateResult.Changed({
107249
+ shouldDistributeClientUpdate: editorComponentsChanged.length > 0
107250
+ });
107251
+ }
107252
+
107253
+ // ../cli-astro-commands/src/components/DevCommand/hooks/useDevCenterUpdater.ts
107254
+ var { pollInterval } = getTestOverrides();
107255
+ var useDevCenterUpdater = ({
107256
+ siteId,
107257
+ serverLocalUrl,
107258
+ serverExposedUrl,
107259
+ devMetadata
107260
+ }) => {
107261
+ const [devArmTag, setDevArmTag] = (0, import_react5.useState)();
107262
+ const [manifest, setManifest] = (0, import_react5.useState)(null);
107263
+ const writeToDebugLog = useDebugLog();
107264
+ const exit = useExit();
107265
+ const metasiteManagerClient = useMetasiteManagerClient({ siteId });
107266
+ const {
107267
+ model: { config, projectFolder, releaseAppId }
107268
+ } = useProjectModel();
107269
+ const { appId, projectType } = config;
107270
+ const logger = useAstroLogger({ isPrefixed: true });
107271
+ const devCenterOverrides = useDevCenterOverridesClient();
107272
+ const updateDeploymentTopology = useUpdateDeploymentTopology(siteId);
107273
+ const openTunnel = useTunnel();
107274
+ const tunnelUrl = (0, import_react5.useRef)();
107275
+ const [tunnelRequired, setTunnelRequired] = (0, import_react5.useState)(false);
107276
+ const fetchAppManifest = useFetchAppManifest();
107277
+ const updateDevCenter = (0, import_react5.useCallback)(
107278
+ async (latestManifest, isTunnelRequired2) => {
107279
+ const baseUrl = serverExposedUrl ?? serverLocalUrl;
107280
+ const manifestUpdateResult = checkManifestForChanges(
107281
+ manifest,
107282
+ latestManifest
107283
+ );
107284
+ if ((0, import_variant3.isType)(manifestUpdateResult, "Unchanged")) {
107285
+ return manifestUpdateResult;
107286
+ }
107287
+ if (!serverExposedUrl && !tunnelUrl.current && isTunnelRequired2) {
107288
+ const config2 = await readUserConfig();
107289
+ if (!config2.tunneling) {
107290
+ setTunnelRequired(true);
107291
+ return ManifestUpdateResult.Unchanged();
107292
+ }
107293
+ const serverLocalPort = parseInt(new URL(serverLocalUrl).port, 10);
107294
+ const tunnel = await openTunnel(serverLocalPort);
107295
+ tunnelUrl.current = tunnel.url;
107296
+ return ManifestUpdateResult.Unchanged();
107297
+ }
107298
+ const appConfig = await readAppConfig(projectFolder);
107299
+ let updatedDevArmTag = appConfig?.devArmTag;
107300
+ if (!updatedDevArmTag) {
107301
+ updatedDevArmTag = await devCenterOverrides.createLooseAppRelease(
107302
+ latestManifest,
107303
+ releaseAppId
107304
+ );
107305
+ } else {
107306
+ const updateState = await devCenterOverrides.updateLooseAppRelease(
107307
+ latestManifest,
107308
+ updatedDevArmTag
107309
+ );
107310
+ if (!(0, import_variant3.isType)(updateState, "TagUpdated")) {
107311
+ updatedDevArmTag = await devCenterOverrides.createLooseAppRelease(
107312
+ latestManifest,
107313
+ releaseAppId
107314
+ );
107315
+ }
107316
+ }
107317
+ if (updatedDevArmTag !== appConfig?.devArmTag) {
107318
+ await saveAppConfig(projectFolder, { devArmTag: updatedDevArmTag });
107319
+ }
107320
+ if ((0, import_variant3.isType)(manifestUpdateResult, "Changed") && manifestUpdateResult.shouldDistributeClientUpdate) {
107321
+ await metasiteManagerClient.distributeClientUpdate(appId);
107322
+ }
107323
+ setManifest(latestManifest);
107324
+ setDevArmTag(updatedDevArmTag);
107325
+ await updateDeploymentTopology({
107326
+ siteUrl: projectType === "Site" ? baseUrl : void 0,
107327
+ armTag: updatedDevArmTag,
107328
+ environment: "development"
107329
+ });
107330
+ return manifestUpdateResult;
107331
+ },
107332
+ [
107333
+ releaseAppId,
107334
+ manifest,
107335
+ metasiteManagerClient,
107336
+ serverLocalUrl,
107337
+ serverExposedUrl,
107338
+ devCenterOverrides,
107339
+ projectFolder,
107340
+ appId,
107341
+ updateDeploymentTopology,
107342
+ openTunnel,
107343
+ projectType
107344
+ ]
107345
+ );
107346
+ const [timer, setTimer] = (0, import_react5.useState)(Date.now());
107347
+ (0, import_react5.useEffect)(() => {
107348
+ let disposed = false;
107349
+ async function fetchAndUpdate() {
107350
+ const baseUrl = serverExposedUrl ?? serverLocalUrl;
107351
+ const { manifest: manifest2, isTunnelRequired: isTunnelRequired2 } = await fetchAppManifest(
107352
+ serverLocalUrl,
107353
+ devMetadata,
107354
+ baseUrl,
107355
+ tunnelUrl.current ?? baseUrl
107356
+ );
107357
+ try {
107358
+ const result = await updateDevCenter(manifest2, isTunnelRequired2);
107359
+ if ((0, import_variant3.isType)(result, "Changed")) {
107360
+ logger.log(
107361
+ "App Manifest updated. Refresh existing browser tabs to view the latest changes."
107362
+ );
107363
+ }
107364
+ } catch (error) {
107365
+ setManifest(manifest2);
107366
+ logger.log("Failed to update App Manifest");
107367
+ logger.log(`${error}`);
107368
+ writeToDebugLog(error);
107369
+ throw error;
107370
+ }
107371
+ }
107372
+ void fetchAndUpdate().catch((error) => {
107373
+ if (error instanceof Error && error.name === "TrustedAppIsNotMarkedAsInternal") {
107374
+ exit(error);
107375
+ }
107376
+ }).finally(() => {
107377
+ if (!disposed) {
107378
+ setTimeout(() => setTimer(Date.now()), pollInterval ?? 1e3);
107379
+ }
107380
+ });
107381
+ return () => {
107382
+ disposed = true;
107383
+ };
107384
+ }, [timer]);
107385
+ return { tunnelRequired, devArmTag };
107386
+ };
107387
+
107388
+ // ../cli-astro-commands/src/components/DevCommand/TunnelingConsent.tsx
107389
+ init_esm_shims();
107390
+ var import_react6 = __toESM(require_react(), 1);
107391
+ var import_variant4 = __toESM(require_lib(), 1);
107392
+ var TunnelingConsent = ({ required, children }) => {
107393
+ const exit = useExit();
107394
+ const [approved, setApproved] = (0, import_react6.useState)();
107395
+ const { status } = useAsync(async () => {
107396
+ const config = await readUserConfig();
107397
+ if (config.tunneling) {
107398
+ setApproved(true);
107399
+ }
107400
+ return config;
107401
+ }, []);
107402
+ if (!required || approved) {
107403
+ return children;
107404
+ }
107405
+ return /* @__PURE__ */ import_react6.default.createElement(import_react6.default.Fragment, null, (0, import_variant4.match)(status, {
107406
+ Success: () => /* @__PURE__ */ import_react6.default.createElement(
107407
+ ConfirmInput,
107408
+ {
107409
+ label: "To proceed, we'll set up a secure tunnel from your machine for development purposes",
107410
+ initialValue: true,
107411
+ onSubmit: async (approved2) => {
107412
+ setApproved(approved2);
107413
+ await updateUserConfig({ tunneling: approved2 });
107414
+ if (!approved2) {
107415
+ exit();
107416
+ }
107417
+ }
107418
+ }
107419
+ ),
107420
+ Error: () => null,
107421
+ Loading: () => null
107422
+ }), approved === false && /* @__PURE__ */ import_react6.default.createElement(Text, { skin: "error" }, "Operation aborted. Tunneling is necessary to run your application."));
107423
+ };
107424
+
107425
+ // ../cli-astro-commands/src/components/DevCommand/SiteDev.tsx
107426
+ var SiteDev = ({
107427
+ serverLocalUrl,
107428
+ serverExposedUrl,
107429
+ devMetadata
107430
+ }) => {
107431
+ const { appId, siteId } = useSiteConfig();
107432
+ const { tunnelRequired, devArmTag } = useDevCenterUpdater({
107433
+ siteId,
107434
+ serverLocalUrl,
107435
+ serverExposedUrl,
107436
+ devMetadata
107437
+ });
107438
+ const veloClient = useVeloClient();
107439
+ const { status: gitHubOnboardingStatus } = useAsync(
107440
+ () => veloClient.getGitHubOnboardingStatus(appId),
107441
+ [appId]
107442
+ );
107443
+ return /* @__PURE__ */ import_react7.default.createElement(import_react7.default.Fragment, null, /* @__PURE__ */ import_react7.default.createElement(Text, null, "Development environment ready"), /* @__PURE__ */ import_react7.default.createElement(Box_default, { rowGap: 1, marginY: 1, flexDirection: "column" }, /* @__PURE__ */ import_react7.default.createElement(TunnelingConsent, { required: tunnelRequired }, /* @__PURE__ */ import_react7.default.createElement(Text, null, "Open the preview on:"), /* @__PURE__ */ import_react7.default.createElement(Box_default, { paddingLeft: 2, flexDirection: "column" }, /* @__PURE__ */ import_react7.default.createElement(PlatformLink, { url: serverLocalUrl, label: "Site" }), devArmTag ? /* @__PURE__ */ import_react7.default.createElement(
107444
+ PlatformLink,
107445
+ {
107446
+ url: `https://manage.wix.com/dashboard/${siteId}?apps-override=${devArmTag}`,
107447
+ label: "Dashboard"
107448
+ }
107449
+ ) : /* @__PURE__ */ import_react7.default.createElement(Spinner, { text: "Preparing your dashboard..." }), (0, import_variant5.match)(gitHubOnboardingStatus, {
107450
+ Success: ({ result }) => result?.status === OnboardingState.GITHUB_ENABLED && /* @__PURE__ */ import_react7.default.createElement(
107451
+ PlatformLink,
107452
+ {
107453
+ url: `https://vibe.wix.com/projects/${siteId}`,
107454
+ label: "Editor"
107455
+ }
107456
+ ),
107457
+ Error: () => null,
107458
+ Loading: () => null
107459
+ })))));
107460
+ };
107461
+
107462
+ // ../cli-astro-commands/src/components/DevCommand/SiteDevFlow.tsx
107463
+ var SiteDevFlow = ({
107464
+ devMetadata,
107465
+ serverLocalUrl,
107466
+ serverExposedUrl
107467
+ }) => {
107468
+ return /* @__PURE__ */ import_react8.default.createElement(DevScreenBorder, null, /* @__PURE__ */ import_react8.default.createElement(
107469
+ SiteDev,
107470
+ {
107471
+ devMetadata,
107472
+ serverLocalUrl,
107473
+ serverExposedUrl
107474
+ }
107475
+ ));
107476
+ };
107477
+
107478
+ // ../cli-astro-commands/src/components/DevCommand/AppDevFlow.tsx
107479
+ init_esm_shims();
107480
+ var import_react27 = __toESM(require_react(), 1);
107481
+
107482
+ // ../cli-astro-commands/src/site/index.ts
107483
+ init_esm_shims();
107484
+
107485
+ // ../cli-astro-commands/src/site/SiteProvider.tsx
107486
+ init_esm_shims();
107487
+ var import_react20 = __toESM(require_react(), 1);
107488
+ var import_variant13 = __toESM(require_lib(), 1);
107489
+
107160
107490
  // ../cli-astro-commands/src/site/ResolveSite.tsx
107161
107491
  init_esm_shims();
107162
- var import_react13 = __toESM(require_react(), 1);
107163
- var import_variant7 = __toESM(require_lib(), 1);
107492
+ var import_react18 = __toESM(require_react(), 1);
107493
+ var import_variant11 = __toESM(require_lib(), 1);
107164
107494
 
107165
107495
  // ../cli-site-selector/src/index.ts
107166
107496
  init_esm_shims();
107167
107497
 
107168
107498
  // ../cli-site-selector/src/SiteSelector.tsx
107169
107499
  init_esm_shims();
107170
- var import_react12 = __toESM(require_react(), 1);
107171
- var import_variant6 = __toESM(require_lib(), 1);
107500
+ var import_react17 = __toESM(require_react(), 1);
107501
+ var import_variant10 = __toESM(require_lib(), 1);
107172
107502
 
107173
107503
  // ../site-list-client/src/index.ts
107174
107504
  init_esm_shims();
@@ -107392,21 +107722,21 @@ var SiteListClient = class {
107392
107722
 
107393
107723
  // ../site-list-client/src/useSiteListClient.ts
107394
107724
  init_esm_shims();
107395
- var import_react4 = __toESM(require_react(), 1);
107725
+ var import_react9 = __toESM(require_react(), 1);
107396
107726
  function useSiteListClient() {
107397
107727
  const httpClient = useHttpClient({ type: "backoffice" });
107398
- const client = (0, import_react4.useMemo)(() => new SiteListClient(httpClient), [httpClient]);
107728
+ const client = (0, import_react9.useMemo)(() => new SiteListClient(httpClient), [httpClient]);
107399
107729
  return usePanoramaMethodLogger(client);
107400
107730
  }
107401
107731
 
107402
107732
  // ../cli-site-selector/src/SiteTypeSelect.tsx
107403
107733
  init_esm_shims();
107404
- var import_react6 = __toESM(require_react(), 1);
107405
- var import_variant2 = __toESM(require_lib(), 1);
107734
+ var import_react11 = __toESM(require_react(), 1);
107735
+ var import_variant6 = __toESM(require_lib(), 1);
107406
107736
 
107407
107737
  // ../cli-site-selector/src/bi.ts
107408
107738
  init_esm_shims();
107409
- var import_react5 = __toESM(require_react(), 1);
107739
+ var import_react10 = __toESM(require_react(), 1);
107410
107740
  function siteSelectorBiEvents(biLogger) {
107411
107741
  return {
107412
107742
  cliAction: ({
@@ -107441,7 +107771,7 @@ function siteSelectorBiEvents(biLogger) {
107441
107771
  }
107442
107772
  function useSiteSelectorBi() {
107443
107773
  const biLogger = useBiLogger();
107444
- return (0, import_react5.useMemo)(() => siteSelectorBiEvents(biLogger), [biLogger]);
107774
+ return (0, import_react10.useMemo)(() => siteSelectorBiEvents(biLogger), [biLogger]);
107445
107775
  }
107446
107776
 
107447
107777
  // ../cli-site-selector/src/SiteTypeSelect.tsx
@@ -107461,13 +107791,13 @@ var SiteTypeSelect = ({ onSubmit, onError, sites }) => {
107461
107791
  });
107462
107792
  onSubmit(option.value);
107463
107793
  };
107464
- return (0, import_variant2.match)(status, {
107794
+ return (0, import_variant6.match)(status, {
107465
107795
  Error: () => null,
107466
- Loading: () => /* @__PURE__ */ import_react6.default.createElement(Spinner, { text: t("general.loading") }),
107796
+ Loading: () => /* @__PURE__ */ import_react11.default.createElement(Spinner, { text: t("general.loading") }),
107467
107797
  Success: ({ result: [devSitesCount, devSitesLimit] }) => {
107468
107798
  const isDevSitesLimitReached = devSitesCount >= devSitesLimit;
107469
107799
  const userHasNoSites = sites.length === 0;
107470
- return /* @__PURE__ */ import_react6.default.createElement(
107800
+ return /* @__PURE__ */ import_react11.default.createElement(
107471
107801
  SelectInput,
107472
107802
  {
107473
107803
  label: t("site_type_select.label"),
@@ -107498,17 +107828,17 @@ var SiteTypeSelect = ({ onSubmit, onError, sites }) => {
107498
107828
 
107499
107829
  // ../cli-site-selector/src/CreateDevSite.tsx
107500
107830
  init_esm_shims();
107501
- var import_react9 = __toESM(require_react(), 1);
107502
- var import_variant4 = __toESM(require_lib(), 1);
107831
+ var import_react14 = __toESM(require_react(), 1);
107832
+ var import_variant8 = __toESM(require_lib(), 1);
107503
107833
 
107504
107834
  // ../cli-site-selector/src/WaitForAppToBeInstalled.tsx
107505
107835
  init_esm_shims();
107506
- var import_react8 = __toESM(require_react(), 1);
107507
- var import_variant3 = __toESM(require_lib(), 1);
107836
+ var import_react13 = __toESM(require_react(), 1);
107837
+ var import_variant7 = __toESM(require_lib(), 1);
107508
107838
 
107509
107839
  // ../cli-site-selector/src/OpenBrowser.tsx
107510
107840
  init_esm_shims();
107511
- var import_react7 = __toESM(require_react(), 1);
107841
+ var import_react12 = __toESM(require_react(), 1);
107512
107842
  var OpenBrowser = ({ siteId, appId }) => {
107513
107843
  const { t } = useTranslation();
107514
107844
  const bi = useSiteSelectorBi();
@@ -107524,17 +107854,17 @@ var OpenBrowser = ({ siteId, appId }) => {
107524
107854
  );
107525
107855
  }
107526
107856
  });
107527
- return /* @__PURE__ */ import_react7.default.createElement(import_react7.default.Fragment, null, /* @__PURE__ */ import_react7.default.createElement(Trans, { i18nKey: "install_app_on_site.warning" }), /* @__PURE__ */ import_react7.default.createElement(
107857
+ return /* @__PURE__ */ import_react12.default.createElement(import_react12.default.Fragment, null, /* @__PURE__ */ import_react12.default.createElement(Trans, { i18nKey: "install_app_on_site.warning" }), /* @__PURE__ */ import_react12.default.createElement(
107528
107858
  Trans,
107529
107859
  {
107530
107860
  i18nKey: "install_app_on_site.warning.instructions",
107531
- components: [/* @__PURE__ */ import_react7.default.createElement(Key, { value: "Enter" })]
107861
+ components: [/* @__PURE__ */ import_react12.default.createElement(Key, { value: "Enter" })]
107532
107862
  }
107533
107863
  ));
107534
107864
  };
107535
107865
 
107536
107866
  // ../cli-site-selector/src/WaitForAppToBeInstalled.tsx
107537
- var AppInstallData = (0, import_variant3.variant)({
107867
+ var AppInstallData = (0, import_variant7.variant)({
107538
107868
  Success: {},
107539
107869
  Canceled: {}
107540
107870
  });
@@ -107578,16 +107908,16 @@ var WaitForAppToBeInstalled = ({
107578
107908
  {
107579
107909
  onError,
107580
107910
  onSuccess: (result) => {
107581
- if ((0, import_variant3.isType)(result, AppInstallData.Success)) {
107911
+ if ((0, import_variant7.isType)(result, AppInstallData.Success)) {
107582
107912
  onSubmit();
107583
107913
  }
107584
107914
  }
107585
107915
  }
107586
107916
  );
107587
- return (0, import_variant3.match)(status, {
107917
+ return (0, import_variant7.match)(status, {
107588
107918
  Error: () => null,
107589
- Loading: () => /* @__PURE__ */ import_react8.default.createElement(OpenBrowser, { siteId: site.id, appId }),
107590
- Success: () => /* @__PURE__ */ import_react8.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react8.default.createElement(Badge, { skin: "success" }, /* @__PURE__ */ import_react8.default.createElement(Trans, { i18nKey: "general.success" })), " ", /* @__PURE__ */ import_react8.default.createElement(Trans, { i18nKey: "install_app_on_site.finished_successfully" }))
107919
+ Loading: () => /* @__PURE__ */ import_react13.default.createElement(OpenBrowser, { siteId: site.id, appId }),
107920
+ Success: () => /* @__PURE__ */ import_react13.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react13.default.createElement(Badge, { skin: "success" }, /* @__PURE__ */ import_react13.default.createElement(Trans, { i18nKey: "general.success" })), " ", /* @__PURE__ */ import_react13.default.createElement(Trans, { i18nKey: "install_app_on_site.finished_successfully" }))
107591
107921
  });
107592
107922
  };
107593
107923
 
@@ -107599,18 +107929,18 @@ var CreateDevSite = ({
107599
107929
  onError
107600
107930
  }) => {
107601
107931
  const { t } = useTranslation();
107602
- return (0, import_variant4.match)(status, {
107932
+ return (0, import_variant8.match)(status, {
107603
107933
  NotRequested: () => null,
107604
107934
  Error: () => null,
107605
- Loading: () => /* @__PURE__ */ import_react9.default.createElement(Spinner, { text: t("create_dev_site.loading") }),
107606
- Success: ({ result }) => /* @__PURE__ */ import_react9.default.createElement(import_react9.default.Fragment, null, /* @__PURE__ */ import_react9.default.createElement(
107935
+ Loading: () => /* @__PURE__ */ import_react14.default.createElement(Spinner, { text: t("create_dev_site.loading") }),
107936
+ Success: ({ result }) => /* @__PURE__ */ import_react14.default.createElement(import_react14.default.Fragment, null, /* @__PURE__ */ import_react14.default.createElement(
107607
107937
  Trans,
107608
107938
  {
107609
107939
  i18nKey: "create_dev_site.success",
107610
- components: [/* @__PURE__ */ import_react9.default.createElement(Text, { skin: "success", bold: true })],
107940
+ components: [/* @__PURE__ */ import_react14.default.createElement(Text, { skin: "success", bold: true })],
107611
107941
  values: { name: result.displayName }
107612
107942
  }
107613
- ), /* @__PURE__ */ import_react9.default.createElement(
107943
+ ), /* @__PURE__ */ import_react14.default.createElement(
107614
107944
  WaitForAppToBeInstalled,
107615
107945
  {
107616
107946
  appId,
@@ -107624,16 +107954,16 @@ var CreateDevSite = ({
107624
107954
 
107625
107955
  // ../cli-site-selector/src/SelectExistingSite.tsx
107626
107956
  init_esm_shims();
107627
- var import_react11 = __toESM(require_react(), 1);
107628
- var import_variant5 = __toESM(require_lib(), 1);
107957
+ var import_react16 = __toESM(require_react(), 1);
107958
+ var import_variant9 = __toESM(require_lib(), 1);
107629
107959
 
107630
107960
  // ../cli-site-selector/src/SiteListSelect.tsx
107631
107961
  init_esm_shims();
107632
- var import_react10 = __toESM(require_react(), 1);
107962
+ var import_react15 = __toESM(require_react(), 1);
107633
107963
  var SiteListSelect = ({ onSubmit, sites }) => {
107634
107964
  const { t } = useTranslation();
107635
107965
  const bi = useSiteSelectorBi();
107636
- const handleSubmit = (0, import_react10.useCallback)(
107966
+ const handleSubmit = (0, import_react15.useCallback)(
107637
107967
  (option) => {
107638
107968
  bi.cliFlowStepAnswered({
107639
107969
  question: t("site_list_select.label"),
@@ -107643,7 +107973,7 @@ var SiteListSelect = ({ onSubmit, sites }) => {
107643
107973
  },
107644
107974
  [bi, onSubmit, t]
107645
107975
  );
107646
- return /* @__PURE__ */ import_react10.default.createElement(
107976
+ return /* @__PURE__ */ import_react15.default.createElement(
107647
107977
  SelectInput,
107648
107978
  {
107649
107979
  label: t("site_list_select.label"),
@@ -107670,14 +108000,14 @@ var CheckAppInstalledOnSite = ({ appId, site, onSubmit, onError }) => {
107670
108000
  }
107671
108001
  }
107672
108002
  });
107673
- return (0, import_variant5.match)(status, {
108003
+ return (0, import_variant9.match)(status, {
107674
108004
  Error: () => null,
107675
- Loading: () => /* @__PURE__ */ import_react11.default.createElement(Spinner, { text: t("general.loading") }),
108005
+ Loading: () => /* @__PURE__ */ import_react16.default.createElement(Spinner, { text: t("general.loading") }),
107676
108006
  Success: ({ result: isInstalled }) => {
107677
108007
  if (isInstalled) {
107678
108008
  return null;
107679
108009
  }
107680
- return /* @__PURE__ */ import_react11.default.createElement(
108010
+ return /* @__PURE__ */ import_react16.default.createElement(
107681
108011
  WaitForAppToBeInstalled,
107682
108012
  {
107683
108013
  appId,
@@ -107695,16 +108025,16 @@ var SelectExistingSite = ({
107695
108025
  onSubmit,
107696
108026
  onError
107697
108027
  }) => {
107698
- const [siteToInstallAppOn, setSiteToInstallAppOn] = (0, import_react11.useState)(
108028
+ const [siteToInstallAppOn, setSiteToInstallAppOn] = (0, import_react16.useState)(
107699
108029
  null
107700
108030
  );
107701
- return /* @__PURE__ */ import_react11.default.createElement(import_react11.default.Fragment, null, /* @__PURE__ */ import_react11.default.createElement(
108031
+ return /* @__PURE__ */ import_react16.default.createElement(import_react16.default.Fragment, null, /* @__PURE__ */ import_react16.default.createElement(
107702
108032
  SiteListSelect,
107703
108033
  {
107704
108034
  onSubmit: (site) => setSiteToInstallAppOn(site),
107705
108035
  sites
107706
108036
  }
107707
- ), siteToInstallAppOn && /* @__PURE__ */ import_react11.default.createElement(
108037
+ ), siteToInstallAppOn && /* @__PURE__ */ import_react16.default.createElement(
107708
108038
  CheckAppInstalledOnSite,
107709
108039
  {
107710
108040
  appId,
@@ -107739,7 +108069,7 @@ var SiteSelector = ({
107739
108069
  onSubmit,
107740
108070
  onError
107741
108071
  }) => {
107742
- const [siteType, setSiteType] = (0, import_react12.useState)(null);
108072
+ const [siteType, setSiteType] = (0, import_react17.useState)(null);
107743
108073
  const { createDevSite } = useDevCenterClient();
107744
108074
  const siteListClient = useSiteListClient();
107745
108075
  const { status } = useAsync(
@@ -107764,17 +108094,17 @@ var SiteSelector = ({
107764
108094
  void createSite.execute();
107765
108095
  }
107766
108096
  }
107767
- return /* @__PURE__ */ import_react12.default.createElement(BiProvider, { value: biLogger }, /* @__PURE__ */ import_react12.default.createElement(I18nProvider, { messages: messages_default }, (0, import_variant6.match)(status, {
108097
+ return /* @__PURE__ */ import_react17.default.createElement(BiProvider, { value: biLogger }, /* @__PURE__ */ import_react17.default.createElement(I18nProvider, { messages: messages_default }, (0, import_variant10.match)(status, {
107768
108098
  Error: () => null,
107769
- Loading: () => /* @__PURE__ */ import_react12.default.createElement(Spinner, { text: /* @__PURE__ */ import_react12.default.createElement(Trans, { i18nKey: "general.loading" }) }),
107770
- Success: ({ result: sites }) => /* @__PURE__ */ import_react12.default.createElement(import_react12.default.Fragment, null, /* @__PURE__ */ import_react12.default.createElement(
108099
+ Loading: () => /* @__PURE__ */ import_react17.default.createElement(Spinner, { text: /* @__PURE__ */ import_react17.default.createElement(Trans, { i18nKey: "general.loading" }) }),
108100
+ Success: ({ result: sites }) => /* @__PURE__ */ import_react17.default.createElement(import_react17.default.Fragment, null, /* @__PURE__ */ import_react17.default.createElement(
107771
108101
  SiteTypeSelect,
107772
108102
  {
107773
108103
  onSubmit: handleSelectSiteType,
107774
108104
  onError,
107775
108105
  sites
107776
108106
  }
107777
- ), siteType === "create-dev-site" && /* @__PURE__ */ import_react12.default.createElement(
108107
+ ), siteType === "create-dev-site" && /* @__PURE__ */ import_react17.default.createElement(
107778
108108
  CreateDevSite,
107779
108109
  {
107780
108110
  status: createSite.status,
@@ -107782,7 +108112,7 @@ var SiteSelector = ({
107782
108112
  onSubmit,
107783
108113
  onError
107784
108114
  }
107785
- ), siteType === "select-existing-site" && /* @__PURE__ */ import_react12.default.createElement(
108115
+ ), siteType === "select-existing-site" && /* @__PURE__ */ import_react17.default.createElement(
107786
108116
  SelectExistingSite,
107787
108117
  {
107788
108118
  sites,
@@ -107799,11 +108129,11 @@ var ResolveSite = ({ state, onSubmit }) => {
107799
108129
  const exit = useExit();
107800
108130
  const { model } = useProjectModel();
107801
108131
  const biLogger = useBiLogger();
107802
- return /* @__PURE__ */ import_react13.default.createElement(import_react13.default.Fragment, null, (0, import_variant7.match)(state, {
107803
- NotConfigured: (0, import_variant7.constant)(
107804
- /* @__PURE__ */ import_react13.default.createElement(Alert, { type: "insight" }, "You don't have a Development Site currently configured")
108132
+ return /* @__PURE__ */ import_react18.default.createElement(import_react18.default.Fragment, null, (0, import_variant11.match)(state, {
108133
+ NotConfigured: (0, import_variant11.constant)(
108134
+ /* @__PURE__ */ import_react18.default.createElement(Alert, { type: "insight" }, "You don't have a Development Site currently configured")
107805
108135
  )
107806
- }), /* @__PURE__ */ import_react13.default.createElement(
108136
+ }), /* @__PURE__ */ import_react18.default.createElement(
107807
108137
  SiteSelector,
107808
108138
  {
107809
108139
  appId: model.config.appId,
@@ -107816,29 +108146,29 @@ var ResolveSite = ({ state, onSubmit }) => {
107816
108146
 
107817
108147
  // ../cli-astro-commands/src/site/context.ts
107818
108148
  init_esm_shims();
107819
- var import_react14 = __toESM(require_react(), 1);
107820
- var SiteContext = (0, import_react14.createContext)(null);
108149
+ var import_react19 = __toESM(require_react(), 1);
108150
+ var SiteContext = (0, import_react19.createContext)(null);
107821
108151
 
107822
108152
  // ../cli-astro-commands/src/site/site-state.ts
107823
108153
  init_esm_shims();
107824
- var import_variant8 = __toESM(require_lib(), 1);
107825
- var SiteState = (0, import_variant8.variant)({
108154
+ var import_variant12 = __toESM(require_lib(), 1);
108155
+ var SiteState = (0, import_variant12.variant)({
107826
108156
  NotConfigured: {},
107827
- Resolved: (0, import_variant8.fields)()
108157
+ Resolved: (0, import_variant12.fields)()
107828
108158
  });
107829
108159
 
107830
108160
  // ../cli-astro-commands/src/site/SiteProvider.tsx
107831
108161
  var SiteProvider = ({ children }) => {
107832
108162
  const exit = useExit();
107833
108163
  const {
107834
- model: { projectFolder, config }
108164
+ model: { projectFolder }
107835
108165
  } = useProjectModel();
107836
108166
  const writeDebugLog = useDebugLog();
107837
108167
  const { status, merge } = useAsync(async () => {
107838
- const siteId = config.projectType === "Site" ? config.siteId : (await readAppConfig(projectFolder, writeDebugLog))?.siteId;
108168
+ const siteId = (await readAppConfig(projectFolder, writeDebugLog))?.siteId;
107839
108169
  return siteId ? SiteState.Resolved({ siteId }) : SiteState.NotConfigured();
107840
108170
  }, []);
107841
- const setSite = (0, import_react15.useCallback)(
108171
+ const setSite = (0, import_react20.useCallback)(
107842
108172
  async (siteId) => {
107843
108173
  try {
107844
108174
  await saveAppConfig(projectFolder, { siteId });
@@ -107854,17 +108184,17 @@ var SiteProvider = ({ children }) => {
107854
108184
  },
107855
108185
  [merge, projectFolder]
107856
108186
  );
107857
- const handleResolveSite = (0, import_react15.useCallback)(
108187
+ const handleResolveSite = (0, import_react20.useCallback)(
107858
108188
  (siteId) => setSite(siteId).catch(exit),
107859
108189
  [exit, setSite]
107860
108190
  );
107861
- return (0, import_variant9.match)(status, {
108191
+ return (0, import_variant13.match)(status, {
107862
108192
  Error: () => null,
107863
- Loading: () => /* @__PURE__ */ import_react15.default.createElement(Spinner, { text: "Resolving development site..." }),
108193
+ Loading: () => /* @__PURE__ */ import_react20.default.createElement(Spinner, { text: "Resolving development site..." }),
107864
108194
  Success: ({ result: state }) => {
107865
- return (0, import_variant9.match)(state, {
107866
- NotConfigured: (variant6) => /* @__PURE__ */ import_react15.default.createElement(ResolveSite, { state: variant6, onSubmit: handleResolveSite }),
107867
- Resolved: ({ siteId }) => /* @__PURE__ */ import_react15.default.createElement(
108195
+ return (0, import_variant13.match)(state, {
108196
+ NotConfigured: (variant6) => /* @__PURE__ */ import_react20.default.createElement(ResolveSite, { state: variant6, onSubmit: handleResolveSite }),
108197
+ Resolved: ({ siteId }) => /* @__PURE__ */ import_react20.default.createElement(
107868
108198
  SiteContext.Provider,
107869
108199
  {
107870
108200
  value: {
@@ -107881,362 +108211,24 @@ var SiteProvider = ({ children }) => {
107881
108211
 
107882
108212
  // ../cli-astro-commands/src/site/useSite.ts
107883
108213
  init_esm_shims();
107884
- var import_react16 = __toESM(require_react(), 1);
108214
+ var import_react21 = __toESM(require_react(), 1);
107885
108215
  function useSite() {
107886
- const context = (0, import_react16.useContext)(SiteContext);
108216
+ const context = (0, import_react21.useContext)(SiteContext);
107887
108217
  if (context == null) {
107888
108218
  throw new Error("useSite() cannot be used without an <SiteProvider>");
107889
108219
  }
107890
108220
  return context;
107891
108221
  }
107892
108222
 
107893
- // ../cli-astro-commands/src/components/DevCommand/SiteDev.tsx
107894
- init_esm_shims();
107895
- var import_react20 = __toESM(require_react(), 1);
107896
- var import_variant13 = __toESM(require_lib(), 1);
107897
-
107898
- // ../cli-astro-commands/src/components/DevCommand/hooks/useDevCenterUpdater.ts
107899
- init_esm_shims();
107900
- var import_react18 = __toESM(require_react(), 1);
107901
- var import_variant11 = __toESM(require_lib(), 1);
107902
-
107903
- // ../cli-astro-commands/src/components/DevCommand/hooks/useFetchAppManifest.ts
107904
- init_esm_shims();
107905
- var import_react17 = __toESM(require_react(), 1);
107906
-
107907
- // ../cli-astro-commands/src/components/DevCommand/utils/isTunnelRequired.ts
107908
- init_esm_shims();
107909
- function isTunnelRequired(appManifest) {
107910
- for (const extension of appManifest.components) {
107911
- const knownAppManifest = parseKnownExtensionManifest(extension);
107912
- if (knownAppManifest != null && knownAppManifest.compType === ComponentType.WEBHOOK) {
107913
- return !URL.canParse(knownAppManifest.compData.webhook.callbackUrl);
107914
- }
107915
- }
107916
- return false;
107917
- }
107918
- function parseKnownExtensionManifest(extensionManifest) {
107919
- const appManifestResult = looseComponentSchema.safeParse(extensionManifest);
107920
- if (appManifestResult.error) {
107921
- return null;
107922
- }
107923
- return appManifestResult.data;
107924
- }
107925
-
107926
- // ../cli-astro-commands/src/components/DevCommand/hooks/useFetchAppManifest.ts
107927
- function useFetchAppManifest() {
107928
- const http = useHttpClient({ type: "standalone" });
107929
- return (0, import_react17.useCallback)(
107930
- async (serverLocalUrl, devMetadata, baseUrl, tunnelUrl) => {
107931
- const url = new URL("/_wix/app-manifest.json", serverLocalUrl);
107932
- const { data: text } = await http.get(url.toString(), {
107933
- responseType: "text",
107934
- transitional: {
107935
- silentJSONParsing: true,
107936
- forcedJSONParsing: false,
107937
- clarifyTimeoutError: false
107938
- },
107939
- disableWixHeaders: true
107940
- });
107941
- if (devMetadata != null) {
107942
- const placeholders = /* @__PURE__ */ new Map();
107943
- placeholders.set(devMetadata.staticsUrlPlaceholder, baseUrl);
107944
- placeholders.set(devMetadata.serverUrlPlaceholder, tunnelUrl);
107945
- return {
107946
- manifest: parseLooseAppManifest(text, placeholders),
107947
- isTunnelRequired: text.includes(devMetadata.serverUrlPlaceholder)
107948
- };
107949
- }
107950
- const manifestV1 = parseLooseAppManifest(text);
107951
- return {
107952
- manifest: manifestV1,
107953
- isTunnelRequired: isTunnelRequired(manifestV1)
107954
- };
107955
- },
107956
- [http]
107957
- );
107958
- }
107959
-
107960
- // ../cli-astro-commands/src/components/DevCommand/hooks/checkManifestForChanges.ts
107961
- init_esm_shims();
107962
- var import_variant10 = __toESM(require_lib(), 1);
107963
- import { isDeepStrictEqual } from "node:util";
107964
- var ManifestUpdateResult = (0, import_variant10.variant)({
107965
- Changed: (0, import_variant10.fields)(),
107966
- Unchanged: {}
107967
- });
107968
- function checkManifestForChanges(previous, latest) {
107969
- if (previous == null) {
107970
- return ManifestUpdateResult.Changed({
107971
- shouldDistributeClientUpdate: false
107972
- });
107973
- }
107974
- if (isDeepStrictEqual(previous, latest)) {
107975
- return ManifestUpdateResult.Unchanged();
107976
- }
107977
- const oldComponentsMap = new Map(
107978
- previous.components.map((comp) => [comp.compId, comp])
107979
- );
107980
- const changedComponents = latest.components.filter((newComp) => {
107981
- const oldComp = oldComponentsMap.get(newComp.compId);
107982
- return !isDeepStrictEqual(newComp, oldComp);
107983
- });
107984
- const editorComponentsChanged = changedComponents.filter(
107985
- (comp) => comp.compType === ComponentType.PANEL || comp.compType === ComponentType.EDITOR_REACT_COMPONENT
107986
- );
107987
- return ManifestUpdateResult.Changed({
107988
- shouldDistributeClientUpdate: editorComponentsChanged.length > 0
107989
- });
107990
- }
107991
-
107992
- // ../cli-astro-commands/src/components/DevCommand/hooks/useDevCenterUpdater.ts
107993
- var { pollInterval } = getTestOverrides();
107994
- var useDevCenterUpdater = ({
107995
- serverLocalUrl,
107996
- serverExposedUrl,
107997
- devMetadata
107998
- }) => {
107999
- const [devArmTag, setDevArmTag] = (0, import_react18.useState)();
108000
- const [manifest, setManifest] = (0, import_react18.useState)(null);
108001
- const writeToDebugLog = useDebugLog();
108002
- const { siteId } = useSite();
108003
- const exit = useExit();
108004
- const metasiteManagerClient = useMetasiteManagerClient({ siteId });
108005
- const {
108006
- model: { config, projectFolder, releaseAppId }
108007
- } = useProjectModel();
108008
- const { appId, projectType } = config;
108009
- const logger = useAstroLogger({ isPrefixed: true });
108010
- const arm = useARMClient();
108011
- const updateDeploymentTopology = useUpdateDeploymentTopology(siteId);
108012
- const openTunnel = useTunnel();
108013
- const tunnelUrl = (0, import_react18.useRef)();
108014
- const [tunnelRequired, setTunnelRequired] = (0, import_react18.useState)(false);
108015
- const fetchAppManifest = useFetchAppManifest();
108016
- const updateDevCenter = (0, import_react18.useCallback)(
108017
- async (latestManifest, isTunnelRequired2) => {
108018
- const baseUrl = serverExposedUrl ?? serverLocalUrl;
108019
- const manifestUpdateResult = checkManifestForChanges(
108020
- manifest,
108021
- latestManifest
108022
- );
108023
- if ((0, import_variant11.isType)(manifestUpdateResult, "Unchanged")) {
108024
- return manifestUpdateResult;
108025
- }
108026
- if (!serverExposedUrl && !tunnelUrl.current && isTunnelRequired2) {
108027
- const config2 = await readUserConfig();
108028
- if (!config2.tunneling) {
108029
- setTunnelRequired(true);
108030
- return ManifestUpdateResult.Unchanged();
108031
- }
108032
- const serverLocalPort = parseInt(new URL(serverLocalUrl).port, 10);
108033
- const tunnel = await openTunnel(serverLocalPort);
108034
- tunnelUrl.current = tunnel.url;
108035
- return ManifestUpdateResult.Unchanged();
108036
- }
108037
- const appConfig = await readAppConfig(projectFolder);
108038
- let updatedDevArmTag = appConfig?.devArmTag;
108039
- if (!updatedDevArmTag) {
108040
- updatedDevArmTag = await arm.createLooseAppRelease(
108041
- latestManifest,
108042
- releaseAppId
108043
- );
108044
- } else {
108045
- const updateState = await arm.updateLooseAppRelease(
108046
- latestManifest,
108047
- updatedDevArmTag
108048
- );
108049
- if (!(0, import_variant11.isType)(updateState, "TagUpdated")) {
108050
- updatedDevArmTag = await arm.createLooseAppRelease(
108051
- latestManifest,
108052
- releaseAppId
108053
- );
108054
- }
108055
- }
108056
- if (updatedDevArmTag !== appConfig?.devArmTag) {
108057
- await saveAppConfig(projectFolder, { devArmTag: updatedDevArmTag });
108058
- }
108059
- if ((0, import_variant11.isType)(manifestUpdateResult, "Changed") && manifestUpdateResult.shouldDistributeClientUpdate) {
108060
- await metasiteManagerClient.distributeClientUpdate(appId);
108061
- }
108062
- setManifest(latestManifest);
108063
- setDevArmTag(updatedDevArmTag);
108064
- await updateDeploymentTopology({
108065
- siteUrl: projectType === "Site" ? baseUrl : void 0,
108066
- armTag: updatedDevArmTag,
108067
- environment: "development"
108068
- });
108069
- return manifestUpdateResult;
108070
- },
108071
- [
108072
- releaseAppId,
108073
- manifest,
108074
- metasiteManagerClient,
108075
- serverLocalUrl,
108076
- serverExposedUrl,
108077
- arm,
108078
- projectFolder,
108079
- appId,
108080
- updateDeploymentTopology,
108081
- openTunnel,
108082
- projectType
108083
- ]
108084
- );
108085
- const [timer, setTimer] = (0, import_react18.useState)(Date.now());
108086
- (0, import_react18.useEffect)(() => {
108087
- let disposed = false;
108088
- async function fetchAndUpdate() {
108089
- const baseUrl = serverExposedUrl ?? serverLocalUrl;
108090
- const { manifest: manifest2, isTunnelRequired: isTunnelRequired2 } = await fetchAppManifest(
108091
- serverLocalUrl,
108092
- devMetadata,
108093
- baseUrl,
108094
- tunnelUrl.current ?? baseUrl
108095
- );
108096
- try {
108097
- const result = await updateDevCenter(manifest2, isTunnelRequired2);
108098
- if ((0, import_variant11.isType)(result, "Changed")) {
108099
- logger.log(
108100
- "App Manifest updated. Refresh existing browser tabs to view the latest changes."
108101
- );
108102
- }
108103
- } catch (error) {
108104
- setManifest(manifest2);
108105
- logger.log("Failed to update App Manifest");
108106
- logger.log(`${error}`);
108107
- writeToDebugLog(error);
108108
- throw error;
108109
- }
108110
- }
108111
- void fetchAndUpdate().catch((error) => {
108112
- if (error instanceof Error && error.name === "TrustedAppIsNotMarkedAsInternal") {
108113
- exit(error);
108114
- }
108115
- }).finally(() => {
108116
- if (!disposed) {
108117
- setTimeout(() => setTimer(Date.now()), pollInterval ?? 1e3);
108118
- }
108119
- });
108120
- return () => {
108121
- disposed = true;
108122
- };
108123
- }, [timer]);
108124
- return { tunnelRequired, devArmTag };
108125
- };
108126
-
108127
- // ../cli-astro-commands/src/components/DevCommand/TunnelingConsent.tsx
108128
- init_esm_shims();
108129
- var import_react19 = __toESM(require_react(), 1);
108130
- var import_variant12 = __toESM(require_lib(), 1);
108131
- var TunnelingConsent = ({ required, children }) => {
108132
- const exit = useExit();
108133
- const [approved, setApproved] = (0, import_react19.useState)();
108134
- const { status } = useAsync(async () => {
108135
- const config = await readUserConfig();
108136
- if (config.tunneling) {
108137
- setApproved(true);
108138
- }
108139
- return config;
108140
- }, []);
108141
- if (!required || approved) {
108142
- return children;
108143
- }
108144
- return /* @__PURE__ */ import_react19.default.createElement(import_react19.default.Fragment, null, (0, import_variant12.match)(status, {
108145
- Success: () => /* @__PURE__ */ import_react19.default.createElement(
108146
- ConfirmInput,
108147
- {
108148
- label: "To proceed, we'll set up a secure tunnel from your machine for development purposes",
108149
- initialValue: true,
108150
- onSubmit: async (approved2) => {
108151
- setApproved(approved2);
108152
- await updateUserConfig({ tunneling: approved2 });
108153
- if (!approved2) {
108154
- exit();
108155
- }
108156
- }
108157
- }
108158
- ),
108159
- Error: () => null,
108160
- Loading: () => null
108161
- }), approved === false && /* @__PURE__ */ import_react19.default.createElement(Text, { skin: "error" }, "Operation aborted. Tunneling is necessary to run your application."));
108162
- };
108163
-
108164
- // ../cli-astro-commands/src/components/DevCommand/SiteDev.tsx
108165
- var SiteDev = ({
108166
- serverLocalUrl,
108167
- serverExposedUrl,
108168
- devMetadata
108169
- }) => {
108170
- const { siteId } = useSite();
108171
- const {
108172
- model: {
108173
- config: { appId }
108174
- }
108175
- } = useProjectModel();
108176
- const { tunnelRequired, devArmTag } = useDevCenterUpdater({
108177
- serverLocalUrl,
108178
- serverExposedUrl,
108179
- devMetadata
108180
- });
108181
- const veloClient = useVeloClient();
108182
- const { status: gitHubOnboardingStatus } = useAsync(
108183
- () => veloClient.getGitHubOnboardingStatus(appId),
108184
- [appId]
108185
- );
108186
- return /* @__PURE__ */ import_react20.default.createElement(import_react20.default.Fragment, null, /* @__PURE__ */ import_react20.default.createElement(Text, null, "Development environment ready"), /* @__PURE__ */ import_react20.default.createElement(Box_default, { rowGap: 1, marginY: 1, flexDirection: "column" }, /* @__PURE__ */ import_react20.default.createElement(TunnelingConsent, { required: tunnelRequired }, /* @__PURE__ */ import_react20.default.createElement(Text, null, "Open the preview on:"), /* @__PURE__ */ import_react20.default.createElement(Box_default, { paddingLeft: 2, flexDirection: "column" }, /* @__PURE__ */ import_react20.default.createElement(PlatformLink, { url: serverLocalUrl, label: "Site" }), devArmTag ? /* @__PURE__ */ import_react20.default.createElement(
108187
- PlatformLink,
108188
- {
108189
- url: `https://manage.wix.com/dashboard/${siteId}?apps-override=${devArmTag}`,
108190
- label: "Dashboard"
108191
- }
108192
- ) : /* @__PURE__ */ import_react20.default.createElement(Spinner, { text: "Preparing your dashboard..." }), (0, import_variant13.match)(gitHubOnboardingStatus, {
108193
- Success: ({ result }) => result?.status === OnboardingState.GITHUB_ENABLED && /* @__PURE__ */ import_react20.default.createElement(
108194
- PlatformLink,
108195
- {
108196
- url: `https://vibe.wix.com/projects/${siteId}`,
108197
- label: "Editor"
108198
- }
108199
- ),
108200
- Error: () => null,
108201
- Loading: () => null
108202
- })))));
108203
- };
108204
-
108205
- // ../cli-astro-commands/src/components/DevCommand/SiteDevFlow.tsx
108206
- var SiteDevFlow = ({
108207
- devMetadataStatus,
108208
- serverExposedUrl
108209
- }) => {
108210
- const { siteId } = useSite();
108211
- return /* @__PURE__ */ import_react21.default.createElement(SiteAuthProvider, { siteId }, (0, import_variant14.match)(devMetadataStatus, {
108212
- NotRequested: () => /* @__PURE__ */ import_react21.default.createElement(Spinner, { text: "Starting dev environment..." }),
108213
- Error: () => null,
108214
- Loading: () => /* @__PURE__ */ import_react21.default.createElement(Spinner, { text: "Checking dev environment settings..." }),
108215
- Success: ({ result: { devMetadata, serverLocalUrl } }) => /* @__PURE__ */ import_react21.default.createElement(DevScreenBorder, null, /* @__PURE__ */ import_react21.default.createElement(
108216
- SiteDev,
108217
- {
108218
- devMetadata,
108219
- serverLocalUrl,
108220
- serverExposedUrl
108221
- }
108222
- ))
108223
- }));
108224
- };
108225
-
108226
- // ../cli-astro-commands/src/components/DevCommand/AppDevFlow.tsx
108227
- init_esm_shims();
108228
- var import_react27 = __toESM(require_react(), 1);
108229
- var import_variant17 = __toESM(require_lib(), 1);
108230
-
108231
108223
  // ../cli-astro-commands/src/components/DevCommand/app-flow/AppDev.tsx
108232
108224
  init_esm_shims();
108233
108225
  var import_react26 = __toESM(require_react(), 1);
108234
- var import_variant16 = __toESM(require_lib(), 1);
108226
+ var import_variant15 = __toESM(require_lib(), 1);
108235
108227
 
108236
108228
  // ../cli-astro-commands/src/components/DevCommand/app-flow/screen-state.ts
108237
108229
  init_esm_shims();
108238
- var import_variant15 = __toESM(require_lib(), 1);
108239
- var ScreenState = (0, import_variant15.variant)({
108230
+ var import_variant14 = __toESM(require_lib(), 1);
108231
+ var ScreenState = (0, import_variant14.variant)({
108240
108232
  Home: {},
108241
108233
  SiteSelector: {}
108242
108234
  });
@@ -108264,7 +108256,7 @@ var CloseScreen = ({ onClose }) => {
108264
108256
  onClose();
108265
108257
  }
108266
108258
  });
108267
- return /* @__PURE__ */ import_react22.default.createElement(Text, { skin: "secondary" }, "Press", /* @__PURE__ */ import_react22.default.createElement(Key, { value: "esc", skin: "secondary" }), "to close");
108259
+ return /* @__PURE__ */ import_react22.default.createElement(Text, { skin: "secondary" }, "Press ", /* @__PURE__ */ import_react22.default.createElement(Key, { value: "esc", skin: "secondary" }), " to close");
108268
108260
  };
108269
108261
 
108270
108262
  // ../cli-astro-commands/src/components/DevCommand/app-flow/SiteSelectorScreen.tsx
@@ -108370,12 +108362,14 @@ var AppDev = ({
108370
108362
  devMetadata
108371
108363
  }) => {
108372
108364
  const [screen, setScreen] = (0, import_react26.useState)(ScreenState.Home());
108365
+ const { siteId } = useSite();
108373
108366
  const { tunnelRequired, devArmTag } = useDevCenterUpdater({
108367
+ siteId,
108374
108368
  serverLocalUrl,
108375
108369
  serverExposedUrl,
108376
108370
  devMetadata
108377
108371
  });
108378
- return /* @__PURE__ */ import_react26.default.createElement(TunnelingConsent, { required: tunnelRequired }, (0, import_variant16.match)(screen, {
108372
+ return /* @__PURE__ */ import_react26.default.createElement(TunnelingConsent, { required: tunnelRequired }, (0, import_variant15.match)(screen, {
108379
108373
  Home: () => /* @__PURE__ */ import_react26.default.createElement(HomeScreen, { onScreenChange: setScreen, devArmTag }),
108380
108374
  SiteSelector: () => /* @__PURE__ */ import_react26.default.createElement(SiteSelectorScreen, { onScreenChange: setScreen })
108381
108375
  }));
@@ -108383,24 +108377,18 @@ var AppDev = ({
108383
108377
 
108384
108378
  // ../cli-astro-commands/src/components/DevCommand/AppDevFlow.tsx
108385
108379
  var AppDevFlow = ({
108386
- devMetadataStatus,
108380
+ devMetadata,
108381
+ serverLocalUrl,
108387
108382
  serverExposedUrl
108388
108383
  }) => {
108389
- return (0, import_variant17.match)(devMetadataStatus, {
108390
- NotRequested: () => /* @__PURE__ */ import_react27.default.createElement(Spinner, { text: "Starting dev environment..." }),
108391
- Error: () => null,
108392
- Loading: () => /* @__PURE__ */ import_react27.default.createElement(Spinner, { text: "Checking dev environment settings..." }),
108393
- Success: ({ result: { devMetadata, serverLocalUrl } }) => {
108394
- return /* @__PURE__ */ import_react27.default.createElement(DevScreenBorder, null, /* @__PURE__ */ import_react27.default.createElement(
108395
- AppDev,
108396
- {
108397
- serverLocalUrl,
108398
- serverExposedUrl,
108399
- devMetadata
108400
- }
108401
- ));
108384
+ return /* @__PURE__ */ import_react27.default.createElement(SiteProvider, null, /* @__PURE__ */ import_react27.default.createElement(DevScreenBorder, null, /* @__PURE__ */ import_react27.default.createElement(
108385
+ AppDev,
108386
+ {
108387
+ serverLocalUrl,
108388
+ serverExposedUrl,
108389
+ devMetadata
108402
108390
  }
108403
- });
108391
+ )));
108404
108392
  };
108405
108393
 
108406
108394
  // ../cli-astro-commands/src/components/DevCommand/DevCommand.tsx
@@ -108454,19 +108442,26 @@ var DevCommand = ({
108454
108442
  }
108455
108443
  };
108456
108444
  }, []);
108457
- return /* @__PURE__ */ import_react28.default.createElement(SiteProvider, null, config.projectType === "Site" ? /* @__PURE__ */ import_react28.default.createElement(
108458
- SiteDevFlow,
108459
- {
108460
- devMetadataStatus: fetchDevMetadataAction.status,
108461
- serverExposedUrl
108462
- }
108463
- ) : /* @__PURE__ */ import_react28.default.createElement(
108464
- AppDevFlow,
108465
- {
108466
- devMetadataStatus: fetchDevMetadataAction.status,
108467
- serverExposedUrl
108468
- }
108469
- ));
108445
+ return (0, import_variant16.match)(fetchDevMetadataAction.status, {
108446
+ NotRequested: () => /* @__PURE__ */ import_react28.default.createElement(Spinner, { text: "Starting dev environment..." }),
108447
+ Error: () => null,
108448
+ Loading: () => /* @__PURE__ */ import_react28.default.createElement(Spinner, { text: "Checking dev environment settings..." }),
108449
+ Success: ({ result: { devMetadata, serverLocalUrl } }) => config.projectType === "Site" ? /* @__PURE__ */ import_react28.default.createElement(
108450
+ SiteDevFlow,
108451
+ {
108452
+ devMetadata,
108453
+ serverLocalUrl,
108454
+ serverExposedUrl
108455
+ }
108456
+ ) : /* @__PURE__ */ import_react28.default.createElement(
108457
+ AppDevFlow,
108458
+ {
108459
+ devMetadata,
108460
+ serverLocalUrl,
108461
+ serverExposedUrl
108462
+ }
108463
+ )
108464
+ });
108470
108465
  };
108471
108466
  export {
108472
108467
  DevCommand
@@ -108525,4 +108520,4 @@ export {
108525
108520
  *)
108526
108521
  *)
108527
108522
  */
108528
- //# sourceMappingURL=DevCommand-CPE5YZ3A.js.map
108523
+ //# sourceMappingURL=DevCommand-TU7K77SJ.js.map