@highstate/designer 0.9.16 → 0.9.18

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 (517) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_nuxt/0A0GXgOL.js +13 -0
  3. package/.output/public/_nuxt/1DNp92w6.js +1 -0
  4. package/.output/public/_nuxt/2EtD6e53.js +1 -0
  5. package/.output/public/_nuxt/2UxHyX5q.js +1 -0
  6. package/.output/public/_nuxt/3e1v2bzS.js +1 -0
  7. package/.output/public/_nuxt/4A_iFExJ.js +1 -0
  8. package/.output/public/_nuxt/5bLW0GMw.js +1 -0
  9. package/.output/public/_nuxt/5i3qLPDT.js +1 -0
  10. package/.output/public/_nuxt/6nHXG8SA.js +1 -0
  11. package/.output/public/_nuxt/84XNjSIe.js +1 -0
  12. package/.output/public/_nuxt/85-TOEBH.js +1 -0
  13. package/.output/public/_nuxt/9ZFiTIhr.js +1 -0
  14. package/.output/public/_nuxt/B-hkwWGT.js +1 -0
  15. package/.output/public/_nuxt/B0m2ddpp.js +1 -0
  16. package/.output/public/_nuxt/B1dDrJ26.js +1 -0
  17. package/.output/public/_nuxt/B1yitclQ.js +1 -0
  18. package/.output/public/_nuxt/B5ZR69Tn.js +1 -0
  19. package/.output/public/_nuxt/B6aJPvgy.js +1 -0
  20. package/.output/public/_nuxt/B7grBCAR.js +1 -0
  21. package/.output/public/_nuxt/B7mTdjB0.js +1 -0
  22. package/.output/public/_nuxt/BBGuKPBd.js +1 -0
  23. package/.output/public/_nuxt/BDzgwa52.js +1 -0
  24. package/.output/public/_nuxt/BE2KfCdU.js +1 -0
  25. package/.output/public/_nuxt/BEDo0Tqx.js +1 -0
  26. package/.output/public/_nuxt/BERRCDM3.js +1 -0
  27. package/.output/public/_nuxt/BETggiCN.js +1 -0
  28. package/.output/public/_nuxt/BEwlwnbL.js +1 -0
  29. package/.output/public/_nuxt/BFfxhgS-.js +1 -0
  30. package/.output/public/_nuxt/BGHREFWD.js +1 -0
  31. package/.output/public/_nuxt/BGJmEYvX.js +1 -0
  32. package/.output/public/_nuxt/BHrmToEH.js +1 -0
  33. package/.output/public/_nuxt/BIAuTxu3.js +1 -0
  34. package/.output/public/_nuxt/BIGW1oBm.js +1 -0
  35. package/.output/public/_nuxt/BIHI7g3E.js +1 -0
  36. package/.output/public/_nuxt/BKmAPqal.js +1 -0
  37. package/.output/public/_nuxt/BLOpwnqT.js +1 -0
  38. package/.output/public/_nuxt/BLtJtn59.js +1 -0
  39. package/.output/public/_nuxt/BLxL40Jp.js +1 -0
  40. package/.output/public/_nuxt/BM1_JUlF.js +1 -0
  41. package/.output/public/_nuxt/BMMyXqK5.js +1 -0
  42. package/.output/public/_nuxt/BMWR74SV.js +1 -0
  43. package/.output/public/_nuxt/BPzJO5Oe.js +1 -0
  44. package/.output/public/_nuxt/BQ8w6xss.js +1 -0
  45. package/.output/public/_nuxt/BQvybpQq.js +1 -0
  46. package/.output/public/_nuxt/BR7mELCv.js +1 -0
  47. package/.output/public/_nuxt/BRHolxvo.js +1 -0
  48. package/.output/public/_nuxt/BRZ36xJF.js +1 -0
  49. package/.output/public/_nuxt/BTEhxafZ.js +1 -0
  50. package/.output/public/_nuxt/BTJTHyun.js +1 -0
  51. package/.output/public/_nuxt/BU7Cl-8B.js +1 -0
  52. package/.output/public/_nuxt/BV7otONQ.js +1 -0
  53. package/.output/public/_nuxt/BWvSN4gD.js +1 -0
  54. package/.output/public/_nuxt/BXY8tDGw.js +1 -0
  55. package/.output/public/_nuxt/BXkSAIEj.js +1 -0
  56. package/.output/public/_nuxt/BYunw83y.js +1 -0
  57. package/.output/public/_nuxt/B_HjzqPZ.js +1 -0
  58. package/.output/public/_nuxt/B_m7g4N7.js +1 -0
  59. package/.output/public/_nuxt/B_wu9Dqv.js +1 -0
  60. package/.output/public/_nuxt/BbcW6ACK.js +1 -0
  61. package/.output/public/_nuxt/BcOcwvcX.js +1 -0
  62. package/.output/public/_nuxt/BdImnpbu.js +1 -0
  63. package/.output/public/_nuxt/BdnUsdx6.js +1 -0
  64. package/.output/public/_nuxt/BebE75YV.js +1 -0
  65. package/.output/public/_nuxt/BepWV7mh.js +1 -0
  66. package/.output/public/_nuxt/BfHTSMKl.js +1 -0
  67. package/.output/public/_nuxt/BfjtVDDH.js +1 -0
  68. package/.output/public/_nuxt/BgDCqdQA.js +1 -0
  69. package/.output/public/_nuxt/BhOHFoWU.js +1 -0
  70. package/.output/public/_nuxt/Bk5OV074.js +1 -0
  71. package/.output/public/_nuxt/BkPM1oy1.js +1 -0
  72. package/.output/public/_nuxt/BkioyH1T.js +1 -0
  73. package/.output/public/_nuxt/Bkuqu6BP.js +1 -0
  74. package/.output/public/_nuxt/Bl2oy6fF.js +1 -0
  75. package/.output/public/_nuxt/BmXAJ9_W.js +1 -0
  76. package/.output/public/_nuxt/Bm_zuxCd.js +1 -0
  77. package/.output/public/_nuxt/BoKiGodi.js +1 -0
  78. package/.output/public/_nuxt/Bp3cYrEr.js +1 -0
  79. package/.output/public/_nuxt/Bp6g37R7.js +1 -0
  80. package/.output/public/_nuxt/BqTXFGrv.js +1 -0
  81. package/.output/public/_nuxt/BqYA7rlc.js +1 -0
  82. package/.output/public/_nuxt/BsS91CYL.js +1 -0
  83. package/.output/public/_nuxt/BspZqrRM.js +1 -0
  84. package/.output/public/_nuxt/BtCnVYZw.js +1 -0
  85. package/.output/public/_nuxt/BtOb2qkB.js +1 -0
  86. package/.output/public/_nuxt/BthQWCQV.js +1 -0
  87. package/.output/public/_nuxt/BtqSS_iP.js +1 -0
  88. package/.output/public/_nuxt/BtsDLbAf.js +1 -0
  89. package/.output/public/_nuxt/Btyk0a-E.js +1 -0
  90. package/.output/public/_nuxt/Buea-lGh.js +1 -0
  91. package/.output/public/_nuxt/BuidTy5i.js +1 -0
  92. package/.output/public/_nuxt/BvAqAH-y.js +1 -0
  93. package/.output/public/_nuxt/BvYfgXkl.js +1 -0
  94. package/.output/public/_nuxt/Bw305WKR.js +1 -0
  95. package/.output/public/_nuxt/BzJJZx-M.js +1 -0
  96. package/.output/public/_nuxt/C-SQnVFl.js +1 -0
  97. package/.output/public/_nuxt/C-_oQ9hf.js +1 -0
  98. package/.output/public/_nuxt/C0HS_06l.js +1 -0
  99. package/.output/public/_nuxt/C0hk2d4L.js +1 -0
  100. package/.output/public/_nuxt/C151Ov-r.js +1 -0
  101. package/.output/public/_nuxt/C2t-YnRu.js +1 -0
  102. package/.output/public/_nuxt/C39BiMTA.js +1 -0
  103. package/.output/public/_nuxt/C3B-1QV4.js +1 -0
  104. package/.output/public/_nuxt/C3khCPGq.js +1 -0
  105. package/.output/public/_nuxt/C3mMm8J8.js +1 -0
  106. package/.output/public/_nuxt/C4IJs8-o.js +1 -0
  107. package/.output/public/_nuxt/C7Pw0Ztw.js +1 -0
  108. package/.output/public/_nuxt/C8-UwF3o.js +1 -0
  109. package/.output/public/_nuxt/C8M2exoo.js +1 -0
  110. package/.output/public/_nuxt/C8j9CRIf.js +1 -0
  111. package/.output/public/_nuxt/C8lEn-DE.js +1 -0
  112. package/.output/public/_nuxt/C98Dy4si.js +1 -0
  113. package/.output/public/_nuxt/C9XAeP06.js +1 -0
  114. package/.output/public/_nuxt/C9tS-k6U.js +1 -0
  115. package/.output/public/_nuxt/CA7CTBwS.js +1 -0
  116. package/.output/public/_nuxt/CDVJQ6XC.js +1 -0
  117. package/.output/public/_nuxt/CDx5xZoG.js +1 -0
  118. package/.output/public/_nuxt/CEL-wOlO.js +1 -0
  119. package/.output/public/_nuxt/CEu0bR-o.js +1 -0
  120. package/.output/public/_nuxt/CF10PKvl.js +1 -0
  121. package/.output/public/_nuxt/CG8Ifv2g.js +1 -0
  122. package/.output/public/_nuxt/CGqH5EJj.js +1 -0
  123. package/.output/public/_nuxt/CHLpvVh8.js +1 -0
  124. package/.output/public/_nuxt/CHM0blh-.js +1 -0
  125. package/.output/public/_nuxt/CHadp7IV.js +1 -0
  126. package/.output/public/_nuxt/CHh-QcGE.js +1 -0
  127. package/.output/public/_nuxt/CJc9bBzg.js +1 -0
  128. package/.output/public/_nuxt/CKIfxQSi.js +1 -0
  129. package/.output/public/_nuxt/CLvts2aQ.js +1 -0
  130. package/.output/public/_nuxt/CLxacb5B.js +1 -0
  131. package/.output/public/_nuxt/CNBtkm4J.js +6 -0
  132. package/.output/public/_nuxt/CO1LY3CK.js +1 -0
  133. package/.output/public/_nuxt/COEtLSDF.js +1 -0
  134. package/.output/public/_nuxt/COI20M4I.js +1 -0
  135. package/.output/public/_nuxt/COWjEZnb.js +1 -0
  136. package/.output/public/_nuxt/COkxafJQ.js +1 -0
  137. package/.output/public/_nuxt/COt5Ahok.js +1 -0
  138. package/.output/public/_nuxt/CPSgaaQ0.js +1 -0
  139. package/.output/public/_nuxt/CPtXGFXV.js +1 -0
  140. package/.output/public/_nuxt/CS3Unz2-.js +1 -0
  141. package/.output/public/_nuxt/CSXwinHm.js +1 -0
  142. package/.output/public/_nuxt/CTIxkRwW.js +1 -0
  143. package/.output/public/_nuxt/CTRr51gU.js +1 -0
  144. package/.output/public/_nuxt/CTUD0bHN.js +1 -0
  145. package/.output/public/_nuxt/CTWiQX6C.js +1 -0
  146. package/.output/public/_nuxt/CU1B2r8a.js +1 -0
  147. package/.output/public/_nuxt/CU27uY9n.js +1 -0
  148. package/.output/public/_nuxt/CVO1_9PV.js +1 -0
  149. package/.output/public/_nuxt/CXtECtnM.js +1 -0
  150. package/.output/public/_nuxt/CYRjgJw9.js +26 -0
  151. package/.output/public/_nuxt/CZlF05X6.js +1 -0
  152. package/.output/public/_nuxt/CafNBF8u.js +1 -0
  153. package/.output/public/_nuxt/Cb0HU5_O.js +1 -0
  154. package/.output/public/_nuxt/CbFg5uaA.js +1 -0
  155. package/.output/public/_nuxt/CbfX1IO0.js +1 -0
  156. package/.output/public/_nuxt/CcyOm34o.js +1 -0
  157. package/.output/public/_nuxt/CdggvHu8.js +1 -0
  158. package/.output/public/_nuxt/CeAyd5Ju.js +1 -0
  159. package/.output/public/_nuxt/CeZK1NFH.js +1 -0
  160. package/.output/public/_nuxt/CfQXZHmo.js +1 -0
  161. package/.output/public/_nuxt/CfeIJUat.js +1 -0
  162. package/.output/public/_nuxt/Cg-RD9OK.js +1 -0
  163. package/.output/public/_nuxt/ChMvpjG-.js +1 -0
  164. package/.output/public/_nuxt/Cj-b45ZR.js +1 -0
  165. package/.output/public/_nuxt/Cj5Yp3dK.js +1 -0
  166. package/.output/public/_nuxt/CkByrt1z.js +1 -0
  167. package/.output/public/_nuxt/CkXjmgJE.js +1 -0
  168. package/.output/public/_nuxt/ClbN2oa7.js +2 -0
  169. package/.output/public/_nuxt/Cmh6b_Ma.js +1 -0
  170. package/.output/public/_nuxt/CnK8MTSM.js +1 -0
  171. package/.output/public/_nuxt/CnnmHF94.js +1 -0
  172. package/.output/public/_nuxt/Co6uUVPk.js +1 -0
  173. package/.output/public/_nuxt/Cp-IABpG.js +1 -0
  174. package/.output/public/_nuxt/Cq5zzVJU.js +1 -0
  175. package/.output/public/_nuxt/CquLrc37.js +1 -0
  176. package/.output/public/_nuxt/CsfeWuGM.js +1 -0
  177. package/.output/public/_nuxt/Csfq5Kiy.js +1 -0
  178. package/.output/public/_nuxt/CtMxL075.js +21 -0
  179. package/.output/public/_nuxt/CtrldY6v.js +1 -0
  180. package/.output/public/_nuxt/Cuk6v7N8.js +1 -0
  181. package/.output/public/_nuxt/Cv9koXgw.js +1 -0
  182. package/.output/public/_nuxt/CxGSJlkm.js +1 -0
  183. package/.output/public/_nuxt/CyktbL80.js +1 -0
  184. package/.output/public/_nuxt/CylS5w8V.js +1 -0
  185. package/.output/public/_nuxt/CzTSHFRz.js +1 -0
  186. package/.output/public/_nuxt/D-2ljcwZ.js +1 -0
  187. package/.output/public/_nuxt/D-pF80u_.js +1 -0
  188. package/.output/public/_nuxt/D08WgyRC.js +1 -0
  189. package/.output/public/_nuxt/D0Gq3ULd.js +1 -0
  190. package/.output/public/_nuxt/D0YGMca9.js +1 -0
  191. package/.output/public/_nuxt/D0r3Knsf.js +1 -0
  192. package/.output/public/_nuxt/D17OF-Vu.js +1 -0
  193. package/.output/public/_nuxt/D1j8_8rp.js +1 -0
  194. package/.output/public/_nuxt/D1uDOp7C.js +1 -0
  195. package/.output/public/_nuxt/D22FLkUw.js +1 -0
  196. package/.output/public/_nuxt/D2CYqzqI.js +1 -0
  197. package/.output/public/_nuxt/D32k8WzR.js +1 -0
  198. package/.output/public/_nuxt/D3lLCCz7.js +1 -0
  199. package/.output/public/_nuxt/D4h5O-jR.js +1 -0
  200. package/.output/public/_nuxt/D5-asLiD.js +1 -0
  201. package/.output/public/_nuxt/D5KoaKCx.js +1 -0
  202. package/.output/public/_nuxt/D7ScPSBf.js +1 -0
  203. package/.output/public/_nuxt/D7o27uSR.js +1 -0
  204. package/.output/public/_nuxt/D7oLnXFd.js +1 -0
  205. package/.output/public/_nuxt/D82EKSYY.js +1 -0
  206. package/.output/public/_nuxt/D93ZcfNL.js +1 -0
  207. package/.output/public/_nuxt/D97Zzqfu.js +1 -0
  208. package/.output/public/_nuxt/DAi9KRSo.js +1 -0
  209. package/.output/public/_nuxt/DCWrMWBD.js +1 -0
  210. package/.output/public/_nuxt/DEsY2yuF.js +1 -0
  211. package/.output/public/_nuxt/DFQXde-d.js +1 -0
  212. package/.output/public/_nuxt/DFXneXwc.js +1 -0
  213. package/.output/public/_nuxt/DGztddWO.js +1 -0
  214. package/.output/public/_nuxt/DH5Ifo-i.js +1 -0
  215. package/.output/public/_nuxt/DHCkPAjA.js +1 -0
  216. package/.output/public/_nuxt/DHJKELXO.js +1 -0
  217. package/.output/public/_nuxt/DKYwYmdq.js +1 -0
  218. package/.output/public/_nuxt/DKzvysjW.js +1 -0
  219. package/.output/public/_nuxt/DM8c43g1.js +1 -0
  220. package/.output/public/_nuxt/DMDPKkZ0.js +1 -0
  221. package/.output/public/_nuxt/DMzUqQB5.js +1 -0
  222. package/.output/public/_nuxt/DNrj_gVY.js +1 -0
  223. package/.output/public/_nuxt/DPcUKYIF.js +1 -0
  224. package/.output/public/_nuxt/DPfMkruS.js +1 -0
  225. package/.output/public/_nuxt/DPvdOr2J.js +1 -0
  226. package/.output/public/_nuxt/DRg8JJMk.js +1 -0
  227. package/.output/public/_nuxt/DRprw4p4.js +1 -0
  228. package/.output/public/_nuxt/DS1LvVMU.js +1 -0
  229. package/.output/public/_nuxt/DU1UobuO.js +1 -0
  230. package/.output/public/_nuxt/DUSGQflk.js +1 -0
  231. package/.output/public/_nuxt/DUszq2jm.js +1 -0
  232. package/.output/public/_nuxt/DVFEvuxE.js +1 -0
  233. package/.output/public/_nuxt/DVMEJ2y_.js +1 -0
  234. package/.output/public/_nuxt/DVxCFoDh.js +1 -0
  235. package/.output/public/_nuxt/DWedfzmr.js +1 -0
  236. package/.output/public/_nuxt/DWrx1Km3.js +1 -0
  237. package/.output/public/_nuxt/DXbdFlpD.js +1 -0
  238. package/.output/public/_nuxt/DXmwc3jG.js +1 -0
  239. package/.output/public/_nuxt/DXvB9xmW.js +1 -0
  240. package/.output/public/_nuxt/DZxFcAj9.js +1 -0
  241. package/.output/public/_nuxt/D_Q5rh1f.js +1 -0
  242. package/.output/public/_nuxt/Da5cRb03.js +1 -0
  243. package/.output/public/_nuxt/DbtIzDGy.js +1 -0
  244. package/.output/public/_nuxt/DcaNXYhu.js +1 -0
  245. package/.output/public/_nuxt/Dd19v3D-.js +1 -0
  246. package/.output/public/_nuxt/DdkO51Og.js +1 -0
  247. package/.output/public/_nuxt/Ddv68eIx.js +1 -0
  248. package/.output/public/_nuxt/DeWFVDHI.js +1 -0
  249. package/.output/public/_nuxt/Des-eS-w.js +1 -0
  250. package/.output/public/_nuxt/Df68jz8_.js +1 -0
  251. package/.output/public/_nuxt/Df6bDoY_.js +1 -0
  252. package/.output/public/_nuxt/DiinP2Uv.js +1 -0
  253. package/.output/public/_nuxt/DkFqJrB1.js +1 -0
  254. package/.output/public/_nuxt/DkhsQLT2.js +1 -0
  255. package/.output/public/_nuxt/DkwncUOv.js +1 -0
  256. package/.output/public/_nuxt/DlfHMoPT.js +1 -0
  257. package/.output/public/_nuxt/DljmTZ5-.js +1 -0
  258. package/.output/public/_nuxt/Dn2_MT6a.js +1 -0
  259. package/.output/public/_nuxt/DnULxvSX.js +1 -0
  260. package/.output/public/_nuxt/Dpen1YoG.js +1 -0
  261. package/.output/public/_nuxt/DqwNpetd.js +1 -0
  262. package/.output/public/_nuxt/Dr8Zlu6v.js +1 -0
  263. package/.output/public/_nuxt/DrZfEa88.js +1 -0
  264. package/.output/public/_nuxt/Drp5UXmf.js +1 -0
  265. package/.output/public/_nuxt/DsOJ9woJ.js +1 -0
  266. package/.output/public/_nuxt/Dtc2v4kS.js +1 -0
  267. package/.output/public/_nuxt/DwheRqRn.js +1 -0
  268. package/.output/public/_nuxt/Dx-B1_4e.js +1 -0
  269. package/.output/public/_nuxt/DyJlTyXw.js +1 -0
  270. package/.output/public/_nuxt/DyxjwDmM.js +1 -0
  271. package/.output/public/_nuxt/E3gJ1_iC.js +1 -0
  272. package/.output/public/_nuxt/ETK3OkTL.js +1 -0
  273. package/.output/public/_nuxt/I3RK9BU8.js +1 -0
  274. package/.output/public/_nuxt/IeuSbFQv.js +1 -0
  275. package/.output/public/_nuxt/IvJ92aGK.js +1 -0
  276. package/.output/public/_nuxt/JhPuU2gP.js +1 -0
  277. package/.output/public/_nuxt/L9t79GZl.js +1 -0
  278. package/.output/public/_nuxt/MzD3tlZU.js +1 -0
  279. package/.output/public/_nuxt/NleAzG8P.js +1 -0
  280. package/.output/public/_nuxt/P80f7IUj.js +1 -0
  281. package/.output/public/_nuxt/Pmp26Uib.js +1 -0
  282. package/.output/public/_nuxt/PoHY5YXO.js +1 -0
  283. package/.output/public/_nuxt/QIJgUcNo.js +1 -0
  284. package/.output/public/_nuxt/SQImb3Xm.js +1513 -0
  285. package/.output/public/_nuxt/SVGiTNnK.js +1 -0
  286. package/.output/public/_nuxt/SettingsDataTable.BLJqwlEK.css +1 -0
  287. package/.output/public/_nuxt/UInuXPgp.js +1 -0
  288. package/.output/public/_nuxt/UQxqNY8s.js +273 -0
  289. package/.output/public/_nuxt/VOosw3JB.js +1 -0
  290. package/.output/public/_nuxt/Xi2tawMN.js +1 -0
  291. package/.output/public/_nuxt/Yzrsuije.js +1 -0
  292. package/.output/public/_nuxt/ZwEiOJEn.js +1 -0
  293. package/.output/public/_nuxt/_ykCGR6B.js +1 -0
  294. package/.output/public/_nuxt/about.fWlW3EhQ.css +1 -0
  295. package/.output/public/_nuxt/bCR0ucgS.js +1 -0
  296. package/.output/public/_nuxt/bN70gL4F.js +1 -0
  297. package/.output/public/_nuxt/brDaU2vB.js +1 -0
  298. package/.output/public/_nuxt/builds/latest.json +1 -0
  299. package/.output/public/_nuxt/builds/meta/b0e10f5e-bdc5-4007-9281-161aa323adf1.json +1 -0
  300. package/.output/public/_nuxt/codicon.DCmgc-ay.ttf +0 -0
  301. package/.output/public/_nuxt/components.CIe9upZ4.css +1 -0
  302. package/.output/public/_nuxt/dglhsJpM.js +1 -0
  303. package/.output/public/_nuxt/dwOrl1Do.js +1 -0
  304. package/.output/public/_nuxt/edge-router-Cceh9XsC.js +4 -0
  305. package/.output/public/_nuxt/editor.worker-7Ic39DJY.js +12 -0
  306. package/.output/public/_nuxt/entry.YsT17dxl.css +1 -0
  307. package/.output/public/_nuxt/error-404.CH3riSrg.css +1 -0
  308. package/.output/public/_nuxt/error-500.C8Qk6cR7.css +1 -0
  309. package/.output/public/_nuxt/f7oK2omx.js +1 -0
  310. package/.output/public/_nuxt/fuZLfV_i.js +1 -0
  311. package/.output/public/_nuxt/fve9TYiY.js +1 -0
  312. package/.output/public/_nuxt/g9-lgVsj.js +1 -0
  313. package/.output/public/_nuxt/gcz8RCvz.js +1 -0
  314. package/.output/public/_nuxt/graph-layout-CFj469YF.js +1 -0
  315. package/.output/public/_nuxt/graph-resolver-ClVztv7P.js +175 -0
  316. package/.output/public/_nuxt/hegEt444.js +1 -0
  317. package/.output/public/_nuxt/hira-1.DuDDiA5P.png +0 -0
  318. package/.output/public/_nuxt/hira-unlock-impossible.B5Pl3pvF.png +0 -0
  319. package/.output/public/_nuxt/index.cU4FhqMM.css +1 -0
  320. package/.output/public/_nuxt/index.smtD6lYF.css +1 -0
  321. package/.output/public/_nuxt/instances.CGwVkdDM.css +1 -0
  322. package/.output/public/_nuxt/irsrSlf-.js +1 -0
  323. package/.output/public/_nuxt/lXgVvXCa.js +1 -0
  324. package/.output/public/_nuxt/materialdesignicons-webfont.B6OSyW2I.woff2 +0 -0
  325. package/.output/public/_nuxt/materialdesignicons-webfont.BpRar1d5.ttf +0 -0
  326. package/.output/public/_nuxt/materialdesignicons-webfont.Bvl3VxMs.woff +0 -0
  327. package/.output/public/_nuxt/materialdesignicons-webfont.TEmAk13K.eot +0 -0
  328. package/.output/public/_nuxt/monaco-editor.D_J4ItrK.css +1 -0
  329. package/.output/public/_nuxt/oVh4WQ21.js +1 -0
  330. package/.output/public/_nuxt/operations.BfCOaoAx.css +1 -0
  331. package/.output/public/_nuxt/operations.DvUkbQbt.css +1 -0
  332. package/.output/public/_nuxt/p5ZwBirz.js +1 -0
  333. package/.output/public/_nuxt/pkIJ47B4.js +1 -0
  334. package/.output/public/_nuxt/q-j0iyEw.js +1 -0
  335. package/.output/public/_nuxt/qliWkHmV.js +1 -0
  336. package/.output/public/_nuxt/secrets._PitGGJK.css +1 -0
  337. package/.output/public/_nuxt/settings.BCRf8MgD.css +1 -0
  338. package/.output/public/_nuxt/terminals.B07MGsh3.css +1 -0
  339. package/.output/public/_nuxt/uMbE6_td.js +1 -0
  340. package/.output/public/_nuxt/vGWfd6FD.js +1 -0
  341. package/.output/public/_nuxt/vuetify.C_sYHwU6.css +5 -0
  342. package/.output/public/_nuxt/xVLoeQ-B.js +1 -0
  343. package/.output/public/_nuxt/yaml.worker-DLQcEOxU.js +410 -0
  344. package/.output/public/_nuxt/yv6CvBhz.js +1 -0
  345. package/.output/public/favicon.ico +0 -0
  346. package/.output/public/libavoid.wasm +0 -0
  347. package/.output/public/robots.txt +1 -0
  348. package/.output/server/index.mjs +18396 -0
  349. package/.output/server/index.mjs.map +1 -0
  350. package/.output/server/node_modules/@babel/parser/lib/index.js +14586 -0
  351. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  352. package/.output/server/node_modules/@trpc/server/dist/adapters/fetch/index.mjs +58 -0
  353. package/.output/server/node_modules/@trpc/server/dist/adapters/ws.mjs +15 -0
  354. package/.output/server/node_modules/@trpc/server/dist/contentTypeParsers-SN4WL9ze.mjs +13 -0
  355. package/.output/server/node_modules/@trpc/server/dist/getErrorShape-Uhlrl4Bk.mjs +263 -0
  356. package/.output/server/node_modules/@trpc/server/dist/http-CWyjOa1l.mjs +0 -0
  357. package/.output/server/node_modules/@trpc/server/dist/index.mjs +6 -0
  358. package/.output/server/node_modules/@trpc/server/dist/initTRPC-IT_6ZYJd.mjs +358 -0
  359. package/.output/server/node_modules/@trpc/server/dist/node-http-ZvZKxPic.mjs +222 -0
  360. package/.output/server/node_modules/@trpc/server/dist/observable-CUiPknO-.mjs +158 -0
  361. package/.output/server/node_modules/@trpc/server/dist/observable-UMO3vUa_.mjs +158 -0
  362. package/.output/server/node_modules/@trpc/server/dist/parseTRPCMessage-ByIHyFRz.mjs +63 -0
  363. package/.output/server/node_modules/@trpc/server/dist/resolveResponse-CzlbRpCI.mjs +2183 -0
  364. package/.output/server/node_modules/@trpc/server/dist/tracked-gU3ttYjg.mjs +371 -0
  365. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import-D89CaGtL.mjs +29 -0
  366. package/.output/server/node_modules/@trpc/server/dist/utils-DdbbrDku.mjs +137 -0
  367. package/.output/server/node_modules/@trpc/server/dist/ws-DsZkVWpZ.mjs +420 -0
  368. package/.output/server/node_modules/@trpc/server/package.json +232 -0
  369. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6705 -0
  370. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  371. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +686 -0
  372. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  373. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1402 -0
  374. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  375. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1806 -0
  376. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  377. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6696 -0
  378. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  379. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1677 -0
  380. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  381. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +857 -0
  382. package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
  383. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +594 -0
  384. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  385. package/.output/server/node_modules/devalue/index.js +3 -0
  386. package/.output/server/node_modules/devalue/package.json +34 -0
  387. package/.output/server/node_modules/devalue/src/base64.js +110 -0
  388. package/.output/server/node_modules/devalue/src/constants.js +6 -0
  389. package/.output/server/node_modules/devalue/src/parse.js +160 -0
  390. package/.output/server/node_modules/devalue/src/stringify.js +232 -0
  391. package/.output/server/node_modules/devalue/src/uneval.js +351 -0
  392. package/.output/server/node_modules/devalue/src/utils.js +113 -0
  393. package/.output/server/node_modules/entities/lib/decode.js +536 -0
  394. package/.output/server/node_modules/entities/lib/decode_codepoint.js +76 -0
  395. package/.output/server/node_modules/entities/lib/generated/decode-data-html.js +9 -0
  396. package/.output/server/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
  397. package/.output/server/node_modules/entities/package.json +90 -0
  398. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  399. package/.output/server/node_modules/estree-walker/package.json +37 -0
  400. package/.output/server/node_modules/hookable/dist/index.mjs +290 -0
  401. package/.output/server/node_modules/hookable/package.json +49 -0
  402. package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
  403. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  404. package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
  405. package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
  406. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
  407. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
  408. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  409. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  410. package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
  411. package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
  412. package/.output/server/node_modules/source-map-js/package.json +71 -0
  413. package/.output/server/node_modules/source-map-js/source-map.js +8 -0
  414. package/.output/server/node_modules/ufo/dist/index.mjs +638 -0
  415. package/.output/server/node_modules/ufo/package.json +47 -0
  416. package/.output/server/node_modules/unhead/dist/plugins.mjs +95 -0
  417. package/.output/server/node_modules/unhead/dist/server.mjs +219 -0
  418. package/.output/server/node_modules/unhead/dist/shared/unhead.C13swrCa.mjs +48 -0
  419. package/.output/server/node_modules/unhead/dist/shared/unhead.CAk5S5m6.mjs +180 -0
  420. package/.output/server/node_modules/unhead/dist/shared/unhead.CApf5sj3.mjs +148 -0
  421. package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
  422. package/.output/server/node_modules/unhead/dist/shared/unhead.DZbvapt-.mjs +70 -0
  423. package/.output/server/node_modules/unhead/dist/shared/unhead.DeCxexjU.mjs +166 -0
  424. package/.output/server/node_modules/unhead/dist/shared/unhead.Di5OD67x.mjs +190 -0
  425. package/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
  426. package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
  427. package/.output/server/node_modules/unhead/package.json +101 -0
  428. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  429. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  430. package/.output/server/node_modules/vue/index.js +7 -0
  431. package/.output/server/node_modules/vue/index.mjs +1 -0
  432. package/.output/server/node_modules/vue/package.json +112 -0
  433. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  434. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +196 -0
  435. package/.output/server/node_modules/vue-bundle-renderer/package.json +50 -0
  436. package/.output/server/node_modules/ws/lib/buffer-util.js +131 -0
  437. package/.output/server/node_modules/ws/lib/constants.js +18 -0
  438. package/.output/server/node_modules/ws/lib/event-target.js +292 -0
  439. package/.output/server/node_modules/ws/lib/extension.js +203 -0
  440. package/.output/server/node_modules/ws/lib/limiter.js +55 -0
  441. package/.output/server/node_modules/ws/lib/permessage-deflate.js +528 -0
  442. package/.output/server/node_modules/ws/lib/receiver.js +706 -0
  443. package/.output/server/node_modules/ws/lib/sender.js +602 -0
  444. package/.output/server/node_modules/ws/lib/stream.js +161 -0
  445. package/.output/server/node_modules/ws/lib/subprotocol.js +62 -0
  446. package/.output/server/node_modules/ws/lib/validation.js +152 -0
  447. package/.output/server/node_modules/ws/lib/websocket-server.js +550 -0
  448. package/.output/server/node_modules/ws/lib/websocket.js +1388 -0
  449. package/.output/server/node_modules/ws/package.json +69 -0
  450. package/.output/server/node_modules/ws/wrapper.mjs +8 -0
  451. package/.output/server/node_modules/zod/index.js +4 -0
  452. package/.output/server/node_modules/zod/package.json +131 -0
  453. package/.output/server/node_modules/zod/v4/classic/checks.js +1 -0
  454. package/.output/server/node_modules/zod/v4/classic/coerce.js +17 -0
  455. package/.output/server/node_modules/zod/v4/classic/compat.js +31 -0
  456. package/.output/server/node_modules/zod/v4/classic/errors.js +41 -0
  457. package/.output/server/node_modules/zod/v4/classic/external.js +18 -0
  458. package/.output/server/node_modules/zod/v4/classic/iso.js +30 -0
  459. package/.output/server/node_modules/zod/v4/classic/parse.js +6 -0
  460. package/.output/server/node_modules/zod/v4/classic/schemas.js +1006 -0
  461. package/.output/server/node_modules/zod/v4/core/api.js +906 -0
  462. package/.output/server/node_modules/zod/v4/core/checks.js +565 -0
  463. package/.output/server/node_modules/zod/v4/core/core.js +61 -0
  464. package/.output/server/node_modules/zod/v4/core/doc.js +35 -0
  465. package/.output/server/node_modules/zod/v4/core/errors.js +195 -0
  466. package/.output/server/node_modules/zod/v4/core/function.js +75 -0
  467. package/.output/server/node_modules/zod/v4/core/index.js +15 -0
  468. package/.output/server/node_modules/zod/v4/core/json-schema.js +1 -0
  469. package/.output/server/node_modules/zod/v4/core/parse.js +57 -0
  470. package/.output/server/node_modules/zod/v4/core/regexes.js +95 -0
  471. package/.output/server/node_modules/zod/v4/core/registries.js +51 -0
  472. package/.output/server/node_modules/zod/v4/core/schemas.js +1718 -0
  473. package/.output/server/node_modules/zod/v4/core/to-json-schema.js +849 -0
  474. package/.output/server/node_modules/zod/v4/core/util.js +493 -0
  475. package/.output/server/node_modules/zod/v4/core/versions.js +5 -0
  476. package/.output/server/node_modules/zod/v4/locales/ar.js +116 -0
  477. package/.output/server/node_modules/zod/v4/locales/az.js +115 -0
  478. package/.output/server/node_modules/zod/v4/locales/be.js +164 -0
  479. package/.output/server/node_modules/zod/v4/locales/ca.js +118 -0
  480. package/.output/server/node_modules/zod/v4/locales/cs.js +135 -0
  481. package/.output/server/node_modules/zod/v4/locales/de.js +116 -0
  482. package/.output/server/node_modules/zod/v4/locales/en.js +117 -0
  483. package/.output/server/node_modules/zod/v4/locales/eo.js +116 -0
  484. package/.output/server/node_modules/zod/v4/locales/es.js +117 -0
  485. package/.output/server/node_modules/zod/v4/locales/fa.js +122 -0
  486. package/.output/server/node_modules/zod/v4/locales/fi.js +122 -0
  487. package/.output/server/node_modules/zod/v4/locales/fr-CA.js +117 -0
  488. package/.output/server/node_modules/zod/v4/locales/fr.js +116 -0
  489. package/.output/server/node_modules/zod/v4/locales/he.js +117 -0
  490. package/.output/server/node_modules/zod/v4/locales/hu.js +117 -0
  491. package/.output/server/node_modules/zod/v4/locales/id.js +116 -0
  492. package/.output/server/node_modules/zod/v4/locales/index.js +39 -0
  493. package/.output/server/node_modules/zod/v4/locales/it.js +117 -0
  494. package/.output/server/node_modules/zod/v4/locales/ja.js +115 -0
  495. package/.output/server/node_modules/zod/v4/locales/kh.js +117 -0
  496. package/.output/server/node_modules/zod/v4/locales/ko.js +121 -0
  497. package/.output/server/node_modules/zod/v4/locales/mk.js +118 -0
  498. package/.output/server/node_modules/zod/v4/locales/ms.js +116 -0
  499. package/.output/server/node_modules/zod/v4/locales/nl.js +117 -0
  500. package/.output/server/node_modules/zod/v4/locales/no.js +116 -0
  501. package/.output/server/node_modules/zod/v4/locales/ota.js +117 -0
  502. package/.output/server/node_modules/zod/v4/locales/pl.js +117 -0
  503. package/.output/server/node_modules/zod/v4/locales/ps.js +122 -0
  504. package/.output/server/node_modules/zod/v4/locales/pt.js +116 -0
  505. package/.output/server/node_modules/zod/v4/locales/ru.js +164 -0
  506. package/.output/server/node_modules/zod/v4/locales/sl.js +117 -0
  507. package/.output/server/node_modules/zod/v4/locales/sv.js +118 -0
  508. package/.output/server/node_modules/zod/v4/locales/ta.js +117 -0
  509. package/.output/server/node_modules/zod/v4/locales/th.js +117 -0
  510. package/.output/server/node_modules/zod/v4/locales/tr.js +115 -0
  511. package/.output/server/node_modules/zod/v4/locales/ua.js +117 -0
  512. package/.output/server/node_modules/zod/v4/locales/ur.js +117 -0
  513. package/.output/server/node_modules/zod/v4/locales/vi.js +116 -0
  514. package/.output/server/node_modules/zod/v4/locales/zh-CN.js +116 -0
  515. package/.output/server/node_modules/zod/v4/locales/zh-TW.js +117 -0
  516. package/.output/server/package.json +29 -0
  517. package/package.json +6 -6
@@ -0,0 +1,21 @@
1
+ import{I as Vt,v as Jn,_ as ne,P as Mt,K as Go,Q as Zn,R as Ko,S as Qn,T as Jo,G as Zo,l as Ae,U as eo,V as yt,E as Nt,W as on,X as to,Y as Qo,Z as ei,$ as dt,a0 as Ue,a1 as ti,a2 as ni,a3 as oi,a4 as bn,a5 as no,a6 as ii,i as Xt,a7 as kn,a8 as ai,a9 as ri,aa as qt,ab as an,ac as oo,ad as Sn,ae as si,g as li,af as ui}from"./UQxqNY8s.js";import{F as x,Z as $,W as m,aI as rn,aV as ci,a1 as v,X as h,aT as di,G as f,a0 as J,a2 as H,a3 as Y,_ as T,ab as te,aW as io,aX as ao,j as A,ai as Z,t as Ge,L as z,$ as q,aa as ye,H as je,a9 as X,af as oe,aY as fi,aE as Oe,ay as Pe,aU as ro,ac as $e,aQ as nt,ae as pi,a7 as so,r as _,q as mi,i as hi,ak as De,a8 as Ke,a5 as vi,I as gi,aZ as yi,al as qe,C as sn,O as ln,w as ve,J as un,n as ze,a_ as lo,aN as le,av as me,az as uo,a$ as wi,b0 as bi,aK as co,b1 as ke,a as fo,aw as cn,aA as se,ax as ki,b as Q,b2 as Si,aC as xe,aD as Re,b3 as Ci,b4 as At,aH as dn,aM as Je,aj as $i,u as Ii,b5 as Vi,b6 as Mi,b7 as Ni,b8 as Ai,aB as ft,aJ as Lt,b9 as Oi,m as Ei}from"./CYRjgJw9.js";import{C as Cn,a as Ti,b as zi,c as Ri,_ as Bi}from"./DEsY2yuF.js";import"./SQImb3Xm.js";import{G as po}from"./ClbN2oa7.js";function Pi(e,t){let n=t.length-e.length;if(n===1){let[o,...i]=t;return Cn(o,{lazy:e,lazyArgs:i})}if(n===0){let o={lazy:e,lazyArgs:t};return Object.assign(i=>Cn(i,o),o)}throw new Error("Wrong number of arguments")}function Di(...e){return Pi(Li,e)}function Li(){let e=new Set;return t=>e.has(t)?Ti:(e.add(t),{done:!1,hasNext:!0,next:t})}function Fi(e,t){const n=new Set,o=[t];for(;o.length>0;){const i=e.get(o.pop());if(i)for(const a of i)n.has(a)||(n.add(a),o.push(a))}return Array.from(n)}const ce=x({__name:"ContextMenuItem",props:{title:{},subtitle:{},color:{},icon:{},customIcon:{},disabled:{type:Boolean},loading:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const n=t;return(o,i)=>(m(),$(rn,{disabled:o.disabled,onClick:i[0]||(i[0]=a=>n("click"))},ci({append:v(()=>[te(o.$slots,"append")]),default:v(()=>[h(io,{color:o.color},{default:v(()=>[H(Y(o.title),1)]),_:1},8,["color"]),o.subtitle?(m(),$(ao,{key:0,color:o.color},{default:v(()=>[H(Y(o.subtitle),1)]),_:1},8,["color"])):T("",!0),te(o.$slots,"default")]),_:2},[o.loading?{name:"prepend",fn:v(()=>[h(di,{indeterminate:"",color:"primary"})]),key:"0"}:o.customIcon?{name:"prepend",fn:v(()=>[h(f(Vt),{icon:o.customIcon,color:o.color,style:{"margin-right":"12px",width:"24px",height:"24px"}},null,8,["icon","color"])]),key:"1"}:o.icon?{name:"prepend",fn:v(()=>[h(J,{color:o.color,style:{"margin-right":"-20px"}},{default:v(()=>[H(Y(o.icon),1)]),_:1},8,["color"])]),key:"2"}:void 0]),1032,["disabled"]))}}),Yt=x({__name:"GenericIcon",props:{icon:{},size:{default:16},color:{},customIcon:{}},setup(e){return(t,n)=>t.customIcon?(m(),$(f(Vt),{key:0,icon:t.customIcon,width:t.size,height:t.size,color:t.color},null,8,["icon","width","height","color"])):(m(),$(J,{key:1,icon:t.icon,size:t.size,color:t.color},null,8,["icon","size","color"]))}}),Hi=x({__name:"InlineCopyButton",props:{content:{}},setup(e){const{copy:t,copied:n}=Jn(),o=A(()=>n.value?"mdi-check":"mdi-content-copy");return(i,a)=>(m(),$(Z,{size:"small",variant:"text",class:"copy-button d-flex ml-1",onClick:a[0]||(a[0]=r=>f(t)(i.content))},{default:v(()=>[h(J,{size:16},{default:v(()=>[H(Y(f(o)),1)]),_:1})]),_:1}))}}),mo=ne(Hi,[["__scopeId","data-v-9df8c2df"]]);var Se=(e=>(e.Lines="lines",e.Dots="dots",e))(Se||{});const ho=function({dimensions:e,size:t,color:n}){return je("path",{stroke:n,"stroke-width":t,d:`M${e[0]/2} 0 V${e[1]} M0 ${e[1]/2} H${e[0]}`})},vo=function({radius:e,color:t}){return je("circle",{cx:e,cy:e,r:e,fill:t})};Se.Lines+"",Se.Dots+"";const xi={[Se.Dots]:"#81818a",[Se.Lines]:"#eee"},Ui=["id","x","y","width","height","patternTransform"],_i={key:2,height:"100",width:"100"},Xi=["fill"],qi=["x","y","fill"],Yi={name:"Background",compatConfig:{MODE:3}},Wi=x({...Yi,props:{id:{},variant:{default:()=>Se.Dots},gap:{default:20},size:{default:1},lineWidth:{default:1},patternColor:{},color:{},bgColor:{},height:{default:100},width:{default:100},x:{default:0},y:{default:0},offset:{default:0}},setup(e){const{id:t,viewport:n}=Mt(),o=A(()=>{const r=n.value.zoom,[s,l]=Array.isArray(e.gap)?e.gap:[e.gap,e.gap],d=[s*r||1,l*r||1],u=e.size*r,[c,p]=Array.isArray(e.offset)?e.offset:[e.offset,e.offset],g=[c*r||1+d[0]/2,p*r||1+d[1]/2];return{scaledGap:d,offset:g,size:u}}),i=Ge(()=>`pattern-${t}${e.id?`-${e.id}`:""}`),a=Ge(()=>e.color||e.patternColor||xi[e.variant||Se.Dots]);return(r,s)=>(m(),z("svg",{class:"vue-flow__background vue-flow__container",style:ye({height:`${r.height>100?100:r.height}%`,width:`${r.width>100?100:r.width}%`})},[te(r.$slots,"pattern-container",{id:i.value},()=>[q("pattern",{id:i.value,x:f(n).x%o.value.scaledGap[0],y:f(n).y%o.value.scaledGap[1],width:o.value.scaledGap[0],height:o.value.scaledGap[1],patternTransform:`translate(-${o.value.offset[0]},-${o.value.offset[1]})`,patternUnits:"userSpaceOnUse"},[te(r.$slots,"pattern",{},()=>[r.variant===f(Se).Lines?(m(),$(f(ho),{key:0,size:r.lineWidth,color:a.value,dimensions:o.value.scaledGap},null,8,["size","color","dimensions"])):r.variant===f(Se).Dots?(m(),$(f(vo),{key:1,color:a.value,radius:o.value.size/2},null,8,["color","radius"])):T("",!0),r.bgColor?(m(),z("svg",_i,[q("rect",{width:"100%",height:"100%",fill:r.bgColor},null,8,Xi)])):T("",!0)])],8,Ui)]),q("rect",{x:r.x,y:r.y,width:"100%",height:"100%",fill:`url(#${i.value})`},null,8,qi),te(r.$slots,"default",{id:i.value})],4))}});function ji(e,t,n){const o=Array.from({length:n},()=>[]),i=t,r=-(i*(n-1))/2,s=Array.from({length:n},(u,c)=>r+c*i),l=[];for(let u=0;u<e.length-1;u++){const c=e[u],p=e[u+1],g=p[0]-c[0],S=p[1]-c[1],b=Math.sqrt(g*g+S*S);let w=-S,k=g;b!==0&&(w/=b,k/=b),l.push({x:w,y:k})}function d(u,c,p,g){const S=u[0],b=u[1],w=c[0],k=c[1],I=p[0],B=p[1],L=g[0],D=g[1],P=(S-w)*(B-D)-(b-k)*(I-L);if(P===0)return null;const N=((S-I)*(B-D)-(b-B)*(I-L))/P;return[S+N*(w-S),b+N*(k-b)]}for(let u=0;u<n;u++)for(let c=0;c<e.length;c++){const p=e[c];let g=0,S=0;if(c===0)g=l[0].x*s[u],S=l[0].y*s[u];else if(c===e.length-1)g=l[l.length-1].x*s[u],S=l[l.length-1].y*s[u];else{const b=l[c-1],w=l[c],k=e[c-1],I=e[c+1],B=[k[0]+b.x*s[u],k[1]+b.y*s[u]],L=[p[0]+b.x*s[u],p[1]+b.y*s[u]],D=[p[0]+w.x*s[u],p[1]+w.y*s[u]],P=[I[0]+w.x*s[u],I[1]+w.y*s[u]],N=d(B,L,D,P);N?(g=N[0]-p[0],S=N[1]-p[1]):(g=(b.x+w.x)/2*s[u],S=(b.y+w.y)/2*s[u])}o[u].push(`${p[0]+g},${p[1]+S}`)}return o}const Gi=["points","stroke"],Ki=["points"],at=3,Ji=x({__name:"CustomEdge",props:{id:{},sourceNode:{},targetNode:{},source:{},target:{},type:{},label:{},style:{},selected:{type:Boolean},sourcePosition:{},targetPosition:{},sourceHandleId:{},targetHandleId:{},animated:{type:Boolean},updatable:{type:Boolean},markerStart:{},markerEnd:{},curvature:{},interactionWidth:{},data:{},events:{},labelStyle:{},labelShowBg:{type:Boolean},labelBgStyle:{},labelBgPadding:{},labelBgBorderRadius:{},sourceX:{},sourceY:{},targetX:{},targetY:{},inputResolverOutputs:{},components:{},entities:{}},setup(e){fi(I=>({c5384110:at}));const t=Mt(),{inputInstance:n,outputInstance:o,inputHub:i,outputHub:a,outputKey:r,inputKey:s,inputNodeType:l}=Go(t,{source:e.source,target:e.target,sourceHandle:e.sourceHandleId,targetHandle:e.targetHandleId}),d=A(()=>{if(l==="outputs"){const B=e.components[n.type].outputs[s];return{all:B?[B.type]:[]}}if(o&&n){const B=e.components[n.type].inputs[s];return{all:B?[B.type]:[]}}if(a&&n&&s)return{all:(Zn(e.inputResolverOutputs,n.id)[s]??[]).map(B=>B.type)};if(a&&n)return{all:Qn(e.inputResolverOutputs,n.id).map(I=>I.type),visible:Ko(e.inputResolverOutputs,n.id).map(I=>I.type)};if(o&&i){const B=e.components[o.type].outputs[r];return{all:B?[B.type]:[]}}if(a&&i)return{all:Jo(e.inputResolverOutputs,a.id).flat().map(I=>I.type)};throw Zo.error({msg:"unexpected connection in CustomEdge",inputInstance:n,outputInstance:o,inputHub:i,outputHub:a,outputKey:r,inputKey:s}),new Error("Invalid connection")}),u=A(()=>Di(d.value.all).map(I=>e.entities[I])),c=A(()=>a?d.value.visible?d.value.visible.length===0:d.value.all.length===0:!1),p=A(()=>c.value?1:u.value.length),g=I=>c.value?"#9E9E9E":u.value[I%u.value.length].meta.color??"#607D8B",S=I=>c.value?!0:d.value.visible?d.value.visible.includes(u.value[I].type):!0,b=(I,B)=>I[0]===B[0]&&I[1]===B[1],w=A(()=>{if(!e.data.points)return[];const I=[e.sourceX,e.sourceY],B=[e.targetX,e.targetY],L=[...e.data.points];return(!L[0]||!b(L[0],I))&&L.unshift(I),(!L[L.length-1]||!b(L[L.length-1],B))&&L.push(B),ji(L,at,p.value)}),k=I=>{const L=1/p.value;return`-${I*L}s`};return(I,B)=>(m(),z(X,null,[(m(!0),z(X,null,oe(w.value,(L,D)=>(m(),z(X,{key:`static-${D}`},[S(D)?(m(),z("polyline",{key:0,points:L.join(" "),stroke:g(D),fill:"none","stroke-width":at,style:{opacity:"0.8"}},null,8,Gi)):T("",!0)],64))),128)),(m(!0),z(X,null,oe(w.value,(L,D)=>(m(),z(X,{key:`highlight-${D}`},[S(D)?(m(),z("polyline",{key:0,points:L.join(" "),stroke:"white",fill:"none","stroke-width":at,class:"highlight-polyline animated-highlight",style:ye({animationDelay:k(D)})},null,12,Ki)):T("",!0)],64))),128))],64))}}),Zi=ne(Ji,[["__scopeId","data-v-4bf748bc"]]),$n=x({__name:"EditorLoader",props:{text:{},value:{}},setup(e){const{instancesStore:t}=Ae(),n=A(()=>e.value===-1?e.text:`${e.text} ${e.value}/${t.totalInstanceCount}...`);return(o,i)=>o.text?(m(),$(Oe,{key:0,variant:"tonal"},{default:v(()=>[h(Pe,{class:"text-overline"},{default:v(()=>[H(Y(f(n)),1)]),_:1}),h(ro,{indeterminate:o.value===-1,"model-value":o.value,max:f(t).totalInstanceCount,height:4,color:"primary",class:"w-full"},null,8,["indeterminate","model-value","max"])]),_:1})):T("",!0)}}),Cc=x({__name:"EditorLoaderPopup",setup(e){const{instancesStore:t,stateStore:n}=Ae(),o=A(()=>t.initializationPhase==="resolving"||n.initializationPhase==="calculating");return(i,a)=>f(o)?(m(),$(Oe,{key:0,variant:"tonal"},{default:v(()=>[f(t).initializationPhase==="resolving"?(m(),$($n,{key:0,text:"Resolving instance inputs",value:f(t).resolvedInstanceCount},null,8,["value"])):T("",!0),f(n).initializationPhase==="calculating"?(m(),$($n,{key:1,text:"Detecting instance changes",value:f(n).calculatedInputHashCount},null,8,["value"])):T("",!0)]),_:1})):T("",!0)}});function Qi(e,t){const n={borderRadius:"4px",overflow:"visible"};switch(t){case"blueprint-valid":return{...n,opacity:"0.7",outline:"2px solid #4CAF50",backgroundColor:"rgba(76, 175, 80, 0.1)",boxShadow:"0 0 10px rgba(76, 175, 80, 0.3)"};case"blueprint-invalid":return{...n,opacity:"0.7",outline:"2px solid #F44336",backgroundColor:"rgba(244, 67, 54, 0.1)",boxShadow:"0 0 10px rgba(244, 67, 54, 0.3)"}}return e?{...n,outline:"2px solid #2196F3",boxShadow:"0 0 8px rgba(33, 150, 243, 0.4)"}:n}const go=x({__name:"HubCard",props:{selected:{type:Boolean},blueprintStatus:{}},setup(e){return(t,n)=>(m(),$(Oe,{variant:"flat",style:ye(f(Qi)(t.selected,t.blueprintStatus)),color:"#2d2d2d"},{default:v(()=>[h(J,{class:"ma-2",size:74},{default:v(()=>n[0]||(n[0]=[H("mdi-router")])),_:1,__:[0]}),te(t.$slots,"default")]),_:3},8,["style"]))}}),$c=x({__name:"ExtraElementPanel",setup(e){const t=n=>{zi(n.dataTransfer)};return(n,o)=>(m(),$(Oe,null,{default:v(()=>[q("div",{draggable:"true",style:{cursor:"grab"},onDragstart:t},[h(go)],32)]),_:1}))}}),ea=x({__name:"HubNodeHandle",props:{side:{},handleColor:{},isValidConnection:{type:Function}},setup(e){return(t,n)=>(m(),z(X,null,[h(f(eo),{id:"",type:t.side==="left"?"target":"source",position:t.side==="left"?f(yt).Left:f(yt).Right,class:$e(["handle",[t.side==="left"?"left-handle":"right-handle"]]),"is-valid-connection":t.isValidConnection},null,8,["type","position","class","is-valid-connection"]),q("div",{class:$e(["handle-dot",[t.side==="left"?"handle-dot-left":"handle-dot-right"]]),style:ye({backgroundColor:t.handleColor})},null,6)],64))}}),In=ne(ea,[["__scopeId","data-v-1aff1180"]]),ta={class:"handles"},na=x({__name:"HubNode",props:{hub:{},isValidConnection:{type:Function}},emits:["contextmenu"],setup(e,{emit:t}){const n=t,{vueFlowStore:o,selection:i}=Nt(),a=on(),r=A(()=>to(a.node,o));return(s,l)=>(m(),$(go,{class:"hub-card",selected:f(i).isNodeSelected(f(a).node),"blueprint-status":f(r),onContextmenu:l[0]||(l[0]=d=>n("contextmenu",d))},{default:v(()=>[q("div",ta,[h(In,{"handle-color":"blue",side:"left","is-valid-connection":s.isValidConnection},null,8,["is-valid-connection"]),h(In,{"handle-color":"green",side:"right","is-valid-connection":s.isValidConnection},null,8,["is-valid-connection"])])]),_:1},8,["selected","blueprint-status"]))}}),oa=ne(na,[["__scopeId","data-v-33dfbfca"]]),Ic=x({__name:"HubNodeWrapper",props:{id:{},type:{},selected:{type:Boolean},connectable:{type:[Boolean,Number,String,Function]},position:{},dimensions:{},label:{},isValidTargetPos:{type:Function},isValidSourcePos:{type:Function},parent:{},parentNodeId:{},dragging:{type:Boolean},resizing:{type:Boolean},zIndex:{},targetPosition:{},sourcePosition:{},dragHandle:{},data:{},events:{}},setup(e){const{stateStore:t}=Ae(),n=nt("contextMenu");return(o,i)=>(m(),$(oa,{hub:o.data.hub,onContextmenu:i[0]||(i[0]=a=>f(n)?.showContextMenu(a))},{default:v(()=>[h(f(jo),{ref_key:"contextMenu",ref:n,title:"Hub",subtitle:o.data.hub.id,"is-deletable":a=>f(t).isNodeDeletable(a)},null,8,["subtitle","is-deletable"])]),_:1},8,["hub"]))}}),ia=x({__name:"SelectionRectangle",props:{selectionMode:{default:"add"},selectionArea:{}},setup(e){const t=A(()=>{if(!e.selectionArea)return;const n={left:e.selectionArea.x+"px",top:e.selectionArea.y+"px",width:e.selectionArea.width+"px",height:e.selectionArea.height+"px"};return e.selectionMode==="add"?{...n,border:"2px dashed #2196F3",background:"rgba(33, 150, 243, 0.1)"}:{...n,border:"2px dashed #F44336",background:"rgba(244, 67, 54, 0.1)"}});return(n,o)=>f(t)?(m(),z("div",{key:0,class:"selection-rectangle",style:ye(f(t))},null,4)):T("",!0)}}),aa=ne(ia,[["__scopeId","data-v-6118cbbb"]]);var ra={value:()=>{}};function fn(){for(var e=0,t=arguments.length,n={},o;e<t;++e){if(!(o=arguments[e]+"")||o in n||/[\s.]/.test(o))throw new Error("illegal type: "+o);n[o]=[]}return new pt(n)}function pt(e){this._=e}function sa(e,t){return e.trim().split(/^|\s+/).map(function(n){var o="",i=n.indexOf(".");if(i>=0&&(o=n.slice(i+1),n=n.slice(0,i)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:o}})}pt.prototype=fn.prototype={constructor:pt,on:function(e,t){var n=this._,o=sa(e+"",n),i,a=-1,r=o.length;if(arguments.length<2){for(;++a<r;)if((i=(e=o[a]).type)&&(i=la(n[i],e.name)))return i;return}if(t!=null&&typeof t!="function")throw new Error("invalid callback: "+t);for(;++a<r;)if(i=(e=o[a]).type)n[i]=Vn(n[i],e.name,t);else if(t==null)for(i in n)n[i]=Vn(n[i],e.name,null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new pt(e)},call:function(e,t){if((i=arguments.length-2)>0)for(var n=new Array(i),o=0,i,a;o<i;++o)n[o]=arguments[o+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(a=this._[e],o=0,i=a.length;o<i;++o)a[o].value.apply(t,n)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var o=this._[e],i=0,a=o.length;i<a;++i)o[i].value.apply(t,n)}};function la(e,t){for(var n=0,o=e.length,i;n<o;++n)if((i=e[n]).name===t)return i.value}function Vn(e,t,n){for(var o=0,i=e.length;o<i;++o)if(e[o].name===t){e[o]=ra,e=e.slice(0,o).concat(e.slice(o+1));break}return n!=null&&e.push({name:t,value:n}),e}var Wt="http://www.w3.org/1999/xhtml";const Mn={svg:"http://www.w3.org/2000/svg",xhtml:Wt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Ot(e){var t=e+="",n=t.indexOf(":");return n>=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),Mn.hasOwnProperty(t)?{space:Mn[t],local:e}:e}function ua(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===Wt&&t.documentElement.namespaceURI===Wt?t.createElement(e):t.createElementNS(n,e)}}function ca(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function yo(e){var t=Ot(e);return(t.local?ca:ua)(t)}function da(){}function pn(e){return e==null?da:function(){return this.querySelector(e)}}function fa(e){typeof e!="function"&&(e=pn(e));for(var t=this._groups,n=t.length,o=new Array(n),i=0;i<n;++i)for(var a=t[i],r=a.length,s=o[i]=new Array(r),l,d,u=0;u<r;++u)(l=a[u])&&(d=e.call(l,l.__data__,u,a))&&("__data__"in l&&(d.__data__=l.__data__),s[u]=d);return new ue(o,this._parents)}function pa(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function ma(){return[]}function wo(e){return e==null?ma:function(){return this.querySelectorAll(e)}}function ha(e){return function(){return pa(e.apply(this,arguments))}}function va(e){typeof e=="function"?e=ha(e):e=wo(e);for(var t=this._groups,n=t.length,o=[],i=[],a=0;a<n;++a)for(var r=t[a],s=r.length,l,d=0;d<s;++d)(l=r[d])&&(o.push(e.call(l,l.__data__,d,r)),i.push(l));return new ue(o,i)}function bo(e){return function(){return this.matches(e)}}function ko(e){return function(t){return t.matches(e)}}var ga=Array.prototype.find;function ya(e){return function(){return ga.call(this.children,e)}}function wa(){return this.firstElementChild}function ba(e){return this.select(e==null?wa:ya(typeof e=="function"?e:ko(e)))}var ka=Array.prototype.filter;function Sa(){return Array.from(this.children)}function Ca(e){return function(){return ka.call(this.children,e)}}function $a(e){return this.selectAll(e==null?Sa:Ca(typeof e=="function"?e:ko(e)))}function Ia(e){typeof e!="function"&&(e=bo(e));for(var t=this._groups,n=t.length,o=new Array(n),i=0;i<n;++i)for(var a=t[i],r=a.length,s=o[i]=[],l,d=0;d<r;++d)(l=a[d])&&e.call(l,l.__data__,d,a)&&s.push(l);return new ue(o,this._parents)}function So(e){return new Array(e.length)}function Va(){return new ue(this._enter||this._groups.map(So),this._parents)}function wt(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}wt.prototype={constructor:wt,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function Ma(e){return function(){return e}}function Na(e,t,n,o,i,a){for(var r=0,s,l=t.length,d=a.length;r<d;++r)(s=t[r])?(s.__data__=a[r],o[r]=s):n[r]=new wt(e,a[r]);for(;r<l;++r)(s=t[r])&&(i[r]=s)}function Aa(e,t,n,o,i,a,r){var s,l,d=new Map,u=t.length,c=a.length,p=new Array(u),g;for(s=0;s<u;++s)(l=t[s])&&(p[s]=g=r.call(l,l.__data__,s,t)+"",d.has(g)?i[s]=l:d.set(g,l));for(s=0;s<c;++s)g=r.call(e,a[s],s,a)+"",(l=d.get(g))?(o[s]=l,l.__data__=a[s],d.delete(g)):n[s]=new wt(e,a[s]);for(s=0;s<u;++s)(l=t[s])&&d.get(p[s])===l&&(i[s]=l)}function Oa(e){return e.__data__}function Ea(e,t){if(!arguments.length)return Array.from(this,Oa);var n=t?Aa:Na,o=this._parents,i=this._groups;typeof e!="function"&&(e=Ma(e));for(var a=i.length,r=new Array(a),s=new Array(a),l=new Array(a),d=0;d<a;++d){var u=o[d],c=i[d],p=c.length,g=Ta(e.call(u,u&&u.__data__,d,o)),S=g.length,b=s[d]=new Array(S),w=r[d]=new Array(S),k=l[d]=new Array(p);n(u,c,b,w,k,g,t);for(var I=0,B=0,L,D;I<S;++I)if(L=b[I]){for(I>=B&&(B=I+1);!(D=w[B])&&++B<S;);L._next=D||null}}return r=new ue(r,o),r._enter=s,r._exit=l,r}function Ta(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function za(){return new ue(this._exit||this._groups.map(So),this._parents)}function Ra(e,t,n){var o=this.enter(),i=this,a=this.exit();return typeof e=="function"?(o=e(o),o&&(o=o.selection())):o=o.append(e+""),t!=null&&(i=t(i),i&&(i=i.selection())),n==null?a.remove():n(a),o&&i?o.merge(i).order():i}function Ba(e){for(var t=e.selection?e.selection():e,n=this._groups,o=t._groups,i=n.length,a=o.length,r=Math.min(i,a),s=new Array(i),l=0;l<r;++l)for(var d=n[l],u=o[l],c=d.length,p=s[l]=new Array(c),g,S=0;S<c;++S)(g=d[S]||u[S])&&(p[S]=g);for(;l<i;++l)s[l]=n[l];return new ue(s,this._parents)}function Pa(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var o=e[t],i=o.length-1,a=o[i],r;--i>=0;)(r=o[i])&&(a&&r.compareDocumentPosition(a)^4&&a.parentNode.insertBefore(r,a),a=r);return this}function Da(e){e||(e=La);function t(c,p){return c&&p?e(c.__data__,p.__data__):!c-!p}for(var n=this._groups,o=n.length,i=new Array(o),a=0;a<o;++a){for(var r=n[a],s=r.length,l=i[a]=new Array(s),d,u=0;u<s;++u)(d=r[u])&&(l[u]=d);l.sort(t)}return new ue(i,this._parents).order()}function La(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Fa(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function Ha(){return Array.from(this)}function xa(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var o=e[t],i=0,a=o.length;i<a;++i){var r=o[i];if(r)return r}return null}function Ua(){let e=0;for(const t of this)++e;return e}function _a(){return!this.node()}function Xa(e){for(var t=this._groups,n=0,o=t.length;n<o;++n)for(var i=t[n],a=0,r=i.length,s;a<r;++a)(s=i[a])&&e.call(s,s.__data__,a,i);return this}function qa(e){return function(){this.removeAttribute(e)}}function Ya(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Wa(e,t){return function(){this.setAttribute(e,t)}}function ja(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function Ga(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttribute(e):this.setAttribute(e,n)}}function Ka(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function Ja(e,t){var n=Ot(e);if(arguments.length<2){var o=this.node();return n.local?o.getAttributeNS(n.space,n.local):o.getAttribute(n)}return this.each((t==null?n.local?Ya:qa:typeof t=="function"?n.local?Ka:Ga:n.local?ja:Wa)(n,t))}function Co(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function Za(e){return function(){this.style.removeProperty(e)}}function Qa(e,t,n){return function(){this.style.setProperty(e,t,n)}}function er(e,t,n){return function(){var o=t.apply(this,arguments);o==null?this.style.removeProperty(e):this.style.setProperty(e,o,n)}}function tr(e,t,n){return arguments.length>1?this.each((t==null?Za:typeof t=="function"?er:Qa)(e,t,n??"")):Fe(this.node(),e)}function Fe(e,t){return e.style.getPropertyValue(t)||Co(e).getComputedStyle(e,null).getPropertyValue(t)}function nr(e){return function(){delete this[e]}}function or(e,t){return function(){this[e]=t}}function ir(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function ar(e,t){return arguments.length>1?this.each((t==null?nr:typeof t=="function"?ir:or)(e,t)):this.node()[e]}function $o(e){return e.trim().split(/^|\s+/)}function mn(e){return e.classList||new Io(e)}function Io(e){this._node=e,this._names=$o(e.getAttribute("class")||"")}Io.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function Vo(e,t){for(var n=mn(e),o=-1,i=t.length;++o<i;)n.add(t[o])}function Mo(e,t){for(var n=mn(e),o=-1,i=t.length;++o<i;)n.remove(t[o])}function rr(e){return function(){Vo(this,e)}}function sr(e){return function(){Mo(this,e)}}function lr(e,t){return function(){(t.apply(this,arguments)?Vo:Mo)(this,e)}}function ur(e,t){var n=$o(e+"");if(arguments.length<2){for(var o=mn(this.node()),i=-1,a=n.length;++i<a;)if(!o.contains(n[i]))return!1;return!0}return this.each((typeof t=="function"?lr:t?rr:sr)(n,t))}function cr(){this.textContent=""}function dr(e){return function(){this.textContent=e}}function fr(e){return function(){var t=e.apply(this,arguments);this.textContent=t??""}}function pr(e){return arguments.length?this.each(e==null?cr:(typeof e=="function"?fr:dr)(e)):this.node().textContent}function mr(){this.innerHTML=""}function hr(e){return function(){this.innerHTML=e}}function vr(e){return function(){var t=e.apply(this,arguments);this.innerHTML=t??""}}function gr(e){return arguments.length?this.each(e==null?mr:(typeof e=="function"?vr:hr)(e)):this.node().innerHTML}function yr(){this.nextSibling&&this.parentNode.appendChild(this)}function wr(){return this.each(yr)}function br(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function kr(){return this.each(br)}function Sr(e){var t=typeof e=="function"?e:yo(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function Cr(){return null}function $r(e,t){var n=typeof e=="function"?e:yo(e),o=t==null?Cr:typeof t=="function"?t:pn(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),o.apply(this,arguments)||null)})}function Ir(){var e=this.parentNode;e&&e.removeChild(this)}function Vr(){return this.each(Ir)}function Mr(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Nr(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Ar(e){return this.select(e?Nr:Mr)}function Or(e){return arguments.length?this.property("__data__",e):this.node().__data__}function Er(e){return function(t){e.call(this,t,this.__data__)}}function Tr(e){return e.trim().split(/^|\s+/).map(function(t){var n="",o=t.indexOf(".");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{type:t,name:n}})}function zr(e){return function(){var t=this.__on;if(t){for(var n=0,o=-1,i=t.length,a;n<i;++n)a=t[n],(!e.type||a.type===e.type)&&a.name===e.name?this.removeEventListener(a.type,a.listener,a.options):t[++o]=a;++o?t.length=o:delete this.__on}}}function Rr(e,t,n){return function(){var o=this.__on,i,a=Er(t);if(o){for(var r=0,s=o.length;r<s;++r)if((i=o[r]).type===e.type&&i.name===e.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=a,i.options=n),i.value=t;return}}this.addEventListener(e.type,a,n),i={type:e.type,name:e.name,value:t,listener:a,options:n},o?o.push(i):this.__on=[i]}}function Br(e,t,n){var o=Tr(e+""),i,a=o.length,r;if(arguments.length<2){var s=this.node().__on;if(s){for(var l=0,d=s.length,u;l<d;++l)for(i=0,u=s[l];i<a;++i)if((r=o[i]).type===u.type&&r.name===u.name)return u.value}return}for(s=t?Rr:zr,i=0;i<a;++i)this.each(s(o[i],t,n));return this}function No(e,t,n){var o=Co(e),i=o.CustomEvent;typeof i=="function"?i=new i(t,n):(i=o.document.createEvent("Event"),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function Pr(e,t){return function(){return No(this,e,t)}}function Dr(e,t){return function(){return No(this,e,t.apply(this,arguments))}}function Lr(e,t){return this.each((typeof t=="function"?Dr:Pr)(e,t))}function*Fr(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var o=e[t],i=0,a=o.length,r;i<a;++i)(r=o[i])&&(yield r)}var Ao=[null];function ue(e,t){this._groups=e,this._parents=t}function ot(){return new ue([[document.documentElement]],Ao)}function Hr(){return this}ue.prototype=ot.prototype={constructor:ue,select:fa,selectAll:va,selectChild:ba,selectChildren:$a,filter:Ia,data:Ea,enter:Va,exit:za,join:Ra,merge:Ba,selection:Hr,order:Pa,sort:Da,call:Fa,nodes:Ha,node:xa,size:Ua,empty:_a,each:Xa,attr:Ja,style:tr,property:ar,classed:ur,text:pr,html:gr,raise:wr,lower:kr,append:Sr,insert:$r,remove:Vr,clone:Ar,datum:Or,on:Br,dispatch:Lr,[Symbol.iterator]:Fr};function Ne(e){return typeof e=="string"?new ue([[document.querySelector(e)]],[document.documentElement]):new ue([[e]],Ao)}function xr(e){let t;for(;t=e.sourceEvent;)e=t;return e}function Ve(e,t){if(e=xr(e),t===void 0&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var o=n.createSVGPoint();return o.x=e.clientX,o.y=e.clientY,o=o.matrixTransform(t.getScreenCTM().inverse()),[o.x,o.y]}if(t.getBoundingClientRect){var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}}return[e.pageX,e.pageY]}const jt={capture:!0,passive:!1};function Gt(e){e.preventDefault(),e.stopImmediatePropagation()}function Ur(e){var t=e.document.documentElement,n=Ne(e).on("dragstart.drag",Gt,jt);"onselectstart"in t?n.on("selectstart.drag",Gt,jt):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}function _r(e,t){var n=e.document.documentElement,o=Ne(e).on("dragstart.drag",null);t&&(o.on("click.drag",Gt,jt),setTimeout(function(){o.on("click.drag",null)},0)),"onselectstart"in n?o.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function hn(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Oo(e,t){var n=Object.create(e.prototype);for(var o in t)n[o]=t[o];return n}function it(){}var Ze=.7,bt=1/Ze,Le="\\s*([+-]?\\d+)\\s*",Qe="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ge="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Xr=/^#([0-9a-f]{3,8})$/,qr=new RegExp(`^rgb\\(${Le},${Le},${Le}\\)$`),Yr=new RegExp(`^rgb\\(${ge},${ge},${ge}\\)$`),Wr=new RegExp(`^rgba\\(${Le},${Le},${Le},${Qe}\\)$`),jr=new RegExp(`^rgba\\(${ge},${ge},${ge},${Qe}\\)$`),Gr=new RegExp(`^hsl\\(${Qe},${ge},${ge}\\)$`),Kr=new RegExp(`^hsla\\(${Qe},${ge},${ge},${Qe}\\)$`),Nn={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};hn(it,et,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:An,formatHex:An,formatHex8:Jr,formatHsl:Zr,formatRgb:On,toString:On});function An(){return this.rgb().formatHex()}function Jr(){return this.rgb().formatHex8()}function Zr(){return Eo(this).formatHsl()}function On(){return this.rgb().formatRgb()}function et(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Xr.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?En(t):n===3?new ie(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?rt(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?rt(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=qr.exec(e))?new ie(t[1],t[2],t[3],1):(t=Yr.exec(e))?new ie(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Wr.exec(e))?rt(t[1],t[2],t[3],t[4]):(t=jr.exec(e))?rt(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Gr.exec(e))?Rn(t[1],t[2]/100,t[3]/100,1):(t=Kr.exec(e))?Rn(t[1],t[2]/100,t[3]/100,t[4]):Nn.hasOwnProperty(e)?En(Nn[e]):e==="transparent"?new ie(NaN,NaN,NaN,0):null}function En(e){return new ie(e>>16&255,e>>8&255,e&255,1)}function rt(e,t,n,o){return o<=0&&(e=t=n=NaN),new ie(e,t,n,o)}function Qr(e){return e instanceof it||(e=et(e)),e?(e=e.rgb(),new ie(e.r,e.g,e.b,e.opacity)):new ie}function Kt(e,t,n,o){return arguments.length===1?Qr(e):new ie(e,t,n,o??1)}function ie(e,t,n,o){this.r=+e,this.g=+t,this.b=+n,this.opacity=+o}hn(ie,Kt,Oo(it,{brighter(e){return e=e==null?bt:Math.pow(bt,e),new ie(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Ze:Math.pow(Ze,e),new ie(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new ie(Te(this.r),Te(this.g),Te(this.b),kt(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Tn,formatHex:Tn,formatHex8:es,formatRgb:zn,toString:zn}));function Tn(){return`#${Ee(this.r)}${Ee(this.g)}${Ee(this.b)}`}function es(){return`#${Ee(this.r)}${Ee(this.g)}${Ee(this.b)}${Ee((isNaN(this.opacity)?1:this.opacity)*255)}`}function zn(){const e=kt(this.opacity);return`${e===1?"rgb(":"rgba("}${Te(this.r)}, ${Te(this.g)}, ${Te(this.b)}${e===1?")":`, ${e})`}`}function kt(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Te(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Ee(e){return e=Te(e),(e<16?"0":"")+e.toString(16)}function Rn(e,t,n,o){return o<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new pe(e,t,n,o)}function Eo(e){if(e instanceof pe)return new pe(e.h,e.s,e.l,e.opacity);if(e instanceof it||(e=et(e)),!e)return new pe;if(e instanceof pe)return e;e=e.rgb();var t=e.r/255,n=e.g/255,o=e.b/255,i=Math.min(t,n,o),a=Math.max(t,n,o),r=NaN,s=a-i,l=(a+i)/2;return s?(t===a?r=(n-o)/s+(n<o)*6:n===a?r=(o-t)/s+2:r=(t-n)/s+4,s/=l<.5?a+i:2-a-i,r*=60):s=l>0&&l<1?0:r,new pe(r,s,l,e.opacity)}function ts(e,t,n,o){return arguments.length===1?Eo(e):new pe(e,t,n,o??1)}function pe(e,t,n,o){this.h=+e,this.s=+t,this.l=+n,this.opacity=+o}hn(pe,ts,Oo(it,{brighter(e){return e=e==null?bt:Math.pow(bt,e),new pe(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Ze:Math.pow(Ze,e),new pe(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,o=n+(n<.5?n:1-n)*t,i=2*n-o;return new ie(Ft(e>=240?e-240:e+120,i,o),Ft(e,i,o),Ft(e<120?e+240:e-120,i,o),this.opacity)},clamp(){return new pe(Bn(this.h),st(this.s),st(this.l),kt(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=kt(this.opacity);return`${e===1?"hsl(":"hsla("}${Bn(this.h)}, ${st(this.s)*100}%, ${st(this.l)*100}%${e===1?")":`, ${e})`}`}}));function Bn(e){return e=(e||0)%360,e<0?e+360:e}function st(e){return Math.max(0,Math.min(1,e||0))}function Ft(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const To=e=>()=>e;function ns(e,t){return function(n){return e+n*t}}function os(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(o){return Math.pow(e+o*t,n)}}function is(e){return(e=+e)==1?zo:function(t,n){return n-t?os(t,n,e):To(isNaN(t)?n:t)}}function zo(e,t){var n=t-e;return n?ns(e,n):To(isNaN(e)?t:e)}const Pn=function e(t){var n=is(t);function o(i,a){var r=n((i=Kt(i)).r,(a=Kt(a)).r),s=n(i.g,a.g),l=n(i.b,a.b),d=zo(i.opacity,a.opacity);return function(u){return i.r=r(u),i.g=s(u),i.b=l(u),i.opacity=d(u),i+""}}return o.gamma=e,o}(1);function Me(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var Jt=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ht=new RegExp(Jt.source,"g");function as(e){return function(){return e}}function rs(e){return function(t){return e(t)+""}}function ss(e,t){var n=Jt.lastIndex=Ht.lastIndex=0,o,i,a,r=-1,s=[],l=[];for(e=e+"",t=t+"";(o=Jt.exec(e))&&(i=Ht.exec(t));)(a=i.index)>n&&(a=t.slice(n,a),s[r]?s[r]+=a:s[++r]=a),(o=o[0])===(i=i[0])?s[r]?s[r]+=i:s[++r]=i:(s[++r]=null,l.push({i:r,x:Me(o,i)})),n=Ht.lastIndex;return n<t.length&&(a=t.slice(n),s[r]?s[r]+=a:s[++r]=a),s.length<2?l[0]?rs(l[0].x):as(t):(t=l.length,function(d){for(var u=0,c;u<t;++u)s[(c=l[u]).i]=c.x(d);return s.join("")})}var Dn=180/Math.PI,Zt={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Ro(e,t,n,o,i,a){var r,s,l;return(r=Math.sqrt(e*e+t*t))&&(e/=r,t/=r),(l=e*n+t*o)&&(n-=e*l,o-=t*l),(s=Math.sqrt(n*n+o*o))&&(n/=s,o/=s,l/=s),e*o<t*n&&(e=-e,t=-t,l=-l,r=-r),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*Dn,skewX:Math.atan(l)*Dn,scaleX:r,scaleY:s}}var lt;function ls(e){const t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?Zt:Ro(t.a,t.b,t.c,t.d,t.e,t.f)}function us(e){return e==null||(lt||(lt=document.createElementNS("http://www.w3.org/2000/svg","g")),lt.setAttribute("transform",e),!(e=lt.transform.baseVal.consolidate()))?Zt:(e=e.matrix,Ro(e.a,e.b,e.c,e.d,e.e,e.f))}function Bo(e,t,n,o){function i(d){return d.length?d.pop()+" ":""}function a(d,u,c,p,g,S){if(d!==c||u!==p){var b=g.push("translate(",null,t,null,n);S.push({i:b-4,x:Me(d,c)},{i:b-2,x:Me(u,p)})}else(c||p)&&g.push("translate("+c+t+p+n)}function r(d,u,c,p){d!==u?(d-u>180?u+=360:u-d>180&&(d+=360),p.push({i:c.push(i(c)+"rotate(",null,o)-2,x:Me(d,u)})):u&&c.push(i(c)+"rotate("+u+o)}function s(d,u,c,p){d!==u?p.push({i:c.push(i(c)+"skewX(",null,o)-2,x:Me(d,u)}):u&&c.push(i(c)+"skewX("+u+o)}function l(d,u,c,p,g,S){if(d!==c||u!==p){var b=g.push(i(g)+"scale(",null,",",null,")");S.push({i:b-4,x:Me(d,c)},{i:b-2,x:Me(u,p)})}else(c!==1||p!==1)&&g.push(i(g)+"scale("+c+","+p+")")}return function(d,u){var c=[],p=[];return d=e(d),u=e(u),a(d.translateX,d.translateY,u.translateX,u.translateY,c,p),r(d.rotate,u.rotate,c,p),s(d.skewX,u.skewX,c,p),l(d.scaleX,d.scaleY,u.scaleX,u.scaleY,c,p),d=u=null,function(g){for(var S=-1,b=p.length,w;++S<b;)c[(w=p[S]).i]=w.x(g);return c.join("")}}}var cs=Bo(ls,"px, ","px)","deg)"),ds=Bo(us,", ",")",")"),fs=1e-12;function Ln(e){return((e=Math.exp(e))+1/e)/2}function ps(e){return((e=Math.exp(e))-1/e)/2}function ms(e){return((e=Math.exp(2*e))-1)/(e+1)}const hs=function e(t,n,o){function i(a,r){var s=a[0],l=a[1],d=a[2],u=r[0],c=r[1],p=r[2],g=u-s,S=c-l,b=g*g+S*S,w,k;if(b<fs)k=Math.log(p/d)/t,w=function(N){return[s+N*g,l+N*S,d*Math.exp(t*N*k)]};else{var I=Math.sqrt(b),B=(p*p-d*d+o*b)/(2*d*n*I),L=(p*p-d*d-o*b)/(2*p*n*I),D=Math.log(Math.sqrt(B*B+1)-B),P=Math.log(Math.sqrt(L*L+1)-L);k=(P-D)/t,w=function(N){var F=N*k,ae=Ln(D),G=d/(n*I)*(ae*ms(t*F+D)-ps(D));return[s+G*g,l+G*S,d*ae/Ln(t*F+D)]}}return w.duration=k*1e3*t/Math.SQRT2,w}return i.rho=function(a){var r=Math.max(.001,+a),s=r*r,l=s*s;return e(r,s,l)},i}(Math.SQRT2,2,4);var He=0,Ye=0,_e=0,Po=1e3,St,We,Ct=0,Be=0,Et=0,tt=typeof performance=="object"&&performance.now?performance:Date,Do=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function vn(){return Be||(Do(vs),Be=tt.now()+Et)}function vs(){Be=0}function $t(){this._call=this._time=this._next=null}$t.prototype=Lo.prototype={constructor:$t,restart:function(e,t,n){if(typeof e!="function")throw new TypeError("callback is not a function");n=(n==null?vn():+n)+(t==null?0:+t),!this._next&&We!==this&&(We?We._next=this:St=this,We=this),this._call=e,this._time=n,Qt()},stop:function(){this._call&&(this._call=null,this._time=1/0,Qt())}};function Lo(e,t,n){var o=new $t;return o.restart(e,t,n),o}function gs(){vn(),++He;for(var e=St,t;e;)(t=Be-e._time)>=0&&e._call.call(void 0,t),e=e._next;--He}function Fn(){Be=(Ct=tt.now())+Et,He=Ye=0;try{gs()}finally{He=0,ws(),Be=0}}function ys(){var e=tt.now(),t=e-Ct;t>Po&&(Et-=t,Ct=e)}function ws(){for(var e,t=St,n,o=1/0;t;)t._call?(o>t._time&&(o=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:St=n);We=e,Qt(o)}function Qt(e){if(!He){Ye&&(Ye=clearTimeout(Ye));var t=e-Be;t>24?(e<1/0&&(Ye=setTimeout(Fn,e-tt.now()-Et)),_e&&(_e=clearInterval(_e))):(_e||(Ct=tt.now(),_e=setInterval(ys,Po)),He=1,Do(Fn))}}function Hn(e,t,n){var o=new $t;return t=t==null?0:+t,o.restart(i=>{o.stop(),e(i+t)},t,n),o}var bs=fn("start","end","cancel","interrupt"),ks=[],Fo=0,xn=1,en=2,mt=3,Un=4,tn=5,ht=6;function Tt(e,t,n,o,i,a){var r=e.__transition;if(!r)e.__transition={};else if(n in r)return;Ss(e,n,{name:t,index:o,group:i,on:bs,tween:ks,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:Fo})}function gn(e,t){var n=he(e,t);if(n.state>Fo)throw new Error("too late; already scheduled");return n}function we(e,t){var n=he(e,t);if(n.state>mt)throw new Error("too late; already running");return n}function he(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function Ss(e,t,n){var o=e.__transition,i;o[t]=n,n.timer=Lo(a,0,n.time);function a(d){n.state=xn,n.timer.restart(r,n.delay,n.time),n.delay<=d&&r(d-n.delay)}function r(d){var u,c,p,g;if(n.state!==xn)return l();for(u in o)if(g=o[u],g.name===n.name){if(g.state===mt)return Hn(r);g.state===Un?(g.state=ht,g.timer.stop(),g.on.call("interrupt",e,e.__data__,g.index,g.group),delete o[u]):+u<t&&(g.state=ht,g.timer.stop(),g.on.call("cancel",e,e.__data__,g.index,g.group),delete o[u])}if(Hn(function(){n.state===mt&&(n.state=Un,n.timer.restart(s,n.delay,n.time),s(d))}),n.state=en,n.on.call("start",e,e.__data__,n.index,n.group),n.state===en){for(n.state=mt,i=new Array(p=n.tween.length),u=0,c=-1;u<p;++u)(g=n.tween[u].value.call(e,e.__data__,n.index,n.group))&&(i[++c]=g);i.length=c+1}}function s(d){for(var u=d<n.duration?n.ease.call(null,d/n.duration):(n.timer.restart(l),n.state=tn,1),c=-1,p=i.length;++c<p;)i[c].call(e,u);n.state===tn&&(n.on.call("end",e,e.__data__,n.index,n.group),l())}function l(){n.state=ht,n.timer.stop(),delete o[t];for(var d in o)return;delete e.__transition}}function vt(e,t){var n=e.__transition,o,i,a=!0,r;if(n){t=t==null?null:t+"";for(r in n){if((o=n[r]).name!==t){a=!1;continue}i=o.state>en&&o.state<tn,o.state=ht,o.timer.stop(),o.on.call(i?"interrupt":"cancel",e,e.__data__,o.index,o.group),delete n[r]}a&&delete e.__transition}}function Cs(e){return this.each(function(){vt(this,e)})}function $s(e,t){var n,o;return function(){var i=we(this,e),a=i.tween;if(a!==n){o=n=a;for(var r=0,s=o.length;r<s;++r)if(o[r].name===t){o=o.slice(),o.splice(r,1);break}}i.tween=o}}function Is(e,t,n){var o,i;if(typeof n!="function")throw new Error;return function(){var a=we(this,e),r=a.tween;if(r!==o){i=(o=r).slice();for(var s={name:t,value:n},l=0,d=i.length;l<d;++l)if(i[l].name===t){i[l]=s;break}l===d&&i.push(s)}a.tween=i}}function Vs(e,t){var n=this._id;if(e+="",arguments.length<2){for(var o=he(this.node(),n).tween,i=0,a=o.length,r;i<a;++i)if((r=o[i]).name===e)return r.value;return null}return this.each((t==null?$s:Is)(n,e,t))}function yn(e,t,n){var o=e._id;return e.each(function(){var i=we(this,o);(i.value||(i.value={}))[t]=n.apply(this,arguments)}),function(i){return he(i,o).value[t]}}function Ho(e,t){var n;return(typeof t=="number"?Me:t instanceof et?Pn:(n=et(t))?(t=n,Pn):ss)(e,t)}function Ms(e){return function(){this.removeAttribute(e)}}function Ns(e){return function(){this.removeAttributeNS(e.space,e.local)}}function As(e,t,n){var o,i=n+"",a;return function(){var r=this.getAttribute(e);return r===i?null:r===o?a:a=t(o=r,n)}}function Os(e,t,n){var o,i=n+"",a;return function(){var r=this.getAttributeNS(e.space,e.local);return r===i?null:r===o?a:a=t(o=r,n)}}function Es(e,t,n){var o,i,a;return function(){var r,s=n(this),l;return s==null?void this.removeAttribute(e):(r=this.getAttribute(e),l=s+"",r===l?null:r===o&&l===i?a:(i=l,a=t(o=r,s)))}}function Ts(e,t,n){var o,i,a;return function(){var r,s=n(this),l;return s==null?void this.removeAttributeNS(e.space,e.local):(r=this.getAttributeNS(e.space,e.local),l=s+"",r===l?null:r===o&&l===i?a:(i=l,a=t(o=r,s)))}}function zs(e,t){var n=Ot(e),o=n==="transform"?ds:Ho;return this.attrTween(e,typeof t=="function"?(n.local?Ts:Es)(n,o,yn(this,"attr."+e,t)):t==null?(n.local?Ns:Ms)(n):(n.local?Os:As)(n,o,t))}function Rs(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function Bs(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function Ps(e,t){var n,o;function i(){var a=t.apply(this,arguments);return a!==o&&(n=(o=a)&&Bs(e,a)),n}return i._value=t,i}function Ds(e,t){var n,o;function i(){var a=t.apply(this,arguments);return a!==o&&(n=(o=a)&&Rs(e,a)),n}return i._value=t,i}function Ls(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(t==null)return this.tween(n,null);if(typeof t!="function")throw new Error;var o=Ot(e);return this.tween(n,(o.local?Ps:Ds)(o,t))}function Fs(e,t){return function(){gn(this,e).delay=+t.apply(this,arguments)}}function Hs(e,t){return t=+t,function(){gn(this,e).delay=t}}function xs(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?Fs:Hs)(t,e)):he(this.node(),t).delay}function Us(e,t){return function(){we(this,e).duration=+t.apply(this,arguments)}}function _s(e,t){return t=+t,function(){we(this,e).duration=t}}function Xs(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?Us:_s)(t,e)):he(this.node(),t).duration}function qs(e,t){if(typeof t!="function")throw new Error;return function(){we(this,e).ease=t}}function Ys(e){var t=this._id;return arguments.length?this.each(qs(t,e)):he(this.node(),t).ease}function Ws(e,t){return function(){var n=t.apply(this,arguments);if(typeof n!="function")throw new Error;we(this,e).ease=n}}function js(e){if(typeof e!="function")throw new Error;return this.each(Ws(this._id,e))}function Gs(e){typeof e!="function"&&(e=bo(e));for(var t=this._groups,n=t.length,o=new Array(n),i=0;i<n;++i)for(var a=t[i],r=a.length,s=o[i]=[],l,d=0;d<r;++d)(l=a[d])&&e.call(l,l.__data__,d,a)&&s.push(l);return new Ie(o,this._parents,this._name,this._id)}function Ks(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,o=t.length,i=n.length,a=Math.min(o,i),r=new Array(o),s=0;s<a;++s)for(var l=t[s],d=n[s],u=l.length,c=r[s]=new Array(u),p,g=0;g<u;++g)(p=l[g]||d[g])&&(c[g]=p);for(;s<o;++s)r[s]=t[s];return new Ie(r,this._parents,this._name,this._id)}function Js(e){return(e+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||t==="start"})}function Zs(e,t,n){var o,i,a=Js(t)?gn:we;return function(){var r=a(this,e),s=r.on;s!==o&&(i=(o=s).copy()).on(t,n),r.on=i}}function Qs(e,t){var n=this._id;return arguments.length<2?he(this.node(),n).on.on(e):this.each(Zs(n,e,t))}function el(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function tl(){return this.on("end.remove",el(this._id))}function nl(e){var t=this._name,n=this._id;typeof e!="function"&&(e=pn(e));for(var o=this._groups,i=o.length,a=new Array(i),r=0;r<i;++r)for(var s=o[r],l=s.length,d=a[r]=new Array(l),u,c,p=0;p<l;++p)(u=s[p])&&(c=e.call(u,u.__data__,p,s))&&("__data__"in u&&(c.__data__=u.__data__),d[p]=c,Tt(d[p],t,n,p,d,he(u,n)));return new Ie(a,this._parents,t,n)}function ol(e){var t=this._name,n=this._id;typeof e!="function"&&(e=wo(e));for(var o=this._groups,i=o.length,a=[],r=[],s=0;s<i;++s)for(var l=o[s],d=l.length,u,c=0;c<d;++c)if(u=l[c]){for(var p=e.call(u,u.__data__,c,l),g,S=he(u,n),b=0,w=p.length;b<w;++b)(g=p[b])&&Tt(g,t,n,b,p,S);a.push(p),r.push(u)}return new Ie(a,r,t,n)}var il=ot.prototype.constructor;function al(){return new il(this._groups,this._parents)}function rl(e,t){var n,o,i;return function(){var a=Fe(this,e),r=(this.style.removeProperty(e),Fe(this,e));return a===r?null:a===n&&r===o?i:i=t(n=a,o=r)}}function xo(e){return function(){this.style.removeProperty(e)}}function sl(e,t,n){var o,i=n+"",a;return function(){var r=Fe(this,e);return r===i?null:r===o?a:a=t(o=r,n)}}function ll(e,t,n){var o,i,a;return function(){var r=Fe(this,e),s=n(this),l=s+"";return s==null&&(l=s=(this.style.removeProperty(e),Fe(this,e))),r===l?null:r===o&&l===i?a:(i=l,a=t(o=r,s))}}function ul(e,t){var n,o,i,a="style."+t,r="end."+a,s;return function(){var l=we(this,e),d=l.on,u=l.value[a]==null?s||(s=xo(t)):void 0;(d!==n||i!==u)&&(o=(n=d).copy()).on(r,i=u),l.on=o}}function cl(e,t,n){var o=(e+="")=="transform"?cs:Ho;return t==null?this.styleTween(e,rl(e,o)).on("end.style."+e,xo(e)):typeof t=="function"?this.styleTween(e,ll(e,o,yn(this,"style."+e,t))).each(ul(this._id,e)):this.styleTween(e,sl(e,o,t),n).on("end.style."+e,null)}function dl(e,t,n){return function(o){this.style.setProperty(e,t.call(this,o),n)}}function fl(e,t,n){var o,i;function a(){var r=t.apply(this,arguments);return r!==i&&(o=(i=r)&&dl(e,r,n)),o}return a._value=t,a}function pl(e,t,n){var o="style."+(e+="");if(arguments.length<2)return(o=this.tween(o))&&o._value;if(t==null)return this.tween(o,null);if(typeof t!="function")throw new Error;return this.tween(o,fl(e,t,n??""))}function ml(e){return function(){this.textContent=e}}function hl(e){return function(){var t=e(this);this.textContent=t??""}}function vl(e){return this.tween("text",typeof e=="function"?hl(yn(this,"text",e)):ml(e==null?"":e+""))}function gl(e){return function(t){this.textContent=e.call(this,t)}}function yl(e){var t,n;function o(){var i=e.apply(this,arguments);return i!==n&&(t=(n=i)&&gl(i)),t}return o._value=e,o}function wl(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!="function")throw new Error;return this.tween(t,yl(e))}function bl(){for(var e=this._name,t=this._id,n=Uo(),o=this._groups,i=o.length,a=0;a<i;++a)for(var r=o[a],s=r.length,l,d=0;d<s;++d)if(l=r[d]){var u=he(l,t);Tt(l,e,n,d,r,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Ie(o,this._parents,e,n)}function kl(){var e,t,n=this,o=n._id,i=n.size();return new Promise(function(a,r){var s={value:r},l={value:function(){--i===0&&a()}};n.each(function(){var d=we(this,o),u=d.on;u!==e&&(t=(e=u).copy(),t._.cancel.push(s),t._.interrupt.push(s),t._.end.push(l)),d.on=t}),i===0&&a()})}var Sl=0;function Ie(e,t,n,o){this._groups=e,this._parents=t,this._name=n,this._id=o}function Uo(){return++Sl}var be=ot.prototype;Ie.prototype={constructor:Ie,select:nl,selectAll:ol,selectChild:be.selectChild,selectChildren:be.selectChildren,filter:Gs,merge:Ks,selection:al,transition:bl,call:be.call,nodes:be.nodes,node:be.node,size:be.size,empty:be.empty,each:be.each,on:Qs,attr:zs,attrTween:Ls,style:cl,styleTween:pl,text:vl,textTween:wl,remove:tl,tween:Vs,delay:xs,duration:Xs,ease:Ys,easeVarying:js,end:kl,[Symbol.iterator]:be[Symbol.iterator]};function Cl(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var $l={time:null,delay:0,duration:250,ease:Cl};function Il(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}function Vl(e){var t,n;e instanceof Ie?(t=e._id,e=e._name):(t=Uo(),(n=$l).time=vn(),e=e==null?null:e+"");for(var o=this._groups,i=o.length,a=0;a<i;++a)for(var r=o[a],s=r.length,l,d=0;d<s;++d)(l=r[d])&&Tt(l,e,t,d,r,n||Il(l,t));return new Ie(o,this._parents,e,t)}ot.prototype.interrupt=Cs;ot.prototype.transition=Vl;const ut=e=>()=>e;function Ml(e,{sourceEvent:t,target:n,transform:o,dispatch:i}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:o,enumerable:!0,configurable:!0},_:{value:i}})}function Ce(e,t,n){this.k=e,this.x=t,this.y=n}Ce.prototype={constructor:Ce,scale:function(e){return e===1?this:new Ce(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new Ce(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var wn=new Ce(1,0,0);Ce.prototype;function xt(e){e.stopImmediatePropagation()}function Xe(e){e.preventDefault(),e.stopImmediatePropagation()}function Nl(e){return(!e.ctrlKey||e.type==="wheel")&&!e.button}function Al(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute("viewBox")?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function _n(){return this.__zoom||wn}function Ol(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function El(){return navigator.maxTouchPoints||"ontouchstart"in this}function Tl(e,t,n){var o=e.invertX(t[0][0])-n[0][0],i=e.invertX(t[1][0])-n[1][0],a=e.invertY(t[0][1])-n[0][1],r=e.invertY(t[1][1])-n[1][1];return e.translate(i>o?(o+i)/2:Math.min(0,o)||Math.max(0,i),r>a?(a+r)/2:Math.min(0,a)||Math.max(0,r))}function zl(){var e=Nl,t=Al,n=Tl,o=Ol,i=El,a=[0,1/0],r=[[-1/0,-1/0],[1/0,1/0]],s=250,l=hs,d=fn("start","zoom","end"),u,c,p,g=500,S=150,b=0,w=10;function k(y){y.property("__zoom",_n).on("wheel.zoom",F,{passive:!1}).on("mousedown.zoom",ae).on("dblclick.zoom",G).filter(i).on("touchstart.zoom",Rt).on("touchmove.zoom",Bt).on("touchend.zoom touchcancel.zoom",Pt).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}k.transform=function(y,E,C,R){var V=y.selection?y.selection():y;V.property("__zoom",_n),y!==V?D(y,E,C,R):V.interrupt().each(function(){P(this,arguments).event(R).start().zoom(null,typeof E=="function"?E.apply(this,arguments):E).end()})},k.scaleBy=function(y,E,C,R){k.scaleTo(y,function(){var V=this.__zoom.k,O=typeof E=="function"?E.apply(this,arguments):E;return V*O},C,R)},k.scaleTo=function(y,E,C,R){k.transform(y,function(){var V=t.apply(this,arguments),O=this.__zoom,M=C==null?L(V):typeof C=="function"?C.apply(this,arguments):C,U=O.invert(M),W=typeof E=="function"?E.apply(this,arguments):E;return n(B(I(O,W),M,U),V,r)},C,R)},k.translateBy=function(y,E,C,R){k.transform(y,function(){return n(this.__zoom.translate(typeof E=="function"?E.apply(this,arguments):E,typeof C=="function"?C.apply(this,arguments):C),t.apply(this,arguments),r)},null,R)},k.translateTo=function(y,E,C,R,V){k.transform(y,function(){var O=t.apply(this,arguments),M=this.__zoom,U=R==null?L(O):typeof R=="function"?R.apply(this,arguments):R;return n(wn.translate(U[0],U[1]).scale(M.k).translate(typeof E=="function"?-E.apply(this,arguments):-E,typeof C=="function"?-C.apply(this,arguments):-C),O,r)},R,V)};function I(y,E){return E=Math.max(a[0],Math.min(a[1],E)),E===y.k?y:new Ce(E,y.x,y.y)}function B(y,E,C){var R=E[0]-C[0]*y.k,V=E[1]-C[1]*y.k;return R===y.x&&V===y.y?y:new Ce(y.k,R,V)}function L(y){return[(+y[0][0]+ +y[1][0])/2,(+y[0][1]+ +y[1][1])/2]}function D(y,E,C,R){y.on("start.zoom",function(){P(this,arguments).event(R).start()}).on("interrupt.zoom end.zoom",function(){P(this,arguments).event(R).end()}).tween("zoom",function(){var V=this,O=arguments,M=P(V,O).event(R),U=t.apply(V,O),W=C==null?L(U):typeof C=="function"?C.apply(V,O):C,K=Math.max(U[1][0]-U[0][0],U[1][1]-U[0][1]),j=V.__zoom,ee=typeof E=="function"?E.apply(V,O):E,de=l(j.invert(W).concat(K/j.k),ee.invert(W).concat(K/ee.k));return function(re){if(re===1)re=ee;else{var fe=de(re),Dt=K/fe[2];re=new Ce(Dt,W[0]-fe[0]*Dt,W[1]-fe[1]*Dt)}M.zoom(null,re)}})}function P(y,E,C){return!C&&y.__zooming||new N(y,E)}function N(y,E){this.that=y,this.args=E,this.active=0,this.sourceEvent=null,this.extent=t.apply(y,E),this.taps=0}N.prototype={event:function(y){return y&&(this.sourceEvent=y),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(y,E){return this.mouse&&y!=="mouse"&&(this.mouse[1]=E.invert(this.mouse[0])),this.touch0&&y!=="touch"&&(this.touch0[1]=E.invert(this.touch0[0])),this.touch1&&y!=="touch"&&(this.touch1[1]=E.invert(this.touch1[0])),this.that.__zoom=E,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(y){var E=Ne(this.that).datum();d.call(y,this.that,new Ml(y,{sourceEvent:this.sourceEvent,target:k,transform:this.that.__zoom,dispatch:d}),E)}};function F(y,...E){if(!e.apply(this,arguments))return;var C=P(this,E).event(y),R=this.__zoom,V=Math.max(a[0],Math.min(a[1],R.k*Math.pow(2,o.apply(this,arguments)))),O=Ve(y);if(C.wheel)(C.mouse[0][0]!==O[0]||C.mouse[0][1]!==O[1])&&(C.mouse[1]=R.invert(C.mouse[0]=O)),clearTimeout(C.wheel);else{if(R.k===V)return;C.mouse=[O,R.invert(O)],vt(this),C.start()}Xe(y),C.wheel=setTimeout(M,S),C.zoom("mouse",n(B(I(R,V),C.mouse[0],C.mouse[1]),C.extent,r));function M(){C.wheel=null,C.end()}}function ae(y,...E){if(p||!e.apply(this,arguments))return;var C=y.currentTarget,R=P(this,E,!0).event(y),V=Ne(y.view).on("mousemove.zoom",W,!0).on("mouseup.zoom",K,!0),O=Ve(y,C),M=y.clientX,U=y.clientY;Ur(y.view),xt(y),R.mouse=[O,this.__zoom.invert(O)],vt(this),R.start();function W(j){if(Xe(j),!R.moved){var ee=j.clientX-M,de=j.clientY-U;R.moved=ee*ee+de*de>b}R.event(j).zoom("mouse",n(B(R.that.__zoom,R.mouse[0]=Ve(j,C),R.mouse[1]),R.extent,r))}function K(j){V.on("mousemove.zoom mouseup.zoom",null),_r(j.view,R.moved),Xe(j),R.event(j).end()}}function G(y,...E){if(e.apply(this,arguments)){var C=this.__zoom,R=Ve(y.changedTouches?y.changedTouches[0]:y,this),V=C.invert(R),O=C.k*(y.shiftKey?.5:2),M=n(B(I(C,O),R,V),t.apply(this,E),r);Xe(y),s>0?Ne(this).transition().duration(s).call(D,M,R,y):Ne(this).call(k.transform,M,R,y)}}function Rt(y,...E){if(e.apply(this,arguments)){var C=y.touches,R=C.length,V=P(this,E,y.changedTouches.length===R).event(y),O,M,U,W;for(xt(y),M=0;M<R;++M)U=C[M],W=Ve(U,this),W=[W,this.__zoom.invert(W),U.identifier],V.touch0?!V.touch1&&V.touch0[2]!==W[2]&&(V.touch1=W,V.taps=0):(V.touch0=W,O=!0,V.taps=1+!!u);u&&(u=clearTimeout(u)),O&&(V.taps<2&&(c=W[0],u=setTimeout(function(){u=null},g)),vt(this),V.start())}}function Bt(y,...E){if(this.__zooming){var C=P(this,E).event(y),R=y.changedTouches,V=R.length,O,M,U,W;for(Xe(y),O=0;O<V;++O)M=R[O],U=Ve(M,this),C.touch0&&C.touch0[2]===M.identifier?C.touch0[0]=U:C.touch1&&C.touch1[2]===M.identifier&&(C.touch1[0]=U);if(M=C.that.__zoom,C.touch1){var K=C.touch0[0],j=C.touch0[1],ee=C.touch1[0],de=C.touch1[1],re=(re=ee[0]-K[0])*re+(re=ee[1]-K[1])*re,fe=(fe=de[0]-j[0])*fe+(fe=de[1]-j[1])*fe;M=I(M,Math.sqrt(re/fe)),U=[(K[0]+ee[0])/2,(K[1]+ee[1])/2],W=[(j[0]+de[0])/2,(j[1]+de[1])/2]}else if(C.touch0)U=C.touch0[0],W=C.touch0[1];else return;C.zoom("touch",n(B(M,U,W),C.extent,r))}}function Pt(y,...E){if(this.__zooming){var C=P(this,E).event(y),R=y.changedTouches,V=R.length,O,M;for(xt(y),p&&clearTimeout(p),p=setTimeout(function(){p=null},g),O=0;O<V;++O)M=R[O],C.touch0&&C.touch0[2]===M.identifier?delete C.touch0:C.touch1&&C.touch1[2]===M.identifier&&delete C.touch1;if(C.touch1&&!C.touch0&&(C.touch0=C.touch1,delete C.touch1),C.touch0)C.touch0[1]=this.__zoom.invert(C.touch0[0]);else if(C.end(),C.taps===2&&(M=Ve(M,this),Math.hypot(c[0]-M[0],c[1]-M[1])<w)){var U=Ne(this).on("dblclick.zoom");U&&U.apply(this,arguments)}}}return k.wheelDelta=function(y){return arguments.length?(o=typeof y=="function"?y:ut(+y),k):o},k.filter=function(y){return arguments.length?(e=typeof y=="function"?y:ut(!!y),k):e},k.touchable=function(y){return arguments.length?(i=typeof y=="function"?y:ut(!!y),k):i},k.extent=function(y){return arguments.length?(t=typeof y=="function"?y:ut([[+y[0][0],+y[0][1]],[+y[1][0],+y[1][1]]]),k):t},k.scaleExtent=function(y){return arguments.length?(a[0]=+y[0],a[1]=+y[1],k):[a[0],a[1]]},k.translateExtent=function(y){return arguments.length?(r[0][0]=+y[0][0],r[1][0]=+y[1][0],r[0][1]=+y[0][1],r[1][1]=+y[1][1],k):[[r[0][0],r[0][1]],[r[1][0],r[1][1]]]},k.constrain=function(y){return arguments.length?(n=y,k):n},k.duration=function(y){return arguments.length?(s=+y,k):s},k.interpolate=function(y){return arguments.length?(l=y,k):l},k.on=function(){var y=d.on.apply(d,arguments);return y===d?k:y},k.clickDistance=function(y){return arguments.length?(b=(y=+y)*y,k):Math.sqrt(b)},k.tapDistance=function(y){return arguments.length?(w=+y,k):w},k}const _o=Symbol("MiniMapSlots"),Rl=["id","x","y","rx","ry","width","height","fill","stroke","stroke-width","shape-rendering"],Bl={name:"MiniMapNode",compatConfig:{MODE:3},inheritAttrs:!1},Pl=x({...Bl,props:{id:{},type:{},selected:{type:Boolean},dragging:{type:Boolean},position:{},dimensions:{},borderRadius:{},color:{},shapeRendering:{},strokeColor:{},strokeWidth:{},hidden:{type:Boolean}},emits:["click","dblclick","mouseenter","mousemove","mouseleave"],setup(e,{emit:t}){const n=e,o=hi(_o),i=so(),a=Ge(()=>i.style??{});function r(c){t("click",c)}function s(c){t("dblclick",c)}function l(c){t("mouseenter",c)}function d(c){t("mousemove",c)}function u(c){t("mouseleave",c)}return(c,p)=>!c.hidden&&c.dimensions.width!==0&&c.dimensions.height!==0?(m(),z(X,{key:0},[f(o)[`node-${n.type}`]?(m(),$(vi(f(o)[`node-${n.type}`]),De(Ke({key:0},{...n,...c.$attrs})),null,16)):(m(),z("rect",Ke({key:1,id:c.id},c.$attrs,{class:["vue-flow__minimap-node",{selected:c.selected,dragging:c.dragging}],x:c.position.x,y:c.position.y,rx:c.borderRadius,ry:c.borderRadius,width:c.dimensions.width,height:c.dimensions.height,fill:c.color||a.value.background||a.value.backgroundColor,stroke:c.strokeColor,"stroke-width":c.strokeWidth,"shape-rendering":c.shapeRendering,onClick:r,onDblclick:s,onMouseenter:l,onMousemove:d,onMouseleave:u}),null,16,Rl))],64)):T("",!0)}}),Dl=["width","height","viewBox","aria-labelledby"],Ll=["id"],Fl=["d","fill","stroke","stroke-width"],Hl={name:"MiniMap",compatConfig:{MODE:3}},xl=x({...Hl,props:{nodeColor:{type:[String,Function],default:"#e2e2e2"},nodeStrokeColor:{type:[String,Function],default:"transparent"},nodeClassName:{type:[String,Function]},nodeBorderRadius:{default:5},nodeStrokeWidth:{default:2},maskColor:{default:"rgb(240, 240, 240, 0.6)"},maskStrokeColor:{default:"none"},maskStrokeWidth:{default:1},position:{default:"bottom-right"},pannable:{type:Boolean,default:!1},zoomable:{type:Boolean,default:!1},width:{},height:{},ariaLabel:{default:"Vue Flow mini map"},inversePan:{type:Boolean,default:!1},zoomStep:{default:10},offsetScale:{default:5},maskBorderRadius:{default:0}},emits:["click","nodeClick","nodeDblclick","nodeMouseenter","nodeMousemove","nodeMouseleave"],setup(e,{emit:t}){const n=pi(),o=so(),i=200,a=150,{id:r,edges:s,viewport:l,translateExtent:d,dimensions:u,emits:c,d3Selection:p,d3Zoom:g,getNodesInitialized:S}=Mt(),b=_();gi(_o,n);const w=Ge(()=>{var V;return e.width??((V=o.style)==null?void 0:V.width)??i}),k=Ge(()=>{var V;return e.height??((V=o.style)==null?void 0:V.height)??a}),I=typeof window>"u"||window.chrome?"crispEdges":"geometricPrecision",B=A(()=>typeof e.nodeColor=="string"?()=>e.nodeColor:e.nodeColor),L=A(()=>typeof e.nodeStrokeColor=="string"?()=>e.nodeStrokeColor:e.nodeStrokeColor),D=A(()=>typeof e.nodeClassName=="string"?()=>e.nodeClassName:typeof e.nodeClassName=="function"?e.nodeClassName:()=>""),P=A(()=>Qo(S.value.filter(V=>!V.hidden))),N=A(()=>({x:-l.value.x/l.value.zoom,y:-l.value.y/l.value.zoom,width:u.value.width/l.value.zoom,height:u.value.height/l.value.zoom})),F=A(()=>S.value&&S.value.length?ei(P.value,N.value):N.value),ae=A(()=>{const V=F.value.width/w.value,O=F.value.height/k.value;return Math.max(V,O)}),G=A(()=>{const V=ae.value*w.value,O=ae.value*k.value,M=e.offsetScale*ae.value;return{offset:M,x:F.value.x-(V-F.value.width)/2-M,y:F.value.y-(O-F.value.height)/2-M,width:V+M*2,height:O+M*2}}),Rt=A(()=>!G.value.x||!G.value.y?"":`
2
+ M${G.value.x-G.value.offset},${G.value.y-G.value.offset}
3
+ h${G.value.width+G.value.offset*2}
4
+ v${G.value.height+G.value.offset*2}
5
+ h${-G.value.width-G.value.offset*2}z
6
+ M${N.value.x+e.maskBorderRadius},${N.value.y}
7
+ h${N.value.width-2*e.maskBorderRadius}
8
+ a${e.maskBorderRadius},${e.maskBorderRadius} 0 0 1 ${e.maskBorderRadius},${e.maskBorderRadius}
9
+ v${N.value.height-2*e.maskBorderRadius}
10
+ a${e.maskBorderRadius},${e.maskBorderRadius} 0 0 1 -${e.maskBorderRadius},${e.maskBorderRadius}
11
+ h${-(N.value.width-2*e.maskBorderRadius)}
12
+ a${e.maskBorderRadius},${e.maskBorderRadius} 0 0 1 -${e.maskBorderRadius},-${e.maskBorderRadius}
13
+ v${-(N.value.height-2*e.maskBorderRadius)}
14
+ a${e.maskBorderRadius},${e.maskBorderRadius} 0 0 1 ${e.maskBorderRadius},-${e.maskBorderRadius}z`);mi(V=>{if(b.value){const O=Ne(b.value),M=K=>{if(K.sourceEvent.type!=="wheel"||!p.value||!g.value)return;const j=-K.sourceEvent.deltaY*(K.sourceEvent.deltaMode===1?.05:K.sourceEvent.deltaMode?1:.002)*e.zoomStep,ee=l.value.zoom*2**j;g.value.scaleTo(p.value,ee)},U=K=>{if(K.sourceEvent.type!=="mousemove"||!p.value||!g.value)return;const j=ae.value*Math.max(1,l.value.zoom)*(e.inversePan?-1:1),ee={x:l.value.x-K.sourceEvent.movementX*j,y:l.value.y-K.sourceEvent.movementY*j},de=[[0,0],[u.value.width,u.value.height]],re=wn.translate(ee.x,ee.y).scale(l.value.zoom),fe=g.value.constrain()(re,de,d.value);g.value.transform(p.value,fe)},W=zl().on("zoom",e.pannable?U:()=>{}).on("zoom.wheel",e.zoomable?M:()=>{});O.call(W),V(()=>{O.on("zoom",null)})}},{flush:"post"});function Bt(V){const[O,M]=Ve(V);t("click",{event:V,position:{x:O,y:M}})}function Pt(V,O){const M={event:V,node:O,connectedEdges:Ue([O],s.value)};c.miniMapNodeClick(M),t("nodeClick",M)}function y(V,O){const M={event:V,node:O,connectedEdges:Ue([O],s.value)};c.miniMapNodeDoubleClick(M),t("nodeDblclick",M)}function E(V,O){const M={event:V,node:O,connectedEdges:Ue([O],s.value)};c.miniMapNodeMouseEnter(M),t("nodeMouseenter",M)}function C(V,O){const M={event:V,node:O,connectedEdges:Ue([O],s.value)};c.miniMapNodeMouseMove(M),t("nodeMousemove",M)}function R(V,O){const M={event:V,node:O,connectedEdges:Ue([O],s.value)};c.miniMapNodeMouseLeave(M),t("nodeMouseleave",M)}return(V,O)=>(m(),$(f(dt),{position:V.position,class:$e(["vue-flow__minimap",{pannable:V.pannable,zoomable:V.zoomable}])},{default:v(()=>[(m(),z("svg",{ref_key:"el",ref:b,width:w.value,height:k.value,viewBox:[G.value.x,G.value.y,G.value.width,G.value.height].join(" "),role:"img","aria-labelledby":`vue-flow__minimap-${f(r)}`,onClick:Bt},[V.ariaLabel?(m(),z("title",{key:0,id:`vue-flow__minimap-${f(r)}`},Y(V.ariaLabel),9,Ll)):T("",!0),(m(!0),z(X,null,oe(f(S),M=>(m(),$(Pl,{id:M.id,key:M.id,position:M.computedPosition,dimensions:M.dimensions,selected:M.selected,dragging:M.dragging,style:ye(M.style),class:$e(D.value(M)),color:B.value(M),"border-radius":V.nodeBorderRadius,"stroke-color":L.value(M),"stroke-width":V.nodeStrokeWidth,"shape-rendering":f(I),type:M.type,hidden:M.hidden,onClick:U=>Pt(U,M),onDblclick:U=>y(U,M),onMouseenter:U=>E(U,M),onMousemove:U=>C(U,M),onMouseleave:U=>R(U,M)},null,8,["id","position","dimensions","selected","dragging","style","class","color","border-radius","stroke-color","stroke-width","shape-rendering","type","hidden","onClick","onDblclick","onMouseenter","onMousemove","onMouseleave"]))),128)),q("path",{class:"vue-flow__minimap-mask",d:Rt.value,fill:V.maskColor,stroke:V.maskStrokeColor,"stroke-width":V.maskStrokeWidth,"fill-rule":"evenodd"},null,8,Fl)],8,Dl))]),_:1},8,["position","class"]))}}),Ul={class:"vue-flow-container"},_l={key:0},Xl={key:1},ql=x({__name:"GenericCanvas",props:{canvasId:{},inputResolverOutputs:{},components:{},entities:{},editable:{type:Boolean,default:!1},minimap:{type:Boolean,default:!0}},emits:["dragover","init"],setup(e,{emit:t}){const n=t,o=Nt.ensureCreated(...e.canvasId);return n("init",o),(i,a)=>{const r=ti;return m(),$(r,null,{default:v(()=>[q("div",Ul,[h(f(ni),{"min-zoom":.5,"max-zoom":1,"snap-to-grid":!0,onDragover:a[1]||(a[1]=s=>n("dragover",s))},{"node-instance":v(s=>[te(i.$slots,"node-instance",De(qe(s)),void 0,!0)]),"node-inputs":v(s=>[te(i.$slots,"node-inputs",De(qe(s)),void 0,!0)]),"node-outputs":v(s=>[te(i.$slots,"node-outputs",De(qe(s)),void 0,!0)]),"node-hub":v(s=>[te(i.$slots,"node-hub",De(qe(s)),void 0,!0)]),"edge-custom":v(s=>[h(f(Zi),Ke(s,{"input-resolver-outputs":i.inputResolverOutputs,components:i.components,entities:i.entities}),null,16,["input-resolver-outputs","components","entities"])]),default:v(()=>[h(f(Wi),{"pattern-color":"#aaa",gap:32}),i.minimap?(m(),$(f(xl),{key:0,position:"top-right"})):T("",!0),h(f(dt),{position:"top-left"},{default:v(()=>[a[6]||(a[6]=H(" Hold Control to add nodes to selection and Alt to remove them ")),a[7]||(a[7]=q("br",null,null,-1)),i.editable?(m(),z("div",_l,"Press Ctrl+V to paste blueprint from clipboard")):T("",!0),f(o).selection.selectedNodeIds.size>0?(m(),z("div",Xl,[H(" Selected "+Y(f(o).selection.selectedNodeIds.size)+" nodes ",1),a[2]||(a[2]=q("br",null,null,-1)),a[3]||(a[3]=H(" Press Escape to clear selection ")),a[4]||(a[4]=q("br",null,null,-1)),a[5]||(a[5]=H(" Press Ctrl+C to copy selected nodes to clipboard "))])):T("",!0)]),_:1,__:[6,7]}),h(f(dt),{position:"bottom-right"},{default:v(()=>[te(i.$slots,"panel-bottom-right",{},void 0,!0)]),_:3}),h(f(dt),{position:"bottom-left"},{default:v(()=>[te(i.$slots,"panel-bottom-left",{},void 0,!0)]),_:3}),h(f(aa),{"selection-mode":f(o).selection.selectionMode,"selection-area":f(o).selection.selectionArea},null,8,["selection-mode","selection-area"]),h(yi,{modelValue:f(o).blueprintCopied,"onUpdate:modelValue":a[0]||(a[0]=s=>f(o).blueprintCopied=s),location:"top center",color:"info"},{default:v(()=>a[8]||(a[8]=[H(" Blueprint copied to clipboard ")])),_:1,__:[8]},8,["modelValue"])]),_:3})])]),_:3})}}}),Vc=ne(ql,[["__scopeId","data-v-3647dd7a"]]),Yl=["innerHTML"],zt=x({__name:"ArgumentDescription",props:{description:{}},setup(e){return(t,n)=>(m(),z("div",{class:"markdown-body pl-4 text-disabled",innerHTML:("renderMarkdown"in t?t.renderMarkdown:f(oi))(t.description)},null,8,Yl))}});var Wl=Object.defineProperty,jl=Object.defineProperties,Gl=Object.getOwnPropertyDescriptors,Xn=Object.getOwnPropertySymbols,Kl=Object.prototype.hasOwnProperty,Jl=Object.prototype.propertyIsEnumerable,qn=(e,t,n)=>t in e?Wl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ut=(e,t)=>{for(var n in t||(t={}))Kl.call(t,n)&&qn(e,n,t[n]);if(Xn)for(var n of Xn(t))Jl.call(t,n)&&qn(e,n,t[n]);return e},Zl=(e,t)=>jl(e,Gl(t));const _t={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}};function Ql(e,t){const n=A(()=>{const{width:i,height:a}=e;return Zl(Ut({},_t.wrapper),{width:i,height:a})}),o=A(()=>Ut(Ut({},_t.fullWidth),!t.value&&_t.hide));return{wrapperStyle:n,containerStyle:o}}function eu(){const e=sn(bn.__getMonacoInstance()),t=_(!1);let n;return un(()=>{e.value||(n=bn.init(),n.then(i=>e.value=i).catch(i=>{i?.type!=="cancelation"&&(t.value=!0,console.error("Monaco initialization error:",i))}))}),{monacoRef:e,unload:()=>n?.cancel(),isLoadFailed:t}}function Yn(e){return typeof e=="function"?e():e}function nn(e){return e===void 0}function Xo(e,t,n,o){return tu(e,o)||nu(e,t,n,o)}function tu(e,t){return e.editor.getModel(qo(e,t))}function nu(e,t,n,o){return e.editor.createModel(t,n,o?qo(e,o):void 0)}function qo(e,t){return e.Uri.parse(t)}var ou=Object.defineProperty,Wn=Object.getOwnPropertySymbols,iu=Object.prototype.hasOwnProperty,au=Object.prototype.propertyIsEnumerable,jn=(e,t,n)=>t in e?ou(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ru=(e,t)=>{for(var n in t||(t={}))iu.call(t,n)&&jn(e,n,t[n]);if(Wn)for(var n of Wn(t))au.call(t,n)&&jn(e,n,t[n]);return e};const su={display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"};var Gn=x({name:"VueMonacoEditor",model:{prop:"value",event:"update:value"},props:{defaultValue:String,defaultPath:String,defaultLanguage:String,value:String,language:String,path:String,theme:{type:String,default:"vs"},line:Number,options:{type:Object,default:()=>({})},overrideServices:{type:Object,default:()=>({})},saveViewState:{type:Boolean,default:!0},width:{type:[Number,String],default:"100%"},height:{type:[Number,String],default:"100%"},className:String},emits:["update:value","beforeMount","mount","change","validate"],setup(e,t){const n=new Map,o=sn(null),{monacoRef:i,unload:a,isLoadFailed:r}=eu(),{editorRef:s}=lu(t,e,i,o),{disposeValidator:l}=uu(t,e,i,s),d=A(()=>!!i.value&&!!s.value),{wrapperStyle:u,containerStyle:c}=Ql(e,d);return ln(()=>{var p,g;(p=l.value)==null||p.call(l),s.value?((g=s.value.getModel())==null||g.dispose(),s.value.dispose()):a()}),ve([()=>e.path,()=>e.value,()=>e.language,()=>e.line],([p,g,S,b],[w,k,I,B])=>{if(d.value){if(p!==w){const L=Xo(i.value,g||e.defaultValue||"",S||e.defaultLanguage||"",p||e.defaultPath||"");e.saveViewState&&n.set(w,s.value.saveViewState()),s.value.setModel(L),e.saveViewState&&s.value.restoreViewState(n.get(p)),nn(b)||s.value.revealLine(b);return}s.value.getValue()!==g&&s.value.setValue(g),S!==I&&i.value.editor.setModelLanguage(s.value.getModel(),S),!nn(b)&&b!==B&&s.value.revealLine(b)}}),ve(()=>e.options,p=>s.value&&s.value.updateOptions(p),{deep:!0}),ve(()=>e.theme,p=>i.value&&i.value.editor.setTheme(p)),{containerRef:o,isEditorReady:d,isLoadFailed:r,wrapperStyle:u,containerStyle:c}},render(){const{$slots:e,isEditorReady:t,isLoadFailed:n,wrapperStyle:o,containerStyle:i,className:a}=this;return je("div",{style:o},[!t&&je("div",{style:su},n?e.failure?Yn(e.failure):"load failed":e.default?Yn(e.default):"loading..."),je("div",{ref:"containerRef",key:"monaco_editor_container",style:i,class:a})])}});function lu({emit:e},t,n,o){const i=sn(null);un(()=>{const r=ve(n,()=>{o.value&&n.value&&(ze(()=>r()),a())},{immediate:!0})});function a(){var r;if(!o.value||!n.value||i.value)return;e("beforeMount",n.value);const s=t.path||t.defaultPath,l=Xo(n.value,t.value||t.defaultValue||"",t.language||t.defaultLanguage||"",s||"");i.value=n.value.editor.create(o.value,ru({model:l,theme:t.theme,automaticLayout:!0,autoIndent:"brackets",formatOnPaste:!0,formatOnType:!0},t.options),t.overrideServices),(r=i.value)==null||r.onDidChangeModelContent(d=>{const u=i.value.getValue();u!==t.value&&(e("update:value",u),e("change",u,d))}),i.value&&!nn(t.line)&&i.value.revealLine(t.line),e("mount",i.value,n.value)}return{editorRef:i}}function uu({emit:e},t,n,o){const i=_(null),a=ve([n,o],()=>{if(n.value&&o.value){ze(()=>a());const r=n.value.editor.onDidChangeMarkers(s=>{var l,d;const u=(d=(l=o.value)==null?void 0:l.getModel())==null?void 0:d.uri;if(u&&s.find(p=>p.path===u.path)){const p=n.value.editor.getModelMarkers({resource:u});e("validate",p)}});i.value=()=>r?.dispose()}});return{disposeValidator:i}}const cu={class:"editor"},du=x({__name:"CodeArgumentInput",props:{modelValue:{},argument:{},instance:{},isSecret:{type:Boolean}},emits:["update:model-value"],setup(e,{emit:t}){let n;typeof e.modelValue=="string"?n=e.modelValue:n=no.safeParse(e.modelValue)?.data?.value??"";const o=t,i=a=>{e.argument.kind==="code"?o("update:model-value",a):o("update:model-value",{[ii.Yaml]:!0,value:a})};return(a,r)=>(m(),$(lo,{title:a.argument.title,color:"#2d2d2d","bg-color":"#1e1e1e"},{title:v(()=>[q("div",null,Y(a.argument.title),1),a.argument.description?(m(),$(zt,{key:0,description:a.argument.description},null,8,["description"])):T("",!0)]),text:v(()=>[q("div",cu,[a.argument.kind==="code"?(m(),$(f(Gn),{key:0,value:f(n),"onUpdate:value":i,theme:"dark-plus",class:"editor",language:a.argument.language??"text",options:{tabSize:2}},null,8,["value","language"])):(m(),$(f(Gn),{key:1,value:f(n),"onUpdate:value":i,theme:"vs-dark",language:"yaml",path:`${a.instance.type}.${a.argument.name}`,options:{tabSize:2}},null,8,["value","path"]))])]),_:1},8,["title"]))}}),fu=ne(du,[["__scopeId","data-v-c07dcd2d"]]),It=x({__name:"PlainArgumentInput",props:le({argument:{},instance:{},isSecret:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=me(e,"modelValue");t.value===void 0&&e.argument.default!==void 0&&(t.value=e.argument.default);const n=_(!1),o=A(()=>e.isSecret?n.value?"text":"password":"text"),i=A(()=>e.argument.default!=null?String(e.argument.default):"");return(a,r)=>(m(),z("div",null,[a.argument.kind==="input"&&a.argument.type==="string"?(m(),$(uo,{key:0,modelValue:t.value,"onUpdate:modelValue":r[1]||(r[1]=s=>t.value=s),label:a.argument.title,placeholder:f(i),type:f(o),variant:"outlined",density:"compact","hide-details":""},{"append-inner":v(()=>[a.isSecret?(m(),$(J,{key:0,onClick:r[0]||(r[0]=s=>n.value=!f(n))},{default:v(()=>[H(Y(f(n)?"mdi-eye-off":"mdi-eye"),1)]),_:1})):T("",!0)]),_:1},8,["modelValue","label","placeholder","type"])):a.argument.kind==="input"&&a.argument.type==="number"?(m(),$(wi,{key:1,modelValue:t.value,"onUpdate:modelValue":r[3]||(r[3]=s=>t.value=s),label:a.argument.title,placeholder:f(i),variant:"outlined",density:"compact","hide-details":""},{"append-inner":v(()=>[a.isSecret?(m(),$(J,{key:0,onClick:r[2]||(r[2]=s=>n.value=!f(n))},{default:v(()=>[H(Y(f(n)?"mdi-eye-off":"mdi-eye"),1)]),_:1})):T("",!0)]),_:1},8,["modelValue","label","placeholder"])):a.argument.kind==="combobox"?(m(),$(bi,{key:2,modelValue:t.value,"onUpdate:modelValue":r[4]||(r[4]=s=>t.value=s),label:a.argument.title,placeholder:f(i),variant:"outlined",density:"compact",multiple:"",chips:"","hide-details":""},null,8,["modelValue","label","placeholder"])):a.argument.kind==="select"?(m(),$(co,{key:3,modelValue:t.value,"onUpdate:modelValue":r[5]||(r[5]=s=>t.value=s),label:a.argument.title,placeholder:f(i),items:a.argument.enum,variant:"outlined",density:"compact",multiple:a.argument.multiple,"hide-details":""},null,8,["modelValue","label","placeholder","items","multiple"])):(m(),$(ke,{key:4,modelValue:t.value,"onUpdate:modelValue":r[6]||(r[6]=s=>t.value=s),label:a.argument.title,density:"compact","hide-details":""},null,8,["modelValue","label"])),a.argument.description?(m(),$(zt,{key:5,class:"mt-2",description:a.argument.description},null,8,["description"])):T("",!0)]))}}),pu={class:"d-flex flex-column ga-4"},mu=x({__name:"GroupArgumentInput",props:le({argument:{},instance:{},isSecret:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=me(e,"modelValue");t.value===void 0&&e.argument.default!==void 0?t.value=e.argument.default??{}:t.value===void 0&&(t.value={});const n=(i,a)=>{t.value={...t.value,[i]:a}},o=A(()=>e.argument.discriminator?t.value[e.argument.discriminator.name]??"":"");return ve(o,i=>{if(!e.argument.discriminator)return;const a=e.argument.fields[i]??[],r={[e.argument.discriminator.name]:i};for(const s of a)r[s.name]=s.default;t.value=r}),(i,a)=>(m(),$(lo,{color:"#2d2d2d","bg-color":"#2d2d2d"},{title:v(()=>[q("div",null,Y(i.argument.title),1),i.argument.description?(m(),$(zt,{key:0,description:i.argument.description},null,8,["description"])):T("",!0)]),text:v(()=>[q("div",pu,[i.argument.discriminator?(m(),z(X,{key:1},[h(co,{"model-value":t.value[i.argument.discriminator.name],items:Object.keys(i.argument.fields),label:i.argument.discriminator.title,variant:"outlined",density:"compact","hide-details":"","onUpdate:modelValue":a[0]||(a[0]=r=>n(i.argument.discriminator.name,r))},null,8,["model-value","items","label"]),(m(!0),z(X,null,oe(i.argument.fields[f(o)]??[],r=>(m(),$(It,{"model-value":t.value[r.name],key:r.name,argument:r,instance:i.instance,"is-secret":i.isSecret,"onUpdate:modelValue":s=>n(r.name,s)},null,8,["model-value","argument","instance","is-secret","onUpdate:modelValue"]))),128))],64)):(m(!0),z(X,{key:0},oe(i.argument.fields[""],r=>(m(),$(It,{"model-value":t.value[r.name],key:r.name,argument:r,instance:i.instance,"is-secret":i.isSecret,"onUpdate:modelValue":s=>n(r.name,s)},null,8,["model-value","argument","instance","is-secret","onUpdate:modelValue"]))),128))])]),_:1}))}});function Yo(e,t){const n={...e};for(const o in t){const i=t[o];i.schema.default&&n[o]===void 0&&(n[o]=i.schema.default)}return n}function hu(e,t){const n=no.safeParse(e);if(n.success)return n.data.value.trim()==="";if(t.default){if(e==null)return!0;const o=JSON.stringify(t.default),i=JSON.stringify(e);if(o===i)return!0}return t.type==="boolean"?!1:Array.isArray(e)?e.length===0:typeof e=="object"?e===null||Object.keys(e).length===0:typeof e=="string"?e.trim()==="":typeof e=="number"?isNaN(e)||e===0:typeof e>"u"}function Wo(e,t){const n={};for(const o in e)hu(e[o],t[o].schema)||(n[o]=e[o]);return n}function gt(e,t,n,o,i){if(o.type==="boolean")return{name:e,title:t,description:n,kind:"checkbox",default:i??o.default??!1};if(o.type==="array"){if(typeof o.items!="object"||Array.isArray(o.items))return null;if(o.items?.type==="string"||o.items?.type==="number")return o.items.enum?{name:e,title:t,description:n,kind:"select",type:o.items.type,enum:o.items.enum,multiple:!0,default:i??o.default}:{name:e,title:t,description:n,kind:"combobox",type:o.items.type,default:i??o.default}}return o.type!=="string"&&o.type!=="number"?null:o.enum?{name:e,title:t,description:n,kind:"select",type:o.type,enum:o.enum,multiple:!1,default:i??o.default}:{name:e,title:t,description:n,kind:"input",type:o.type,default:i??o.default}}function vu(e){return e.type==="object"&&e.additionalProperties&&Object.keys(e.additionalProperties).length===0&&e.propertyNames}function gu(e){const t=new Map;for(const n of e)if(!(n.type!=="object"||!n.properties))for(const[o,i]of Object.entries(n.properties)){if(typeof i!="object"||!i.const)continue;const a=t.get(o)??0;t.set(o,a+1)}for(const[n,o]of t.entries()){if(!o||o<e.length)continue;const i=e[0].properties?.[n];if(i&&typeof i=="object"&&i.const)return gt(n,i.title??Xt(n),i.description,i)}return null}function yu(e,t){const n=[],o=[];for(const[i,a]of Object.entries(t)){if(a.schema.anyOf){const s=gu(a.schema.anyOf);if(s){const l={};for(const d of a.schema.anyOf){if(typeof d!="object"||!d.properties)continue;const c=d.properties[s.name].const?.toString();if(c===void 0)continue;const p=[];for(const[g,S]of Object.entries(d.properties)){if(typeof S!="object"||g===s.name)continue;const b=gt(g,S.title??Xt(g),S.description,S,d.default?.[g]);b&&p.push(b)}l[c]=p}Object.keys(l).length>0&&o.push({name:i,title:a.meta.title,description:a.meta.description,kind:"group",discriminator:s,fields:l,default:a.schema.default});continue}}if(a.schema.type==="object"){if(a.schema.complex||vu(a.schema))kn(e,i,a.schema),o.push({name:i,title:a.meta.title,description:a.meta.description,kind:"structured",default:a.schema.default});else{const s=[];for(const[l,d]of Object.entries(a.schema.properties??{})){if(typeof d!="object")continue;const u=gt(l,d.title??Xt(l),d.description,d,a.schema.default?.[l]);u&&s.push(u)}s.length>0&&o.push({name:i,title:a.meta.title,description:a.meta.description,kind:"group",discriminator:void 0,fields:{"":s},default:a.schema.default})}continue}if(a.schema.type==="string"&&(a.schema.language||a.schema.multiline)){o.push({name:i,title:a.meta.title,description:a.meta.description,kind:"code",language:ai().optional().safeParse(a.schema.language).data,default:a.schema.default});continue}const r=gt(i,a.meta.title,a.meta.description,a.schema);if(r){n.push(r);continue}kn(e,i,a.schema),o.push({name:i,title:a.meta.title,description:a.meta.description,kind:"structured",default:a.schema.default})}return{plainArguments:n,expandableArguments:o}}const wu=x({__name:"InstanceArgumentEditor",props:le({instance:{},component:{},state:{},allInstances:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:le(["save"],["update:modelValue"]),setup(e,{emit:t}){const n=me(e,"modelValue"),o=_(e.instance.name),i=fo(Yo(e.instance.args??{},e.component.args)),a=async()=>{n.value=!1,await ze(),Object.assign(i,e.instance.args)},r=t,s=async()=>{const g=Wo(i,e.component.args);r("save",e.instance.id,o.value,g),await ze(),n.value=!1},l=[g=>!!g||"Name is required",g=>g===e.instance.name||!e.allInstances.has(g)||"Instance with this name and type already exists"],{plainArguments:d,expandableArguments:u}=yu(e.component.type,e.component.args),c=_(!0),p=ri`
15
+ The name of the instance. It must be unique within the same type across the project.
16
+
17
+ **Note**: You can only change this name until the instance is created.
18
+
19
+ After that, the name cannot be changed until the instance is fully destroyed.
20
+ `;return(g,S)=>(m(),$(cn,{modelValue:n.value,"onUpdate:modelValue":S[2]||(S[2]=b=>n.value=b),class:"dialog"},{default:v(()=>[h(Oe,{variant:"flat",color:g.component.meta.color??"#2d2d2d",title:g.component.meta.title,subtitle:g.component.meta.description},{prepend:v(()=>[h(f(Ri),{meta:g.component.meta},null,8,["meta"])]),default:v(()=>[h(se),h(Pe,{class:"d-flex flex-column pt-4 ga-4",style:{"max-height":"60vh",overflow:"scroll"}},{default:v(()=>[h(ki,{modelValue:f(c),"onUpdate:modelValue":S[1]||(S[1]=b=>Q(c)?c.value=b:null)},{default:v(()=>[h(uo,{modelValue:f(o),"onUpdate:modelValue":S[0]||(S[0]=b=>Q(o)?o.value=b:null),label:"Name",variant:"outlined",density:"compact",readonly:!!g.state?.operationStatus,rules:l},null,8,["modelValue","readonly"]),h(zt,{class:"mt-2",description:p})]),_:1},8,["modelValue"]),(m(!0),z(X,null,oe(f(d),b=>(m(),$(It,{key:b.name,modelValue:f(i)[b.name],"onUpdate:modelValue":w=>f(i)[b.name]=w,argument:b,instance:g.instance},null,8,["modelValue","onUpdate:modelValue","argument","instance"]))),128)),f(u).length>0?(m(),$(Si,{key:0,elevation:0},{default:v(()=>[(m(!0),z(X,null,oe(f(u),b=>(m(),z(X,{key:b.name},[b.kind==="group"?(m(),$(mu,{key:0,argument:b,instance:g.instance,modelValue:f(i)[b.name],"onUpdate:modelValue":w=>f(i)[b.name]=w},null,8,["argument","instance","modelValue","onUpdate:modelValue"])):(m(),$(fu,{key:1,modelValue:f(i)[b.name],"onUpdate:modelValue":w=>f(i)[b.name]=w,argument:b,instance:g.instance},null,8,["modelValue","onUpdate:modelValue","argument","instance"]))],64))),128))]),_:1})):T("",!0)]),_:1}),h(se),h(xe,{class:"d-flex py-0"},{default:v(()=>[h(Re),h(Z,{onClick:a},{default:v(()=>S[3]||(S[3]=[H("Cancel")])),_:1,__:[3]}),h(Z,{onClick:s,color:"primary"},{default:v(()=>S[4]||(S[4]=[H("Save")])),_:1,__:[4]})]),_:1})]),_:1},8,["color","title","subtitle"])]),_:1},8,["modelValue"]))}}),bu=ne(wu,[["__scopeId","data-v-e5373c2c"]]),ku=x({__name:"InstanceSecretEditor",props:le({instance:{},component:{},initialSecrets:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:le(["save"],["update:modelValue"]),setup(e,{emit:t}){const n=me(e,"modelValue"),o=fo(Yo(e.initialSecrets,e.component.secrets)),i=t,a=async()=>{n.value=!1,await ze(),Object.assign(o,e.initialSecrets)},r=async()=>{const s=Wo(o,e.component.secrets),l={},d=[];for(const u in s)s[u]!==e.initialSecrets[u]&&(l[u]=s[u]);for(const u in e.initialSecrets)u in s||d.push(u);i("save",e.instance.id,l,d),await ze(),n.value=!1};return(s,l)=>(m(),$(Ci,{modelValue:n.value,"onUpdate:modelValue":l[0]||(l[0]=d=>n.value=d),contained:"",opacity:1,width:"100%",height:"100%",class:"nowheel nodrag",transition:!1,style:{"border-radius":"6px"}},{default:v(()=>[h(Oe,{height:"100%",variant:"flat",color:s.component.meta.color??"#2d2d2d"},{default:v(()=>[h(Pe,{class:"d-flex flex-column ga-2 px-2 py-2",style:{height:"calc(100% - 53px)",overflow:"scroll"}},{default:v(()=>[(m(!0),z(X,null,oe(s.component.secrets,(d,u)=>(m(),$(It,{key:u,modelValue:f(o)[u],"onUpdate:modelValue":c=>f(o)[u]=c,name:u,arg:d,instance:s.instance,"is-secret":""},null,8,["modelValue","onUpdate:modelValue","name","arg","instance"]))),128))]),_:1}),h(se),h(xe,{class:"d-flex py-0"},{default:v(()=>[l[3]||(l[3]=q("div",{class:"text-overline text-disabled"},"editing secrets",-1)),h(Re),h(Z,{size:"small",variant:"tonal",class:"toolbar-button",color:"error",onClick:a},{default:v(()=>[h(J,null,{default:v(()=>l[1]||(l[1]=[H("mdi-cancel")])),_:1,__:[1]})]),_:1}),h(Z,{size:"small",variant:"tonal",class:"toolbar-button",color:"success",onClick:r},{default:v(()=>[h(J,null,{default:v(()=>l[2]||(l[2]=[H("mdi-check")])),_:1,__:[2]})]),_:1})]),_:1,__:[3]})]),_:1},8,["color"])]),_:1},8,["modelValue"]))}}),Su=ne(ku,[["__scopeId","data-v-a2374731"]]);function Cu(e,t){return Array.isArray(e)?e.length===0?"[]":"[...]":typeof e=="object"?"{...}":typeof e=="string"&&t.language?"...":String(e)}const $u={class:"d-flex text-disabled text-start text-no-wrap"},Iu={key:0,class:"d-flex ml-auto text-error"},Vu={key:1,class:"d-flex ml-auto text-truncate pl-4"},Mu=x({__name:"InstanceNodeArgumentList",props:{instance:{},component:{}},setup(e){const t=A(()=>{const n=[];for(const[o,i]of Object.entries(e.component.args))!i.required&&e.instance.args?.[o]==null||n.push({name:i.meta.title,value:Cu(e.instance.args?.[o],i.schema),requiredAndNotSet:i.required&&e.instance.args?.[o]==null});return n});return(n,o)=>f(t).length>0?(m(),z(X,{key:0},[h(se),h(Pe,{class:"d-flex flex-column gap-2 px-2 py-2"},{default:v(()=>[(m(!0),z(X,null,oe(f(t),({name:i,value:a,requiredAndNotSet:r})=>(m(),z("div",{key:i,class:"d-flex flex-row"},[q("div",$u,Y(i),1),r?(m(),z("div",Iu,"not set")):(m(),z("div",Vu,Y(a),1))]))),128))]),_:1})],64)):T("",!0)}}),Nu=x({__name:"InstanceStatusFieldItem",props:{item:{}},setup(e){const{copy:t,copied:n}=Jn(),o=A(()=>n.value?"mdi-check":"mdi-content-copy");return(i,a)=>(m(),$(rn,{title:i.item},{append:v(()=>[h(Z,{size:"small",variant:"text",class:"copy-button ml-1",onClick:a[0]||(a[0]=r=>f(t)(i.item))},{default:v(()=>[h(J,{size:16},{default:v(()=>[H(Y(f(o)),1)]),_:1})]),_:1})]),_:1},8,["title"]))}}),Au=ne(Nu,[["__scopeId","data-v-29a13fa6"]]),Ou={class:"d-flex flex-row"},Eu={class:"d-flex text-disabled text-start text-no-wrap text-secondary"},Tu=["title"],zu=x({__name:"InstanceStatusField",props:{statusField:{}},setup(e){const t=A(()=>Array.isArray(e.statusField.value)?e.statusField.value.join(", "):String(e.statusField.value)),n=A(()=>Array.isArray(e.statusField.value)?e.statusField.value.length===0?"[]":e.statusField.value.length===1?e.statusField.value[0]:`${e.statusField.value.length} items`:String(e.statusField.value)),o=A(()=>Array.isArray(e.statusField.value)?e.statusField.value.length>1:!1);return(i,a)=>(m(),z("div",Ou,[q("div",Eu,[i.statusField.meta.icon?(m(),$(f(Vt),{key:0,icon:i.statusField.meta.icon,color:i.statusField.meta.iconColor,width:16,class:"mr-1"},null,8,["icon","color"])):T("",!0),H(" "+Y(i.statusField.meta.title),1)]),h(At,{"open-on-hover":"","close-on-content-click":!1,location:"end",disabled:!f(o)},{activator:v(({props:r})=>[q("div",Ke(r,{class:"d-flex ml-auto text-truncate pl-4",title:f(o)?"":f(t)}),[q("span",{class:$e(["text-truncate",{underline:f(o)}])},Y(f(n)),3)],16,Tu)]),default:v(()=>[h(dn,{density:"compact",variant:"text"},{default:v(()=>[(m(!0),z(X,null,oe(i.statusField.value,(r,s)=>(m(),$(Au,{key:s,item:r},null,8,["item"]))),128))]),_:1})]),_:1},8,["disabled"]),h(f(mo),{content:f(t)},null,8,["content"])]))}}),Ru=ne(zu,[["__scopeId","data-v-b06ef300"]]),Bu=x({__name:"InstanceStatusFieldList",props:{instance:{},state:{}},setup(e){const t=A(()=>e.state.extra?.statusFields?.filter(n=>n.value===void 0?!1:n.complementaryTo?!e.instance.args?.[n.complementaryTo]||JSON.stringify(e.instance.args[n.complementaryTo])!==JSON.stringify(n.value):!0)??[]);return(n,o)=>f(t).length>0?(m(),z(X,{key:0},[h(se),h(Pe,{class:"d-flex flex-column gap-2 px-2 py-2"},{default:v(()=>[(m(!0),z(X,null,oe(f(t),i=>(m(),$(Ru,{key:i.name,"status-field":i},null,8,["status-field"]))),128))]),_:1})],64)):T("",!0)}});function Pu(e){return e.operationStatus?.status==="pending"?"":e.operationStatus?.status==="destroying"?"error":"primary"}const Du=x({__name:"InstanceNodeActions",props:{component:{},state:{},locked:{type:Boolean},editable:{type:Boolean},loadingSecrets:{type:Boolean},loadingTerminal:{type:Boolean},loadingPage:{type:Boolean}},emits:["open:args","open:secrets","open:terminal","open:page","open:composite","operation:launch","operation:cancel"],setup(e,{emit:t}){const n=A(()=>qt(e.component)&&Object.keys(e.component.secrets).length>0),o=A(()=>e.state.operationStatus&&an(e.state.operationStatus.status)),i=A(()=>e.state.evaluationStatus&&e.state.evaluationStatus.status==="evaluating"),a=A(()=>i.value||e.state.operationStatus?.status==="pending"||e.state.operationStatus?.totalResourceCount===0),r=A(()=>{if(!e.state.operationStatus)return 0;const{currentResourceCount:u,totalResourceCount:c}=e.state.operationStatus;return u&&c?u/c*100:0}),s=A(()=>e.state.extra?.terminalIds&&Object.keys(e.state.extra.terminalIds).length>0),l=A(()=>e.state.extra?.pageIds&&Object.keys(e.state.extra.pageIds).length>0),d=t;return(u,c)=>(m(),$(xe,{class:"py-0 h-auto"},{default:v(()=>[te(u.$slots,"status",{},()=>[h(Je,{color:""},{default:v(()=>[h(f(Yt),{size:20,icon:"mdi-circle-outline"})]),_:1})],!0),h(Re),u.state.operationStatus?f(o)?T("",!0):(m(),$(Z,{key:1,size:"small",variant:"tonal",class:"toolbar-button",title:"Update",disabled:u.locked,onClick:c[1]||(c[1]=p=>d("operation:launch","update"))},{default:v(()=>[h(J,null,{default:v(()=>c[9]||(c[9]=[H("mdi-play")])),_:1,__:[9]})]),_:1},8,["disabled"])):(m(),$(Z,{key:0,size:"small",variant:"tonal",class:"toolbar-button",title:"Create",disabled:u.locked,onClick:c[0]||(c[0]=p=>d("operation:launch","update"))},{default:v(()=>[h(J,null,{default:v(()=>c[8]||(c[8]=[H("mdi-rocket-launch")])),_:1,__:[8]})]),_:1},8,["disabled"])),f(o)?(m(),$(Z,{key:2,size:"small",variant:"tonal",color:"error",class:"toolbar-button",title:"Cancel Operation",onClick:c[2]||(c[2]=p=>d("operation:cancel"))},{default:v(()=>[h(J,null,{default:v(()=>c[10]||(c[10]=[H("mdi-cancel")])),_:1,__:[10]})]),_:1})):T("",!0),f(o)?T("",!0):(m(),$(Z,{key:3,size:"small",variant:"tonal",class:"toolbar-button",title:"Edit Arguments",locked:u.locked,onClick:c[3]||(c[3]=p=>d("open:args"))},{default:v(()=>[h(J,null,{default:v(()=>c[11]||(c[11]=[H("mdi-pencil")])),_:1,__:[11]})]),_:1},8,["locked"])),!f(o)&&f(n)&&u.editable?(m(),$(Z,{key:4,size:"small",variant:"tonal",class:"toolbar-button",loading:u.loadingSecrets,locked:u.locked,title:"Edit Secrets",onClick:c[4]||(c[4]=p=>d("open:secrets"))},{default:v(()=>[h(J,null,{default:v(()=>c[12]||(c[12]=[H("mdi-key")])),_:1,__:[12]})]),_:1},8,["loading","locked"])):T("",!0),f(s)?(m(),$(Z,{key:5,size:"small",variant:"tonal",class:"toolbar-button",loading:u.loadingTerminal,title:"Open Terminal",onClick:c[5]||(c[5]=p=>d("open:terminal"))},{default:v(()=>[h(J,null,{default:v(()=>c[13]||(c[13]=[H("mdi-console")])),_:1,__:[13]})]),_:1},8,["loading"])):T("",!0),f(l)?(m(),$(Z,{key:6,size:"small",variant:"tonal",class:"toolbar-button",title:"Open Page",loading:u.loadingPage,onClick:c[6]||(c[6]=p=>d("open:page"))},{default:v(()=>[h(J,null,{default:v(()=>c[14]||(c[14]=[H("mdi-file-document")])),_:1,__:[14]})]),_:1},8,["loading"])):T("",!0),f(qt)(u.component)?T("",!0):(m(),$(Z,{key:7,size:"small",variant:"tonal",class:"toolbar-button",title:"Show Structure",onClick:c[7]||(c[7]=p=>d("open:composite"))},{default:v(()=>[h(J,null,{default:v(()=>c[15]||(c[15]=[H("mdi-cube-outline")])),_:1,__:[15]})]),_:1})),f(i)||f(o)?(m(),$(ro,{key:8,size:"small",color:("getInstanceProgressBarColor"in u?u.getInstanceProgressBarColor:f(Pu))(u.state),indeterminate:f(a),"model-value":f(r),absolute:"",location:"bottom"},null,8,["color","indeterminate","model-value"])):T("",!0)]),_:3}))}}),Lu=ne(Du,[["__scopeId","data-v-350b8dbb"]]),Fu={key:0,class:"text-h6"},Hu={key:1},xu=x({__name:"InstanceNodeLockBadge",props:{instanceLock:{}},setup(e){return(t,n)=>(m(),$($i,{disabled:!t.instanceLock.meta.title&&!t.instanceLock.meta.description},{activator:v(({props:o})=>[h(Je,De(qe(o)),{default:v(()=>[h(J,null,{default:v(()=>n[0]||(n[0]=[H("mdi-lock")])),_:1,__:[0]}),t.instanceLock.meta.icon?(m(),$(f(Vt),{key:0,class:"ml-1",icon:t.instanceLock.meta.icon,width:18,color:t.instanceLock.meta.iconColor},null,8,["icon","color"])):T("",!0)]),_:2},1040)]),default:v(()=>[t.instanceLock.meta.title?(m(),z("div",Fu,Y(t.instanceLock.meta.title),1)):T("",!0),t.instanceLock.meta.description?(m(),z("div",Hu,Y(t.instanceLock.meta.description),1)):T("",!0)]),_:1},8,["disabled"]))}}),Uu=x({__name:"InstanceNodeIOSideHandle",props:{name:{},side:{},handleColor:{},isValidConnection:{type:Function}},setup(e){return(t,n)=>(m(),z(X,null,[h(f(eo),{id:t.name,type:t.side==="left"?"target":"source",position:t.side==="left"?f(yt).Left:f(yt).Right,class:$e(["handle",[t.side==="left"?"left-handle":"right-handle"]]),"is-valid-connection":t.isValidConnection},null,8,["id","type","position","class","is-valid-connection"]),q("div",{class:$e(["handle-dot",[t.side==="left"?"handle-dot-left":"handle-dot-right"]]),style:ye({backgroundColor:t.handleColor})},null,6)],64))}}),Kn=ne(Uu,[["__scopeId","data-v-ab40094a"]]);function _u(e){const t=e.replace("#",""),n=parseInt(t.substring(0,2),16),o=parseInt(t.substring(2,2),16),i=parseInt(t.substring(4,2),16);return(n*299+o*587+i*114)/1e3>=128?"#000":"#fff"}const Xu={ref:"column",class:"d-flex flex-column gr-2 column"},qu=x({__name:"InstanceNodeIOSide",props:{instance:{},component:{},entities:{},type:{},side:{},isValidConnection:{type:Function},resolvedInputs:{},resolvedInjectionInput:{},usedOutputs:{},forceShowAllHandles:{type:Boolean},preventShowAllHandles:{type:Boolean}},setup(e){const t=(l,d)=>{const u=e.component[l][d];return e.entities[u.type]?.meta.color??"#607D8B"},n=(l,d)=>_u(t(l,d)),o=l=>{const d=e.instance.inputs&&!!e.instance.inputs[l]&&e.instance.inputs[l].length>0,u=e.instance.hubInputs&&!!e.instance.hubInputs[l]&&e.instance.hubInputs[l].length>0;return d||u},i=l=>e.component.inputs[l].required?!e.resolvedInputs?.[l]?.length:!1,a=nt("column"),{isOutside:r}=oo(a),s=A(()=>e.forceShowAllHandles||!r.value&&!e.preventShowAllHandles);return(l,d)=>(m(),z("div",Xu,[l.type==="inputs"&&l.side==="left"&&Object.keys(l.component.inputs).length>0&&(l.resolvedInjectionInput&&l.resolvedInjectionInput.length>0||f(s))?(m(),$(Je,{key:0,style:{backgroundColor:"blue",color:"white"},"text-color":"white",class:"rounded handle-chip"},{default:v(()=>[H(Y(l.resolvedInjectionInput?.length??0)+" input(s) ",1),h(Kn,{name:"",side:l.side,"is-valid-connection":l.isValidConnection,"handle-color":"blue"},null,8,["side","is-valid-connection"])]),_:1})):T("",!0),(m(!0),z(X,null,oe(l.component[l.type],(u,c)=>(m(),z(X,{key:c},[l.side==="right"&&l.type==="inputs"||l.type==="outputs"&&(!l.usedOutputs||l.usedOutputs.has(c))||l.type==="inputs"&&(o(c)||i(c))||f(s)?(m(),$(Je,{key:0,style:ye({backgroundColor:t(l.type,c),color:n(l.type,c)}),"text-color":"white",class:"rounded handle-chip"},{default:v(()=>[H(Y(u.meta.title)+" ",1),h(Kn,{name:c,side:l.side,"is-valid-connection":l.isValidConnection,"handle-color":t(l.type,c)},null,8,["name","side","is-valid-connection","handle-color"])]),_:2},1032,["style"])):T("",!0)],64))),128))],512))}}),ct=ne(qu,[["__scopeId","data-v-d79742df"]]),Yu=x({__name:"InstanceNodeIO",props:{instance:{},component:{},entities:{},type:{default:"both"},mirror:{type:Boolean},isValidConnection:{type:Function},usedOutputs:{},resolvedInputs:{},resolvedInjectionInput:{},forceShowAllHandles:{type:Boolean},preventShowAllHandles:{type:Boolean}},setup(e){return(t,n)=>(m(),$(xe,{class:"align-start align-stretch component-node-io"},{default:v(()=>[t.mirror?(m(),z(X,{key:1},[t.type==="both"||t.type==="outputs"?(m(),$(ct,{key:0,instance:t.instance,component:t.component,entities:t.entities,"is-valid-connection":t.isValidConnection,type:"outputs","used-outputs":t.usedOutputs,side:"left","force-show-all-handles":t.forceShowAllHandles,"prevent-show-all-handles":t.preventShowAllHandles},null,8,["instance","component","entities","is-valid-connection","used-outputs","force-show-all-handles","prevent-show-all-handles"])):T("",!0),h(Re),t.type==="both"||t.type==="inputs"?(m(),$(ct,{key:1,instance:t.instance,component:t.component,entities:t.entities,"is-valid-connection":t.isValidConnection,type:"inputs",side:"right","resolved-inputs":t.resolvedInputs,"force-show-all-handles":t.forceShowAllHandles,"prevent-show-all-handles":t.preventShowAllHandles},null,8,["instance","component","entities","is-valid-connection","resolved-inputs","force-show-all-handles","prevent-show-all-handles"])):T("",!0)],64)):(m(),z(X,{key:0},[t.type==="both"||t.type==="inputs"?(m(),$(ct,{key:0,instance:t.instance,component:t.component,entities:t.entities,"is-valid-connection":t.isValidConnection,type:"inputs","resolved-inputs":t.resolvedInputs,"resolved-injection-input":t.resolvedInjectionInput,"force-show-all-handles":t.forceShowAllHandles,"prevent-show-all-handles":t.preventShowAllHandles,side:"left"},null,8,["instance","component","entities","is-valid-connection","resolved-inputs","resolved-injection-input","force-show-all-handles","prevent-show-all-handles"])):T("",!0),h(Re),t.type==="both"||t.type==="outputs"?(m(),$(ct,{key:1,instance:t.instance,component:t.component,entities:t.entities,"is-valid-connection":t.isValidConnection,type:"outputs","used-outputs":t.usedOutputs,side:"right","force-show-all-handles":t.forceShowAllHandles,"prevent-show-all-handles":t.preventShowAllHandles},null,8,["instance","component","entities","is-valid-connection","used-outputs","force-show-all-handles","prevent-show-all-handles"])):T("",!0)],64))]),_:1}))}}),Wu=ne(Yu,[["__scopeId","data-v-917ac605"]]),ju=x({__name:"InstanceNode",props:le({instance:{},component:{},entities:{},inputResolverOutputs:{},inputResolverDependentMap:{},allInstances:{default:()=>new Map},state:{},instanceLock:{},loadingSecrets:{type:Boolean},loadingTerminal:{type:Boolean},loadingPage:{type:Boolean},initialSecrets:{},editable:{type:Boolean,default:!1},ioType:{default:"both"},ioMirror:{type:Boolean},hideShowComposite:{type:Boolean},isValidConnection:{type:Function}},{editingSecrets:{type:Boolean},editingSecretsModifiers:{}}),emits:le(["open:secrets","open:terminal","open:page","open:composite","operation:launch","operation:cancel","save:args","save:secrets","contextmenu"],["update:editingSecrets"]),setup(e,{emit:t}){const n=t,o=me(e,"editingSecrets"),i=_(!1),a=A(()=>Object.keys(e.component.inputs).length>0),r=A(()=>Object.keys(e.component.outputs).length>0),s=A(()=>a.value||r.value),l=A(()=>Zn(e.inputResolverOutputs,e.instance.id)),d=A(()=>Qn(e.inputResolverOutputs,e.instance.id).map(w=>w.input)),u=A(()=>{const w=Sn(e.inputResolverOutputs,e.instance.id)??{},k=Object.values(w).flat(),I=new Set,B=e.inputResolverDependentMap.get(`instance:${e.instance.id}`)??[],L=D=>{(D.input.instanceId===e.instance.id||k.some(P=>P.instanceId===D.input.instanceId))&&I.add(D.input.output)};for(const D of B){const P=e.inputResolverOutputs.get(D);if(P)if(P.kind==="instance")for(const N of Object.values(P.resolvedInputs))for(const F of N)L(F);else for(const N of P.resolvedInputs)L(N)}if(e.instance.parentId){const D=Sn(e.inputResolverOutputs,e.instance.parentId)??{};for(const P of Object.values(D).flat())P.instanceId===e.instance.id&&I.add(P.output)}return I}),{vueFlowStore:c,selection:p}=Nt(),g=on(),S=A(()=>to(g.node,c)),b=A(()=>c.connectionStartHandle.value?.nodeId===g.node.id);return(w,k)=>(m(),$(f(Bi),{component:w.component,subtitle:w.instance.name,"blueprint-status":S.value,selected:f(p).isNodeSelected(f(g).node),style:{overflow:"visible"},onContextmenu:k[11]||(k[11]=I=>n("contextmenu",I))},{append:v(()=>[w.instanceLock?(m(),$(xu,{key:0,"instance-lock":w.instanceLock},null,8,["instance-lock"])):T("",!0)]),default:v(()=>[te(w.$slots,"default"),f(i)?(m(),$(f(bu),{key:0,modelValue:f(i),"onUpdate:modelValue":k[0]||(k[0]=I=>Q(i)?i.value=I:null),instance:w.instance,component:w.component,state:w.state,allInstances:w.allInstances,onSave:k[1]||(k[1]=(I,B,L)=>n("save:args",I,B,L))},null,8,["modelValue","instance","component","state","allInstances"])):T("",!0),w.editable&&f(qt)(w.component)&&o.value?(m(),$(f(Su),{key:1,modelValue:o.value,"onUpdate:modelValue":k[2]||(k[2]=I=>o.value=I),instance:w.instance,component:w.component,"initial-secrets":w.initialSecrets??{},onSave:k[3]||(k[3]=(I,B,L)=>n("save:secrets",I,B,L))},null,8,["modelValue","instance","component","initial-secrets"])):T("",!0),h(Mu,{instance:w.instance,component:w.component},null,8,["instance","component"]),s.value?(m(),z(X,{key:2},[h(se),h(Wu,{component:w.component,instance:w.instance,entities:w.entities,"is-valid-connection":w.isValidConnection,type:w.ioType,mirror:w.ioMirror,"used-outputs":u.value,"resolved-inputs":l.value,"resolved-injection-input":d.value,"force-show-all-handles":b.value,"prevent-show-all-handles":f(i)||o.value||!w.editable},null,8,["component","instance","entities","is-valid-connection","type","mirror","used-outputs","resolved-inputs","resolved-injection-input","force-show-all-handles","prevent-show-all-handles"])],64)):T("",!0),h(Bu,{instance:w.instance,state:w.state??{id:w.instance.id}},null,8,["instance","state"]),h(se),h(Lu,{"loading-secrets":w.loadingSecrets,"loading-terminal":w.loadingTerminal,"loading-page":w.loadingPage,instance:w.instance,component:w.component,state:w.state??{id:w.instance.id},locked:!!w.instanceLock,editable:w.editable,"onOpen:args":k[4]||(k[4]=I=>i.value=!0),"onOpen:secrets":k[5]||(k[5]=I=>n("open:secrets")),"onOpen:terminal":k[6]||(k[6]=I=>n("open:terminal")),"onOpen:page":k[7]||(k[7]=I=>n("open:page")),"onOpen:composite":k[8]||(k[8]=I=>n("open:composite")),"onOperation:launch":k[9]||(k[9]=I=>n("operation:launch",I)),"onOperation:cancel":k[10]||(k[10]=I=>n("operation:cancel"))},{status:v(()=>[te(w.$slots,"status")]),_:3},8,["loading-secrets","loading-terminal","loading-page","instance","component","state","locked","editable"])]),_:3},8,["component","subtitle","blueprint-status","selected"]))}}),Gu={error:"alert-circle-outline",healthy:"heart",degraded:"heart-flash",down:"heart-broken",warning:"alert-octagon-outline",progressing:"progress-clock"},Ku={error:"error",degraded:"warning",down:"error",healthy:"success",warning:"warning",progressing:"warning"},Ju={created:"check-circle-outline",error:"alert-circle-outline",cancelling:"stop-circle-outline",pending:"clock-outline",destroying:"trash-can-outline","processing-triggers":"flash",previewing:"eye-outline",refreshing:"refresh",updating:"sync"},Zu={created:"success",error:"error",cancelling:"warning",pending:"",destroying:"error","processing-triggers":"primary",previewing:"info",refreshing:"info",updating:"primary"},Qu={error:"alert-circle-outline",evaluated:"check-circle-outline",evaluating:"cogs"},ec={error:"error",evaluated:"success",evaluating:"primary"};function tc(){return{name:"not-created",type:"status",status:"not created",title:"Operation",message:"Instance is not created yet",icon:"circle-outline",color:"",important:!1,order:5}}function nc(e,t){return e.status==="created"&&t&&e.inputHash!==t?{name:"operation",type:"status",title:"Operation",status:"changed",message:"The configuration of this instance or one of its dependencies has changed since the last operation.",icon:"not-equal-variant",color:"warning",important:!0,order:5}:{name:"operation",type:"status",title:"Operation",status:e.status,message:e.message??"",icon:Ju[e.status],color:Zu[e.status],important:e.status!=="created",order:5,progress:an(e.status)&&e.status!=="pending"&&e.currentResourceCount&&e.totalResourceCount?Math.round(e.currentResourceCount/e.totalResourceCount*100):void 0}}function oc(){return{name:"logs",type:"logs",title:"Operation Logs",icon:"file-document-outline",color:"primary",important:!1,order:10}}function ic(e){return{name:"evaluation",type:"status",status:e.status,title:"Evaluation",message:e.message??"",icon:Qu[e.status],color:ec[e.status],important:e.status==="error",order:15}}function ac(e){return e.status==="ok"?{name:"validation",type:"status",status:"ok",title:"Validation",message:"Instance is valid",icon:"check-circle-outline",color:"success",important:!1,order:20}:{name:"validation",type:"status",title:"Validation",status:"error",message:e.errorText,icon:"alert-circle-outline",color:"error",important:!0,order:20}}function rc(e){return{name:e.name,type:"status",status:e.status,title:e.title,message:e.message??"",icon:Gu[e.status]??"information-outline",customIcon:e.icon,color:e.color??Ku[e.status]??"primary",important:e.status===si.Error,order:e.order??50}}function sc(e,t,n){const o=[];if(e.operationStatus?(o.push(nc(e.operationStatus,t)),o.push(oc())):o.push(tc()),e.evaluationStatus&&o.push(ic(e.evaluationStatus)),n&&o.push(ac(n)),e.extra?.customStatuses)for(const i of e.extra.customStatuses)o.push(rc(i));return o.sort((i,a)=>i.order-a.order)}const lc=x({__name:"InstanceStatusLogsTab",props:le({instanceId:{},status:{}},{loaded:{type:Boolean,default:!1},loadedModifiers:{},lineCount:{default:0},lineCountModifiers:{}}),emits:["update:loaded","update:lineCount"],setup(e){const t=me(e,"loaded"),n=me(e,"lineCount"),{projectStore:o}=Ae(),{$client:i}=Ii();let a=null;const r=l=>{const d=l.split(`
21
+ `);for(const u of d)a.writeln(u),n.value+=1};if(an(e.status.status)){const{unsubscribe:l}=i.logs.watchInstanceLogs.subscribe({instanceId:e.instanceId,operationId:e.status.latestOperationId},{onData:d=>{a&&r(d[1])}});ln(l)}const s=async l=>{a=l;const d=await i.logs.getInstanceLogs.query({projectId:o.projectId,instanceId:e.instanceId,operationId:e.status.latestOperationId});for(const u of d)r(u);t.value=!0};return(l,d)=>(m(),$(f(po),{class:"mt-2 mb-2",columns:80,rows:24,onLoad:s}))}}),uc={key:0,class:"ml-1"},cc={class:"d-flex flex-column"},dc=x({__name:"InstanceStatusBadge",props:{state:{},expectedInputHash:{},validationOutput:{}},setup(e){const t=A(()=>sc(e.state,e.expectedInputHash,e.validationOutput)),n=A(()=>t.value.find(u=>u.important)??t.value[0]),o=_(n.value.name),i=_(!1);ve(()=>n.value.name,u=>{i.value||(o.value=u)},{immediate:!0});const a=u=>u.startsWith("#")?{}:{[`text-${u}`]:!0},r=u=>u.startsWith("#")?{color:u}:{},s=_(0),l=_(!1),d=A(()=>{if(!l.value)return"not loaded";switch(s.value){case 0:return"No logs";case 1:return"1 line";default:return`${s.value} lines`}});return ve(()=>e.state.operationStatus?.latestOperationId,()=>{s.value=0,l.value=!1},{immediate:!0}),(u,c)=>(m(),$(At,{modelValue:f(i),"onUpdate:modelValue":c[3]||(c[3]=p=>Q(i)?i.value=p:null),"open-on-hover":"","close-on-content-click":!1,location:"end"},{activator:v(({props:p})=>[h(Je,Ke(p,{color:f(n).color}),{default:v(()=>[h(f(Yt),{size:20,icon:`mdi-${f(n).icon}`,"custom-icon":f(n).customIcon},null,8,["icon","custom-icon"]),f(n).progress?(m(),z("div",uc,Y(f(n).progress)+"%",1)):T("",!0)]),_:2},1040,["color"])]),default:v(()=>[h(Vi,{color:"black"},{default:v(()=>[h(Mi,{modelValue:f(o),"onUpdate:modelValue":c[2]||(c[2]=p=>Q(o)?o.value=p:null),items:f(t)},{tab:v(({item:p})=>[h(Ai,{value:p.name},{default:v(()=>[h(f(Yt),{size:22,icon:`mdi-${p.icon}`,"custom-icon":p.customIcon,color:p.color,class:"mr-2"},null,8,["icon","custom-icon","color"]),q("div",cc,[q("div",{class:$e(["font-weight-bold",a(p.color)]),style:ye(r(p.color))},Y(p.title),7),q("div",{class:$e(["text-caption font-weight-bold text-start",a(p.color)]),style:ye(r(p.color))},Y(p.type==="status"?p.status:f(d)),7)])]),_:2},1032,["value"])]),item:v(({item:p})=>[h(Ni,{value:p.name},{default:v(()=>[p.type==="status"?(m(),$(f(po),{key:0,class:"mt-2 mb-2",columns:80,rows:24,content:p.message},null,8,["content"])):(m(),$(lc,{key:u.state.operationStatus.latestOperationId,"instance-id":u.state.id,status:u.state.operationStatus,"onUpdate:loaded":c[0]||(c[0]=g=>l.value=g),"onUpdate:lineCount":c[1]||(c[1]=g=>s.value=g)},null,8,["instance-id","status"]))]),_:2},1032,["value"])]),_:1},8,["modelValue","items"])]),_:1})]),_:1},8,["modelValue"]))}}),fc=x({__name:"InstanceOperationDialog",props:le({instance:{},component:{},operation:{}},{visible:{type:Boolean},visibleModifiers:{}}),emits:["update:visible"],setup(e){const t=me(e,"visible"),{instancesStore:n,stateStore:o,operationsStore:i,libraryStore:a}=Ae(),r=_(!1),s=_(!0),l=_(!1),d=_(!1),u=_(!1),c=_(!1),p=_(!1),g=_(!1);ve(A(()=>e.operation),()=>{r.value=e.operation==="destroy"});const S=A(()=>e.operation!=="destroy"&&e.operation!=="recreate"?[]:r.value?Fi(o.dependentMap,e.instance.id):[]),b=A(()=>{switch(e.operation){case"update":return"Update";case"preview":return"Preview";case"refresh":return"Refresh";case"destroy":return"Destroy";case"recreate":return"Recreate";default:return"Unknown operation"}}),w=A(()=>S.value.length===0?b.value:`${b.value} ${S.value.length+1} instances`),k=A(()=>{switch(e.operation){case"update":return"primary";case"preview":return"secondary";case"refresh":return"info";case"destroy":return"error";case"recreate":return"warning";default:return"primary"}}),I=_(!1),B=async()=>{I.value=!0;try{await i.launchInstanceOperation(e.operation,e.instance,{destroyDependentInstances:r.value,invokeDestroyTriggers:s.value,deleteUnreachableResources:l.value,forceDeleteState:d.value,refresh:u.value,allowPartialCompositeInstanceUpdates:c.value,forceUpdateChildren:p.value,forceUpdateDependencies:g.value}),t.value=!1}finally{I.value=!1}},L=A(()=>`${b.value} ${e.component.meta.title} "${e.instance.name}"`),D=P=>{const N=n.instances.get(P);if(!N)return P;const F=a.library.components[N.type];return F?`${F.meta.title} "${N.name}"`:P};return(P,N)=>(m(),$(cn,{modelValue:t.value,"onUpdate:modelValue":N[9]||(N[9]=F=>t.value=F),"max-width":"600px"},{default:v(()=>[h(Oe,{title:f(L),color:"#2d2d2d"},{default:v(()=>[h(Pe,null,{default:v(()=>[q("div",null,"Are you sure you want to "+Y(P.operation)+" this instance and its resources?",1),h(ke,{modelValue:f(r),"onUpdate:modelValue":N[0]||(N[0]=F=>Q(r)?r.value=F:null),class:"mt-2",label:"Destroy dependent instances",density:"compact","hide-details":""},null,8,["modelValue"]),h(ke,{modelValue:f(s),"onUpdate:modelValue":N[1]||(N[1]=F=>Q(s)?s.value=F:null),label:"Invoke destroy triggers",density:"compact","hide-details":""},null,8,["modelValue"]),h(ke,{modelValue:f(l),"onUpdate:modelValue":N[2]||(N[2]=F=>Q(l)?l.value=F:null),label:"Delete unreachable resources",density:"compact","hide-details":""},null,8,["modelValue"]),h(ke,{modelValue:f(u),"onUpdate:modelValue":N[3]||(N[3]=F=>Q(u)?u.value=F:null),label:"Refresh state before operation",density:"compact","hide-details":""},null,8,["modelValue"]),P.operation==="destroy"?(m(),$(ke,{key:0,modelValue:f(d),"onUpdate:modelValue":N[4]||(N[4]=F=>Q(d)?d.value=F:null),label:"Force delete state",density:"compact","hide-details":""},null,8,["modelValue"])):T("",!0),h(ke,{modelValue:f(c),"onUpdate:modelValue":N[5]||(N[5]=F=>Q(c)?c.value=F:null),label:"Allow partial updates of composite instances",density:"compact","hide-details":""},null,8,["modelValue"]),P.operation==="update"?(m(),$(ke,{key:1,modelValue:f(p),"onUpdate:modelValue":N[6]||(N[6]=F=>Q(p)?p.value=F:null),label:"Force update children instances",density:"compact","hide-details":""},null,8,["modelValue"])):T("",!0),P.operation==="update"?(m(),$(ke,{key:2,modelValue:f(g),"onUpdate:modelValue":N[7]||(N[7]=F=>Q(g)?g.value=F:null),label:"Force update dependencies",density:"compact","hide-details":""},null,8,["modelValue"])):T("",!0),(P.operation==="destroy"||P.operation==="recreate")&&f(r)&&f(S).length>0?(m(),$(ft,{key:3,density:"compact",type:"warning",variant:"outlined",class:"mt-4"},{default:v(()=>[N[10]||(N[10]=q("div",null,"Destroying this instance will also destroy the following dependent instances:",-1)),(m(!0),z(X,null,oe(f(S),F=>(m(),z("div",{key:F}," • "+Y(D(F)),1))),128))]),_:1,__:[10]})):T("",!0),f(l)?(m(),$(ft,{key:4,density:"compact",type:"warning",variant:"outlined",class:"mt-4"},{default:v(()=>N[11]||(N[11]=[H(" All resources that will be not reachable at the moment of the destroy operation will be removed from the state. Only use when you are sure that these resources do not actually exist! ")])),_:1,__:[11]})):T("",!0),f(d)?(m(),$(ft,{key:5,density:"compact",type:"warning",variant:"outlined",class:"mt-4"},{default:v(()=>N[12]||(N[12]=[H(" This will delete the stack state and all resources in it even if the destroy operation was failed. Use only when the stack is unrecoverable and you want to start from scratch. ")])),_:1,__:[12]})):T("",!0)]),_:1}),h(xe,null,{default:v(()=>[h(Re),h(Z,{onClick:N[8]||(N[8]=F=>t.value=!1)},{default:v(()=>N[13]||(N[13]=[H("Cancel")])),_:1,__:[13]}),h(Z,{color:f(k),loading:f(I),onClick:B},{default:v(()=>[H(Y(f(w)),1)]),_:1},8,["color","loading"])]),_:1})]),_:1},8,["title"])]),_:1},8,["modelValue"]))}}),pc=x({__name:"DeleteInstanceStateDialog",props:le({instance:{},component:{}},{visible:{type:Boolean},visibleModifiers:{}}),emits:["update:visible"],setup(e){const t=me(e,"visible"),{stateStore:n}=Ae(),o=_(!1),i=async()=>{o.value=!0;try{await n.deleteInstanceState(e.instance.id),t.value=!1}finally{o.value=!1}},a=A(()=>`Delete state of ${e.component.meta.title} "${e.instance.name}"`);return(r,s)=>(m(),$(cn,{modelValue:t.value,"onUpdate:modelValue":s[1]||(s[1]=l=>t.value=l),"max-width":"600px"},{default:v(()=>[h(Oe,{title:f(a),color:"#2d2d2d"},{default:v(()=>[h(Pe,null,{default:v(()=>[s[3]||(s[3]=q("div",null," Are you sure you want to force delete the state of this instance inluding Pulumi state? ",-1)),h(ft,{density:"compact",type:"warning",variant:"outlined",class:"mt-4"},{default:v(()=>s[2]||(s[2]=[q("div",null," No destroy operation will be performed, so all resources will be left in place and unreachable by HighState. ",-1),q("div",null," You should only use this operation when the instance is unreachable/unrecoverable and you want to start from scratch. ",-1)])),_:1,__:[2]})]),_:1,__:[3]}),h(xe,null,{default:v(()=>[h(Re),h(Z,{onClick:s[0]||(s[0]=l=>t.value=!1)},{default:v(()=>s[4]||(s[4]=[H("Cancel")])),_:1,__:[4]}),h(Z,{loading:f(o),onClick:i},{default:v(()=>s[5]||(s[5]=[H("Delete State")])),_:1,__:[5]},8,["loading"])]),_:1})]),_:1},8,["title"])]),_:1},8,["modelValue"]))}}),mc={class:"session-list-cointainer"},hc=x({__name:"TerminalListSubmenu",props:le({instanceId:{},terminalIds:{}},{visible:{type:Boolean},visibleModifiers:{}}),emits:["update:visible"],setup(e){const{instancesStore:t,stateStore:n}=Ae(),{state:o,execute:i,isLoading:a}=n.getTerminalsState(A(()=>e.terminalIds)),{state:r,execute:s,isLoading:l}=t.getTerminalSessionsState(A(()=>e.instanceId)),d=me(e,"visible");ve(d,S=>{S&&(s(),i())});const u=S=>S.meta.finishedAt?`Finished at ${new Date(S.meta.finishedAt).toLocaleString()}`:`Started at ${new Date(S.meta.createdAt).toLocaleString()}`,c=S=>{const b=Oi();return S.meta.finishedAt?"#9E9E9E":b.current.value.colors.success},p=_(null),g=async S=>{p.value=S;try{await t.openTerminal(S,!0)}finally{p.value=null}};return(S,b)=>(m(),$(f(ce),{icon:"mdi-console",title:"Terminals"},{append:v(()=>[h(J,{icon:"mdi-menu-right",size:"x-small"})]),default:v(()=>[h(At,{modelValue:d.value,"onUpdate:modelValue":b[0]||(b[0]=w=>d.value=w),"open-on-focus":!1,"open-on-hover":"","close-on-content-click":!1,submenu:"",activator:"parent"},{default:v(()=>[h(dn,{density:"compact",variant:"text"},{default:v(()=>[h(Lt,{class:"text-overline"},{default:v(()=>b[1]||(b[1]=[H("Available Terminals")])),_:1,__:[1]}),(m(!0),z(X,null,oe(f(o),w=>(m(),$(f(ce),{key:w.id,disabled:!!f(p),title:w.meta.title,subtitle:w.meta.description,"custom-icon":w.meta.icon,loading:f(p)===w.id,icon:"mdi-console",onClick:k=>g(w.id)},null,8,["disabled","title","subtitle","custom-icon","loading","onClick"]))),128)),h(se,{class:"mt-2 mb-2"}),h(Lt,{class:"text-overline"},{default:v(()=>b[2]||(b[2]=[H("Sessions")])),_:1,__:[2]}),q("div",mc,[(m(!0),z(X,null,oe(f(r),w=>(m(),$(f(ce),{key:w.id,title:w.meta.title??w.id,subtitle:u(w),"custom-icon":w.meta.icon,icon:"mdi-console",color:c(w),onClick:k=>f(t).openTerminalSession(w)},null,8,["title","subtitle","custom-icon","color","onClick"]))),128))]),f(r).length===0?(m(),$(Lt,{key:0,class:"text-disabled"},{default:v(()=>b[3]||(b[3]=[H(" No sessions found ")])),_:1,__:[3]})):T("",!0)]),_:1})]),_:1},8,["modelValue"])]),_:1}))}}),vc=ne(hc,[["__scopeId","data-v-394bea00"]]),gc=x({__name:"InstanceContextMenu",props:{instance:{},component:{},state:{},stores:{},operation:{},locked:{type:Boolean},editable:{type:Boolean}},setup(e,{expose:t}){const{stateStore:n}=e.stores,o=_(!1),i=_(!1),a=_("update"),r=_(!1),s=u=>{a.value=u,i.value=!0,o.value=!1},l=nt("contextMenu");return t({showContextMenu:async u=>{l.value&&await l.value.showContextMenu(u)}}),(u,c)=>(m(),z(X,null,[h(f(jo),{ref_key:"contextMenu",ref:l,visible:f(o),"onUpdate:visible":c[8]||(c[8]=p=>Q(o)?o.value=p:null),title:"Instance",subtitle:u.instance.id,"is-deletable":p=>u.stores.stateStore.isNodeDeletable(p)},{default:v(()=>[u.state.operationStatus?(m(),z(X,{key:1},[h(f(ce),{title:"Update",icon:"mdi-play",color:"primary",disabled:u.locked,onClick:c[1]||(c[1]=p=>s("update"))},null,8,["disabled"]),h(f(ce),{title:"Refresh",icon:"mdi-reload",color:"primary",disabled:u.locked,onClick:c[2]||(c[2]=p=>s("refresh"))},null,8,["disabled"])],64)):(m(),$(f(ce),{key:0,title:"Create",icon:"mdi-rocket-launch",color:"primary",onClick:c[0]||(c[0]=p=>s("update"))})),h(f(ce),{title:"Preview",icon:"mdi-eye",color:"secondary",disabled:u.locked,onClick:c[3]||(c[3]=p=>s("preview"))},null,8,["disabled"]),u.state.operationStatus?(m(),z(X,{key:2},[h(se),h(f(ce),{title:"Open Logs",icon:"mdi-text",color:"primary",onClick:c[4]||(c[4]=p=>f(n).openInstanceLogs(u.instance))})],64)):T("",!0),Object.keys(u.state.extra?.terminalIds??{}).length>0?(m(),z(X,{key:3},[h(se),h(vc,{"instance-id":u.instance.id,"terminal-ids":Object.values(u.state.extra?.terminalIds??{})},null,8,["instance-id","terminal-ids"])],64)):T("",!0),u.state.operationStatus?(m(),z(X,{key:4},[h(se),h(f(ce),{title:"Recreate",icon:"mdi-restart",color:"warning",disabled:u.locked,onClick:c[5]||(c[5]=p=>s("recreate"))},null,8,["disabled"]),h(f(ce),{title:"Destroy",icon:"mdi-stop",color:"error",disabled:u.locked,onClick:c[6]||(c[6]=p=>s("destroy"))},null,8,["disabled"]),h(f(ce),{title:"Delete State",icon:"mdi-delete-forever",color:"error",disabled:u.locked,onClick:c[7]||(c[7]=p=>r.value=!0)},null,8,["disabled"])],64)):T("",!0)]),_:1},8,["visible","subtitle","is-deletable"]),h(fc,{visible:f(i),"onUpdate:visible":c[9]||(c[9]=p=>Q(i)?i.value=p:null),operation:f(a),instance:u.instance,component:u.component},null,8,["visible","operation","instance","component"]),h(pc,{visible:f(r),"onUpdate:visible":c[10]||(c[10]=p=>Q(r)?r.value=p:null),instance:u.instance,component:u.component},null,8,["visible","instance","component"])],64))}}),Mc=x({__name:"InstanceNodeWrapper",props:{id:{},type:{},selected:{type:Boolean},connectable:{type:[Boolean,Number,String,Function]},position:{},dimensions:{},label:{},isValidTargetPos:{type:Function},isValidSourcePos:{type:Function},parent:{},parentNodeId:{},dragging:{type:Boolean},resizing:{type:Boolean},zIndex:{},targetPosition:{},sourcePosition:{},dragHandle:{},data:{},events:{}},setup(e){const t=Ae(),n=li(),{projectStore:o,stateStore:i,instancesStore:a,libraryStore:r,operationsStore:s,validationStore:l}=t,d=A(()=>e.data.instance),u=A(()=>r.library.components[d.value.type]),c=A(()=>i.getInstanceState(d.value.id)),p=A(()=>i.instanceLocks.get(d.value.id));_(!1),_(!1),_(),_([]);const g=_(!1),S=_(!1),b=_({}),w=_(!1),k=async()=>{w.value=!0;try{await a.openTerminal(Object.values(c.value.extra.terminalIds)[0])}finally{w.value=!1}},I=async()=>{S.value=!0;try{const D=await t.stateStore.getInstanceSecrets(e.data.instance);b.value={...D},g.value=!0}finally{S.value=!1}},B=nt("contextMenu"),L=Mt();return(D,P)=>(m(),$(ju,{"editing-secrets":f(g),"onUpdate:editingSecrets":P[0]||(P[0]=N=>Q(g)?g.value=N:null),"loading-secrets":f(S),"initial-secrets":f(b),instance:D.data.instance,component:f(u),entities:f(r).library.entities,"input-resolver-outputs":f(a).inputResolverOutputs,"input-resolver-dependent-map":f(a).inputResolverDependentMap,"is-valid-connection":N=>("validateConnection"in D?D.validateConnection:f(ui))(f(L),f(r).library,N),"instance-lock":f(p),state:f(c),editable:D.data.editable,stores:("markRaw"in D?D.markRaw:f(Ei))(f(t)),"workspace-store":f(n),"all-instances":f(a).instances,"onSave:args":P[1]||(P[1]=(N,F,ae)=>f(a).updateInstance(N,F,ae)),"onSave:secrets":P[2]||(P[2]=(N,F,ae)=>f(i).updateInstanceSecrets(N,F,ae)),"onOpen:secrets":I,"onOpen:terminal":k,"onOperation:launch":P[3]||(P[3]=N=>f(s).launchInstanceOperation(N,D.data.instance)),"onOperation:cancel":P[4]||(P[4]=N=>f(s).cancelInstanceOperation(f(c).operationStatus.latestOperationId,D.data.instance.id)),onContextmenu:P[5]||(P[5]=N=>f(B)?.showContextMenu(N)),"onOpen:composite":P[6]||(P[6]=N=>f(n).openCompositeInstancePanel(f(o).projectId,D.data.instance.id))},{status:v(()=>[h(f(dc),{state:f(c),"expected-input-hash":f(i).inputHashOutputs.get(f(d).id)?.inputHash,"validation-output":f(l).validationOutputs.get(f(d).id)},null,8,["state","expected-input-hash","validation-output"])]),default:v(()=>[h(f(gc),{ref_key:"contextMenu",ref:B,stores:f(t),instance:f(d),component:f(u),state:f(c),editable:D.data.editable,locked:!!f(p)},null,8,["stores","instance","component","state","editable","locked"])]),_:1},8,["editing-secrets","loading-secrets","initial-secrets","instance","component","entities","input-resolver-outputs","input-resolver-dependent-map","is-valid-connection","instance-lock","state","editable","stores","workspace-store","all-instances"]))}}),jo=x({__name:"NodeContextMenu",props:le({title:{},subtitle:{},isDeletable:{type:Function}},{visible:{type:Boolean,default:!1},visibleModifiers:{}}),emits:["update:visible"],setup(e,{expose:t}){const{selection:n,vueFlowStore:o,deleteNodes:i}=Nt(),a=me(e,"visible"),r=_(0),s=_(0),l=on(),d=nt("contextMenu"),{isOutside:u}=oo(d),c=async w=>{w.preventDefault(),a.value=!1,r.value=w.clientX,s.value=w.clientY,await ze(),a.value=!0},p=()=>{u.value&&(a.value=!1)};un(()=>{window.addEventListener("mousedown",p)});const{off:g}=o.onViewportChange(()=>{a.value=!1});ln(()=>{window.removeEventListener("mousedown",p),g(),a.value=!1}),t({showContextMenu:c});const S=A(()=>e.isDeletable(l.node)?n.selectedNodeIds.has(l.id)?Array.from(n.selectedNodes).filter(e.isDeletable):[l.node]:[]),b=A(()=>S.value.length===1?"Delete":`Delete selected (${S.value.length})`);return(w,k)=>(m(),$(At,{modelValue:a.value,"onUpdate:modelValue":k[1]||(k[1]=I=>a.value=I),target:[f(r),f(s)],location:"end","close-on-content-click":!1},{default:v(()=>[h(dn,{ref_key:"contextMenu",ref:d,density:"compact",variant:"text",style:{"padding-bottom":"0"}},{default:v(()=>[h(rn,{class:"mb-2"},{default:v(()=>[h(io,null,{default:v(()=>[H(Y(w.title),1)]),_:1}),h(ao,{class:"d-flex align-center"},{default:v(()=>[H(Y(w.subtitle)+" ",1),h(mo,{content:w.subtitle},null,8,["content"])]),_:1})]),_:1}),w.$slots.default?(m(),z(X,{key:0},[h(se),te(w.$slots,"default")],64)):T("",!0),f(S).length>0?(m(),z(X,{key:1},[h(se),h(ce,{title:f(b),icon:"mdi-delete",color:"error",onClick:k[0]||(k[0]=I=>f(i)(f(S)))},null,8,["title"])],64)):T("",!0)]),_:3},512)]),_:3},8,["modelValue","target"]))}});export{Vc as G,Wu as I,$c as _,Cc as a,Ic as b,Mc as c,ju as d,gc as e,dc as f};
@@ -0,0 +1 @@
1
+ const e=Object.freeze(JSON.parse(`{"displayName":"PureScript","fileTypes":["purs"],"name":"purescript","patterns":[{"include":"#module_declaration"},{"include":"#module_import"},{"include":"#type_synonym_declaration"},{"include":"#data_type_declaration"},{"include":"#typeclass_declaration"},{"include":"#instance_declaration"},{"include":"#derive_declaration"},{"include":"#infix_op_declaration"},{"include":"#foreign_import_data"},{"include":"#foreign_import"},{"include":"#function_type_declaration"},{"include":"#typed_hole"},{"include":"#keywords_orphan"},{"include":"#control_keywords"},{"include":"#function_infix"},{"include":"#data_ctor"},{"include":"#infix_op"},{"include":"#constants_numeric_decimal"},{"include":"#constant_numeric"},{"include":"#constant_boolean"},{"include":"#string_triple_quoted"},{"include":"#string_single_quoted"},{"include":"#string_double_quoted"},{"include":"#markup_newline"},{"include":"#double_colon_parens"},{"include":"#double_colon_inlined"},{"include":"#double_colon_orphan"},{"include":"#comments"},{"match":"<-|->","name":"keyword.other.arrow.purescript"},{"match":"[[\\\\p{S}\\\\p{P}]&&[^]\\"'(),;\\\\[_\`{}]]+","name":"keyword.operator.purescript"},{"match":",","name":"punctuation.separator.comma.purescript"}],"repository":{"block_comment":{"patterns":[{"applyEndPatternLast":1,"begin":"\\\\{-\\\\s*\\\\|","beginCaptures":{"0":{"name":"punctuation.definition.comment.documentation.purescript"}},"end":"-}","endCaptures":{"0":{"name":"punctuation.definition.comment.documentation.purescript"}},"name":"comment.block.documentation.purescript","patterns":[{"include":"#block_comment"}]},{"applyEndPatternLast":1,"begin":"\\\\{-","beginCaptures":{"0":{"name":"punctuation.definition.comment.purescript"}},"end":"-}","name":"comment.block.purescript","patterns":[{"include":"#block_comment"}]}]},"characters":{"patterns":[{"captures":{"1":{"name":"constant.character.escape.purescript"},"2":{"name":"constant.character.escape.octal.purescript"},"3":{"name":"constant.character.escape.hexadecimal.purescript"},"4":{"name":"constant.character.escape.control.purescript"}},"match":"[ -\\\\[\\\\]-~]|(\\\\\\\\(?:NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[\\"\\\\&'\\\\\\\\abfnrtv]))|(\\\\\\\\o[0-7]+)|(\\\\\\\\x\\\\h+)|(\\\\^[@-_])"}]},"class_constraint":{"patterns":[{"captures":{"1":{"patterns":[{"match":"\\\\b[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*","name":"entity.name.type.purescript"}]},"2":{"patterns":[{"include":"#type_name"},{"include":"#generic_type"}]}},"match":"([\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*)\\\\s+(?<classConstraint>(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*|(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*\\\\.)?[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)(?:\\\\s*\\\\s+\\\\s*(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*|(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*\\\\.)?[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*))*)","name":"meta.class-constraint.purescript"}]},"comments":{"patterns":[{"begin":"(^[\\\\t ]+)?(?=--+)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.purescript"}},"end":"(?!\\\\G)","patterns":[{"begin":"--","beginCaptures":{"0":{"name":"punctuation.definition.comment.purescript"}},"end":"\\\\n","name":"comment.line.double-dash.purescript"}]},{"include":"#block_comment"}]},"constant_boolean":{"patterns":[{"match":"\\\\b(true|false)(?!')\\\\b","name":"constant.language.boolean.purescript"}]},"constant_numeric":{"patterns":[{"match":"\\\\b(([0-9]+_?)*[0-9]+|0([Xx]\\\\h+|[Oo][0-7]+))\\\\b","name":"constant.numeric.purescript"}]},"constants_numeric_decimal":{"patterns":[{"captures":{"0":{"name":"constant.numeric.decimal.purescript"},"1":{"name":"meta.delimiter.decimal.period.purescript"},"2":{"name":"meta.delimiter.decimal.period.purescript"},"3":{"name":"meta.delimiter.decimal.period.purescript"},"4":{"name":"meta.delimiter.decimal.period.purescript"},"5":{"name":"meta.delimiter.decimal.period.purescript"},"6":{"name":"meta.delimiter.decimal.period.purescript"}},"match":"(?<!\\\\$)\\\\b(?:[0-9]+(\\\\.)[0-9]+[Ee][-+]?[0-9]+\\\\b|[0-9]+[Ee][-+]?[0-9]+\\\\b|[0-9]+(\\\\.)[0-9]+\\\\b|[0-9]+\\\\b(?!\\\\.))(?!\\\\$)","name":"constant.numeric.decimal.purescript"}]},"control_keywords":{"patterns":[{"match":"\\\\b(do|ado|if|then|else|case|of|let|in)(?!('|\\\\s*([:=])))\\\\b","name":"keyword.control.purescript"}]},"data_ctor":{"patterns":[{"match":"\\\\b[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*","name":"entity.name.tag.purescript"}]},"data_type_declaration":{"patterns":[{"begin":"^(\\\\s)*(data|newtype)\\\\s+(.+?)\\\\s*(?==|$)","beginCaptures":{"2":{"name":"storage.type.data.purescript"},"3":{"name":"meta.type-signature.purescript","patterns":[{"include":"#type_signature"}]}},"end":"^(?!\\\\1[\\\\t ]|[\\\\t ]*$)","name":"meta.declaration.type.data.purescript","patterns":[{"include":"#comments"},{"captures":{"2":{"patterns":[{"include":"#data_ctor"}]}},"match":"(?<=([=|])\\\\s*)([\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)"},{"captures":{"0":{"name":"keyword.operator.pipe.purescript"}},"match":"\\\\|"},{"include":"#record_types"},{"include":"#type_signature"}]}]},"derive_declaration":{"patterns":[{"begin":"^\\\\s*\\\\b(derive)(\\\\s+newtype)?(\\\\s+instance)?(?!')\\\\b","beginCaptures":{"1":{"name":"keyword.other.purescript"},"2":{"name":"keyword.other.purescript"},"3":{"name":"keyword.other.purescript"},"4":{"name":"keyword.other.purescript"}},"contentName":"meta.type-signature.purescript","end":"^(?=\\\\S)","endCaptures":{"1":{"name":"keyword.other.purescript"}},"name":"meta.declaration.derive.purescript","patterns":[{"include":"#type_signature"}]}]},"double_colon":{"patterns":[{"match":"::|∷","name":"keyword.other.double-colon.purescript"}]},"double_colon_inlined":{"patterns":[{"patterns":[{"captures":{"1":{"name":"keyword.other.double-colon.purescript"},"2":{"name":"meta.type-signature.purescript","patterns":[{"include":"#type_signature"}]}},"match":"(::|∷)(.*)(?=<-|\\"\\"\\")"}]},{"patterns":[{"captures":{"1":{"name":"keyword.other.double-colon.purescript"},"2":{"name":"meta.type-signature.purescript","patterns":[{"include":"#type_signature"}]}},"match":"(::|∷)(.*)"}]}]},"double_colon_orphan":{"patterns":[{"begin":"(\\\\s*)(::|∷)(\\\\s*)$","beginCaptures":{"2":{"name":"keyword.other.double-colon.purescript"}},"end":"^(?!\\\\1[\\\\t ]*|[\\\\t ]*$)","patterns":[{"include":"#type_signature"}]}]},"double_colon_parens":{"patterns":[{"captures":{"1":{"patterns":[{"include":"$self"}]},"2":{"name":"keyword.other.double-colon.purescript"},"3":{"name":"meta.type-signature.purescript","patterns":[{"include":"#type_signature"}]}},"match":"\\\\((?<paren>(?:[^()]|\\\\(\\\\g<paren>\\\\))*)(::|∷)(?<paren2>(?:[^()]|\\\\(\\\\g<paren2>\\\\))*)\\\\)"}]},"foreign_import":{"patterns":[{"begin":"^(\\\\s*)(foreign)\\\\s+(import)\\\\s+([_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)","beginCaptures":{"2":{"name":"keyword.other.purescript"},"3":{"name":"keyword.other.purescript"},"4":{"name":"entity.name.function.purescript"}},"contentName":"meta.type-signature.purescript","end":"^(?!\\\\1[\\\\t ]|[\\\\t ]*$)","name":"meta.foreign.purescript","patterns":[{"include":"#double_colon"},{"include":"#type_signature"},{"include":"#record_types"}]}]},"foreign_import_data":{"patterns":[{"begin":"^(\\\\s*)(foreign)\\\\s+(import)\\\\s+(data)(?:\\\\s+([\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)\\\\s*(::|∷))?","beginCaptures":{"2":{"name":"keyword.other.purescript"},"3":{"name":"keyword.other.purescript"},"4":{"name":"keyword.other.purescript"},"5":{"name":"entity.name.type.purescript"},"6":{"name":"keyword.other.double-colon.purescript"}},"contentName":"meta.kind-signature.purescript","end":"^(?!\\\\1[\\\\t ]|[\\\\t ]*$)","name":"meta.foreign.data.purescript","patterns":[{"include":"#comments"},{"include":"#type_signature"},{"include":"#record_types"}]}]},"function_infix":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.entity.purescript"},"2":{"name":"punctuation.definition.entity.purescript"}},"match":"(\`)(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*\\\\.)?[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(\`)","name":"keyword.operator.function.infix.purescript"}]},"function_type_declaration":{"patterns":[{"begin":"^(\\\\s*)([_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)\\\\s*(::|∷)(?!.*<-)","beginCaptures":{"2":{"name":"entity.name.function.purescript"},"3":{"name":"keyword.other.double-colon.purescript"}},"contentName":"meta.type-signature.purescript","end":"^(?!\\\\1[\\\\t ]|[\\\\t ]*$)","name":"meta.function.type-declaration.purescript","patterns":[{"include":"#double_colon"},{"include":"#type_signature"},{"include":"#record_types"},{"include":"#row_types"}]}]},"generic_type":{"patterns":[{"match":"\\\\b(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*\\\\.)?[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*","name":"variable.other.generic-type.purescript"}]},"infix_op":{"patterns":[{"match":"\\\\((?!--+\\\\))[[\\\\p{S}\\\\p{P}]&&[^]\\"'(),;\\\\[_\`{}]]+\\\\)","name":"entity.name.function.infix.purescript"}]},"infix_op_declaration":{"patterns":[{"begin":"^\\\\b(infix[lr|]?)(?!')\\\\b","beginCaptures":{"1":{"name":"keyword.other.purescript"}},"end":"$()","name":"meta.infix.declaration.purescript","patterns":[{"include":"#comments"},{"include":"#data_ctor"},{"match":"\\\\d+","name":"constant.numeric.purescript"},{"captures":{"1":{"name":"keyword.other.purescript"}},"match":"([[\\\\p{S}\\\\p{P}]&&[^]\\"'(),;\\\\[_\`{}]]+)"},{"captures":{"1":{"name":"keyword.other.purescript"},"2":{"name":"entity.name.type.purescript"}},"match":"\\\\b(type)\\\\s+([\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*)\\\\b"},{"captures":{"1":{"name":"keyword.other.purescript"}},"match":"\\\\b(as|type)\\\\b"}]}]},"instance_declaration":{"patterns":[{"begin":"^\\\\s*\\\\b(else\\\\s+)?(newtype\\\\s+)?(instance)(?!')\\\\b","beginCaptures":{"1":{"name":"keyword.other.purescript"},"2":{"name":"keyword.other.purescript"},"3":{"name":"keyword.other.purescript"},"4":{"name":"keyword.other.purescript"}},"contentName":"meta.type-signature.purescript","end":"(\\\\bwhere\\\\b|(?=^\\\\S))","endCaptures":{"1":{"name":"keyword.other.purescript"}},"name":"meta.declaration.instance.purescript","patterns":[{"include":"#type_signature"}]}]},"keywords_orphan":{"patterns":[{"match":"^\\\\s*\\\\b(derive|where|data|type|newtype|foreign(\\\\s+import)?(\\\\s+data)?)(?!')\\\\b","name":"keyword.other.purescript"}]},"kind_signature":{"patterns":[{"match":"\\\\*","name":"keyword.other.star.purescript"},{"match":"!","name":"keyword.other.exclaimation-point.purescript"},{"match":"#","name":"keyword.other.pound-sign.purescript"},{"match":"->|→","name":"keyword.other.arrow.purescript"}]},"markup_newline":{"patterns":[{"match":"\\\\\\\\$","name":"markup.other.escape.newline.purescript"}]},"module_declaration":{"patterns":[{"begin":"^\\\\s*\\\\b(module)(?!')\\\\b","beginCaptures":{"1":{"name":"keyword.other.purescript"}},"end":"\\\\b(where)\\\\b","endCaptures":{"1":{"name":"keyword.other.purescript"}},"name":"meta.declaration.module.purescript","patterns":[{"include":"#comments"},{"include":"#module_name"},{"include":"#module_exports"},{"match":"[a-z]+","name":"invalid.purescript"}]}]},"module_exports":{"patterns":[{"begin":"\\\\(","end":"\\\\)","name":"meta.declaration.exports.purescript","patterns":[{"include":"#comments"},{"match":"\\\\b(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*\\\\.)?[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*","name":"entity.name.function.purescript"},{"include":"#type_name"},{"match":",","name":"punctuation.separator.comma.purescript"},{"include":"#infix_op"},{"match":"\\\\(.*?\\\\)","name":"meta.other.constructor-list.purescript"}]}]},"module_import":{"patterns":[{"begin":"^\\\\s*\\\\b(import)(?!')\\\\b","beginCaptures":{"1":{"name":"keyword.other.purescript"}},"end":"^(?=\\\\S)","name":"meta.import.purescript","patterns":[{"include":"#module_name"},{"include":"#string_double_quoted"},{"include":"#comments"},{"include":"#module_exports"},{"captures":{"1":{"name":"keyword.other.purescript"}},"match":"\\\\b(as|hiding)\\\\b"}]}]},"module_name":{"patterns":[{"match":"(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*\\\\.)*[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*\\\\.?","name":"support.other.module.purescript"}]},"record_field_declaration":{"patterns":[{"begin":"([ ,]\\"(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*|[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)\\"|[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)\\\\s*(::|∷)","beginCaptures":{"1":{"patterns":[{"match":"(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*\\\\.)?[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*","name":"entity.other.attribute-name.purescript"},{"match":"\\"([_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*|[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)\\"","name":"string.quoted.double.purescript"}]},"2":{"name":"keyword.other.double-colon.purescript"}},"contentName":"meta.type-signature.purescript","end":"(?=([ ,]\\"(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*|[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)\\"|[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)\\\\s*(::|∷)|}| \\\\)|^(?!\\\\1[\\\\t ]|[\\\\t ]*$))","name":"meta.record-field.type-declaration.purescript","patterns":[{"include":"#record_types"},{"include":"#type_signature"},{"include":"#comments"}]}]},"record_types":{"patterns":[{"begin":"\\\\{(?!-)","beginCaptures":{"0":{"name":"keyword.operator.type.record.begin.purescript"}},"end":"}","endCaptures":{"0":{"name":"keyword.operator.type.record.end.purescript"}},"name":"meta.type.record.purescript","patterns":[{"match":",","name":"punctuation.separator.comma.purescript"},{"include":"#comments"},{"include":"#record_field_declaration"},{"include":"#type_signature"}]}]},"row_types":{"patterns":[{"begin":"\\\\((?=\\\\s*([_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*|\\"[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*\\"|\\"[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*\\")\\\\s*(::|∷))","end":"(?=^\\\\S)","name":"meta.type.row.purescript","patterns":[{"match":",","name":"punctuation.separator.comma.purescript"},{"include":"#comments"},{"include":"#record_field_declaration"},{"include":"#type_signature"}]}]},"string_double_quoted":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.purescript"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.purescript"}},"name":"string.quoted.double.purescript","patterns":[{"include":"#characters"},{"begin":"\\\\\\\\\\\\s","beginCaptures":{"0":{"name":"markup.other.escape.newline.begin.purescript"}},"end":"\\\\\\\\","endCaptures":{"0":{"name":"markup.other.escape.newline.end.purescript"}},"patterns":[{"match":"\\\\S+","name":"invalid.illegal.character-not-allowed-here.purescript"}]}]}]},"string_single_quoted":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.string.begin.purescript"},"2":{"patterns":[{"include":"#characters"}]},"7":{"name":"punctuation.definition.string.end.purescript"}},"match":"(')([ -\\\\[\\\\]-~]|(\\\\\\\\(?:NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[\\"\\\\&'\\\\\\\\abfnrtv]))|(\\\\\\\\o[0-7]+)|(\\\\\\\\x\\\\h+)|(\\\\^[@-_]))(')","name":"string.quoted.single.purescript"}]},"string_triple_quoted":{"patterns":[{"begin":"\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.purescript"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.purescript"}},"name":"string.quoted.triple.purescript"}]},"type_kind_signature":{"patterns":[{"begin":"^(data|newtype)\\\\s+([\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)\\\\s*(::|∷)","beginCaptures":{"1":{"name":"storage.type.data.purescript"},"2":{"name":"meta.type-signature.purescript","patterns":[{"include":"#type_signature"}]},"3":{"name":"keyword.other.double-colon.purescript"}},"end":"(?=^\\\\S)","name":"meta.declaration.type.data.signature.purescript","patterns":[{"include":"#type_signature"},{"captures":{"0":{"name":"keyword.operator.assignment.purescript"}},"match":"="},{"captures":{"1":{"patterns":[{"include":"#data_ctor"}]},"2":{"name":"meta.type-signature.purescript","patterns":[{"include":"#type_signature"}]}},"match":"\\\\b([\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*)\\\\s+(?<ctorArgs>(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*|(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*\\\\.)?[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*|(?:(?:[]'(),\\\\[→⇒\\\\w]|->|=>)+\\\\s*)+)(?:\\\\s*\\\\s+\\\\s*(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*|(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*\\\\.)?[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*|(?:(?:[]'(),\\\\[→⇒\\\\w]|->|=>)+\\\\s*)+))*)?"},{"captures":{"0":{"name":"keyword.operator.pipe.purescript"}},"match":"\\\\|"},{"include":"#record_types"}]}]},"type_name":{"patterns":[{"match":"\\\\b[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*","name":"entity.name.type.purescript"}]},"type_signature":{"patterns":[{"include":"#record_types"},{"captures":{"1":{"patterns":[{"include":"#class_constraint"}]},"6":{"name":"keyword.other.big-arrow.purescript"}},"match":"\\\\((?<classConstraints>([\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*)\\\\s+(?<classConstraint>(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*|(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*\\\\.)?[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)(?:\\\\s*\\\\s+\\\\s*(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*|(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*\\\\.)?[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*))*)(?:\\\\s*,\\\\s*([\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*)\\\\s+(?<classConstraint>(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*|(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*\\\\.)?[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)(?:\\\\s*\\\\s+\\\\s*(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*|(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*\\\\.)?[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*))*))*)\\\\)\\\\s*(=>|<=|[⇐⇒])","name":"meta.class-constraints.purescript"},{"captures":{"1":{"patterns":[{"include":"#class_constraint"}]},"4":{"name":"keyword.other.big-arrow.purescript"}},"match":"(([\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*)\\\\s+(?<classConstraint>(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*|(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*\\\\.)?[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)(?:\\\\s*\\\\s+\\\\s*(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*|(?:[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?:\\\\.[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)*\\\\.)?[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*))*))\\\\s*(=>|<=|[⇐⇒])","name":"meta.class-constraints.purescript"},{"match":"(?<![[\\\\p{S}\\\\p{P}]&&[^]\\"'(),;\\\\[_\`{}]])(->|→)","name":"keyword.other.arrow.purescript"},{"match":"(?<![[\\\\p{S}\\\\p{P}]&&[^]\\"'(),;\\\\[_\`{}]])(=>|⇒)","name":"keyword.other.big-arrow.purescript"},{"match":"<=|⇐","name":"keyword.other.big-arrow-left.purescript"},{"match":"forall|∀","name":"keyword.other.forall.purescript"},{"include":"#string_double_quoted"},{"include":"#generic_type"},{"include":"#type_name"},{"include":"#comments"},{"match":"[[\\\\p{S}\\\\p{P}]&&[^]\\"'(),;\\\\[_\`{}]]+","name":"keyword.other.purescript"}]},"type_synonym_declaration":{"patterns":[{"begin":"^(\\\\s)*(type)\\\\s+(.+?)\\\\s*(?==|$)","beginCaptures":{"2":{"name":"storage.type.data.purescript"},"3":{"name":"meta.type-signature.purescript","patterns":[{"include":"#type_signature"}]}},"contentName":"meta.type-signature.purescript","end":"^(?!\\\\1[\\\\t ]|[\\\\t ]*$)","name":"meta.declaration.type.type.purescript","patterns":[{"captures":{"0":{"name":"keyword.operator.assignment.purescript"}},"match":"="},{"include":"#type_signature"},{"include":"#record_types"},{"include":"#row_types"},{"include":"#comments"}]}]},"typeclass_declaration":{"patterns":[{"begin":"^\\\\s*\\\\b(class)(?!')\\\\b","beginCaptures":{"1":{"name":"storage.type.class.purescript"}},"end":"(\\\\bwhere\\\\b|(?=^\\\\S))","endCaptures":{"1":{"name":"keyword.other.purescript"}},"name":"meta.declaration.typeclass.purescript","patterns":[{"include":"#type_signature"}]}]},"typed_hole":{"patterns":[{"match":"\\\\?(?:[_\\\\p{Ll}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*|[\\\\p{Lu}\\\\p{Lt}]['_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)","name":"entity.name.function.typed-hole.purescript"}]}},"scopeName":"source.purescript"}`)),t=[e];export{t as default};
@@ -0,0 +1 @@
1
+ const e=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#f78166","activityBar.background":"#0d1117","activityBar.border":"#30363d","activityBar.foreground":"#e6edf3","activityBar.inactiveForeground":"#7d8590","activityBarBadge.background":"#1f6feb","activityBarBadge.foreground":"#ffffff","badge.background":"#1f6feb","badge.foreground":"#ffffff","breadcrumb.activeSelectionForeground":"#7d8590","breadcrumb.focusForeground":"#e6edf3","breadcrumb.foreground":"#7d8590","breadcrumbPicker.background":"#161b22","button.background":"#238636","button.foreground":"#ffffff","button.hoverBackground":"#2ea043","button.secondaryBackground":"#282e33","button.secondaryForeground":"#c9d1d9","button.secondaryHoverBackground":"#30363d","checkbox.background":"#161b22","checkbox.border":"#30363d","debugConsole.errorForeground":"#ffa198","debugConsole.infoForeground":"#8b949e","debugConsole.sourceForeground":"#e3b341","debugConsole.warningForeground":"#d29922","debugConsoleInputIcon.foreground":"#bc8cff","debugIcon.breakpointForeground":"#f85149","debugTokenExpression.boolean":"#56d364","debugTokenExpression.error":"#ffa198","debugTokenExpression.name":"#79c0ff","debugTokenExpression.number":"#56d364","debugTokenExpression.string":"#a5d6ff","debugTokenExpression.value":"#a5d6ff","debugToolBar.background":"#161b22","descriptionForeground":"#7d8590","diffEditor.insertedLineBackground":"#23863626","diffEditor.insertedTextBackground":"#3fb9504d","diffEditor.removedLineBackground":"#da363326","diffEditor.removedTextBackground":"#ff7b724d","dropdown.background":"#161b22","dropdown.border":"#30363d","dropdown.foreground":"#e6edf3","dropdown.listBackground":"#161b22","editor.background":"#0d1117","editor.findMatchBackground":"#9e6a03","editor.findMatchHighlightBackground":"#f2cc6080","editor.focusedStackFrameHighlightBackground":"#2ea04366","editor.foldBackground":"#6e76811a","editor.foreground":"#e6edf3","editor.lineHighlightBackground":"#6e76811a","editor.linkedEditingBackground":"#2f81f712","editor.selectionHighlightBackground":"#3fb95040","editor.stackFrameHighlightBackground":"#bb800966","editor.wordHighlightBackground":"#6e768180","editor.wordHighlightBorder":"#6e768199","editor.wordHighlightStrongBackground":"#6e76814d","editor.wordHighlightStrongBorder":"#6e768199","editorBracketHighlight.foreground1":"#79c0ff","editorBracketHighlight.foreground2":"#56d364","editorBracketHighlight.foreground3":"#e3b341","editorBracketHighlight.foreground4":"#ffa198","editorBracketHighlight.foreground5":"#ff9bce","editorBracketHighlight.foreground6":"#d2a8ff","editorBracketHighlight.unexpectedBracket.foreground":"#7d8590","editorBracketMatch.background":"#3fb95040","editorBracketMatch.border":"#3fb95099","editorCursor.foreground":"#2f81f7","editorGroup.border":"#30363d","editorGroupHeader.tabsBackground":"#010409","editorGroupHeader.tabsBorder":"#30363d","editorGutter.addedBackground":"#2ea04366","editorGutter.deletedBackground":"#f8514966","editorGutter.modifiedBackground":"#bb800966","editorIndentGuide.activeBackground":"#e6edf33d","editorIndentGuide.background":"#e6edf31f","editorInlayHint.background":"#8b949e33","editorInlayHint.foreground":"#7d8590","editorInlayHint.paramBackground":"#8b949e33","editorInlayHint.paramForeground":"#7d8590","editorInlayHint.typeBackground":"#8b949e33","editorInlayHint.typeForeground":"#7d8590","editorLineNumber.activeForeground":"#e6edf3","editorLineNumber.foreground":"#6e7681","editorOverviewRuler.border":"#010409","editorWhitespace.foreground":"#484f58","editorWidget.background":"#161b22","errorForeground":"#f85149","focusBorder":"#1f6feb","foreground":"#e6edf3","gitDecoration.addedResourceForeground":"#3fb950","gitDecoration.conflictingResourceForeground":"#db6d28","gitDecoration.deletedResourceForeground":"#f85149","gitDecoration.ignoredResourceForeground":"#6e7681","gitDecoration.modifiedResourceForeground":"#d29922","gitDecoration.submoduleResourceForeground":"#7d8590","gitDecoration.untrackedResourceForeground":"#3fb950","icon.foreground":"#7d8590","input.background":"#0d1117","input.border":"#30363d","input.foreground":"#e6edf3","input.placeholderForeground":"#6e7681","keybindingLabel.foreground":"#e6edf3","list.activeSelectionBackground":"#6e768166","list.activeSelectionForeground":"#e6edf3","list.focusBackground":"#388bfd26","list.focusForeground":"#e6edf3","list.highlightForeground":"#2f81f7","list.hoverBackground":"#6e76811a","list.hoverForeground":"#e6edf3","list.inactiveFocusBackground":"#388bfd26","list.inactiveSelectionBackground":"#6e768166","list.inactiveSelectionForeground":"#e6edf3","minimapSlider.activeBackground":"#8b949e47","minimapSlider.background":"#8b949e33","minimapSlider.hoverBackground":"#8b949e3d","notificationCenterHeader.background":"#161b22","notificationCenterHeader.foreground":"#7d8590","notifications.background":"#161b22","notifications.border":"#30363d","notifications.foreground":"#e6edf3","notificationsErrorIcon.foreground":"#f85149","notificationsInfoIcon.foreground":"#2f81f7","notificationsWarningIcon.foreground":"#d29922","panel.background":"#010409","panel.border":"#30363d","panelInput.border":"#30363d","panelTitle.activeBorder":"#f78166","panelTitle.activeForeground":"#e6edf3","panelTitle.inactiveForeground":"#7d8590","peekViewEditor.background":"#6e76811a","peekViewEditor.matchHighlightBackground":"#bb800966","peekViewResult.background":"#0d1117","peekViewResult.matchHighlightBackground":"#bb800966","pickerGroup.border":"#30363d","pickerGroup.foreground":"#7d8590","progressBar.background":"#1f6feb","quickInput.background":"#161b22","quickInput.foreground":"#e6edf3","scrollbar.shadow":"#484f5833","scrollbarSlider.activeBackground":"#8b949e47","scrollbarSlider.background":"#8b949e33","scrollbarSlider.hoverBackground":"#8b949e3d","settings.headerForeground":"#e6edf3","settings.modifiedItemIndicator":"#bb800966","sideBar.background":"#010409","sideBar.border":"#30363d","sideBar.foreground":"#e6edf3","sideBarSectionHeader.background":"#010409","sideBarSectionHeader.border":"#30363d","sideBarSectionHeader.foreground":"#e6edf3","sideBarTitle.foreground":"#e6edf3","statusBar.background":"#0d1117","statusBar.border":"#30363d","statusBar.debuggingBackground":"#da3633","statusBar.debuggingForeground":"#ffffff","statusBar.focusBorder":"#1f6feb80","statusBar.foreground":"#7d8590","statusBar.noFolderBackground":"#0d1117","statusBarItem.activeBackground":"#e6edf31f","statusBarItem.focusBorder":"#1f6feb","statusBarItem.hoverBackground":"#e6edf314","statusBarItem.prominentBackground":"#6e768166","statusBarItem.remoteBackground":"#30363d","statusBarItem.remoteForeground":"#e6edf3","symbolIcon.arrayForeground":"#f0883e","symbolIcon.booleanForeground":"#58a6ff","symbolIcon.classForeground":"#f0883e","symbolIcon.colorForeground":"#79c0ff","symbolIcon.constantForeground":["#aff5b4","#7ee787","#56d364","#3fb950","#2ea043","#238636","#196c2e","#0f5323","#033a16","#04260f"],"symbolIcon.constructorForeground":"#d2a8ff","symbolIcon.enumeratorForeground":"#f0883e","symbolIcon.enumeratorMemberForeground":"#58a6ff","symbolIcon.eventForeground":"#6e7681","symbolIcon.fieldForeground":"#f0883e","symbolIcon.fileForeground":"#d29922","symbolIcon.folderForeground":"#d29922","symbolIcon.functionForeground":"#bc8cff","symbolIcon.interfaceForeground":"#f0883e","symbolIcon.keyForeground":"#58a6ff","symbolIcon.keywordForeground":"#ff7b72","symbolIcon.methodForeground":"#bc8cff","symbolIcon.moduleForeground":"#ff7b72","symbolIcon.namespaceForeground":"#ff7b72","symbolIcon.nullForeground":"#58a6ff","symbolIcon.numberForeground":"#3fb950","symbolIcon.objectForeground":"#f0883e","symbolIcon.operatorForeground":"#79c0ff","symbolIcon.packageForeground":"#f0883e","symbolIcon.propertyForeground":"#f0883e","symbolIcon.referenceForeground":"#58a6ff","symbolIcon.snippetForeground":"#58a6ff","symbolIcon.stringForeground":"#79c0ff","symbolIcon.structForeground":"#f0883e","symbolIcon.textForeground":"#79c0ff","symbolIcon.typeParameterForeground":"#79c0ff","symbolIcon.unitForeground":"#58a6ff","symbolIcon.variableForeground":"#f0883e","tab.activeBackground":"#0d1117","tab.activeBorder":"#0d1117","tab.activeBorderTop":"#f78166","tab.activeForeground":"#e6edf3","tab.border":"#30363d","tab.hoverBackground":"#0d1117","tab.inactiveBackground":"#010409","tab.inactiveForeground":"#7d8590","tab.unfocusedActiveBorder":"#0d1117","tab.unfocusedActiveBorderTop":"#30363d","tab.unfocusedHoverBackground":"#6e76811a","terminal.ansiBlack":"#484f58","terminal.ansiBlue":"#58a6ff","terminal.ansiBrightBlack":"#6e7681","terminal.ansiBrightBlue":"#79c0ff","terminal.ansiBrightCyan":"#56d4dd","terminal.ansiBrightGreen":"#56d364","terminal.ansiBrightMagenta":"#d2a8ff","terminal.ansiBrightRed":"#ffa198","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#e3b341","terminal.ansiCyan":"#39c5cf","terminal.ansiGreen":"#3fb950","terminal.ansiMagenta":"#bc8cff","terminal.ansiRed":"#ff7b72","terminal.ansiWhite":"#b1bac4","terminal.ansiYellow":"#d29922","terminal.foreground":"#e6edf3","textBlockQuote.background":"#010409","textBlockQuote.border":"#30363d","textCodeBlock.background":"#6e768166","textLink.activeForeground":"#2f81f7","textLink.foreground":"#2f81f7","textPreformat.background":"#6e768166","textPreformat.foreground":"#7d8590","textSeparator.foreground":"#21262d","titleBar.activeBackground":"#0d1117","titleBar.activeForeground":"#7d8590","titleBar.border":"#30363d","titleBar.inactiveBackground":"#010409","titleBar.inactiveForeground":"#7d8590","tree.indentGuidesStroke":"#21262d","welcomePage.buttonBackground":"#21262d","welcomePage.buttonHoverBackground":"#30363d"},"displayName":"GitHub Dark Default","name":"github-dark-default","semanticHighlighting":true,"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#8b949e"}},{"scope":["constant.other.placeholder","constant.character"],"settings":{"foreground":"#ff7b72"}},{"scope":["constant","entity.name.constant","variable.other.constant","variable.other.enummember","variable.language","entity"],"settings":{"foreground":"#79c0ff"}},{"scope":["entity.name","meta.export.default","meta.definition.variable"],"settings":{"foreground":"#ffa657"}},{"scope":["variable.parameter.function","meta.jsx.children","meta.block","meta.tag.attributes","entity.name.constant","meta.object.member","meta.embedded.expression"],"settings":{"foreground":"#e6edf3"}},{"scope":"entity.name.function","settings":{"foreground":"#d2a8ff"}},{"scope":["entity.name.tag","support.class.component"],"settings":{"foreground":"#7ee787"}},{"scope":"keyword","settings":{"foreground":"#ff7b72"}},{"scope":["storage","storage.type"],"settings":{"foreground":"#ff7b72"}},{"scope":["storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#e6edf3"}},{"scope":["string","string punctuation.section.embedded source"],"settings":{"foreground":"#a5d6ff"}},{"scope":"support","settings":{"foreground":"#79c0ff"}},{"scope":"meta.property-name","settings":{"foreground":"#79c0ff"}},{"scope":"variable","settings":{"foreground":"#ffa657"}},{"scope":"variable.other","settings":{"foreground":"#e6edf3"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#ffa198"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#ffa198"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#ffa198"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#ffa198"}},{"scope":"carriage-return","settings":{"background":"#ff7b72","content":"^M","fontStyle":"italic underline","foreground":"#f0f6fc"}},{"scope":"message.error","settings":{"foreground":"#ffa198"}},{"scope":"string variable","settings":{"foreground":"#79c0ff"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#a5d6ff"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#a5d6ff"}},{"scope":"string.regexp constant.character.escape","settings":{"fontStyle":"bold","foreground":"#7ee787"}},{"scope":"support.constant","settings":{"foreground":"#79c0ff"}},{"scope":"support.variable","settings":{"foreground":"#79c0ff"}},{"scope":"support.type.property-name.json","settings":{"foreground":"#7ee787"}},{"scope":"meta.module-reference","settings":{"foreground":"#79c0ff"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#ffa657"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#79c0ff"}},{"scope":"markup.quote","settings":{"foreground":"#7ee787"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#e6edf3"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#e6edf3"}},{"scope":["markup.underline"],"settings":{"fontStyle":"underline"}},{"scope":["markup.strikethrough"],"settings":{"fontStyle":"strikethrough"}},{"scope":"markup.inline.raw","settings":{"foreground":"#79c0ff"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#490202","foreground":"#ffa198"}},{"scope":["punctuation.section.embedded"],"settings":{"foreground":"#ff7b72"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#04260f","foreground":"#7ee787"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#5a1e02","foreground":"#ffa657"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#79c0ff","foreground":"#161b22"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#d2a8ff"}},{"scope":"meta.diff.header","settings":{"foreground":"#79c0ff"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#79c0ff"}},{"scope":"meta.output","settings":{"foreground":"#79c0ff"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#8b949e"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#ffa198"}},{"scope":["constant.other.reference.link","string.other.link"],"settings":{"foreground":"#a5d6ff"}}],"type":"dark"}'));export{e as default};
@@ -0,0 +1 @@
1
+ const e=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#e6b450b3","activityBar.background":"#0b0e14","activityBar.border":"#0b0e14","activityBar.foreground":"#565b66cc","activityBar.inactiveForeground":"#565b6699","activityBarBadge.background":"#e6b450","activityBarBadge.foreground":"#0b0e14","badge.background":"#e6b45033","badge.foreground":"#e6b450","button.background":"#e6b450","button.foreground":"#0b0e14","button.hoverBackground":"#e1af4b","button.secondaryBackground":"#565b6633","button.secondaryForeground":"#bfbdb6","button.secondaryHoverBackground":"#565b6680","debugConsoleInputIcon.foreground":"#e6b450","debugExceptionWidget.background":"#0f131a","debugExceptionWidget.border":"#11151c","debugIcon.breakpointDisabledForeground":"#f2966880","debugIcon.breakpointForeground":"#f29668","debugToolBar.background":"#0f131a","descriptionForeground":"#565b66","diffEditor.diagonalFill":"#11151c","diffEditor.insertedTextBackground":"#7fd9621f","diffEditor.removedTextBackground":"#f26d781f","dropdown.background":"#0d1017","dropdown.border":"#565b6645","dropdown.foreground":"#565b66","editor.background":"#0b0e14","editor.findMatchBackground":"#6c5980","editor.findMatchBorder":"#6c5980","editor.findMatchHighlightBackground":"#6c598066","editor.findMatchHighlightBorder":"#5f4c7266","editor.findRangeHighlightBackground":"#6c598040","editor.foreground":"#bfbdb6","editor.inactiveSelectionBackground":"#409fff21","editor.lineHighlightBackground":"#131721","editor.rangeHighlightBackground":"#6c598033","editor.selectionBackground":"#409fff4d","editor.selectionHighlightBackground":"#7fd96226","editor.selectionHighlightBorder":"#7fd96200","editor.snippetTabstopHighlightBackground":"#7fd96233","editor.wordHighlightBackground":"#73b8ff14","editor.wordHighlightBorder":"#73b8ff80","editor.wordHighlightStrongBackground":"#7fd96214","editor.wordHighlightStrongBorder":"#7fd96280","editorBracketMatch.background":"#6c73804d","editorBracketMatch.border":"#6c73804d","editorCodeLens.foreground":"#acb6bf8c","editorCursor.foreground":"#e6b450","editorError.foreground":"#d95757","editorGroup.background":"#0f131a","editorGroup.border":"#11151c","editorGroupHeader.noTabsBackground":"#0b0e14","editorGroupHeader.tabsBackground":"#0b0e14","editorGroupHeader.tabsBorder":"#0b0e14","editorGutter.addedBackground":"#7fd962cc","editorGutter.deletedBackground":"#f26d78cc","editorGutter.modifiedBackground":"#73b8ffcc","editorHoverWidget.background":"#0f131a","editorHoverWidget.border":"#11151c","editorIndentGuide.activeBackground":"#6c738080","editorIndentGuide.background":"#6c738033","editorLineNumber.activeForeground":"#6c7380e6","editorLineNumber.foreground":"#6c738099","editorLink.activeForeground":"#e6b450","editorMarkerNavigation.background":"#0f131a","editorOverviewRuler.addedForeground":"#7fd962","editorOverviewRuler.border":"#11151c","editorOverviewRuler.bracketMatchForeground":"#6c7380b3","editorOverviewRuler.deletedForeground":"#f26d78","editorOverviewRuler.errorForeground":"#d95757","editorOverviewRuler.findMatchForeground":"#6c5980","editorOverviewRuler.modifiedForeground":"#73b8ff","editorOverviewRuler.warningForeground":"#e6b450","editorOverviewRuler.wordHighlightForeground":"#73b8ff66","editorOverviewRuler.wordHighlightStrongForeground":"#7fd96266","editorRuler.foreground":"#6c738033","editorSuggestWidget.background":"#0f131a","editorSuggestWidget.border":"#11151c","editorSuggestWidget.highlightForeground":"#e6b450","editorSuggestWidget.selectedBackground":"#47526640","editorWarning.foreground":"#e6b450","editorWhitespace.foreground":"#6c738099","editorWidget.background":"#0f131a","editorWidget.border":"#11151c","errorForeground":"#d95757","extensionButton.prominentBackground":"#e6b450","extensionButton.prominentForeground":"#0d1017","extensionButton.prominentHoverBackground":"#e1af4b","focusBorder":"#e6b450b3","foreground":"#565b66","gitDecoration.conflictingResourceForeground":"","gitDecoration.deletedResourceForeground":"#f26d78b3","gitDecoration.ignoredResourceForeground":"#565b6680","gitDecoration.modifiedResourceForeground":"#73b8ffb3","gitDecoration.submoduleResourceForeground":"#d2a6ffb3","gitDecoration.untrackedResourceForeground":"#7fd962b3","icon.foreground":"#565b66","input.background":"#0d1017","input.border":"#565b6645","input.foreground":"#bfbdb6","input.placeholderForeground":"#565b6680","inputOption.activeBackground":"#e6b45033","inputOption.activeBorder":"#e6b4504d","inputOption.activeForeground":"#e6b450","inputValidation.errorBackground":"#0d1017","inputValidation.errorBorder":"#d95757","inputValidation.infoBackground":"#0b0e14","inputValidation.infoBorder":"#39bae6","inputValidation.warningBackground":"#0b0e14","inputValidation.warningBorder":"#ffb454","keybindingLabel.background":"#565b661a","keybindingLabel.border":"#bfbdb61a","keybindingLabel.bottomBorder":"#bfbdb61a","keybindingLabel.foreground":"#bfbdb6","list.activeSelectionBackground":"#47526640","list.activeSelectionForeground":"#bfbdb6","list.deemphasizedForeground":"#d95757","list.errorForeground":"#d95757","list.filterMatchBackground":"#5f4c7266","list.filterMatchBorder":"#6c598066","list.focusBackground":"#47526640","list.focusForeground":"#bfbdb6","list.focusOutline":"#47526640","list.highlightForeground":"#e6b450","list.hoverBackground":"#47526640","list.inactiveSelectionBackground":"#47526633","list.inactiveSelectionForeground":"#565b66","list.invalidItemForeground":"#565b664d","listFilterWidget.background":"#0f131a","listFilterWidget.noMatchesOutline":"#d95757","listFilterWidget.outline":"#e6b450","minimap.background":"#0b0e14","minimap.errorHighlight":"#d95757","minimap.findMatchHighlight":"#6c5980","minimap.selectionHighlight":"#409fff4d","minimapGutter.addedBackground":"#7fd962","minimapGutter.deletedBackground":"#f26d78","minimapGutter.modifiedBackground":"#73b8ff","panel.background":"#0b0e14","panel.border":"#11151c","panelTitle.activeBorder":"#e6b450","panelTitle.activeForeground":"#bfbdb6","panelTitle.inactiveForeground":"#565b66","peekView.border":"#47526640","peekViewEditor.background":"#0f131a","peekViewEditor.matchHighlightBackground":"#6c598066","peekViewEditor.matchHighlightBorder":"#5f4c7266","peekViewResult.background":"#0f131a","peekViewResult.fileForeground":"#bfbdb6","peekViewResult.lineForeground":"#565b66","peekViewResult.matchHighlightBackground":"#6c598066","peekViewResult.selectionBackground":"#47526640","peekViewTitle.background":"#47526640","peekViewTitleDescription.foreground":"#565b66","peekViewTitleLabel.foreground":"#bfbdb6","pickerGroup.border":"#11151c","pickerGroup.foreground":"#565b6680","progressBar.background":"#e6b450","scrollbar.shadow":"#11151c00","scrollbarSlider.activeBackground":"#565b66b3","scrollbarSlider.background":"#565b6666","scrollbarSlider.hoverBackground":"#565b6699","selection.background":"#409fff4d","settings.headerForeground":"#bfbdb6","settings.modifiedItemIndicator":"#73b8ff","sideBar.background":"#0b0e14","sideBar.border":"#0b0e14","sideBarSectionHeader.background":"#0b0e14","sideBarSectionHeader.border":"#0b0e14","sideBarSectionHeader.foreground":"#565b66","sideBarTitle.foreground":"#565b66","statusBar.background":"#0b0e14","statusBar.border":"#0b0e14","statusBar.debuggingBackground":"#f29668","statusBar.debuggingForeground":"#0d1017","statusBar.foreground":"#565b66","statusBar.noFolderBackground":"#0f131a","statusBarItem.activeBackground":"#565b6633","statusBarItem.hoverBackground":"#565b6633","statusBarItem.prominentBackground":"#11151c","statusBarItem.prominentHoverBackground":"#00000030","statusBarItem.remoteBackground":"#e6b450","statusBarItem.remoteForeground":"#0d1017","tab.activeBackground":"#0b0e14","tab.activeBorder":"#e6b450","tab.activeForeground":"#bfbdb6","tab.border":"#0b0e14","tab.inactiveBackground":"#0b0e14","tab.inactiveForeground":"#565b66","tab.unfocusedActiveBorder":"#565b66","tab.unfocusedActiveForeground":"#565b66","tab.unfocusedInactiveForeground":"#565b66","terminal.ansiBlack":"#11151c","terminal.ansiBlue":"#53bdfa","terminal.ansiBrightBlack":"#686868","terminal.ansiBrightBlue":"#59c2ff","terminal.ansiBrightCyan":"#95e6cb","terminal.ansiBrightGreen":"#aad94c","terminal.ansiBrightMagenta":"#d2a6ff","terminal.ansiBrightRed":"#f07178","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#ffb454","terminal.ansiCyan":"#90e1c6","terminal.ansiGreen":"#7fd962","terminal.ansiMagenta":"#cda1fa","terminal.ansiRed":"#ea6c73","terminal.ansiWhite":"#c7c7c7","terminal.ansiYellow":"#f9af4f","terminal.background":"#0b0e14","terminal.foreground":"#bfbdb6","textBlockQuote.background":"#0f131a","textLink.activeForeground":"#e6b450","textLink.foreground":"#e6b450","textPreformat.foreground":"#bfbdb6","titleBar.activeBackground":"#0b0e14","titleBar.activeForeground":"#bfbdb6","titleBar.border":"#0b0e14","titleBar.inactiveBackground":"#0b0e14","titleBar.inactiveForeground":"#565b66","tree.indentGuidesStroke":"#6c738080","walkThrough.embeddedEditorBackground":"#0f131a","welcomePage.buttonBackground":"#e6b45066","welcomePage.progress.background":"#131721","welcomePage.tileBackground":"#0b0e14","welcomePage.tileShadow":"#00000080","widget.shadow":"#00000080"},"displayName":"Ayu Dark","name":"ayu-dark","semanticHighlighting":true,"semanticTokenColors":{"parameter.label":"#bfbdb6"},"tokenColors":[{"settings":{"background":"#0b0e14","foreground":"#bfbdb6"}},{"scope":["comment"],"settings":{"fontStyle":"italic","foreground":"#acb6bf8c"}},{"scope":["string","constant.other.symbol"],"settings":{"foreground":"#aad94c"}},{"scope":["string.regexp","constant.character","constant.other"],"settings":{"foreground":"#95e6cb"}},{"scope":["constant.numeric"],"settings":{"foreground":"#d2a6ff"}},{"scope":["constant.language"],"settings":{"foreground":"#d2a6ff"}},{"scope":["variable","variable.parameter.function-call"],"settings":{"foreground":"#bfbdb6"}},{"scope":["variable.member"],"settings":{"foreground":"#f07178"}},{"scope":["variable.language"],"settings":{"fontStyle":"italic","foreground":"#39bae6"}},{"scope":["storage"],"settings":{"foreground":"#ff8f40"}},{"scope":["keyword"],"settings":{"foreground":"#ff8f40"}},{"scope":["keyword.operator"],"settings":{"foreground":"#f29668"}},{"scope":["punctuation.separator","punctuation.terminator"],"settings":{"foreground":"#bfbdb6b3"}},{"scope":["punctuation.section"],"settings":{"foreground":"#bfbdb6"}},{"scope":["punctuation.accessor"],"settings":{"foreground":"#f29668"}},{"scope":["punctuation.definition.template-expression"],"settings":{"foreground":"#ff8f40"}},{"scope":["punctuation.section.embedded"],"settings":{"foreground":"#ff8f40"}},{"scope":["meta.embedded"],"settings":{"foreground":"#bfbdb6"}},{"scope":["source.java storage.type","source.haskell storage.type","source.c storage.type"],"settings":{"foreground":"#59c2ff"}},{"scope":["entity.other.inherited-class"],"settings":{"foreground":"#39bae6"}},{"scope":["storage.type.function"],"settings":{"foreground":"#ff8f40"}},{"scope":["source.java storage.type.primitive"],"settings":{"foreground":"#39bae6"}},{"scope":["entity.name.function"],"settings":{"foreground":"#ffb454"}},{"scope":["variable.parameter","meta.parameter"],"settings":{"foreground":"#d2a6ff"}},{"scope":["variable.function","variable.annotation","meta.function-call.generic","support.function.go"],"settings":{"foreground":"#ffb454"}},{"scope":["support.function","support.macro"],"settings":{"foreground":"#f07178"}},{"scope":["entity.name.import","entity.name.package"],"settings":{"foreground":"#aad94c"}},{"scope":["entity.name"],"settings":{"foreground":"#59c2ff"}},{"scope":["entity.name.tag","meta.tag.sgml"],"settings":{"foreground":"#39bae6"}},{"scope":["support.class.component"],"settings":{"foreground":"#59c2ff"}},{"scope":["punctuation.definition.tag.end","punctuation.definition.tag.begin","punctuation.definition.tag"],"settings":{"foreground":"#39bae680"}},{"scope":["entity.other.attribute-name"],"settings":{"foreground":"#ffb454"}},{"scope":["support.constant"],"settings":{"fontStyle":"italic","foreground":"#f29668"}},{"scope":["support.type","support.class","source.go storage.type"],"settings":{"foreground":"#39bae6"}},{"scope":["meta.decorator variable.other","meta.decorator punctuation.decorator","storage.type.annotation"],"settings":{"foreground":"#e6b673"}},{"scope":["invalid"],"settings":{"foreground":"#d95757"}},{"scope":["meta.diff","meta.diff.header"],"settings":{"foreground":"#c594c5"}},{"scope":["source.ruby variable.other.readwrite"],"settings":{"foreground":"#ffb454"}},{"scope":["source.css entity.name.tag","source.sass entity.name.tag","source.scss entity.name.tag","source.less entity.name.tag","source.stylus entity.name.tag"],"settings":{"foreground":"#59c2ff"}},{"scope":["source.css support.type","source.sass support.type","source.scss support.type","source.less support.type","source.stylus support.type"],"settings":{"foreground":"#acb6bf8c"}},{"scope":["support.type.property-name"],"settings":{"fontStyle":"normal","foreground":"#39bae6"}},{"scope":["constant.numeric.line-number.find-in-files - match"],"settings":{"foreground":"#acb6bf8c"}},{"scope":["constant.numeric.line-number.match"],"settings":{"foreground":"#ff8f40"}},{"scope":["entity.name.filename.find-in-files"],"settings":{"foreground":"#aad94c"}},{"scope":["message.error"],"settings":{"foreground":"#d95757"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#aad94c"}},{"scope":["markup.underline.link","string.other.link"],"settings":{"foreground":"#39bae6"}},{"scope":["markup.italic"],"settings":{"fontStyle":"italic","foreground":"#f07178"}},{"scope":["markup.bold"],"settings":{"fontStyle":"bold","foreground":"#f07178"}},{"scope":["markup.italic markup.bold","markup.bold markup.italic"],"settings":{"fontStyle":"bold italic"}},{"scope":["markup.raw"],"settings":{"background":"#bfbdb605"}},{"scope":["markup.raw.inline"],"settings":{"background":"#bfbdb60f"}},{"scope":["meta.separator"],"settings":{"background":"#bfbdb60f","fontStyle":"bold","foreground":"#acb6bf8c"}},{"scope":["markup.quote"],"settings":{"fontStyle":"italic","foreground":"#95e6cb"}},{"scope":["markup.list punctuation.definition.list.begin"],"settings":{"foreground":"#ffb454"}},{"scope":["markup.inserted"],"settings":{"foreground":"#7fd962"}},{"scope":["markup.changed"],"settings":{"foreground":"#73b8ff"}},{"scope":["markup.deleted"],"settings":{"foreground":"#f26d78"}},{"scope":["markup.strike"],"settings":{"foreground":"#e6b673"}},{"scope":["markup.table"],"settings":{"background":"#bfbdb60f","foreground":"#39bae6"}},{"scope":["text.html.markdown markup.inline.raw"],"settings":{"foreground":"#f29668"}},{"scope":["text.html.markdown meta.dummy.line-break"],"settings":{"background":"#acb6bf8c","foreground":"#acb6bf8c"}},{"scope":["punctuation.definition.markdown"],"settings":{"background":"#bfbdb6","foreground":"#acb6bf8c"}}],"type":"dark"}'));export{e as default};
@@ -0,0 +1 @@
1
+ import e from"./D97Zzqfu.js";const t=Object.freeze(JSON.parse('{"displayName":"Git Commit Message","name":"git-commit","patterns":[{"begin":"(?=^diff --git)","contentName":"source.diff","end":"\\\\z","name":"meta.embedded.diff.git-commit","patterns":[{"include":"source.diff"}]},{"begin":"^(?!#)","end":"^(?=#)","name":"meta.scope.message.git-commit","patterns":[{"captures":{"1":{"name":"invalid.deprecated.line-too-long.git-commit"},"2":{"name":"invalid.illegal.line-too-long.git-commit"}},"match":"\\\\G.{0,50}(.{0,22}(.*))$","name":"meta.scope.subject.git-commit"}]},{"begin":"^(?=#)","contentName":"comment.line.number-sign.git-commit","end":"^(?!#)","name":"meta.scope.metadata.git-commit","patterns":[{"captures":{"1":{"name":"markup.changed.git-commit"}},"match":"^#\\\\t((modified|renamed):.*)$"},{"captures":{"1":{"name":"markup.inserted.git-commit"}},"match":"^#\\\\t(new file:.*)$"},{"captures":{"1":{"name":"markup.deleted.git-commit"}},"match":"^#\\\\t(deleted.*)$"},{"captures":{"1":{"name":"keyword.other.file-type.git-commit"},"2":{"name":"string.unquoted.filename.git-commit"}},"match":"^#\\\\t([^:]+): *(.*)$"}]}],"scopeName":"text.git-commit","embeddedLangs":["diff"]}')),i=[...e,t];export{i as default};