@intent-hq/web 2.346.1 → 2.346.3

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 (269) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{BBhsbqLJ.js → -CHLoCv2.js} +1 -1
  3. package/web/app/immutable/chunks/{DKnPivVx.js → -FMYDRBF.js} +1 -1
  4. package/web/app/immutable/chunks/{BDgfFtcK.js → 2FIlKX-3.js} +1 -1
  5. package/web/app/immutable/chunks/{CS0II5i-.js → 2JP5OgdF.js} +1 -1
  6. package/web/app/immutable/chunks/{ENl_7pWb.js → 2cCVtmIg.js} +1 -1
  7. package/web/app/immutable/chunks/{COhzdkuA.js → 3kodm_f4.js} +1 -1
  8. package/web/app/immutable/chunks/{DUyBdSjv.js → 5GYSXevc.js} +1 -1
  9. package/web/app/immutable/chunks/{3OP-tats.js → 6EBJYAxp.js} +1 -1
  10. package/web/app/immutable/chunks/{CuD9DL4y.js → 6qKuCjdA.js} +1 -1
  11. package/web/app/immutable/chunks/{Bw9Opv8X.js → 7uqL-6tT.js} +1 -1
  12. package/web/app/immutable/chunks/{DSHtWXiq.js → 8LHayabj.js} +1 -1
  13. package/web/app/immutable/chunks/{JbkOWTOg.js → 8ksyQzxS.js} +1 -1
  14. package/web/app/immutable/chunks/{BnSdmDXX.js → 905ViLyg.js} +1 -1
  15. package/web/app/immutable/chunks/{NqdaVAll.js → AhLUcdeh.js} +1 -1
  16. package/web/app/immutable/chunks/{sCaWuYEb.js → B-mfoYJY.js} +1 -1
  17. package/web/app/immutable/chunks/{BGqL3gJO.js → B0A8uFhj.js} +1 -1
  18. package/web/app/immutable/chunks/{BaDPh7vq.js → B1Bex3N_.js} +1 -1
  19. package/web/app/immutable/chunks/{UxXMSC13.js → B2Nx9i4m.js} +1 -1
  20. package/web/app/immutable/chunks/{W4Nuovgc.js → B2lO9JOz.js} +1 -1
  21. package/web/app/immutable/chunks/{DNQiloiF.js → B35kShEY.js} +1 -1
  22. package/web/app/immutable/chunks/{O3Ve923N.js → B3GLZuHB.js} +1 -1
  23. package/web/app/immutable/chunks/{DlrkMELS.js → B3Z7v7rH.js} +1 -1
  24. package/web/app/immutable/chunks/{Ck2hwsBm.js → B4-LumaR.js} +1 -1
  25. package/web/app/immutable/chunks/{DzEm_gMB.js → B5jn8aKG.js} +1 -1
  26. package/web/app/immutable/chunks/{T9_nVC7k.js → B6lORqss.js} +1 -1
  27. package/web/app/immutable/chunks/{HAVpWhg1.js → B7J_zYsA.js} +1 -1
  28. package/web/app/immutable/chunks/{CIhlsnLM.js → B7PtZbeR.js} +1 -1
  29. package/web/app/immutable/chunks/{CxlqEDL_.js → B7myJZdQ.js} +3 -3
  30. package/web/app/immutable/chunks/{Cv_fAsRR.js → BAYfmcgi.js} +1 -1
  31. package/web/app/immutable/chunks/{CXgI2Ln7.js → BAo6IWBv.js} +1 -1
  32. package/web/app/immutable/chunks/{35EIyCm3.js → BIuKjPZF.js} +1 -1
  33. package/web/app/immutable/chunks/{DhWGSJOr.js → BJwkYtAi.js} +1 -1
  34. package/web/app/immutable/chunks/{CSelYXXo.js → BL2lJmRT.js} +1 -1
  35. package/web/app/immutable/chunks/{BW1uSKLL.js → BLgIfeYS.js} +1 -1
  36. package/web/app/immutable/chunks/{V_ABjOKq.js → BMOaW1oW.js} +1 -1
  37. package/web/app/immutable/chunks/{CPo4UsMt.js → BN2mg-Hu.js} +1 -1
  38. package/web/app/immutable/chunks/{B6_GAXLX.js → BOr-kq9m.js} +1 -1
  39. package/web/app/immutable/chunks/{NhKlePe6.js → BPY8OTRz.js} +1 -1
  40. package/web/app/immutable/chunks/{Cjyjhytt.js → BPg5N0kY.js} +1 -1
  41. package/web/app/immutable/chunks/{yw7dEI88.js → BR8cFY4D.js} +1 -1
  42. package/web/app/immutable/chunks/{CNHQ2hz2.js → BS47DjuS.js} +1 -1
  43. package/web/app/immutable/chunks/{CTMYdigD.js → BS8Oxiwq.js} +1 -1
  44. package/web/app/immutable/chunks/{2_W5MGlF.js → BTrGu4V2.js} +1 -1
  45. package/web/app/immutable/chunks/{DZZviYVT.js → BVKuTBgW.js} +2 -2
  46. package/web/app/immutable/chunks/{BlznqeMI.js → BVxykti4.js} +1 -1
  47. package/web/app/immutable/chunks/{CZ2Oen6-.js → BWqWCv74.js} +1 -1
  48. package/web/app/immutable/chunks/{B2i6P1Yj.js → BXVSJTKx.js} +1 -1
  49. package/web/app/immutable/chunks/{CUEYQ1xR.js → BYu-G7r_.js} +1 -1
  50. package/web/app/immutable/chunks/{DctMspbi.js → BZQDFgmp.js} +1 -1
  51. package/web/app/immutable/chunks/{BppmVmxY.js → B_E_i0pj.js} +1 -1
  52. package/web/app/immutable/chunks/{Bs3_4AtC.js → BcTzrLaX.js} +1 -1
  53. package/web/app/immutable/chunks/{BmLxQNOC.js → Bf-2W8ee.js} +1 -1
  54. package/web/app/immutable/chunks/{T1DVgc50.js → Bfufmy9h.js} +1 -1
  55. package/web/app/immutable/chunks/{BkzhB_Po.js → BgO7_9-9.js} +1 -1
  56. package/web/app/immutable/chunks/BgsoTwBt.js +1 -0
  57. package/web/app/immutable/chunks/{B_ALvSh2.js → BhpN5y2w.js} +1 -1
  58. package/web/app/immutable/chunks/{Do1gmE20.js → BhwQ3RpS.js} +1 -1
  59. package/web/app/immutable/chunks/{3hAJcdO4.js → Bii5NwwM.js} +1 -1
  60. package/web/app/immutable/chunks/{CK5SmfAe.js → BjQLXdCG.js} +1 -1
  61. package/web/app/immutable/chunks/{C4LCiNWC.js → BjQQ-QAR.js} +1 -1
  62. package/web/app/immutable/chunks/{C3LkuwxU.js → BjyueHVe.js} +1 -1
  63. package/web/app/immutable/chunks/{CKfg4UqD.js → Bndg0x8W.js} +1 -1
  64. package/web/app/immutable/chunks/{AfO8pDU9.js → BoCkK5Wk.js} +1 -1
  65. package/web/app/immutable/chunks/{CP2XzLLk.js → Br0L4BrM.js} +1 -1
  66. package/web/app/immutable/chunks/{DL98Mvfc.js → Bs4SchIj.js} +1 -1
  67. package/web/app/immutable/chunks/{5ICkS6dd.js → BsCcl9ES.js} +1 -1
  68. package/web/app/immutable/chunks/{CjxgW2LG.js → BtFbwSdu.js} +1 -1
  69. package/web/app/immutable/chunks/{qvZYvB9N.js → Bv2KudWv.js} +1 -1
  70. package/web/app/immutable/chunks/{BvpnWd-y.js → Bwi3H4EE.js} +1 -1
  71. package/web/app/immutable/chunks/{BycUBg6h.js → ByhhTiqD.js} +1 -1
  72. package/web/app/immutable/chunks/{dT5WNNGq.js → BzUmccFe.js} +1 -1
  73. package/web/app/immutable/chunks/{BO3bzcut.js → C-P--5-o.js} +1 -1
  74. package/web/app/immutable/chunks/{BLXPhKCH.js → C1s5hjq_.js} +1 -1
  75. package/web/app/immutable/chunks/{BI0I5q5w.js → C2UUXRHQ.js} +3 -3
  76. package/web/app/immutable/chunks/{B_uWHofm.js → C2XebNhA.js} +1 -1
  77. package/web/app/immutable/chunks/{tn7Dp-vi.js → C2aqDEXl.js} +1 -1
  78. package/web/app/immutable/chunks/{UKn44y3B.js → C55nGHPT.js} +1 -1
  79. package/web/app/immutable/chunks/{BIB7YFjF.js → C6WcTrxv.js} +2 -2
  80. package/web/app/immutable/chunks/{BIWW5pDn.js → C6vwP-ay.js} +1 -1
  81. package/web/app/immutable/chunks/{C4t0jJ4k.js → CABbtsx1.js} +1 -1
  82. package/web/app/immutable/chunks/{YuOz6Rmc.js → CAZtkTon.js} +1 -1
  83. package/web/app/immutable/chunks/{C1s02RDB.js → CApIfgsx.js} +1 -1
  84. package/web/app/immutable/chunks/{D0wwPGAk.js → CB69UzLI.js} +1 -1
  85. package/web/app/immutable/chunks/{BMCRnGzk.js → CCk7G8nC.js} +1 -1
  86. package/web/app/immutable/chunks/CD1fj6ns.js +1 -0
  87. package/web/app/immutable/chunks/{B-hjApiN.js → CEbGQG52.js} +1 -1
  88. package/web/app/immutable/chunks/{B2Qef3kJ.js → CFvWMGvD.js} +2 -2
  89. package/web/app/immutable/chunks/{BA-Wd8x9.js → CHDzcbuO.js} +1 -1
  90. package/web/app/immutable/chunks/{jqkXCyuX.js → CHKJ-bXh.js} +1 -1
  91. package/web/app/immutable/chunks/{BFVZAW0_.js → CIKf0hiv.js} +1 -1
  92. package/web/app/immutable/chunks/{0h3tB2X7.js → CIpI7Qrh.js} +1 -1
  93. package/web/app/immutable/chunks/{BEF8aCkH.js → CK8WOQOm.js} +1 -1
  94. package/web/app/immutable/chunks/{SnydeSOZ.js → CMb8WXOk.js} +2 -2
  95. package/web/app/immutable/chunks/{RKjwEkJS.js → CO4a0yRH.js} +1 -1
  96. package/web/app/immutable/chunks/{Dnk26fqb.js → COZ71ZSJ.js} +3 -3
  97. package/web/app/immutable/chunks/{DciVixd2.js → CPB4vP4H.js} +3 -3
  98. package/web/app/immutable/chunks/{C1N6iAP2.js → CPKMQWOs.js} +1 -1
  99. package/web/app/immutable/chunks/{DghbEZ16.js → CQQbNjsN.js} +1 -1
  100. package/web/app/immutable/chunks/{5m7mNQI1.js → CUL4Iea5.js} +1 -1
  101. package/web/app/immutable/chunks/{QcdWHB0v.js → CUxXMHrG.js} +1 -1
  102. package/web/app/immutable/chunks/{BZklR_B6.js → CW-YFngS.js} +1 -1
  103. package/web/app/immutable/chunks/{BMlW8PWp.js → CXOFOhS1.js} +1 -1
  104. package/web/app/immutable/chunks/{uIpdZ1Gn.js → CX_kUgUI.js} +1 -1
  105. package/web/app/immutable/chunks/{DQ3kuV3H.js → CZmb_yca.js} +1 -1
  106. package/web/app/immutable/chunks/{CXZBvyNr.js → C_Lje1cd.js} +1 -1
  107. package/web/app/immutable/chunks/{CNwVL4wn.js → CaUG7pKp.js} +1 -1
  108. package/web/app/immutable/chunks/{Cd-mRODX.js → CcUMYD8T.js} +1 -1
  109. package/web/app/immutable/chunks/{By74nslt.js → Ce3hxymX.js} +2 -2
  110. package/web/app/immutable/chunks/{ChOLlFah.js → CekmJHGy.js} +3 -3
  111. package/web/app/immutable/chunks/{-IUVo3ff.js → Cf3lvx7n.js} +4 -4
  112. package/web/app/immutable/chunks/{Dx1uQEhV.js → CgthA8iG.js} +1 -1
  113. package/web/app/immutable/chunks/{VVSQHNmC.js → Ch-DGnj6.js} +1 -1
  114. package/web/app/immutable/chunks/{KErKc4MM.js → CjxlVYMT.js} +2 -2
  115. package/web/app/immutable/chunks/{DaOs4JNK.js → CkkCr6dG.js} +1 -1
  116. package/web/app/immutable/chunks/{BB4FgpiZ.js → ClH0Gega.js} +1 -1
  117. package/web/app/immutable/chunks/{DD34O6fm.js → CnodB1ak.js} +24 -24
  118. package/web/app/immutable/chunks/{j3POoRwI.js → Coi6oyYv.js} +1 -1
  119. package/web/app/immutable/chunks/{CxSx5kbz.js → Coq4Q49X.js} +1 -1
  120. package/web/app/immutable/chunks/{BfaGwOq5.js → CqZy0zQ2.js} +1 -1
  121. package/web/app/immutable/chunks/{CqvGUHnF.js → CqzfYhYr.js} +1 -1
  122. package/web/app/immutable/chunks/{D9WJ9yaW.js → CrWhihJ_.js} +1 -1
  123. package/web/app/immutable/chunks/{BGsa1Rn-.js → CsKccV54.js} +1 -1
  124. package/web/app/immutable/chunks/{BtiDRzyn.js → CwDNa5HL.js} +1 -1
  125. package/web/app/immutable/chunks/{DxlsP5Pu.js → CwT6KWlV.js} +4 -4
  126. package/web/app/immutable/chunks/{R_Ru9hwD.js → CwUHwo2Y.js} +1 -1
  127. package/web/app/immutable/chunks/{BzrasdW9.js → Cwvr2VA7.js} +1 -1
  128. package/web/app/immutable/chunks/{BHmRsJkZ.js → CxMGjr-k.js} +1 -1
  129. package/web/app/immutable/chunks/{BZHceihR.js → CyYhxGJX.js} +1 -1
  130. package/web/app/immutable/chunks/{C4s4Sq6j.js → Cyc9AKzR.js} +1 -1
  131. package/web/app/immutable/chunks/{E9kqzP8d.js → CzPYlOCC.js} +1 -1
  132. package/web/app/immutable/chunks/{DRG7DUhO.js → D-l6NLYy.js} +1 -1
  133. package/web/app/immutable/chunks/{uc8QMJUx.js → D1PKFqe0.js} +1 -1
  134. package/web/app/immutable/chunks/{CiLrRXKC.js → D1TT2-Xo.js} +1 -1
  135. package/web/app/immutable/chunks/{BfaHQDJW.js → D2X9xdX0.js} +1 -1
  136. package/web/app/immutable/chunks/{DGs9CA_z.js → D2hrkGhh.js} +1 -1
  137. package/web/app/immutable/chunks/{CGhe-vKv.js → D3BzyAjt.js} +1 -1
  138. package/web/app/immutable/chunks/{B-izwTdw.js → D3UJod5R.js} +2 -2
  139. package/web/app/immutable/chunks/{Mrn_4qcP.js → D4_mjoiz.js} +1 -1
  140. package/web/app/immutable/chunks/{Bfi661u9.js → D4gGvbme.js} +4 -4
  141. package/web/app/immutable/chunks/{C0deMyYN.js → D4iUNFJq.js} +1 -1
  142. package/web/app/immutable/chunks/{Znww69M9.js → D4wRJWJo.js} +1 -1
  143. package/web/app/immutable/chunks/{cX33-fuj.js → D6HxW8tD.js} +1 -1
  144. package/web/app/immutable/chunks/D6VwVF_C.js +1 -0
  145. package/web/app/immutable/chunks/{hCF4Zu9x.js → D6rAyjoF.js} +1 -1
  146. package/web/app/immutable/chunks/{CFpSvOJx.js → D9kdbyS6.js} +1 -1
  147. package/web/app/immutable/chunks/{-oWCrnEw.js → D9u2PK-L.js} +1 -1
  148. package/web/app/immutable/chunks/{BMxLlxet.js → DDuFS2zo.js} +1 -1
  149. package/web/app/immutable/chunks/{CFFiNWgw.js → DEApyfNP.js} +1 -1
  150. package/web/app/immutable/chunks/{4I5A3DRt.js → DEQYPNCO.js} +1 -1
  151. package/web/app/immutable/chunks/{BPZ_JA05.js → DHbLiTwn.js} +1 -1
  152. package/web/app/immutable/chunks/{DuMO6x6m.js → DI8xYaVc.js} +1 -1
  153. package/web/app/immutable/chunks/{_RxuD-W2.js → DKOceApm.js} +1 -1
  154. package/web/app/immutable/chunks/{HXO2zRQJ.js → DKRbyLvF.js} +1 -1
  155. package/web/app/immutable/chunks/{BZpL3F2r.js → DKs0uFks.js} +1 -1
  156. package/web/app/immutable/chunks/{Dzr2-f8u.js → DKzgMUBy.js} +2 -2
  157. package/web/app/immutable/chunks/{m296fjds.js → DLH4F1ED.js} +1 -1
  158. package/web/app/immutable/chunks/{Cdb_pBT1.js → DLIkH-mx.js} +1 -1
  159. package/web/app/immutable/chunks/{P1zH2HLT.js → DN6EDRqv.js} +1 -1
  160. package/web/app/immutable/chunks/{BYpXsiCq.js → DNbEh_Pn.js} +1 -1
  161. package/web/app/immutable/chunks/{CsvSUZwX.js → DOH10_LL.js} +2 -2
  162. package/web/app/immutable/chunks/{DqmvYlsZ.js → DP4V6iDW.js} +1 -1
  163. package/web/app/immutable/chunks/{DNMpoEvN.js → DPcH5rXQ.js} +1 -1
  164. package/web/app/immutable/chunks/{Cueu30DH.js → DQ01F80Q.js} +1 -1
  165. package/web/app/immutable/chunks/{CjS1Cmfi.js → DTT_rauc.js} +1 -1
  166. package/web/app/immutable/chunks/{CS4C4Dqz.js → DU9Ky5os.js} +1 -1
  167. package/web/app/immutable/chunks/{zEbP96sv.js → DUOZnHQ0.js} +4 -4
  168. package/web/app/immutable/chunks/{CzGw49VI.js → DVJxiIYn.js} +1 -1
  169. package/web/app/immutable/chunks/{DetpMFuT.js → DVlQV8vI.js} +1 -1
  170. package/web/app/immutable/chunks/{eqxSNkBq.js → DW0lWqDY.js} +1 -1
  171. package/web/app/immutable/chunks/{DxkncNQp.js → DYxNs3ex.js} +1 -1
  172. package/web/app/immutable/chunks/{k6cZvV27.js → DZHzDies.js} +1 -1
  173. package/web/app/immutable/chunks/{CMG5CVfP.js → DZtzqJzi.js} +1 -1
  174. package/web/app/immutable/chunks/{BmooL5Pj.js → Db6-PdUB.js} +1 -1
  175. package/web/app/immutable/chunks/{DuA0wXTo.js → DbdK0wtE.js} +1 -1
  176. package/web/app/immutable/chunks/{CPE7SIVP.js → Dbp_q6hu.js} +1 -1
  177. package/web/app/immutable/chunks/{D9TgvNHy.js → DcwiOhhA.js} +1 -1
  178. package/web/app/immutable/chunks/{rBb3s3xl.js → DfqK8haP.js} +1 -1
  179. package/web/app/immutable/chunks/{9PMcLe0B.js → DhO5FJJI.js} +1 -1
  180. package/web/app/immutable/chunks/{C7CRtBIe.js → DhUKwJna.js} +1 -1
  181. package/web/app/immutable/chunks/{D6G3HdC8.js → DhWxuzTb.js} +1 -1
  182. package/web/app/immutable/chunks/{Db5vVNPd.js → Dih9qRTv.js} +1 -1
  183. package/web/app/immutable/chunks/{CMcMoJJq.js → Dj3ZrCzO.js} +1 -1
  184. package/web/app/immutable/chunks/{1kPFR2jr.js → DjbBeQRM.js} +1 -1
  185. package/web/app/immutable/chunks/{bYaMqcEY.js → DklZSLh2.js} +1 -1
  186. package/web/app/immutable/chunks/{BotBkFiN.js → Dn2BQOth.js} +1 -1
  187. package/web/app/immutable/chunks/{SrhdBdnO.js → DoYFP432.js} +1 -1
  188. package/web/app/immutable/chunks/{CjsTzCaF.js → DpUWgmrg.js} +1 -1
  189. package/web/app/immutable/chunks/{BEA1dP-Y.js → DqcBqbDI.js} +1 -1
  190. package/web/app/immutable/chunks/{BG2eX09y.js → Dr9VLQ7a.js} +1 -1
  191. package/web/app/immutable/chunks/{C7fHSR36.js → DtL2rtM8.js} +1 -1
  192. package/web/app/immutable/chunks/{BnsQkZ2z.js → DvFUmkR8.js} +1 -1
  193. package/web/app/immutable/chunks/{CLqD3xZb.js → DvTOURZI.js} +1 -1
  194. package/web/app/immutable/chunks/{Bkff-hvs.js → DvyKNoGC.js} +1 -1
  195. package/web/app/immutable/chunks/{BqRBAXUd.js → DwrUEXuQ.js} +3 -3
  196. package/web/app/immutable/chunks/DzyUo7pt.js +1 -0
  197. package/web/app/immutable/chunks/{C4EqZepj.js → EOsEsFiT.js} +1 -1
  198. package/web/app/immutable/chunks/{BKJdB-rj.js → EbS0dv8R.js} +1 -1
  199. package/web/app/immutable/chunks/{DxdbljsN.js → GRe-AQYA.js} +1 -1
  200. package/web/app/immutable/chunks/{CJl18r_J.js → GXoNce_4.js} +1 -1
  201. package/web/app/immutable/chunks/{CyhyGZAH.js → LdVrshUq.js} +2 -2
  202. package/web/app/immutable/chunks/{BwPpu-bL.js → LxLcg7tj.js} +1 -1
  203. package/web/app/immutable/chunks/M1o9ycAe.js +4 -0
  204. package/web/app/immutable/chunks/{P2s61dnl.js → MA6Nl0OX.js} +1 -1
  205. package/web/app/immutable/chunks/{tcnXcM0S.js → MQ537-MV.js} +1 -1
  206. package/web/app/immutable/chunks/{DmY0GWNY.js → Mc93eSxl.js} +1 -1
  207. package/web/app/immutable/chunks/{DhUnCLhA.js → NDjLJa7E.js} +1 -1
  208. package/web/app/immutable/chunks/{BqOOOgy5.js → Q9dh-ELL.js} +1 -1
  209. package/web/app/immutable/chunks/{B9wI8Jqn.js → SWyKEy91.js} +1 -1
  210. package/web/app/immutable/chunks/{CpB9-pxF.js → TPdIgwsT.js} +2 -2
  211. package/web/app/immutable/chunks/{-_IhnrUG.js → U5yX75Fv.js} +1 -1
  212. package/web/app/immutable/chunks/{D3e1E0pH.js → VpmaCPqv.js} +3 -3
  213. package/web/app/immutable/chunks/{a48W8e3q.js → XuyckbH_.js} +1 -1
  214. package/web/app/immutable/chunks/Y9-4hTF9.js +1 -0
  215. package/web/app/immutable/chunks/{Dsq9SKtm.js → ZKiqJWPE.js} +1 -1
  216. package/web/app/immutable/chunks/{BCjermhu.js → _dg-9BeG.js} +1 -1
  217. package/web/app/immutable/chunks/aos1n-nT.js +4 -0
  218. package/web/app/immutable/chunks/{fPgojm2p.js → baJQH4o5.js} +1 -1
  219. package/web/app/immutable/chunks/{Bs7Hg6Iw.js → cFbB-5Cu.js} +1 -1
  220. package/web/app/immutable/chunks/{DTTdoBjw.js → cw0Fy9sQ.js} +1 -1
  221. package/web/app/immutable/chunks/{BcLSwxTf.js → ddhULx4L.js} +1 -1
  222. package/web/app/immutable/chunks/{C1c28WNI.js → fqYOWiI-.js} +1 -1
  223. package/web/app/immutable/chunks/{C-6Vv_Md.js → hUKBOWr5.js} +1 -1
  224. package/web/app/immutable/chunks/{8-yHkkqV.js → jSRaMDVY.js} +1 -1
  225. package/web/app/immutable/chunks/{BD_lDepV.js → jdYPqvvP.js} +2 -2
  226. package/web/app/immutable/chunks/{DN_Lq29a.js → l8NmpVqL.js} +1 -1
  227. package/web/app/immutable/chunks/{BjCpOU4b.js → mdG_8hzH.js} +1 -1
  228. package/web/app/immutable/chunks/{DR-bu7f0.js → mli93Dcp.js} +1 -1
  229. package/web/app/immutable/chunks/{rISNYNCE.js → n8cz4x1y.js} +1 -1
  230. package/web/app/immutable/chunks/{DSU9ZcQ0.js → o6NTBM2j.js} +1 -1
  231. package/web/app/immutable/chunks/{CNOSe0wO.js → pBUZ5yOz.js} +1 -1
  232. package/web/app/immutable/chunks/{C9u4tXUT.js → poVs4JlU.js} +1 -1
  233. package/web/app/immutable/chunks/{zqCR6Knb.js → q6hitSEG.js} +1 -1
  234. package/web/app/immutable/chunks/{_5Vv4dkf.js → rt8UAcU5.js} +1 -1
  235. package/web/app/immutable/chunks/{C4xNNtUj.js → tU_ZJtMw.js} +1 -1
  236. package/web/app/immutable/chunks/{DMtABnLi.js → urgjvk31.js} +1 -1
  237. package/web/app/immutable/chunks/{CzGRX-SL.js → wz6AT1mX.js} +1 -1
  238. package/web/app/immutable/entry/{app.Dg3CVjdE.js → app.BTU46CGQ.js} +3 -3
  239. package/web/app/immutable/entry/start.VeHGe5l7.js +1 -0
  240. package/web/app/immutable/nodes/{0.mr7Lr8Nh.js → 0.Ci7PVT_k.js} +1 -1
  241. package/web/app/immutable/nodes/{1.rfzchHhR.js → 1.BR59lUe8.js} +1 -1
  242. package/web/app/immutable/nodes/{10.D4xVtSvV.js → 10.DgX_PEe_.js} +1 -1
  243. package/web/app/immutable/nodes/{11.Bl5UwrS9.js → 11.CtUvalit.js} +1 -1
  244. package/web/app/immutable/nodes/{12.CUp8k2-A.js → 12.BEzNSZ5P.js} +1 -1
  245. package/web/app/immutable/nodes/{13.Ch9aZ9Uv.js → 13.sp2ZZVeV.js} +3 -3
  246. package/web/app/immutable/nodes/{14.Bjuagqn-.js → 14.C7X_5Bue.js} +3 -3
  247. package/web/app/immutable/nodes/{15.Cto8qDz0.js → 15.DxqMZDdK.js} +1 -1
  248. package/web/app/immutable/nodes/{16.SivUu1Ma.js → 16.C_vshDQR.js} +1 -1
  249. package/web/app/immutable/nodes/{17.Chj8J0QC.js → 17.BtrKoac8.js} +1 -1
  250. package/web/app/immutable/nodes/{18.D_tnQyvk.js → 18.B3AoO6j9.js} +2 -2
  251. package/web/app/immutable/nodes/{2.WfgNcNo2.js → 2.DlWTJs6C.js} +6 -6
  252. package/web/app/immutable/nodes/{3.D4wTMvE8.js → 3.DTgoPy4s.js} +1 -1
  253. package/web/app/immutable/nodes/{4.ZitfbCkz.js → 4.DSkknvUk.js} +1 -1
  254. package/web/app/immutable/nodes/{5.BFEJ_NR_.js → 5.pRTuZIBK.js} +1 -1
  255. package/web/app/immutable/nodes/{6.Bkj3ggYn.js → 6.IXz7usII.js} +1 -1
  256. package/web/app/immutable/nodes/{7.Cz8EbGz5.js → 7.-QsdIQf6.js} +1 -1
  257. package/web/app/immutable/nodes/{8.gF00dlat.js → 8.s2ERF-BG.js} +4 -4
  258. package/web/app/immutable/nodes/{9.COG4Nc0F.js → 9.CzyfEfdP.js} +5 -5
  259. package/web/app/version.json +1 -1
  260. package/web/generated/paraglide.js +49 -49
  261. package/web/index.html +18 -18
  262. package/web/app/immutable/chunks/BKW86yq_.js +0 -1
  263. package/web/app/immutable/chunks/BZvAKLUn.js +0 -1
  264. package/web/app/immutable/chunks/BjFh2SH5.js +0 -1
  265. package/web/app/immutable/chunks/BtwtItRa.js +0 -4
  266. package/web/app/immutable/chunks/D1jZIoRI.js +0 -1
  267. package/web/app/immutable/chunks/DnBFSw4A.js +0 -4
  268. package/web/app/immutable/chunks/O7PQPM4V.js +0 -1
  269. package/web/app/immutable/entry/start.51bhhgUY.js +0 -1
@@ -1 +1 @@
1
- import{t as gt,bq as n,bo as a,by as Ct,b as pt}from"./BKW86yq_.js";import{bs as bt,aD as g,bn as yt,aA as o,a5 as z,bS as A,bf as xt,bA as G,W as u,c9 as C,bl as D,b_ as h,bO as W,aB as P,b$ as kt}from"./DYhIMPy1.js";import{i as p}from"./CSelYXXo.js";import{s as At}from"./D9WJ9yaW.js";import"./Bs7Hg6Iw.js";import"./DKnPivVx.js";import"./DhUnCLhA.js";import{D as ht}from"./BO3bzcut.js";import{t as l}from"./BW1uSKLL.js";import"./CsvSUZwX.js";import"./CMcMoJJq.js";var Wt=P('<p class="type-body"> </p>'),X=P('<p class="type-body text-foreground font-medium"> </p>'),Pt=P('<p class="type-body text-muted-foreground font-normal"> </p>'),Rt=P('<p class="type-body text-muted-foreground font-normal"> <!></p>'),St=P('<div class="space-y-2"><!> <!> <!> <!></div>'),Bt=P('<div class="space-y-4"><!> <!> <!></div>');function Dt(J,e){if(new.target)return gt({component:Dt,...J});bt(e,!0);let b=n(e,"open",15,!1),F=n(e,"static",7,!1),H=n(e,"title",23,()=>a.modals_bulkActionConfirm_title()),S=n(e,"description",7,""),T=n(e,"confirmText",23,()=>a.modals_bulkActionConfirm_confirm_label()),w=n(e,"variant",7,"default"),y=n(e,"initialFocus",7,"confirm"),q=n(e,"body",7),c=n(e,"openPrCount",7,0),x=n(e,"preflightReady",7,!0),E=n(e,"mode",7,"delete"),d=n(e,"activeAgentCount",7,0),m=n(e,"activeHookCount",7,0),_=n(e,"guestCount",7,0),I=n(e,"onConfirm",7),K=n(e,"onCancel",7);const Y=C(()=>d()>0||m()>0||c()>0||_()>0);function Z(){b(!1),K()?.()}async function $(){await I()?.(),b(!1)}var tt={get open(){return b()},set open(t=!1){b(t),o()},get static(){return F()},set static(t=!1){F(t),o()},get title(){return H()},set title(t=a.modals_bulkActionConfirm_title()){H(t),o()},get description(){return S()},set description(t=""){S(t),o()},get confirmText(){return T()},set confirmText(t=a.modals_bulkActionConfirm_confirm_label()){T(t),o()},get variant(){return w()},set variant(t="default"){w(t),o()},get initialFocus(){return y()},set initialFocus(t="confirm"){y(t),o()},get body(){return q()},set body(t){q(t),o()},get openPrCount(){return c()},set openPrCount(t=0){c(t),o()},get preflightReady(){return x()},set preflightReady(t=!0){x(t),o()},get mode(){return E()},set mode(t="delete"){E(t),o()},get activeAgentCount(){return d()},set activeAgentCount(t=0){d(t),o()},get activeHookCount(){return m()},set activeHookCount(t=0){m(t),o()},get guestCount(){return _()},set guestCount(t=0){_(t),o()},get onConfirm(){return I()},set onConfirm(t){I(t),o()},get onCancel(){return K()},set onCancel(t){K(t),o()},$set:Ct,$on:(t,L)=>pt(e,t,L)};{const t=O=>{var j=Bt(),M=z(j);{var it=f=>{var k=Wt(),B=D(k,!0);h(()=>W(B,S())),u(f,k)};p(M,f=>{S()&&f(it)})}var N=A(M,2);{var st=f=>{var k=St(),B=z(k);{var lt=r=>{var i=X(),s=D(i,!0);h(v=>W(s,v),[()=>d()===1?a.modals_deleteWarning_agentsStopped_one({count:l(d())}):a.modals_deleteWarning_agentsStopped_many({count:l(d())})]),u(r,i)};p(B,r=>{d()>0&&r(lt)})}var Q=A(B,2);{var ct=r=>{var i=X(),s=D(i,!0);h(v=>W(s,v),[()=>m()===1?a.modals_deleteWarning_hooksCancelled_one({count:l(m())}):a.modals_deleteWarning_hooksCancelled_many({count:l(m())})]),u(r,i)};p(Q,r=>{m()>0&&r(ct)})}var U=A(Q,2);{var dt=r=>{var i=Pt(),s=D(i,!0);h(v=>W(s,v),[()=>c()===1?a.modals_deleteWarning_openPrs_one({count:l(c())}):a.modals_deleteWarning_openPrs_many({count:l(c())})]),u(r,i)};p(U,r=>{c()>0&&r(dt)})}var mt=A(U,2);{var _t=r=>{var i=Rt(),s=z(i),v=A(s);{var ft=R=>{var V=kt();h(vt=>W(V,vt),[()=>a.modals_bulkActionConfirm_guestsReinvite_description()]),u(R,V)};p(v,R=>{E()==="archive"&&R(ft)})}G(i),h(R=>W(s,`${R??""} `),[()=>_()===1?a.modals_bulkActionConfirm_guestsRemoved_one({count:l(_())}):a.modals_bulkActionConfirm_guestsRemoved_many({count:l(_())})]),u(r,i)};p(mt,r=>{_()>0&&r(_t)})}G(k),u(f,k)};p(N,f=>{g(Y)&&f(st)})}var ut=A(N,2);At(ut,()=>q()??xt),G(j),u(O,j)};let L=C(()=>!x()),et=C(()=>x()&&y()==="confirm"),nt=C(()=>!x()||y()==="cancel"),ot=C(()=>y()==="cancel"?"ignore":"submit"),rt=C(()=>y()==="cancel"?"ignore":"submit"),at=C(()=>w()==="destructive");ht(J,{get static(){return F()},get title(){return H()},get confirmLabel(){return T()},get submitBusy(){return g(L)},get canSubmit(){return x()},get focusSubmit(){return g(et)},get focusCancel(){return g(nt)},get enterKey(){return g(ot)},get modEnter(){return g(rt)},get destructive(){return g(at)},onConfirm:$,onCancel:Z,get open(){return b()},set open(O){b(O)},details:t,$$slots:{details:!0}})}return yt(tt)}export{Dt as B};
1
+ import{t as gt,bq as n,bo as a,by as Ct,b as pt}from"./Y9-4hTF9.js";import{bs as bt,aD as g,bn as yt,aA as o,a5 as z,bS as A,bf as xt,bA as G,W as u,c9 as C,bl as D,b_ as h,bO as W,aB as P,b$ as kt}from"./DYhIMPy1.js";import{i as p}from"./BL2lJmRT.js";import{s as At}from"./CrWhihJ_.js";import"./cFbB-5Cu.js";import"./-FMYDRBF.js";import"./NDjLJa7E.js";import{D as ht}from"./C-P--5-o.js";import{t as l}from"./BLgIfeYS.js";import"./DOH10_LL.js";import"./Dj3ZrCzO.js";var Wt=P('<p class="type-body"> </p>'),X=P('<p class="type-body text-foreground font-medium"> </p>'),Pt=P('<p class="type-body text-muted-foreground font-normal"> </p>'),Rt=P('<p class="type-body text-muted-foreground font-normal"> <!></p>'),St=P('<div class="space-y-2"><!> <!> <!> <!></div>'),Bt=P('<div class="space-y-4"><!> <!> <!></div>');function Dt(J,e){if(new.target)return gt({component:Dt,...J});bt(e,!0);let b=n(e,"open",15,!1),F=n(e,"static",7,!1),H=n(e,"title",23,()=>a.modals_bulkActionConfirm_title()),S=n(e,"description",7,""),T=n(e,"confirmText",23,()=>a.modals_bulkActionConfirm_confirm_label()),w=n(e,"variant",7,"default"),y=n(e,"initialFocus",7,"confirm"),q=n(e,"body",7),c=n(e,"openPrCount",7,0),x=n(e,"preflightReady",7,!0),E=n(e,"mode",7,"delete"),d=n(e,"activeAgentCount",7,0),m=n(e,"activeHookCount",7,0),_=n(e,"guestCount",7,0),I=n(e,"onConfirm",7),K=n(e,"onCancel",7);const Y=C(()=>d()>0||m()>0||c()>0||_()>0);function Z(){b(!1),K()?.()}async function $(){await I()?.(),b(!1)}var tt={get open(){return b()},set open(t=!1){b(t),o()},get static(){return F()},set static(t=!1){F(t),o()},get title(){return H()},set title(t=a.modals_bulkActionConfirm_title()){H(t),o()},get description(){return S()},set description(t=""){S(t),o()},get confirmText(){return T()},set confirmText(t=a.modals_bulkActionConfirm_confirm_label()){T(t),o()},get variant(){return w()},set variant(t="default"){w(t),o()},get initialFocus(){return y()},set initialFocus(t="confirm"){y(t),o()},get body(){return q()},set body(t){q(t),o()},get openPrCount(){return c()},set openPrCount(t=0){c(t),o()},get preflightReady(){return x()},set preflightReady(t=!0){x(t),o()},get mode(){return E()},set mode(t="delete"){E(t),o()},get activeAgentCount(){return d()},set activeAgentCount(t=0){d(t),o()},get activeHookCount(){return m()},set activeHookCount(t=0){m(t),o()},get guestCount(){return _()},set guestCount(t=0){_(t),o()},get onConfirm(){return I()},set onConfirm(t){I(t),o()},get onCancel(){return K()},set onCancel(t){K(t),o()},$set:Ct,$on:(t,L)=>pt(e,t,L)};{const t=O=>{var j=Bt(),M=z(j);{var it=f=>{var k=Wt(),B=D(k,!0);h(()=>W(B,S())),u(f,k)};p(M,f=>{S()&&f(it)})}var N=A(M,2);{var st=f=>{var k=St(),B=z(k);{var lt=r=>{var i=X(),s=D(i,!0);h(v=>W(s,v),[()=>d()===1?a.modals_deleteWarning_agentsStopped_one({count:l(d())}):a.modals_deleteWarning_agentsStopped_many({count:l(d())})]),u(r,i)};p(B,r=>{d()>0&&r(lt)})}var Q=A(B,2);{var ct=r=>{var i=X(),s=D(i,!0);h(v=>W(s,v),[()=>m()===1?a.modals_deleteWarning_hooksCancelled_one({count:l(m())}):a.modals_deleteWarning_hooksCancelled_many({count:l(m())})]),u(r,i)};p(Q,r=>{m()>0&&r(ct)})}var U=A(Q,2);{var dt=r=>{var i=Pt(),s=D(i,!0);h(v=>W(s,v),[()=>c()===1?a.modals_deleteWarning_openPrs_one({count:l(c())}):a.modals_deleteWarning_openPrs_many({count:l(c())})]),u(r,i)};p(U,r=>{c()>0&&r(dt)})}var mt=A(U,2);{var _t=r=>{var i=Rt(),s=z(i),v=A(s);{var ft=R=>{var V=kt();h(vt=>W(V,vt),[()=>a.modals_bulkActionConfirm_guestsReinvite_description()]),u(R,V)};p(v,R=>{E()==="archive"&&R(ft)})}G(i),h(R=>W(s,`${R??""} `),[()=>_()===1?a.modals_bulkActionConfirm_guestsRemoved_one({count:l(_())}):a.modals_bulkActionConfirm_guestsRemoved_many({count:l(_())})]),u(r,i)};p(mt,r=>{_()>0&&r(_t)})}G(k),u(f,k)};p(N,f=>{g(Y)&&f(st)})}var ut=A(N,2);At(ut,()=>q()??xt),G(j),u(O,j)};let L=C(()=>!x()),et=C(()=>x()&&y()==="confirm"),nt=C(()=>!x()||y()==="cancel"),ot=C(()=>y()==="cancel"?"ignore":"submit"),rt=C(()=>y()==="cancel"?"ignore":"submit"),at=C(()=>w()==="destructive");ht(J,{get static(){return F()},get title(){return H()},get confirmLabel(){return T()},get submitBusy(){return g(L)},get canSubmit(){return x()},get focusSubmit(){return g(et)},get focusCancel(){return g(nt)},get enterKey(){return g(ot)},get modEnter(){return g(rt)},get destructive(){return g(at)},onConfirm:$,onCancel:Z,get open(){return b()},set open(O){b(O)},details:t,$$slots:{details:!0}})}return yt(tt)}export{Dt as B};
@@ -1,4 +1,4 @@
1
- import{p as Mt}from"./BmLxQNOC.js";import{aZ as Nt,U as zt,Y as Lt,b0 as Tt,V as Xt,a_ as At,b as u,a6 as Et,W as Yt,q as J,ay as Q,aX as It,B as Bt,r as Ft,X as V}from"./Bfi661u9.js";import{p as Rt}from"./QcdWHB0v.js";var G=u((o,r)=>{const e=o<=1?o*100:o;if(e<0||e>100)throw new Error(`${r} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${o}`);return e},"toPercent"),X=u((o,r,e)=>({x:G(r,`${e} evolution`),y:G(o,`${e} visibility`)}),"toCoordinates"),K=u(o=>{if(o){if(o==="+<>")return"bidirectional";if(o==="+<")return"backward";if(o==="+>")return"forward"}},"getFlowFromPort"),Ot=u(o=>{if(!o?.startsWith("+"))return{};const e=/^\+'([^']*)'/.exec(o)?.[1];return o.includes("<>")?{flow:"bidirectional",label:e}:o.includes("<")?{flow:"backward",label:e}:o.includes(">")?{flow:"forward",label:e}:{label:e}},"extractFlowFromArrow"),Wt=u((o,r)=>{if(Mt(o,r),o.size&&r.setSize(o.size.width,o.size.height),o.evolution){const e=o.evolution.stages.map(a=>a.secondName?`${a.name.trim()} / ${a.secondName.trim()}`:a.name.trim()),h=o.evolution.stages.filter(a=>a.boundary!==void 0).map(a=>a.boundary);r.updateAxes({stages:e,stageBoundaries:h})}if(o.anchors.forEach(e=>{const h=X(e.visibility,e.evolution,`Anchor "${e.name}"`);r.addNode(e.name,e.name,h.x,h.y,"anchor")}),o.components.forEach(e=>{const h=X(e.visibility,e.evolution,`Component "${e.name}"`),a=e.label?(e.label.negX?-1:1)*e.label.offsetX:void 0,d=e.label?(e.label.negY?-1:1)*e.label.offsetY:void 0,w=e.decorator?.strategy;r.addNode(e.name,e.name,h.x,h.y,"component",a,d,e.inertia,w)}),o.notes.forEach(e=>{const h=X(e.visibility,e.evolution,`Note "${e.text}"`);r.addNote(e.text,h.x,h.y)}),o.pipelines.forEach(e=>{const h=r.getNode(e.parent);if(!h||typeof h.y!="number")throw new Error(`Pipeline "${e.parent}" must reference an existing component with coordinates.`);const a=h.y;r.startPipeline(e.parent),e.components.forEach(d=>{const w=`${e.parent}_${d.name}`,C=d.label?(d.label.negX?-1:1)*d.label.offsetX:void 0,g=d.label?(d.label.negY?-1:1)*d.label.offsetY:void 0,R=G(d.evolution,`Pipeline component "${d.name}" evolution`);r.addNode(w,d.name,R,a,"pipeline-component",C,g),r.addPipelineComponent(e.parent,w)})}),o.links.forEach(e=>{const h=!!e.arrow&&(e.arrow.includes("-.->")||e.arrow.includes(".-."));let a=K(e.fromPort)??K(e.toPort);const{flow:d,label:w}=Ot(e.arrow);!a&&d&&(a=d);const C=e.linkLabel,g=w??C;r.addLink(r.resolveNodeId(e.from),r.resolveNodeId(e.to),h,g,a)}),o.evolves.forEach(e=>{const h=r.getNode(e.component);if(h?.y!==void 0){const a=G(e.target,`Evolve target for "${e.component}"`);r.addTrend(e.component,a,h.y)}}),o.annotations.length>0){const e=o.annotations[0],h=X(e.x,e.y,"Annotations box");r.setAnnotationsBox(h.x,h.y)}o.annotation.forEach(e=>{const h=X(e.x,e.y,`Annotation ${e.number}`);r.addAnnotation(e.number,[{x:h.x,y:h.y}],e.text)}),o.accelerators.forEach(e=>{const h=X(e.x,e.y,`Accelerator "${e.name}"`);r.addAccelerator(e.name,h.x,h.y)}),o.deaccelerators.forEach(e=>{const h=X(e.x,e.y,`Deaccelerator "${e.name}"`);r.addDeaccelerator(e.name,h.x,h.y)})},"populateDb"),tt={parser:{yy:void 0},parse:u(async o=>{const r=await Rt("wardley",o);Q.debug(r);const e=tt.parser?.yy;if(!e||typeof e.addNode!="function")throw new Error("parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Wt(r,e)},"parse")},E,Dt=(E=class{constructor(){this.nodes=new Map,this.links=[],this.trends=new Map,this.pipelines=new Map,this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.axes={}}addNode(r){const e=this.nodes.get(r.id)??{id:r.id,label:r.label},h={...e,...r,className:r.className??e.className,labelOffsetX:r.labelOffsetX??e.labelOffsetX,labelOffsetY:r.labelOffsetY??e.labelOffsetY};this.nodes.set(r.id,h)}addLink(r){this.links.push(r)}addTrend(r){this.trends.set(r.nodeId,r)}startPipeline(r){this.pipelines.set(r,{nodeId:r,componentIds:[]});const e=this.nodes.get(r);e&&(e.isPipelineParent=!0)}addPipelineComponent(r,e){const h=this.pipelines.get(r);h&&h.componentIds.push(e);const a=this.nodes.get(e);a&&(a.inPipeline=!0)}addAnnotation(r){this.annotations.push(r)}addNote(r){this.notes.push(r)}addAccelerator(r){this.accelerators.push(r)}addDeaccelerator(r){this.deaccelerators.push(r)}setAnnotationsBox(r,e){this.annotationsBox={x:r,y:e}}setAxes(r){this.axes={...this.axes,...r}}setSize(r,e){this.size={width:r,height:e}}getNode(r){return this.nodes.get(r)}resolveNodeId(r){if(this.nodes.has(r))return r;for(const[e,h]of this.nodes)if(h.label===r)return e;return r}build(){const r=[];for(const e of this.nodes.values()){if(typeof e.x!="number"||typeof e.y!="number")throw new Error(`Node "${e.label}" is missing coordinates`);r.push(e)}return{nodes:r,links:[...this.links],trends:[...this.trends.values()],pipelines:[...this.pipelines.values()],annotations:[...this.annotations],notes:[...this.notes],accelerators:[...this.accelerators],deaccelerators:[...this.deaccelerators],annotationsBox:this.annotationsBox,axes:{...this.axes},size:this.size}}clear(){this.nodes.clear(),this.links=[],this.trends.clear(),this.pipelines.clear(),this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.annotationsBox=void 0,this.axes={},this.size=void 0}},u(E,"WardleyBuilder"),E),k=new Dt;function et(){return V()["wardley-beta"]}u(et,"getConfig");function at(o,r,e,h,a,d,w,C,g){k.addNode({id:o,label:r,x:e,y:h,className:a,labelOffsetX:d,labelOffsetY:w,inertia:C,sourceStrategy:g})}u(at,"addNode");function rt(o,r,e=!1,h,a){k.addLink({source:o,target:r,dashed:e,label:h,flow:a})}u(rt,"addLink");function ot(o,r,e){k.addTrend({nodeId:o,targetX:r,targetY:e})}u(ot,"addTrend");function nt(o,r,e){k.addAnnotation({number:o,coordinates:r,text:e})}u(nt,"addAnnotation");function st(o,r,e){k.addNote({text:o,x:r,y:e})}u(st,"addNote");function it(o,r,e){k.addAccelerator({name:o,x:r,y:e})}u(it,"addAccelerator");function dt(o,r,e){k.addDeaccelerator({name:o,x:r,y:e})}u(dt,"addDeaccelerator");function lt(o,r){k.setAnnotationsBox(o,r)}u(lt,"setAnnotationsBox");function ct(o,r){k.setSize(o,r)}u(ct,"setSize");function pt(o){k.startPipeline(o)}u(pt,"startPipeline");function ft(o,r){k.addPipelineComponent(o,r)}u(ft,"addPipelineComponent");function ht(o){k.setAxes(o)}u(ht,"updateAxes");function xt(o){return k.getNode(o)}u(xt,"getNode");function gt(o){return k.resolveNodeId(o)}u(gt,"resolveNodeId");function yt(){return k.build()}u(yt,"getWardleyData");function ut(){k.clear(),Ft()}u(ut,"clear");var Gt={getConfig:et,addNode:at,addLink:rt,addTrend:ot,addAnnotation:nt,addNote:st,addAccelerator:it,addDeaccelerator:dt,setAnnotationsBox:lt,setSize:ct,startPipeline:pt,addPipelineComponent:ft,updateAxes:ht,getNode:xt,resolveNodeId:gt,getWardleyData:yt,clear:ut,setAccTitle:At,getAccTitle:Xt,setDiagramTitle:Tt,getDiagramTitle:Lt,getAccDescription:zt,setAccDescription:Nt},qt=["Genesis","Custom Built","Product","Commodity"],Ht=u(()=>{const{themeVariables:o}=V();return{backgroundColor:o.wardley?.backgroundColor??o.background??"#fff",axisColor:o.wardley?.axisColor??"#000",axisTextColor:o.wardley?.axisTextColor??o.primaryTextColor??"#222",gridColor:o.wardley?.gridColor??"rgba(100, 100, 100, 0.2)",componentFill:o.wardley?.componentFill??"#fff",componentStroke:o.wardley?.componentStroke??"#000",componentLabelColor:o.wardley?.componentLabelColor??o.primaryTextColor??"#222",linkStroke:o.wardley?.linkStroke??"#000",evolutionStroke:o.wardley?.evolutionStroke??"#dc3545",annotationStroke:o.wardley?.annotationStroke??"#000",annotationTextColor:o.wardley?.annotationTextColor??o.primaryTextColor??"#222",annotationFill:o.wardley?.annotationFill??o.background??"#fff"}},"getTheme"),jt=u(()=>{const o=V()["wardley-beta"];return{width:o?.width??900,height:o?.height??600,padding:o?.padding??48,nodeRadius:o?.nodeRadius??6,nodeLabelOffset:o?.nodeLabelOffset??8,axisFontSize:o?.axisFontSize??12,labelFontSize:o?.labelFontSize??10,showGrid:o?.showGrid??!1,useMaxWidth:o?.useMaxWidth??!0}},"getConfigValues"),Vt=u((o,r,e,h)=>{Q.debug(`Rendering Wardley map
1
+ import{p as Mt}from"./Bf-2W8ee.js";import{aZ as Nt,U as zt,Y as Lt,b0 as Tt,V as Xt,a_ as At,b as u,a6 as Et,W as Yt,q as J,ay as Q,aX as It,B as Bt,r as Ft,X as V}from"./D4gGvbme.js";import{p as Rt}from"./CUxXMHrG.js";var G=u((o,r)=>{const e=o<=1?o*100:o;if(e<0||e>100)throw new Error(`${r} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${o}`);return e},"toPercent"),X=u((o,r,e)=>({x:G(r,`${e} evolution`),y:G(o,`${e} visibility`)}),"toCoordinates"),K=u(o=>{if(o){if(o==="+<>")return"bidirectional";if(o==="+<")return"backward";if(o==="+>")return"forward"}},"getFlowFromPort"),Ot=u(o=>{if(!o?.startsWith("+"))return{};const e=/^\+'([^']*)'/.exec(o)?.[1];return o.includes("<>")?{flow:"bidirectional",label:e}:o.includes("<")?{flow:"backward",label:e}:o.includes(">")?{flow:"forward",label:e}:{label:e}},"extractFlowFromArrow"),Wt=u((o,r)=>{if(Mt(o,r),o.size&&r.setSize(o.size.width,o.size.height),o.evolution){const e=o.evolution.stages.map(a=>a.secondName?`${a.name.trim()} / ${a.secondName.trim()}`:a.name.trim()),h=o.evolution.stages.filter(a=>a.boundary!==void 0).map(a=>a.boundary);r.updateAxes({stages:e,stageBoundaries:h})}if(o.anchors.forEach(e=>{const h=X(e.visibility,e.evolution,`Anchor "${e.name}"`);r.addNode(e.name,e.name,h.x,h.y,"anchor")}),o.components.forEach(e=>{const h=X(e.visibility,e.evolution,`Component "${e.name}"`),a=e.label?(e.label.negX?-1:1)*e.label.offsetX:void 0,d=e.label?(e.label.negY?-1:1)*e.label.offsetY:void 0,w=e.decorator?.strategy;r.addNode(e.name,e.name,h.x,h.y,"component",a,d,e.inertia,w)}),o.notes.forEach(e=>{const h=X(e.visibility,e.evolution,`Note "${e.text}"`);r.addNote(e.text,h.x,h.y)}),o.pipelines.forEach(e=>{const h=r.getNode(e.parent);if(!h||typeof h.y!="number")throw new Error(`Pipeline "${e.parent}" must reference an existing component with coordinates.`);const a=h.y;r.startPipeline(e.parent),e.components.forEach(d=>{const w=`${e.parent}_${d.name}`,C=d.label?(d.label.negX?-1:1)*d.label.offsetX:void 0,g=d.label?(d.label.negY?-1:1)*d.label.offsetY:void 0,R=G(d.evolution,`Pipeline component "${d.name}" evolution`);r.addNode(w,d.name,R,a,"pipeline-component",C,g),r.addPipelineComponent(e.parent,w)})}),o.links.forEach(e=>{const h=!!e.arrow&&(e.arrow.includes("-.->")||e.arrow.includes(".-."));let a=K(e.fromPort)??K(e.toPort);const{flow:d,label:w}=Ot(e.arrow);!a&&d&&(a=d);const C=e.linkLabel,g=w??C;r.addLink(r.resolveNodeId(e.from),r.resolveNodeId(e.to),h,g,a)}),o.evolves.forEach(e=>{const h=r.getNode(e.component);if(h?.y!==void 0){const a=G(e.target,`Evolve target for "${e.component}"`);r.addTrend(e.component,a,h.y)}}),o.annotations.length>0){const e=o.annotations[0],h=X(e.x,e.y,"Annotations box");r.setAnnotationsBox(h.x,h.y)}o.annotation.forEach(e=>{const h=X(e.x,e.y,`Annotation ${e.number}`);r.addAnnotation(e.number,[{x:h.x,y:h.y}],e.text)}),o.accelerators.forEach(e=>{const h=X(e.x,e.y,`Accelerator "${e.name}"`);r.addAccelerator(e.name,h.x,h.y)}),o.deaccelerators.forEach(e=>{const h=X(e.x,e.y,`Deaccelerator "${e.name}"`);r.addDeaccelerator(e.name,h.x,h.y)})},"populateDb"),tt={parser:{yy:void 0},parse:u(async o=>{const r=await Rt("wardley",o);Q.debug(r);const e=tt.parser?.yy;if(!e||typeof e.addNode!="function")throw new Error("parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Wt(r,e)},"parse")},E,Dt=(E=class{constructor(){this.nodes=new Map,this.links=[],this.trends=new Map,this.pipelines=new Map,this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.axes={}}addNode(r){const e=this.nodes.get(r.id)??{id:r.id,label:r.label},h={...e,...r,className:r.className??e.className,labelOffsetX:r.labelOffsetX??e.labelOffsetX,labelOffsetY:r.labelOffsetY??e.labelOffsetY};this.nodes.set(r.id,h)}addLink(r){this.links.push(r)}addTrend(r){this.trends.set(r.nodeId,r)}startPipeline(r){this.pipelines.set(r,{nodeId:r,componentIds:[]});const e=this.nodes.get(r);e&&(e.isPipelineParent=!0)}addPipelineComponent(r,e){const h=this.pipelines.get(r);h&&h.componentIds.push(e);const a=this.nodes.get(e);a&&(a.inPipeline=!0)}addAnnotation(r){this.annotations.push(r)}addNote(r){this.notes.push(r)}addAccelerator(r){this.accelerators.push(r)}addDeaccelerator(r){this.deaccelerators.push(r)}setAnnotationsBox(r,e){this.annotationsBox={x:r,y:e}}setAxes(r){this.axes={...this.axes,...r}}setSize(r,e){this.size={width:r,height:e}}getNode(r){return this.nodes.get(r)}resolveNodeId(r){if(this.nodes.has(r))return r;for(const[e,h]of this.nodes)if(h.label===r)return e;return r}build(){const r=[];for(const e of this.nodes.values()){if(typeof e.x!="number"||typeof e.y!="number")throw new Error(`Node "${e.label}" is missing coordinates`);r.push(e)}return{nodes:r,links:[...this.links],trends:[...this.trends.values()],pipelines:[...this.pipelines.values()],annotations:[...this.annotations],notes:[...this.notes],accelerators:[...this.accelerators],deaccelerators:[...this.deaccelerators],annotationsBox:this.annotationsBox,axes:{...this.axes},size:this.size}}clear(){this.nodes.clear(),this.links=[],this.trends.clear(),this.pipelines.clear(),this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.annotationsBox=void 0,this.axes={},this.size=void 0}},u(E,"WardleyBuilder"),E),k=new Dt;function et(){return V()["wardley-beta"]}u(et,"getConfig");function at(o,r,e,h,a,d,w,C,g){k.addNode({id:o,label:r,x:e,y:h,className:a,labelOffsetX:d,labelOffsetY:w,inertia:C,sourceStrategy:g})}u(at,"addNode");function rt(o,r,e=!1,h,a){k.addLink({source:o,target:r,dashed:e,label:h,flow:a})}u(rt,"addLink");function ot(o,r,e){k.addTrend({nodeId:o,targetX:r,targetY:e})}u(ot,"addTrend");function nt(o,r,e){k.addAnnotation({number:o,coordinates:r,text:e})}u(nt,"addAnnotation");function st(o,r,e){k.addNote({text:o,x:r,y:e})}u(st,"addNote");function it(o,r,e){k.addAccelerator({name:o,x:r,y:e})}u(it,"addAccelerator");function dt(o,r,e){k.addDeaccelerator({name:o,x:r,y:e})}u(dt,"addDeaccelerator");function lt(o,r){k.setAnnotationsBox(o,r)}u(lt,"setAnnotationsBox");function ct(o,r){k.setSize(o,r)}u(ct,"setSize");function pt(o){k.startPipeline(o)}u(pt,"startPipeline");function ft(o,r){k.addPipelineComponent(o,r)}u(ft,"addPipelineComponent");function ht(o){k.setAxes(o)}u(ht,"updateAxes");function xt(o){return k.getNode(o)}u(xt,"getNode");function gt(o){return k.resolveNodeId(o)}u(gt,"resolveNodeId");function yt(){return k.build()}u(yt,"getWardleyData");function ut(){k.clear(),Ft()}u(ut,"clear");var Gt={getConfig:et,addNode:at,addLink:rt,addTrend:ot,addAnnotation:nt,addNote:st,addAccelerator:it,addDeaccelerator:dt,setAnnotationsBox:lt,setSize:ct,startPipeline:pt,addPipelineComponent:ft,updateAxes:ht,getNode:xt,resolveNodeId:gt,getWardleyData:yt,clear:ut,setAccTitle:At,getAccTitle:Xt,setDiagramTitle:Tt,getDiagramTitle:Lt,getAccDescription:zt,setAccDescription:Nt},qt=["Genesis","Custom Built","Product","Commodity"],Ht=u(()=>{const{themeVariables:o}=V();return{backgroundColor:o.wardley?.backgroundColor??o.background??"#fff",axisColor:o.wardley?.axisColor??"#000",axisTextColor:o.wardley?.axisTextColor??o.primaryTextColor??"#222",gridColor:o.wardley?.gridColor??"rgba(100, 100, 100, 0.2)",componentFill:o.wardley?.componentFill??"#fff",componentStroke:o.wardley?.componentStroke??"#000",componentLabelColor:o.wardley?.componentLabelColor??o.primaryTextColor??"#222",linkStroke:o.wardley?.linkStroke??"#000",evolutionStroke:o.wardley?.evolutionStroke??"#dc3545",annotationStroke:o.wardley?.annotationStroke??"#000",annotationTextColor:o.wardley?.annotationTextColor??o.primaryTextColor??"#222",annotationFill:o.wardley?.annotationFill??o.background??"#fff"}},"getTheme"),jt=u(()=>{const o=V()["wardley-beta"];return{width:o?.width??900,height:o?.height??600,padding:o?.padding??48,nodeRadius:o?.nodeRadius??6,nodeLabelOffset:o?.nodeLabelOffset??8,axisFontSize:o?.axisFontSize??12,labelFontSize:o?.labelFontSize??10,showGrid:o?.showGrid??!1,useMaxWidth:o?.useMaxWidth??!0}},"getConfigValues"),Vt=u((o,r,e,h)=>{Q.debug(`Rendering Wardley map
2
2
  `+o);const a=jt(),d=Ht(),w=a.nodeRadius*1.6,C=h.db,g=C.getWardleyData(),R=C.getDiagramTitle(),S=g.size?.width??a.width,b=g.size?.height??a.height,Y=It(r);Y.selectAll("*").remove(),Bt(Y,b,S,a.useMaxWidth),Y.attr("viewBox",`0 0 ${S} ${b}`);const v=Y.append("g").attr("class","wardley-map"),q=Y.append("defs");q.append("marker").attr("id",`arrow-${r}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",d.evolutionStroke).attr("stroke","none"),q.append("marker").attr("id",`link-arrow-end-${r}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",d.linkStroke).attr("stroke","none"),q.append("marker").attr("id",`link-arrow-start-${r}`).attr("viewBox","0 0 10 10").attr("refX",1).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z").attr("fill",d.linkStroke).attr("stroke","none"),v.append("rect").attr("class","wardley-background").attr("width",S).attr("height",b).attr("fill",d.backgroundColor);const I=S-a.padding*2,B=b-a.padding*2;R&&v.append("text").attr("class","wardley-title").attr("x",S/2).attr("y",a.padding/2).attr("fill",d.axisTextColor).attr("font-size",a.axisFontSize*1.05).attr("font-weight","bold").attr("text-anchor","middle").attr("dominant-baseline","middle").text(R);const z=u(t=>a.padding+t/100*I,"projectX"),L=u(t=>b-a.padding-t/100*B,"projectY"),O=v.append("g").attr("class","wardley-axes");O.append("line").attr("x1",a.padding).attr("x2",S-a.padding).attr("y1",b-a.padding).attr("y2",b-a.padding).attr("stroke",d.axisColor).attr("stroke-width",1),O.append("line").attr("x1",a.padding).attr("x2",a.padding).attr("y1",a.padding).attr("y2",b-a.padding).attr("stroke",d.axisColor).attr("stroke-width",1);const wt=g.axes.xLabel??"Evolution",mt=g.axes.yLabel??"Visibility";O.append("text").attr("class","wardley-axis-label wardley-axis-label-x").attr("x",a.padding+I/2).attr("y",b-a.padding/4).attr("fill",d.axisTextColor).attr("font-size",a.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").text(wt),O.append("text").attr("class","wardley-axis-label wardley-axis-label-y").attr("x",a.padding/3).attr("y",a.padding+B/2).attr("fill",d.axisTextColor).attr("font-size",a.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").attr("transform",`rotate(-90 ${a.padding/3} ${a.padding+B/2})`).text(mt);const F=g.axes.stages&&g.axes.stages.length>0?g.axes.stages:qt;if(F.length>0){const t=v.append("g").attr("class","wardley-stages"),s=g.axes.stageBoundaries,n=[];if(s&&s.length===F.length){let i=0;s.forEach(p=>{n.push({start:i,end:p}),i=p})}else{const i=1/F.length;F.forEach((p,l)=>{n.push({start:l*i,end:(l+1)*i})})}F.forEach((i,p)=>{const l=n[p],f=a.padding+l.start*I,x=a.padding+l.end*I,y=(f+x)/2;p>0&&t.append("line").attr("x1",f).attr("x2",f).attr("y1",a.padding).attr("y2",b-a.padding).attr("stroke","#000").attr("stroke-width",1).attr("stroke-dasharray","5 5").attr("opacity",.8),t.append("text").attr("class","wardley-stage-label").attr("x",y).attr("y",b-a.padding/1.5).attr("fill",d.axisTextColor).attr("font-size",a.axisFontSize-2).attr("text-anchor","middle").text(i)})}if(a.showGrid){const t=v.append("g").attr("class","wardley-grid");for(let s=1;s<4;s++){const n=s/4,i=a.padding+I*n;t.append("line").attr("x1",i).attr("x2",i).attr("y1",a.padding).attr("y2",b-a.padding).attr("stroke",d.gridColor).attr("stroke-dasharray","2 6"),t.append("line").attr("x1",a.padding).attr("x2",S-a.padding).attr("y1",b-a.padding-B*n).attr("y2",b-a.padding-B*n).attr("stroke",d.gridColor).attr("stroke-dasharray","2 6")}}const c=new Map;if(g.nodes.forEach(t=>{c.set(t.id,{x:z(t.x),y:L(t.y),node:t})}),g.pipelines.length>0){const t=v.append("g").attr("class","wardley-pipelines"),s=v.append("g").attr("class","wardley-pipeline-links");g.pipelines.forEach(n=>{if(n.componentIds.length===0)return;const i=n.componentIds.map(x=>({id:x,pos:c.get(x),node:g.nodes.find(y=>y.id===x)})).filter(x=>x.pos&&x.node).sort((x,y)=>x.node.x-y.node.x);for(let x=0;x<i.length-1;x++){const y=i[x],m=i[x+1];s.append("line").attr("class","wardley-pipeline-evolution-link").attr("x1",y.pos.x).attr("y1",y.pos.y).attr("x2",m.pos.x).attr("y2",m.pos.y).attr("stroke",d.linkStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4")}let p=1/0,l=-1/0,f=0;if(n.componentIds.forEach(x=>{const y=c.get(x);y&&(p=Math.min(p,y.x),l=Math.max(l,y.x),f=y.y)}),p!==1/0&&l!==-1/0){const y=a.nodeRadius*4,m=f-y/2,P=c.get(n.nodeId);if(P){const N=(p+l)/2;P.x=N,P.y=m-w/6}t.append("rect").attr("class","wardley-pipeline-box").attr("x",p-15).attr("y",m).attr("width",l-p+30).attr("height",y).attr("fill","none").attr("stroke",d.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}})}const _=v.append("g").attr("class","wardley-links"),Z=new Map;g.pipelines.forEach(t=>{Z.set(t.nodeId,new Set(t.componentIds))});const U=g.links.filter(t=>!(!c.has(t.source)||!c.has(t.target)||Z.get(t.target)?.has(t.source)));_.selectAll("line").data(U).enter().append("line").attr("class",t=>`wardley-link${t.dashed?" wardley-link--dashed":""}`).attr("x1",t=>{const s=c.get(t.source),n=c.get(t.target),p=g.nodes.find(y=>y.id===t.source).isPipelineParent?w/Math.sqrt(2):a.nodeRadius,l=n.x-s.x,f=n.y-s.y,x=Math.sqrt(l*l+f*f);return s.x+l/x*p}).attr("y1",t=>{const s=c.get(t.source),n=c.get(t.target),p=g.nodes.find(y=>y.id===t.source).isPipelineParent?w/Math.sqrt(2):a.nodeRadius,l=n.x-s.x,f=n.y-s.y,x=Math.sqrt(l*l+f*f);return s.y+f/x*p}).attr("x2",t=>{const s=c.get(t.source),n=c.get(t.target),p=g.nodes.find(y=>y.id===t.target).isPipelineParent?w/Math.sqrt(2):a.nodeRadius,l=s.x-n.x,f=s.y-n.y,x=Math.sqrt(l*l+f*f);return n.x+l/x*p}).attr("y2",t=>{const s=c.get(t.source),n=c.get(t.target),p=g.nodes.find(y=>y.id===t.target).isPipelineParent?w/Math.sqrt(2):a.nodeRadius,l=s.x-n.x,f=s.y-n.y,x=Math.sqrt(l*l+f*f);return n.y+f/x*p}).attr("stroke",d.linkStroke).attr("stroke-width",1).attr("stroke-dasharray",t=>t.dashed?"6 6":null).attr("marker-end",t=>t.flow==="forward"||t.flow==="bidirectional"?`url(#link-arrow-end-${r})`:null).attr("marker-start",t=>t.flow==="backward"||t.flow==="bidirectional"?`url(#link-arrow-start-${r})`:null),_.selectAll("text").data(U.filter(t=>t.label)).enter().append("text").attr("class","wardley-link-label").attr("x",t=>{const s=c.get(t.source),n=c.get(t.target),i=(s.x+n.x)/2,p=n.y-s.y,l=n.x-s.x,f=Math.sqrt(l*l+p*p),x=8,y=p/f;return i+y*x}).attr("y",t=>{const s=c.get(t.source),n=c.get(t.target),i=(s.y+n.y)/2,p=n.x-s.x,l=n.y-s.y,f=Math.sqrt(p*p+l*l),x=8,y=-p/f;return i+y*x}).attr("fill",d.axisTextColor).attr("font-size",a.labelFontSize).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("transform",t=>{const s=c.get(t.source),n=c.get(t.target),i=(s.x+n.x)/2,p=(s.y+n.y)/2,l=n.x-s.x,f=n.y-s.y,x=Math.sqrt(l*l+f*f),y=8,m=f/x,P=-l/x,N=i+m*y,W=p+P*y;let A=Math.atan2(f,l)*180/Math.PI;return(A>90||A<-90)&&(A+=180),`rotate(${A} ${N} ${W})`}).text(t=>t.label);const kt=v.append("g").attr("class","wardley-trends"),bt=g.trends.map(t=>{const s=c.get(t.nodeId);if(!s)return null;const n=z(t.targetX),i=L(t.targetY),p=n-s.x,l=i-s.y,f=Math.sqrt(p*p+l*l),x=a.nodeRadius+2,y=f>x?n-p/f*x:n,m=f>x?i-l/f*x:i;return{origin:s,targetX:n,targetY:i,adjustedX2:y,adjustedY2:m}}).filter(t=>t!==null);kt.selectAll("line").data(bt).enter().append("line").attr("class","wardley-trend").attr("x1",t=>t.origin.x).attr("y1",t=>t.origin.y).attr("x2",t=>t.adjustedX2).attr("y2",t=>t.adjustedY2).attr("stroke",d.evolutionStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4").attr("marker-end",`url(#arrow-${r})`);const M=v.append("g").attr("class","wardley-nodes").selectAll("g").data(g.nodes).enter().append("g").attr("class",t=>["wardley-node",t.className?`wardley-node--${t.className}`:""].filter(Boolean).join(" "));M.filter(t=>t.sourceStrategy==="outsource").append("circle").attr("class","wardley-outsource-overlay").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius*2).attr("fill","#666").attr("stroke",d.componentStroke).attr("stroke-width",1),M.filter(t=>t.sourceStrategy==="buy").append("circle").attr("class","wardley-buy-overlay").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius*2).attr("fill","#ccc").attr("stroke",d.componentStroke).attr("stroke-width",1),M.filter(t=>t.sourceStrategy==="build").append("circle").attr("class","wardley-build-overlay").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius*2).attr("fill","#eee").attr("stroke","#000").attr("stroke-width",1);const T=M.filter(t=>t.sourceStrategy==="market");T.append("circle").attr("class","wardley-market-overlay").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius*2).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",1),M.filter(t=>!t.isPipelineParent&&t.sourceStrategy!=="market"&&t.className!=="anchor").append("circle").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius).attr("fill",d.componentFill).attr("stroke",d.componentStroke).attr("stroke-width",1);const H=a.nodeRadius*.7,$=a.nodeRadius*1.2;if(T.append("line").attr("class","wardley-market-line").attr("x1",t=>c.get(t.id).x).attr("y1",t=>c.get(t.id).y-$).attr("x2",t=>c.get(t.id).x-$*Math.cos(Math.PI/6)).attr("y2",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("stroke",d.componentStroke).attr("stroke-width",1),T.append("line").attr("class","wardley-market-line").attr("x1",t=>c.get(t.id).x-$*Math.cos(Math.PI/6)).attr("y1",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("x2",t=>c.get(t.id).x+$*Math.cos(Math.PI/6)).attr("y2",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("stroke",d.componentStroke).attr("stroke-width",1),T.append("line").attr("class","wardley-market-line").attr("x1",t=>c.get(t.id).x+$*Math.cos(Math.PI/6)).attr("y1",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("x2",t=>c.get(t.id).x).attr("y2",t=>c.get(t.id).y-$).attr("stroke",d.componentStroke).attr("stroke-width",1),T.append("circle").attr("class","wardley-market-dot").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y-$).attr("r",H).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",2),T.append("circle").attr("class","wardley-market-dot").attr("cx",t=>c.get(t.id).x-$*Math.cos(Math.PI/6)).attr("cy",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("r",H).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",2),T.append("circle").attr("class","wardley-market-dot").attr("cx",t=>c.get(t.id).x+$*Math.cos(Math.PI/6)).attr("cy",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("r",H).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",2),M.filter(t=>t.isPipelineParent===!0).append("rect").attr("x",t=>c.get(t.id).x-w/2).attr("y",t=>c.get(t.id).y-w/2).attr("width",w).attr("height",w).attr("fill",d.componentFill).attr("stroke",d.componentStroke).attr("stroke-width",1),M.filter(t=>t.inertia===!0).append("line").attr("class","wardley-inertia").attr("x1",t=>{const s=c.get(t.id);let n=t.isPipelineParent?w/2+15:a.nodeRadius+15;return t.sourceStrategy&&(n+=a.nodeRadius+10),s.x+n}).attr("y1",t=>{const s=c.get(t.id),n=t.isPipelineParent?w:a.nodeRadius*2;return s.y-n/2}).attr("x2",t=>{const s=c.get(t.id);let n=t.isPipelineParent?w/2+15:a.nodeRadius+15;return t.sourceStrategy&&(n+=a.nodeRadius+10),s.x+n}).attr("y2",t=>{const s=c.get(t.id),n=t.isPipelineParent?w:a.nodeRadius*2;return s.y+n/2}).attr("stroke",d.componentStroke).attr("stroke-width",6),M.append("text").attr("x",t=>{const s=c.get(t.id);if(t.className==="anchor")return t.labelOffsetX!==void 0?s.x+t.labelOffsetX:s.x;let n=a.nodeLabelOffset;t.sourceStrategy&&t.labelOffsetX===void 0&&(n+=10);const i=t.labelOffsetX??n;return s.x+i}).attr("y",t=>{const s=c.get(t.id);if(t.className==="anchor")return t.labelOffsetY!==void 0?s.y+t.labelOffsetY:s.y-3;let n=-a.nodeLabelOffset;t.sourceStrategy&&t.labelOffsetY===void 0&&(n-=10);const i=t.labelOffsetY??n;return s.y+i}).attr("class","wardley-node-label").attr("fill",t=>t.className==="evolved"?d.evolutionStroke:t.className==="anchor"?"#000":d.componentLabelColor).attr("font-size",a.labelFontSize).attr("font-weight",t=>t.className==="anchor"?"bold":"normal").attr("text-anchor",t=>t.className==="anchor"?"middle":"start").attr("dominant-baseline",t=>t.className==="anchor"?"middle":"auto").text(t=>t.label),g.annotations.length>0){const t=v.append("g").attr("class","wardley-annotations");if(g.annotations.forEach(s=>{const n=s.coordinates.map(i=>({x:z(i.x),y:L(i.y)}));if(n.length>1)for(let i=0;i<n.length-1;i++)t.append("line").attr("class","wardley-annotation-line").attr("x1",n[i].x).attr("y1",n[i].y).attr("x2",n[i+1].x).attr("y2",n[i+1].y).attr("stroke",d.axisColor).attr("stroke-width",1.5).attr("stroke-dasharray","4 4");n.forEach(i=>{const p=t.append("g").attr("class","wardley-annotation");p.append("circle").attr("cx",i.x).attr("cy",i.y).attr("r",10).attr("fill","white").attr("stroke",d.axisColor).attr("stroke-width",1.5),p.append("text").attr("x",i.x).attr("y",i.y).attr("text-anchor","middle").attr("dominant-baseline","central").attr("font-size",10).attr("fill",d.axisTextColor).attr("font-weight","bold").text(s.number)})}),g.annotationsBox){let s=z(g.annotationsBox.x),n=L(g.annotationsBox.y);const i=10,p=16,l=11,f=t.append("g").attr("class","wardley-annotations-box"),x=[...g.annotations].filter(m=>m.text).sort((m,P)=>m.number-P.number),y=[];if(x.forEach((m,P)=>{const N=f.append("text").attr("x",s+i).attr("y",n+i+(P+1)*p).attr("font-size",l).attr("fill",d.axisTextColor).attr("text-anchor","start").attr("dominant-baseline","middle").text(`${m.number}. ${m.text}`);y.push(N)}),y.length>0){let m=0,P=0;y.forEach(j=>{const D=j.node(),Ct=D.getComputedTextLength();m=Math.max(m,Ct);const St=D.getBBox();P=Math.max(P,St.height)});const N=m+i*2+105,W=x.length*p+i*2+P/2,A=a.padding,$t=S-a.padding-N,vt=a.padding,Pt=b-a.padding-W;s=Math.max(A,Math.min(s,$t)),n=Math.max(vt,Math.min(n,Pt)),y.forEach((j,D)=>{j.attr("x",s+i).attr("y",n+i+(D+1)*p)}),f.insert("rect","text").attr("x",s).attr("y",n).attr("width",N).attr("height",W).attr("fill","white").attr("stroke",d.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}}}if(g.notes.length>0){const t=v.append("g").attr("class","wardley-notes");g.notes.forEach(s=>{const n=z(s.x),i=L(s.y);t.append("text").attr("x",n).attr("y",i).attr("text-anchor","start").attr("font-size",11).attr("fill",d.axisTextColor).attr("font-weight","bold").text(s.text)})}if(g.accelerators.length>0){const t=v.append("g").attr("class","wardley-accelerators");g.accelerators.forEach(s=>{const n=z(s.x),i=L(s.y),p=60,l=30,f=20,x=`
3
3
  M ${n} ${i-l/2}
4
4
  L ${n+p-f} ${i-l/2}
@@ -1 +1 @@
1
- import{_ as c}from"./BKW86yq_.js";import{g as m,R as M,C as E,E as _,K as S,a as T,M as P,b as $,P as I,e as R,f as C,T as A,U as z,r as j,h as D,k as O,l as i,i as V,m as w,j as u,J as f,c as k,d as h,S as b,t as p}from"./CxlqEDL_.js";import{l as t}from"./ChTqQfQN.js";const W=Object.freeze(Object.defineProperty({__proto__:null,CancellationTokenSource:E,Emitter:_,KeyCode:S,KeyMod:T,MarkerSeverity:P,MarkerTag:$,Position:I,Range:M,Selection:R,SelectionDirection:C,Token:A,Uri:z,css:j,editor:m,html:D,json:O,languages:i,lsp:V,typescript:w},Symbol.toStringTag,{value:"Module"}));let y=!1,g=null,v=!1,r=null;async function B(){if(!(typeof window>"u")&&!v)try{const[o,s,a,d,l]=await Promise.all([c(()=>import("./DvZ3DwdW.js"),[],import.meta.url),c(()=>import("./Cpgzc53H.js"),[],import.meta.url),c(()=>import("./CG-QPs-0.js"),[],import.meta.url),c(()=>import("./BluJBxCM.js"),[],import.meta.url),c(()=>import("./BW7ZDjCt.js"),[],import.meta.url)]);r={editor:o,json:s,css:a,html:d,ts:l},self.MonacoEnvironment={getWorker(n,e){if(!r)return t.error("[Monaco] Workers not loaded yet"),{postMessage:()=>{},terminate:()=>{}};try{return e==="json"?new r.json.default:e==="css"||e==="scss"||e==="less"?new r.css.default:e==="html"||e==="handlebars"||e==="razor"?new r.html.default:e==="typescript"||e==="javascript"?new r.ts.default:new r.editor.default}catch(x){return t.error("[Monaco] Failed to create worker for",e,x),{postMessage:()=>{},terminate:()=>{}}}},globalAPI:!1},v=!0,t.info("[Monaco] Workers configured successfully (lazy loaded)")}catch(o){throw t.error("[Monaco] Failed to configure Monaco workers",{error:o}),o}}async function J(){return y?Promise.resolve():g||(g=new Promise((o,s)=>{let a=0;const d=100,l=()=>{a++;try{if(W&&m&&i&&m.createModel&&typeof m.createModel=="function")m.createModel("test","plaintext").dispose(),y=!0,t.info("[Monaco] Monaco Editor initialized successfully"),o();else if(a>=d){const n=new Error("[Monaco] Monaco Editor failed to initialize after 5 seconds");t.error(n.message),s(n)}else setTimeout(l,50)}catch(n){a>=d?(t.error("[Monaco] Monaco Editor initialization error:",n),s(n)):setTimeout(l,50)}};l()}),g)}async function U(){try{if(await J(),!w){t.warn("[Monaco] TypeScript language service not available yet");return}u&&(u.setDiagnosticsOptions({noSemanticValidation:!1,noSyntaxValidation:!1}),u.setCompilerOptions({target:b.ES2020,allowNonTsExtensions:!0,moduleResolution:h.NodeJs,module:k.CommonJS,noEmit:!0,esModuleInterop:!0,jsx:f.React,reactNamespace:"React",allowJs:!0,typeRoots:["node_modules/@types"]}),u.setEagerModelSync(!0)),p&&(p.setDiagnosticsOptions({noSemanticValidation:!1,noSyntaxValidation:!1}),p.setCompilerOptions({target:b.ES2020,allowNonTsExtensions:!0,moduleResolution:h.NodeJs,module:k.CommonJS,noEmit:!0,esModuleInterop:!0,jsx:f.React,reactNamespace:"React",allowJs:!0,typeRoots:["node_modules/@types"]}),p.setEagerModelSync(!0)),L()}catch(o){t.warn("[Monaco] Error configuring Monaco languages:",o)}}function L(){i.getLanguages().some(s=>s.id==="svelte")||(i.register({id:"svelte",extensions:[".svelte"],aliases:["Svelte","svelte"],mimetypes:["text/x-svelte"]}),i.setLanguageConfiguration("svelte",{comments:{lineComment:"//",blockComment:["<!--","-->"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"<!--",close:"-->",notIn:["comment","string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"`",close:"`"}],folding:{markers:{start:/^\s*<!--\s*#region\b.*-->/,end:/^\s*<!--\s*#endregion\b.*-->/}},wordPattern:/(-?\d*\.\d\w*)|([^`~!@#%^&*()\-=+[{\]}\\|;:'",.<>/?\s]+)/g,indentationRules:{increaseIndentPattern:/<(?!(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)\b)[a-zA-Z][^/>]*>|{[^}]*$/,decreaseIndentPattern:/^\s*(<\/|}<)/}}),i.setMonarchTokensProvider("svelte",{defaultToken:"",tokenPostfix:".svelte",svelteKeywords:["#if","/if",":else",":else if","#each","/each","#await","/await",":then",":catch","#key","/key","#snippet","/snippet","@render","@html","@debug","@const"],keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","interface","let","new","null","return","set","static","super","switch","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of","as","type"],runes:["$state","$derived","$effect","$props","$bindable","$inspect","$host"],tagNames:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@","..."],symbols:/[=><!~?:&|+\-*\/^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/(<)(script)(\s+)(lang)(=)("ts"|'ts')/,["delimiter.html","tag.html","","attribute.name.html","delimiter.html","attribute.value.html"]],[/<script/,{token:"tag.html",next:"@script"}],[/<style/,{token:"tag.html",next:"@style"}],[/{#/,{token:"keyword.svelte",next:"@svelteBlock"}],[/{:/,{token:"keyword.svelte",next:"@svelteBlock"}],[/{\//,{token:"keyword.svelte",next:"@svelteBlock"}],[/{@/,{token:"keyword.svelte",next:"@svelteExpression"}],[/{/,{token:"delimiter.bracket",next:"@svelteExpression"}],[/<!--/,{token:"comment.html",next:"@htmlComment"}],[/(<)(\w+)/,["delimiter.html",{token:"tag.html",next:"@tag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@tag"}]],[/[^<{]+/,"text.html"]],script:[[/<\/script>/,{token:"tag.html",next:"@pop"}],{include:"@typescript"}],style:[[/<\/style>/,{token:"tag.html",next:"@pop"}],[/./,"source.css"]],tag:[[/\s+/,""],[/(\w+)(=)/,["attribute.name.html",{token:"delimiter.html",next:"@attributeValue"}]],[/\w+/,"attribute.name.html"],[/on:\w+/,"attribute.name.event.svelte"],[/bind:\w+/,"attribute.name.binding.svelte"],[/class:\w+/,"attribute.name.class.svelte"],[/use:\w+/,"attribute.name.action.svelte"],[/transition:\w+/,"attribute.name.transition.svelte"],[/in:\w+/,"attribute.name.transition.svelte"],[/out:\w+/,"attribute.name.transition.svelte"],[/animate:\w+/,"attribute.name.animation.svelte"],[/\/>/,{token:"delimiter.html",next:"@pop"}],[/>/,{token:"delimiter.html",next:"@pop"}]],attributeValue:[[/"[^"]*"/,{token:"attribute.value.html",next:"@pop"}],[/'[^']*'/,{token:"attribute.value.html",next:"@pop"}],[/{/,{token:"delimiter.bracket",next:"@svelteExpressionInAttr"}],[/\w+/,{token:"attribute.value.html",next:"@pop"}]],svelteBlock:[[/}/,{token:"keyword.svelte",next:"@pop"}],[/\b(if|else|each|await|then|catch|key|snippet|as)\b/,"keyword.control.svelte"],{include:"@typescript"}],svelteExpression:[[/}/,{token:"delimiter.bracket",next:"@pop"}],[/@(html|debug|const|render)/,"keyword.svelte"],{include:"@typescript"}],svelteExpressionInAttr:[[/}/,{token:"delimiter.bracket",next:"@pop"}],{include:"@typescript"}],htmlComment:[[/-->/,{token:"comment.html",next:"@pop"}],[/./,"comment.html"]],typescript:[[/\$(?:state|derived|effect|props|bindable|inspect|host)\b/,"variable.language.svelte"],[/\/\/.*$/,"comment"],[/\/\*/,{token:"comment",next:"@tsComment"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@tsDoubleString"],[/'/,"string","@tsSingleString"],[/`/,"string","@tsTemplateString"],[/\d*\.\d+([eE][-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/\b(break|case|catch|class|continue|const|constructor|debugger|default|delete|do|else|export|extends|false|finally|for|from|function|get|if|import|in|instanceof|interface|let|new|null|return|set|static|super|switch|this|throw|true|try|typeof|undefined|var|void|while|with|yield|async|await|of|as|type)\b/,"keyword"],[/[a-zA-Z_$][\w$]*/,"identifier"],[/@symbols/,"operator"],[/[{}()[\]]/,"delimiter.bracket"],[/[;,.]/,"delimiter"]],tsComment:[[/\*\//,{token:"comment",next:"@pop"}],[/./,"comment"]],tsDoubleString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],tsSingleString:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],tsTemplateString:[[/\$\{/,{token:"delimiter.bracket",next:"@tsTemplateStringExpression"}],[/[^`$]+/,"string"],[/`/,"string","@pop"]],tsTemplateStringExpression:[[/}/,{token:"delimiter.bracket",next:"@pop"}],{include:"@typescript"}]}}),t.info("[Monaco] Svelte language registered"))}export{B as configureMonacoWorkers,J as ensureMonacoInitialized,U as initializeMonaco,W as monaco};
1
+ import{_ as c}from"./Y9-4hTF9.js";import{g as m,R as M,C as E,E as _,K as S,a as T,M as P,b as $,P as I,e as R,f as C,T as A,U as z,r as j,h as D,k as O,l as i,i as V,m as w,j as u,J as f,c as k,d as h,S as b,t as p}from"./B7myJZdQ.js";import{l as t}from"./ChTqQfQN.js";const W=Object.freeze(Object.defineProperty({__proto__:null,CancellationTokenSource:E,Emitter:_,KeyCode:S,KeyMod:T,MarkerSeverity:P,MarkerTag:$,Position:I,Range:M,Selection:R,SelectionDirection:C,Token:A,Uri:z,css:j,editor:m,html:D,json:O,languages:i,lsp:V,typescript:w},Symbol.toStringTag,{value:"Module"}));let y=!1,g=null,v=!1,r=null;async function B(){if(!(typeof window>"u")&&!v)try{const[o,s,a,d,l]=await Promise.all([c(()=>import("./DvZ3DwdW.js"),[],import.meta.url),c(()=>import("./Cpgzc53H.js"),[],import.meta.url),c(()=>import("./CG-QPs-0.js"),[],import.meta.url),c(()=>import("./BluJBxCM.js"),[],import.meta.url),c(()=>import("./BW7ZDjCt.js"),[],import.meta.url)]);r={editor:o,json:s,css:a,html:d,ts:l},self.MonacoEnvironment={getWorker(n,e){if(!r)return t.error("[Monaco] Workers not loaded yet"),{postMessage:()=>{},terminate:()=>{}};try{return e==="json"?new r.json.default:e==="css"||e==="scss"||e==="less"?new r.css.default:e==="html"||e==="handlebars"||e==="razor"?new r.html.default:e==="typescript"||e==="javascript"?new r.ts.default:new r.editor.default}catch(x){return t.error("[Monaco] Failed to create worker for",e,x),{postMessage:()=>{},terminate:()=>{}}}},globalAPI:!1},v=!0,t.info("[Monaco] Workers configured successfully (lazy loaded)")}catch(o){throw t.error("[Monaco] Failed to configure Monaco workers",{error:o}),o}}async function J(){return y?Promise.resolve():g||(g=new Promise((o,s)=>{let a=0;const d=100,l=()=>{a++;try{if(W&&m&&i&&m.createModel&&typeof m.createModel=="function")m.createModel("test","plaintext").dispose(),y=!0,t.info("[Monaco] Monaco Editor initialized successfully"),o();else if(a>=d){const n=new Error("[Monaco] Monaco Editor failed to initialize after 5 seconds");t.error(n.message),s(n)}else setTimeout(l,50)}catch(n){a>=d?(t.error("[Monaco] Monaco Editor initialization error:",n),s(n)):setTimeout(l,50)}};l()}),g)}async function U(){try{if(await J(),!w){t.warn("[Monaco] TypeScript language service not available yet");return}u&&(u.setDiagnosticsOptions({noSemanticValidation:!1,noSyntaxValidation:!1}),u.setCompilerOptions({target:b.ES2020,allowNonTsExtensions:!0,moduleResolution:h.NodeJs,module:k.CommonJS,noEmit:!0,esModuleInterop:!0,jsx:f.React,reactNamespace:"React",allowJs:!0,typeRoots:["node_modules/@types"]}),u.setEagerModelSync(!0)),p&&(p.setDiagnosticsOptions({noSemanticValidation:!1,noSyntaxValidation:!1}),p.setCompilerOptions({target:b.ES2020,allowNonTsExtensions:!0,moduleResolution:h.NodeJs,module:k.CommonJS,noEmit:!0,esModuleInterop:!0,jsx:f.React,reactNamespace:"React",allowJs:!0,typeRoots:["node_modules/@types"]}),p.setEagerModelSync(!0)),L()}catch(o){t.warn("[Monaco] Error configuring Monaco languages:",o)}}function L(){i.getLanguages().some(s=>s.id==="svelte")||(i.register({id:"svelte",extensions:[".svelte"],aliases:["Svelte","svelte"],mimetypes:["text/x-svelte"]}),i.setLanguageConfiguration("svelte",{comments:{lineComment:"//",blockComment:["<!--","-->"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"<!--",close:"-->",notIn:["comment","string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"`",close:"`"}],folding:{markers:{start:/^\s*<!--\s*#region\b.*-->/,end:/^\s*<!--\s*#endregion\b.*-->/}},wordPattern:/(-?\d*\.\d\w*)|([^`~!@#%^&*()\-=+[{\]}\\|;:'",.<>/?\s]+)/g,indentationRules:{increaseIndentPattern:/<(?!(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)\b)[a-zA-Z][^/>]*>|{[^}]*$/,decreaseIndentPattern:/^\s*(<\/|}<)/}}),i.setMonarchTokensProvider("svelte",{defaultToken:"",tokenPostfix:".svelte",svelteKeywords:["#if","/if",":else",":else if","#each","/each","#await","/await",":then",":catch","#key","/key","#snippet","/snippet","@render","@html","@debug","@const"],keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","interface","let","new","null","return","set","static","super","switch","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of","as","type"],runes:["$state","$derived","$effect","$props","$bindable","$inspect","$host"],tagNames:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@","..."],symbols:/[=><!~?:&|+\-*\/^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/(<)(script)(\s+)(lang)(=)("ts"|'ts')/,["delimiter.html","tag.html","","attribute.name.html","delimiter.html","attribute.value.html"]],[/<script/,{token:"tag.html",next:"@script"}],[/<style/,{token:"tag.html",next:"@style"}],[/{#/,{token:"keyword.svelte",next:"@svelteBlock"}],[/{:/,{token:"keyword.svelte",next:"@svelteBlock"}],[/{\//,{token:"keyword.svelte",next:"@svelteBlock"}],[/{@/,{token:"keyword.svelte",next:"@svelteExpression"}],[/{/,{token:"delimiter.bracket",next:"@svelteExpression"}],[/<!--/,{token:"comment.html",next:"@htmlComment"}],[/(<)(\w+)/,["delimiter.html",{token:"tag.html",next:"@tag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@tag"}]],[/[^<{]+/,"text.html"]],script:[[/<\/script>/,{token:"tag.html",next:"@pop"}],{include:"@typescript"}],style:[[/<\/style>/,{token:"tag.html",next:"@pop"}],[/./,"source.css"]],tag:[[/\s+/,""],[/(\w+)(=)/,["attribute.name.html",{token:"delimiter.html",next:"@attributeValue"}]],[/\w+/,"attribute.name.html"],[/on:\w+/,"attribute.name.event.svelte"],[/bind:\w+/,"attribute.name.binding.svelte"],[/class:\w+/,"attribute.name.class.svelte"],[/use:\w+/,"attribute.name.action.svelte"],[/transition:\w+/,"attribute.name.transition.svelte"],[/in:\w+/,"attribute.name.transition.svelte"],[/out:\w+/,"attribute.name.transition.svelte"],[/animate:\w+/,"attribute.name.animation.svelte"],[/\/>/,{token:"delimiter.html",next:"@pop"}],[/>/,{token:"delimiter.html",next:"@pop"}]],attributeValue:[[/"[^"]*"/,{token:"attribute.value.html",next:"@pop"}],[/'[^']*'/,{token:"attribute.value.html",next:"@pop"}],[/{/,{token:"delimiter.bracket",next:"@svelteExpressionInAttr"}],[/\w+/,{token:"attribute.value.html",next:"@pop"}]],svelteBlock:[[/}/,{token:"keyword.svelte",next:"@pop"}],[/\b(if|else|each|await|then|catch|key|snippet|as)\b/,"keyword.control.svelte"],{include:"@typescript"}],svelteExpression:[[/}/,{token:"delimiter.bracket",next:"@pop"}],[/@(html|debug|const|render)/,"keyword.svelte"],{include:"@typescript"}],svelteExpressionInAttr:[[/}/,{token:"delimiter.bracket",next:"@pop"}],{include:"@typescript"}],htmlComment:[[/-->/,{token:"comment.html",next:"@pop"}],[/./,"comment.html"]],typescript:[[/\$(?:state|derived|effect|props|bindable|inspect|host)\b/,"variable.language.svelte"],[/\/\/.*$/,"comment"],[/\/\*/,{token:"comment",next:"@tsComment"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@tsDoubleString"],[/'/,"string","@tsSingleString"],[/`/,"string","@tsTemplateString"],[/\d*\.\d+([eE][-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/\b(break|case|catch|class|continue|const|constructor|debugger|default|delete|do|else|export|extends|false|finally|for|from|function|get|if|import|in|instanceof|interface|let|new|null|return|set|static|super|switch|this|throw|true|try|typeof|undefined|var|void|while|with|yield|async|await|of|as|type)\b/,"keyword"],[/[a-zA-Z_$][\w$]*/,"identifier"],[/@symbols/,"operator"],[/[{}()[\]]/,"delimiter.bracket"],[/[;,.]/,"delimiter"]],tsComment:[[/\*\//,{token:"comment",next:"@pop"}],[/./,"comment"]],tsDoubleString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],tsSingleString:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],tsTemplateString:[[/\$\{/,{token:"delimiter.bracket",next:"@tsTemplateStringExpression"}],[/[^`$]+/,"string"],[/`/,"string","@pop"]],tsTemplateStringExpression:[[/}/,{token:"delimiter.bracket",next:"@pop"}],{include:"@typescript"}]}}),t.info("[Monaco] Svelte language registered"))}export{B as configureMonacoWorkers,J as ensureMonacoInitialized,U as initializeMonaco,W as monaco};
@@ -1,4 +1,4 @@
1
- import{c as P}from"./CNHQ2hz2.js";import{c as J,f as Q,C as Y,H as y,g as G,b as X,F as Z,S as $,a as K}from"./Cjyjhytt.js";import{D as Oe,d as Ie,e as Le,R as Ne,h as Ee,i as Ue,j as De,t as Be,k as Re}from"./Cjyjhytt.js";import{l as _,g as B}from"./CxlqEDL_.js";const x=120*1e3;class C{constructor(i){this._defaults=i,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>x&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=P({moduleId:"vs/language/json/jsonWorker",createWorker:()=>new Worker(new URL("/app/immutable/workers/json.worker-Cgaz53LV.js",import.meta.url),{type:"module"}),label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...i){let t;return this._getClient().then(n=>{t=n}).then(n=>{if(this._worker)return this._worker.withSyncedResources(i)}).then(n=>t)}}function ee(e,i=!1){const t=e.length;let n=0,o="",p=0,l=16,u=0,g=0,w=0,v=0,c=0;function O(s,m){let a=0,r=0;for(;a<s;){let f=e.charCodeAt(n);if(f>=48&&f<=57)r=r*16+f-48;else if(f>=65&&f<=70)r=r*16+f-65+10;else if(f>=97&&f<=102)r=r*16+f-97+10;else break;n++,a++}return a<s&&(r=-1),r}function U(s){n=s,o="",p=0,l=16,c=0}function N(){let s=n;if(e.charCodeAt(n)===48)n++;else for(n++;n<e.length&&T(e.charCodeAt(n));)n++;if(n<e.length&&e.charCodeAt(n)===46)if(n++,n<e.length&&T(e.charCodeAt(n)))for(n++;n<e.length&&T(e.charCodeAt(n));)n++;else return c=3,e.substring(s,n);let m=n;if(n<e.length&&(e.charCodeAt(n)===69||e.charCodeAt(n)===101))if(n++,(n<e.length&&e.charCodeAt(n)===43||e.charCodeAt(n)===45)&&n++,n<e.length&&T(e.charCodeAt(n))){for(n++;n<e.length&&T(e.charCodeAt(n));)n++;m=n}else c=3;return e.substring(s,m)}function q(){let s="",m=n;for(;;){if(n>=t){s+=e.substring(m,n),c=2;break}const a=e.charCodeAt(n);if(a===34){s+=e.substring(m,n),n++;break}if(a===92){if(s+=e.substring(m,n),n++,n>=t){c=2;break}switch(e.charCodeAt(n++)){case 34:s+='"';break;case 92:s+="\\";break;case 47:s+="/";break;case 98:s+="\b";break;case 102:s+="\f";break;case 110:s+=`
1
+ import{c as P}from"./BS47DjuS.js";import{c as J,f as Q,C as Y,H as y,g as G,b as X,F as Z,S as $,a as K}from"./BPg5N0kY.js";import{D as Oe,d as Ie,e as Le,R as Ne,h as Ee,i as Ue,j as De,t as Be,k as Re}from"./BPg5N0kY.js";import{l as _,g as B}from"./B7myJZdQ.js";const x=120*1e3;class C{constructor(i){this._defaults=i,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>x&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=P({moduleId:"vs/language/json/jsonWorker",createWorker:()=>new Worker(new URL("/app/immutable/workers/json.worker-Cgaz53LV.js",import.meta.url),{type:"module"}),label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...i){let t;return this._getClient().then(n=>{t=n}).then(n=>{if(this._worker)return this._worker.withSyncedResources(i)}).then(n=>t)}}function ee(e,i=!1){const t=e.length;let n=0,o="",p=0,l=16,u=0,g=0,w=0,v=0,c=0;function O(s,m){let a=0,r=0;for(;a<s;){let f=e.charCodeAt(n);if(f>=48&&f<=57)r=r*16+f-48;else if(f>=65&&f<=70)r=r*16+f-65+10;else if(f>=97&&f<=102)r=r*16+f-97+10;else break;n++,a++}return a<s&&(r=-1),r}function U(s){n=s,o="",p=0,l=16,c=0}function N(){let s=n;if(e.charCodeAt(n)===48)n++;else for(n++;n<e.length&&T(e.charCodeAt(n));)n++;if(n<e.length&&e.charCodeAt(n)===46)if(n++,n<e.length&&T(e.charCodeAt(n)))for(n++;n<e.length&&T(e.charCodeAt(n));)n++;else return c=3,e.substring(s,n);let m=n;if(n<e.length&&(e.charCodeAt(n)===69||e.charCodeAt(n)===101))if(n++,(n<e.length&&e.charCodeAt(n)===43||e.charCodeAt(n)===45)&&n++,n<e.length&&T(e.charCodeAt(n))){for(n++;n<e.length&&T(e.charCodeAt(n));)n++;m=n}else c=3;return e.substring(s,m)}function q(){let s="",m=n;for(;;){if(n>=t){s+=e.substring(m,n),c=2;break}const a=e.charCodeAt(n);if(a===34){s+=e.substring(m,n),n++;break}if(a===92){if(s+=e.substring(m,n),n++,n>=t){c=2;break}switch(e.charCodeAt(n++)){case 34:s+='"';break;case 92:s+="\\";break;case 47:s+="/";break;case 98:s+="\b";break;case 102:s+="\f";break;case 110:s+=`
2
2
  `;break;case 114:s+="\r";break;case 116:s+=" ";break;case 117:const f=O(4);f>=0?s+=String.fromCharCode(f):c=4;break;default:c=5}m=n;continue}if(a>=0&&a<=31)if(I(a)){s+=e.substring(m,n),c=2;break}else c=6;n++}return s}function D(){if(o="",c=0,p=n,g=u,v=w,n>=t)return p=t,l=17;let s=e.charCodeAt(n);if(E(s)){do n++,o+=String.fromCharCode(s),s=e.charCodeAt(n);while(E(s));return l=15}if(I(s))return n++,o+=String.fromCharCode(s),s===13&&e.charCodeAt(n)===10&&(n++,o+=`
3
3
  `),u++,w=n,l=14;switch(s){case 123:return n++,l=1;case 125:return n++,l=2;case 91:return n++,l=3;case 93:return n++,l=4;case 58:return n++,l=6;case 44:return n++,l=5;case 34:return n++,o=q(),l=10;case 47:const m=n-1;if(e.charCodeAt(n+1)===47){for(n+=2;n<t&&!I(e.charCodeAt(n));)n++;return o=e.substring(m,n),l=12}if(e.charCodeAt(n+1)===42){n+=2;const a=t-1;let r=!1;for(;n<a;){const f=e.charCodeAt(n);if(f===42&&e.charCodeAt(n+1)===47){n+=2,r=!0;break}n++,I(f)&&(f===13&&e.charCodeAt(n)===10&&n++,u++,w=n)}return r||(n++,c=1),o=e.substring(m,n),l=13}return o+=String.fromCharCode(s),n++,l=16;case 45:if(o+=String.fromCharCode(s),n++,n===t||!T(e.charCodeAt(n)))return l=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return o+=N(),l=11;default:for(;n<t&&z(s);)n++,s=e.charCodeAt(n);if(p!==n){switch(o=e.substring(p,n),o){case"true":return l=8;case"false":return l=9;case"null":return l=7}return l=16}return o+=String.fromCharCode(s),n++,l=16}}function z(s){if(E(s)||I(s))return!1;switch(s){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function d(){let s;do s=D();while(s>=12&&s<=15);return s}return{setPosition:U,getPosition:()=>n,scan:i?d:D,getToken:()=>l,getTokenValue:()=>o,getTokenOffset:()=>p,getTokenLength:()=>n-p,getTokenStartLine:()=>g,getTokenStartCharacter:()=>p-v,getTokenError:()=>c}}function E(e){return e===32||e===9}function I(e){return e===10||e===13}function T(e){return e>=48&&e<=57}var R;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(R||(R={}));new Array(20).fill(0).map((e,i)=>" ".repeat(i));const A=200;new Array(A).fill(0).map((e,i)=>`
4
4
  `+" ".repeat(i)),new Array(A).fill(0).map((e,i)=>"\r"+" ".repeat(i)),new Array(A).fill(0).map((e,i)=>`\r
@@ -1 +1 @@
1
- import{d as l,v as h,t as T}from"./WFvSJ9zU.js";import{Iz as c,v4 as w}from"./C4xNNtUj.js";import{i as W,c as s,n as u,b as m}from"./Dzr2-f8u.js";const E=new Set(["new","creating"]);function g(n){let t;try{t=decodeURIComponent(n)}catch{return null}return t.length===0||E.has(t)?null:t}function f(n){const t=/^\/workspace\/([^/?#]+)\/?(?:[?#].*)?$/.exec(n);return t?g(t[1]):null}function A(n){const t=/^\/workspace\/([^/?#]+)(?:[/?#].*)?$/.exec(n);return t?g(t[1]):null}function N(n,t){return t.length>0&&A(n)===t}function p(){return typeof window>"u"?null:window.location?.pathname??null}function d(n,t){const e=`/workspace/${encodeURIComponent(n)}`,a=t?new URLSearchParams(t).toString():"";return a?`${e}?${a}`:e}function R(n,t){const e=t?.presenceFollowRequestId;return e?w(n,e):w(n)}function I(n,t){return t?u(n,{state:t}):u(n)}function o(n){return n?.tabState?.currentTabId??null}async function S(n,t,e,a){m();const i=I(t,e),r={workspaceId:n,epoch:s(),startTabId:a};return await i,r}function y(n){return!n||W()}function b(n,t){if(s()!==n.epoch||t!==n.startTabId&&t!==n.workspaceId)return!1;const e=p();return e===null||f(e)===n.workspaceId}async function v(n,t,e){if(y(n))return!1;const a=await S(n,t,e,o(c.state));return b(a,o(c.state))?(c.dispatch(R(n,e)),!0):!1}function*k(n,t,e){if(y(n))return!1;const a=o(yield*h(r=>r)),i=yield*l(S,n,t,e,a);return b(i,o(yield*h(r=>r)))?(yield*T(R(n,e)),!0):!1}function P(){m();const n=s(),t=o(c.state),e=p();return()=>s()===n&&o(c.state)===t&&p()===e}function _(n,t={}){return v(n,d(n,t.query),t.state)}function O(n,t={}){return k(n,d(n,t.query),t.state)}async function $(n){const t=f(n);t?await v(t,n,void 0):await u(n)}function*j(n){const t=f(n);t?yield*l(k,t,n,void 0):yield*l(u,n)}const U=Object.freeze(Object.defineProperty({__proto__:null,claimNavigation:P,navigateToAppRoute:$,navigateToAppRouteSaga:j,openAndShowWorkspace:_,showWorkspaceSaga:O,workspaceRoute:d},Symbol.toStringTag,{value:"Module"}));export{p as a,j as b,P as c,O as d,d as e,N as i,$ as n,_ as o,f as p,U as s,A as w};
1
+ import{d as l,v as h,t as T}from"./WFvSJ9zU.js";import{Iz as c,v4 as w}from"./tU_ZJtMw.js";import{i as W,c as s,n as u,b as m}from"./DKzgMUBy.js";const E=new Set(["new","creating"]);function g(n){let t;try{t=decodeURIComponent(n)}catch{return null}return t.length===0||E.has(t)?null:t}function f(n){const t=/^\/workspace\/([^/?#]+)\/?(?:[?#].*)?$/.exec(n);return t?g(t[1]):null}function A(n){const t=/^\/workspace\/([^/?#]+)(?:[/?#].*)?$/.exec(n);return t?g(t[1]):null}function N(n,t){return t.length>0&&A(n)===t}function p(){return typeof window>"u"?null:window.location?.pathname??null}function d(n,t){const e=`/workspace/${encodeURIComponent(n)}`,a=t?new URLSearchParams(t).toString():"";return a?`${e}?${a}`:e}function R(n,t){const e=t?.presenceFollowRequestId;return e?w(n,e):w(n)}function I(n,t){return t?u(n,{state:t}):u(n)}function o(n){return n?.tabState?.currentTabId??null}async function S(n,t,e,a){m();const i=I(t,e),r={workspaceId:n,epoch:s(),startTabId:a};return await i,r}function y(n){return!n||W()}function b(n,t){if(s()!==n.epoch||t!==n.startTabId&&t!==n.workspaceId)return!1;const e=p();return e===null||f(e)===n.workspaceId}async function v(n,t,e){if(y(n))return!1;const a=await S(n,t,e,o(c.state));return b(a,o(c.state))?(c.dispatch(R(n,e)),!0):!1}function*k(n,t,e){if(y(n))return!1;const a=o(yield*h(r=>r)),i=yield*l(S,n,t,e,a);return b(i,o(yield*h(r=>r)))?(yield*T(R(n,e)),!0):!1}function P(){m();const n=s(),t=o(c.state),e=p();return()=>s()===n&&o(c.state)===t&&p()===e}function _(n,t={}){return v(n,d(n,t.query),t.state)}function O(n,t={}){return k(n,d(n,t.query),t.state)}async function $(n){const t=f(n);t?await v(t,n,void 0):await u(n)}function*j(n){const t=f(n);t?yield*l(k,t,n,void 0):yield*l(u,n)}const U=Object.freeze(Object.defineProperty({__proto__:null,claimNavigation:P,navigateToAppRoute:$,navigateToAppRouteSaga:j,openAndShowWorkspace:_,showWorkspaceSaga:O,workspaceRoute:d},Symbol.toStringTag,{value:"Module"}));export{p as a,j as b,P as c,O as d,d as e,N as i,$ as n,_ as o,f as p,U as s,A as w};